芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/optimyar/wp-content/plugins/jet-elements/assets/js/lib/tippy/tippy-bundle.min.js
/**! * tippy.js v6.3.1 * (c) 2017-2021 atomiks * MIT License */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],e):(t=t||self).tippy=e(t.Popper)}(this,function(t){"use strict";var e="undefined"!=typeof window&&"undefined"!=typeof document,n=e?navigator.userAgent:"",i=/MSIE |Trident\//.test(n),r="tippy-box",o="tippy-content",a="tippy-backdrop",s="tippy-arrow",p="tippy-svg-arrow",c={passive:!0,capture:!0};function u(t,e,n){if(Array.isArray(t)){var i=t[e];return null==i?Array.isArray(n)?n[e]:n:i}return t}function l(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function f(t,e){return"function"==typeof t?t.apply(void 0,e):t}function d(t,e){return 0===e?t:function(i){clearTimeout(n),n=setTimeout(function(){t(i)},e)};var n}function v(t,e){var n=Object.assign({},t);return e.forEach(function(t){delete n[t]}),n}function m(t){return[].concat(t)}function h(t,e){-1===t.indexOf(e)&&t.push(e)}function g(t){return t.split("-")[0]}function y(t){return[].slice.call(t)}function b(){return document.createElement("div")}function w(t){return["Element","Fragment"].some(function(e){return l(t,e)})}function x(t){return l(t,"MouseEvent")}function E(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function T(t){return w(t)?[t]:function(t){return l(t,"NodeList")}(t)?y(t):Array.isArray(t)?t:y(document.querySelectorAll(t))}function O(t,e){t.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function C(t,e){t.forEach(function(t){t&&t.setAttribute("data-state",e)})}function A(t){var e,n=m(t)[0];return(null==n?void 0:null==(e=n.ownerDocument)?void 0:e.body)?n.ownerDocument:document}function j(t,e,n){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(e){t[i](e,n)})}var L,D={isTouch:!1},k=0;function S(){D.isTouch||(D.isTouch=!0,window.performance&&document.addEventListener("mousemove",M))}function M(){var t=performance.now();t-k<20&&(D.isTouch=!1,document.removeEventListener("mousemove",M)),k=t}function P(){var t=document.activeElement;if(E(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function R(t){return[t+"() was called on a"+("destroy"===t?"n already-":" ")+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function I(t){return t.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function V(t){return I("\n %ctippy.js\n\n %c"+I(t)+"\n\n %c👷 This is a development-only message. It will be removed in production.\n ")}function N(t){return[V(t),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function B(t,e){var n;t&&!L.has(e)&&(L.add(e),(n=console).warn.apply(n,N(e)))}function H(t,e){var n;t&&!L.has(e)&&(L.add(e),(n=console).error.apply(n,N(e)))}L=new Set;var U={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},F=Object.assign({appendTo:function(){return document.body},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},U,{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Y=Object.keys(F);function z(t){var e=(t.plugins||[]).reduce(function(e,n){var i=n.name,r=n.defaultValue;return i&&(e[i]=void 0!==t[i]?t[i]:r),e},{});return Object.assign({},t,{},e)}function W(t,e){var n=Object.assign({},e,{content:f(e.content,[t])},e.ignoreAttributes?{}:function(t,e){return(e?Object.keys(z(Object.assign({},F,{plugins:e}))):Y).reduce(function(e,n){var i=(t.getAttribute("data-tippy-"+n)||"").trim();if(!i)return e;if("content"===n)e[n]=i;else try{e[n]=JSON.parse(i)}catch(t){e[n]=i}return e},{})}(t,e.plugins));return n.aria=Object.assign({},F.aria,{},n.aria),n.aria={expanded:"auto"===n.aria.expanded?e.interactive:n.aria.expanded,content:"auto"===n.aria.content?e.interactive?null:"describedby":n.aria.content},n}function _(t,e){void 0===t&&(t={}),void 0===e&&(e=[]),Object.keys(t).forEach(function(t){var n,i,r=v(F,Object.keys(U)),o=(n=r,i=t,!{}.hasOwnProperty.call(n,i));o&&(o=0===e.filter(function(e){return e.name===t}).length),B(o,["`"+t+"`","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(" "))})}var q=function(){return"innerHTML"};function X(t,e){t[q()]=e}function $(t){var e=b();return!0===t?e.className=s:(e.className=p,w(t)?e.appendChild(t):X(e,t)),e}function J(t,e){w(e.content)?(X(t,""),t.appendChild(e.content)):"function"!=typeof e.content&&(e.allowHTML?X(t,e.content):t.textContent=e.content)}function G(t){var e=t.firstElementChild,n=y(e.children);return{box:e,content:n.find(function(t){return t.classList.contains(o)}),arrow:n.find(function(t){return t.classList.contains(s)||t.classList.contains(p)}),backdrop:n.find(function(t){return t.classList.contains(a)})}}function K(t){var e=b(),n=b();n.className=r,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=b();function a(n,i){var r=G(e),o=r.box,a=r.content,s=r.arrow;i.theme?o.setAttribute("data-theme",i.theme):o.removeAttribute("data-theme"),"string"==typeof i.animation?o.setAttribute("data-animation",i.animation):o.removeAttribute("data-animation"),i.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof i.maxWidth?i.maxWidth+"px":i.maxWidth,i.role?o.setAttribute("role",i.role):o.removeAttribute("role"),n.content===i.content&&n.allowHTML===i.allowHTML||J(a,t.props),i.arrow?s?n.arrow!==i.arrow&&(o.removeChild(s),o.appendChild($(i.arrow))):o.appendChild($(i.arrow)):s&&o.removeChild(s)}return i.className=o,i.setAttribute("data-state","hidden"),J(i,t.props),e.appendChild(n),n.appendChild(i),a(t.props,t.props),{popper:e,onUpdate:a}}K.$$tippy=!0;var Q=1,Z=[],tt=[];function et(e,n){var r,o,a,s,p,l,v,w,E,T=W(e,Object.assign({},F,{},z((r=n,Object.keys(r).reduce(function(t,e){return void 0!==r[e]&&(t[e]=r[e]),t},{}))))),L=!1,k=!1,S=!1,M=!1,P=[],I=d(xt,T.interactiveDebounce),V=Q++,N=(E=T.plugins).filter(function(t,e){return E.indexOf(t)===e}),U={id:V,reference:e,popper:b(),popperInstance:null,props:T,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:N,clearDelayTimeouts:function(){clearTimeout(o),clearTimeout(a),cancelAnimationFrame(s)},setProps:function(t){if(B(U.state.isDestroyed,R("setProps")),U.state.isDestroyed)return;st("onBeforeUpdate",[U,t]),bt();var n=U.props,i=W(e,Object.assign({},U.props,{},t,{ignoreAttributes:!0}));U.props=i,yt(),n.interactiveDebounce!==i.interactiveDebounce&&(ut(),I=d(xt,i.interactiveDebounce));n.triggerTarget&&!i.triggerTarget?m(n.triggerTarget).forEach(function(t){t.removeAttribute("aria-expanded")}):i.triggerTarget&&e.removeAttribute("aria-expanded");ct(),at(),q&&q(n,i);U.popperInstance&&(Ct(),jt().forEach(function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)}));st("onAfterUpdate",[U,t])},setContent:function(t){U.setProps({content:t})},show:function(){B(U.state.isDestroyed,R("show"));var t=U.state.isVisible,e=U.state.isDestroyed,n=!U.state.isEnabled,i=D.isTouch&&!U.props.touch,r=u(U.props.duration,0,F.duration);if(t||e||n||i)return;if(nt().hasAttribute("disabled"))return;if(st("onShow",[U],!1),!1===U.props.onShow(U))return;U.state.isVisible=!0,et()&&(_.style.visibility="visible");at(),vt(),U.state.isMounted||(_.style.transition="none");if(et()){var o=rt(),a=o.box,s=o.content;O([a,s],0)}v=function(){var t;if(U.state.isVisible&&!M){if(M=!0,_.offsetHeight,_.style.transition=U.props.moveTransition,et()&&U.props.animation){var e=rt(),n=e.box,i=e.content;O([n,i],r),C([n,i],"visible")}pt(),ct(),h(tt,U),null==(t=U.popperInstance)||t.forceUpdate(),U.state.isMounted=!0,st("onMount",[U]),U.props.animation&&et()&&function(t,e){ht(t,e)}(r,function(){U.state.isShown=!0,st("onShown",[U])})}},function(){var t,e=U.props.appendTo,n=nt();t=U.props.interactive&&e===F.appendTo||"parent"===e?n.parentNode:f(e,[n]);t.contains(_)||t.appendChild(_);Ct(),B(U.props.interactive&&e===F.appendTo&&n.nextElementSibling!==_,["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
or
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(){B(U.state.isDestroyed,R("hide"));var t=!U.state.isVisible,e=U.state.isDestroyed,n=!U.state.isEnabled,i=u(U.props.duration,1,F.duration);if(t||e||n)return;if(st("onHide",[U],!1),!1===U.props.onHide(U))return;U.state.isVisible=!1,U.state.isShown=!1,M=!1,L=!1,et()&&(_.style.visibility="hidden");if(ut(),mt(),at(),et()){var r=rt(),o=r.box,a=r.content;U.props.animation&&(O([o,a],i),C([o,a],"hidden"))}pt(),ct(),U.props.animation?et()&&function(t,e){ht(t,function(){!U.state.isVisible&&_.parentNode&&_.parentNode.contains(_)&&e()})}(i,U.unmount):U.unmount()},hideWithInteractivity:function(t){B(U.state.isDestroyed,R("hideWithInteractivity")),it().addEventListener("mousemove",I),h(Z,I),I(t)},enable:function(){U.state.isEnabled=!0},disable:function(){U.hide(),U.state.isEnabled=!1},unmount:function(){B(U.state.isDestroyed,R("unmount")),U.state.isVisible&&U.hide();if(!U.state.isMounted)return;At(),jt().forEach(function(t){t._tippy.unmount()}),_.parentNode&&_.parentNode.removeChild(_);tt=tt.filter(function(t){return t!==U}),U.state.isMounted=!1,st("onHidden",[U])},destroy:function(){if(B(U.state.isDestroyed,R("destroy")),U.state.isDestroyed)return;U.clearDelayTimeouts(),U.unmount(),bt(),delete e._tippy,U.state.isDestroyed=!0,st("onDestroy",[U])}};if(!T.render)return H(!0,"render() function has not been supplied."),U;var Y=T.render(U),_=Y.popper,q=Y.onUpdate;_.setAttribute("data-tippy-root",""),_.id="tippy-"+U.id,U.popper=_,e._tippy=U,_._tippy=U;var X=N.map(function(t){return t.fn(U)}),$=e.hasAttribute("aria-expanded");return yt(),ct(),at(),st("onCreate",[U]),T.showOnCreate&&Lt(),_.addEventListener("mouseenter",function(){U.props.interactive&&U.state.isVisible&&U.clearDelayTimeouts()}),_.addEventListener("mouseleave",function(t){U.props.interactive&&U.props.trigger.indexOf("mouseenter")>=0&&(it().addEventListener("mousemove",I),I(t))}),U;function J(){var t=U.props.touch;return Array.isArray(t)?t:[t,0]}function K(){return"hold"===J()[0]}function et(){var t;return!!(null==(t=U.props.render)?void 0:t.$$tippy)}function nt(){return w||e}function it(){var t=nt().parentNode;return t?A(t):document}function rt(){return G(_)}function ot(t){return U.state.isMounted&&!U.state.isVisible||D.isTouch||p&&"focus"===p.type?0:u(U.props.delay,t?0:1,F.delay)}function at(){_.style.pointerEvents=U.props.interactive&&U.state.isVisible?"":"none",_.style.zIndex=""+U.props.zIndex}function st(t,e,n){var i;(void 0===n&&(n=!0),X.forEach(function(n){n[t]&&n[t].apply(void 0,e)}),n)&&(i=U.props)[t].apply(i,e)}function pt(){var t=U.props.aria;if(t.content){var n="aria-"+t.content,i=_.id;m(U.props.triggerTarget||e).forEach(function(t){var e=t.getAttribute(n);if(U.state.isVisible)t.setAttribute(n,e?e+" "+i:i);else{var r=e&&e.replace(i,"").trim();r?t.setAttribute(n,r):t.removeAttribute(n)}})}}function ct(){!$&&U.props.aria.expanded&&m(U.props.triggerTarget||e).forEach(function(t){U.props.interactive?t.setAttribute("aria-expanded",U.state.isVisible&&t===nt()?"true":"false"):t.removeAttribute("aria-expanded")})}function ut(){it().removeEventListener("mousemove",I),Z=Z.filter(function(t){return t!==I})}function lt(t){if(!(D.isTouch&&(S||"mousedown"===t.type)||U.props.interactive&&_.contains(t.target))){if(nt().contains(t.target)){if(D.isTouch)return;if(U.state.isVisible&&U.props.trigger.indexOf("click")>=0)return}else st("onClickOutside",[U,t]);!0===U.props.hideOnClick&&(U.clearDelayTimeouts(),U.hide(),k=!0,setTimeout(function(){k=!1}),U.state.isMounted||mt())}}function ft(){S=!0}function dt(){S=!1}function vt(){var t=it();t.addEventListener("mousedown",lt,!0),t.addEventListener("touchend",lt,c),t.addEventListener("touchstart",dt,c),t.addEventListener("touchmove",ft,c)}function mt(){var t=it();t.removeEventListener("mousedown",lt,!0),t.removeEventListener("touchend",lt,c),t.removeEventListener("touchstart",dt,c),t.removeEventListener("touchmove",ft,c)}function ht(t,e){var n=rt().box;function i(t){t.target===n&&(j(n,"remove",i),e())}if(0===t)return e();j(n,"remove",l),j(n,"add",i),l=i}function gt(t,n,i){void 0===i&&(i=!1),m(U.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,i),P.push({node:e,eventType:t,handler:n,options:i})})}function yt(){var t;K()&&(gt("touchstart",wt,{passive:!0}),gt("touchend",Et,{passive:!0})),(t=U.props.trigger,t.split(/\s+/).filter(Boolean)).forEach(function(t){if("manual"!==t)switch(gt(t,wt),t){case"mouseenter":gt("mouseleave",Et);break;case"focus":gt(i?"focusout":"blur",Tt);break;case"focusin":gt("focusout",Tt)}})}function bt(){P.forEach(function(t){var e=t.node,n=t.eventType,i=t.handler,r=t.options;e.removeEventListener(n,i,r)}),P=[]}function wt(t){var e,n=!1;if(U.state.isEnabled&&!Ot(t)&&!k){var i="focus"===(null==(e=p)?void 0:e.type);p=t,w=t.currentTarget,ct(),!U.state.isVisible&&x(t)&&Z.forEach(function(e){return e(t)}),"click"===t.type&&(U.props.trigger.indexOf("mouseenter")<0||L)&&!1!==U.props.hideOnClick&&U.state.isVisible?n=!0:Lt(t),"click"===t.type&&(L=!n),n&&!i&&Dt(t)}}function xt(t){var e=t.target,n=nt().contains(e)||_.contains(e);"mousemove"===t.type&&n||function(t,e){var n=e.clientX,i=e.clientY;return t.every(function(t){var e=t.popperRect,r=t.popperState,o=t.props.interactiveBorder,a=g(r.placement),s=r.modifiersData.offset;if(!s)return!0;var p="bottom"===a?s.top.y:0,c="top"===a?s.bottom.y:0,u="right"===a?s.left.x:0,l="left"===a?s.right.x:0,f=e.top-i+p>o,d=i-e.bottom-c>o,v=e.left-n+u>o,m=n-e.right-l>o;return f||d||v||m})}(jt().concat(_).map(function(t){var e,n=null==(e=t._tippy.popperInstance)?void 0:e.state;return n?{popperRect:t.getBoundingClientRect(),popperState:n,props:T}:null}).filter(Boolean),t)&&(ut(),Dt(t))}function Et(t){Ot(t)||U.props.trigger.indexOf("click")>=0&&L||(U.props.interactive?U.hideWithInteractivity(t):Dt(t))}function Tt(t){U.props.trigger.indexOf("focusin")<0&&t.target!==nt()||U.props.interactive&&t.relatedTarget&&_.contains(t.relatedTarget)||Dt(t)}function Ot(t){return!!D.isTouch&&K()!==t.type.indexOf("touch")>=0}function Ct(){At();var n=U.props,i=n.popperOptions,r=n.placement,o=n.offset,a=n.getReferenceClientRect,s=n.moveTransition,p=et()?G(_).arrow:null,c=a?{getBoundingClientRect:a,contextElement:a.contextElement||nt()}:e,u=[{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:!s}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(et()){var n=rt().box;["placement","reference-hidden","escaped"].forEach(function(t){"placement"===t?n.setAttribute("data-placement",e.placement):e.attributes.popper["data-popper-"+t]?n.setAttribute("data-"+t,""):n.removeAttribute("data-"+t)}),e.attributes.popper={}}}}];et()&&p&&u.push({name:"arrow",options:{element:p,padding:3}}),u.push.apply(u,(null==i?void 0:i.modifiers)||[]),U.popperInstance=t.createPopper(c,_,Object.assign({},i,{placement:r,onFirstUpdate:v,modifiers:u}))}function At(){U.popperInstance&&(U.popperInstance.destroy(),U.popperInstance=null)}function jt(){return y(_.querySelectorAll("[data-tippy-root]"))}function Lt(t){U.clearDelayTimeouts(),t&&st("onTrigger",[U,t]),vt();var e=ot(!0),n=J(),i=n[0],r=n[1];D.isTouch&&"hold"===i&&r&&(e=r),e?o=setTimeout(function(){U.show()},e):U.show()}function Dt(t){if(U.clearDelayTimeouts(),st("onUntrigger",[U,t]),U.state.isVisible){if(!(U.props.trigger.indexOf("mouseenter")>=0&&U.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(t.type)>=0&&L)){var e=ot(!1);e?a=setTimeout(function(){U.state.isVisible&&U.hide()},e):s=requestAnimationFrame(function(){U.hide()})}}else mt()}}function nt(t,e){void 0===e&&(e={});var n=F.plugins.concat(e.plugins||[]);!function(t){var e=!t,n="[object Object]"===Object.prototype.toString.call(t)&&!t.addEventListener;H(e,["tippy() was passed","`"+String(t)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),H(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(t),_(e,n),document.addEventListener("touchstart",S,c),window.addEventListener("blur",P);var i=Object.assign({},e,{plugins:n}),r=T(t),o=w(i.content),a=r.length>1;B(o&&a,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.","\n\n","Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.","\n\n","1) content: element.innerHTML\n","2) content: () => element.cloneNode(true)"].join(" "));var s=r.reduce(function(t,e){var n=e&&et(e,i);return n&&t.push(n),t},[]);return w(t)?s[0]:s}nt.defaultProps=F,nt.setDefaultProps=function(t){_(t,[]),Object.keys(t).forEach(function(e){F[e]=t[e]})},nt.currentInput=D;var it=Object.assign({},t.applyStyles,{effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow)}}),rt={mouseover:"mouseenter",focusin:"focus",click:"click"};var ot={name:"animateFill",defaultValue:!1,fn:function(t){var e;if(!(null==(e=t.props.render)?void 0:e.$$tippy))return H(t.props.animateFill,"The `animateFill` plugin requires the default render function."),{};var n=G(t.popper),i=n.box,r=n.content,o=t.props.animateFill?function(){var t=b();return t.className=a,C([t],"hidden"),t}():null;return{onCreate:function(){o&&(i.insertBefore(o,i.firstElementChild),i.setAttribute("data-animatefill",""),i.style.overflow="hidden",t.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(o){var t=i.style.transitionDuration,e=Number(t.replace("ms",""));r.style.transitionDelay=Math.round(e/10)+"ms",o.style.transitionDuration=t,C([o],"visible")}},onShow:function(){o&&(o.style.transitionDuration="0ms")},onHide:function(){o&&C([o],"hidden")}}}};var at={clientX:0,clientY:0},st=[];function pt(t){var e=t.clientX,n=t.clientY;at={clientX:e,clientY:n}}var ct={name:"followCursor",defaultValue:!1,fn:function(t){var e=t.reference,n=A(t.props.triggerTarget||e),i=!1,r=!1,o=!0,a=t.props;function s(){return"initial"===t.props.followCursor&&t.state.isVisible}function p(){n.addEventListener("mousemove",l)}function c(){n.removeEventListener("mousemove",l)}function u(){i=!0,t.setProps({getReferenceClientRect:null}),i=!1}function l(n){var i=!n.target||e.contains(n.target),r=t.props.followCursor,o=n.clientX,a=n.clientY,s=e.getBoundingClientRect(),p=o-s.left,c=a-s.top;!i&&t.props.interactive||t.setProps({getReferenceClientRect:function(){var t=e.getBoundingClientRect(),n=o,i=a;"initial"===r&&(n=t.left+p,i=t.top+c);var s="horizontal"===r?t.top:i,u="vertical"===r?t.right:n,l="horizontal"===r?t.bottom:i,f="vertical"===r?t.left:n;return{width:u-f,height:l-s,top:s,right:u,bottom:l,left:f}}})}function f(){t.props.followCursor&&(st.push({instance:t,doc:n}),function(t){t.addEventListener("mousemove",pt)}(n))}function d(){0===(st=st.filter(function(e){return e.instance!==t})).filter(function(t){return t.doc===n}).length&&function(t){t.removeEventListener("mousemove",pt)}(n)}return{onCreate:f,onDestroy:d,onBeforeUpdate:function(){a=t.props},onAfterUpdate:function(e,n){var o=n.followCursor;i||void 0!==o&&a.followCursor!==o&&(d(),o?(f(),!t.state.isMounted||r||s()||p()):(c(),u()))},onMount:function(){t.props.followCursor&&!r&&(o&&(l(at),o=!1),s()||p())},onTrigger:function(t,e){x(e)&&(at={clientX:e.clientX,clientY:e.clientY}),r="focus"===e.type},onHidden:function(){t.props.followCursor&&(u(),c(),o=!0)}}}};var ut={name:"inlinePositioning",defaultValue:!1,fn:function(t){var e,n=t.reference;var i=-1,r=!1,o={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(r){var o=r.state;t.props.inlinePositioning&&(e!==o.placement&&t.setProps({getReferenceClientRect:function(){return function(t,e,n,i){if(n.length<2||null===t)return e;if(2===n.length&&i>=0&&n[0].left>n[1].right)return n[i]||e;switch(t){case"top":case"bottom":var r=n[0],o=n[n.length-1],a="top"===t,s=r.top,p=o.bottom,c=a?r.left:o.left,u=a?r.right:o.right,l=u-c,f=p-s;return{top:s,bottom:p,left:c,right:u,width:l,height:f};case"left":case"right":var d=Math.min.apply(Math,n.map(function(t){return t.left})),v=Math.max.apply(Math,n.map(function(t){return t.right})),m=n.filter(function(e){return"left"===t?e.left===d:e.right===v}),h=m[0].top,g=m[m.length-1].bottom,y=d,b=v,w=b-y,x=g-h;return{top:h,bottom:g,left:y,right:b,width:w,height:x};default:return e}}(g(o.placement),n.getBoundingClientRect(),y(n.getClientRects()),i)}}),e=o.placement)}};function a(){var e;r||(e=function(t,e){var n;return{popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat(((null==(n=t.popperOptions)?void 0:n.modifiers)||[]).filter(function(t){return t.name!==e.name}),[e])})}}(t.props,o),r=!0,t.setProps(e),r=!1)}return{onCreate:a,onAfterUpdate:a,onTrigger:function(e,n){if(x(n)){var r=y(t.reference.getClientRects()),o=r.find(function(t){return t.left-2<=n.clientX&&t.right+2>=n.clientX&&t.top-2<=n.clientY&&t.bottom+2>=n.clientY});i=r.indexOf(o)}},onUntrigger:function(){i=-1}}}};var lt={name:"sticky",defaultValue:!1,fn:function(t){var e=t.reference,n=t.popper;function i(e){return!0===t.props.sticky||t.props.sticky===e}var r=null,o=null;function a(){var s=i("reference")?(t.popperInstance?t.popperInstance.state.elements.reference:e).getBoundingClientRect():null,p=i("popper")?n.getBoundingClientRect():null;(s&&ft(r,s)||p&&ft(o,p))&&t.popperInstance&&t.popperInstance.update(),r=s,o=p,t.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){t.props.sticky&&a()}}}};function ft(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}return e&&function(t){var e=document.createElement("style");e.textContent=t,e.setAttribute("data-tippy-stylesheet","");var n=document.head,i=document.querySelector("head>style,head>link");i?n.insertBefore(e,i):n.appendChild(e)}('.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}'),nt.setDefaultProps({plugins:[ot,ct,ut,lt],render:K}),nt.createSingleton=function(t,e){var n;void 0===e&&(e={}),H(!Array.isArray(t),["The first argument passed to createSingleton() must be an array of","tippy instances. The passed value was",String(t)].join(" "));var i,r=t,o=[],a=e.overrides,s=[],p=!1;function c(){o=r.map(function(t){return t.reference})}function u(t){r.forEach(function(e){t?e.enable():e.disable()})}function l(t){return r.map(function(e){var n=e.setProps;return e.setProps=function(r){n(r),e.reference===i&&t.setProps(r)},function(){e.setProps=n}})}function f(t,e){var n=o.indexOf(e);if(e!==i){i=e;var s=(a||[]).concat("content").reduce(function(t,e){return t[e]=r[n].props[e],t},{});t.setProps(Object.assign({},s,{getReferenceClientRect:"function"==typeof s.getReferenceClientRect?s.getReferenceClientRect:function(){return e.getBoundingClientRect()}}))}}u(!1),c();var d={fn:function(){return{onDestroy:function(){u(!0)},onHidden:function(){i=null},onClickOutside:function(t){t.props.showOnCreate&&!p&&(p=!0,i=null)},onShow:function(t){t.props.showOnCreate&&!p&&(p=!0,f(t,o[0]))},onTrigger:function(t,e){f(t,e.currentTarget)}}}},m=nt(b(),Object.assign({},v(e,["overrides"]),{plugins:[d].concat(e.plugins||[]),triggerTarget:o,popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat((null==(n=e.popperOptions)?void 0:n.modifiers)||[],[it])})})),h=m.show;m.show=function(t){if(h(),!i&&null==t)return f(m,o[0]);if(!i||null!=t){if("number"==typeof t)return o[t]&&f(m,o[t]);if(r.includes(t)){var e=t.reference;return f(m,e)}return o.includes(t)?f(m,t):void 0}},m.showNext=function(){var t=o[0];if(!i)return m.show(0);var e=o.indexOf(i);m.show(o[e+1]||t)},m.showPrevious=function(){var t=o[o.length-1];if(!i)return m.show(t);var e=o.indexOf(i),n=o[e-1]||t;m.show(n)};var g=m.setProps;return m.setProps=function(t){a=t.overrides||a,g(t)},m.setInstances=function(t){u(!0),s.forEach(function(t){return t()}),r=t,u(!1),c(),l(m),m.setProps({triggerTarget:o})},s=l(m),m},nt.delegate=function(t,e){H(!(e&&e.target),["You must specity a `target` prop indicating a CSS selector string matching","the target elements that should receive a tippy."].join(" "));var n=[],i=[],r=!1,o=e.target,a=v(e,["target"]),s=Object.assign({},a,{trigger:"manual",touch:!1}),p=Object.assign({},a,{showOnCreate:!0}),u=nt(t,s);function l(t){if(t.target&&!r){var n=t.target.closest(o);if(n){var a=n.getAttribute("data-tippy-trigger")||e.trigger||F.trigger;if(!n._tippy&&!("touchstart"===t.type&&"boolean"==typeof p.touch||"touchstart"!==t.type&&a.indexOf(rt[t.type])<0)){var s=nt(n,p);s&&(i=i.concat(s))}}}}function f(t,e,i,r){void 0===r&&(r=!1),t.addEventListener(e,i,r),n.push({node:t,eventType:e,handler:i,options:r})}return m(u).forEach(function(t){var e=t.destroy,o=t.enable,a=t.disable;t.destroy=function(t){void 0===t&&(t=!0),t&&i.forEach(function(t){t.destroy()}),i=[],n.forEach(function(t){var e=t.node,n=t.eventType,i=t.handler,r=t.options;e.removeEventListener(n,i,r)}),n=[],e()},t.enable=function(){o(),i.forEach(function(t){return t.enable()}),r=!1},t.disable=function(){a(),i.forEach(function(t){return t.disable()}),r=!0},function(t){var e=t.reference;f(e,"touchstart",l,c),f(e,"mouseover",l),f(e,"focusin",l),f(e,"click",l)}(t)}),u},nt.hideAll=function(t){var e=void 0===t?{}:t,n=e.exclude,i=e.duration;tt.forEach(function(t){var e=!1;if(n&&(e=E(n)?t.reference===n:t.popper===n.popper),!e){var r=t.props.duration;t.setProps({duration:i}),t.hide(),t.state.isDestroyed||t.setProps({duration:r})}})},nt.roundArrow='
',nt});