@xn-lib/directives 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";function e(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function n(n){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?t(Object(o),!0).forEach(function(t){e(n,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))})}return n}function r(e){return r="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},r(e)}Object.defineProperty(exports,"__esModule",{value:!0});var o="top",i="bottom",a="right",s="left",c="auto",p=[o,i,a,s],u="start",f="end",l="viewport",d="popper",v=p.reduce(function(e,t){return e.concat([t+"-"+u,t+"-"+f])},[]),m=[].concat(p,[c]).reduce(function(e,t){return e.concat([t,t+"-"+u,t+"-"+f])},[]),h=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function y(e){return e?(e.nodeName||"").toLowerCase():null}function g(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function b(e){return e instanceof g(e).Element||e instanceof Element}function w(e){return e instanceof g(e).HTMLElement||e instanceof HTMLElement}function x(e){return"undefined"!=typeof ShadowRoot&&(e instanceof g(e).ShadowRoot||e instanceof ShadowRoot)}var O={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];w(o)&&y(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});w(r)&&y(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};function E(e){return e.split("-")[0]}var T=Math.max,j=Math.min,D=Math.round;function A(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function C(){return!/^((?!chrome|android).)*safari/i.test(A())}function k(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&w(e)&&(o=e.offsetWidth>0&&D(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&D(r.height)/e.offsetHeight||1);var a=(b(e)?g(e):window).visualViewport,s=!C()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/o,p=(r.top+(s&&a?a.offsetTop:0))/i,u=r.width/o,f=r.height/i;return{width:u,height:f,top:p,right:c+u,bottom:p+f,left:c,x:c,y:p}}function L(e){var t=k(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function N(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&x(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function _(e){return g(e).getComputedStyle(e)}function S(e){return["table","td","th"].indexOf(y(e))>=0}function P(e){return((b(e)?e.ownerDocument:e.document)||window.document).documentElement}function V(e){return"html"===y(e)?e:e.assignedSlot||e.parentNode||(x(e)?e.host:null)||P(e)}function W(e){return w(e)&&"fixed"!==_(e).position?e.offsetParent:null}function M(e){for(var t=g(e),n=W(e);n&&S(n)&&"static"===_(n).position;)n=W(n);return n&&("html"===y(n)||"body"===y(n)&&"static"===_(n).position)?t:n||function(e){var t=/firefox/i.test(A());if(/Trident/i.test(A())&&w(e)&&"fixed"===_(e).position)return null;var n=V(e);for(x(n)&&(n=n.host);w(n)&&["html","body"].indexOf(y(n))<0;){var r=_(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function H(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function R(e,t,n){return T(e,j(t,n))}function B(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function I(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var U={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,c=e.options,u=n.elements.arrow,f=n.modifiersData.popperOffsets,l=E(n.placement),d=H(l),v=[s,a].indexOf(l)>=0?"height":"width";if(u&&f){var m=function(e,t){return B("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:I(e,p))}(c.padding,n),h=L(u),y="y"===d?o:s,g="y"===d?i:a,b=n.rects.reference[v]+n.rects.reference[d]-f[d]-n.rects.popper[v],w=f[d]-n.rects.reference[d],x=M(u),O=x?"y"===d?x.clientHeight||0:x.clientWidth||0:0,T=b/2-w/2,j=m[y],D=O-h[v]-m[g],A=O/2-h[v]/2+T,C=R(j,A,D),k=d;n.modifiersData[r]=((t={})[k]=C,t.centerOffset=C-A,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&N(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function q(e){return e.split("-")[1]}var z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function F(e){var t,n=e.popper,r=e.popperRect,c=e.placement,p=e.variation,u=e.offsets,l=e.position,d=e.gpuAcceleration,v=e.adaptive,m=e.roundOffsets,h=e.isFixed,y=u.x,b=void 0===y?0:y,w=u.y,x=void 0===w?0:w,O="function"==typeof m?m({x:b,y:x}):{x:b,y:x};b=O.x,x=O.y;var E=u.hasOwnProperty("x"),T=u.hasOwnProperty("y"),j=s,A=o,C=window;if(v){var k=M(n),L="clientHeight",N="clientWidth";if(k===g(n)&&"static"!==_(k=P(n)).position&&"absolute"===l&&(L="scrollHeight",N="scrollWidth"),c===o||(c===s||c===a)&&p===f)A=i,x-=(h&&k===C&&C.visualViewport?C.visualViewport.height:k[L])-r.height,x*=d?1:-1;if(c===s||(c===o||c===i)&&p===f)j=a,b-=(h&&k===C&&C.visualViewport?C.visualViewport.width:k[N])-r.width,b*=d?1:-1}var S,V=Object.assign({position:l},v&&z),W=!0===m?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:D(n*o)/o||0,y:D(r*o)/o||0}}({x:b,y:x},g(n)):{x:b,y:x};return b=W.x,x=W.y,d?Object.assign({},V,((S={})[A]=T?"0":"",S[j]=E?"0":"",S.transform=(C.devicePixelRatio||1)<=1?"translate("+b+"px, "+x+"px)":"translate3d("+b+"px, "+x+"px, 0)",S)):Object.assign({},V,((t={})[A]=T?x+"px":"",t[j]=E?b+"px":"",t.transform="",t))}var $={passive:!0};var Y={left:"right",right:"left",bottom:"top",top:"bottom"};function X(e){return e.replace(/left|right|bottom|top/g,function(e){return Y[e]})}var J={start:"end",end:"start"};function G(e){return e.replace(/start|end/g,function(e){return J[e]})}function K(e){var t=g(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Q(e){return k(P(e)).left+K(e).scrollLeft}function Z(e){var t=_(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function ee(e){return["html","body","#document"].indexOf(y(e))>=0?e.ownerDocument.body:w(e)&&Z(e)?e:ee(V(e))}function te(e,t){var n;void 0===t&&(t=[]);var r=ee(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=g(r),a=o?[i].concat(i.visualViewport||[],Z(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(te(V(a)))}function ne(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function re(e,t,n){return t===l?ne(function(e,t){var n=g(e),r=P(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var p=C();(p||!p&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+Q(e),y:c}}(e,n)):b(t)?function(e,t){var n=k(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ne(function(e){var t,n=P(e),r=K(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=T(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=T(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+Q(e),c=-r.scrollTop;return"rtl"===_(o||n).direction&&(s+=T(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(P(e)))}function oe(e,t,n,r){var o="clippingParents"===t?function(e){var t=te(V(e)),n=["absolute","fixed"].indexOf(_(e).position)>=0&&w(e)?M(e):e;return b(n)?t.filter(function(e){return b(e)&&N(e,n)&&"body"!==y(e)}):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(t,n){var o=re(e,n,r);return t.top=T(o.top,t.top),t.right=j(o.right,t.right),t.bottom=j(o.bottom,t.bottom),t.left=T(o.left,t.left),t},re(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ie(e){var t,n=e.reference,r=e.element,c=e.placement,p=c?E(c):null,l=c?q(c):null,d=n.x+n.width/2-r.width/2,v=n.y+n.height/2-r.height/2;switch(p){case o:t={x:d,y:n.y-r.height};break;case i:t={x:d,y:n.y+n.height};break;case a:t={x:n.x+n.width,y:v};break;case s:t={x:n.x-r.width,y:v};break;default:t={x:n.x,y:n.y}}var m=p?H(p):null;if(null!=m){var h="y"===m?"height":"width";switch(l){case u:t[m]=t[m]-(n[h]/2-r[h]/2);break;case f:t[m]=t[m]+(n[h]/2-r[h]/2)}}return t}function ae(e,t){void 0===t&&(t={});var n=t,r=n.placement,s=void 0===r?e.placement:r,c=n.strategy,u=void 0===c?e.strategy:c,f=n.boundary,v=void 0===f?"clippingParents":f,m=n.rootBoundary,h=void 0===m?l:m,y=n.elementContext,g=void 0===y?d:y,w=n.altBoundary,x=void 0!==w&&w,O=n.padding,E=void 0===O?0:O,T=B("number"!=typeof E?E:I(E,p)),j=g===d?"reference":d,D=e.rects.popper,A=e.elements[x?j:g],C=oe(b(A)?A:A.contextElement||P(e.elements.popper),v,h,u),L=k(e.elements.reference),N=ie({reference:L,element:D,strategy:"absolute",placement:s}),_=ne(Object.assign({},D,N)),S=g===d?_:L,V={top:C.top-S.top+T.top,bottom:S.bottom-C.bottom+T.bottom,left:C.left-S.left+T.left,right:S.right-C.right+T.right},W=e.modifiersData.offset;if(g===d&&W){var M=W[s];Object.keys(V).forEach(function(e){var t=[a,i].indexOf(e)>=0?1:-1,n=[o,i].indexOf(e)>=0?"y":"x";V[e]+=M[n]*t})}return V}function se(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?m:c,f=q(r),l=f?s?v:v.filter(function(e){return q(e)===f}):p,d=l.filter(function(e){return u.indexOf(e)>=0});0===d.length&&(d=l);var h=d.reduce(function(t,n){return t[n]=ae(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[E(n)],t},{});return Object.keys(h).sort(function(e,t){return h[e]-h[t]})}var ce={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var p=n.mainAxis,f=void 0===p||p,l=n.altAxis,d=void 0===l||l,v=n.fallbackPlacements,m=n.padding,h=n.boundary,y=n.rootBoundary,g=n.altBoundary,b=n.flipVariations,w=void 0===b||b,x=n.allowedAutoPlacements,O=t.options.placement,T=E(O),j=v||(T===O||!w?[X(O)]:function(e){if(E(e)===c)return[];var t=X(e);return[G(e),t,G(t)]}(O)),D=[O].concat(j).reduce(function(e,n){return e.concat(E(n)===c?se(t,{placement:n,boundary:h,rootBoundary:y,padding:m,flipVariations:w,allowedAutoPlacements:x}):n)},[]),A=t.rects.reference,C=t.rects.popper,k=new Map,L=!0,N=D[0],_=0;_<D.length;_++){var S=D[_],P=E(S),V=q(S)===u,W=[o,i].indexOf(P)>=0,M=W?"width":"height",H=ae(t,{placement:S,boundary:h,rootBoundary:y,altBoundary:g,padding:m}),R=W?V?a:s:V?i:o;A[M]>C[M]&&(R=X(R));var B=X(R),I=[];if(f&&I.push(H[P]<=0),d&&I.push(H[R]<=0,H[B]<=0),I.every(function(e){return e})){N=S,L=!1;break}k.set(S,I)}if(L)for(var U=function(e){var t=D.find(function(t){var n=k.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return N=t,"break"},z=w?3:1;z>0;z--){if("break"===U(z))break}t.placement!==N&&(t.modifiersData[r]._skip=!0,t.placement=N,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function pe(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ue(e){return[o,a,i,s].some(function(t){return e[t]>=0})}var fe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,c=void 0===i?[0,0]:i,p=m.reduce(function(e,n){return e[n]=function(e,t,n){var r=E(e),i=[s,o].indexOf(r)>=0?-1:1,c="function"==typeof n?n(Object.assign({},t,{placement:e})):n,p=c[0],u=c[1];return p=p||0,u=(u||0)*i,[s,a].indexOf(r)>=0?{x:u,y:p}:{x:p,y:u}}(n,t.rects,c),e},{}),u=p[t.placement],f=u.x,l=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=p}};var le={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,c=n.mainAxis,p=void 0===c||c,f=n.altAxis,l=void 0!==f&&f,d=n.boundary,v=n.rootBoundary,m=n.altBoundary,h=n.padding,y=n.tether,g=void 0===y||y,b=n.tetherOffset,w=void 0===b?0:b,x=ae(t,{boundary:d,rootBoundary:v,padding:h,altBoundary:m}),O=E(t.placement),D=q(t.placement),A=!D,C=H(O),k="x"===C?"y":"x",N=t.modifiersData.popperOffsets,_=t.rects.reference,S=t.rects.popper,P="function"==typeof w?w(Object.assign({},t.rects,{placement:t.placement})):w,V="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),W=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(N){if(p){var I,U="y"===C?o:s,z="y"===C?i:a,F="y"===C?"height":"width",$=N[C],Y=$+x[U],X=$-x[z],J=g?-S[F]/2:0,G=D===u?_[F]:S[F],K=D===u?-S[F]:-_[F],Q=t.elements.arrow,Z=g&&Q?L(Q):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[U],ne=ee[z],re=R(0,_[F],Z[F]),oe=A?_[F]/2-J-re-te-V.mainAxis:G-re-te-V.mainAxis,ie=A?-_[F]/2+J+re+ne+V.mainAxis:K+re+ne+V.mainAxis,se=t.elements.arrow&&M(t.elements.arrow),ce=se?"y"===C?se.clientTop||0:se.clientLeft||0:0,pe=null!=(I=null==W?void 0:W[C])?I:0,ue=$+ie-pe,fe=R(g?j(Y,$+oe-pe-ce):Y,$,g?T(X,ue):X);N[C]=fe,B[C]=fe-$}if(l){var le,de="x"===C?o:s,ve="x"===C?i:a,me=N[k],he="y"===k?"height":"width",ye=me+x[de],ge=me-x[ve],be=-1!==[o,s].indexOf(O),we=null!=(le=null==W?void 0:W[k])?le:0,xe=be?ye:me-_[he]-S[he]-we+V.altAxis,Oe=be?me+_[he]+S[he]-we-V.altAxis:ge,Ee=g&&be?function(e,t,n){var r=R(e,t,n);return r>n?n:r}(xe,me,Oe):R(g?xe:ye,me,g?Oe:ge);N[k]=Ee,B[k]=Ee-me}t.modifiersData[r]=B}},requiresIfExists:["offset"]};function de(e,t,n){void 0===n&&(n=!1);var r,o,i=w(t),a=w(t)&&function(e){var t=e.getBoundingClientRect(),n=D(t.width)/e.offsetWidth||1,r=D(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=P(t),c=k(e,a,n),p={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==y(t)||Z(s))&&(p=(r=t)!==g(r)&&w(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:K(r)),w(t)?((u=k(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=Q(s))),{x:c.left+p.scrollLeft-u.x,y:c.top+p.scrollTop-u.y,width:c.width,height:c.height}}function ve(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||o(e)}),r}var me={placement:"bottom",modifiers:[],strategy:"absolute"};function he(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function ye(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?me:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},me,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],p=!1,u={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:b(e)?te(e):e.contextElement?te(e.contextElement):[],popper:te(t)};var a,p,l=function(e){var t=ve(e);return h.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((a=[].concat(r,s.options.modifiers),p=a.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(p).map(function(e){return p[e]})));return s.orderedModifiers=l.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:u,options:r}),a=function(){};c.push(i||a)}}),u.update()},forceUpdate:function(){if(!p){var e=s.elements,t=e.reference,n=e.popper;if(he(t,n)){s.rects={reference:de(t,M(n),"fixed"===s.options.strategy),popper:L(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,c=void 0===a?{}:a,f=o.name;"function"==typeof i&&(s=i({state:s,options:c,name:f,instance:u})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise(function(e){u.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(o())})})),a}),destroy:function(){f(),p=!0}};if(!he(e,t))return u;function f(){c.forEach(function(e){return e()}),c=[]}return u.setOptions(n).then(function(e){!p&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}var ge=ye({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,c=g(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&p.forEach(function(e){e.addEventListener("scroll",n.update,$)}),s&&c.addEventListener("resize",n.update,$),function(){i&&p.forEach(function(e){e.removeEventListener("scroll",n.update,$)}),s&&c.removeEventListener("resize",n.update,$)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ie({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,c=void 0===s||s,p={placement:E(t.placement),variation:q(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,F(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,F(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},O,fe,ce,le,U,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ae(t,{elementContext:"reference"}),s=ae(t,{altBoundary:!0}),c=pe(a,r),p=pe(s,o,i),u=ue(c),f=ue(p);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:p,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}}]}),be="tippy-content",we="tippy-arrow",xe="tippy-svg-arrow",Oe={passive:!0,capture:!0},Ee=function(){return document.body};function Te(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function je(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function De(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Ae(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function Ce(e){return[].concat(e)}function ke(e,t){-1===e.indexOf(t)&&e.push(t)}function Le(e){return[].slice.call(e)}function Ne(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function _e(){return document.createElement("div")}function Se(e){return["Element","Fragment"].some(function(t){return je(e,t)})}function Pe(e){return Se(e)?[e]:function(e){return je(e,"NodeList")}(e)?Le(e):Array.isArray(e)?e:Le(document.querySelectorAll(e))}function Ve(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function We(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function Me(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[r](t,n)})}function He(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var Re={isTouch:!1},Be=0;function Ie(){Re.isTouch||(Re.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ue))}function Ue(){var e=performance.now();e-Be<20&&(Re.isTouch=!1,document.removeEventListener("mousemove",Ue)),Be=e}function qe(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var ze,Fe=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;function $e(e){return[e+"() was called on a"+("destroy"===e?"n already-":" ")+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function Ye(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function Xe(e){return Ye("\n %ctippy.js\n\n %c"+Ye(e)+"\n\n %c👷‍ This is a development-only message. It will be removed in production.\n ")}function Je(e){return[Xe(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function Ge(e,t){var n;e&&!ze.has(t)&&(ze.add(t),(n=console).warn.apply(n,Je(t)))}function Ke(e,t){var n;e&&!ze.has(t)&&(ze.add(t),(n=console).error.apply(n,Je(t)))}"production"!==process.env.NODE_ENV&&(ze=new Set);var Qe={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Ze=Object.assign({appendTo:Ee,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Qe,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),et=Object.keys(Ze);function tt(e){var t=(e.plugins||[]).reduce(function(t,n){var r,o=n.name,i=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=Ze[o])?r:i);return t},{});return Object.assign({},e,t)}function nt(e,t){var n=Object.assign({},t,{content:De(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(tt(Object.assign({},Ze,{plugins:t}))):et).reduce(function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t},{})}(e,t.plugins));return n.aria=Object.assign({},Ze.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function rt(e,t){void 0===e&&(e={}),void 0===t&&(t=[]),Object.keys(e).forEach(function(e){var n,r,o=function(e,t){var n=Object.assign({},e);return t.forEach(function(e){delete n[e]}),n}(Ze,Object.keys(Qe)),i=(n=o,r=e,!{}.hasOwnProperty.call(n,r));i&&(i=0===t.filter(function(t){return t.name===e}).length),Ge(i,["`"+e+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.","\n\n","All props: https://atomiks.github.io/tippyjs/v6/all-props/\n","Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}function ot(e,t){e.innerHTML=t}function it(e){var t=_e();return!0===e?t.className=we:(t.className=xe,Se(e)?t.appendChild(e):ot(t,e)),t}function at(e,t){Se(t.content)?(ot(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?ot(e,t.content):e.textContent=t.content)}function st(e){var t=e.firstElementChild,n=Le(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(be)}),arrow:n.find(function(e){return e.classList.contains(we)||e.classList.contains(xe)}),backdrop:n.find(function(e){return e.classList.contains("tippy-backdrop")})}}function ct(e){var t=_e(),n=_e();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=_e();function o(n,r){var o=st(t),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||at(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(it(r.arrow))):i.appendChild(it(r.arrow)):s&&i.removeChild(s)}return r.className=be,r.setAttribute("data-state","hidden"),at(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}ct.$$tippy=!0;var pt=1,ut=[],ft=[];function lt(e,t){var n,r,o,i,a,s,c,p,u=nt(e,Object.assign({},Ze,tt(Ne(t)))),f=!1,l=!1,d=!1,v=!1,m=[],h=Ae(Y,u.interactiveDebounce),y=pt++,g=(p=u.plugins).filter(function(e,t){return p.indexOf(e)===t}),b={id:y,reference:e,popper:_e(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:g,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("setProps"));if(b.state.isDestroyed)return;S("onBeforeUpdate",[b,t]),F();var n=b.props,r=nt(e,Object.assign({},n,Ne(t),{ignoreAttributes:!0}));b.props=r,z(),n.interactiveDebounce!==r.interactiveDebounce&&(W(),h=Ae(Y,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Ce(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded");V(),_(),O&&O(n,r);b.popperInstance&&(K(),Z().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}));S("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("show"));var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Re.isTouch&&!b.props.touch,o=Te(b.props.duration,0,Ze.duration);if(e||t||n||r)return;if(C().hasAttribute("disabled"))return;if(S("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,A()&&(x.style.visibility="visible");_(),B(),b.state.isMounted||(x.style.transition="none");if(A()){var i=L();Ve([i.box,i.content],0)}s=function(){var e;if(b.state.isVisible&&!v){if(v=!0,x.offsetHeight,x.style.transition=b.props.moveTransition,A()&&b.props.animation){var t=L(),n=t.box,r=t.content;Ve([n,r],o),We([n,r],"visible")}P(),V(),ke(ft,b),null==(e=b.popperInstance)||e.forceUpdate(),S("onMount",[b]),b.props.animation&&A()&&function(e,t){U(e,t)}(o,function(){b.state.isShown=!0,S("onShown",[b])})}},function(){var e,t=b.props.appendTo,n=C();e=b.props.interactive&&t===Ee||"parent"===t?n.parentNode:De(t,[n]);e.contains(x)||e.appendChild(x);b.state.isMounted=!0,K(),"production"!==process.env.NODE_ENV&&Ge(b.props.interactive&&t===Ze.appendTo&&n.nextElementSibling!==x,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.","\n\n","Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.","\n\n","Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.","\n\n","See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}()},hide:function(){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("hide"));var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Te(b.props.duration,1,Ze.duration);if(e||t||n)return;if(S("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,v=!1,f=!1,A()&&(x.style.visibility="hidden");if(W(),I(),_(!0),A()){var o=L(),i=o.box,a=o.content;b.props.animation&&(Ve([i,a],r),We([i,a],"hidden"))}P(),V(),b.props.animation?A()&&function(e,t){U(e,function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()})}(r,b.unmount):b.unmount()},hideWithInteractivity:function(e){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("hideWithInteractivity"));k().addEventListener("mousemove",h),ke(ut,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("unmount"));b.state.isVisible&&b.hide();if(!b.state.isMounted)return;Q(),Z().forEach(function(e){e._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x);ft=ft.filter(function(e){return e!==b}),b.state.isMounted=!1,S("onHidden",[b])},destroy:function(){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("destroy"));if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),F(),delete e._tippy,b.state.isDestroyed=!0,S("onDestroy",[b])}};if(!u.render)return"production"!==process.env.NODE_ENV&&Ke(!0,"render() function has not been supplied."),b;var w=u.render(b),x=w.popper,O=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var E=g.map(function(e){return e.fn(b)}),T=e.hasAttribute("aria-expanded");return z(),V(),_(),S("onCreate",[b]),u.showOnCreate&&ee(),x.addEventListener("mouseenter",function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()}),x.addEventListener("mouseleave",function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&k().addEventListener("mousemove",h)}),b;function j(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function D(){return"hold"===j()[0]}function A(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function C(){return c||e}function k(){var e,t,n=C().parentNode;return n?null!=(t=Ce(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function L(){return st(x)}function N(e){return b.state.isMounted&&!b.state.isVisible||Re.isTouch||i&&"focus"===i.type?0:Te(b.props.delay,e?0:1,Ze.delay)}function _(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function S(e,t,n){var r;(void 0===n&&(n=!0),E.forEach(function(n){n[e]&&n[e].apply(n,t)}),n)&&(r=b.props)[e].apply(r,t)}function P(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;Ce(b.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}})}}function V(){!T&&b.props.aria.expanded&&Ce(b.props.triggerTarget||e).forEach(function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===C()?"true":"false"):e.removeAttribute("aria-expanded")})}function W(){k().removeEventListener("mousemove",h),ut=ut.filter(function(e){return e!==h})}function M(t){if(!Re.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!He(x,n)){if(Ce(b.props.triggerTarget||e).some(function(e){return He(e,n)})){if(Re.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else S("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),l=!0,setTimeout(function(){l=!1}),b.state.isMounted||I())}}}function H(){d=!0}function R(){d=!1}function B(){var e=k();e.addEventListener("mousedown",M,!0),e.addEventListener("touchend",M,Oe),e.addEventListener("touchstart",R,Oe),e.addEventListener("touchmove",H,Oe)}function I(){var e=k();e.removeEventListener("mousedown",M,!0),e.removeEventListener("touchend",M,Oe),e.removeEventListener("touchstart",R,Oe),e.removeEventListener("touchmove",H,Oe)}function U(e,t){var n=L().box;function r(e){e.target===n&&(Me(n,"remove",r),t())}if(0===e)return t();Me(n,"remove",a),Me(n,"add",r),a=r}function q(t,n,r){void 0===r&&(r=!1),Ce(b.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})})}function z(){var e;D()&&(q("touchstart",$,{passive:!0}),q("touchend",X,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach(function(e){if("manual"!==e)switch(q(e,$),e){case"mouseenter":q("mouseleave",X);break;case"focus":q(Fe?"focusout":"blur",J);break;case"focusin":q("focusout",J)}})}function F(){m.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)}),m=[]}function $(e){var t,n=!1;if(b.state.isEnabled&&!G(e)&&!l){var r="focus"===(null==(t=i)?void 0:t.type);i=e,c=e.currentTarget,V(),!b.state.isVisible&&je(e,"MouseEvent")&&ut.forEach(function(t){return t(e)}),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function Y(e){var t=e.target,n=C().contains(t)||x.contains(t);if("mousemove"!==e.type||!n){var r=Z().concat(x).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:u}:null}).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every(function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=o.placement.split("-")[0],s=o.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,p="top"===a?s.bottom.y:0,u="right"===a?s.left.x:0,f="left"===a?s.right.x:0,l=t.top-r+c>i,d=r-t.bottom-p>i,v=t.left-n+u>i,m=n-t.right-f>i;return l||d||v||m})})(r,e)&&(W(),te(e))}}function X(e){G(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function J(e){b.props.trigger.indexOf("focusin")<0&&e.target!==C()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function G(e){return!!Re.isTouch&&D()!==e.type.indexOf("touch")>=0}function K(){Q();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,c=A()?st(x).arrow:null,p=i?{getBoundingClientRect:i,contextElement:i.contextElement||C()}:e,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(A()){var n=L().box;["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)}),t.attributes.popper={}}}},f=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},u];A()&&c&&f.push({name:"arrow",options:{element:c,padding:3}}),f.push.apply(f,(null==n?void 0:n.modifiers)||[]),b.popperInstance=ge(p,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:f}))}function Q(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Z(){return Le(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&S("onTrigger",[b,e]),B();var t=N(!0),r=j(),o=r[0],i=r[1];Re.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout(function(){b.show()},t):b.show()}function te(e){if(b.clearDelayTimeouts(),S("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=N(!1);t?r=setTimeout(function(){b.state.isVisible&&b.hide()},t):o=requestAnimationFrame(function(){b.hide()})}}else I()}}function dt(e,t){void 0===t&&(t={});var n=Ze.plugins.concat(t.plugins||[]);"production"!==process.env.NODE_ENV&&(!function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;Ke(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Ke(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),rt(t,n)),document.addEventListener("touchstart",Ie,Oe),window.addEventListener("blur",qe);var r=Object.assign({},t,{plugins:n}),o=Pe(e);if("production"!==process.env.NODE_ENV){var i=Se(r.content),a=o.length>1;Ge(i&&a,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.","\n\n","Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.","\n\n","1) content: element.innerHTML\n","2) content: () => element.cloneNode(true)"].join(" "))}var s=o.reduce(function(e,t){var n=t&&lt(t,r);return n&&e.push(n),e},[]);return Se(e)?s[0]:s}dt.defaultProps=Ze,dt.setDefaultProps=function(e){"production"!==process.env.NODE_ENV&&rt(e,[]),Object.keys(e).forEach(function(t){Ze[t]=e[t]})},dt.currentInput=Re,Object.assign({},O,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),dt.setDefaultProps({render:ct});var vt={lines:1,lineHeight:"",placement:"top",arrow:!0,theme:"light",maxWidth:"300px",delay:100,appendTo:"body",onlyOverflow:!0,checkMethod:"client",showEllipsis:!0,ellipsisText:"...",customClass:"",options:{}};function mt(e,t){if(!e)return!1;var n=t.lines,r=t.lineHeight,o=t.checkMethod;if(1===n)return e.scrollWidth>e.clientWidth+1;var i=window.getComputedStyle(e),a=parseFloat(i.fontSize),s=("normal"===i.lineHeight&&"number"==typeof r?a*r:parseFloat(i.lineHeight))*n;switch(o){case"client":return e.scrollHeight>s+1;case"scroll":var c=e.firstChild;if(!c)return!1;var p=document.createRange();p.selectNodeContents(c);var u=p.getClientRects();return 0!==u.length&&u[u.length-1].bottom-e.getBoundingClientRect().top>s;default:var f=e.scrollHeight>s+1,l=e.firstChild,d=!1;if(l){var v=document.createRange();v.selectNodeContents(l);var m=v.getClientRects();if(m.length>0)d=m[m.length-1].bottom-e.getBoundingClientRect().top>s}return f||d}}var ht={mounted:function(e,t){var o=n(n({},vt),"object"===r(t.value)?t.value:{lines:t.value||1});e._originalText=e.textContent||e.innerText;var i=dt(e,n(n({content:e._originalText,placement:o.placement,arrow:o.arrow,theme:o.theme,maxWidth:o.maxWidth,delay:o.delay,trigger:"mouseenter focus"},o.options),{},{onShow:function(t){if(o.onlyOverflow&&!mt(e,o))return!1;var n=e._originalText||"";t.setContent(n)},onCreate:function(e){o.maxWidth&&(e.popper.style.maxWidth=o.maxWidth)}}));e._tippy=i,yt(e,o),function(e,t){e._resizeObserver=new ResizeObserver(function(){var n;null!==(n=e._tippy)&&void 0!==n&&n.state.isVisible&&t.onlyOverflow&&(mt(e,t)||e._tippy.hide())}),e._resizeObserver.observe(e),e._mutationObserver=new MutationObserver(function(){e._originalText=e.textContent||e.innerText}),e._mutationObserver.observe(e,{childList:!0,subtree:!0,characterData:!0})}(e,o)},updated:function(e,t){var o=n(n({},vt),"object"===r(t.value)?t.value:{lines:t.value});e._originalText=e.textContent||e.innerText,yt(e,o),e._tippy&&e._tippy.setProps({placement:o.placement,arrow:o.arrow,theme:o.theme,maxWidth:o.maxWidth,delay:o.delay,content:e._originalText})},beforeUnmount:function(e){e._tippy&&e._tippy.destroy(),e._resizeObserver&&e._resizeObserver.disconnect(),e._mutationObserver&&e._mutationObserver.disconnect()}};function yt(e,t){1===t.lines?function(e){var t=getComputedStyle(e);"inline"===t.display&&(e.style.display="inline-block",e.style.maxWidth="none"!==t.maxWidth?t.maxWidth:"100%"),e.style.whiteSpace="nowrap",e.style.overflow="hidden",e.style.textOverflow="ellipsis"}(e):function(e,t){var n=t.lines,r=t.lineHeight,o=t.showEllipsis;e.style.display="-webkit-box",e.style.webkitBoxOrient="vertical",e.style.overflow="hidden",e.style.lineHeight="".concat(r),e.style.webkitLineClamp="".concat(n);var i=e.querySelector(".overflow-tooltip-ellipsis");if(i&&i.remove(),o&&mt(e,t)){var a=document.createElement("span");a.className="overflow-tooltip-ellipsis",a.textContent=t.ellipsisText,a.style.cssText="\n display: inline-block;\n background: inherit;\n padding-left: 2px;\n ",e.appendChild(a)}}(e,t)}var gt=ht,bt={install:function(e,t){e.directive("overflow-tooltip",ht),t&&e.provide("overflowTooltipDefaults",t),e.provide("overflowTooltip",{getOptions:function(e){return e._overflowOptions},getInstance:function(e){return e._overflowTippyInstance},updateContent:function(e){if(e._overflowTippyInstance){var t=e.getAttribute("data-original-text")||"";e._overflowTippyInstance.setContent(t)}}})}},wt={overflowTooltip:bt};function xt(e){e.use(bt)}var Ot={install:xt};exports.default=Ot,exports.directives=wt,exports.installDirectives=xt,exports.overflowTooltipDirective=gt,exports.overflowTooltipPlugin=bt,exports.vOverflowTooltip=ht;
1
+ "use strict";function e(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function n(n){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?t(Object(o),!0).forEach(function(t){e(n,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))})}return n}function r(e){return r="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},r(e)}Object.defineProperty(exports,"__esModule",{value:!0});var o="top",i="bottom",a="right",s="left",c="auto",p=[o,i,a,s],u="start",f="end",l="viewport",d="popper",v=p.reduce(function(e,t){return e.concat([t+"-"+u,t+"-"+f])},[]),m=[].concat(p,[c]).reduce(function(e,t){return e.concat([t,t+"-"+u,t+"-"+f])},[]),h=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function y(e){return e?(e.nodeName||"").toLowerCase():null}function g(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function b(e){return e instanceof g(e).Element||e instanceof Element}function w(e){return e instanceof g(e).HTMLElement||e instanceof HTMLElement}function x(e){return"undefined"!=typeof ShadowRoot&&(e instanceof g(e).ShadowRoot||e instanceof ShadowRoot)}var O={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];w(o)&&y(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});w(r)&&y(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};function E(e){return e.split("-")[0]}var T=Math.max,j=Math.min,D=Math.round;function A(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function C(){return!/^((?!chrome|android).)*safari/i.test(A())}function k(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&w(e)&&(o=e.offsetWidth>0&&D(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&D(r.height)/e.offsetHeight||1);var a=(b(e)?g(e):window).visualViewport,s=!C()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/o,p=(r.top+(s&&a?a.offsetTop:0))/i,u=r.width/o,f=r.height/i;return{width:u,height:f,top:p,right:c+u,bottom:p+f,left:c,x:c,y:p}}function L(e){var t=k(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function N(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&x(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function _(e){return g(e).getComputedStyle(e)}function S(e){return["table","td","th"].indexOf(y(e))>=0}function P(e){return((b(e)?e.ownerDocument:e.document)||window.document).documentElement}function V(e){return"html"===y(e)?e:e.assignedSlot||e.parentNode||(x(e)?e.host:null)||P(e)}function W(e){return w(e)&&"fixed"!==_(e).position?e.offsetParent:null}function M(e){for(var t=g(e),n=W(e);n&&S(n)&&"static"===_(n).position;)n=W(n);return n&&("html"===y(n)||"body"===y(n)&&"static"===_(n).position)?t:n||function(e){var t=/firefox/i.test(A());if(/Trident/i.test(A())&&w(e)&&"fixed"===_(e).position)return null;var n=V(e);for(x(n)&&(n=n.host);w(n)&&["html","body"].indexOf(y(n))<0;){var r=_(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function H(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function R(e,t,n){return T(e,j(t,n))}function B(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function I(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var U={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,c=e.options,u=n.elements.arrow,f=n.modifiersData.popperOffsets,l=E(n.placement),d=H(l),v=[s,a].indexOf(l)>=0?"height":"width";if(u&&f){var m=function(e,t){return B("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:I(e,p))}(c.padding,n),h=L(u),y="y"===d?o:s,g="y"===d?i:a,b=n.rects.reference[v]+n.rects.reference[d]-f[d]-n.rects.popper[v],w=f[d]-n.rects.reference[d],x=M(u),O=x?"y"===d?x.clientHeight||0:x.clientWidth||0:0,T=b/2-w/2,j=m[y],D=O-h[v]-m[g],A=O/2-h[v]/2+T,C=R(j,A,D),k=d;n.modifiersData[r]=((t={})[k]=C,t.centerOffset=C-A,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&N(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function q(e){return e.split("-")[1]}var z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function F(e){var t,n=e.popper,r=e.popperRect,c=e.placement,p=e.variation,u=e.offsets,l=e.position,d=e.gpuAcceleration,v=e.adaptive,m=e.roundOffsets,h=e.isFixed,y=u.x,b=void 0===y?0:y,w=u.y,x=void 0===w?0:w,O="function"==typeof m?m({x:b,y:x}):{x:b,y:x};b=O.x,x=O.y;var E=u.hasOwnProperty("x"),T=u.hasOwnProperty("y"),j=s,A=o,C=window;if(v){var k=M(n),L="clientHeight",N="clientWidth";if(k===g(n)&&"static"!==_(k=P(n)).position&&"absolute"===l&&(L="scrollHeight",N="scrollWidth"),c===o||(c===s||c===a)&&p===f)A=i,x-=(h&&k===C&&C.visualViewport?C.visualViewport.height:k[L])-r.height,x*=d?1:-1;if(c===s||(c===o||c===i)&&p===f)j=a,b-=(h&&k===C&&C.visualViewport?C.visualViewport.width:k[N])-r.width,b*=d?1:-1}var S,V=Object.assign({position:l},v&&z),W=!0===m?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:D(n*o)/o||0,y:D(r*o)/o||0}}({x:b,y:x},g(n)):{x:b,y:x};return b=W.x,x=W.y,d?Object.assign({},V,((S={})[A]=T?"0":"",S[j]=E?"0":"",S.transform=(C.devicePixelRatio||1)<=1?"translate("+b+"px, "+x+"px)":"translate3d("+b+"px, "+x+"px, 0)",S)):Object.assign({},V,((t={})[A]=T?x+"px":"",t[j]=E?b+"px":"",t.transform="",t))}var $={passive:!0};var Y={left:"right",right:"left",bottom:"top",top:"bottom"};function X(e){return e.replace(/left|right|bottom|top/g,function(e){return Y[e]})}var J={start:"end",end:"start"};function G(e){return e.replace(/start|end/g,function(e){return J[e]})}function K(e){var t=g(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Q(e){return k(P(e)).left+K(e).scrollLeft}function Z(e){var t=_(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function ee(e){return["html","body","#document"].indexOf(y(e))>=0?e.ownerDocument.body:w(e)&&Z(e)?e:ee(V(e))}function te(e,t){var n;void 0===t&&(t=[]);var r=ee(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=g(r),a=o?[i].concat(i.visualViewport||[],Z(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(te(V(a)))}function ne(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function re(e,t,n){return t===l?ne(function(e,t){var n=g(e),r=P(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var p=C();(p||!p&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+Q(e),y:c}}(e,n)):b(t)?function(e,t){var n=k(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ne(function(e){var t,n=P(e),r=K(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=T(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=T(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+Q(e),c=-r.scrollTop;return"rtl"===_(o||n).direction&&(s+=T(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(P(e)))}function oe(e,t,n,r){var o="clippingParents"===t?function(e){var t=te(V(e)),n=["absolute","fixed"].indexOf(_(e).position)>=0&&w(e)?M(e):e;return b(n)?t.filter(function(e){return b(e)&&N(e,n)&&"body"!==y(e)}):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(t,n){var o=re(e,n,r);return t.top=T(o.top,t.top),t.right=j(o.right,t.right),t.bottom=j(o.bottom,t.bottom),t.left=T(o.left,t.left),t},re(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ie(e){var t,n=e.reference,r=e.element,c=e.placement,p=c?E(c):null,l=c?q(c):null,d=n.x+n.width/2-r.width/2,v=n.y+n.height/2-r.height/2;switch(p){case o:t={x:d,y:n.y-r.height};break;case i:t={x:d,y:n.y+n.height};break;case a:t={x:n.x+n.width,y:v};break;case s:t={x:n.x-r.width,y:v};break;default:t={x:n.x,y:n.y}}var m=p?H(p):null;if(null!=m){var h="y"===m?"height":"width";switch(l){case u:t[m]=t[m]-(n[h]/2-r[h]/2);break;case f:t[m]=t[m]+(n[h]/2-r[h]/2)}}return t}function ae(e,t){void 0===t&&(t={});var n=t,r=n.placement,s=void 0===r?e.placement:r,c=n.strategy,u=void 0===c?e.strategy:c,f=n.boundary,v=void 0===f?"clippingParents":f,m=n.rootBoundary,h=void 0===m?l:m,y=n.elementContext,g=void 0===y?d:y,w=n.altBoundary,x=void 0!==w&&w,O=n.padding,E=void 0===O?0:O,T=B("number"!=typeof E?E:I(E,p)),j=g===d?"reference":d,D=e.rects.popper,A=e.elements[x?j:g],C=oe(b(A)?A:A.contextElement||P(e.elements.popper),v,h,u),L=k(e.elements.reference),N=ie({reference:L,element:D,strategy:"absolute",placement:s}),_=ne(Object.assign({},D,N)),S=g===d?_:L,V={top:C.top-S.top+T.top,bottom:S.bottom-C.bottom+T.bottom,left:C.left-S.left+T.left,right:S.right-C.right+T.right},W=e.modifiersData.offset;if(g===d&&W){var M=W[s];Object.keys(V).forEach(function(e){var t=[a,i].indexOf(e)>=0?1:-1,n=[o,i].indexOf(e)>=0?"y":"x";V[e]+=M[n]*t})}return V}function se(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?m:c,f=q(r),l=f?s?v:v.filter(function(e){return q(e)===f}):p,d=l.filter(function(e){return u.indexOf(e)>=0});0===d.length&&(d=l);var h=d.reduce(function(t,n){return t[n]=ae(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[E(n)],t},{});return Object.keys(h).sort(function(e,t){return h[e]-h[t]})}var ce={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var p=n.mainAxis,f=void 0===p||p,l=n.altAxis,d=void 0===l||l,v=n.fallbackPlacements,m=n.padding,h=n.boundary,y=n.rootBoundary,g=n.altBoundary,b=n.flipVariations,w=void 0===b||b,x=n.allowedAutoPlacements,O=t.options.placement,T=E(O),j=v||(T===O||!w?[X(O)]:function(e){if(E(e)===c)return[];var t=X(e);return[G(e),t,G(t)]}(O)),D=[O].concat(j).reduce(function(e,n){return e.concat(E(n)===c?se(t,{placement:n,boundary:h,rootBoundary:y,padding:m,flipVariations:w,allowedAutoPlacements:x}):n)},[]),A=t.rects.reference,C=t.rects.popper,k=new Map,L=!0,N=D[0],_=0;_<D.length;_++){var S=D[_],P=E(S),V=q(S)===u,W=[o,i].indexOf(P)>=0,M=W?"width":"height",H=ae(t,{placement:S,boundary:h,rootBoundary:y,altBoundary:g,padding:m}),R=W?V?a:s:V?i:o;A[M]>C[M]&&(R=X(R));var B=X(R),I=[];if(f&&I.push(H[P]<=0),d&&I.push(H[R]<=0,H[B]<=0),I.every(function(e){return e})){N=S,L=!1;break}k.set(S,I)}if(L)for(var U=function(e){var t=D.find(function(t){var n=k.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return N=t,"break"},z=w?3:1;z>0;z--){if("break"===U(z))break}t.placement!==N&&(t.modifiersData[r]._skip=!0,t.placement=N,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function pe(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ue(e){return[o,a,i,s].some(function(t){return e[t]>=0})}var fe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,c=void 0===i?[0,0]:i,p=m.reduce(function(e,n){return e[n]=function(e,t,n){var r=E(e),i=[s,o].indexOf(r)>=0?-1:1,c="function"==typeof n?n(Object.assign({},t,{placement:e})):n,p=c[0],u=c[1];return p=p||0,u=(u||0)*i,[s,a].indexOf(r)>=0?{x:u,y:p}:{x:p,y:u}}(n,t.rects,c),e},{}),u=p[t.placement],f=u.x,l=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=p}};var le={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,c=n.mainAxis,p=void 0===c||c,f=n.altAxis,l=void 0!==f&&f,d=n.boundary,v=n.rootBoundary,m=n.altBoundary,h=n.padding,y=n.tether,g=void 0===y||y,b=n.tetherOffset,w=void 0===b?0:b,x=ae(t,{boundary:d,rootBoundary:v,padding:h,altBoundary:m}),O=E(t.placement),D=q(t.placement),A=!D,C=H(O),k="x"===C?"y":"x",N=t.modifiersData.popperOffsets,_=t.rects.reference,S=t.rects.popper,P="function"==typeof w?w(Object.assign({},t.rects,{placement:t.placement})):w,V="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),W=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(N){if(p){var I,U="y"===C?o:s,z="y"===C?i:a,F="y"===C?"height":"width",$=N[C],Y=$+x[U],X=$-x[z],J=g?-S[F]/2:0,G=D===u?_[F]:S[F],K=D===u?-S[F]:-_[F],Q=t.elements.arrow,Z=g&&Q?L(Q):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[U],ne=ee[z],re=R(0,_[F],Z[F]),oe=A?_[F]/2-J-re-te-V.mainAxis:G-re-te-V.mainAxis,ie=A?-_[F]/2+J+re+ne+V.mainAxis:K+re+ne+V.mainAxis,se=t.elements.arrow&&M(t.elements.arrow),ce=se?"y"===C?se.clientTop||0:se.clientLeft||0:0,pe=null!=(I=null==W?void 0:W[C])?I:0,ue=$+ie-pe,fe=R(g?j(Y,$+oe-pe-ce):Y,$,g?T(X,ue):X);N[C]=fe,B[C]=fe-$}if(l){var le,de="x"===C?o:s,ve="x"===C?i:a,me=N[k],he="y"===k?"height":"width",ye=me+x[de],ge=me-x[ve],be=-1!==[o,s].indexOf(O),we=null!=(le=null==W?void 0:W[k])?le:0,xe=be?ye:me-_[he]-S[he]-we+V.altAxis,Oe=be?me+_[he]+S[he]-we-V.altAxis:ge,Ee=g&&be?function(e,t,n){var r=R(e,t,n);return r>n?n:r}(xe,me,Oe):R(g?xe:ye,me,g?Oe:ge);N[k]=Ee,B[k]=Ee-me}t.modifiersData[r]=B}},requiresIfExists:["offset"]};function de(e,t,n){void 0===n&&(n=!1);var r,o,i=w(t),a=w(t)&&function(e){var t=e.getBoundingClientRect(),n=D(t.width)/e.offsetWidth||1,r=D(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=P(t),c=k(e,a,n),p={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==y(t)||Z(s))&&(p=(r=t)!==g(r)&&w(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:K(r)),w(t)?((u=k(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=Q(s))),{x:c.left+p.scrollLeft-u.x,y:c.top+p.scrollTop-u.y,width:c.width,height:c.height}}function ve(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||o(e)}),r}var me={placement:"bottom",modifiers:[],strategy:"absolute"};function he(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function ye(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?me:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},me,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],p=!1,u={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:b(e)?te(e):e.contextElement?te(e.contextElement):[],popper:te(t)};var a,p,l=function(e){var t=ve(e);return h.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((a=[].concat(r,s.options.modifiers),p=a.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(p).map(function(e){return p[e]})));return s.orderedModifiers=l.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:u,options:r}),a=function(){};c.push(i||a)}}),u.update()},forceUpdate:function(){if(!p){var e=s.elements,t=e.reference,n=e.popper;if(he(t,n)){s.rects={reference:de(t,M(n),"fixed"===s.options.strategy),popper:L(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,c=void 0===a?{}:a,f=o.name;"function"==typeof i&&(s=i({state:s,options:c,name:f,instance:u})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise(function(e){u.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(o())})})),a}),destroy:function(){f(),p=!0}};if(!he(e,t))return u;function f(){c.forEach(function(e){return e()}),c=[]}return u.setOptions(n).then(function(e){!p&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}var ge=ye({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,c=g(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&p.forEach(function(e){e.addEventListener("scroll",n.update,$)}),s&&c.addEventListener("resize",n.update,$),function(){i&&p.forEach(function(e){e.removeEventListener("scroll",n.update,$)}),s&&c.removeEventListener("resize",n.update,$)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ie({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,c=void 0===s||s,p={placement:E(t.placement),variation:q(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,F(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,F(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},O,fe,ce,le,U,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ae(t,{elementContext:"reference"}),s=ae(t,{altBoundary:!0}),c=pe(a,r),p=pe(s,o,i),u=ue(c),f=ue(p);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:p,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}}]}),be="tippy-content",we="tippy-arrow",xe="tippy-svg-arrow",Oe={passive:!0,capture:!0},Ee=function(){return document.body};function Te(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function je(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function De(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Ae(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function Ce(e){return[].concat(e)}function ke(e,t){-1===e.indexOf(t)&&e.push(t)}function Le(e){return[].slice.call(e)}function Ne(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function _e(){return document.createElement("div")}function Se(e){return["Element","Fragment"].some(function(t){return je(e,t)})}function Pe(e){return Se(e)?[e]:function(e){return je(e,"NodeList")}(e)?Le(e):Array.isArray(e)?e:Le(document.querySelectorAll(e))}function Ve(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function We(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function Me(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[r](t,n)})}function He(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var Re={isTouch:!1},Be=0;function Ie(){Re.isTouch||(Re.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ue))}function Ue(){var e=performance.now();e-Be<20&&(Re.isTouch=!1,document.removeEventListener("mousemove",Ue)),Be=e}function qe(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var ze,Fe=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;function $e(e){return[e+"() was called on a"+("destroy"===e?"n already-":" ")+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function Ye(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function Xe(e){return Ye("\n %ctippy.js\n\n %c"+Ye(e)+"\n\n %c👷‍ This is a development-only message. It will be removed in production.\n ")}function Je(e){return[Xe(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function Ge(e,t){var n;e&&!ze.has(t)&&(ze.add(t),(n=console).warn.apply(n,Je(t)))}function Ke(e,t){var n;e&&!ze.has(t)&&(ze.add(t),(n=console).error.apply(n,Je(t)))}"production"!==process.env.NODE_ENV&&(ze=new Set);var Qe={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Ze=Object.assign({appendTo:Ee,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Qe,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),et=Object.keys(Ze);function tt(e){var t=(e.plugins||[]).reduce(function(t,n){var r,o=n.name,i=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=Ze[o])?r:i);return t},{});return Object.assign({},e,t)}function nt(e,t){var n=Object.assign({},t,{content:De(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(tt(Object.assign({},Ze,{plugins:t}))):et).reduce(function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t},{})}(e,t.plugins));return n.aria=Object.assign({},Ze.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function rt(e,t){void 0===e&&(e={}),void 0===t&&(t=[]),Object.keys(e).forEach(function(e){var n,r,o=function(e,t){var n=Object.assign({},e);return t.forEach(function(e){delete n[e]}),n}(Ze,Object.keys(Qe)),i=(n=o,r=e,!{}.hasOwnProperty.call(n,r));i&&(i=0===t.filter(function(t){return t.name===e}).length),Ge(i,["`"+e+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.","\n\n","All props: https://atomiks.github.io/tippyjs/v6/all-props/\n","Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}function ot(e,t){e.innerHTML=t}function it(e){var t=_e();return!0===e?t.className=we:(t.className=xe,Se(e)?t.appendChild(e):ot(t,e)),t}function at(e,t){Se(t.content)?(ot(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?ot(e,t.content):e.textContent=t.content)}function st(e){var t=e.firstElementChild,n=Le(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(be)}),arrow:n.find(function(e){return e.classList.contains(we)||e.classList.contains(xe)}),backdrop:n.find(function(e){return e.classList.contains("tippy-backdrop")})}}function ct(e){var t=_e(),n=_e();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=_e();function o(n,r){var o=st(t),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||at(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(it(r.arrow))):i.appendChild(it(r.arrow)):s&&i.removeChild(s)}return r.className=be,r.setAttribute("data-state","hidden"),at(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}ct.$$tippy=!0;var pt=1,ut=[],ft=[];function lt(e,t){var n,r,o,i,a,s,c,p,u=nt(e,Object.assign({},Ze,tt(Ne(t)))),f=!1,l=!1,d=!1,v=!1,m=[],h=Ae(Y,u.interactiveDebounce),y=pt++,g=(p=u.plugins).filter(function(e,t){return p.indexOf(e)===t}),b={id:y,reference:e,popper:_e(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:g,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("setProps"));if(b.state.isDestroyed)return;S("onBeforeUpdate",[b,t]),F();var n=b.props,r=nt(e,Object.assign({},n,Ne(t),{ignoreAttributes:!0}));b.props=r,z(),n.interactiveDebounce!==r.interactiveDebounce&&(W(),h=Ae(Y,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Ce(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded");V(),_(),O&&O(n,r);b.popperInstance&&(K(),Z().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}));S("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("show"));var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Re.isTouch&&!b.props.touch,o=Te(b.props.duration,0,Ze.duration);if(e||t||n||r)return;if(C().hasAttribute("disabled"))return;if(S("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,A()&&(x.style.visibility="visible");_(),B(),b.state.isMounted||(x.style.transition="none");if(A()){var i=L();Ve([i.box,i.content],0)}s=function(){var e;if(b.state.isVisible&&!v){if(v=!0,x.offsetHeight,x.style.transition=b.props.moveTransition,A()&&b.props.animation){var t=L(),n=t.box,r=t.content;Ve([n,r],o),We([n,r],"visible")}P(),V(),ke(ft,b),null==(e=b.popperInstance)||e.forceUpdate(),S("onMount",[b]),b.props.animation&&A()&&function(e,t){U(e,t)}(o,function(){b.state.isShown=!0,S("onShown",[b])})}},function(){var e,t=b.props.appendTo,n=C();e=b.props.interactive&&t===Ee||"parent"===t?n.parentNode:De(t,[n]);e.contains(x)||e.appendChild(x);b.state.isMounted=!0,K(),"production"!==process.env.NODE_ENV&&Ge(b.props.interactive&&t===Ze.appendTo&&n.nextElementSibling!==x,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.","\n\n","Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.","\n\n","Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.","\n\n","See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}()},hide:function(){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("hide"));var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Te(b.props.duration,1,Ze.duration);if(e||t||n)return;if(S("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,v=!1,f=!1,A()&&(x.style.visibility="hidden");if(W(),I(),_(!0),A()){var o=L(),i=o.box,a=o.content;b.props.animation&&(Ve([i,a],r),We([i,a],"hidden"))}P(),V(),b.props.animation?A()&&function(e,t){U(e,function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()})}(r,b.unmount):b.unmount()},hideWithInteractivity:function(e){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("hideWithInteractivity"));k().addEventListener("mousemove",h),ke(ut,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("unmount"));b.state.isVisible&&b.hide();if(!b.state.isMounted)return;Q(),Z().forEach(function(e){e._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x);ft=ft.filter(function(e){return e!==b}),b.state.isMounted=!1,S("onHidden",[b])},destroy:function(){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("destroy"));if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),F(),delete e._tippy,b.state.isDestroyed=!0,S("onDestroy",[b])}};if(!u.render)return"production"!==process.env.NODE_ENV&&Ke(!0,"render() function has not been supplied."),b;var w=u.render(b),x=w.popper,O=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var E=g.map(function(e){return e.fn(b)}),T=e.hasAttribute("aria-expanded");return z(),V(),_(),S("onCreate",[b]),u.showOnCreate&&ee(),x.addEventListener("mouseenter",function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()}),x.addEventListener("mouseleave",function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&k().addEventListener("mousemove",h)}),b;function j(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function D(){return"hold"===j()[0]}function A(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function C(){return c||e}function k(){var e,t,n=C().parentNode;return n?null!=(t=Ce(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function L(){return st(x)}function N(e){return b.state.isMounted&&!b.state.isVisible||Re.isTouch||i&&"focus"===i.type?0:Te(b.props.delay,e?0:1,Ze.delay)}function _(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function S(e,t,n){var r;(void 0===n&&(n=!0),E.forEach(function(n){n[e]&&n[e].apply(n,t)}),n)&&(r=b.props)[e].apply(r,t)}function P(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;Ce(b.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}})}}function V(){!T&&b.props.aria.expanded&&Ce(b.props.triggerTarget||e).forEach(function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===C()?"true":"false"):e.removeAttribute("aria-expanded")})}function W(){k().removeEventListener("mousemove",h),ut=ut.filter(function(e){return e!==h})}function M(t){if(!Re.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!He(x,n)){if(Ce(b.props.triggerTarget||e).some(function(e){return He(e,n)})){if(Re.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else S("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),l=!0,setTimeout(function(){l=!1}),b.state.isMounted||I())}}}function H(){d=!0}function R(){d=!1}function B(){var e=k();e.addEventListener("mousedown",M,!0),e.addEventListener("touchend",M,Oe),e.addEventListener("touchstart",R,Oe),e.addEventListener("touchmove",H,Oe)}function I(){var e=k();e.removeEventListener("mousedown",M,!0),e.removeEventListener("touchend",M,Oe),e.removeEventListener("touchstart",R,Oe),e.removeEventListener("touchmove",H,Oe)}function U(e,t){var n=L().box;function r(e){e.target===n&&(Me(n,"remove",r),t())}if(0===e)return t();Me(n,"remove",a),Me(n,"add",r),a=r}function q(t,n,r){void 0===r&&(r=!1),Ce(b.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})})}function z(){var e;D()&&(q("touchstart",$,{passive:!0}),q("touchend",X,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach(function(e){if("manual"!==e)switch(q(e,$),e){case"mouseenter":q("mouseleave",X);break;case"focus":q(Fe?"focusout":"blur",J);break;case"focusin":q("focusout",J)}})}function F(){m.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)}),m=[]}function $(e){var t,n=!1;if(b.state.isEnabled&&!G(e)&&!l){var r="focus"===(null==(t=i)?void 0:t.type);i=e,c=e.currentTarget,V(),!b.state.isVisible&&je(e,"MouseEvent")&&ut.forEach(function(t){return t(e)}),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function Y(e){var t=e.target,n=C().contains(t)||x.contains(t);if("mousemove"!==e.type||!n){var r=Z().concat(x).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:u}:null}).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every(function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=o.placement.split("-")[0],s=o.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,p="top"===a?s.bottom.y:0,u="right"===a?s.left.x:0,f="left"===a?s.right.x:0,l=t.top-r+c>i,d=r-t.bottom-p>i,v=t.left-n+u>i,m=n-t.right-f>i;return l||d||v||m})})(r,e)&&(W(),te(e))}}function X(e){G(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function J(e){b.props.trigger.indexOf("focusin")<0&&e.target!==C()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function G(e){return!!Re.isTouch&&D()!==e.type.indexOf("touch")>=0}function K(){Q();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,c=A()?st(x).arrow:null,p=i?{getBoundingClientRect:i,contextElement:i.contextElement||C()}:e,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(A()){var n=L().box;["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)}),t.attributes.popper={}}}},f=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},u];A()&&c&&f.push({name:"arrow",options:{element:c,padding:3}}),f.push.apply(f,(null==n?void 0:n.modifiers)||[]),b.popperInstance=ge(p,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:f}))}function Q(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Z(){return Le(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&S("onTrigger",[b,e]),B();var t=N(!0),r=j(),o=r[0],i=r[1];Re.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout(function(){b.show()},t):b.show()}function te(e){if(b.clearDelayTimeouts(),S("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=N(!1);t?r=setTimeout(function(){b.state.isVisible&&b.hide()},t):o=requestAnimationFrame(function(){b.hide()})}}else I()}}function dt(e,t){void 0===t&&(t={});var n=Ze.plugins.concat(t.plugins||[]);"production"!==process.env.NODE_ENV&&(!function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;Ke(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Ke(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),rt(t,n)),document.addEventListener("touchstart",Ie,Oe),window.addEventListener("blur",qe);var r=Object.assign({},t,{plugins:n}),o=Pe(e);if("production"!==process.env.NODE_ENV){var i=Se(r.content),a=o.length>1;Ge(i&&a,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.","\n\n","Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.","\n\n","1) content: element.innerHTML\n","2) content: () => element.cloneNode(true)"].join(" "))}var s=o.reduce(function(e,t){var n=t&&lt(t,r);return n&&e.push(n),e},[]);return Se(e)?s[0]:s}dt.defaultProps=Ze,dt.setDefaultProps=function(e){"production"!==process.env.NODE_ENV&&rt(e,[]),Object.keys(e).forEach(function(t){Ze[t]=e[t]})},dt.currentInput=Re,Object.assign({},O,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),dt.setDefaultProps({render:ct});var vt={lines:1,lineHeight:"",placement:"top",arrow:!0,theme:"light",maxWidth:"300px",delay:100,appendTo:"body",onlyOverflow:!0,checkMethod:"client",showEllipsis:!1,ellipsisText:"...",customClass:"",options:{}};function mt(e,t){if(!e)return!1;var n=t.lines,r=t.lineHeight,o=t.checkMethod;if(1===n)return e.scrollWidth>e.clientWidth+1;var i=window.getComputedStyle(e),a=parseFloat(i.fontSize),s=("normal"===i.lineHeight&&"number"==typeof r?a*r:parseFloat(i.lineHeight))*n;switch(o){case"client":return e.scrollHeight>s+1;case"scroll":var c=e.firstChild;if(!c)return!1;var p=document.createRange();p.selectNodeContents(c);var u=p.getClientRects();return 0!==u.length&&u[u.length-1].bottom-e.getBoundingClientRect().top>s;default:var f=e.scrollHeight>s+1,l=e.firstChild,d=!1;if(l){var v=document.createRange();v.selectNodeContents(l);var m=v.getClientRects();if(m.length>0)d=m[m.length-1].bottom-e.getBoundingClientRect().top>s}return f||d}}var ht={mounted:function(e,t){var o=n(n({},vt),"object"===r(t.value)?t.value:{lines:t.value||1});e._originalText=e.textContent||e.innerText;var i=dt(e,n(n({content:e._originalText,placement:o.placement,arrow:o.arrow,theme:o.theme,maxWidth:o.maxWidth,delay:o.delay,trigger:"mouseenter focus"},o.options),{},{onShow:function(t){if(o.onlyOverflow&&!mt(e,o))return!1;var n=e._originalText||"";t.setContent(n)},onCreate:function(e){o.maxWidth&&(e.popper.style.maxWidth=o.maxWidth)}}));e._tippy=i,yt(e,o),function(e,t){e._resizeObserver=new ResizeObserver(function(){var n;null!==(n=e._tippy)&&void 0!==n&&n.state.isVisible&&t.onlyOverflow&&(mt(e,t)||e._tippy.hide())}),e._resizeObserver.observe(e),e._mutationObserver=new MutationObserver(function(){e._originalText=e.textContent||e.innerText}),e._mutationObserver.observe(e,{childList:!0,subtree:!0,characterData:!0})}(e,o)},updated:function(e,t){var o=n(n({},vt),"object"===r(t.value)?t.value:{lines:t.value});e._originalText=e.textContent||e.innerText,yt(e,o),e._tippy&&e._tippy.setProps({placement:o.placement,arrow:o.arrow,theme:o.theme,maxWidth:o.maxWidth,delay:o.delay,content:e._originalText})},beforeUnmount:function(e){e._tippy&&e._tippy.destroy(),e._resizeObserver&&e._resizeObserver.disconnect(),e._mutationObserver&&e._mutationObserver.disconnect()}};function yt(e,t){1===t.lines?function(e){var t=getComputedStyle(e);"inline"===t.display&&(e.style.display="inline-block",e.style.maxWidth="none"!==t.maxWidth?t.maxWidth:"100%"),e.style.whiteSpace="nowrap",e.style.overflow="hidden",e.style.textOverflow="ellipsis"}(e):function(e,t){var n=t.lines,r=t.lineHeight,o=t.showEllipsis;e.style.display="-webkit-box",e.style.webkitBoxOrient="vertical",e.style.overflow="hidden",e.style.lineHeight="".concat(r),e.style.webkitLineClamp="".concat(n);var i=e.querySelector(".overflow-tooltip-ellipsis");if(i&&i.remove(),o&&mt(e,t)){var a=document.createElement("span");a.className="overflow-tooltip-ellipsis",a.textContent=t.ellipsisText,a.style.cssText="\n display: inline-block;\n background: inherit;\n padding-left: 2px;\n ",e.appendChild(a)}}(e,t)}var gt=ht,bt={install:function(e,t){e.directive("overflow-tooltip",ht),t&&e.provide("overflowTooltipDefaults",t),e.provide("overflowTooltip",{getOptions:function(e){return e._overflowOptions},getInstance:function(e){return e._overflowTippyInstance},updateContent:function(e){if(e._overflowTippyInstance){var t=e.getAttribute("data-original-text")||"";e._overflowTippyInstance.setContent(t)}}})}},wt={overflowTooltip:bt};function xt(e){e.use(bt)}var Ot={install:xt};exports.default=Ot,exports.directives=wt,exports.installDirectives=xt,exports.overflowTooltipDirective=gt,exports.overflowTooltipPlugin=bt,exports.vOverflowTooltip=ht;
@@ -1 +1 @@
1
- !function(e){"use strict";function t(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function r(e){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?n(Object(i),!0).forEach(function(n){t(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):n(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function i(e){return i="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},i(e)}var o="top",a="bottom",s="right",c="left",u="auto",p=[o,a,s,c],f="start",l="end",d="viewport",v="popper",m=p.reduce(function(e,t){return e.concat([t+"-"+f,t+"-"+l])},[]),h=[].concat(p,[u]).reduce(function(e,t){return e.concat([t,t+"-"+f,t+"-"+l])},[]),y=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function g(e){return e?(e.nodeName||"").toLowerCase():null}function b(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function w(e){return e instanceof b(e).Element||e instanceof Element}function x(e){return e instanceof b(e).HTMLElement||e instanceof HTMLElement}function O(e){return"undefined"!=typeof ShadowRoot&&(e instanceof b(e).ShadowRoot||e instanceof ShadowRoot)}var E={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];x(i)&&g(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});x(r)&&g(r)&&(Object.assign(r.style,o),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};function T(e){return e.split("-")[0]}var j=Math.max,D=Math.min,A=Math.round;function C(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function k(){return!/^((?!chrome|android).)*safari/i.test(C())}function L(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&x(e)&&(i=e.offsetWidth>0&&A(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&A(r.height)/e.offsetHeight||1);var a=(w(e)?b(e):window).visualViewport,s=!k()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/i,u=(r.top+(s&&a?a.offsetTop:0))/o,p=r.width/i,f=r.height/o;return{width:p,height:f,top:u,right:c+p,bottom:u+f,left:c,x:c,y:u}}function N(e){var t=L(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function _(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&O(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function S(e){return b(e).getComputedStyle(e)}function P(e){return["table","td","th"].indexOf(g(e))>=0}function V(e){return((w(e)?e.ownerDocument:e.document)||window.document).documentElement}function W(e){return"html"===g(e)?e:e.assignedSlot||e.parentNode||(O(e)?e.host:null)||V(e)}function M(e){return x(e)&&"fixed"!==S(e).position?e.offsetParent:null}function H(e){for(var t=b(e),n=M(e);n&&P(n)&&"static"===S(n).position;)n=M(n);return n&&("html"===g(n)||"body"===g(n)&&"static"===S(n).position)?t:n||function(e){var t=/firefox/i.test(C());if(/Trident/i.test(C())&&x(e)&&"fixed"===S(e).position)return null;var n=W(e);for(O(n)&&(n=n.host);x(n)&&["html","body"].indexOf(g(n))<0;){var r=S(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function R(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function B(e,t,n){return j(e,D(t,n))}function I(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function U(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var q={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,u=n.elements.arrow,f=n.modifiersData.popperOffsets,l=T(n.placement),d=R(l),v=[c,s].indexOf(l)>=0?"height":"width";if(u&&f){var m=function(e,t){return I("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:U(e,p))}(i.padding,n),h=N(u),y="y"===d?o:c,g="y"===d?a:s,b=n.rects.reference[v]+n.rects.reference[d]-f[d]-n.rects.popper[v],w=f[d]-n.rects.reference[d],x=H(u),O=x?"y"===d?x.clientHeight||0:x.clientWidth||0:0,E=b/2-w/2,j=m[y],D=O-h[v]-m[g],A=O/2-h[v]/2+E,C=B(j,A,D),k=d;n.modifiersData[r]=((t={})[k]=C,t.centerOffset=C-A,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&_(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function z(e){return e.split("-")[1]}var F={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $(e){var t,n=e.popper,r=e.popperRect,i=e.placement,u=e.variation,p=e.offsets,f=e.position,d=e.gpuAcceleration,v=e.adaptive,m=e.roundOffsets,h=e.isFixed,y=p.x,g=void 0===y?0:y,w=p.y,x=void 0===w?0:w,O="function"==typeof m?m({x:g,y:x}):{x:g,y:x};g=O.x,x=O.y;var E=p.hasOwnProperty("x"),T=p.hasOwnProperty("y"),j=c,D=o,C=window;if(v){var k=H(n),L="clientHeight",N="clientWidth";if(k===b(n)&&"static"!==S(k=V(n)).position&&"absolute"===f&&(L="scrollHeight",N="scrollWidth"),i===o||(i===c||i===s)&&u===l)D=a,x-=(h&&k===C&&C.visualViewport?C.visualViewport.height:k[L])-r.height,x*=d?1:-1;if(i===c||(i===o||i===a)&&u===l)j=s,g-=(h&&k===C&&C.visualViewport?C.visualViewport.width:k[N])-r.width,g*=d?1:-1}var _,P=Object.assign({position:f},v&&F),W=!0===m?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:A(n*i)/i||0,y:A(r*i)/i||0}}({x:g,y:x},b(n)):{x:g,y:x};return g=W.x,x=W.y,d?Object.assign({},P,((_={})[D]=T?"0":"",_[j]=E?"0":"",_.transform=(C.devicePixelRatio||1)<=1?"translate("+g+"px, "+x+"px)":"translate3d("+g+"px, "+x+"px, 0)",_)):Object.assign({},P,((t={})[D]=T?x+"px":"",t[j]=E?g+"px":"",t.transform="",t))}var Y={passive:!0};var X={left:"right",right:"left",bottom:"top",top:"bottom"};function J(e){return e.replace(/left|right|bottom|top/g,function(e){return X[e]})}var G={start:"end",end:"start"};function K(e){return e.replace(/start|end/g,function(e){return G[e]})}function Q(e){var t=b(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Z(e){return L(V(e)).left+Q(e).scrollLeft}function ee(e){var t=S(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function te(e){return["html","body","#document"].indexOf(g(e))>=0?e.ownerDocument.body:x(e)&&ee(e)?e:te(W(e))}function ne(e,t){var n;void 0===t&&(t=[]);var r=te(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=b(r),a=i?[o].concat(o.visualViewport||[],ee(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(ne(W(a)))}function re(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ie(e,t,n){return t===d?re(function(e,t){var n=b(e),r=V(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){o=i.width,a=i.height;var u=k();(u||!u&&"fixed"===t)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:o,height:a,x:s+Z(e),y:c}}(e,n)):w(t)?function(e,t){var n=L(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):re(function(e){var t,n=V(e),r=Q(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=j(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=j(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+Z(e),c=-r.scrollTop;return"rtl"===S(i||n).direction&&(s+=j(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:c}}(V(e)))}function oe(e,t,n,r){var i="clippingParents"===t?function(e){var t=ne(W(e)),n=["absolute","fixed"].indexOf(S(e).position)>=0&&x(e)?H(e):e;return w(n)?t.filter(function(e){return w(e)&&_(e,n)&&"body"!==g(e)}):[]}(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(t,n){var i=ie(e,n,r);return t.top=j(i.top,t.top),t.right=D(i.right,t.right),t.bottom=D(i.bottom,t.bottom),t.left=j(i.left,t.left),t},ie(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ae(e){var t,n=e.reference,r=e.element,i=e.placement,u=i?T(i):null,p=i?z(i):null,d=n.x+n.width/2-r.width/2,v=n.y+n.height/2-r.height/2;switch(u){case o:t={x:d,y:n.y-r.height};break;case a:t={x:d,y:n.y+n.height};break;case s:t={x:n.x+n.width,y:v};break;case c:t={x:n.x-r.width,y:v};break;default:t={x:n.x,y:n.y}}var m=u?R(u):null;if(null!=m){var h="y"===m?"height":"width";switch(p){case f:t[m]=t[m]-(n[h]/2-r[h]/2);break;case l:t[m]=t[m]+(n[h]/2-r[h]/2)}}return t}function se(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,c=n.strategy,u=void 0===c?e.strategy:c,f=n.boundary,l=void 0===f?"clippingParents":f,m=n.rootBoundary,h=void 0===m?d:m,y=n.elementContext,g=void 0===y?v:y,b=n.altBoundary,x=void 0!==b&&b,O=n.padding,E=void 0===O?0:O,T=I("number"!=typeof E?E:U(E,p)),j=g===v?"reference":v,D=e.rects.popper,A=e.elements[x?j:g],C=oe(w(A)?A:A.contextElement||V(e.elements.popper),l,h,u),k=L(e.elements.reference),N=ae({reference:k,element:D,strategy:"absolute",placement:i}),_=re(Object.assign({},D,N)),S=g===v?_:k,P={top:C.top-S.top+T.top,bottom:S.bottom-C.bottom+T.bottom,left:C.left-S.left+T.left,right:S.right-C.right+T.right},W=e.modifiersData.offset;if(g===v&&W){var M=W[i];Object.keys(P).forEach(function(e){var t=[s,a].indexOf(e)>=0?1:-1,n=[o,a].indexOf(e)>=0?"y":"x";P[e]+=M[n]*t})}return P}function ce(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?h:c,f=z(r),l=f?s?m:m.filter(function(e){return z(e)===f}):p,d=l.filter(function(e){return u.indexOf(e)>=0});0===d.length&&(d=l);var v=d.reduce(function(t,n){return t[n]=se(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[T(n)],t},{});return Object.keys(v).sort(function(e,t){return v[e]-v[t]})}var ue={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,p=void 0===i||i,l=n.altAxis,d=void 0===l||l,v=n.fallbackPlacements,m=n.padding,h=n.boundary,y=n.rootBoundary,g=n.altBoundary,b=n.flipVariations,w=void 0===b||b,x=n.allowedAutoPlacements,O=t.options.placement,E=T(O),j=v||(E===O||!w?[J(O)]:function(e){if(T(e)===u)return[];var t=J(e);return[K(e),t,K(t)]}(O)),D=[O].concat(j).reduce(function(e,n){return e.concat(T(n)===u?ce(t,{placement:n,boundary:h,rootBoundary:y,padding:m,flipVariations:w,allowedAutoPlacements:x}):n)},[]),A=t.rects.reference,C=t.rects.popper,k=new Map,L=!0,N=D[0],_=0;_<D.length;_++){var S=D[_],P=T(S),V=z(S)===f,W=[o,a].indexOf(P)>=0,M=W?"width":"height",H=se(t,{placement:S,boundary:h,rootBoundary:y,altBoundary:g,padding:m}),R=W?V?s:c:V?a:o;A[M]>C[M]&&(R=J(R));var B=J(R),I=[];if(p&&I.push(H[P]<=0),d&&I.push(H[R]<=0,H[B]<=0),I.every(function(e){return e})){N=S,L=!1;break}k.set(S,I)}if(L)for(var U=function(e){var t=D.find(function(t){var n=k.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return N=t,"break"},q=w?3:1;q>0;q--){if("break"===U(q))break}t.placement!==N&&(t.modifiersData[r]._skip=!0,t.placement=N,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function pe(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function fe(e){return[o,s,a,c].some(function(t){return e[t]>=0})}var le={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=void 0===i?[0,0]:i,u=h.reduce(function(e,n){return e[n]=function(e,t,n){var r=T(e),i=[c,o].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,u=a[0],p=a[1];return u=u||0,p=(p||0)*i,[c,s].indexOf(r)>=0?{x:p,y:u}:{x:u,y:p}}(n,t.rects,a),e},{}),p=u[t.placement],f=p.x,l=p.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=u}};var de={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,u=void 0===i||i,p=n.altAxis,l=void 0!==p&&p,d=n.boundary,v=n.rootBoundary,m=n.altBoundary,h=n.padding,y=n.tether,g=void 0===y||y,b=n.tetherOffset,w=void 0===b?0:b,x=se(t,{boundary:d,rootBoundary:v,padding:h,altBoundary:m}),O=T(t.placement),E=z(t.placement),A=!E,C=R(O),k="x"===C?"y":"x",L=t.modifiersData.popperOffsets,_=t.rects.reference,S=t.rects.popper,P="function"==typeof w?w(Object.assign({},t.rects,{placement:t.placement})):w,V="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),W=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(L){if(u){var I,U="y"===C?o:c,q="y"===C?a:s,F="y"===C?"height":"width",$=L[C],Y=$+x[U],X=$-x[q],J=g?-S[F]/2:0,G=E===f?_[F]:S[F],K=E===f?-S[F]:-_[F],Q=t.elements.arrow,Z=g&&Q?N(Q):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[U],ne=ee[q],re=B(0,_[F],Z[F]),ie=A?_[F]/2-J-re-te-V.mainAxis:G-re-te-V.mainAxis,oe=A?-_[F]/2+J+re+ne+V.mainAxis:K+re+ne+V.mainAxis,ae=t.elements.arrow&&H(t.elements.arrow),ce=ae?"y"===C?ae.clientTop||0:ae.clientLeft||0:0,ue=null!=(I=null==W?void 0:W[C])?I:0,pe=$+oe-ue,fe=B(g?D(Y,$+ie-ue-ce):Y,$,g?j(X,pe):X);L[C]=fe,M[C]=fe-$}if(l){var le,de="x"===C?o:c,ve="x"===C?a:s,me=L[k],he="y"===k?"height":"width",ye=me+x[de],ge=me-x[ve],be=-1!==[o,c].indexOf(O),we=null!=(le=null==W?void 0:W[k])?le:0,xe=be?ye:me-_[he]-S[he]-we+V.altAxis,Oe=be?me+_[he]+S[he]-we-V.altAxis:ge,Ee=g&&be?function(e,t,n){var r=B(e,t,n);return r>n?n:r}(xe,me,Oe):B(g?xe:ye,me,g?Oe:ge);L[k]=Ee,M[k]=Ee-me}t.modifiersData[r]=M}},requiresIfExists:["offset"]};function ve(e,t,n){void 0===n&&(n=!1);var r,i,o=x(t),a=x(t)&&function(e){var t=e.getBoundingClientRect(),n=A(t.width)/e.offsetWidth||1,r=A(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=V(t),c=L(e,a,n),u={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(o||!o&&!n)&&(("body"!==g(t)||ee(s))&&(u=(r=t)!==b(r)&&x(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:Q(r)),x(t)?((p=L(t,!0)).x+=t.clientLeft,p.y+=t.clientTop):s&&(p.x=Z(s))),{x:c.left+u.scrollLeft-p.x,y:c.top+u.scrollTop-p.y,width:c.width,height:c.height}}function me(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||i(e)}),r}var he={placement:"bottom",modifiers:[],strategy:"absolute"};function ye(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function ge(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?he:i;return function(e,t,n){void 0===n&&(n=o);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},he,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,p={state:s,setOptions:function(n){var i="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},o,s.options,i),s.scrollParents={reference:w(e)?ne(e):e.contextElement?ne(e.contextElement):[],popper:ne(t)};var a,u,l=function(e){var t=me(e);return y.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((a=[].concat(r,s.options.modifiers),u=a.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(u).map(function(e){return u[e]})));return s.orderedModifiers=l.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var o=i({state:s,name:t,instance:p,options:r}),a=function(){};c.push(o||a)}}),p.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(ye(t,n)){s.rects={reference:ve(t,H(n),"fixed"===s.options.strategy),popper:N(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var i=s.orderedModifiers[r],o=i.fn,a=i.options,c=void 0===a?{}:a,f=i.name;"function"==typeof o&&(s=o({state:s,options:c,name:f,instance:p})||s)}else s.reset=!1,r=-1}}},update:(i=function(){return new Promise(function(e){p.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(i())})})),a}),destroy:function(){f(),u=!0}};if(!ye(e,t))return p;function f(){c.forEach(function(e){return e()}),c=[]}return p.setOptions(n).then(function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)}),p}}var be=ge({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,a=r.resize,s=void 0===a||a,c=b(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(e){e.addEventListener("scroll",n.update,Y)}),s&&c.addEventListener("resize",n.update,Y),function(){o&&u.forEach(function(e){e.removeEventListener("scroll",n.update,Y)}),s&&c.removeEventListener("resize",n.update,Y)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ae({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,c=void 0===s||s,u={placement:T(t.placement),variation:z(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,$(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,$(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},E,le,ue,de,q,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=se(t,{elementContext:"reference"}),s=se(t,{altBoundary:!0}),c=pe(a,r),u=pe(s,i,o),p=fe(c),f=fe(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":f})}}]}),we="tippy-content",xe="tippy-arrow",Oe="tippy-svg-arrow",Ee={passive:!0,capture:!0},Te=function(){return document.body};function je(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function De(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Ae(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Ce(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function ke(e){return[].concat(e)}function Le(e,t){-1===e.indexOf(t)&&e.push(t)}function Ne(e){return[].slice.call(e)}function _e(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function Se(){return document.createElement("div")}function Pe(e){return["Element","Fragment"].some(function(t){return De(e,t)})}function Ve(e){return Pe(e)?[e]:function(e){return De(e,"NodeList")}(e)?Ne(e):Array.isArray(e)?e:Ne(document.querySelectorAll(e))}function We(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function Me(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function He(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[r](t,n)})}function Re(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var Be={isTouch:!1},Ie=0;function Ue(){Be.isTouch||(Be.isTouch=!0,window.performance&&document.addEventListener("mousemove",qe))}function qe(){var e=performance.now();e-Ie<20&&(Be.isTouch=!1,document.removeEventListener("mousemove",qe)),Ie=e}function ze(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var Fe,$e=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;function Ye(e){return[e+"() was called on a"+("destroy"===e?"n already-":" ")+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function Xe(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function Je(e){return Xe("\n %ctippy.js\n\n %c"+Xe(e)+"\n\n %c👷‍ This is a development-only message. It will be removed in production.\n ")}function Ge(e){return[Je(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function Ke(e,t){var n;e&&!Fe.has(t)&&(Fe.add(t),(n=console).warn.apply(n,Ge(t)))}function Qe(e,t){var n;e&&!Fe.has(t)&&(Fe.add(t),(n=console).error.apply(n,Ge(t)))}"production"!==process.env.NODE_ENV&&(Fe=new Set);var Ze={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},et=Object.assign({appendTo:Te,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Ze,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),tt=Object.keys(et);function nt(e){var t=(e.plugins||[]).reduce(function(t,n){var r,i=n.name,o=n.defaultValue;i&&(t[i]=void 0!==e[i]?e[i]:null!=(r=et[i])?r:o);return t},{});return Object.assign({},e,t)}function rt(e,t){var n=Object.assign({},t,{content:Ae(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(nt(Object.assign({},et,{plugins:t}))):tt).reduce(function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t},{})}(e,t.plugins));return n.aria=Object.assign({},et.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function it(e,t){void 0===e&&(e={}),void 0===t&&(t=[]),Object.keys(e).forEach(function(e){var n,r,i=function(e,t){var n=Object.assign({},e);return t.forEach(function(e){delete n[e]}),n}(et,Object.keys(Ze)),o=(n=i,r=e,!{}.hasOwnProperty.call(n,r));o&&(o=0===t.filter(function(t){return t.name===e}).length),Ke(o,["`"+e+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.","\n\n","All props: https://atomiks.github.io/tippyjs/v6/all-props/\n","Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}function ot(e,t){e.innerHTML=t}function at(e){var t=Se();return!0===e?t.className=xe:(t.className=Oe,Pe(e)?t.appendChild(e):ot(t,e)),t}function st(e,t){Pe(t.content)?(ot(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?ot(e,t.content):e.textContent=t.content)}function ct(e){var t=e.firstElementChild,n=Ne(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(we)}),arrow:n.find(function(e){return e.classList.contains(xe)||e.classList.contains(Oe)}),backdrop:n.find(function(e){return e.classList.contains("tippy-backdrop")})}}function ut(e){var t=Se(),n=Se();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Se();function i(n,r){var i=ct(t),o=i.box,a=i.content,s=i.arrow;r.theme?o.setAttribute("data-theme",r.theme):o.removeAttribute("data-theme"),"string"==typeof r.animation?o.setAttribute("data-animation",r.animation):o.removeAttribute("data-animation"),r.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?o.setAttribute("role",r.role):o.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||st(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(o.removeChild(s),o.appendChild(at(r.arrow))):o.appendChild(at(r.arrow)):s&&o.removeChild(s)}return r.className=we,r.setAttribute("data-state","hidden"),st(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props),{popper:t,onUpdate:i}}ut.$$tippy=!0;var pt=1,ft=[],lt=[];function dt(e,t){var n,r,i,o,a,s,c,u,p=rt(e,Object.assign({},et,nt(_e(t)))),f=!1,l=!1,d=!1,v=!1,m=[],h=Ce(Y,p.interactiveDebounce),y=pt++,g=(u=p.plugins).filter(function(e,t){return u.indexOf(e)===t}),b={id:y,reference:e,popper:Se(),popperInstance:null,props:p,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:g,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(t){"production"!==process.env.NODE_ENV&&Ke(b.state.isDestroyed,Ye("setProps"));if(b.state.isDestroyed)return;S("onBeforeUpdate",[b,t]),F();var n=b.props,r=rt(e,Object.assign({},n,_e(t),{ignoreAttributes:!0}));b.props=r,z(),n.interactiveDebounce!==r.interactiveDebounce&&(W(),h=Ce(Y,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?ke(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded");V(),_(),O&&O(n,r);b.popperInstance&&(K(),Z().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}));S("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){"production"!==process.env.NODE_ENV&&Ke(b.state.isDestroyed,Ye("show"));var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Be.isTouch&&!b.props.touch,i=je(b.props.duration,0,et.duration);if(e||t||n||r)return;if(C().hasAttribute("disabled"))return;if(S("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,A()&&(x.style.visibility="visible");_(),B(),b.state.isMounted||(x.style.transition="none");if(A()){var o=L();We([o.box,o.content],0)}s=function(){var e;if(b.state.isVisible&&!v){if(v=!0,x.offsetHeight,x.style.transition=b.props.moveTransition,A()&&b.props.animation){var t=L(),n=t.box,r=t.content;We([n,r],i),Me([n,r],"visible")}P(),V(),Le(lt,b),null==(e=b.popperInstance)||e.forceUpdate(),S("onMount",[b]),b.props.animation&&A()&&function(e,t){U(e,t)}(i,function(){b.state.isShown=!0,S("onShown",[b])})}},function(){var e,t=b.props.appendTo,n=C();e=b.props.interactive&&t===Te||"parent"===t?n.parentNode:Ae(t,[n]);e.contains(x)||e.appendChild(x);b.state.isMounted=!0,K(),"production"!==process.env.NODE_ENV&&Ke(b.props.interactive&&t===et.appendTo&&n.nextElementSibling!==x,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.","\n\n","Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.","\n\n","Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.","\n\n","See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}()},hide:function(){"production"!==process.env.NODE_ENV&&Ke(b.state.isDestroyed,Ye("hide"));var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=je(b.props.duration,1,et.duration);if(e||t||n)return;if(S("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,v=!1,f=!1,A()&&(x.style.visibility="hidden");if(W(),I(),_(!0),A()){var i=L(),o=i.box,a=i.content;b.props.animation&&(We([o,a],r),Me([o,a],"hidden"))}P(),V(),b.props.animation?A()&&function(e,t){U(e,function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()})}(r,b.unmount):b.unmount()},hideWithInteractivity:function(e){"production"!==process.env.NODE_ENV&&Ke(b.state.isDestroyed,Ye("hideWithInteractivity"));k().addEventListener("mousemove",h),Le(ft,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){"production"!==process.env.NODE_ENV&&Ke(b.state.isDestroyed,Ye("unmount"));b.state.isVisible&&b.hide();if(!b.state.isMounted)return;Q(),Z().forEach(function(e){e._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x);lt=lt.filter(function(e){return e!==b}),b.state.isMounted=!1,S("onHidden",[b])},destroy:function(){"production"!==process.env.NODE_ENV&&Ke(b.state.isDestroyed,Ye("destroy"));if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),F(),delete e._tippy,b.state.isDestroyed=!0,S("onDestroy",[b])}};if(!p.render)return"production"!==process.env.NODE_ENV&&Qe(!0,"render() function has not been supplied."),b;var w=p.render(b),x=w.popper,O=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var E=g.map(function(e){return e.fn(b)}),T=e.hasAttribute("aria-expanded");return z(),V(),_(),S("onCreate",[b]),p.showOnCreate&&ee(),x.addEventListener("mouseenter",function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()}),x.addEventListener("mouseleave",function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&k().addEventListener("mousemove",h)}),b;function j(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function D(){return"hold"===j()[0]}function A(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function C(){return c||e}function k(){var e,t,n=C().parentNode;return n?null!=(t=ke(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function L(){return ct(x)}function N(e){return b.state.isMounted&&!b.state.isVisible||Be.isTouch||o&&"focus"===o.type?0:je(b.props.delay,e?0:1,et.delay)}function _(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function S(e,t,n){var r;(void 0===n&&(n=!0),E.forEach(function(n){n[e]&&n[e].apply(n,t)}),n)&&(r=b.props)[e].apply(r,t)}function P(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;ke(b.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var i=t&&t.replace(r,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}})}}function V(){!T&&b.props.aria.expanded&&ke(b.props.triggerTarget||e).forEach(function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===C()?"true":"false"):e.removeAttribute("aria-expanded")})}function W(){k().removeEventListener("mousemove",h),ft=ft.filter(function(e){return e!==h})}function M(t){if(!Be.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Re(x,n)){if(ke(b.props.triggerTarget||e).some(function(e){return Re(e,n)})){if(Be.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else S("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),l=!0,setTimeout(function(){l=!1}),b.state.isMounted||I())}}}function H(){d=!0}function R(){d=!1}function B(){var e=k();e.addEventListener("mousedown",M,!0),e.addEventListener("touchend",M,Ee),e.addEventListener("touchstart",R,Ee),e.addEventListener("touchmove",H,Ee)}function I(){var e=k();e.removeEventListener("mousedown",M,!0),e.removeEventListener("touchend",M,Ee),e.removeEventListener("touchstart",R,Ee),e.removeEventListener("touchmove",H,Ee)}function U(e,t){var n=L().box;function r(e){e.target===n&&(He(n,"remove",r),t())}if(0===e)return t();He(n,"remove",a),He(n,"add",r),a=r}function q(t,n,r){void 0===r&&(r=!1),ke(b.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})})}function z(){var e;D()&&(q("touchstart",$,{passive:!0}),q("touchend",X,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach(function(e){if("manual"!==e)switch(q(e,$),e){case"mouseenter":q("mouseleave",X);break;case"focus":q($e?"focusout":"blur",J);break;case"focusin":q("focusout",J)}})}function F(){m.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)}),m=[]}function $(e){var t,n=!1;if(b.state.isEnabled&&!G(e)&&!l){var r="focus"===(null==(t=o)?void 0:t.type);o=e,c=e.currentTarget,V(),!b.state.isVisible&&De(e,"MouseEvent")&&ft.forEach(function(t){return t(e)}),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function Y(e){var t=e.target,n=C().contains(t)||x.contains(t);if("mousemove"!==e.type||!n){var r=Z().concat(x).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:p}:null}).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every(function(e){var t=e.popperRect,i=e.popperState,o=e.props.interactiveBorder,a=i.placement.split("-")[0],s=i.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,p="right"===a?s.left.x:0,f="left"===a?s.right.x:0,l=t.top-r+c>o,d=r-t.bottom-u>o,v=t.left-n+p>o,m=n-t.right-f>o;return l||d||v||m})})(r,e)&&(W(),te(e))}}function X(e){G(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function J(e){b.props.trigger.indexOf("focusin")<0&&e.target!==C()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function G(e){return!!Be.isTouch&&D()!==e.type.indexOf("touch")>=0}function K(){Q();var t=b.props,n=t.popperOptions,r=t.placement,i=t.offset,o=t.getReferenceClientRect,a=t.moveTransition,c=A()?ct(x).arrow:null,u=o?{getBoundingClientRect:o,contextElement:o.contextElement||C()}:e,p={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(A()){var n=L().box;["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)}),t.attributes.popper={}}}},f=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},p];A()&&c&&f.push({name:"arrow",options:{element:c,padding:3}}),f.push.apply(f,(null==n?void 0:n.modifiers)||[]),b.popperInstance=be(u,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:f}))}function Q(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Z(){return Ne(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&S("onTrigger",[b,e]),B();var t=N(!0),r=j(),i=r[0],o=r[1];Be.isTouch&&"hold"===i&&o&&(t=o),t?n=setTimeout(function(){b.show()},t):b.show()}function te(e){if(b.clearDelayTimeouts(),S("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=N(!1);t?r=setTimeout(function(){b.state.isVisible&&b.hide()},t):i=requestAnimationFrame(function(){b.hide()})}}else I()}}function vt(e,t){void 0===t&&(t={});var n=et.plugins.concat(t.plugins||[]);"production"!==process.env.NODE_ENV&&(!function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;Qe(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Qe(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),it(t,n)),document.addEventListener("touchstart",Ue,Ee),window.addEventListener("blur",ze);var r=Object.assign({},t,{plugins:n}),i=Ve(e);if("production"!==process.env.NODE_ENV){var o=Pe(r.content),a=i.length>1;Ke(o&&a,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.","\n\n","Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.","\n\n","1) content: element.innerHTML\n","2) content: () => element.cloneNode(true)"].join(" "))}var s=i.reduce(function(e,t){var n=t&&dt(t,r);return n&&e.push(n),e},[]);return Pe(e)?s[0]:s}vt.defaultProps=et,vt.setDefaultProps=function(e){"production"!==process.env.NODE_ENV&&it(e,[]),Object.keys(e).forEach(function(t){et[t]=e[t]})},vt.currentInput=Be,Object.assign({},E,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),vt.setDefaultProps({render:ut});var mt={lines:1,lineHeight:"",placement:"top",arrow:!0,theme:"light",maxWidth:"300px",delay:100,appendTo:"body",onlyOverflow:!0,checkMethod:"client",showEllipsis:!0,ellipsisText:"...",customClass:"",options:{}};function ht(e,t){if(!e)return!1;var n=t.lines,r=t.lineHeight,i=t.checkMethod;if(1===n)return e.scrollWidth>e.clientWidth+1;var o=window.getComputedStyle(e),a=parseFloat(o.fontSize),s=("normal"===o.lineHeight&&"number"==typeof r?a*r:parseFloat(o.lineHeight))*n;switch(i){case"client":return e.scrollHeight>s+1;case"scroll":var c=e.firstChild;if(!c)return!1;var u=document.createRange();u.selectNodeContents(c);var p=u.getClientRects();return 0!==p.length&&p[p.length-1].bottom-e.getBoundingClientRect().top>s;default:var f=e.scrollHeight>s+1,l=e.firstChild,d=!1;if(l){var v=document.createRange();v.selectNodeContents(l);var m=v.getClientRects();if(m.length>0)d=m[m.length-1].bottom-e.getBoundingClientRect().top>s}return f||d}}var yt={mounted:function(e,t){var n=r(r({},mt),"object"===i(t.value)?t.value:{lines:t.value||1});e._originalText=e.textContent||e.innerText;var o=vt(e,r(r({content:e._originalText,placement:n.placement,arrow:n.arrow,theme:n.theme,maxWidth:n.maxWidth,delay:n.delay,trigger:"mouseenter focus"},n.options),{},{onShow:function(t){if(n.onlyOverflow&&!ht(e,n))return!1;var r=e._originalText||"";t.setContent(r)},onCreate:function(e){n.maxWidth&&(e.popper.style.maxWidth=n.maxWidth)}}));e._tippy=o,gt(e,n),function(e,t){e._resizeObserver=new ResizeObserver(function(){var n;null!==(n=e._tippy)&&void 0!==n&&n.state.isVisible&&t.onlyOverflow&&(ht(e,t)||e._tippy.hide())}),e._resizeObserver.observe(e),e._mutationObserver=new MutationObserver(function(){e._originalText=e.textContent||e.innerText}),e._mutationObserver.observe(e,{childList:!0,subtree:!0,characterData:!0})}(e,n)},updated:function(e,t){var n=r(r({},mt),"object"===i(t.value)?t.value:{lines:t.value});e._originalText=e.textContent||e.innerText,gt(e,n),e._tippy&&e._tippy.setProps({placement:n.placement,arrow:n.arrow,theme:n.theme,maxWidth:n.maxWidth,delay:n.delay,content:e._originalText})},beforeUnmount:function(e){e._tippy&&e._tippy.destroy(),e._resizeObserver&&e._resizeObserver.disconnect(),e._mutationObserver&&e._mutationObserver.disconnect()}};function gt(e,t){1===t.lines?function(e){var t=getComputedStyle(e);"inline"===t.display&&(e.style.display="inline-block",e.style.maxWidth="none"!==t.maxWidth?t.maxWidth:"100%"),e.style.whiteSpace="nowrap",e.style.overflow="hidden",e.style.textOverflow="ellipsis"}(e):function(e,t){var n=t.lines,r=t.lineHeight,i=t.showEllipsis;e.style.display="-webkit-box",e.style.webkitBoxOrient="vertical",e.style.overflow="hidden",e.style.lineHeight="".concat(r),e.style.webkitLineClamp="".concat(n);var o=e.querySelector(".overflow-tooltip-ellipsis");if(o&&o.remove(),i&&ht(e,t)){var a=document.createElement("span");a.className="overflow-tooltip-ellipsis",a.textContent=t.ellipsisText,a.style.cssText="\n display: inline-block;\n background: inherit;\n padding-left: 2px;\n ",e.appendChild(a)}}(e,t)}var bt=yt,wt={install:function(e,t){e.directive("overflow-tooltip",yt),t&&e.provide("overflowTooltipDefaults",t),e.provide("overflowTooltip",{getOptions:function(e){return e._overflowOptions},getInstance:function(e){return e._overflowTippyInstance},updateContent:function(e){if(e._overflowTippyInstance){var t=e.getAttribute("data-original-text")||"";e._overflowTippyInstance.setContent(t)}}})}},xt={overflowTooltip:wt};function Ot(e){e.use(wt)}var Et={install:Ot};e.default=Et,e.directives=xt,e.installDirectives=Ot,e.overflowTooltipDirective=bt,e.overflowTooltipPlugin=wt,e.vOverflowTooltip=yt,Object.defineProperty(e,"__esModule",{value:!0})}(this["@xn-lib/directives"]=this["@xn-lib/directives"]||{});
1
+ !function(e){"use strict";function t(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function r(e){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?n(Object(i),!0).forEach(function(n){t(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):n(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function i(e){return i="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},i(e)}var o="top",a="bottom",s="right",c="left",u="auto",p=[o,a,s,c],f="start",l="end",d="viewport",v="popper",m=p.reduce(function(e,t){return e.concat([t+"-"+f,t+"-"+l])},[]),h=[].concat(p,[u]).reduce(function(e,t){return e.concat([t,t+"-"+f,t+"-"+l])},[]),y=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function g(e){return e?(e.nodeName||"").toLowerCase():null}function b(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function w(e){return e instanceof b(e).Element||e instanceof Element}function x(e){return e instanceof b(e).HTMLElement||e instanceof HTMLElement}function O(e){return"undefined"!=typeof ShadowRoot&&(e instanceof b(e).ShadowRoot||e instanceof ShadowRoot)}var E={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];x(i)&&g(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});x(r)&&g(r)&&(Object.assign(r.style,o),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};function T(e){return e.split("-")[0]}var j=Math.max,D=Math.min,A=Math.round;function C(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function k(){return!/^((?!chrome|android).)*safari/i.test(C())}function L(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&x(e)&&(i=e.offsetWidth>0&&A(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&A(r.height)/e.offsetHeight||1);var a=(w(e)?b(e):window).visualViewport,s=!k()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/i,u=(r.top+(s&&a?a.offsetTop:0))/o,p=r.width/i,f=r.height/o;return{width:p,height:f,top:u,right:c+p,bottom:u+f,left:c,x:c,y:u}}function N(e){var t=L(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function _(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&O(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function S(e){return b(e).getComputedStyle(e)}function P(e){return["table","td","th"].indexOf(g(e))>=0}function V(e){return((w(e)?e.ownerDocument:e.document)||window.document).documentElement}function W(e){return"html"===g(e)?e:e.assignedSlot||e.parentNode||(O(e)?e.host:null)||V(e)}function M(e){return x(e)&&"fixed"!==S(e).position?e.offsetParent:null}function H(e){for(var t=b(e),n=M(e);n&&P(n)&&"static"===S(n).position;)n=M(n);return n&&("html"===g(n)||"body"===g(n)&&"static"===S(n).position)?t:n||function(e){var t=/firefox/i.test(C());if(/Trident/i.test(C())&&x(e)&&"fixed"===S(e).position)return null;var n=W(e);for(O(n)&&(n=n.host);x(n)&&["html","body"].indexOf(g(n))<0;){var r=S(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function R(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function B(e,t,n){return j(e,D(t,n))}function I(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function U(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var q={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,u=n.elements.arrow,f=n.modifiersData.popperOffsets,l=T(n.placement),d=R(l),v=[c,s].indexOf(l)>=0?"height":"width";if(u&&f){var m=function(e,t){return I("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:U(e,p))}(i.padding,n),h=N(u),y="y"===d?o:c,g="y"===d?a:s,b=n.rects.reference[v]+n.rects.reference[d]-f[d]-n.rects.popper[v],w=f[d]-n.rects.reference[d],x=H(u),O=x?"y"===d?x.clientHeight||0:x.clientWidth||0:0,E=b/2-w/2,j=m[y],D=O-h[v]-m[g],A=O/2-h[v]/2+E,C=B(j,A,D),k=d;n.modifiersData[r]=((t={})[k]=C,t.centerOffset=C-A,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&_(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function z(e){return e.split("-")[1]}var F={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $(e){var t,n=e.popper,r=e.popperRect,i=e.placement,u=e.variation,p=e.offsets,f=e.position,d=e.gpuAcceleration,v=e.adaptive,m=e.roundOffsets,h=e.isFixed,y=p.x,g=void 0===y?0:y,w=p.y,x=void 0===w?0:w,O="function"==typeof m?m({x:g,y:x}):{x:g,y:x};g=O.x,x=O.y;var E=p.hasOwnProperty("x"),T=p.hasOwnProperty("y"),j=c,D=o,C=window;if(v){var k=H(n),L="clientHeight",N="clientWidth";if(k===b(n)&&"static"!==S(k=V(n)).position&&"absolute"===f&&(L="scrollHeight",N="scrollWidth"),i===o||(i===c||i===s)&&u===l)D=a,x-=(h&&k===C&&C.visualViewport?C.visualViewport.height:k[L])-r.height,x*=d?1:-1;if(i===c||(i===o||i===a)&&u===l)j=s,g-=(h&&k===C&&C.visualViewport?C.visualViewport.width:k[N])-r.width,g*=d?1:-1}var _,P=Object.assign({position:f},v&&F),W=!0===m?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:A(n*i)/i||0,y:A(r*i)/i||0}}({x:g,y:x},b(n)):{x:g,y:x};return g=W.x,x=W.y,d?Object.assign({},P,((_={})[D]=T?"0":"",_[j]=E?"0":"",_.transform=(C.devicePixelRatio||1)<=1?"translate("+g+"px, "+x+"px)":"translate3d("+g+"px, "+x+"px, 0)",_)):Object.assign({},P,((t={})[D]=T?x+"px":"",t[j]=E?g+"px":"",t.transform="",t))}var Y={passive:!0};var X={left:"right",right:"left",bottom:"top",top:"bottom"};function J(e){return e.replace(/left|right|bottom|top/g,function(e){return X[e]})}var G={start:"end",end:"start"};function K(e){return e.replace(/start|end/g,function(e){return G[e]})}function Q(e){var t=b(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Z(e){return L(V(e)).left+Q(e).scrollLeft}function ee(e){var t=S(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function te(e){return["html","body","#document"].indexOf(g(e))>=0?e.ownerDocument.body:x(e)&&ee(e)?e:te(W(e))}function ne(e,t){var n;void 0===t&&(t=[]);var r=te(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=b(r),a=i?[o].concat(o.visualViewport||[],ee(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(ne(W(a)))}function re(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ie(e,t,n){return t===d?re(function(e,t){var n=b(e),r=V(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){o=i.width,a=i.height;var u=k();(u||!u&&"fixed"===t)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:o,height:a,x:s+Z(e),y:c}}(e,n)):w(t)?function(e,t){var n=L(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):re(function(e){var t,n=V(e),r=Q(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=j(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=j(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+Z(e),c=-r.scrollTop;return"rtl"===S(i||n).direction&&(s+=j(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:c}}(V(e)))}function oe(e,t,n,r){var i="clippingParents"===t?function(e){var t=ne(W(e)),n=["absolute","fixed"].indexOf(S(e).position)>=0&&x(e)?H(e):e;return w(n)?t.filter(function(e){return w(e)&&_(e,n)&&"body"!==g(e)}):[]}(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(t,n){var i=ie(e,n,r);return t.top=j(i.top,t.top),t.right=D(i.right,t.right),t.bottom=D(i.bottom,t.bottom),t.left=j(i.left,t.left),t},ie(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ae(e){var t,n=e.reference,r=e.element,i=e.placement,u=i?T(i):null,p=i?z(i):null,d=n.x+n.width/2-r.width/2,v=n.y+n.height/2-r.height/2;switch(u){case o:t={x:d,y:n.y-r.height};break;case a:t={x:d,y:n.y+n.height};break;case s:t={x:n.x+n.width,y:v};break;case c:t={x:n.x-r.width,y:v};break;default:t={x:n.x,y:n.y}}var m=u?R(u):null;if(null!=m){var h="y"===m?"height":"width";switch(p){case f:t[m]=t[m]-(n[h]/2-r[h]/2);break;case l:t[m]=t[m]+(n[h]/2-r[h]/2)}}return t}function se(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,c=n.strategy,u=void 0===c?e.strategy:c,f=n.boundary,l=void 0===f?"clippingParents":f,m=n.rootBoundary,h=void 0===m?d:m,y=n.elementContext,g=void 0===y?v:y,b=n.altBoundary,x=void 0!==b&&b,O=n.padding,E=void 0===O?0:O,T=I("number"!=typeof E?E:U(E,p)),j=g===v?"reference":v,D=e.rects.popper,A=e.elements[x?j:g],C=oe(w(A)?A:A.contextElement||V(e.elements.popper),l,h,u),k=L(e.elements.reference),N=ae({reference:k,element:D,strategy:"absolute",placement:i}),_=re(Object.assign({},D,N)),S=g===v?_:k,P={top:C.top-S.top+T.top,bottom:S.bottom-C.bottom+T.bottom,left:C.left-S.left+T.left,right:S.right-C.right+T.right},W=e.modifiersData.offset;if(g===v&&W){var M=W[i];Object.keys(P).forEach(function(e){var t=[s,a].indexOf(e)>=0?1:-1,n=[o,a].indexOf(e)>=0?"y":"x";P[e]+=M[n]*t})}return P}function ce(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?h:c,f=z(r),l=f?s?m:m.filter(function(e){return z(e)===f}):p,d=l.filter(function(e){return u.indexOf(e)>=0});0===d.length&&(d=l);var v=d.reduce(function(t,n){return t[n]=se(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[T(n)],t},{});return Object.keys(v).sort(function(e,t){return v[e]-v[t]})}var ue={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,p=void 0===i||i,l=n.altAxis,d=void 0===l||l,v=n.fallbackPlacements,m=n.padding,h=n.boundary,y=n.rootBoundary,g=n.altBoundary,b=n.flipVariations,w=void 0===b||b,x=n.allowedAutoPlacements,O=t.options.placement,E=T(O),j=v||(E===O||!w?[J(O)]:function(e){if(T(e)===u)return[];var t=J(e);return[K(e),t,K(t)]}(O)),D=[O].concat(j).reduce(function(e,n){return e.concat(T(n)===u?ce(t,{placement:n,boundary:h,rootBoundary:y,padding:m,flipVariations:w,allowedAutoPlacements:x}):n)},[]),A=t.rects.reference,C=t.rects.popper,k=new Map,L=!0,N=D[0],_=0;_<D.length;_++){var S=D[_],P=T(S),V=z(S)===f,W=[o,a].indexOf(P)>=0,M=W?"width":"height",H=se(t,{placement:S,boundary:h,rootBoundary:y,altBoundary:g,padding:m}),R=W?V?s:c:V?a:o;A[M]>C[M]&&(R=J(R));var B=J(R),I=[];if(p&&I.push(H[P]<=0),d&&I.push(H[R]<=0,H[B]<=0),I.every(function(e){return e})){N=S,L=!1;break}k.set(S,I)}if(L)for(var U=function(e){var t=D.find(function(t){var n=k.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return N=t,"break"},q=w?3:1;q>0;q--){if("break"===U(q))break}t.placement!==N&&(t.modifiersData[r]._skip=!0,t.placement=N,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function pe(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function fe(e){return[o,s,a,c].some(function(t){return e[t]>=0})}var le={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=void 0===i?[0,0]:i,u=h.reduce(function(e,n){return e[n]=function(e,t,n){var r=T(e),i=[c,o].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,u=a[0],p=a[1];return u=u||0,p=(p||0)*i,[c,s].indexOf(r)>=0?{x:p,y:u}:{x:u,y:p}}(n,t.rects,a),e},{}),p=u[t.placement],f=p.x,l=p.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=u}};var de={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,u=void 0===i||i,p=n.altAxis,l=void 0!==p&&p,d=n.boundary,v=n.rootBoundary,m=n.altBoundary,h=n.padding,y=n.tether,g=void 0===y||y,b=n.tetherOffset,w=void 0===b?0:b,x=se(t,{boundary:d,rootBoundary:v,padding:h,altBoundary:m}),O=T(t.placement),E=z(t.placement),A=!E,C=R(O),k="x"===C?"y":"x",L=t.modifiersData.popperOffsets,_=t.rects.reference,S=t.rects.popper,P="function"==typeof w?w(Object.assign({},t.rects,{placement:t.placement})):w,V="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),W=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(L){if(u){var I,U="y"===C?o:c,q="y"===C?a:s,F="y"===C?"height":"width",$=L[C],Y=$+x[U],X=$-x[q],J=g?-S[F]/2:0,G=E===f?_[F]:S[F],K=E===f?-S[F]:-_[F],Q=t.elements.arrow,Z=g&&Q?N(Q):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[U],ne=ee[q],re=B(0,_[F],Z[F]),ie=A?_[F]/2-J-re-te-V.mainAxis:G-re-te-V.mainAxis,oe=A?-_[F]/2+J+re+ne+V.mainAxis:K+re+ne+V.mainAxis,ae=t.elements.arrow&&H(t.elements.arrow),ce=ae?"y"===C?ae.clientTop||0:ae.clientLeft||0:0,ue=null!=(I=null==W?void 0:W[C])?I:0,pe=$+oe-ue,fe=B(g?D(Y,$+ie-ue-ce):Y,$,g?j(X,pe):X);L[C]=fe,M[C]=fe-$}if(l){var le,de="x"===C?o:c,ve="x"===C?a:s,me=L[k],he="y"===k?"height":"width",ye=me+x[de],ge=me-x[ve],be=-1!==[o,c].indexOf(O),we=null!=(le=null==W?void 0:W[k])?le:0,xe=be?ye:me-_[he]-S[he]-we+V.altAxis,Oe=be?me+_[he]+S[he]-we-V.altAxis:ge,Ee=g&&be?function(e,t,n){var r=B(e,t,n);return r>n?n:r}(xe,me,Oe):B(g?xe:ye,me,g?Oe:ge);L[k]=Ee,M[k]=Ee-me}t.modifiersData[r]=M}},requiresIfExists:["offset"]};function ve(e,t,n){void 0===n&&(n=!1);var r,i,o=x(t),a=x(t)&&function(e){var t=e.getBoundingClientRect(),n=A(t.width)/e.offsetWidth||1,r=A(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=V(t),c=L(e,a,n),u={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(o||!o&&!n)&&(("body"!==g(t)||ee(s))&&(u=(r=t)!==b(r)&&x(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:Q(r)),x(t)?((p=L(t,!0)).x+=t.clientLeft,p.y+=t.clientTop):s&&(p.x=Z(s))),{x:c.left+u.scrollLeft-p.x,y:c.top+u.scrollTop-p.y,width:c.width,height:c.height}}function me(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||i(e)}),r}var he={placement:"bottom",modifiers:[],strategy:"absolute"};function ye(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function ge(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?he:i;return function(e,t,n){void 0===n&&(n=o);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},he,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,p={state:s,setOptions:function(n){var i="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},o,s.options,i),s.scrollParents={reference:w(e)?ne(e):e.contextElement?ne(e.contextElement):[],popper:ne(t)};var a,u,l=function(e){var t=me(e);return y.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((a=[].concat(r,s.options.modifiers),u=a.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(u).map(function(e){return u[e]})));return s.orderedModifiers=l.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var o=i({state:s,name:t,instance:p,options:r}),a=function(){};c.push(o||a)}}),p.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(ye(t,n)){s.rects={reference:ve(t,H(n),"fixed"===s.options.strategy),popper:N(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var i=s.orderedModifiers[r],o=i.fn,a=i.options,c=void 0===a?{}:a,f=i.name;"function"==typeof o&&(s=o({state:s,options:c,name:f,instance:p})||s)}else s.reset=!1,r=-1}}},update:(i=function(){return new Promise(function(e){p.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(i())})})),a}),destroy:function(){f(),u=!0}};if(!ye(e,t))return p;function f(){c.forEach(function(e){return e()}),c=[]}return p.setOptions(n).then(function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)}),p}}var be=ge({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,a=r.resize,s=void 0===a||a,c=b(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(e){e.addEventListener("scroll",n.update,Y)}),s&&c.addEventListener("resize",n.update,Y),function(){o&&u.forEach(function(e){e.removeEventListener("scroll",n.update,Y)}),s&&c.removeEventListener("resize",n.update,Y)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ae({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,c=void 0===s||s,u={placement:T(t.placement),variation:z(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,$(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,$(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},E,le,ue,de,q,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=se(t,{elementContext:"reference"}),s=se(t,{altBoundary:!0}),c=pe(a,r),u=pe(s,i,o),p=fe(c),f=fe(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":f})}}]}),we="tippy-content",xe="tippy-arrow",Oe="tippy-svg-arrow",Ee={passive:!0,capture:!0},Te=function(){return document.body};function je(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function De(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Ae(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Ce(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function ke(e){return[].concat(e)}function Le(e,t){-1===e.indexOf(t)&&e.push(t)}function Ne(e){return[].slice.call(e)}function _e(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function Se(){return document.createElement("div")}function Pe(e){return["Element","Fragment"].some(function(t){return De(e,t)})}function Ve(e){return Pe(e)?[e]:function(e){return De(e,"NodeList")}(e)?Ne(e):Array.isArray(e)?e:Ne(document.querySelectorAll(e))}function We(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function Me(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function He(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[r](t,n)})}function Re(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var Be={isTouch:!1},Ie=0;function Ue(){Be.isTouch||(Be.isTouch=!0,window.performance&&document.addEventListener("mousemove",qe))}function qe(){var e=performance.now();e-Ie<20&&(Be.isTouch=!1,document.removeEventListener("mousemove",qe)),Ie=e}function ze(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var Fe,$e=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;function Ye(e){return[e+"() was called on a"+("destroy"===e?"n already-":" ")+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function Xe(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function Je(e){return Xe("\n %ctippy.js\n\n %c"+Xe(e)+"\n\n %c👷‍ This is a development-only message. It will be removed in production.\n ")}function Ge(e){return[Je(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function Ke(e,t){var n;e&&!Fe.has(t)&&(Fe.add(t),(n=console).warn.apply(n,Ge(t)))}function Qe(e,t){var n;e&&!Fe.has(t)&&(Fe.add(t),(n=console).error.apply(n,Ge(t)))}"production"!==process.env.NODE_ENV&&(Fe=new Set);var Ze={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},et=Object.assign({appendTo:Te,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Ze,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),tt=Object.keys(et);function nt(e){var t=(e.plugins||[]).reduce(function(t,n){var r,i=n.name,o=n.defaultValue;i&&(t[i]=void 0!==e[i]?e[i]:null!=(r=et[i])?r:o);return t},{});return Object.assign({},e,t)}function rt(e,t){var n=Object.assign({},t,{content:Ae(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(nt(Object.assign({},et,{plugins:t}))):tt).reduce(function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t},{})}(e,t.plugins));return n.aria=Object.assign({},et.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function it(e,t){void 0===e&&(e={}),void 0===t&&(t=[]),Object.keys(e).forEach(function(e){var n,r,i=function(e,t){var n=Object.assign({},e);return t.forEach(function(e){delete n[e]}),n}(et,Object.keys(Ze)),o=(n=i,r=e,!{}.hasOwnProperty.call(n,r));o&&(o=0===t.filter(function(t){return t.name===e}).length),Ke(o,["`"+e+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.","\n\n","All props: https://atomiks.github.io/tippyjs/v6/all-props/\n","Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}function ot(e,t){e.innerHTML=t}function at(e){var t=Se();return!0===e?t.className=xe:(t.className=Oe,Pe(e)?t.appendChild(e):ot(t,e)),t}function st(e,t){Pe(t.content)?(ot(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?ot(e,t.content):e.textContent=t.content)}function ct(e){var t=e.firstElementChild,n=Ne(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(we)}),arrow:n.find(function(e){return e.classList.contains(xe)||e.classList.contains(Oe)}),backdrop:n.find(function(e){return e.classList.contains("tippy-backdrop")})}}function ut(e){var t=Se(),n=Se();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Se();function i(n,r){var i=ct(t),o=i.box,a=i.content,s=i.arrow;r.theme?o.setAttribute("data-theme",r.theme):o.removeAttribute("data-theme"),"string"==typeof r.animation?o.setAttribute("data-animation",r.animation):o.removeAttribute("data-animation"),r.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?o.setAttribute("role",r.role):o.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||st(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(o.removeChild(s),o.appendChild(at(r.arrow))):o.appendChild(at(r.arrow)):s&&o.removeChild(s)}return r.className=we,r.setAttribute("data-state","hidden"),st(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props),{popper:t,onUpdate:i}}ut.$$tippy=!0;var pt=1,ft=[],lt=[];function dt(e,t){var n,r,i,o,a,s,c,u,p=rt(e,Object.assign({},et,nt(_e(t)))),f=!1,l=!1,d=!1,v=!1,m=[],h=Ce(Y,p.interactiveDebounce),y=pt++,g=(u=p.plugins).filter(function(e,t){return u.indexOf(e)===t}),b={id:y,reference:e,popper:Se(),popperInstance:null,props:p,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:g,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(t){"production"!==process.env.NODE_ENV&&Ke(b.state.isDestroyed,Ye("setProps"));if(b.state.isDestroyed)return;S("onBeforeUpdate",[b,t]),F();var n=b.props,r=rt(e,Object.assign({},n,_e(t),{ignoreAttributes:!0}));b.props=r,z(),n.interactiveDebounce!==r.interactiveDebounce&&(W(),h=Ce(Y,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?ke(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded");V(),_(),O&&O(n,r);b.popperInstance&&(K(),Z().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}));S("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){"production"!==process.env.NODE_ENV&&Ke(b.state.isDestroyed,Ye("show"));var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Be.isTouch&&!b.props.touch,i=je(b.props.duration,0,et.duration);if(e||t||n||r)return;if(C().hasAttribute("disabled"))return;if(S("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,A()&&(x.style.visibility="visible");_(),B(),b.state.isMounted||(x.style.transition="none");if(A()){var o=L();We([o.box,o.content],0)}s=function(){var e;if(b.state.isVisible&&!v){if(v=!0,x.offsetHeight,x.style.transition=b.props.moveTransition,A()&&b.props.animation){var t=L(),n=t.box,r=t.content;We([n,r],i),Me([n,r],"visible")}P(),V(),Le(lt,b),null==(e=b.popperInstance)||e.forceUpdate(),S("onMount",[b]),b.props.animation&&A()&&function(e,t){U(e,t)}(i,function(){b.state.isShown=!0,S("onShown",[b])})}},function(){var e,t=b.props.appendTo,n=C();e=b.props.interactive&&t===Te||"parent"===t?n.parentNode:Ae(t,[n]);e.contains(x)||e.appendChild(x);b.state.isMounted=!0,K(),"production"!==process.env.NODE_ENV&&Ke(b.props.interactive&&t===et.appendTo&&n.nextElementSibling!==x,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.","\n\n","Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.","\n\n","Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.","\n\n","See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}()},hide:function(){"production"!==process.env.NODE_ENV&&Ke(b.state.isDestroyed,Ye("hide"));var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=je(b.props.duration,1,et.duration);if(e||t||n)return;if(S("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,v=!1,f=!1,A()&&(x.style.visibility="hidden");if(W(),I(),_(!0),A()){var i=L(),o=i.box,a=i.content;b.props.animation&&(We([o,a],r),Me([o,a],"hidden"))}P(),V(),b.props.animation?A()&&function(e,t){U(e,function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()})}(r,b.unmount):b.unmount()},hideWithInteractivity:function(e){"production"!==process.env.NODE_ENV&&Ke(b.state.isDestroyed,Ye("hideWithInteractivity"));k().addEventListener("mousemove",h),Le(ft,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){"production"!==process.env.NODE_ENV&&Ke(b.state.isDestroyed,Ye("unmount"));b.state.isVisible&&b.hide();if(!b.state.isMounted)return;Q(),Z().forEach(function(e){e._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x);lt=lt.filter(function(e){return e!==b}),b.state.isMounted=!1,S("onHidden",[b])},destroy:function(){"production"!==process.env.NODE_ENV&&Ke(b.state.isDestroyed,Ye("destroy"));if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),F(),delete e._tippy,b.state.isDestroyed=!0,S("onDestroy",[b])}};if(!p.render)return"production"!==process.env.NODE_ENV&&Qe(!0,"render() function has not been supplied."),b;var w=p.render(b),x=w.popper,O=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var E=g.map(function(e){return e.fn(b)}),T=e.hasAttribute("aria-expanded");return z(),V(),_(),S("onCreate",[b]),p.showOnCreate&&ee(),x.addEventListener("mouseenter",function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()}),x.addEventListener("mouseleave",function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&k().addEventListener("mousemove",h)}),b;function j(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function D(){return"hold"===j()[0]}function A(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function C(){return c||e}function k(){var e,t,n=C().parentNode;return n?null!=(t=ke(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function L(){return ct(x)}function N(e){return b.state.isMounted&&!b.state.isVisible||Be.isTouch||o&&"focus"===o.type?0:je(b.props.delay,e?0:1,et.delay)}function _(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function S(e,t,n){var r;(void 0===n&&(n=!0),E.forEach(function(n){n[e]&&n[e].apply(n,t)}),n)&&(r=b.props)[e].apply(r,t)}function P(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;ke(b.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var i=t&&t.replace(r,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}})}}function V(){!T&&b.props.aria.expanded&&ke(b.props.triggerTarget||e).forEach(function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===C()?"true":"false"):e.removeAttribute("aria-expanded")})}function W(){k().removeEventListener("mousemove",h),ft=ft.filter(function(e){return e!==h})}function M(t){if(!Be.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Re(x,n)){if(ke(b.props.triggerTarget||e).some(function(e){return Re(e,n)})){if(Be.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else S("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),l=!0,setTimeout(function(){l=!1}),b.state.isMounted||I())}}}function H(){d=!0}function R(){d=!1}function B(){var e=k();e.addEventListener("mousedown",M,!0),e.addEventListener("touchend",M,Ee),e.addEventListener("touchstart",R,Ee),e.addEventListener("touchmove",H,Ee)}function I(){var e=k();e.removeEventListener("mousedown",M,!0),e.removeEventListener("touchend",M,Ee),e.removeEventListener("touchstart",R,Ee),e.removeEventListener("touchmove",H,Ee)}function U(e,t){var n=L().box;function r(e){e.target===n&&(He(n,"remove",r),t())}if(0===e)return t();He(n,"remove",a),He(n,"add",r),a=r}function q(t,n,r){void 0===r&&(r=!1),ke(b.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})})}function z(){var e;D()&&(q("touchstart",$,{passive:!0}),q("touchend",X,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach(function(e){if("manual"!==e)switch(q(e,$),e){case"mouseenter":q("mouseleave",X);break;case"focus":q($e?"focusout":"blur",J);break;case"focusin":q("focusout",J)}})}function F(){m.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)}),m=[]}function $(e){var t,n=!1;if(b.state.isEnabled&&!G(e)&&!l){var r="focus"===(null==(t=o)?void 0:t.type);o=e,c=e.currentTarget,V(),!b.state.isVisible&&De(e,"MouseEvent")&&ft.forEach(function(t){return t(e)}),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function Y(e){var t=e.target,n=C().contains(t)||x.contains(t);if("mousemove"!==e.type||!n){var r=Z().concat(x).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:p}:null}).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every(function(e){var t=e.popperRect,i=e.popperState,o=e.props.interactiveBorder,a=i.placement.split("-")[0],s=i.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,p="right"===a?s.left.x:0,f="left"===a?s.right.x:0,l=t.top-r+c>o,d=r-t.bottom-u>o,v=t.left-n+p>o,m=n-t.right-f>o;return l||d||v||m})})(r,e)&&(W(),te(e))}}function X(e){G(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function J(e){b.props.trigger.indexOf("focusin")<0&&e.target!==C()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function G(e){return!!Be.isTouch&&D()!==e.type.indexOf("touch")>=0}function K(){Q();var t=b.props,n=t.popperOptions,r=t.placement,i=t.offset,o=t.getReferenceClientRect,a=t.moveTransition,c=A()?ct(x).arrow:null,u=o?{getBoundingClientRect:o,contextElement:o.contextElement||C()}:e,p={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(A()){var n=L().box;["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)}),t.attributes.popper={}}}},f=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},p];A()&&c&&f.push({name:"arrow",options:{element:c,padding:3}}),f.push.apply(f,(null==n?void 0:n.modifiers)||[]),b.popperInstance=be(u,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:f}))}function Q(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Z(){return Ne(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&S("onTrigger",[b,e]),B();var t=N(!0),r=j(),i=r[0],o=r[1];Be.isTouch&&"hold"===i&&o&&(t=o),t?n=setTimeout(function(){b.show()},t):b.show()}function te(e){if(b.clearDelayTimeouts(),S("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=N(!1);t?r=setTimeout(function(){b.state.isVisible&&b.hide()},t):i=requestAnimationFrame(function(){b.hide()})}}else I()}}function vt(e,t){void 0===t&&(t={});var n=et.plugins.concat(t.plugins||[]);"production"!==process.env.NODE_ENV&&(!function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;Qe(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Qe(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),it(t,n)),document.addEventListener("touchstart",Ue,Ee),window.addEventListener("blur",ze);var r=Object.assign({},t,{plugins:n}),i=Ve(e);if("production"!==process.env.NODE_ENV){var o=Pe(r.content),a=i.length>1;Ke(o&&a,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.","\n\n","Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.","\n\n","1) content: element.innerHTML\n","2) content: () => element.cloneNode(true)"].join(" "))}var s=i.reduce(function(e,t){var n=t&&dt(t,r);return n&&e.push(n),e},[]);return Pe(e)?s[0]:s}vt.defaultProps=et,vt.setDefaultProps=function(e){"production"!==process.env.NODE_ENV&&it(e,[]),Object.keys(e).forEach(function(t){et[t]=e[t]})},vt.currentInput=Be,Object.assign({},E,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),vt.setDefaultProps({render:ut});var mt={lines:1,lineHeight:"",placement:"top",arrow:!0,theme:"light",maxWidth:"300px",delay:100,appendTo:"body",onlyOverflow:!0,checkMethod:"client",showEllipsis:!1,ellipsisText:"...",customClass:"",options:{}};function ht(e,t){if(!e)return!1;var n=t.lines,r=t.lineHeight,i=t.checkMethod;if(1===n)return e.scrollWidth>e.clientWidth+1;var o=window.getComputedStyle(e),a=parseFloat(o.fontSize),s=("normal"===o.lineHeight&&"number"==typeof r?a*r:parseFloat(o.lineHeight))*n;switch(i){case"client":return e.scrollHeight>s+1;case"scroll":var c=e.firstChild;if(!c)return!1;var u=document.createRange();u.selectNodeContents(c);var p=u.getClientRects();return 0!==p.length&&p[p.length-1].bottom-e.getBoundingClientRect().top>s;default:var f=e.scrollHeight>s+1,l=e.firstChild,d=!1;if(l){var v=document.createRange();v.selectNodeContents(l);var m=v.getClientRects();if(m.length>0)d=m[m.length-1].bottom-e.getBoundingClientRect().top>s}return f||d}}var yt={mounted:function(e,t){var n=r(r({},mt),"object"===i(t.value)?t.value:{lines:t.value||1});e._originalText=e.textContent||e.innerText;var o=vt(e,r(r({content:e._originalText,placement:n.placement,arrow:n.arrow,theme:n.theme,maxWidth:n.maxWidth,delay:n.delay,trigger:"mouseenter focus"},n.options),{},{onShow:function(t){if(n.onlyOverflow&&!ht(e,n))return!1;var r=e._originalText||"";t.setContent(r)},onCreate:function(e){n.maxWidth&&(e.popper.style.maxWidth=n.maxWidth)}}));e._tippy=o,gt(e,n),function(e,t){e._resizeObserver=new ResizeObserver(function(){var n;null!==(n=e._tippy)&&void 0!==n&&n.state.isVisible&&t.onlyOverflow&&(ht(e,t)||e._tippy.hide())}),e._resizeObserver.observe(e),e._mutationObserver=new MutationObserver(function(){e._originalText=e.textContent||e.innerText}),e._mutationObserver.observe(e,{childList:!0,subtree:!0,characterData:!0})}(e,n)},updated:function(e,t){var n=r(r({},mt),"object"===i(t.value)?t.value:{lines:t.value});e._originalText=e.textContent||e.innerText,gt(e,n),e._tippy&&e._tippy.setProps({placement:n.placement,arrow:n.arrow,theme:n.theme,maxWidth:n.maxWidth,delay:n.delay,content:e._originalText})},beforeUnmount:function(e){e._tippy&&e._tippy.destroy(),e._resizeObserver&&e._resizeObserver.disconnect(),e._mutationObserver&&e._mutationObserver.disconnect()}};function gt(e,t){1===t.lines?function(e){var t=getComputedStyle(e);"inline"===t.display&&(e.style.display="inline-block",e.style.maxWidth="none"!==t.maxWidth?t.maxWidth:"100%"),e.style.whiteSpace="nowrap",e.style.overflow="hidden",e.style.textOverflow="ellipsis"}(e):function(e,t){var n=t.lines,r=t.lineHeight,i=t.showEllipsis;e.style.display="-webkit-box",e.style.webkitBoxOrient="vertical",e.style.overflow="hidden",e.style.lineHeight="".concat(r),e.style.webkitLineClamp="".concat(n);var o=e.querySelector(".overflow-tooltip-ellipsis");if(o&&o.remove(),i&&ht(e,t)){var a=document.createElement("span");a.className="overflow-tooltip-ellipsis",a.textContent=t.ellipsisText,a.style.cssText="\n display: inline-block;\n background: inherit;\n padding-left: 2px;\n ",e.appendChild(a)}}(e,t)}var bt=yt,wt={install:function(e,t){e.directive("overflow-tooltip",yt),t&&e.provide("overflowTooltipDefaults",t),e.provide("overflowTooltip",{getOptions:function(e){return e._overflowOptions},getInstance:function(e){return e._overflowTippyInstance},updateContent:function(e){if(e._overflowTippyInstance){var t=e.getAttribute("data-original-text")||"";e._overflowTippyInstance.setContent(t)}}})}},xt={overflowTooltip:wt};function Ot(e){e.use(wt)}var Et={install:Ot};e.default=Et,e.directives=xt,e.installDirectives=Ot,e.overflowTooltipDirective=bt,e.overflowTooltipPlugin=wt,e.vOverflowTooltip=yt,Object.defineProperty(e,"__esModule",{value:!0})}(this["@xn-lib/directives"]=this["@xn-lib/directives"]||{});