@xn-lib/directives 0.1.14 → 0.1.18
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";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("vue");function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,s(r.key),r)}}function r(e,t,n){return(t=s(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){r(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(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+""}function c(e){return c="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},c(e)}var u="top",p="bottom",l="right",f="left",d="auto",v=[u,p,l,f],m="start",h="end",y="viewport",g="popper",b=v.reduce(function(e,t){return e.concat([t+"-"+m,t+"-"+h])},[]),w=[].concat(v,[d]).reduce(function(e,t){return e.concat([t,t+"-"+m,t+"-"+h])},[]),x=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function O(e){return e?(e.nodeName||"").toLowerCase():null}function E(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function T(e){return e instanceof E(e).Element||e instanceof Element}function j(e){return e instanceof E(e).HTMLElement||e instanceof HTMLElement}function A(e){return"undefined"!=typeof ShadowRoot&&(e instanceof E(e).ShadowRoot||e instanceof ShadowRoot)}var D={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];j(o)&&O(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},{});j(r)&&O(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};function L(e){return e.split("-")[0]}var N=Math.max,k=Math.min,C=Math.round;function S(){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 I(){return!/^((?!chrome|android).)*safari/i.test(S())}function P(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&j(e)&&(o=e.offsetWidth>0&&C(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&C(r.height)/e.offsetHeight||1);var a=(T(e)?E(e):window).visualViewport,s=!I()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/o,u=(r.top+(s&&a?a.offsetTop:0))/i,p=r.width/o,l=r.height/i;return{width:p,height:l,top:u,right:c+p,bottom:u+l,left:c,x:c,y:u}}function V(e){var t=P(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&&A(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function M(e){return E(e).getComputedStyle(e)}function W(e){return["table","td","th"].indexOf(O(e))>=0}function H(e){return((T(e)?e.ownerDocument:e.document)||window.document).documentElement}function R(e){return"html"===O(e)?e:e.assignedSlot||e.parentNode||(A(e)?e.host:null)||H(e)}function B(e){return j(e)&&"fixed"!==M(e).position?e.offsetParent:null}function U(e){for(var t=E(e),n=B(e);n&&W(n)&&"static"===M(n).position;)n=B(n);return n&&("html"===O(n)||"body"===O(n)&&"static"===M(n).position)?t:n||function(e){var t=/firefox/i.test(S());if(/Trident/i.test(S())&&j(e)&&"fixed"===M(e).position)return null;var n=R(e);for(A(n)&&(n=n.host);j(n)&&["html","body"].indexOf(O(n))<0;){var r=M(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 q(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function F(e,t,n){return N(e,k(t,n))}function z(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function $(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var G={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=L(n.placement),c=q(s),d=[f,l].indexOf(s)>=0?"height":"width";if(i&&a){var m=function(e,t){return z("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:$(e,v))}(o.padding,n),h=V(i),y="y"===c?u:f,g="y"===c?p:l,b=n.rects.reference[d]+n.rects.reference[c]-a[c]-n.rects.popper[d],w=a[c]-n.rects.reference[c],x=U(i),O=x?"y"===c?x.clientHeight||0:x.clientWidth||0:0,E=b/2-w/2,T=m[y],j=O-h[d]-m[g],A=O/2-h[d]/2+E,D=F(T,A,j),N=c;n.modifiersData[r]=((t={})[N]=D,t.centerOffset=D-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 X(e){return e.split("-")[1]}var Y={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Z(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,d=e.adaptive,v=e.roundOffsets,m=e.isFixed,y=a.x,g=void 0===y?0:y,b=a.y,w=void 0===b?0:b,x="function"==typeof v?v({x:g,y:w}):{x:g,y:w};g=x.x,w=x.y;var O=a.hasOwnProperty("x"),T=a.hasOwnProperty("y"),j=f,A=u,D=window;if(d){var L=U(n),N="clientHeight",k="clientWidth";if(L===E(n)&&"static"!==M(L=H(n)).position&&"absolute"===s&&(N="scrollHeight",k="scrollWidth"),o===u||(o===f||o===l)&&i===h)A=p,w-=(m&&L===D&&D.visualViewport?D.visualViewport.height:L[N])-r.height,w*=c?1:-1;if(o===f||(o===u||o===p)&&i===h)j=l,g-=(m&&L===D&&D.visualViewport?D.visualViewport.width:L[k])-r.width,g*=c?1:-1}var S,I=Object.assign({position:s},d&&Y),P=!0===v?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:C(n*o)/o||0,y:C(r*o)/o||0}}({x:g,y:w},E(n)):{x:g,y:w};return g=P.x,w=P.y,c?Object.assign({},I,((S={})[A]=T?"0":"",S[j]=O?"0":"",S.transform=(D.devicePixelRatio||1)<=1?"translate("+g+"px, "+w+"px)":"translate3d("+g+"px, "+w+"px, 0)",S)):Object.assign({},I,((t={})[A]=T?w+"px":"",t[j]=O?g+"px":"",t.transform="",t))}var J={passive:!0};var K={left:"right",right:"left",bottom:"top",top:"bottom"};function Q(e){return e.replace(/left|right|bottom|top/g,function(e){return K[e]})}var ee={start:"end",end:"start"};function te(e){return e.replace(/start|end/g,function(e){return ee[e]})}function ne(e){var t=E(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function re(e){return P(H(e)).left+ne(e).scrollLeft}function oe(e){var t=M(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function ie(e){return["html","body","#document"].indexOf(O(e))>=0?e.ownerDocument.body:j(e)&&oe(e)?e:ie(R(e))}function ae(e,t){var n;void 0===t&&(t=[]);var r=ie(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=E(r),a=o?[i].concat(i.visualViewport||[],oe(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(ae(R(a)))}function se(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ce(e,t,n){return t===y?se(function(e,t){var n=E(e),r=H(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var u=I();(u||!u&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+re(e),y:c}}(e,n)):T(t)?function(e,t){var n=P(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):se(function(e){var t,n=H(e),r=ne(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=N(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=N(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+re(e),c=-r.scrollTop;return"rtl"===M(o||n).direction&&(s+=N(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(H(e)))}function ue(e,t,n,r){var o="clippingParents"===t?function(e){var t=ae(R(e)),n=["absolute","fixed"].indexOf(M(e).position)>=0&&j(e)?U(e):e;return T(n)?t.filter(function(e){return T(e)&&_(e,n)&&"body"!==O(e)}):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(t,n){var o=ce(e,n,r);return t.top=N(o.top,t.top),t.right=k(o.right,t.right),t.bottom=k(o.bottom,t.bottom),t.left=N(o.left,t.left),t},ce(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 pe(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?L(o):null,a=o?X(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case u:t={x:s,y:n.y-r.height};break;case p:t={x:s,y:n.y+n.height};break;case l:t={x:n.x+n.width,y:c};break;case f:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var d=i?q(i):null;if(null!=d){var v="y"===d?"height":"width";switch(a){case m:t[d]=t[d]-(n[v]/2-r[v]/2);break;case h:t[d]=t[d]+(n[v]/2-r[v]/2)}}return t}function le(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,c=void 0===s?"clippingParents":s,f=n.rootBoundary,d=void 0===f?y:f,m=n.elementContext,h=void 0===m?g:m,b=n.altBoundary,w=void 0!==b&&b,x=n.padding,O=void 0===x?0:x,E=z("number"!=typeof O?O:$(O,v)),j=h===g?"reference":g,A=e.rects.popper,D=e.elements[w?j:h],L=ue(T(D)?D:D.contextElement||H(e.elements.popper),c,d,a),N=P(e.elements.reference),k=pe({reference:N,element:A,strategy:"absolute",placement:o}),C=se(Object.assign({},A,k)),S=h===g?C:N,I={top:L.top-S.top+E.top,bottom:S.bottom-L.bottom+E.bottom,left:L.left-S.left+E.left,right:S.right-L.right+E.right},V=e.modifiersData.offset;if(h===g&&V){var _=V[o];Object.keys(I).forEach(function(e){var t=[l,p].indexOf(e)>=0?1:-1,n=[u,p].indexOf(e)>=0?"y":"x";I[e]+=_[n]*t})}return I}function fe(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?w:c,p=X(r),l=p?s?b:b.filter(function(e){return X(e)===p}):v,f=l.filter(function(e){return u.indexOf(e)>=0});0===f.length&&(f=l);var d=f.reduce(function(t,n){return t[n]=le(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[L(n)],t},{});return Object.keys(d).sort(function(e,t){return d[e]-d[t]})}var de={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 o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,v=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=L(O),T=c||(E===O||!w?[Q(O)]:function(e){if(L(e)===d)return[];var t=Q(e);return[te(e),t,te(t)]}(O)),j=[O].concat(T).reduce(function(e,n){return e.concat(L(n)===d?fe(t,{placement:n,boundary:h,rootBoundary:y,padding:v,flipVariations:w,allowedAutoPlacements:x}):n)},[]),A=t.rects.reference,D=t.rects.popper,N=new Map,k=!0,C=j[0],S=0;S<j.length;S++){var I=j[S],P=L(I),V=X(I)===m,_=[u,p].indexOf(P)>=0,M=_?"width":"height",W=le(t,{placement:I,boundary:h,rootBoundary:y,altBoundary:g,padding:v}),H=_?V?l:f:V?p:u;A[M]>D[M]&&(H=Q(H));var R=Q(H),B=[];if(i&&B.push(W[P]<=0),s&&B.push(W[H]<=0,W[R]<=0),B.every(function(e){return e})){C=I,k=!1;break}N.set(I,B)}if(k)for(var U=function(e){var t=j.find(function(t){var n=N.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},q=w?3:1;q>0;q--){if("break"===U(q))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ve(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 me(e){return[u,l,p,f].some(function(t){return e[t]>=0})}var he={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=w.reduce(function(e,n){return e[n]=function(e,t,n){var r=L(e),o=[f,u].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[f,l].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e},{}),s=a[t.placement],c=s.x,p=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=p),t.modifiersData[r]=a}};var ye={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,d=n.rootBoundary,v=n.altBoundary,h=n.padding,y=n.tether,g=void 0===y||y,b=n.tetherOffset,w=void 0===b?0:b,x=le(t,{boundary:c,rootBoundary:d,padding:h,altBoundary:v}),O=L(t.placement),E=X(t.placement),T=!E,j=q(O),A="x"===j?"y":"x",D=t.modifiersData.popperOffsets,C=t.rects.reference,S=t.rects.popper,I="function"==typeof w?w(Object.assign({},t.rects,{placement:t.placement})):w,P="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),_=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(D){if(i){var W,H="y"===j?u:f,R="y"===j?p:l,B="y"===j?"height":"width",z=D[j],$=z+x[H],G=z-x[R],Y=g?-S[B]/2:0,Z=E===m?C[B]:S[B],J=E===m?-S[B]:-C[B],K=t.elements.arrow,Q=g&&K?V(K):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[H],ne=ee[R],re=F(0,C[B],Q[B]),oe=T?C[B]/2-Y-re-te-P.mainAxis:Z-re-te-P.mainAxis,ie=T?-C[B]/2+Y+re+ne+P.mainAxis:J+re+ne+P.mainAxis,ae=t.elements.arrow&&U(t.elements.arrow),se=ae?"y"===j?ae.clientTop||0:ae.clientLeft||0:0,ce=null!=(W=null==_?void 0:_[j])?W:0,ue=z+ie-ce,pe=F(g?k($,z+oe-ce-se):$,z,g?N(G,ue):G);D[j]=pe,M[j]=pe-z}if(s){var fe,de="x"===j?u:f,ve="x"===j?p:l,me=D[A],he="y"===A?"height":"width",ye=me+x[de],ge=me-x[ve],be=-1!==[u,f].indexOf(O),we=null!=(fe=null==_?void 0:_[A])?fe:0,xe=be?ye:me-C[he]-S[he]-we+P.altAxis,Oe=be?me+C[he]+S[he]-we-P.altAxis:ge,Ee=g&&be?function(e,t,n){var r=F(e,t,n);return r>n?n:r}(xe,me,Oe):F(g?xe:ye,me,g?Oe:ge);D[A]=Ee,M[A]=Ee-me}t.modifiersData[r]=M}},requiresIfExists:["offset"]};function ge(e,t,n){void 0===n&&(n=!1);var r,o,i=j(t),a=j(t)&&function(e){var t=e.getBoundingClientRect(),n=C(t.width)/e.offsetWidth||1,r=C(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=H(t),c=P(e,a,n),u={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(i||!i&&!n)&&(("body"!==O(t)||oe(s))&&(u=(r=t)!==E(r)&&j(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:ne(r)),j(t)?((p=P(t,!0)).x+=t.clientLeft,p.y+=t.clientTop):s&&(p.x=re(s))),{x:c.left+u.scrollLeft-p.x,y:c.top+u.scrollTop-p.y,width:c.width,height:c.height}}function be(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 we={placement:"bottom",modifiers:[],strategy:"absolute"};function xe(){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 Oe(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?we:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},we,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,p={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;l(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:T(e)?ae(e):e.contextElement?ae(e.contextElement):[],popper:ae(t)};var a,u,f=function(e){var t=be(e);return x.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=f.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:p,options:r}),a=function(){};c.push(i||a)}}),p.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(xe(t,n)){s.rects={reference:ge(t,U(n),"fixed"===s.options.strategy),popper:V(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,l=o.name;"function"==typeof i&&(s=i({state:s,options:c,name:l,instance:p})||s)}else s.reset=!1,r=-1}}},update:(o=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(o())})})),a}),destroy:function(){l(),u=!0}};if(!xe(e,t))return p;function l(){c.forEach(function(e){return e()}),c=[]}return p.setOptions(n).then(function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)}),p}}var Ee=Oe({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=E(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(e){e.addEventListener("scroll",n.update,J)}),s&&c.addEventListener("resize",n.update,J),function(){i&&u.forEach(function(e){e.removeEventListener("scroll",n.update,J)}),s&&c.removeEventListener("resize",n.update,J)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=pe({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,u={placement:L(t.placement),variation:X(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,Z(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,Z(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:{}},D,he,de,ye,G,{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=le(t,{elementContext:"reference"}),s=le(t,{altBoundary:!0}),c=ve(a,r),u=ve(s,o,i),p=me(c),l=me(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:l},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":l})}}]}),Te="tippy-content",je="tippy-arrow",Ae="tippy-svg-arrow",De={passive:!0,capture:!0},Le=function(){return document.body};function Ne(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function ke(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Ce(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Se(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function Ie(e){return[].concat(e)}function Pe(e,t){-1===e.indexOf(t)&&e.push(t)}function Ve(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 Me(){return document.createElement("div")}function We(e){return["Element","Fragment"].some(function(t){return ke(e,t)})}function He(e){return We(e)?[e]:function(e){return ke(e,"NodeList")}(e)?Ve(e):Array.isArray(e)?e:Ve(document.querySelectorAll(e))}function Re(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function Be(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function Ue(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[r](t,n)})}function qe(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 Fe={isTouch:!1},ze=0;function $e(){Fe.isTouch||(Fe.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ge))}function Ge(){var e=performance.now();e-ze<20&&(Fe.isTouch=!1,document.removeEventListener("mousemove",Ge)),ze=e}function Xe(){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 Ye,Ze=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;function Je(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 Ke(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function Qe(e){return Ke("\n %ctippy.js\n\n %c"+Ke(e)+"\n\n %c👷 This is a development-only message. It will be removed in production.\n ")}function et(e){return[Qe(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function tt(e,t){var n;e&&!Ye.has(t)&&(Ye.add(t),(n=console).warn.apply(n,et(t)))}function nt(e,t){var n;e&&!Ye.has(t)&&(Ye.add(t),(n=console).error.apply(n,et(t)))}"production"!==process.env.NODE_ENV&&(Ye=new Set);var rt={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},ot=Object.assign({appendTo:Le,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},rt,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),it=Object.keys(ot);function at(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=ot[o])?r:i);return t},{});return Object.assign({},e,t)}function st(e,t){var n=Object.assign({},t,{content:Ce(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(at(Object.assign({},ot,{plugins:t}))):it).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({},ot.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 ct(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}(ot,Object.keys(rt)),i=(n=o,r=e,!{}.hasOwnProperty.call(n,r));i&&(i=0===t.filter(function(t){return t.name===e}).length),tt(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 ut(e,t){e.innerHTML=t}function pt(e){var t=Me();return!0===e?t.className=je:(t.className=Ae,We(e)?t.appendChild(e):ut(t,e)),t}function lt(e,t){We(t.content)?(ut(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?ut(e,t.content):e.textContent=t.content)}function ft(e){var t=e.firstElementChild,n=Ve(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(Te)}),arrow:n.find(function(e){return e.classList.contains(je)||e.classList.contains(Ae)}),backdrop:n.find(function(e){return e.classList.contains("tippy-backdrop")})}}function dt(e){var t=Me(),n=Me();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Me();function o(n,r){var o=ft(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||lt(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(pt(r.arrow))):i.appendChild(pt(r.arrow)):s&&i.removeChild(s)}return r.className=Te,r.setAttribute("data-state","hidden"),lt(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}dt.$$tippy=!0;var vt=1,mt=[],ht=[];function yt(e,t){var n,r,o,i,a,s,c,u,p=st(e,Object.assign({},ot,at(_e(t)))),l=!1,f=!1,d=!1,v=!1,m=[],h=Se(G,p.interactiveDebounce),y=vt++,g=(u=p.plugins).filter(function(e,t){return u.indexOf(e)===t}),b={id:y,reference:e,popper:Me(),popperInstance:null,props:p,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&&tt(b.state.isDestroyed,Je("setProps"));if(b.state.isDestroyed)return;I("onBeforeUpdate",[b,t]),z();var n=b.props,r=st(e,Object.assign({},n,_e(t),{ignoreAttributes:!0}));b.props=r,F(),n.interactiveDebounce!==r.interactiveDebounce&&(_(),h=Se(G,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Ie(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded");V(),S(),O&&O(n,r);b.popperInstance&&(J(),Q().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}));I("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){"production"!==process.env.NODE_ENV&&tt(b.state.isDestroyed,Je("show"));var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Fe.isTouch&&!b.props.touch,o=Ne(b.props.duration,0,ot.duration);if(e||t||n||r)return;if(L().hasAttribute("disabled"))return;if(I("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,D()&&(x.style.visibility="visible");S(),R(),b.state.isMounted||(x.style.transition="none");if(D()){var i=k();Re([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,D()&&b.props.animation){var t=k(),n=t.box,r=t.content;Re([n,r],o),Be([n,r],"visible")}P(),V(),Pe(ht,b),null==(e=b.popperInstance)||e.forceUpdate(),I("onMount",[b]),b.props.animation&&D()&&function(e,t){U(e,t)}(o,function(){b.state.isShown=!0,I("onShown",[b])})}},function(){var e,t=b.props.appendTo,n=L();e=b.props.interactive&&t===Le||"parent"===t?n.parentNode:Ce(t,[n]);e.contains(x)||e.appendChild(x);b.state.isMounted=!0,J(),"production"!==process.env.NODE_ENV&&tt(b.props.interactive&&t===ot.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&&tt(b.state.isDestroyed,Je("hide"));var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Ne(b.props.duration,1,ot.duration);if(e||t||n)return;if(I("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,v=!1,l=!1,D()&&(x.style.visibility="hidden");if(_(),B(),S(!0),D()){var o=k(),i=o.box,a=o.content;b.props.animation&&(Re([i,a],r),Be([i,a],"hidden"))}P(),V(),b.props.animation?D()&&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&&tt(b.state.isDestroyed,Je("hideWithInteractivity"));N().addEventListener("mousemove",h),Pe(mt,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){"production"!==process.env.NODE_ENV&&tt(b.state.isDestroyed,Je("unmount"));b.state.isVisible&&b.hide();if(!b.state.isMounted)return;K(),Q().forEach(function(e){e._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x);ht=ht.filter(function(e){return e!==b}),b.state.isMounted=!1,I("onHidden",[b])},destroy:function(){"production"!==process.env.NODE_ENV&&tt(b.state.isDestroyed,Je("destroy"));if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),z(),delete e._tippy,b.state.isDestroyed=!0,I("onDestroy",[b])}};if(!p.render)return"production"!==process.env.NODE_ENV&&nt(!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 F(),V(),S(),I("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&&N().addEventListener("mousemove",h)}),b;function j(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function A(){return"hold"===j()[0]}function D(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function L(){return c||e}function N(){var e,t,n=L().parentNode;return n?null!=(t=Ie(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function k(){return ft(x)}function C(e){return b.state.isMounted&&!b.state.isVisible||Fe.isTouch||i&&"focus"===i.type?0:Ne(b.props.delay,e?0:1,ot.delay)}function S(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function I(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;Ie(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&&Ie(b.props.triggerTarget||e).forEach(function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===L()?"true":"false"):e.removeAttribute("aria-expanded")})}function _(){N().removeEventListener("mousemove",h),mt=mt.filter(function(e){return e!==h})}function M(t){if(!Fe.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!qe(x,n)){if(Ie(b.props.triggerTarget||e).some(function(e){return qe(e,n)})){if(Fe.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else I("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),f=!0,setTimeout(function(){f=!1}),b.state.isMounted||B())}}}function W(){d=!0}function H(){d=!1}function R(){var e=N();e.addEventListener("mousedown",M,!0),e.addEventListener("touchend",M,De),e.addEventListener("touchstart",H,De),e.addEventListener("touchmove",W,De)}function B(){var e=N();e.removeEventListener("mousedown",M,!0),e.removeEventListener("touchend",M,De),e.removeEventListener("touchstart",H,De),e.removeEventListener("touchmove",W,De)}function U(e,t){var n=k().box;function r(e){e.target===n&&(Ue(n,"remove",r),t())}if(0===e)return t();Ue(n,"remove",a),Ue(n,"add",r),a=r}function q(t,n,r){void 0===r&&(r=!1),Ie(b.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})})}function F(){var e;A()&&(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(Ze?"focusout":"blur",Y);break;case"focusin":q("focusout",Y)}})}function z(){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&&!Z(e)&&!f){var r="focus"===(null==(t=i)?void 0:t.type);i=e,c=e.currentTarget,V(),!b.state.isVisible&&ke(e,"MouseEvent")&&mt.forEach(function(t){return t(e)}),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||l)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(l=!n),n&&!r&&te(e)}}function G(e){var t=e.target,n=L().contains(t)||x.contains(t);if("mousemove"!==e.type||!n){var r=Q().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,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,u="top"===a?s.bottom.y:0,p="right"===a?s.left.x:0,l="left"===a?s.right.x:0,f=t.top-r+c>i,d=r-t.bottom-u>i,v=t.left-n+p>i,m=n-t.right-l>i;return f||d||v||m})})(r,e)&&(_(),te(e))}}function X(e){Z(e)||b.props.trigger.indexOf("click")>=0&&l||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function Y(e){b.props.trigger.indexOf("focusin")<0&&e.target!==L()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function Z(e){return!!Fe.isTouch&&A()!==e.type.indexOf("touch")>=0}function J(){K();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,c=D()?ft(x).arrow:null,u=i?{getBoundingClientRect:i,contextElement:i.contextElement||L()}:e,p={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(D()){var n=k().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={}}}},l=[{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}},p];D()&&c&&l.push({name:"arrow",options:{element:c,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),b.popperInstance=Ee(u,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:l}))}function K(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Q(){return Ve(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&I("onTrigger",[b,e]),R();var t=C(!0),r=j(),o=r[0],i=r[1];Fe.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout(function(){b.show()},t):b.show()}function te(e){if(b.clearDelayTimeouts(),I("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&&l)){var t=C(!1);t?r=setTimeout(function(){b.state.isVisible&&b.hide()},t):o=requestAnimationFrame(function(){b.hide()})}}else B()}}function gt(e,t){void 0===t&&(t={});var n=ot.plugins.concat(t.plugins||[]);"production"!==process.env.NODE_ENV&&(!function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;nt(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),nt(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),ct(t,n)),document.addEventListener("touchstart",$e,De),window.addEventListener("blur",Xe);var r=Object.assign({},t,{plugins:n}),o=He(e);if("production"!==process.env.NODE_ENV){var i=We(r.content),a=o.length>1;tt(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&&yt(t,r);return n&&e.push(n),e},[]);return We(e)?s[0]:s}gt.defaultProps=ot,gt.setDefaultProps=function(e){"production"!==process.env.NODE_ENV&&ct(e,[]),Object.keys(e).forEach(function(t){ot[t]=e[t]})},gt.currentInput=Fe,Object.assign({},D,{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)}}),gt.setDefaultProps({render:dt});var bt={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 wt(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 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 l=e.scrollHeight>s+1,f=e.firstChild,d=!1;if(f){var v=document.createRange();v.selectNodeContents(f);var m=v.getClientRects();if(m.length>0)d=m[m.length-1].bottom-e.getBoundingClientRect().top>s}return l||d}}var xt={mounted:function(e,t){var n=i(i({},bt),"object"===c(t.value)?t.value:{lines:t.value||1});e._originalText=e.textContent||e.innerText;var r=gt(e,i(i({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&&!wt(e,n))return!1;var r=e._originalText||"";t.setContent(r)},onCreate:function(e){n.maxWidth&&(e.popper.style.maxWidth=n.maxWidth)}}));e._tippy=r,Ot(e,n),function(e,t){e._resizeObserver=new ResizeObserver(function(){var n;null!==(n=e._tippy)&&void 0!==n&&n.state.isVisible&&t.onlyOverflow&&(wt(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=i(i({},bt),"object"===c(t.value)?t.value:{lines:t.value});e._originalText=e.textContent||e.innerText,Ot(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 Ot(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&&wt(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 Et,Tt=xt,jt={install:function(e,t){e.directive("overflow-tooltip",xt),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)}}})}};!function(e){e.BOTTOM="bottom",e.CONTENT="content",e.FULLSCREEN="fullScreen",e.MESSAGE="message",e.MODAL="modal",e.NAVI="navi",e.PLUGINS="plugins",e.POPPER="popper"}(Et||(Et={}));var At=r(r(r(r(r(r(r(r({},Et.BOTTOM,0),Et.CONTENT,1),Et.NAVI,100),Et.FULLSCREEN,1e3),Et.MODAL,2e3),Et.PLUGINS,5e3),Et.MESSAGE,6e3),Et.POPPER,8e3),Dt=new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.storageLayerIndexValue={},this.copyDefaultValue()},(t=[{key:"getNextIndex",value:function(e){if(Object.prototype.hasOwnProperty.call(this.storageLayerIndexValue,e))return this.storageLayerIndexValue[e]=this.storageLayerIndexValue[e]+1,this.storageLayerIndexValue[e];this.getNextIndex(Et.MODAL)}},{key:"getModalNextIndex",value:function(){return this.getNextIndex(Et.MODAL)}},{key:"getMessageNextIndex",value:function(){return this.getNextIndex(Et.MESSAGE)}},{key:"getFullScreenNextIndex",value:function(){return this.getNextIndex(Et.FULLSCREEN)}},{key:"getNaviNextIndex",value:function(){return this.getNextIndex(Et.NAVI)}},{key:"getPopperIndex",value:function(){return this.getNextIndex(Et.POPPER)}},{key:"setDefaultZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue.__proto__,n)&&Object.assign(t.storageLayerIndexValue.__proto__,r({},n,e[n]))}),this.copyDefaultValue()}},{key:"resetZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue,n)&&Object.assign(t.storageLayerIndexValue,r({},n,e[n]))})}},{key:"copyDefaultValue",value:function(){var e=Object.keys(At).reduce(function(e,t){return Object.assign(e,r({},t,{value:At[t],writable:!0,configurable:!0}))},{});this.storageLayerIndexValue=Object.create(At,e)}}])&&n(e.prototype,t),o&&n(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,o}());function Lt(e){return"".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"xn","-").concat(e)}var Nt=new WeakMap,kt={beforeMount:function(t,n){var r=Ct(n),o=r.trigger,i=r.showOnInit,a=function(e){var t=e.content,n=e.arrow,r=e.theme,o=e.extCls,i="light"===r,a=Dt.getPopperIndex(),s=document.createElement("div"),c=document.documentElement.style.getPropertyValue("--xn-prefix")||"xn";if(s.className="".concat(Lt("popper",c)," ").concat(i?"light":"dark"," ").concat(o),s.innerText=t,s.style.zIndex=String(a),St(t,s),n){var u=It();s.appendChild(u)}return s}(r),s=null;if(i&&e.nextTick(function(){Pt(t)}),"hover"===o){var c=null;t.addEventListener("mouseenter",function(){s=setTimeout(function(){Pt(t),c&&clearTimeout(c),s&&clearTimeout(s)},r.delay)}),a.addEventListener("mouseenter",function(){c&&clearTimeout(c)}),t.addEventListener("mouseleave",function(){s&&clearTimeout(s),c=setTimeout(function(){Vt(t)},100)}),a.addEventListener("mouseleave",function(){s&&clearTimeout(s),c=setTimeout(function(){Vt(t)},100)})}else"click"===o&&document.body.addEventListener("click",function(e){t.contains(e.target)&&!a.hasAttribute("data-show")?s=setTimeout(function(){Pt(t),s&&clearTimeout(s)},r.delay):!t.contains(e.target)&&a.hasAttribute("data-show")&&Vt(t)});Nt.set(t,{opts:r,popper:a,popperInstance:null})},updated:function(e,t){Nt.get(e)&&(Nt.get(e).opts=Ct(t))},unmounted:function(e){Vt(e),Nt.delete(e)}};function Ct(e){var t={arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,extCls:"",sameWidth:!1,delay:0,onShow:function(){},onHide:function(){}};return"object"===c(e.value)?Object.assign(t,e.value):t.content=e.value,t}function St(t,n){if("string"==typeof t)n.innerText=t;else{var r=document.createElement("div"),o=e.h(t);e.render(o,r),n.innerHTML=r.innerHTML}}function It(){var e=document.createElement("div"),t=document.documentElement.style.getPropertyValue("--xn-prefix")||"xn";return e.className=Lt("popper-arrow",t),e.setAttribute("data-popper-arrow",""),e}function Pt(e){if(Nt.get(e)){var t=Nt.get(e),n=t.popper,r=t.opts,o=r.disabled,s=r.content,c=r.arrow,u=r.onShow,p=r.boundary,l=r.modifiers,f=void 0===l?[]:l;if(!o){if(St(s,n),c){var d=It();n.appendChild(d)}var v=document.body;p&&("parent"===p&&e.parentElement?v=e.parentElement:p instanceof HTMLElement&&(v=p)),v.appendChild(n);var m=function(e,t){if(Nt.get(e)){var n=Nt.get(e).opts,r=n.placement,o=n.distance,i=n.sameWidth;return Ee(e,t,{placement:r,modifiers:[{name:"offset",options:{offset:[0,o]}},{name:"arrow",options:{padding:5}}].concat(a(i?[{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;t.styles.popper.width="".concat(t.rects.reference.width,"px")},effect:function(e){var t=e.state;t.elements.popper.style.overflowWrap="break-word",t.elements.popper.style.width="".concat(t.elements.reference.offsetWidth,"px")}}]:[]))})}}(e,n);u(),n.setAttribute("data-show",""),m&&(m.setOptions(function(e){return i(i({},e),{},{modifiers:[].concat(a(e.modifiers||[]),a(f),[{name:"eventListeners",enabled:!0}])})}),m.forceUpdate()),Nt.get(e).popperInstance=m}}}function Vt(e){if(Nt.get(e)){var t,n=Nt.get(e),r=n.popper,o=n.popperInstance,i=n.opts.onHide;if(r&&document.body.contains(r))r.removeAttribute("data-show"),null==o||o.destroy(),null==r||null===(t=r.parentNode)||void 0===t||t.removeChild(r),i()}}var _t=kt,Mt=_t,Wt={overflowTooltip:jt};function Ht(e){e.use(jt)}var Rt={install:Ht};exports.default=Rt,exports.directives=Wt,exports.installDirectives=Ht,exports.overflowTooltipDirective=Tt,exports.overflowTooltipPlugin=jt,exports.tooltipDirective=Mt,exports.vOverflowTooltip=xt,exports.vXnTooltips=_t;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("vue");function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,s(r.key),r)}}function r(e,t,n){return(t=s(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){r(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(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+""}function c(e){return c="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},c(e)}var u="top",p="bottom",l="right",f="left",d="auto",v=[u,p,l,f],m="start",h="end",y="viewport",g="popper",b=v.reduce(function(e,t){return e.concat([t+"-"+m,t+"-"+h])},[]),w=[].concat(v,[d]).reduce(function(e,t){return e.concat([t,t+"-"+m,t+"-"+h])},[]),x=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function O(e){return e?(e.nodeName||"").toLowerCase():null}function E(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function T(e){return e instanceof E(e).Element||e instanceof Element}function j(e){return e instanceof E(e).HTMLElement||e instanceof HTMLElement}function A(e){return"undefined"!=typeof ShadowRoot&&(e instanceof E(e).ShadowRoot||e instanceof ShadowRoot)}var D={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];j(o)&&O(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},{});j(r)&&O(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};function L(e){return e.split("-")[0]}var k=Math.max,N=Math.min,C=Math.round;function S(){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 I(){return!/^((?!chrome|android).)*safari/i.test(S())}function P(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&j(e)&&(o=e.offsetWidth>0&&C(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&C(r.height)/e.offsetHeight||1);var a=(T(e)?E(e):window).visualViewport,s=!I()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/o,u=(r.top+(s&&a?a.offsetTop:0))/i,p=r.width/o,l=r.height/i;return{width:p,height:l,top:u,right:c+p,bottom:u+l,left:c,x:c,y:u}}function _(e){var t=P(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 V(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&A(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function M(e){return E(e).getComputedStyle(e)}function W(e){return["table","td","th"].indexOf(O(e))>=0}function H(e){return((T(e)?e.ownerDocument:e.document)||window.document).documentElement}function R(e){return"html"===O(e)?e:e.assignedSlot||e.parentNode||(A(e)?e.host:null)||H(e)}function B(e){return j(e)&&"fixed"!==M(e).position?e.offsetParent:null}function U(e){for(var t=E(e),n=B(e);n&&W(n)&&"static"===M(n).position;)n=B(n);return n&&("html"===O(n)||"body"===O(n)&&"static"===M(n).position)?t:n||function(e){var t=/firefox/i.test(S());if(/Trident/i.test(S())&&j(e)&&"fixed"===M(e).position)return null;var n=R(e);for(A(n)&&(n=n.host);j(n)&&["html","body"].indexOf(O(n))<0;){var r=M(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 q(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function F(e,t,n){return k(e,N(t,n))}function z(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function $(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var G={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=L(n.placement),c=q(s),d=[f,l].indexOf(s)>=0?"height":"width";if(i&&a){var m=function(e,t){return z("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:$(e,v))}(o.padding,n),h=_(i),y="y"===c?u:f,g="y"===c?p:l,b=n.rects.reference[d]+n.rects.reference[c]-a[c]-n.rects.popper[d],w=a[c]-n.rects.reference[c],x=U(i),O=x?"y"===c?x.clientHeight||0:x.clientWidth||0:0,E=b/2-w/2,T=m[y],j=O-h[d]-m[g],A=O/2-h[d]/2+E,D=F(T,A,j),k=c;n.modifiersData[r]=((t={})[k]=D,t.centerOffset=D-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)))&&V(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function X(e){return e.split("-")[1]}var Y={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Z(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,d=e.adaptive,v=e.roundOffsets,m=e.isFixed,y=a.x,g=void 0===y?0:y,b=a.y,w=void 0===b?0:b,x="function"==typeof v?v({x:g,y:w}):{x:g,y:w};g=x.x,w=x.y;var O=a.hasOwnProperty("x"),T=a.hasOwnProperty("y"),j=f,A=u,D=window;if(d){var L=U(n),k="clientHeight",N="clientWidth";if(L===E(n)&&"static"!==M(L=H(n)).position&&"absolute"===s&&(k="scrollHeight",N="scrollWidth"),o===u||(o===f||o===l)&&i===h)A=p,w-=(m&&L===D&&D.visualViewport?D.visualViewport.height:L[k])-r.height,w*=c?1:-1;if(o===f||(o===u||o===p)&&i===h)j=l,g-=(m&&L===D&&D.visualViewport?D.visualViewport.width:L[N])-r.width,g*=c?1:-1}var S,I=Object.assign({position:s},d&&Y),P=!0===v?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:C(n*o)/o||0,y:C(r*o)/o||0}}({x:g,y:w},E(n)):{x:g,y:w};return g=P.x,w=P.y,c?Object.assign({},I,((S={})[A]=T?"0":"",S[j]=O?"0":"",S.transform=(D.devicePixelRatio||1)<=1?"translate("+g+"px, "+w+"px)":"translate3d("+g+"px, "+w+"px, 0)",S)):Object.assign({},I,((t={})[A]=T?w+"px":"",t[j]=O?g+"px":"",t.transform="",t))}var J={passive:!0};var K={left:"right",right:"left",bottom:"top",top:"bottom"};function Q(e){return e.replace(/left|right|bottom|top/g,function(e){return K[e]})}var ee={start:"end",end:"start"};function te(e){return e.replace(/start|end/g,function(e){return ee[e]})}function ne(e){var t=E(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function re(e){return P(H(e)).left+ne(e).scrollLeft}function oe(e){var t=M(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function ie(e){return["html","body","#document"].indexOf(O(e))>=0?e.ownerDocument.body:j(e)&&oe(e)?e:ie(R(e))}function ae(e,t){var n;void 0===t&&(t=[]);var r=ie(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=E(r),a=o?[i].concat(i.visualViewport||[],oe(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(ae(R(a)))}function se(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ce(e,t,n){return t===y?se(function(e,t){var n=E(e),r=H(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var u=I();(u||!u&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+re(e),y:c}}(e,n)):T(t)?function(e,t){var n=P(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):se(function(e){var t,n=H(e),r=ne(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=k(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=k(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+re(e),c=-r.scrollTop;return"rtl"===M(o||n).direction&&(s+=k(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(H(e)))}function ue(e,t,n,r){var o="clippingParents"===t?function(e){var t=ae(R(e)),n=["absolute","fixed"].indexOf(M(e).position)>=0&&j(e)?U(e):e;return T(n)?t.filter(function(e){return T(e)&&V(e,n)&&"body"!==O(e)}):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(t,n){var o=ce(e,n,r);return t.top=k(o.top,t.top),t.right=N(o.right,t.right),t.bottom=N(o.bottom,t.bottom),t.left=k(o.left,t.left),t},ce(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 pe(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?L(o):null,a=o?X(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case u:t={x:s,y:n.y-r.height};break;case p:t={x:s,y:n.y+n.height};break;case l:t={x:n.x+n.width,y:c};break;case f:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var d=i?q(i):null;if(null!=d){var v="y"===d?"height":"width";switch(a){case m:t[d]=t[d]-(n[v]/2-r[v]/2);break;case h:t[d]=t[d]+(n[v]/2-r[v]/2)}}return t}function le(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,c=void 0===s?"clippingParents":s,f=n.rootBoundary,d=void 0===f?y:f,m=n.elementContext,h=void 0===m?g:m,b=n.altBoundary,w=void 0!==b&&b,x=n.padding,O=void 0===x?0:x,E=z("number"!=typeof O?O:$(O,v)),j=h===g?"reference":g,A=e.rects.popper,D=e.elements[w?j:h],L=ue(T(D)?D:D.contextElement||H(e.elements.popper),c,d,a),k=P(e.elements.reference),N=pe({reference:k,element:A,strategy:"absolute",placement:o}),C=se(Object.assign({},A,N)),S=h===g?C:k,I={top:L.top-S.top+E.top,bottom:S.bottom-L.bottom+E.bottom,left:L.left-S.left+E.left,right:S.right-L.right+E.right},_=e.modifiersData.offset;if(h===g&&_){var V=_[o];Object.keys(I).forEach(function(e){var t=[l,p].indexOf(e)>=0?1:-1,n=[u,p].indexOf(e)>=0?"y":"x";I[e]+=V[n]*t})}return I}function fe(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?w:c,p=X(r),l=p?s?b:b.filter(function(e){return X(e)===p}):v,f=l.filter(function(e){return u.indexOf(e)>=0});0===f.length&&(f=l);var d=f.reduce(function(t,n){return t[n]=le(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[L(n)],t},{});return Object.keys(d).sort(function(e,t){return d[e]-d[t]})}var de={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 o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,v=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=L(O),T=c||(E===O||!w?[Q(O)]:function(e){if(L(e)===d)return[];var t=Q(e);return[te(e),t,te(t)]}(O)),j=[O].concat(T).reduce(function(e,n){return e.concat(L(n)===d?fe(t,{placement:n,boundary:h,rootBoundary:y,padding:v,flipVariations:w,allowedAutoPlacements:x}):n)},[]),A=t.rects.reference,D=t.rects.popper,k=new Map,N=!0,C=j[0],S=0;S<j.length;S++){var I=j[S],P=L(I),_=X(I)===m,V=[u,p].indexOf(P)>=0,M=V?"width":"height",W=le(t,{placement:I,boundary:h,rootBoundary:y,altBoundary:g,padding:v}),H=V?_?l:f:_?p:u;A[M]>D[M]&&(H=Q(H));var R=Q(H),B=[];if(i&&B.push(W[P]<=0),s&&B.push(W[H]<=0,W[R]<=0),B.every(function(e){return e})){C=I,N=!1;break}k.set(I,B)}if(N)for(var U=function(e){var t=j.find(function(t){var n=k.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},q=w?3:1;q>0;q--){if("break"===U(q))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ve(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 me(e){return[u,l,p,f].some(function(t){return e[t]>=0})}var he={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=w.reduce(function(e,n){return e[n]=function(e,t,n){var r=L(e),o=[f,u].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[f,l].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e},{}),s=a[t.placement],c=s.x,p=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=p),t.modifiersData[r]=a}};var ye={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,d=n.rootBoundary,v=n.altBoundary,h=n.padding,y=n.tether,g=void 0===y||y,b=n.tetherOffset,w=void 0===b?0:b,x=le(t,{boundary:c,rootBoundary:d,padding:h,altBoundary:v}),O=L(t.placement),E=X(t.placement),T=!E,j=q(O),A="x"===j?"y":"x",D=t.modifiersData.popperOffsets,C=t.rects.reference,S=t.rects.popper,I="function"==typeof w?w(Object.assign({},t.rects,{placement:t.placement})):w,P="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),V=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(D){if(i){var W,H="y"===j?u:f,R="y"===j?p:l,B="y"===j?"height":"width",z=D[j],$=z+x[H],G=z-x[R],Y=g?-S[B]/2:0,Z=E===m?C[B]:S[B],J=E===m?-S[B]:-C[B],K=t.elements.arrow,Q=g&&K?_(K):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[H],ne=ee[R],re=F(0,C[B],Q[B]),oe=T?C[B]/2-Y-re-te-P.mainAxis:Z-re-te-P.mainAxis,ie=T?-C[B]/2+Y+re+ne+P.mainAxis:J+re+ne+P.mainAxis,ae=t.elements.arrow&&U(t.elements.arrow),se=ae?"y"===j?ae.clientTop||0:ae.clientLeft||0:0,ce=null!=(W=null==V?void 0:V[j])?W:0,ue=z+ie-ce,pe=F(g?N($,z+oe-ce-se):$,z,g?k(G,ue):G);D[j]=pe,M[j]=pe-z}if(s){var fe,de="x"===j?u:f,ve="x"===j?p:l,me=D[A],he="y"===A?"height":"width",ye=me+x[de],ge=me-x[ve],be=-1!==[u,f].indexOf(O),we=null!=(fe=null==V?void 0:V[A])?fe:0,xe=be?ye:me-C[he]-S[he]-we+P.altAxis,Oe=be?me+C[he]+S[he]-we-P.altAxis:ge,Ee=g&&be?function(e,t,n){var r=F(e,t,n);return r>n?n:r}(xe,me,Oe):F(g?xe:ye,me,g?Oe:ge);D[A]=Ee,M[A]=Ee-me}t.modifiersData[r]=M}},requiresIfExists:["offset"]};function ge(e,t,n){void 0===n&&(n=!1);var r,o,i=j(t),a=j(t)&&function(e){var t=e.getBoundingClientRect(),n=C(t.width)/e.offsetWidth||1,r=C(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=H(t),c=P(e,a,n),u={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(i||!i&&!n)&&(("body"!==O(t)||oe(s))&&(u=(r=t)!==E(r)&&j(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:ne(r)),j(t)?((p=P(t,!0)).x+=t.clientLeft,p.y+=t.clientTop):s&&(p.x=re(s))),{x:c.left+u.scrollLeft-p.x,y:c.top+u.scrollTop-p.y,width:c.width,height:c.height}}function be(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 we={placement:"bottom",modifiers:[],strategy:"absolute"};function xe(){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 Oe(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?we:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},we,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,p={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;l(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:T(e)?ae(e):e.contextElement?ae(e.contextElement):[],popper:ae(t)};var a,u,f=function(e){var t=be(e);return x.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=f.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:p,options:r}),a=function(){};c.push(i||a)}}),p.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(xe(t,n)){s.rects={reference:ge(t,U(n),"fixed"===s.options.strategy),popper:_(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,l=o.name;"function"==typeof i&&(s=i({state:s,options:c,name:l,instance:p})||s)}else s.reset=!1,r=-1}}},update:(o=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(o())})})),a}),destroy:function(){l(),u=!0}};if(!xe(e,t))return p;function l(){c.forEach(function(e){return e()}),c=[]}return p.setOptions(n).then(function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)}),p}}var Ee=Oe({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=E(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(e){e.addEventListener("scroll",n.update,J)}),s&&c.addEventListener("resize",n.update,J),function(){i&&u.forEach(function(e){e.removeEventListener("scroll",n.update,J)}),s&&c.removeEventListener("resize",n.update,J)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=pe({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,u={placement:L(t.placement),variation:X(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,Z(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,Z(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:{}},D,he,de,ye,G,{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=le(t,{elementContext:"reference"}),s=le(t,{altBoundary:!0}),c=ve(a,r),u=ve(s,o,i),p=me(c),l=me(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:l},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":l})}}]}),Te="tippy-content",je="tippy-arrow",Ae="tippy-svg-arrow",De={passive:!0,capture:!0},Le=function(){return document.body};function ke(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Ne(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Ce(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Se(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function Ie(e){return[].concat(e)}function Pe(e,t){-1===e.indexOf(t)&&e.push(t)}function _e(e){return[].slice.call(e)}function Ve(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function Me(){return document.createElement("div")}function We(e){return["Element","Fragment"].some(function(t){return Ne(e,t)})}function He(e){return We(e)?[e]:function(e){return Ne(e,"NodeList")}(e)?_e(e):Array.isArray(e)?e:_e(document.querySelectorAll(e))}function Re(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function Be(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function Ue(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[r](t,n)})}function qe(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 Fe={isTouch:!1},ze=0;function $e(){Fe.isTouch||(Fe.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ge))}function Ge(){var e=performance.now();e-ze<20&&(Fe.isTouch=!1,document.removeEventListener("mousemove",Ge)),ze=e}function Xe(){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 Ye,Ze=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;function Je(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 Ke(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function Qe(e){return Ke("\n %ctippy.js\n\n %c"+Ke(e)+"\n\n %c👷 This is a development-only message. It will be removed in production.\n ")}function et(e){return[Qe(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function tt(e,t){var n;e&&!Ye.has(t)&&(Ye.add(t),(n=console).warn.apply(n,et(t)))}function nt(e,t){var n;e&&!Ye.has(t)&&(Ye.add(t),(n=console).error.apply(n,et(t)))}"production"!==process.env.NODE_ENV&&(Ye=new Set);var rt={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},ot=Object.assign({appendTo:Le,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},rt,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),it=Object.keys(ot);function at(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=ot[o])?r:i);return t},{});return Object.assign({},e,t)}function st(e,t){var n=Object.assign({},t,{content:Ce(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(at(Object.assign({},ot,{plugins:t}))):it).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({},ot.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 ct(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}(ot,Object.keys(rt)),i=(n=o,r=e,!{}.hasOwnProperty.call(n,r));i&&(i=0===t.filter(function(t){return t.name===e}).length),tt(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 ut(e,t){e.innerHTML=t}function pt(e){var t=Me();return!0===e?t.className=je:(t.className=Ae,We(e)?t.appendChild(e):ut(t,e)),t}function lt(e,t){We(t.content)?(ut(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?ut(e,t.content):e.textContent=t.content)}function ft(e){var t=e.firstElementChild,n=_e(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(Te)}),arrow:n.find(function(e){return e.classList.contains(je)||e.classList.contains(Ae)}),backdrop:n.find(function(e){return e.classList.contains("tippy-backdrop")})}}function dt(e){var t=Me(),n=Me();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Me();function o(n,r){var o=ft(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||lt(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(pt(r.arrow))):i.appendChild(pt(r.arrow)):s&&i.removeChild(s)}return r.className=Te,r.setAttribute("data-state","hidden"),lt(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}dt.$$tippy=!0;var vt=1,mt=[],ht=[];function yt(e,t){var n,r,o,i,a,s,c,u,p=st(e,Object.assign({},ot,at(Ve(t)))),l=!1,f=!1,d=!1,v=!1,m=[],h=Se(G,p.interactiveDebounce),y=vt++,g=(u=p.plugins).filter(function(e,t){return u.indexOf(e)===t}),b={id:y,reference:e,popper:Me(),popperInstance:null,props:p,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&&tt(b.state.isDestroyed,Je("setProps"));if(b.state.isDestroyed)return;I("onBeforeUpdate",[b,t]),z();var n=b.props,r=st(e,Object.assign({},n,Ve(t),{ignoreAttributes:!0}));b.props=r,F(),n.interactiveDebounce!==r.interactiveDebounce&&(V(),h=Se(G,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Ie(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded");_(),S(),O&&O(n,r);b.popperInstance&&(J(),Q().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}));I("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){"production"!==process.env.NODE_ENV&&tt(b.state.isDestroyed,Je("show"));var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Fe.isTouch&&!b.props.touch,o=ke(b.props.duration,0,ot.duration);if(e||t||n||r)return;if(L().hasAttribute("disabled"))return;if(I("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,D()&&(x.style.visibility="visible");S(),R(),b.state.isMounted||(x.style.transition="none");if(D()){var i=N();Re([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,D()&&b.props.animation){var t=N(),n=t.box,r=t.content;Re([n,r],o),Be([n,r],"visible")}P(),_(),Pe(ht,b),null==(e=b.popperInstance)||e.forceUpdate(),I("onMount",[b]),b.props.animation&&D()&&function(e,t){U(e,t)}(o,function(){b.state.isShown=!0,I("onShown",[b])})}},function(){var e,t=b.props.appendTo,n=L();e=b.props.interactive&&t===Le||"parent"===t?n.parentNode:Ce(t,[n]);e.contains(x)||e.appendChild(x);b.state.isMounted=!0,J(),"production"!==process.env.NODE_ENV&&tt(b.props.interactive&&t===ot.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&&tt(b.state.isDestroyed,Je("hide"));var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=ke(b.props.duration,1,ot.duration);if(e||t||n)return;if(I("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,v=!1,l=!1,D()&&(x.style.visibility="hidden");if(V(),B(),S(!0),D()){var o=N(),i=o.box,a=o.content;b.props.animation&&(Re([i,a],r),Be([i,a],"hidden"))}P(),_(),b.props.animation?D()&&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&&tt(b.state.isDestroyed,Je("hideWithInteractivity"));k().addEventListener("mousemove",h),Pe(mt,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){"production"!==process.env.NODE_ENV&&tt(b.state.isDestroyed,Je("unmount"));b.state.isVisible&&b.hide();if(!b.state.isMounted)return;K(),Q().forEach(function(e){e._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x);ht=ht.filter(function(e){return e!==b}),b.state.isMounted=!1,I("onHidden",[b])},destroy:function(){"production"!==process.env.NODE_ENV&&tt(b.state.isDestroyed,Je("destroy"));if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),z(),delete e._tippy,b.state.isDestroyed=!0,I("onDestroy",[b])}};if(!p.render)return"production"!==process.env.NODE_ENV&&nt(!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 F(),_(),S(),I("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 A(){return"hold"===j()[0]}function D(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function L(){return c||e}function k(){var e,t,n=L().parentNode;return n?null!=(t=Ie(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function N(){return ft(x)}function C(e){return b.state.isMounted&&!b.state.isVisible||Fe.isTouch||i&&"focus"===i.type?0:ke(b.props.delay,e?0:1,ot.delay)}function S(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function I(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;Ie(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 _(){!T&&b.props.aria.expanded&&Ie(b.props.triggerTarget||e).forEach(function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===L()?"true":"false"):e.removeAttribute("aria-expanded")})}function V(){k().removeEventListener("mousemove",h),mt=mt.filter(function(e){return e!==h})}function M(t){if(!Fe.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!qe(x,n)){if(Ie(b.props.triggerTarget||e).some(function(e){return qe(e,n)})){if(Fe.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else I("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),f=!0,setTimeout(function(){f=!1}),b.state.isMounted||B())}}}function W(){d=!0}function H(){d=!1}function R(){var e=k();e.addEventListener("mousedown",M,!0),e.addEventListener("touchend",M,De),e.addEventListener("touchstart",H,De),e.addEventListener("touchmove",W,De)}function B(){var e=k();e.removeEventListener("mousedown",M,!0),e.removeEventListener("touchend",M,De),e.removeEventListener("touchstart",H,De),e.removeEventListener("touchmove",W,De)}function U(e,t){var n=N().box;function r(e){e.target===n&&(Ue(n,"remove",r),t())}if(0===e)return t();Ue(n,"remove",a),Ue(n,"add",r),a=r}function q(t,n,r){void 0===r&&(r=!1),Ie(b.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})})}function F(){var e;A()&&(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(Ze?"focusout":"blur",Y);break;case"focusin":q("focusout",Y)}})}function z(){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&&!Z(e)&&!f){var r="focus"===(null==(t=i)?void 0:t.type);i=e,c=e.currentTarget,_(),!b.state.isVisible&&Ne(e,"MouseEvent")&&mt.forEach(function(t){return t(e)}),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||l)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(l=!n),n&&!r&&te(e)}}function G(e){var t=e.target,n=L().contains(t)||x.contains(t);if("mousemove"!==e.type||!n){var r=Q().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,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,u="top"===a?s.bottom.y:0,p="right"===a?s.left.x:0,l="left"===a?s.right.x:0,f=t.top-r+c>i,d=r-t.bottom-u>i,v=t.left-n+p>i,m=n-t.right-l>i;return f||d||v||m})})(r,e)&&(V(),te(e))}}function X(e){Z(e)||b.props.trigger.indexOf("click")>=0&&l||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function Y(e){b.props.trigger.indexOf("focusin")<0&&e.target!==L()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function Z(e){return!!Fe.isTouch&&A()!==e.type.indexOf("touch")>=0}function J(){K();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,c=D()?ft(x).arrow:null,u=i?{getBoundingClientRect:i,contextElement:i.contextElement||L()}:e,p={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(D()){var n=N().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={}}}},l=[{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}},p];D()&&c&&l.push({name:"arrow",options:{element:c,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),b.popperInstance=Ee(u,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:l}))}function K(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Q(){return _e(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&I("onTrigger",[b,e]),R();var t=C(!0),r=j(),o=r[0],i=r[1];Fe.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout(function(){b.show()},t):b.show()}function te(e){if(b.clearDelayTimeouts(),I("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&&l)){var t=C(!1);t?r=setTimeout(function(){b.state.isVisible&&b.hide()},t):o=requestAnimationFrame(function(){b.hide()})}}else B()}}function gt(e,t){void 0===t&&(t={});var n=ot.plugins.concat(t.plugins||[]);"production"!==process.env.NODE_ENV&&(!function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;nt(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),nt(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),ct(t,n)),document.addEventListener("touchstart",$e,De),window.addEventListener("blur",Xe);var r=Object.assign({},t,{plugins:n}),o=He(e);if("production"!==process.env.NODE_ENV){var i=We(r.content),a=o.length>1;tt(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&&yt(t,r);return n&&e.push(n),e},[]);return We(e)?s[0]:s}gt.defaultProps=ot,gt.setDefaultProps=function(e){"production"!==process.env.NODE_ENV&&ct(e,[]),Object.keys(e).forEach(function(t){ot[t]=e[t]})},gt.currentInput=Fe,Object.assign({},D,{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)}}),gt.setDefaultProps({render:dt});var bt={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 wt(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 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 l=e.scrollHeight>s+1,f=e.firstChild,d=!1;if(f){var v=document.createRange();v.selectNodeContents(f);var m=v.getClientRects();if(m.length>0)d=m[m.length-1].bottom-e.getBoundingClientRect().top>s}return l||d}}var xt={mounted:function(e,t){var n=i(i({},bt),"object"===c(t.value)?t.value:{lines:t.value||1});e._originalText=e.textContent||e.innerText;var r=gt(e,i(i({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&&!wt(e,n))return!1;var r=e._originalText||"";t.setContent(r)},onCreate:function(e){n.maxWidth&&(e.popper.style.maxWidth=n.maxWidth)}}));e._tippy=r,Ot(e,n),function(e,t){e._resizeObserver=new ResizeObserver(function(){var n;null!==(n=e._tippy)&&void 0!==n&&n.state.isVisible&&t.onlyOverflow&&(wt(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=i(i({},bt),"object"===c(t.value)?t.value:{lines:t.value});e._originalText=e.textContent||e.innerText,Ot(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 Ot(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.display="block",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&&wt(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 Et,Tt=xt,jt={install:function(e,t){e.directive("overflow-tooltip",xt),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)}}})}};!function(e){e.BOTTOM="bottom",e.CONTENT="content",e.FULLSCREEN="fullScreen",e.MESSAGE="message",e.MODAL="modal",e.NAVI="navi",e.PLUGINS="plugins",e.POPPER="popper"}(Et||(Et={}));var At=r(r(r(r(r(r(r(r({},Et.BOTTOM,0),Et.CONTENT,1),Et.NAVI,100),Et.FULLSCREEN,1e3),Et.MODAL,2e3),Et.PLUGINS,5e3),Et.MESSAGE,6e3),Et.POPPER,8e3),Dt=new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.storageLayerIndexValue={},this.copyDefaultValue()},(t=[{key:"getNextIndex",value:function(e){if(Object.prototype.hasOwnProperty.call(this.storageLayerIndexValue,e))return this.storageLayerIndexValue[e]=this.storageLayerIndexValue[e]+1,this.storageLayerIndexValue[e];this.getNextIndex(Et.MODAL)}},{key:"getModalNextIndex",value:function(){return this.getNextIndex(Et.MODAL)}},{key:"getMessageNextIndex",value:function(){return this.getNextIndex(Et.MESSAGE)}},{key:"getFullScreenNextIndex",value:function(){return this.getNextIndex(Et.FULLSCREEN)}},{key:"getNaviNextIndex",value:function(){return this.getNextIndex(Et.NAVI)}},{key:"getPopperIndex",value:function(){return this.getNextIndex(Et.POPPER)}},{key:"setDefaultZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue.__proto__,n)&&Object.assign(t.storageLayerIndexValue.__proto__,r({},n,e[n]))}),this.copyDefaultValue()}},{key:"resetZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue,n)&&Object.assign(t.storageLayerIndexValue,r({},n,e[n]))})}},{key:"copyDefaultValue",value:function(){var e=Object.keys(At).reduce(function(e,t){return Object.assign(e,r({},t,{value:At[t],writable:!0,configurable:!0}))},{});this.storageLayerIndexValue=Object.create(At,e)}}])&&n(e.prototype,t),o&&n(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,o}());function Lt(e){return"".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"xn","-").concat(e)}var kt=new WeakMap,Nt={beforeMount:function(t,n){var r=Ct(n),o=r.trigger,i=r.showOnInit,a=function(e){var t=e.content,n=e.arrow,r=e.theme,o=e.extCls,i="light"===r,a=Dt.getPopperIndex(),s=document.createElement("div"),c=document.documentElement.style.getPropertyValue("--xn-prefix")||"xn";if(s.className="".concat(Lt("popper",c)," ").concat(i?"light":"dark"," ").concat(o),s.innerText=t,s.style.zIndex=String(a),St(t,s),n){var u=It();s.appendChild(u)}return s}(r),s=null;if(i&&e.nextTick(function(){Pt(t)}),"hover"===o){var c=null;t.addEventListener("mouseenter",function(){s=setTimeout(function(){Pt(t),c&&clearTimeout(c),s&&clearTimeout(s)},r.delay)}),a.addEventListener("mouseenter",function(){c&&clearTimeout(c)}),t.addEventListener("mouseleave",function(){s&&clearTimeout(s),c=setTimeout(function(){_t(t)},100)}),a.addEventListener("mouseleave",function(){s&&clearTimeout(s),c=setTimeout(function(){_t(t)},100)})}else"click"===o&&document.body.addEventListener("click",function(e){t.contains(e.target)&&!a.hasAttribute("data-show")?s=setTimeout(function(){Pt(t),s&&clearTimeout(s)},r.delay):!t.contains(e.target)&&a.hasAttribute("data-show")&&_t(t)});kt.set(t,{opts:r,popper:a,popperInstance:null})},updated:function(e,t){kt.get(e)&&(kt.get(e).opts=Ct(t))},unmounted:function(e){_t(e),kt.delete(e)}};function Ct(e){var t={arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,extCls:"",sameWidth:!1,delay:0,onShow:function(){},onHide:function(){}};return"object"===c(e.value)?Object.assign(t,e.value):t.content=e.value,t}function St(t,n){if("string"==typeof t)n.innerText=t;else{var r=document.createElement("div"),o=e.h(t);e.render(o,r),n.innerHTML=r.innerHTML}}function It(){var e=document.createElement("div"),t=document.documentElement.style.getPropertyValue("--xn-prefix")||"xn";return e.className=Lt("popper-arrow",t),e.setAttribute("data-popper-arrow",""),e}function Pt(e){if(kt.get(e)){var t=kt.get(e),n=t.popper,r=t.opts,o=r.disabled,s=r.content,c=r.arrow,u=r.onShow,p=r.boundary,l=r.modifiers,f=void 0===l?[]:l;if(!o){if(St(s,n),c){var d=It();n.appendChild(d)}var v=document.body;p&&("parent"===p&&e.parentElement?v=e.parentElement:p instanceof HTMLElement&&(v=p)),v.appendChild(n);var m=function(e,t){if(kt.get(e)){var n=kt.get(e).opts,r=n.placement,o=n.distance,i=n.sameWidth;return Ee(e,t,{placement:r,modifiers:[{name:"offset",options:{offset:[0,o]}},{name:"arrow",options:{padding:5}}].concat(a(i?[{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;t.styles.popper.width="".concat(t.rects.reference.width,"px")},effect:function(e){var t=e.state;t.elements.popper.style.overflowWrap="break-word",t.elements.popper.style.width="".concat(t.elements.reference.offsetWidth,"px")}}]:[]))})}}(e,n);u(),n.setAttribute("data-show",""),m&&(m.setOptions(function(e){return i(i({},e),{},{modifiers:[].concat(a(e.modifiers||[]),a(f),[{name:"eventListeners",enabled:!0}])})}),m.forceUpdate()),kt.get(e).popperInstance=m}}}function _t(e){if(kt.get(e)){var t,n=kt.get(e),r=n.popper,o=n.popperInstance,i=n.opts.onHide;if(r&&document.body.contains(r))r.removeAttribute("data-show"),null==o||o.destroy(),null==r||null===(t=r.parentNode)||void 0===t||t.removeChild(r),i()}}var Vt=Nt,Mt=Vt,Wt={install:function(e,t){e.directive("tooltip",Vt),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)}}})}},Ht={overflowTooltip:jt};function Rt(e){e.use(jt)}var Bt={install:Rt};exports.TooltipsPlugin=Wt,exports.default=Bt,exports.directives=Ht,exports.installDirectives=Rt,exports.overflowTooltipDirective=Tt,exports.overflowTooltipPlugin=jt,exports.tooltipDirective=Mt,exports.vOverflowTooltip=xt,exports.vXnTooltips=Vt;
|
package/dist/index.iife.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,c(r.key),r)}}function o(e,t,n){return(t=c(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(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+""}function u(e){return u="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},u(e)}var p="top",l="bottom",f="right",d="left",v="auto",m=[p,l,f,d],h="start",y="end",g="viewport",b="popper",w=m.reduce(function(e,t){return e.concat([t+"-"+h,t+"-"+y])},[]),x=[].concat(m,[v]).reduce(function(e,t){return e.concat([t,t+"-"+h,t+"-"+y])},[]),O=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function E(e){return e?(e.nodeName||"").toLowerCase():null}function T(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function j(e){return e instanceof T(e).Element||e instanceof Element}function A(e){return e instanceof T(e).HTMLElement||e instanceof HTMLElement}function D(e){return"undefined"!=typeof ShadowRoot&&(e instanceof T(e).ShadowRoot||e instanceof ShadowRoot)}var L={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];A(o)&&E(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},{});A(r)&&E(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};function N(e){return e.split("-")[0]}var k=Math.max,C=Math.min,S=Math.round;function I(){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 P(){return!/^((?!chrome|android).)*safari/i.test(I())}function V(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&A(e)&&(o=e.offsetWidth>0&&S(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&S(r.height)/e.offsetHeight||1);var a=(j(e)?T(e):window).visualViewport,s=!P()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/o,u=(r.top+(s&&a?a.offsetTop:0))/i,p=r.width/o,l=r.height/i;return{width:p,height:l,top:u,right:c+p,bottom:u+l,left:c,x:c,y:u}}function _(e){var t=V(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 M(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&D(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function W(e){return T(e).getComputedStyle(e)}function H(e){return["table","td","th"].indexOf(E(e))>=0}function R(e){return((j(e)?e.ownerDocument:e.document)||window.document).documentElement}function B(e){return"html"===E(e)?e:e.assignedSlot||e.parentNode||(D(e)?e.host:null)||R(e)}function U(e){return A(e)&&"fixed"!==W(e).position?e.offsetParent:null}function q(e){for(var t=T(e),n=U(e);n&&H(n)&&"static"===W(n).position;)n=U(n);return n&&("html"===E(n)||"body"===E(n)&&"static"===W(n).position)?t:n||function(e){var t=/firefox/i.test(I());if(/Trident/i.test(I())&&A(e)&&"fixed"===W(e).position)return null;var n=B(e);for(D(n)&&(n=n.host);A(n)&&["html","body"].indexOf(E(n))<0;){var r=W(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 F(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function z(e,t,n){return k(e,C(t,n))}function $(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function G(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var X={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=N(n.placement),c=F(s),u=[d,f].indexOf(s)>=0?"height":"width";if(i&&a){var v=function(e,t){return $("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:G(e,m))}(o.padding,n),h=_(i),y="y"===c?p:d,g="y"===c?l:f,b=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],w=a[c]-n.rects.reference[c],x=q(i),O=x?"y"===c?x.clientHeight||0:x.clientWidth||0:0,E=b/2-w/2,T=v[y],j=O-h[u]-v[g],A=O/2-h[u]/2+E,D=z(T,A,j),L=c;n.modifiersData[r]=((t={})[L]=D,t.centerOffset=D-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)))&&M(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Y(e){return e.split("-")[1]}var Z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function J(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,u=e.adaptive,v=e.roundOffsets,m=e.isFixed,h=a.x,g=void 0===h?0:h,b=a.y,w=void 0===b?0:b,x="function"==typeof v?v({x:g,y:w}):{x:g,y:w};g=x.x,w=x.y;var O=a.hasOwnProperty("x"),E=a.hasOwnProperty("y"),j=d,A=p,D=window;if(u){var L=q(n),N="clientHeight",k="clientWidth";if(L===T(n)&&"static"!==W(L=R(n)).position&&"absolute"===s&&(N="scrollHeight",k="scrollWidth"),o===p||(o===d||o===f)&&i===y)A=l,w-=(m&&L===D&&D.visualViewport?D.visualViewport.height:L[N])-r.height,w*=c?1:-1;if(o===d||(o===p||o===l)&&i===y)j=f,g-=(m&&L===D&&D.visualViewport?D.visualViewport.width:L[k])-r.width,g*=c?1:-1}var C,I=Object.assign({position:s},u&&Z),P=!0===v?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:S(n*o)/o||0,y:S(r*o)/o||0}}({x:g,y:w},T(n)):{x:g,y:w};return g=P.x,w=P.y,c?Object.assign({},I,((C={})[A]=E?"0":"",C[j]=O?"0":"",C.transform=(D.devicePixelRatio||1)<=1?"translate("+g+"px, "+w+"px)":"translate3d("+g+"px, "+w+"px, 0)",C)):Object.assign({},I,((t={})[A]=E?w+"px":"",t[j]=O?g+"px":"",t.transform="",t))}var K={passive:!0};var Q={left:"right",right:"left",bottom:"top",top:"bottom"};function ee(e){return e.replace(/left|right|bottom|top/g,function(e){return Q[e]})}var te={start:"end",end:"start"};function ne(e){return e.replace(/start|end/g,function(e){return te[e]})}function re(e){var t=T(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function oe(e){return V(R(e)).left+re(e).scrollLeft}function ie(e){var t=W(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function ae(e){return["html","body","#document"].indexOf(E(e))>=0?e.ownerDocument.body:A(e)&&ie(e)?e:ae(B(e))}function se(e,t){var n;void 0===t&&(t=[]);var r=ae(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=T(r),a=o?[i].concat(i.visualViewport||[],ie(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(se(B(a)))}function ce(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ue(e,t,n){return t===g?ce(function(e,t){var n=T(e),r=R(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var u=P();(u||!u&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+oe(e),y:c}}(e,n)):j(t)?function(e,t){var n=V(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):ce(function(e){var t,n=R(e),r=re(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=k(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=k(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+oe(e),c=-r.scrollTop;return"rtl"===W(o||n).direction&&(s+=k(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(R(e)))}function pe(e,t,n,r){var o="clippingParents"===t?function(e){var t=se(B(e)),n=["absolute","fixed"].indexOf(W(e).position)>=0&&A(e)?q(e):e;return j(n)?t.filter(function(e){return j(e)&&M(e,n)&&"body"!==E(e)}):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(t,n){var o=ue(e,n,r);return t.top=k(o.top,t.top),t.right=C(o.right,t.right),t.bottom=C(o.bottom,t.bottom),t.left=k(o.left,t.left),t},ue(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 le(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?N(o):null,a=o?Y(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case p:t={x:s,y:n.y-r.height};break;case l:t={x:s,y:n.y+n.height};break;case f:t={x:n.x+n.width,y:c};break;case d:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=i?F(i):null;if(null!=u){var v="y"===u?"height":"width";switch(a){case h:t[u]=t[u]-(n[v]/2-r[v]/2);break;case y:t[u]=t[u]+(n[v]/2-r[v]/2)}}return t}function fe(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,c=void 0===s?"clippingParents":s,u=n.rootBoundary,d=void 0===u?g:u,v=n.elementContext,h=void 0===v?b:v,y=n.altBoundary,w=void 0!==y&&y,x=n.padding,O=void 0===x?0:x,E=$("number"!=typeof O?O:G(O,m)),T=h===b?"reference":b,A=e.rects.popper,D=e.elements[w?T:h],L=pe(j(D)?D:D.contextElement||R(e.elements.popper),c,d,a),N=V(e.elements.reference),k=le({reference:N,element:A,strategy:"absolute",placement:o}),C=ce(Object.assign({},A,k)),S=h===b?C:N,I={top:L.top-S.top+E.top,bottom:S.bottom-L.bottom+E.bottom,left:L.left-S.left+E.left,right:S.right-L.right+E.right},P=e.modifiersData.offset;if(h===b&&P){var _=P[o];Object.keys(I).forEach(function(e){var t=[f,l].indexOf(e)>=0?1:-1,n=[p,l].indexOf(e)>=0?"y":"x";I[e]+=_[n]*t})}return I}function de(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?x:c,p=Y(r),l=p?s?w:w.filter(function(e){return Y(e)===p}):m,f=l.filter(function(e){return u.indexOf(e)>=0});0===f.length&&(f=l);var d=f.reduce(function(t,n){return t[n]=fe(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[N(n)],t},{});return Object.keys(d).sort(function(e,t){return d[e]-d[t]})}var ve={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 o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,m=n.boundary,y=n.rootBoundary,g=n.altBoundary,b=n.flipVariations,w=void 0===b||b,x=n.allowedAutoPlacements,O=t.options.placement,E=N(O),T=c||(E===O||!w?[ee(O)]:function(e){if(N(e)===v)return[];var t=ee(e);return[ne(e),t,ne(t)]}(O)),j=[O].concat(T).reduce(function(e,n){return e.concat(N(n)===v?de(t,{placement:n,boundary:m,rootBoundary:y,padding:u,flipVariations:w,allowedAutoPlacements:x}):n)},[]),A=t.rects.reference,D=t.rects.popper,L=new Map,k=!0,C=j[0],S=0;S<j.length;S++){var I=j[S],P=N(I),V=Y(I)===h,_=[p,l].indexOf(P)>=0,M=_?"width":"height",W=fe(t,{placement:I,boundary:m,rootBoundary:y,altBoundary:g,padding:u}),H=_?V?f:d:V?l:p;A[M]>D[M]&&(H=ee(H));var R=ee(H),B=[];if(i&&B.push(W[P]<=0),s&&B.push(W[H]<=0,W[R]<=0),B.every(function(e){return e})){C=I,k=!1;break}L.set(I,B)}if(k)for(var U=function(e){var t=j.find(function(t){var n=L.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},q=w?3:1;q>0;q--){if("break"===U(q))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function me(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 he(e){return[p,f,l,d].some(function(t){return e[t]>=0})}var ye={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=x.reduce(function(e,n){return e[n]=function(e,t,n){var r=N(e),o=[d,p].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[d,f].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e},{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}};var ge={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,u=n.rootBoundary,v=n.altBoundary,m=n.padding,y=n.tether,g=void 0===y||y,b=n.tetherOffset,w=void 0===b?0:b,x=fe(t,{boundary:c,rootBoundary:u,padding:m,altBoundary:v}),O=N(t.placement),E=Y(t.placement),T=!E,j=F(O),A="x"===j?"y":"x",D=t.modifiersData.popperOffsets,L=t.rects.reference,S=t.rects.popper,I="function"==typeof w?w(Object.assign({},t.rects,{placement:t.placement})):w,P="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),V=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(D){if(i){var W,H="y"===j?p:d,R="y"===j?l:f,B="y"===j?"height":"width",U=D[j],$=U+x[H],G=U-x[R],X=g?-S[B]/2:0,Z=E===h?L[B]:S[B],J=E===h?-S[B]:-L[B],K=t.elements.arrow,Q=g&&K?_(K):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[H],ne=ee[R],re=z(0,L[B],Q[B]),oe=T?L[B]/2-X-re-te-P.mainAxis:Z-re-te-P.mainAxis,ie=T?-L[B]/2+X+re+ne+P.mainAxis:J+re+ne+P.mainAxis,ae=t.elements.arrow&&q(t.elements.arrow),se=ae?"y"===j?ae.clientTop||0:ae.clientLeft||0:0,ce=null!=(W=null==V?void 0:V[j])?W:0,ue=U+ie-ce,pe=z(g?C($,U+oe-ce-se):$,U,g?k(G,ue):G);D[j]=pe,M[j]=pe-U}if(s){var le,de="x"===j?p:d,ve="x"===j?l:f,me=D[A],he="y"===A?"height":"width",ye=me+x[de],ge=me-x[ve],be=-1!==[p,d].indexOf(O),we=null!=(le=null==V?void 0:V[A])?le:0,xe=be?ye:me-L[he]-S[he]-we+P.altAxis,Oe=be?me+L[he]+S[he]-we-P.altAxis:ge,Ee=g&&be?function(e,t,n){var r=z(e,t,n);return r>n?n:r}(xe,me,Oe):z(g?xe:ye,me,g?Oe:ge);D[A]=Ee,M[A]=Ee-me}t.modifiersData[r]=M}},requiresIfExists:["offset"]};function be(e,t,n){void 0===n&&(n=!1);var r,o,i=A(t),a=A(t)&&function(e){var t=e.getBoundingClientRect(),n=S(t.width)/e.offsetWidth||1,r=S(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=R(t),c=V(e,a,n),u={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(i||!i&&!n)&&(("body"!==E(t)||ie(s))&&(u=(r=t)!==T(r)&&A(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:re(r)),A(t)?((p=V(t,!0)).x+=t.clientLeft,p.y+=t.clientTop):s&&(p.x=oe(s))),{x:c.left+u.scrollLeft-p.x,y:c.top+u.scrollTop-p.y,width:c.width,height:c.height}}function we(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 xe={placement:"bottom",modifiers:[],strategy:"absolute"};function Oe(){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 Ee(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?xe:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},xe,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,p={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;l(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:j(e)?se(e):e.contextElement?se(e.contextElement):[],popper:se(t)};var a,u,f=function(e){var t=we(e);return O.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=f.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:p,options:r}),a=function(){};c.push(i||a)}}),p.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(Oe(t,n)){s.rects={reference:be(t,q(n),"fixed"===s.options.strategy),popper:_(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,l=o.name;"function"==typeof i&&(s=i({state:s,options:c,name:l,instance:p})||s)}else s.reset=!1,r=-1}}},update:(o=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(o())})})),a}),destroy:function(){l(),u=!0}};if(!Oe(e,t))return p;function l(){c.forEach(function(e){return e()}),c=[]}return p.setOptions(n).then(function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)}),p}}var Te=Ee({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=T(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(e){e.addEventListener("scroll",n.update,K)}),s&&c.addEventListener("resize",n.update,K),function(){i&&u.forEach(function(e){e.removeEventListener("scroll",n.update,K)}),s&&c.removeEventListener("resize",n.update,K)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=le({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,u={placement:N(t.placement),variation:Y(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,J(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,J(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:{}},L,ye,ve,ge,X,{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=fe(t,{elementContext:"reference"}),s=fe(t,{altBoundary:!0}),c=me(a,r),u=me(s,o,i),p=he(c),l=he(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:l},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":l})}}]}),je="tippy-content",Ae="tippy-arrow",De="tippy-svg-arrow",Le={passive:!0,capture:!0},Ne=function(){return document.body};function ke(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Ce(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Se(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Ie(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function Pe(e){return[].concat(e)}function Ve(e,t){-1===e.indexOf(t)&&e.push(t)}function _e(e){return[].slice.call(e)}function Me(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function We(){return document.createElement("div")}function He(e){return["Element","Fragment"].some(function(t){return Ce(e,t)})}function Re(e){return He(e)?[e]:function(e){return Ce(e,"NodeList")}(e)?_e(e):Array.isArray(e)?e:_e(document.querySelectorAll(e))}function Be(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function Ue(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function qe(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[r](t,n)})}function Fe(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 ze={isTouch:!1},$e=0;function Ge(){ze.isTouch||(ze.isTouch=!0,window.performance&&document.addEventListener("mousemove",Xe))}function Xe(){var e=performance.now();e-$e<20&&(ze.isTouch=!1,document.removeEventListener("mousemove",Xe)),$e=e}function Ye(){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,Je=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;function Ke(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 Qe(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function et(e){return Qe("\n %ctippy.js\n\n %c"+Qe(e)+"\n\n %c👷 This is a development-only message. It will be removed in production.\n ")}function tt(e){return[et(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function nt(e,t){var n;e&&!Ze.has(t)&&(Ze.add(t),(n=console).warn.apply(n,tt(t)))}function rt(e,t){var n;e&&!Ze.has(t)&&(Ze.add(t),(n=console).error.apply(n,tt(t)))}"production"!==process.env.NODE_ENV&&(Ze=new Set);var ot={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},it=Object.assign({appendTo:Ne,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},ot,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),at=Object.keys(it);function st(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=it[o])?r:i);return t},{});return Object.assign({},e,t)}function ct(e,t){var n=Object.assign({},t,{content:Se(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(st(Object.assign({},it,{plugins:t}))):at).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({},it.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 ut(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}(it,Object.keys(ot)),i=(n=o,r=e,!{}.hasOwnProperty.call(n,r));i&&(i=0===t.filter(function(t){return t.name===e}).length),nt(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 pt(e,t){e.innerHTML=t}function lt(e){var t=We();return!0===e?t.className=Ae:(t.className=De,He(e)?t.appendChild(e):pt(t,e)),t}function ft(e,t){He(t.content)?(pt(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?pt(e,t.content):e.textContent=t.content)}function dt(e){var t=e.firstElementChild,n=_e(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(je)}),arrow:n.find(function(e){return e.classList.contains(Ae)||e.classList.contains(De)}),backdrop:n.find(function(e){return e.classList.contains("tippy-backdrop")})}}function vt(e){var t=We(),n=We();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=We();function o(n,r){var o=dt(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||ft(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(lt(r.arrow))):i.appendChild(lt(r.arrow)):s&&i.removeChild(s)}return r.className=je,r.setAttribute("data-state","hidden"),ft(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}vt.$$tippy=!0;var mt=1,ht=[],yt=[];function gt(e,t){var n,r,o,i,a,s,c,u,p=ct(e,Object.assign({},it,st(Me(t)))),l=!1,f=!1,d=!1,v=!1,m=[],h=Ie(G,p.interactiveDebounce),y=mt++,g=(u=p.plugins).filter(function(e,t){return u.indexOf(e)===t}),b={id:y,reference:e,popper:We(),popperInstance:null,props:p,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&&nt(b.state.isDestroyed,Ke("setProps"));if(b.state.isDestroyed)return;I("onBeforeUpdate",[b,t]),z();var n=b.props,r=ct(e,Object.assign({},n,Me(t),{ignoreAttributes:!0}));b.props=r,F(),n.interactiveDebounce!==r.interactiveDebounce&&(_(),h=Ie(G,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Pe(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded");V(),S(),O&&O(n,r);b.popperInstance&&(J(),Q().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}));I("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){"production"!==process.env.NODE_ENV&&nt(b.state.isDestroyed,Ke("show"));var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=ze.isTouch&&!b.props.touch,o=ke(b.props.duration,0,it.duration);if(e||t||n||r)return;if(L().hasAttribute("disabled"))return;if(I("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,D()&&(x.style.visibility="visible");S(),R(),b.state.isMounted||(x.style.transition="none");if(D()){var i=k();Be([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,D()&&b.props.animation){var t=k(),n=t.box,r=t.content;Be([n,r],o),Ue([n,r],"visible")}P(),V(),Ve(yt,b),null==(e=b.popperInstance)||e.forceUpdate(),I("onMount",[b]),b.props.animation&&D()&&function(e,t){U(e,t)}(o,function(){b.state.isShown=!0,I("onShown",[b])})}},function(){var e,t=b.props.appendTo,n=L();e=b.props.interactive&&t===Ne||"parent"===t?n.parentNode:Se(t,[n]);e.contains(x)||e.appendChild(x);b.state.isMounted=!0,J(),"production"!==process.env.NODE_ENV&&nt(b.props.interactive&&t===it.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&&nt(b.state.isDestroyed,Ke("hide"));var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=ke(b.props.duration,1,it.duration);if(e||t||n)return;if(I("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,v=!1,l=!1,D()&&(x.style.visibility="hidden");if(_(),B(),S(!0),D()){var o=k(),i=o.box,a=o.content;b.props.animation&&(Be([i,a],r),Ue([i,a],"hidden"))}P(),V(),b.props.animation?D()&&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&&nt(b.state.isDestroyed,Ke("hideWithInteractivity"));N().addEventListener("mousemove",h),Ve(ht,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){"production"!==process.env.NODE_ENV&&nt(b.state.isDestroyed,Ke("unmount"));b.state.isVisible&&b.hide();if(!b.state.isMounted)return;K(),Q().forEach(function(e){e._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x);yt=yt.filter(function(e){return e!==b}),b.state.isMounted=!1,I("onHidden",[b])},destroy:function(){"production"!==process.env.NODE_ENV&&nt(b.state.isDestroyed,Ke("destroy"));if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),z(),delete e._tippy,b.state.isDestroyed=!0,I("onDestroy",[b])}};if(!p.render)return"production"!==process.env.NODE_ENV&&rt(!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 F(),V(),S(),I("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&&N().addEventListener("mousemove",h)}),b;function j(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function A(){return"hold"===j()[0]}function D(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function L(){return c||e}function N(){var e,t,n=L().parentNode;return n?null!=(t=Pe(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function k(){return dt(x)}function C(e){return b.state.isMounted&&!b.state.isVisible||ze.isTouch||i&&"focus"===i.type?0:ke(b.props.delay,e?0:1,it.delay)}function S(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function I(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;Pe(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&&Pe(b.props.triggerTarget||e).forEach(function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===L()?"true":"false"):e.removeAttribute("aria-expanded")})}function _(){N().removeEventListener("mousemove",h),ht=ht.filter(function(e){return e!==h})}function M(t){if(!ze.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Fe(x,n)){if(Pe(b.props.triggerTarget||e).some(function(e){return Fe(e,n)})){if(ze.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else I("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),f=!0,setTimeout(function(){f=!1}),b.state.isMounted||B())}}}function W(){d=!0}function H(){d=!1}function R(){var e=N();e.addEventListener("mousedown",M,!0),e.addEventListener("touchend",M,Le),e.addEventListener("touchstart",H,Le),e.addEventListener("touchmove",W,Le)}function B(){var e=N();e.removeEventListener("mousedown",M,!0),e.removeEventListener("touchend",M,Le),e.removeEventListener("touchstart",H,Le),e.removeEventListener("touchmove",W,Le)}function U(e,t){var n=k().box;function r(e){e.target===n&&(qe(n,"remove",r),t())}if(0===e)return t();qe(n,"remove",a),qe(n,"add",r),a=r}function q(t,n,r){void 0===r&&(r=!1),Pe(b.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})})}function F(){var e;A()&&(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(Je?"focusout":"blur",Y);break;case"focusin":q("focusout",Y)}})}function z(){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&&!Z(e)&&!f){var r="focus"===(null==(t=i)?void 0:t.type);i=e,c=e.currentTarget,V(),!b.state.isVisible&&Ce(e,"MouseEvent")&&ht.forEach(function(t){return t(e)}),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||l)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(l=!n),n&&!r&&te(e)}}function G(e){var t=e.target,n=L().contains(t)||x.contains(t);if("mousemove"!==e.type||!n){var r=Q().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,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,u="top"===a?s.bottom.y:0,p="right"===a?s.left.x:0,l="left"===a?s.right.x:0,f=t.top-r+c>i,d=r-t.bottom-u>i,v=t.left-n+p>i,m=n-t.right-l>i;return f||d||v||m})})(r,e)&&(_(),te(e))}}function X(e){Z(e)||b.props.trigger.indexOf("click")>=0&&l||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function Y(e){b.props.trigger.indexOf("focusin")<0&&e.target!==L()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function Z(e){return!!ze.isTouch&&A()!==e.type.indexOf("touch")>=0}function J(){K();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,c=D()?dt(x).arrow:null,u=i?{getBoundingClientRect:i,contextElement:i.contextElement||L()}:e,p={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(D()){var n=k().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={}}}},l=[{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}},p];D()&&c&&l.push({name:"arrow",options:{element:c,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),b.popperInstance=Te(u,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:l}))}function K(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Q(){return _e(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&I("onTrigger",[b,e]),R();var t=C(!0),r=j(),o=r[0],i=r[1];ze.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout(function(){b.show()},t):b.show()}function te(e){if(b.clearDelayTimeouts(),I("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&&l)){var t=C(!1);t?r=setTimeout(function(){b.state.isVisible&&b.hide()},t):o=requestAnimationFrame(function(){b.hide()})}}else B()}}function bt(e,t){void 0===t&&(t={});var n=it.plugins.concat(t.plugins||[]);"production"!==process.env.NODE_ENV&&(!function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;rt(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),rt(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),ut(t,n)),document.addEventListener("touchstart",Ge,Le),window.addEventListener("blur",Ye);var r=Object.assign({},t,{plugins:n}),o=Re(e);if("production"!==process.env.NODE_ENV){var i=He(r.content),a=o.length>1;nt(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&>(t,r);return n&&e.push(n),e},[]);return He(e)?s[0]:s}bt.defaultProps=it,bt.setDefaultProps=function(e){"production"!==process.env.NODE_ENV&&ut(e,[]),Object.keys(e).forEach(function(t){it[t]=e[t]})},bt.currentInput=ze,Object.assign({},L,{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)}}),bt.setDefaultProps({render:vt});var wt={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 xt(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 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 l=e.scrollHeight>s+1,f=e.firstChild,d=!1;if(f){var v=document.createRange();v.selectNodeContents(f);var m=v.getClientRects();if(m.length>0)d=m[m.length-1].bottom-e.getBoundingClientRect().top>s}return l||d}}var Ot={mounted:function(e,t){var n=a(a({},wt),"object"===u(t.value)?t.value:{lines:t.value||1});e._originalText=e.textContent||e.innerText;var r=bt(e,a(a({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&&!xt(e,n))return!1;var r=e._originalText||"";t.setContent(r)},onCreate:function(e){n.maxWidth&&(e.popper.style.maxWidth=n.maxWidth)}}));e._tippy=r,Et(e,n),function(e,t){e._resizeObserver=new ResizeObserver(function(){var n;null!==(n=e._tippy)&&void 0!==n&&n.state.isVisible&&t.onlyOverflow&&(xt(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=a(a({},wt),"object"===u(t.value)?t.value:{lines:t.value});e._originalText=e.textContent||e.innerText,Et(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 Et(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&&xt(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 Tt,jt=Ot,At={install:function(e,t){e.directive("overflow-tooltip",Ot),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)}}})}};!function(e){e.BOTTOM="bottom",e.CONTENT="content",e.FULLSCREEN="fullScreen",e.MESSAGE="message",e.MODAL="modal",e.NAVI="navi",e.PLUGINS="plugins",e.POPPER="popper"}(Tt||(Tt={}));var Dt=o(o(o(o(o(o(o(o({},Tt.BOTTOM,0),Tt.CONTENT,1),Tt.NAVI,100),Tt.FULLSCREEN,1e3),Tt.MODAL,2e3),Tt.PLUGINS,5e3),Tt.MESSAGE,6e3),Tt.POPPER,8e3),Lt=new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.storageLayerIndexValue={},this.copyDefaultValue()},(t=[{key:"getNextIndex",value:function(e){if(Object.prototype.hasOwnProperty.call(this.storageLayerIndexValue,e))return this.storageLayerIndexValue[e]=this.storageLayerIndexValue[e]+1,this.storageLayerIndexValue[e];this.getNextIndex(Tt.MODAL)}},{key:"getModalNextIndex",value:function(){return this.getNextIndex(Tt.MODAL)}},{key:"getMessageNextIndex",value:function(){return this.getNextIndex(Tt.MESSAGE)}},{key:"getFullScreenNextIndex",value:function(){return this.getNextIndex(Tt.FULLSCREEN)}},{key:"getNaviNextIndex",value:function(){return this.getNextIndex(Tt.NAVI)}},{key:"getPopperIndex",value:function(){return this.getNextIndex(Tt.POPPER)}},{key:"setDefaultZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue.__proto__,n)&&Object.assign(t.storageLayerIndexValue.__proto__,o({},n,e[n]))}),this.copyDefaultValue()}},{key:"resetZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue,n)&&Object.assign(t.storageLayerIndexValue,o({},n,e[n]))})}},{key:"copyDefaultValue",value:function(){var e=Object.keys(Dt).reduce(function(e,t){return Object.assign(e,o({},t,{value:Dt[t],writable:!0,configurable:!0}))},{});this.storageLayerIndexValue=Object.create(Dt,e)}}])&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}());function Nt(e){return"".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"xn","-").concat(e)}var kt=new WeakMap,Ct={beforeMount:function(e,n){var r=St(n),o=r.trigger,i=r.showOnInit,a=function(e){var t=e.content,n=e.arrow,r=e.theme,o=e.extCls,i="light"===r,a=Lt.getPopperIndex(),s=document.createElement("div"),c=document.documentElement.style.getPropertyValue("--xn-prefix")||"xn";if(s.className="".concat(Nt("popper",c)," ").concat(i?"light":"dark"," ").concat(o),s.innerText=t,s.style.zIndex=String(a),It(t,s),n){var u=Pt();s.appendChild(u)}return s}(r),s=null;if(i&&t.nextTick(function(){Vt(e)}),"hover"===o){var c=null;e.addEventListener("mouseenter",function(){s=setTimeout(function(){Vt(e),c&&clearTimeout(c),s&&clearTimeout(s)},r.delay)}),a.addEventListener("mouseenter",function(){c&&clearTimeout(c)}),e.addEventListener("mouseleave",function(){s&&clearTimeout(s),c=setTimeout(function(){_t(e)},100)}),a.addEventListener("mouseleave",function(){s&&clearTimeout(s),c=setTimeout(function(){_t(e)},100)})}else"click"===o&&document.body.addEventListener("click",function(t){e.contains(t.target)&&!a.hasAttribute("data-show")?s=setTimeout(function(){Vt(e),s&&clearTimeout(s)},r.delay):!e.contains(t.target)&&a.hasAttribute("data-show")&&_t(e)});kt.set(e,{opts:r,popper:a,popperInstance:null})},updated:function(e,t){kt.get(e)&&(kt.get(e).opts=St(t))},unmounted:function(e){_t(e),kt.delete(e)}};function St(e){var t={arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,extCls:"",sameWidth:!1,delay:0,onShow:function(){},onHide:function(){}};return"object"===u(e.value)?Object.assign(t,e.value):t.content=e.value,t}function It(e,n){if("string"==typeof e)n.innerText=e;else{var r=document.createElement("div"),o=t.h(e);t.render(o,r),n.innerHTML=r.innerHTML}}function Pt(){var e=document.createElement("div"),t=document.documentElement.style.getPropertyValue("--xn-prefix")||"xn";return e.className=Nt("popper-arrow",t),e.setAttribute("data-popper-arrow",""),e}function Vt(e){if(kt.get(e)){var t=kt.get(e),n=t.popper,r=t.opts,o=r.disabled,i=r.content,c=r.arrow,u=r.onShow,p=r.boundary,l=r.modifiers,f=void 0===l?[]:l;if(!o){if(It(i,n),c){var d=Pt();n.appendChild(d)}var v=document.body;p&&("parent"===p&&e.parentElement?v=e.parentElement:p instanceof HTMLElement&&(v=p)),v.appendChild(n);var m=function(e,t){if(kt.get(e)){var n=kt.get(e).opts,r=n.placement,o=n.distance,i=n.sameWidth;return Te(e,t,{placement:r,modifiers:[{name:"offset",options:{offset:[0,o]}},{name:"arrow",options:{padding:5}}].concat(s(i?[{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;t.styles.popper.width="".concat(t.rects.reference.width,"px")},effect:function(e){var t=e.state;t.elements.popper.style.overflowWrap="break-word",t.elements.popper.style.width="".concat(t.elements.reference.offsetWidth,"px")}}]:[]))})}}(e,n);u(),n.setAttribute("data-show",""),m&&(m.setOptions(function(e){return a(a({},e),{},{modifiers:[].concat(s(e.modifiers||[]),s(f),[{name:"eventListeners",enabled:!0}])})}),m.forceUpdate()),kt.get(e).popperInstance=m}}}function _t(e){if(kt.get(e)){var t,n=kt.get(e),r=n.popper,o=n.popperInstance,i=n.opts.onHide;if(r&&document.body.contains(r))r.removeAttribute("data-show"),null==o||o.destroy(),null==r||null===(t=r.parentNode)||void 0===t||t.removeChild(r),i()}}var Mt=Ct,Wt=Mt,Ht={overflowTooltip:At};function Rt(e){e.use(At)}var Bt={install:Rt};e.default=Bt,e.directives=Ht,e.installDirectives=Rt,e.overflowTooltipDirective=jt,e.overflowTooltipPlugin=At,e.tooltipDirective=Wt,e.vOverflowTooltip=Ot,e.vXnTooltips=Mt,Object.defineProperty(e,"__esModule",{value:!0})}(this["@xn-lib/directives"]=this["@xn-lib/directives"]||{},Vue);
|
|
1
|
+
!function(e,t){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,c(r.key),r)}}function o(e,t,n){return(t=c(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(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+""}function u(e){return u="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},u(e)}var p="top",l="bottom",f="right",d="left",v="auto",m=[p,l,f,d],h="start",y="end",g="viewport",b="popper",w=m.reduce(function(e,t){return e.concat([t+"-"+h,t+"-"+y])},[]),x=[].concat(m,[v]).reduce(function(e,t){return e.concat([t,t+"-"+h,t+"-"+y])},[]),O=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function E(e){return e?(e.nodeName||"").toLowerCase():null}function T(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function j(e){return e instanceof T(e).Element||e instanceof Element}function A(e){return e instanceof T(e).HTMLElement||e instanceof HTMLElement}function D(e){return"undefined"!=typeof ShadowRoot&&(e instanceof T(e).ShadowRoot||e instanceof ShadowRoot)}var L={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];A(o)&&E(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},{});A(r)&&E(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};function k(e){return e.split("-")[0]}var N=Math.max,C=Math.min,S=Math.round;function I(){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 P(){return!/^((?!chrome|android).)*safari/i.test(I())}function V(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&A(e)&&(o=e.offsetWidth>0&&S(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&S(r.height)/e.offsetHeight||1);var a=(j(e)?T(e):window).visualViewport,s=!P()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/o,u=(r.top+(s&&a?a.offsetTop:0))/i,p=r.width/o,l=r.height/i;return{width:p,height:l,top:u,right:c+p,bottom:u+l,left:c,x:c,y:u}}function _(e){var t=V(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 M(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&D(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function W(e){return T(e).getComputedStyle(e)}function H(e){return["table","td","th"].indexOf(E(e))>=0}function R(e){return((j(e)?e.ownerDocument:e.document)||window.document).documentElement}function B(e){return"html"===E(e)?e:e.assignedSlot||e.parentNode||(D(e)?e.host:null)||R(e)}function U(e){return A(e)&&"fixed"!==W(e).position?e.offsetParent:null}function q(e){for(var t=T(e),n=U(e);n&&H(n)&&"static"===W(n).position;)n=U(n);return n&&("html"===E(n)||"body"===E(n)&&"static"===W(n).position)?t:n||function(e){var t=/firefox/i.test(I());if(/Trident/i.test(I())&&A(e)&&"fixed"===W(e).position)return null;var n=B(e);for(D(n)&&(n=n.host);A(n)&&["html","body"].indexOf(E(n))<0;){var r=W(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 F(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function z(e,t,n){return N(e,C(t,n))}function $(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function G(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var X={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=k(n.placement),c=F(s),u=[d,f].indexOf(s)>=0?"height":"width";if(i&&a){var v=function(e,t){return $("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:G(e,m))}(o.padding,n),h=_(i),y="y"===c?p:d,g="y"===c?l:f,b=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],w=a[c]-n.rects.reference[c],x=q(i),O=x?"y"===c?x.clientHeight||0:x.clientWidth||0:0,E=b/2-w/2,T=v[y],j=O-h[u]-v[g],A=O/2-h[u]/2+E,D=z(T,A,j),L=c;n.modifiersData[r]=((t={})[L]=D,t.centerOffset=D-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)))&&M(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Y(e){return e.split("-")[1]}var Z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function J(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,u=e.adaptive,v=e.roundOffsets,m=e.isFixed,h=a.x,g=void 0===h?0:h,b=a.y,w=void 0===b?0:b,x="function"==typeof v?v({x:g,y:w}):{x:g,y:w};g=x.x,w=x.y;var O=a.hasOwnProperty("x"),E=a.hasOwnProperty("y"),j=d,A=p,D=window;if(u){var L=q(n),k="clientHeight",N="clientWidth";if(L===T(n)&&"static"!==W(L=R(n)).position&&"absolute"===s&&(k="scrollHeight",N="scrollWidth"),o===p||(o===d||o===f)&&i===y)A=l,w-=(m&&L===D&&D.visualViewport?D.visualViewport.height:L[k])-r.height,w*=c?1:-1;if(o===d||(o===p||o===l)&&i===y)j=f,g-=(m&&L===D&&D.visualViewport?D.visualViewport.width:L[N])-r.width,g*=c?1:-1}var C,I=Object.assign({position:s},u&&Z),P=!0===v?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:S(n*o)/o||0,y:S(r*o)/o||0}}({x:g,y:w},T(n)):{x:g,y:w};return g=P.x,w=P.y,c?Object.assign({},I,((C={})[A]=E?"0":"",C[j]=O?"0":"",C.transform=(D.devicePixelRatio||1)<=1?"translate("+g+"px, "+w+"px)":"translate3d("+g+"px, "+w+"px, 0)",C)):Object.assign({},I,((t={})[A]=E?w+"px":"",t[j]=O?g+"px":"",t.transform="",t))}var K={passive:!0};var Q={left:"right",right:"left",bottom:"top",top:"bottom"};function ee(e){return e.replace(/left|right|bottom|top/g,function(e){return Q[e]})}var te={start:"end",end:"start"};function ne(e){return e.replace(/start|end/g,function(e){return te[e]})}function re(e){var t=T(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function oe(e){return V(R(e)).left+re(e).scrollLeft}function ie(e){var t=W(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function ae(e){return["html","body","#document"].indexOf(E(e))>=0?e.ownerDocument.body:A(e)&&ie(e)?e:ae(B(e))}function se(e,t){var n;void 0===t&&(t=[]);var r=ae(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=T(r),a=o?[i].concat(i.visualViewport||[],ie(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(se(B(a)))}function ce(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ue(e,t,n){return t===g?ce(function(e,t){var n=T(e),r=R(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var u=P();(u||!u&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+oe(e),y:c}}(e,n)):j(t)?function(e,t){var n=V(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):ce(function(e){var t,n=R(e),r=re(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=N(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=N(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+oe(e),c=-r.scrollTop;return"rtl"===W(o||n).direction&&(s+=N(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(R(e)))}function pe(e,t,n,r){var o="clippingParents"===t?function(e){var t=se(B(e)),n=["absolute","fixed"].indexOf(W(e).position)>=0&&A(e)?q(e):e;return j(n)?t.filter(function(e){return j(e)&&M(e,n)&&"body"!==E(e)}):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(t,n){var o=ue(e,n,r);return t.top=N(o.top,t.top),t.right=C(o.right,t.right),t.bottom=C(o.bottom,t.bottom),t.left=N(o.left,t.left),t},ue(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 le(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?k(o):null,a=o?Y(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case p:t={x:s,y:n.y-r.height};break;case l:t={x:s,y:n.y+n.height};break;case f:t={x:n.x+n.width,y:c};break;case d:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=i?F(i):null;if(null!=u){var v="y"===u?"height":"width";switch(a){case h:t[u]=t[u]-(n[v]/2-r[v]/2);break;case y:t[u]=t[u]+(n[v]/2-r[v]/2)}}return t}function fe(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,c=void 0===s?"clippingParents":s,u=n.rootBoundary,d=void 0===u?g:u,v=n.elementContext,h=void 0===v?b:v,y=n.altBoundary,w=void 0!==y&&y,x=n.padding,O=void 0===x?0:x,E=$("number"!=typeof O?O:G(O,m)),T=h===b?"reference":b,A=e.rects.popper,D=e.elements[w?T:h],L=pe(j(D)?D:D.contextElement||R(e.elements.popper),c,d,a),k=V(e.elements.reference),N=le({reference:k,element:A,strategy:"absolute",placement:o}),C=ce(Object.assign({},A,N)),S=h===b?C:k,I={top:L.top-S.top+E.top,bottom:S.bottom-L.bottom+E.bottom,left:L.left-S.left+E.left,right:S.right-L.right+E.right},P=e.modifiersData.offset;if(h===b&&P){var _=P[o];Object.keys(I).forEach(function(e){var t=[f,l].indexOf(e)>=0?1:-1,n=[p,l].indexOf(e)>=0?"y":"x";I[e]+=_[n]*t})}return I}function de(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?x:c,p=Y(r),l=p?s?w:w.filter(function(e){return Y(e)===p}):m,f=l.filter(function(e){return u.indexOf(e)>=0});0===f.length&&(f=l);var d=f.reduce(function(t,n){return t[n]=fe(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[k(n)],t},{});return Object.keys(d).sort(function(e,t){return d[e]-d[t]})}var ve={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 o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,m=n.boundary,y=n.rootBoundary,g=n.altBoundary,b=n.flipVariations,w=void 0===b||b,x=n.allowedAutoPlacements,O=t.options.placement,E=k(O),T=c||(E===O||!w?[ee(O)]:function(e){if(k(e)===v)return[];var t=ee(e);return[ne(e),t,ne(t)]}(O)),j=[O].concat(T).reduce(function(e,n){return e.concat(k(n)===v?de(t,{placement:n,boundary:m,rootBoundary:y,padding:u,flipVariations:w,allowedAutoPlacements:x}):n)},[]),A=t.rects.reference,D=t.rects.popper,L=new Map,N=!0,C=j[0],S=0;S<j.length;S++){var I=j[S],P=k(I),V=Y(I)===h,_=[p,l].indexOf(P)>=0,M=_?"width":"height",W=fe(t,{placement:I,boundary:m,rootBoundary:y,altBoundary:g,padding:u}),H=_?V?f:d:V?l:p;A[M]>D[M]&&(H=ee(H));var R=ee(H),B=[];if(i&&B.push(W[P]<=0),s&&B.push(W[H]<=0,W[R]<=0),B.every(function(e){return e})){C=I,N=!1;break}L.set(I,B)}if(N)for(var U=function(e){var t=j.find(function(t){var n=L.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},q=w?3:1;q>0;q--){if("break"===U(q))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function me(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 he(e){return[p,f,l,d].some(function(t){return e[t]>=0})}var ye={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=x.reduce(function(e,n){return e[n]=function(e,t,n){var r=k(e),o=[d,p].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[d,f].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e},{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}};var ge={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,u=n.rootBoundary,v=n.altBoundary,m=n.padding,y=n.tether,g=void 0===y||y,b=n.tetherOffset,w=void 0===b?0:b,x=fe(t,{boundary:c,rootBoundary:u,padding:m,altBoundary:v}),O=k(t.placement),E=Y(t.placement),T=!E,j=F(O),A="x"===j?"y":"x",D=t.modifiersData.popperOffsets,L=t.rects.reference,S=t.rects.popper,I="function"==typeof w?w(Object.assign({},t.rects,{placement:t.placement})):w,P="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),V=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(D){if(i){var W,H="y"===j?p:d,R="y"===j?l:f,B="y"===j?"height":"width",U=D[j],$=U+x[H],G=U-x[R],X=g?-S[B]/2:0,Z=E===h?L[B]:S[B],J=E===h?-S[B]:-L[B],K=t.elements.arrow,Q=g&&K?_(K):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[H],ne=ee[R],re=z(0,L[B],Q[B]),oe=T?L[B]/2-X-re-te-P.mainAxis:Z-re-te-P.mainAxis,ie=T?-L[B]/2+X+re+ne+P.mainAxis:J+re+ne+P.mainAxis,ae=t.elements.arrow&&q(t.elements.arrow),se=ae?"y"===j?ae.clientTop||0:ae.clientLeft||0:0,ce=null!=(W=null==V?void 0:V[j])?W:0,ue=U+ie-ce,pe=z(g?C($,U+oe-ce-se):$,U,g?N(G,ue):G);D[j]=pe,M[j]=pe-U}if(s){var le,de="x"===j?p:d,ve="x"===j?l:f,me=D[A],he="y"===A?"height":"width",ye=me+x[de],ge=me-x[ve],be=-1!==[p,d].indexOf(O),we=null!=(le=null==V?void 0:V[A])?le:0,xe=be?ye:me-L[he]-S[he]-we+P.altAxis,Oe=be?me+L[he]+S[he]-we-P.altAxis:ge,Ee=g&&be?function(e,t,n){var r=z(e,t,n);return r>n?n:r}(xe,me,Oe):z(g?xe:ye,me,g?Oe:ge);D[A]=Ee,M[A]=Ee-me}t.modifiersData[r]=M}},requiresIfExists:["offset"]};function be(e,t,n){void 0===n&&(n=!1);var r,o,i=A(t),a=A(t)&&function(e){var t=e.getBoundingClientRect(),n=S(t.width)/e.offsetWidth||1,r=S(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=R(t),c=V(e,a,n),u={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(i||!i&&!n)&&(("body"!==E(t)||ie(s))&&(u=(r=t)!==T(r)&&A(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:re(r)),A(t)?((p=V(t,!0)).x+=t.clientLeft,p.y+=t.clientTop):s&&(p.x=oe(s))),{x:c.left+u.scrollLeft-p.x,y:c.top+u.scrollTop-p.y,width:c.width,height:c.height}}function we(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 xe={placement:"bottom",modifiers:[],strategy:"absolute"};function Oe(){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 Ee(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?xe:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},xe,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,p={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;l(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:j(e)?se(e):e.contextElement?se(e.contextElement):[],popper:se(t)};var a,u,f=function(e){var t=we(e);return O.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=f.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:p,options:r}),a=function(){};c.push(i||a)}}),p.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(Oe(t,n)){s.rects={reference:be(t,q(n),"fixed"===s.options.strategy),popper:_(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,l=o.name;"function"==typeof i&&(s=i({state:s,options:c,name:l,instance:p})||s)}else s.reset=!1,r=-1}}},update:(o=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(o())})})),a}),destroy:function(){l(),u=!0}};if(!Oe(e,t))return p;function l(){c.forEach(function(e){return e()}),c=[]}return p.setOptions(n).then(function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)}),p}}var Te=Ee({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=T(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(e){e.addEventListener("scroll",n.update,K)}),s&&c.addEventListener("resize",n.update,K),function(){i&&u.forEach(function(e){e.removeEventListener("scroll",n.update,K)}),s&&c.removeEventListener("resize",n.update,K)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=le({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,u={placement:k(t.placement),variation:Y(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,J(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,J(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:{}},L,ye,ve,ge,X,{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=fe(t,{elementContext:"reference"}),s=fe(t,{altBoundary:!0}),c=me(a,r),u=me(s,o,i),p=he(c),l=he(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:l},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":l})}}]}),je="tippy-content",Ae="tippy-arrow",De="tippy-svg-arrow",Le={passive:!0,capture:!0},ke=function(){return document.body};function Ne(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Ce(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Se(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Ie(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function Pe(e){return[].concat(e)}function Ve(e,t){-1===e.indexOf(t)&&e.push(t)}function _e(e){return[].slice.call(e)}function Me(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function We(){return document.createElement("div")}function He(e){return["Element","Fragment"].some(function(t){return Ce(e,t)})}function Re(e){return He(e)?[e]:function(e){return Ce(e,"NodeList")}(e)?_e(e):Array.isArray(e)?e:_e(document.querySelectorAll(e))}function Be(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function Ue(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function qe(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[r](t,n)})}function Fe(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 ze={isTouch:!1},$e=0;function Ge(){ze.isTouch||(ze.isTouch=!0,window.performance&&document.addEventListener("mousemove",Xe))}function Xe(){var e=performance.now();e-$e<20&&(ze.isTouch=!1,document.removeEventListener("mousemove",Xe)),$e=e}function Ye(){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,Je=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;function Ke(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 Qe(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function et(e){return Qe("\n %ctippy.js\n\n %c"+Qe(e)+"\n\n %c👷 This is a development-only message. It will be removed in production.\n ")}function tt(e){return[et(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function nt(e,t){var n;e&&!Ze.has(t)&&(Ze.add(t),(n=console).warn.apply(n,tt(t)))}function rt(e,t){var n;e&&!Ze.has(t)&&(Ze.add(t),(n=console).error.apply(n,tt(t)))}"production"!==process.env.NODE_ENV&&(Ze=new Set);var ot={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},it=Object.assign({appendTo:ke,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},ot,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),at=Object.keys(it);function st(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=it[o])?r:i);return t},{});return Object.assign({},e,t)}function ct(e,t){var n=Object.assign({},t,{content:Se(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(st(Object.assign({},it,{plugins:t}))):at).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({},it.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 ut(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}(it,Object.keys(ot)),i=(n=o,r=e,!{}.hasOwnProperty.call(n,r));i&&(i=0===t.filter(function(t){return t.name===e}).length),nt(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 pt(e,t){e.innerHTML=t}function lt(e){var t=We();return!0===e?t.className=Ae:(t.className=De,He(e)?t.appendChild(e):pt(t,e)),t}function ft(e,t){He(t.content)?(pt(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?pt(e,t.content):e.textContent=t.content)}function dt(e){var t=e.firstElementChild,n=_e(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(je)}),arrow:n.find(function(e){return e.classList.contains(Ae)||e.classList.contains(De)}),backdrop:n.find(function(e){return e.classList.contains("tippy-backdrop")})}}function vt(e){var t=We(),n=We();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=We();function o(n,r){var o=dt(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||ft(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(lt(r.arrow))):i.appendChild(lt(r.arrow)):s&&i.removeChild(s)}return r.className=je,r.setAttribute("data-state","hidden"),ft(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}vt.$$tippy=!0;var mt=1,ht=[],yt=[];function gt(e,t){var n,r,o,i,a,s,c,u,p=ct(e,Object.assign({},it,st(Me(t)))),l=!1,f=!1,d=!1,v=!1,m=[],h=Ie(G,p.interactiveDebounce),y=mt++,g=(u=p.plugins).filter(function(e,t){return u.indexOf(e)===t}),b={id:y,reference:e,popper:We(),popperInstance:null,props:p,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&&nt(b.state.isDestroyed,Ke("setProps"));if(b.state.isDestroyed)return;I("onBeforeUpdate",[b,t]),z();var n=b.props,r=ct(e,Object.assign({},n,Me(t),{ignoreAttributes:!0}));b.props=r,F(),n.interactiveDebounce!==r.interactiveDebounce&&(_(),h=Ie(G,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Pe(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded");V(),S(),O&&O(n,r);b.popperInstance&&(J(),Q().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}));I("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){"production"!==process.env.NODE_ENV&&nt(b.state.isDestroyed,Ke("show"));var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=ze.isTouch&&!b.props.touch,o=Ne(b.props.duration,0,it.duration);if(e||t||n||r)return;if(L().hasAttribute("disabled"))return;if(I("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,D()&&(x.style.visibility="visible");S(),R(),b.state.isMounted||(x.style.transition="none");if(D()){var i=N();Be([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,D()&&b.props.animation){var t=N(),n=t.box,r=t.content;Be([n,r],o),Ue([n,r],"visible")}P(),V(),Ve(yt,b),null==(e=b.popperInstance)||e.forceUpdate(),I("onMount",[b]),b.props.animation&&D()&&function(e,t){U(e,t)}(o,function(){b.state.isShown=!0,I("onShown",[b])})}},function(){var e,t=b.props.appendTo,n=L();e=b.props.interactive&&t===ke||"parent"===t?n.parentNode:Se(t,[n]);e.contains(x)||e.appendChild(x);b.state.isMounted=!0,J(),"production"!==process.env.NODE_ENV&&nt(b.props.interactive&&t===it.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&&nt(b.state.isDestroyed,Ke("hide"));var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Ne(b.props.duration,1,it.duration);if(e||t||n)return;if(I("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,v=!1,l=!1,D()&&(x.style.visibility="hidden");if(_(),B(),S(!0),D()){var o=N(),i=o.box,a=o.content;b.props.animation&&(Be([i,a],r),Ue([i,a],"hidden"))}P(),V(),b.props.animation?D()&&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&&nt(b.state.isDestroyed,Ke("hideWithInteractivity"));k().addEventListener("mousemove",h),Ve(ht,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){"production"!==process.env.NODE_ENV&&nt(b.state.isDestroyed,Ke("unmount"));b.state.isVisible&&b.hide();if(!b.state.isMounted)return;K(),Q().forEach(function(e){e._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x);yt=yt.filter(function(e){return e!==b}),b.state.isMounted=!1,I("onHidden",[b])},destroy:function(){"production"!==process.env.NODE_ENV&&nt(b.state.isDestroyed,Ke("destroy"));if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),z(),delete e._tippy,b.state.isDestroyed=!0,I("onDestroy",[b])}};if(!p.render)return"production"!==process.env.NODE_ENV&&rt(!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 F(),V(),S(),I("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 A(){return"hold"===j()[0]}function D(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function L(){return c||e}function k(){var e,t,n=L().parentNode;return n?null!=(t=Pe(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function N(){return dt(x)}function C(e){return b.state.isMounted&&!b.state.isVisible||ze.isTouch||i&&"focus"===i.type?0:Ne(b.props.delay,e?0:1,it.delay)}function S(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function I(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;Pe(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&&Pe(b.props.triggerTarget||e).forEach(function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===L()?"true":"false"):e.removeAttribute("aria-expanded")})}function _(){k().removeEventListener("mousemove",h),ht=ht.filter(function(e){return e!==h})}function M(t){if(!ze.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Fe(x,n)){if(Pe(b.props.triggerTarget||e).some(function(e){return Fe(e,n)})){if(ze.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else I("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),f=!0,setTimeout(function(){f=!1}),b.state.isMounted||B())}}}function W(){d=!0}function H(){d=!1}function R(){var e=k();e.addEventListener("mousedown",M,!0),e.addEventListener("touchend",M,Le),e.addEventListener("touchstart",H,Le),e.addEventListener("touchmove",W,Le)}function B(){var e=k();e.removeEventListener("mousedown",M,!0),e.removeEventListener("touchend",M,Le),e.removeEventListener("touchstart",H,Le),e.removeEventListener("touchmove",W,Le)}function U(e,t){var n=N().box;function r(e){e.target===n&&(qe(n,"remove",r),t())}if(0===e)return t();qe(n,"remove",a),qe(n,"add",r),a=r}function q(t,n,r){void 0===r&&(r=!1),Pe(b.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})})}function F(){var e;A()&&(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(Je?"focusout":"blur",Y);break;case"focusin":q("focusout",Y)}})}function z(){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&&!Z(e)&&!f){var r="focus"===(null==(t=i)?void 0:t.type);i=e,c=e.currentTarget,V(),!b.state.isVisible&&Ce(e,"MouseEvent")&&ht.forEach(function(t){return t(e)}),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||l)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(l=!n),n&&!r&&te(e)}}function G(e){var t=e.target,n=L().contains(t)||x.contains(t);if("mousemove"!==e.type||!n){var r=Q().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,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,u="top"===a?s.bottom.y:0,p="right"===a?s.left.x:0,l="left"===a?s.right.x:0,f=t.top-r+c>i,d=r-t.bottom-u>i,v=t.left-n+p>i,m=n-t.right-l>i;return f||d||v||m})})(r,e)&&(_(),te(e))}}function X(e){Z(e)||b.props.trigger.indexOf("click")>=0&&l||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function Y(e){b.props.trigger.indexOf("focusin")<0&&e.target!==L()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function Z(e){return!!ze.isTouch&&A()!==e.type.indexOf("touch")>=0}function J(){K();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,c=D()?dt(x).arrow:null,u=i?{getBoundingClientRect:i,contextElement:i.contextElement||L()}:e,p={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(D()){var n=N().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={}}}},l=[{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}},p];D()&&c&&l.push({name:"arrow",options:{element:c,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),b.popperInstance=Te(u,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:l}))}function K(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Q(){return _e(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&I("onTrigger",[b,e]),R();var t=C(!0),r=j(),o=r[0],i=r[1];ze.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout(function(){b.show()},t):b.show()}function te(e){if(b.clearDelayTimeouts(),I("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&&l)){var t=C(!1);t?r=setTimeout(function(){b.state.isVisible&&b.hide()},t):o=requestAnimationFrame(function(){b.hide()})}}else B()}}function bt(e,t){void 0===t&&(t={});var n=it.plugins.concat(t.plugins||[]);"production"!==process.env.NODE_ENV&&(!function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;rt(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),rt(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),ut(t,n)),document.addEventListener("touchstart",Ge,Le),window.addEventListener("blur",Ye);var r=Object.assign({},t,{plugins:n}),o=Re(e);if("production"!==process.env.NODE_ENV){var i=He(r.content),a=o.length>1;nt(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&>(t,r);return n&&e.push(n),e},[]);return He(e)?s[0]:s}bt.defaultProps=it,bt.setDefaultProps=function(e){"production"!==process.env.NODE_ENV&&ut(e,[]),Object.keys(e).forEach(function(t){it[t]=e[t]})},bt.currentInput=ze,Object.assign({},L,{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)}}),bt.setDefaultProps({render:vt});var wt={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 xt(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 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 l=e.scrollHeight>s+1,f=e.firstChild,d=!1;if(f){var v=document.createRange();v.selectNodeContents(f);var m=v.getClientRects();if(m.length>0)d=m[m.length-1].bottom-e.getBoundingClientRect().top>s}return l||d}}var Ot={mounted:function(e,t){var n=a(a({},wt),"object"===u(t.value)?t.value:{lines:t.value||1});e._originalText=e.textContent||e.innerText;var r=bt(e,a(a({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&&!xt(e,n))return!1;var r=e._originalText||"";t.setContent(r)},onCreate:function(e){n.maxWidth&&(e.popper.style.maxWidth=n.maxWidth)}}));e._tippy=r,Et(e,n),function(e,t){e._resizeObserver=new ResizeObserver(function(){var n;null!==(n=e._tippy)&&void 0!==n&&n.state.isVisible&&t.onlyOverflow&&(xt(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=a(a({},wt),"object"===u(t.value)?t.value:{lines:t.value});e._originalText=e.textContent||e.innerText,Et(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 Et(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.display="block",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&&xt(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 Tt,jt=Ot,At={install:function(e,t){e.directive("overflow-tooltip",Ot),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)}}})}};!function(e){e.BOTTOM="bottom",e.CONTENT="content",e.FULLSCREEN="fullScreen",e.MESSAGE="message",e.MODAL="modal",e.NAVI="navi",e.PLUGINS="plugins",e.POPPER="popper"}(Tt||(Tt={}));var Dt=o(o(o(o(o(o(o(o({},Tt.BOTTOM,0),Tt.CONTENT,1),Tt.NAVI,100),Tt.FULLSCREEN,1e3),Tt.MODAL,2e3),Tt.PLUGINS,5e3),Tt.MESSAGE,6e3),Tt.POPPER,8e3),Lt=new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.storageLayerIndexValue={},this.copyDefaultValue()},(t=[{key:"getNextIndex",value:function(e){if(Object.prototype.hasOwnProperty.call(this.storageLayerIndexValue,e))return this.storageLayerIndexValue[e]=this.storageLayerIndexValue[e]+1,this.storageLayerIndexValue[e];this.getNextIndex(Tt.MODAL)}},{key:"getModalNextIndex",value:function(){return this.getNextIndex(Tt.MODAL)}},{key:"getMessageNextIndex",value:function(){return this.getNextIndex(Tt.MESSAGE)}},{key:"getFullScreenNextIndex",value:function(){return this.getNextIndex(Tt.FULLSCREEN)}},{key:"getNaviNextIndex",value:function(){return this.getNextIndex(Tt.NAVI)}},{key:"getPopperIndex",value:function(){return this.getNextIndex(Tt.POPPER)}},{key:"setDefaultZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue.__proto__,n)&&Object.assign(t.storageLayerIndexValue.__proto__,o({},n,e[n]))}),this.copyDefaultValue()}},{key:"resetZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue,n)&&Object.assign(t.storageLayerIndexValue,o({},n,e[n]))})}},{key:"copyDefaultValue",value:function(){var e=Object.keys(Dt).reduce(function(e,t){return Object.assign(e,o({},t,{value:Dt[t],writable:!0,configurable:!0}))},{});this.storageLayerIndexValue=Object.create(Dt,e)}}])&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}());function kt(e){return"".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"xn","-").concat(e)}var Nt=new WeakMap,Ct={beforeMount:function(e,n){var r=St(n),o=r.trigger,i=r.showOnInit,a=function(e){var t=e.content,n=e.arrow,r=e.theme,o=e.extCls,i="light"===r,a=Lt.getPopperIndex(),s=document.createElement("div"),c=document.documentElement.style.getPropertyValue("--xn-prefix")||"xn";if(s.className="".concat(kt("popper",c)," ").concat(i?"light":"dark"," ").concat(o),s.innerText=t,s.style.zIndex=String(a),It(t,s),n){var u=Pt();s.appendChild(u)}return s}(r),s=null;if(i&&t.nextTick(function(){Vt(e)}),"hover"===o){var c=null;e.addEventListener("mouseenter",function(){s=setTimeout(function(){Vt(e),c&&clearTimeout(c),s&&clearTimeout(s)},r.delay)}),a.addEventListener("mouseenter",function(){c&&clearTimeout(c)}),e.addEventListener("mouseleave",function(){s&&clearTimeout(s),c=setTimeout(function(){_t(e)},100)}),a.addEventListener("mouseleave",function(){s&&clearTimeout(s),c=setTimeout(function(){_t(e)},100)})}else"click"===o&&document.body.addEventListener("click",function(t){e.contains(t.target)&&!a.hasAttribute("data-show")?s=setTimeout(function(){Vt(e),s&&clearTimeout(s)},r.delay):!e.contains(t.target)&&a.hasAttribute("data-show")&&_t(e)});Nt.set(e,{opts:r,popper:a,popperInstance:null})},updated:function(e,t){Nt.get(e)&&(Nt.get(e).opts=St(t))},unmounted:function(e){_t(e),Nt.delete(e)}};function St(e){var t={arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,extCls:"",sameWidth:!1,delay:0,onShow:function(){},onHide:function(){}};return"object"===u(e.value)?Object.assign(t,e.value):t.content=e.value,t}function It(e,n){if("string"==typeof e)n.innerText=e;else{var r=document.createElement("div"),o=t.h(e);t.render(o,r),n.innerHTML=r.innerHTML}}function Pt(){var e=document.createElement("div"),t=document.documentElement.style.getPropertyValue("--xn-prefix")||"xn";return e.className=kt("popper-arrow",t),e.setAttribute("data-popper-arrow",""),e}function Vt(e){if(Nt.get(e)){var t=Nt.get(e),n=t.popper,r=t.opts,o=r.disabled,i=r.content,c=r.arrow,u=r.onShow,p=r.boundary,l=r.modifiers,f=void 0===l?[]:l;if(!o){if(It(i,n),c){var d=Pt();n.appendChild(d)}var v=document.body;p&&("parent"===p&&e.parentElement?v=e.parentElement:p instanceof HTMLElement&&(v=p)),v.appendChild(n);var m=function(e,t){if(Nt.get(e)){var n=Nt.get(e).opts,r=n.placement,o=n.distance,i=n.sameWidth;return Te(e,t,{placement:r,modifiers:[{name:"offset",options:{offset:[0,o]}},{name:"arrow",options:{padding:5}}].concat(s(i?[{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;t.styles.popper.width="".concat(t.rects.reference.width,"px")},effect:function(e){var t=e.state;t.elements.popper.style.overflowWrap="break-word",t.elements.popper.style.width="".concat(t.elements.reference.offsetWidth,"px")}}]:[]))})}}(e,n);u(),n.setAttribute("data-show",""),m&&(m.setOptions(function(e){return a(a({},e),{},{modifiers:[].concat(s(e.modifiers||[]),s(f),[{name:"eventListeners",enabled:!0}])})}),m.forceUpdate()),Nt.get(e).popperInstance=m}}}function _t(e){if(Nt.get(e)){var t,n=Nt.get(e),r=n.popper,o=n.popperInstance,i=n.opts.onHide;if(r&&document.body.contains(r))r.removeAttribute("data-show"),null==o||o.destroy(),null==r||null===(t=r.parentNode)||void 0===t||t.removeChild(r),i()}}var Mt=Ct,Wt=Mt,Ht={install:function(e,t){e.directive("tooltip",Mt),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)}}})}},Rt={overflowTooltip:At};function Bt(e){e.use(At)}var Ut={install:Bt};e.TooltipsPlugin=Ht,e.default=Ut,e.directives=Rt,e.installDirectives=Bt,e.overflowTooltipDirective=jt,e.overflowTooltipPlugin=At,e.tooltipDirective=Wt,e.vOverflowTooltip=Ot,e.vXnTooltips=Mt,Object.defineProperty(e,"__esModule",{value:!0})}(this["@xn-lib/directives"]=this["@xn-lib/directives"]||{},Vue);
|