@qubit-ltd/json 1.2.2 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/json.cjs +188 -20
  2. package/dist/json.cjs.map +1 -1
  3. package/dist/json.min.cjs +1 -1
  4. package/dist/json.min.cjs.map +1 -1
  5. package/dist/json.min.mjs +1 -1
  6. package/dist/json.min.mjs.map +1 -1
  7. package/dist/json.mjs +188 -20
  8. package/dist/json.mjs.map +1 -1
  9. package/doc/api/Json.html +42 -0
  10. package/doc/api/LosslessNumber.html +3 -3
  11. package/doc/api/data/search.json +1 -1
  12. package/doc/api/global.html +3 -3
  13. package/doc/api/index.html +4 -4
  14. package/doc/api/scripts/core.js +719 -726
  15. package/doc/api/scripts/core.min.js +23 -23
  16. package/doc/api/scripts/resize.js +90 -90
  17. package/doc/api/scripts/search.js +267 -265
  18. package/doc/api/scripts/search.min.js +5 -5
  19. package/doc/api/scripts/third-party/Apache-License-2.0.txt +202 -202
  20. package/doc/api/scripts/third-party/fuse.js +1749 -9
  21. package/doc/api/scripts/third-party/hljs-line-num-original.js +367 -369
  22. package/doc/api/scripts/third-party/hljs-line-num.js +1 -1
  23. package/doc/api/scripts/third-party/hljs-original.js +5260 -5171
  24. package/doc/api/scripts/third-party/hljs.js +1 -1
  25. package/doc/api/scripts/third-party/popper.js +1287 -5
  26. package/doc/api/scripts/third-party/tippy.js +1499 -1
  27. package/doc/api/scripts/third-party/tocbot.js +757 -672
  28. package/doc/api/scripts/third-party/tocbot.min.js +1 -1
  29. package/doc/api/styles/clean-jsdoc-theme-base.css +1257 -1159
  30. package/doc/api/styles/clean-jsdoc-theme-dark.css +412 -412
  31. package/doc/api/styles/clean-jsdoc-theme-light.css +482 -482
  32. package/doc/api/styles/clean-jsdoc-theme-scrollbar.css +29 -29
  33. package/doc/api/styles/clean-jsdoc-theme-without-scrollbar.min.css +1 -1
  34. package/doc/api/styles/clean-jsdoc-theme.min.css +1 -1
  35. package/doc/json.min.visualization.html +15 -15
  36. package/doc/json.visualization.html +15 -15
  37. package/package.json +20 -20
@@ -1 +1,1499 @@
1
- !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&&!!window.msCrypto,r={passive:!0,capture:!0},o=function(){return document.body};function i(t,e,n){if(Array.isArray(t)){var r=t[e];return null==r?Array.isArray(n)?n[e]:n:r}return t}function a(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function s(t,e){return"function"==typeof t?t.apply(void 0,e):t}function u(t,e){return 0===e?t:function(r){clearTimeout(n),n=setTimeout((function(){t(r)}),e)};var n}function p(t,e){var n=Object.assign({},t);return e.forEach((function(t){delete n[t]})),n}function c(t){return[].concat(t)}function f(t,e){-1===t.indexOf(e)&&t.push(e)}function l(t){return t.split("-")[0]}function d(t){return[].slice.call(t)}function v(t){return Object.keys(t).reduce((function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e}),{})}function m(){return document.createElement("div")}function g(t){return["Element","Fragment"].some((function(e){return a(t,e)}))}function h(t){return a(t,"MouseEvent")}function b(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function y(t){return g(t)?[t]:function(t){return a(t,"NodeList")}(t)?d(t):Array.isArray(t)?t:d(document.querySelectorAll(t))}function w(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function x(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function E(t){var e,n=c(t)[0];return null!=n&&null!=(e=n.ownerDocument)&&e.body?n.ownerDocument:document}function O(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[r](e,n)}))}function C(t,e){for(var n=e;n;){var r;if(t.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var T={isTouch:!1},A=0;function L(){T.isTouch||(T.isTouch=!0,window.performance&&document.addEventListener("mousemove",D))}function D(){var t=performance.now();t-A<20&&(T.isTouch=!1,document.removeEventListener("mousemove",D)),A=t}function k(){var t=document.activeElement;if(b(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}var R=Object.assign({appendTo:o,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},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),P=Object.keys(R);function j(t){var e=(t.plugins||[]).reduce((function(e,n){var r,o=n.name,i=n.defaultValue;o&&(e[o]=void 0!==t[o]?t[o]:null!=(r=R[o])?r:i);return e}),{});return Object.assign({},t,e)}function M(t,e){var n=Object.assign({},e,{content:s(e.content,[t])},e.ignoreAttributes?{}:function(t,e){return(e?Object.keys(j(Object.assign({},R,{plugins:e}))):P).reduce((function(e,n){var r=(t.getAttribute("data-tippy-"+n)||"").trim();if(!r)return e;if("content"===n)e[n]=r;else try{e[n]=JSON.parse(r)}catch(t){e[n]=r}return e}),{})}(t,e.plugins));return n.aria=Object.assign({},R.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 V(t,e){t.innerHTML=e}function I(t){var e=m();return!0===t?e.className="tippy-arrow":(e.className="tippy-svg-arrow",g(t)?e.appendChild(t):V(e,t)),e}function S(t,e){g(e.content)?(V(t,""),t.appendChild(e.content)):"function"!=typeof e.content&&(e.allowHTML?V(t,e.content):t.textContent=e.content)}function B(t){var e=t.firstElementChild,n=d(e.children);return{box:e,content:n.find((function(t){return t.classList.contains("tippy-content")})),arrow:n.find((function(t){return t.classList.contains("tippy-arrow")||t.classList.contains("tippy-svg-arrow")})),backdrop:n.find((function(t){return t.classList.contains("tippy-backdrop")}))}}function N(t){var e=m(),n=m();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=m();function o(n,r){var o=B(e),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||S(a,t.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(I(r.arrow))):i.appendChild(I(r.arrow)):s&&i.removeChild(s)}return r.className="tippy-content",r.setAttribute("data-state","hidden"),S(r,t.props),e.appendChild(n),n.appendChild(r),o(t.props,t.props),{popper:e,onUpdate:o}}N.$$tippy=!0;var H=1,U=[],_=[];function z(e,a){var p,g,b,y,A,L,D,k,P=M(e,Object.assign({},R,j(v(a)))),V=!1,I=!1,S=!1,N=!1,z=[],F=u(wt,P.interactiveDebounce),W=H++,X=(k=P.plugins).filter((function(t,e){return k.indexOf(t)===e})),Y={id:W,reference:e,popper:m(),popperInstance:null,props:P,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:X,clearDelayTimeouts:function(){clearTimeout(p),clearTimeout(g),cancelAnimationFrame(b)},setProps:function(t){if(Y.state.isDestroyed)return;at("onBeforeUpdate",[Y,t]),bt();var n=Y.props,r=M(e,Object.assign({},n,v(t),{ignoreAttributes:!0}));Y.props=r,ht(),n.interactiveDebounce!==r.interactiveDebounce&&(pt(),F=u(wt,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?c(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");ut(),it(),J&&J(n,r);Y.popperInstance&&(Ct(),At().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)})));at("onAfterUpdate",[Y,t])},setContent:function(t){Y.setProps({content:t})},show:function(){var t=Y.state.isVisible,e=Y.state.isDestroyed,n=!Y.state.isEnabled,r=T.isTouch&&!Y.props.touch,a=i(Y.props.duration,0,R.duration);if(t||e||n||r)return;if(et().hasAttribute("disabled"))return;if(at("onShow",[Y],!1),!1===Y.props.onShow(Y))return;Y.state.isVisible=!0,tt()&&($.style.visibility="visible");it(),dt(),Y.state.isMounted||($.style.transition="none");if(tt()){var u=rt(),p=u.box,c=u.content;w([p,c],0)}L=function(){var t;if(Y.state.isVisible&&!N){if(N=!0,$.offsetHeight,$.style.transition=Y.props.moveTransition,tt()&&Y.props.animation){var e=rt(),n=e.box,r=e.content;w([n,r],a),x([n,r],"visible")}st(),ut(),f(_,Y),null==(t=Y.popperInstance)||t.forceUpdate(),at("onMount",[Y]),Y.props.animation&&tt()&&function(t,e){mt(t,e)}(a,(function(){Y.state.isShown=!0,at("onShown",[Y])}))}},function(){var t,e=Y.props.appendTo,n=et();t=Y.props.interactive&&e===o||"parent"===e?n.parentNode:s(e,[n]);t.contains($)||t.appendChild($);Y.state.isMounted=!0,Ct()}()},hide:function(){var t=!Y.state.isVisible,e=Y.state.isDestroyed,n=!Y.state.isEnabled,r=i(Y.props.duration,1,R.duration);if(t||e||n)return;if(at("onHide",[Y],!1),!1===Y.props.onHide(Y))return;Y.state.isVisible=!1,Y.state.isShown=!1,N=!1,V=!1,tt()&&($.style.visibility="hidden");if(pt(),vt(),it(!0),tt()){var o=rt(),a=o.box,s=o.content;Y.props.animation&&(w([a,s],r),x([a,s],"hidden"))}st(),ut(),Y.props.animation?tt()&&function(t,e){mt(t,(function(){!Y.state.isVisible&&$.parentNode&&$.parentNode.contains($)&&e()}))}(r,Y.unmount):Y.unmount()},hideWithInteractivity:function(t){nt().addEventListener("mousemove",F),f(U,F),F(t)},enable:function(){Y.state.isEnabled=!0},disable:function(){Y.hide(),Y.state.isEnabled=!1},unmount:function(){Y.state.isVisible&&Y.hide();if(!Y.state.isMounted)return;Tt(),At().forEach((function(t){t._tippy.unmount()})),$.parentNode&&$.parentNode.removeChild($);_=_.filter((function(t){return t!==Y})),Y.state.isMounted=!1,at("onHidden",[Y])},destroy:function(){if(Y.state.isDestroyed)return;Y.clearDelayTimeouts(),Y.unmount(),bt(),delete e._tippy,Y.state.isDestroyed=!0,at("onDestroy",[Y])}};if(!P.render)return Y;var q=P.render(Y),$=q.popper,J=q.onUpdate;$.setAttribute("data-tippy-root",""),$.id="tippy-"+Y.id,Y.popper=$,e._tippy=Y,$._tippy=Y;var G=X.map((function(t){return t.fn(Y)})),K=e.hasAttribute("aria-expanded");return ht(),ut(),it(),at("onCreate",[Y]),P.showOnCreate&&Lt(),$.addEventListener("mouseenter",(function(){Y.props.interactive&&Y.state.isVisible&&Y.clearDelayTimeouts()})),$.addEventListener("mouseleave",(function(){Y.props.interactive&&Y.props.trigger.indexOf("mouseenter")>=0&&nt().addEventListener("mousemove",F)})),Y;function Q(){var t=Y.props.touch;return Array.isArray(t)?t:[t,0]}function Z(){return"hold"===Q()[0]}function tt(){var t;return!(null==(t=Y.props.render)||!t.$$tippy)}function et(){return D||e}function nt(){var t=et().parentNode;return t?E(t):document}function rt(){return B($)}function ot(t){return Y.state.isMounted&&!Y.state.isVisible||T.isTouch||y&&"focus"===y.type?0:i(Y.props.delay,t?0:1,R.delay)}function it(t){void 0===t&&(t=!1),$.style.pointerEvents=Y.props.interactive&&!t?"":"none",$.style.zIndex=""+Y.props.zIndex}function at(t,e,n){var r;(void 0===n&&(n=!0),G.forEach((function(n){n[t]&&n[t].apply(n,e)})),n)&&(r=Y.props)[t].apply(r,e)}function st(){var t=Y.props.aria;if(t.content){var n="aria-"+t.content,r=$.id;c(Y.props.triggerTarget||e).forEach((function(t){var e=t.getAttribute(n);if(Y.state.isVisible)t.setAttribute(n,e?e+" "+r:r);else{var o=e&&e.replace(r,"").trim();o?t.setAttribute(n,o):t.removeAttribute(n)}}))}}function ut(){!K&&Y.props.aria.expanded&&c(Y.props.triggerTarget||e).forEach((function(t){Y.props.interactive?t.setAttribute("aria-expanded",Y.state.isVisible&&t===et()?"true":"false"):t.removeAttribute("aria-expanded")}))}function pt(){nt().removeEventListener("mousemove",F),U=U.filter((function(t){return t!==F}))}function ct(t){if(!T.isTouch||!S&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!Y.props.interactive||!C($,n)){if(c(Y.props.triggerTarget||e).some((function(t){return C(t,n)}))){if(T.isTouch)return;if(Y.state.isVisible&&Y.props.trigger.indexOf("click")>=0)return}else at("onClickOutside",[Y,t]);!0===Y.props.hideOnClick&&(Y.clearDelayTimeouts(),Y.hide(),I=!0,setTimeout((function(){I=!1})),Y.state.isMounted||vt())}}}function ft(){S=!0}function lt(){S=!1}function dt(){var t=nt();t.addEventListener("mousedown",ct,!0),t.addEventListener("touchend",ct,r),t.addEventListener("touchstart",lt,r),t.addEventListener("touchmove",ft,r)}function vt(){var t=nt();t.removeEventListener("mousedown",ct,!0),t.removeEventListener("touchend",ct,r),t.removeEventListener("touchstart",lt,r),t.removeEventListener("touchmove",ft,r)}function mt(t,e){var n=rt().box;function r(t){t.target===n&&(O(n,"remove",r),e())}if(0===t)return e();O(n,"remove",A),O(n,"add",r),A=r}function gt(t,n,r){void 0===r&&(r=!1),c(Y.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),z.push({node:e,eventType:t,handler:n,options:r})}))}function ht(){var t;Z()&&(gt("touchstart",yt,{passive:!0}),gt("touchend",xt,{passive:!0})),(t=Y.props.trigger,t.split(/\s+/).filter(Boolean)).forEach((function(t){if("manual"!==t)switch(gt(t,yt),t){case"mouseenter":gt("mouseleave",xt);break;case"focus":gt(n?"focusout":"blur",Et);break;case"focusin":gt("focusout",Et)}}))}function bt(){z.forEach((function(t){var e=t.node,n=t.eventType,r=t.handler,o=t.options;e.removeEventListener(n,r,o)})),z=[]}function yt(t){var e,n=!1;if(Y.state.isEnabled&&!Ot(t)&&!I){var r="focus"===(null==(e=y)?void 0:e.type);y=t,D=t.currentTarget,ut(),!Y.state.isVisible&&h(t)&&U.forEach((function(e){return e(t)})),"click"===t.type&&(Y.props.trigger.indexOf("mouseenter")<0||V)&&!1!==Y.props.hideOnClick&&Y.state.isVisible?n=!0:Lt(t),"click"===t.type&&(V=!n),n&&!r&&Dt(t)}}function wt(t){var e=t.target,n=et().contains(e)||$.contains(e);"mousemove"===t.type&&n||function(t,e){var n=e.clientX,r=e.clientY;return t.every((function(t){var e=t.popperRect,o=t.popperState,i=t.props.interactiveBorder,a=l(o.placement),s=o.modifiersData.offset;if(!s)return!0;var u="bottom"===a?s.top.y:0,p="top"===a?s.bottom.y:0,c="right"===a?s.left.x:0,f="left"===a?s.right.x:0,d=e.top-r+u>i,v=r-e.bottom-p>i,m=e.left-n+c>i,g=n-e.right-f>i;return d||v||m||g}))}(At().concat($).map((function(t){var e,n=null==(e=t._tippy.popperInstance)?void 0:e.state;return n?{popperRect:t.getBoundingClientRect(),popperState:n,props:P}:null})).filter(Boolean),t)&&(pt(),Dt(t))}function xt(t){Ot(t)||Y.props.trigger.indexOf("click")>=0&&V||(Y.props.interactive?Y.hideWithInteractivity(t):Dt(t))}function Et(t){Y.props.trigger.indexOf("focusin")<0&&t.target!==et()||Y.props.interactive&&t.relatedTarget&&$.contains(t.relatedTarget)||Dt(t)}function Ot(t){return!!T.isTouch&&Z()!==t.type.indexOf("touch")>=0}function Ct(){Tt();var n=Y.props,r=n.popperOptions,o=n.placement,i=n.offset,a=n.getReferenceClientRect,s=n.moveTransition,u=tt()?B($).arrow:null,p=a?{getBoundingClientRect:a,contextElement:a.contextElement||et()}:e,c=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(tt()){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={}}}}];tt()&&u&&c.push({name:"arrow",options:{element:u,padding:3}}),c.push.apply(c,(null==r?void 0:r.modifiers)||[]),Y.popperInstance=t.createPopper(p,$,Object.assign({},r,{placement:o,onFirstUpdate:L,modifiers:c}))}function Tt(){Y.popperInstance&&(Y.popperInstance.destroy(),Y.popperInstance=null)}function At(){return d($.querySelectorAll("[data-tippy-root]"))}function Lt(t){Y.clearDelayTimeouts(),t&&at("onTrigger",[Y,t]),dt();var e=ot(!0),n=Q(),r=n[0],o=n[1];T.isTouch&&"hold"===r&&o&&(e=o),e?p=setTimeout((function(){Y.show()}),e):Y.show()}function Dt(t){if(Y.clearDelayTimeouts(),at("onUntrigger",[Y,t]),Y.state.isVisible){if(!(Y.props.trigger.indexOf("mouseenter")>=0&&Y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(t.type)>=0&&V)){var e=ot(!1);e?g=setTimeout((function(){Y.state.isVisible&&Y.hide()}),e):b=requestAnimationFrame((function(){Y.hide()}))}}else vt()}}function F(t,e){void 0===e&&(e={});var n=R.plugins.concat(e.plugins||[]);document.addEventListener("touchstart",L,r),window.addEventListener("blur",k);var o=Object.assign({},e,{plugins:n}),i=y(t).reduce((function(t,e){var n=e&&z(e,o);return n&&t.push(n),t}),[]);return g(t)?i[0]:i}F.defaultProps=R,F.setDefaultProps=function(t){Object.keys(t).forEach((function(e){R[e]=t[e]}))},F.currentInput=T;var W=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)}}),X={mouseover:"mouseenter",focusin:"focus",click:"click"};var Y={name:"animateFill",defaultValue:!1,fn:function(t){var e;if(null==(e=t.props.render)||!e.$$tippy)return{};var n=B(t.popper),r=n.box,o=n.content,i=t.props.animateFill?function(){var t=m();return t.className="tippy-backdrop",x([t],"hidden"),t}():null;return{onCreate:function(){i&&(r.insertBefore(i,r.firstElementChild),r.setAttribute("data-animatefill",""),r.style.overflow="hidden",t.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(i){var t=r.style.transitionDuration,e=Number(t.replace("ms",""));o.style.transitionDelay=Math.round(e/10)+"ms",i.style.transitionDuration=t,x([i],"visible")}},onShow:function(){i&&(i.style.transitionDuration="0ms")},onHide:function(){i&&x([i],"hidden")}}}};var q={clientX:0,clientY:0},$=[];function J(t){var e=t.clientX,n=t.clientY;q={clientX:e,clientY:n}}var G={name:"followCursor",defaultValue:!1,fn:function(t){var e=t.reference,n=E(t.props.triggerTarget||e),r=!1,o=!1,i=!0,a=t.props;function s(){return"initial"===t.props.followCursor&&t.state.isVisible}function u(){n.addEventListener("mousemove",f)}function p(){n.removeEventListener("mousemove",f)}function c(){r=!0,t.setProps({getReferenceClientRect:null}),r=!1}function f(n){var r=!n.target||e.contains(n.target),o=t.props.followCursor,i=n.clientX,a=n.clientY,s=e.getBoundingClientRect(),u=i-s.left,p=a-s.top;!r&&t.props.interactive||t.setProps({getReferenceClientRect:function(){var t=e.getBoundingClientRect(),n=i,r=a;"initial"===o&&(n=t.left+u,r=t.top+p);var s="horizontal"===o?t.top:r,c="vertical"===o?t.right:n,f="horizontal"===o?t.bottom:r,l="vertical"===o?t.left:n;return{width:c-l,height:f-s,top:s,right:c,bottom:f,left:l}}})}function l(){t.props.followCursor&&($.push({instance:t,doc:n}),function(t){t.addEventListener("mousemove",J)}(n))}function d(){0===($=$.filter((function(e){return e.instance!==t}))).filter((function(t){return t.doc===n})).length&&function(t){t.removeEventListener("mousemove",J)}(n)}return{onCreate:l,onDestroy:d,onBeforeUpdate:function(){a=t.props},onAfterUpdate:function(e,n){var i=n.followCursor;r||void 0!==i&&a.followCursor!==i&&(d(),i?(l(),!t.state.isMounted||o||s()||u()):(p(),c()))},onMount:function(){t.props.followCursor&&!o&&(i&&(f(q),i=!1),s()||u())},onTrigger:function(t,e){h(e)&&(q={clientX:e.clientX,clientY:e.clientY}),o="focus"===e.type},onHidden:function(){t.props.followCursor&&(c(),p(),i=!0)}}}};var K={name:"inlinePositioning",defaultValue:!1,fn:function(t){var e,n=t.reference;var r=-1,o=!1,i=[],a={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(o){var a=o.state;t.props.inlinePositioning&&(-1!==i.indexOf(a.placement)&&(i=[]),e!==a.placement&&-1===i.indexOf(a.placement)&&(i.push(a.placement),t.setProps({getReferenceClientRect:function(){return function(t){return function(t,e,n,r){if(n.length<2||null===t)return e;if(2===n.length&&r>=0&&n[0].left>n[1].right)return n[r]||e;switch(t){case"top":case"bottom":var o=n[0],i=n[n.length-1],a="top"===t,s=o.top,u=i.bottom,p=a?o.left:i.left,c=a?o.right:i.right;return{top:s,bottom:u,left:p,right:c,width:c-p,height:u-s};case"left":case"right":var f=Math.min.apply(Math,n.map((function(t){return t.left}))),l=Math.max.apply(Math,n.map((function(t){return t.right}))),d=n.filter((function(e){return"left"===t?e.left===f:e.right===l})),v=d[0].top,m=d[d.length-1].bottom;return{top:v,bottom:m,left:f,right:l,width:l-f,height:m-v};default:return e}}(l(t),n.getBoundingClientRect(),d(n.getClientRects()),r)}(a.placement)}})),e=a.placement)}};function s(){var e;o||(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,a),o=!0,t.setProps(e),o=!1)}return{onCreate:s,onAfterUpdate:s,onTrigger:function(e,n){if(h(n)){var o=d(t.reference.getClientRects()),i=o.find((function(t){return t.left-2<=n.clientX&&t.right+2>=n.clientX&&t.top-2<=n.clientY&&t.bottom+2>=n.clientY})),a=o.indexOf(i);r=a>-1?a:r}},onHidden:function(){r=-1}}}};var Q={name:"sticky",defaultValue:!1,fn:function(t){var e=t.reference,n=t.popper;function r(e){return!0===t.props.sticky||t.props.sticky===e}var o=null,i=null;function a(){var s=r("reference")?(t.popperInstance?t.popperInstance.state.elements.reference:e).getBoundingClientRect():null,u=r("popper")?n.getBoundingClientRect():null;(s&&Z(o,s)||u&&Z(i,u))&&t.popperInstance&&t.popperInstance.update(),o=s,i=u,t.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){t.props.sticky&&a()}}}};function Z(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,r=document.querySelector("head>style,head>link");r?n.insertBefore(e,r):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;white-space:normal;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}'),F.setDefaultProps({plugins:[Y,G,K,Q],render:N}),F.createSingleton=function(t,e){var n;void 0===e&&(e={});var r,o=t,i=[],a=[],s=e.overrides,u=[],f=!1;function l(){a=o.map((function(t){return c(t.props.triggerTarget||t.reference)})).reduce((function(t,e){return t.concat(e)}),[])}function d(){i=o.map((function(t){return t.reference}))}function v(t){o.forEach((function(e){t?e.enable():e.disable()}))}function g(t){return o.map((function(e){var n=e.setProps;return e.setProps=function(o){n(o),e.reference===r&&t.setProps(o)},function(){e.setProps=n}}))}function h(t,e){var n=a.indexOf(e);if(e!==r){r=e;var u=(s||[]).concat("content").reduce((function(t,e){return t[e]=o[n].props[e],t}),{});t.setProps(Object.assign({},u,{getReferenceClientRect:"function"==typeof u.getReferenceClientRect?u.getReferenceClientRect:function(){var t;return null==(t=i[n])?void 0:t.getBoundingClientRect()}}))}}v(!1),d(),l();var b={fn:function(){return{onDestroy:function(){v(!0)},onHidden:function(){r=null},onClickOutside:function(t){t.props.showOnCreate&&!f&&(f=!0,r=null)},onShow:function(t){t.props.showOnCreate&&!f&&(f=!0,h(t,i[0]))},onTrigger:function(t,e){h(t,e.currentTarget)}}}},y=F(m(),Object.assign({},p(e,["overrides"]),{plugins:[b].concat(e.plugins||[]),triggerTarget:a,popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat((null==(n=e.popperOptions)?void 0:n.modifiers)||[],[W])})})),w=y.show;y.show=function(t){if(w(),!r&&null==t)return h(y,i[0]);if(!r||null!=t){if("number"==typeof t)return i[t]&&h(y,i[t]);if(o.indexOf(t)>=0){var e=t.reference;return h(y,e)}return i.indexOf(t)>=0?h(y,t):void 0}},y.showNext=function(){var t=i[0];if(!r)return y.show(0);var e=i.indexOf(r);y.show(i[e+1]||t)},y.showPrevious=function(){var t=i[i.length-1];if(!r)return y.show(t);var e=i.indexOf(r),n=i[e-1]||t;y.show(n)};var x=y.setProps;return y.setProps=function(t){s=t.overrides||s,x(t)},y.setInstances=function(t){v(!0),u.forEach((function(t){return t()})),o=t,v(!1),d(),l(),u=g(y),y.setProps({triggerTarget:a})},u=g(y),y},F.delegate=function(t,e){var n=[],o=[],i=!1,a=e.target,s=p(e,["target"]),u=Object.assign({},s,{trigger:"manual",touch:!1}),f=Object.assign({touch:R.touch},s,{showOnCreate:!0}),l=F(t,u);function d(t){if(t.target&&!i){var n=t.target.closest(a);if(n){var r=n.getAttribute("data-tippy-trigger")||e.trigger||R.trigger;if(!n._tippy&&!("touchstart"===t.type&&"boolean"==typeof f.touch||"touchstart"!==t.type&&r.indexOf(X[t.type])<0)){var s=F(n,f);s&&(o=o.concat(s))}}}}function v(t,e,r,o){void 0===o&&(o=!1),t.addEventListener(e,r,o),n.push({node:t,eventType:e,handler:r,options:o})}return c(l).forEach((function(t){var e=t.destroy,a=t.enable,s=t.disable;t.destroy=function(t){void 0===t&&(t=!0),t&&o.forEach((function(t){t.destroy()})),o=[],n.forEach((function(t){var e=t.node,n=t.eventType,r=t.handler,o=t.options;e.removeEventListener(n,r,o)})),n=[],e()},t.enable=function(){a(),o.forEach((function(t){return t.enable()})),i=!1},t.disable=function(){s(),o.forEach((function(t){return t.disable()})),i=!0},function(t){var e=t.reference;v(e,"touchstart",d,r),v(e,"mouseover",d),v(e,"focusin",d),v(e,"click",d)}(t)})),l},F.hideAll=function(t){var e=void 0===t?{}:t,n=e.exclude,r=e.duration;_.forEach((function(t){var e=!1;if(n&&(e=b(n)?t.reference===n:t.popper===n.popper),!e){var o=t.props.duration;t.setProps({duration:r}),t.hide(),t.state.isDestroyed||t.setProps({duration:o})}}))},F.roundArrow='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',F}));
1
+ !(function (t, e) {
2
+ typeof exports == "object" && typeof module != "undefined"
3
+ ? (module.exports = e(require("@popperjs/core")))
4
+ : typeof define == "function" && define.amd
5
+ ? define(["@popperjs/core"], e)
6
+ : ((t = t || self).tippy = e(t.Popper));
7
+ })(this, function (t) {
8
+ var e = typeof window != "undefined" && typeof document != "undefined",
9
+ n = Boolean(e) && Boolean(window.msCrypto),
10
+ r = { passive: !0, capture: !0 },
11
+ o = function () {
12
+ return document.body;
13
+ };
14
+ function i(t, e, n) {
15
+ if (Array.isArray(t)) {
16
+ var r = t[e];
17
+ return r == null ? (Array.isArray(n) ? n[e] : n) : r;
18
+ }
19
+ return t;
20
+ }
21
+ function a(t, e) {
22
+ var n = {}.toString.call(t);
23
+ return n.indexOf("[object") === 0 && n.indexOf(e + "]") > -1;
24
+ }
25
+ function s(t, e) {
26
+ return typeof t == "function" ? t.apply(void 0, e) : t;
27
+ }
28
+ function u(t, e) {
29
+ return e === 0
30
+ ? t
31
+ : function (r) {
32
+ clearTimeout(n),
33
+ (n = setTimeout(function () {
34
+ t(r);
35
+ }, e));
36
+ };
37
+ var n;
38
+ }
39
+ function p(t, e) {
40
+ var n = Object.assign({}, t);
41
+ return (
42
+ e.forEach(function (t) {
43
+ delete n[t];
44
+ }),
45
+ n
46
+ );
47
+ }
48
+ function c(t) {
49
+ return [].concat(t);
50
+ }
51
+ function f(t, e) {
52
+ t.indexOf(e) === -1 && t.push(e);
53
+ }
54
+ function l(t) {
55
+ return t.split("-")[0];
56
+ }
57
+ function d(t) {
58
+ return [].slice.call(t);
59
+ }
60
+ function v(t) {
61
+ return Object.keys(t).reduce(function (e, n) {
62
+ return void 0 !== t[n] && (e[n] = t[n]), e;
63
+ }, {});
64
+ }
65
+ function m() {
66
+ return document.createElement("div");
67
+ }
68
+ function g(t) {
69
+ return ["Element", "Fragment"].some(function (e) {
70
+ return a(t, e);
71
+ });
72
+ }
73
+ function h(t) {
74
+ return a(t, "MouseEvent");
75
+ }
76
+ function b(t) {
77
+ return !(!t || !t._tippy || t._tippy.reference !== t);
78
+ }
79
+ function y(t) {
80
+ return g(t)
81
+ ? [t]
82
+ : (function (t) {
83
+ return a(t, "NodeList");
84
+ })(t)
85
+ ? d(t)
86
+ : Array.isArray(t)
87
+ ? t
88
+ : d(document.querySelectorAll(t));
89
+ }
90
+ function w(t, e) {
91
+ t.forEach(function (t) {
92
+ t && (t.style.transitionDuration = e + "ms");
93
+ });
94
+ }
95
+ function x(t, e) {
96
+ t.forEach(function (t) {
97
+ t && t.setAttribute("data-state", e);
98
+ });
99
+ }
100
+ function E(t) {
101
+ var e,
102
+ n = c(t)[0];
103
+ return n != null && (e = n.ownerDocument) != null && e.body
104
+ ? n.ownerDocument
105
+ : document;
106
+ }
107
+ function O(t, e, n) {
108
+ var r = e + "EventListener";
109
+ ["transitionend", "webkitTransitionEnd"].forEach(function (e) {
110
+ t[r](e, n);
111
+ });
112
+ }
113
+ function C(t, e) {
114
+ for (var n = e; n; ) {
115
+ var r;
116
+ if (t.contains(n)) return !0;
117
+ n =
118
+ n.getRootNode == null || (r = n.getRootNode()) == null
119
+ ? void 0
120
+ : r.host;
121
+ }
122
+ return !1;
123
+ }
124
+ var T = { isTouch: !1 },
125
+ A = 0;
126
+ function L() {
127
+ T.isTouch ||
128
+ ((T.isTouch = !0),
129
+ window.performance && document.addEventListener("mousemove", D));
130
+ }
131
+ function D() {
132
+ var t = performance.now();
133
+ t - A < 20 &&
134
+ ((T.isTouch = !1), document.removeEventListener("mousemove", D)),
135
+ (A = t);
136
+ }
137
+ function k() {
138
+ var t = document.activeElement;
139
+ if (b(t)) {
140
+ var e = t._tippy;
141
+ t.blur && !e.state.isVisible && t.blur();
142
+ }
143
+ }
144
+ var R = Object.assign(
145
+ {
146
+ appendTo: o,
147
+ aria: { content: "auto", expanded: "auto" },
148
+ delay: 0,
149
+ duration: [300, 250],
150
+ getReferenceClientRect: null,
151
+ hideOnClick: !0,
152
+ ignoreAttributes: !1,
153
+ interactive: !1,
154
+ interactiveBorder: 2,
155
+ interactiveDebounce: 0,
156
+ moveTransition: "",
157
+ offset: [0, 10],
158
+ onAfterUpdate: function () {},
159
+ onBeforeUpdate: function () {},
160
+ onCreate: function () {},
161
+ onDestroy: function () {},
162
+ onHidden: function () {},
163
+ onHide: function () {},
164
+ onMount: function () {},
165
+ onShow: function () {},
166
+ onShown: function () {},
167
+ onTrigger: function () {},
168
+ onUntrigger: function () {},
169
+ onClickOutside: function () {},
170
+ placement: "top",
171
+ plugins: [],
172
+ popperOptions: {},
173
+ render: null,
174
+ showOnCreate: !1,
175
+ touch: !0,
176
+ trigger: "mouseenter focus",
177
+ triggerTarget: null,
178
+ },
179
+ { animateFill: !1, followCursor: !1, inlinePositioning: !1, sticky: !1 },
180
+ {
181
+ allowHTML: !1,
182
+ animation: "fade",
183
+ arrow: !0,
184
+ content: "",
185
+ inertia: !1,
186
+ maxWidth: 350,
187
+ role: "tooltip",
188
+ theme: "",
189
+ zIndex: 9999,
190
+ }
191
+ ),
192
+ P = Object.keys(R);
193
+ function j(t) {
194
+ var e = (t.plugins || []).reduce(function (e, n) {
195
+ var r,
196
+ o = n.name,
197
+ i = n.defaultValue;
198
+ o && (e[o] = void 0 !== t[o] ? t[o] : (r = R[o]) != null ? r : i);
199
+ return e;
200
+ }, {});
201
+ return Object.assign({}, t, e);
202
+ }
203
+ function M(t, e) {
204
+ var n = Object.assign(
205
+ {},
206
+ e,
207
+ { content: s(e.content, [t]) },
208
+ e.ignoreAttributes
209
+ ? {}
210
+ : (function (t, e) {
211
+ return (
212
+ e ? Object.keys(j(Object.assign({}, R, { plugins: e }))) : P
213
+ ).reduce(function (e, n) {
214
+ var r = (t.getAttribute("data-tippy-" + n) || "").trim();
215
+ if (!r) return e;
216
+ if (n === "content") e[n] = r;
217
+ else
218
+ try {
219
+ e[n] = JSON.parse(r);
220
+ } catch (t) {
221
+ e[n] = r;
222
+ }
223
+ return e;
224
+ }, {});
225
+ })(t, e.plugins)
226
+ );
227
+ return (
228
+ (n.aria = Object.assign({}, R.aria, n.aria)),
229
+ (n.aria = {
230
+ expanded: n.aria.expanded === "auto" ? e.interactive : n.aria.expanded,
231
+ content:
232
+ n.aria.content === "auto"
233
+ ? e.interactive
234
+ ? null
235
+ : "describedby"
236
+ : n.aria.content,
237
+ }),
238
+ n
239
+ );
240
+ }
241
+ function V(t, e) {
242
+ t.innerHTML = e;
243
+ }
244
+ function I(t) {
245
+ var e = m();
246
+ return (
247
+ !0 === t
248
+ ? (e.className = "tippy-arrow")
249
+ : ((e.className = "tippy-svg-arrow"),
250
+ g(t) ? e.appendChild(t) : V(e, t)),
251
+ e
252
+ );
253
+ }
254
+ function S(t, e) {
255
+ g(e.content)
256
+ ? (V(t, ""), t.appendChild(e.content))
257
+ : typeof e.content != "function" &&
258
+ (e.allowHTML ? V(t, e.content) : (t.textContent = e.content));
259
+ }
260
+ function B(t) {
261
+ var e = t.firstElementChild,
262
+ n = d(e.children);
263
+ return {
264
+ box: e,
265
+ content: n.find(function (t) {
266
+ return t.classList.contains("tippy-content");
267
+ }),
268
+ arrow: n.find(function (t) {
269
+ return (
270
+ t.classList.contains("tippy-arrow") ||
271
+ t.classList.contains("tippy-svg-arrow")
272
+ );
273
+ }),
274
+ backdrop: n.find(function (t) {
275
+ return t.classList.contains("tippy-backdrop");
276
+ }),
277
+ };
278
+ }
279
+ function N(t) {
280
+ var e = m(),
281
+ n = m();
282
+ (n.className = "tippy-box"),
283
+ n.setAttribute("data-state", "hidden"),
284
+ n.setAttribute("tabindex", "-1");
285
+ var r = m();
286
+ function o(n, r) {
287
+ var o = B(e),
288
+ i = o.box,
289
+ a = o.content,
290
+ s = o.arrow;
291
+ r.theme
292
+ ? i.setAttribute("data-theme", r.theme)
293
+ : i.removeAttribute("data-theme"),
294
+ typeof r.animation == "string"
295
+ ? i.setAttribute("data-animation", r.animation)
296
+ : i.removeAttribute("data-animation"),
297
+ r.inertia
298
+ ? i.setAttribute("data-inertia", "")
299
+ : i.removeAttribute("data-inertia"),
300
+ (i.style.maxWidth =
301
+ typeof r.maxWidth == "number" ? r.maxWidth + "px" : r.maxWidth),
302
+ r.role ? i.setAttribute("role", r.role) : i.removeAttribute("role"),
303
+ (n.content === r.content && n.allowHTML === r.allowHTML) ||
304
+ S(a, t.props),
305
+ r.arrow
306
+ ? s
307
+ ? n.arrow !== r.arrow &&
308
+ (i.removeChild(s), i.appendChild(I(r.arrow)))
309
+ : i.appendChild(I(r.arrow))
310
+ : s && i.removeChild(s);
311
+ }
312
+ return (
313
+ (r.className = "tippy-content"),
314
+ r.setAttribute("data-state", "hidden"),
315
+ S(r, t.props),
316
+ e.appendChild(n),
317
+ n.appendChild(r),
318
+ o(t.props, t.props),
319
+ { popper: e, onUpdate: o }
320
+ );
321
+ }
322
+ N.$$tippy = !0;
323
+ var H = 1,
324
+ U = [],
325
+ _ = [];
326
+ function z(e, a) {
327
+ var p,
328
+ g,
329
+ b,
330
+ y,
331
+ A,
332
+ L,
333
+ D,
334
+ k,
335
+ P = M(e, Object.assign({}, R, j(v(a)))),
336
+ V = !1,
337
+ I = !1,
338
+ S = !1,
339
+ N = !1,
340
+ z = [],
341
+ F = u(wt, P.interactiveDebounce),
342
+ W = H++,
343
+ X = (k = P.plugins).filter(function (t, e) {
344
+ return k.indexOf(t) === e;
345
+ }),
346
+ Y = {
347
+ id: W,
348
+ reference: e,
349
+ popper: m(),
350
+ popperInstance: null,
351
+ props: P,
352
+ state: {
353
+ isEnabled: !0,
354
+ isVisible: !1,
355
+ isDestroyed: !1,
356
+ isMounted: !1,
357
+ isShown: !1,
358
+ },
359
+ plugins: X,
360
+ clearDelayTimeouts: function () {
361
+ clearTimeout(p), clearTimeout(g), cancelAnimationFrame(b);
362
+ },
363
+ setProps: function (t) {
364
+ if (Y.state.isDestroyed) return;
365
+ at("onBeforeUpdate", [Y, t]), bt();
366
+ var n = Y.props,
367
+ r = M(e, Object.assign({}, n, v(t), { ignoreAttributes: !0 }));
368
+ (Y.props = r),
369
+ ht(),
370
+ n.interactiveDebounce !== r.interactiveDebounce &&
371
+ (pt(), (F = u(wt, r.interactiveDebounce)));
372
+ n.triggerTarget && !r.triggerTarget
373
+ ? c(n.triggerTarget).forEach(function (t) {
374
+ t.removeAttribute("aria-expanded");
375
+ })
376
+ : r.triggerTarget && e.removeAttribute("aria-expanded");
377
+ ut(), it(), J && J(n, r);
378
+ Y.popperInstance &&
379
+ (Ct(),
380
+ At().forEach(function (t) {
381
+ requestAnimationFrame(t._tippy.popperInstance.forceUpdate);
382
+ }));
383
+ at("onAfterUpdate", [Y, t]);
384
+ },
385
+ setContent: function (t) {
386
+ Y.setProps({ content: t });
387
+ },
388
+ show: function () {
389
+ var t = Y.state.isVisible,
390
+ e = Y.state.isDestroyed,
391
+ n = !Y.state.isEnabled,
392
+ r = T.isTouch && !Y.props.touch,
393
+ a = i(Y.props.duration, 0, R.duration);
394
+ if (t || e || n || r) return;
395
+ if (et().hasAttribute("disabled")) return;
396
+ if ((at("onShow", [Y], !1), !1 === Y.props.onShow(Y))) return;
397
+ (Y.state.isVisible = !0), tt() && ($.style.visibility = "visible");
398
+ it(), dt(), Y.state.isMounted || ($.style.transition = "none");
399
+ if (tt()) {
400
+ var u = rt(),
401
+ p = u.box,
402
+ c = u.content;
403
+ w([p, c], 0);
404
+ }
405
+ (L = function () {
406
+ var t;
407
+ if (Y.state.isVisible && !N) {
408
+ if (
409
+ ((N = !0),
410
+ $.offsetHeight,
411
+ ($.style.transition = Y.props.moveTransition),
412
+ tt() && Y.props.animation)
413
+ ) {
414
+ var e = rt(),
415
+ n = e.box,
416
+ r = e.content;
417
+ w([n, r], a), x([n, r], "visible");
418
+ }
419
+ st(),
420
+ ut(),
421
+ f(_, Y),
422
+ (t = Y.popperInstance) == null || t.forceUpdate(),
423
+ at("onMount", [Y]),
424
+ Y.props.animation &&
425
+ tt() &&
426
+ (function (t, e) {
427
+ mt(t, e);
428
+ })(a, function () {
429
+ (Y.state.isShown = !0), at("onShown", [Y]);
430
+ });
431
+ }
432
+ }),
433
+ (function () {
434
+ var t,
435
+ e = Y.props.appendTo,
436
+ n = et();
437
+ t =
438
+ (Y.props.interactive && e === o) || e === "parent"
439
+ ? n.parentNode
440
+ : s(e, [n]);
441
+ t.contains($) || t.appendChild($);
442
+ (Y.state.isMounted = !0), Ct();
443
+ })();
444
+ },
445
+ hide: function () {
446
+ var t = !Y.state.isVisible,
447
+ e = Y.state.isDestroyed,
448
+ n = !Y.state.isEnabled,
449
+ r = i(Y.props.duration, 1, R.duration);
450
+ if (t || e || n) return;
451
+ if ((at("onHide", [Y], !1), !1 === Y.props.onHide(Y))) return;
452
+ (Y.state.isVisible = !1),
453
+ (Y.state.isShown = !1),
454
+ (N = !1),
455
+ (V = !1),
456
+ tt() && ($.style.visibility = "hidden");
457
+ if ((pt(), vt(), it(!0), tt())) {
458
+ var o = rt(),
459
+ a = o.box,
460
+ s = o.content;
461
+ Y.props.animation && (w([a, s], r), x([a, s], "hidden"));
462
+ }
463
+ st(),
464
+ ut(),
465
+ Y.props.animation
466
+ ? tt() &&
467
+ (function (t, e) {
468
+ mt(t, function () {
469
+ !Y.state.isVisible &&
470
+ $.parentNode &&
471
+ $.parentNode.contains($) &&
472
+ e();
473
+ });
474
+ })(r, Y.unmount)
475
+ : Y.unmount();
476
+ },
477
+ hideWithInteractivity: function (t) {
478
+ nt().addEventListener("mousemove", F), f(U, F), F(t);
479
+ },
480
+ enable: function () {
481
+ Y.state.isEnabled = !0;
482
+ },
483
+ disable: function () {
484
+ Y.hide(), (Y.state.isEnabled = !1);
485
+ },
486
+ unmount: function () {
487
+ Y.state.isVisible && Y.hide();
488
+ if (!Y.state.isMounted) return;
489
+ Tt(),
490
+ At().forEach(function (t) {
491
+ t._tippy.unmount();
492
+ }),
493
+ $.parentNode && $.parentNode.removeChild($);
494
+ (_ = _.filter(function (t) {
495
+ return t !== Y;
496
+ })),
497
+ (Y.state.isMounted = !1),
498
+ at("onHidden", [Y]);
499
+ },
500
+ destroy: function () {
501
+ if (Y.state.isDestroyed) return;
502
+ Y.clearDelayTimeouts(),
503
+ Y.unmount(),
504
+ bt(),
505
+ delete e._tippy,
506
+ (Y.state.isDestroyed = !0),
507
+ at("onDestroy", [Y]);
508
+ },
509
+ };
510
+ if (!P.render) return Y;
511
+ var q = P.render(Y),
512
+ $ = q.popper,
513
+ J = q.onUpdate;
514
+ $.setAttribute("data-tippy-root", ""),
515
+ ($.id = "tippy-" + Y.id),
516
+ (Y.popper = $),
517
+ (e._tippy = Y),
518
+ ($._tippy = Y);
519
+ var G = X.map(function (t) {
520
+ return t.fn(Y);
521
+ }),
522
+ K = e.hasAttribute("aria-expanded");
523
+ return (
524
+ ht(),
525
+ ut(),
526
+ it(),
527
+ at("onCreate", [Y]),
528
+ P.showOnCreate && Lt(),
529
+ $.addEventListener("mouseenter", function () {
530
+ Y.props.interactive && Y.state.isVisible && Y.clearDelayTimeouts();
531
+ }),
532
+ $.addEventListener("mouseleave", function () {
533
+ Y.props.interactive &&
534
+ Y.props.trigger.indexOf("mouseenter") >= 0 &&
535
+ nt().addEventListener("mousemove", F);
536
+ }),
537
+ Y
538
+ );
539
+ function Q() {
540
+ var t = Y.props.touch;
541
+ return Array.isArray(t) ? t : [t, 0];
542
+ }
543
+ function Z() {
544
+ return Q()[0] === "hold";
545
+ }
546
+ function tt() {
547
+ var t;
548
+ return !((t = Y.props.render) == null || !t.$$tippy);
549
+ }
550
+ function et() {
551
+ return D || e;
552
+ }
553
+ function nt() {
554
+ var t = et().parentNode;
555
+ return t ? E(t) : document;
556
+ }
557
+ function rt() {
558
+ return B($);
559
+ }
560
+ function ot(t) {
561
+ return (Y.state.isMounted && !Y.state.isVisible) ||
562
+ T.isTouch ||
563
+ (y && y.type === "focus")
564
+ ? 0
565
+ : i(Y.props.delay, t ? 0 : 1, R.delay);
566
+ }
567
+ function it(t) {
568
+ void 0 === t && (t = !1),
569
+ ($.style.pointerEvents = Y.props.interactive && !t ? "" : "none"),
570
+ ($.style.zIndex = String(Y.props.zIndex));
571
+ }
572
+ function at(t, e, n) {
573
+ var r;
574
+ (void 0 === n && (n = !0),
575
+ G.forEach(function (n) {
576
+ n[t] && n[t].apply(n, e);
577
+ }),
578
+ n) && (r = Y.props)[t].apply(r, e);
579
+ }
580
+ function st() {
581
+ var t = Y.props.aria;
582
+ if (t.content) {
583
+ var n = "aria-" + t.content,
584
+ r = $.id;
585
+ c(Y.props.triggerTarget || e).forEach(function (t) {
586
+ var e = t.getAttribute(n);
587
+ if (Y.state.isVisible) t.setAttribute(n, e ? e + " " + r : r);
588
+ else {
589
+ var o = e && e.replace(r, "").trim();
590
+ o ? t.setAttribute(n, o) : t.removeAttribute(n);
591
+ }
592
+ });
593
+ }
594
+ }
595
+ function ut() {
596
+ !K &&
597
+ Y.props.aria.expanded &&
598
+ c(Y.props.triggerTarget || e).forEach(function (t) {
599
+ Y.props.interactive
600
+ ? t.setAttribute(
601
+ "aria-expanded",
602
+ Y.state.isVisible && t === et() ? "true" : "false"
603
+ )
604
+ : t.removeAttribute("aria-expanded");
605
+ });
606
+ }
607
+ function pt() {
608
+ nt().removeEventListener("mousemove", F),
609
+ (U = U.filter(function (t) {
610
+ return t !== F;
611
+ }));
612
+ }
613
+ function ct(t) {
614
+ if (!T.isTouch || (!S && t.type !== "mousedown")) {
615
+ var n = (t.composedPath && t.composedPath()[0]) || t.target;
616
+ if (!Y.props.interactive || !C($, n)) {
617
+ if (
618
+ c(Y.props.triggerTarget || e).some(function (t) {
619
+ return C(t, n);
620
+ })
621
+ ) {
622
+ if (T.isTouch) return;
623
+ if (Y.state.isVisible && Y.props.trigger.indexOf("click") >= 0)
624
+ return;
625
+ } else at("onClickOutside", [Y, t]);
626
+ !0 === Y.props.hideOnClick &&
627
+ (Y.clearDelayTimeouts(),
628
+ Y.hide(),
629
+ (I = !0),
630
+ setTimeout(function () {
631
+ I = !1;
632
+ }),
633
+ Y.state.isMounted || vt());
634
+ }
635
+ }
636
+ }
637
+ function ft() {
638
+ S = !0;
639
+ }
640
+ function lt() {
641
+ S = !1;
642
+ }
643
+ function dt() {
644
+ var t = nt();
645
+ t.addEventListener("mousedown", ct, !0),
646
+ t.addEventListener("touchend", ct, r),
647
+ t.addEventListener("touchstart", lt, r),
648
+ t.addEventListener("touchmove", ft, r);
649
+ }
650
+ function vt() {
651
+ var t = nt();
652
+ t.removeEventListener("mousedown", ct, !0),
653
+ t.removeEventListener("touchend", ct, r),
654
+ t.removeEventListener("touchstart", lt, r),
655
+ t.removeEventListener("touchmove", ft, r);
656
+ }
657
+ function mt(t, e) {
658
+ var n = rt().box;
659
+ function r(t) {
660
+ t.target === n && (O(n, "remove", r), e());
661
+ }
662
+ if (t === 0) return e();
663
+ O(n, "remove", A), O(n, "add", r), (A = r);
664
+ }
665
+ function gt(t, n, r) {
666
+ void 0 === r && (r = !1),
667
+ c(Y.props.triggerTarget || e).forEach(function (e) {
668
+ e.addEventListener(t, n, r),
669
+ z.push({ node: e, eventType: t, handler: n, options: r });
670
+ });
671
+ }
672
+ function ht() {
673
+ var t;
674
+ Z() &&
675
+ (gt("touchstart", yt, { passive: !0 }),
676
+ gt("touchend", xt, { passive: !0 })),
677
+ ((t = Y.props.trigger), t.split(/\s+/).filter(Boolean)).forEach(
678
+ function (t) {
679
+ if (t !== "manual")
680
+ switch ((gt(t, yt), t)) {
681
+ case "mouseenter":
682
+ gt("mouseleave", xt);
683
+ break;
684
+ case "focus":
685
+ gt(n ? "focusout" : "blur", Et);
686
+ break;
687
+ case "focusin":
688
+ gt("focusout", Et);
689
+ }
690
+ }
691
+ );
692
+ }
693
+ function bt() {
694
+ z.forEach(function (t) {
695
+ var e = t.node,
696
+ n = t.eventType,
697
+ r = t.handler,
698
+ o = t.options;
699
+ e.removeEventListener(n, r, o);
700
+ }),
701
+ (z = []);
702
+ }
703
+ function yt(t) {
704
+ var e,
705
+ n = !1;
706
+ if (Y.state.isEnabled && !Ot(t) && !I) {
707
+ var r = ((e = y) == null ? void 0 : e.type) === "focus";
708
+ (y = t),
709
+ (D = t.currentTarget),
710
+ ut(),
711
+ !Y.state.isVisible &&
712
+ h(t) &&
713
+ U.forEach(function (e) {
714
+ return e(t);
715
+ }),
716
+ t.type === "click" &&
717
+ (Y.props.trigger.indexOf("mouseenter") < 0 || V) &&
718
+ !1 !== Y.props.hideOnClick &&
719
+ Y.state.isVisible
720
+ ? (n = !0)
721
+ : Lt(t),
722
+ t.type === "click" && (V = !n),
723
+ n && !r && Dt(t);
724
+ }
725
+ }
726
+ function wt(t) {
727
+ var e = t.target,
728
+ n = et().contains(e) || $.contains(e);
729
+ (t.type === "mousemove" && n) ||
730
+ ((function (t, e) {
731
+ var n = e.clientX,
732
+ r = e.clientY;
733
+ return t.every(function (t) {
734
+ var e = t.popperRect,
735
+ o = t.popperState,
736
+ i = t.props.interactiveBorder,
737
+ a = l(o.placement),
738
+ s = o.modifiersData.offset;
739
+ if (!s) return !0;
740
+ var u = a === "bottom" ? s.top.y : 0,
741
+ p = a === "top" ? s.bottom.y : 0,
742
+ c = a === "right" ? s.left.x : 0,
743
+ f = a === "left" ? s.right.x : 0,
744
+ d = e.top - r + u > i,
745
+ v = r - e.bottom - p > i,
746
+ m = e.left - n + c > i,
747
+ g = n - e.right - f > i;
748
+ return d || v || m || g;
749
+ });
750
+ })(
751
+ At()
752
+ .concat($)
753
+ .map(function (t) {
754
+ var e,
755
+ n = (e = t._tippy.popperInstance) == null ? void 0 : e.state;
756
+ return n
757
+ ? {
758
+ popperRect: t.getBoundingClientRect(),
759
+ popperState: n,
760
+ props: P,
761
+ }
762
+ : null;
763
+ })
764
+ .filter(Boolean),
765
+ t
766
+ ) &&
767
+ (pt(), Dt(t)));
768
+ }
769
+ function xt(t) {
770
+ Ot(t) ||
771
+ (Y.props.trigger.indexOf("click") >= 0 && V) ||
772
+ (Y.props.interactive ? Y.hideWithInteractivity(t) : Dt(t));
773
+ }
774
+ function Et(t) {
775
+ (Y.props.trigger.indexOf("focusin") < 0 && t.target !== et()) ||
776
+ (Y.props.interactive &&
777
+ t.relatedTarget &&
778
+ $.contains(t.relatedTarget)) ||
779
+ Dt(t);
780
+ }
781
+ function Ot(t) {
782
+ return Boolean(T.isTouch) && Z() !== t.type.indexOf("touch") >= 0;
783
+ }
784
+ function Ct() {
785
+ Tt();
786
+ var n = Y.props,
787
+ r = n.popperOptions,
788
+ o = n.placement,
789
+ i = n.offset,
790
+ a = n.getReferenceClientRect,
791
+ s = n.moveTransition,
792
+ u = tt() ? B($).arrow : null,
793
+ p = a
794
+ ? {
795
+ getBoundingClientRect: a,
796
+ contextElement: a.contextElement || et(),
797
+ }
798
+ : e,
799
+ c = [
800
+ { name: "offset", options: { offset: i } },
801
+ {
802
+ name: "preventOverflow",
803
+ options: { padding: { top: 2, bottom: 2, left: 5, right: 5 } },
804
+ },
805
+ { name: "flip", options: { padding: 5 } },
806
+ { name: "computeStyles", options: { adaptive: !s } },
807
+ {
808
+ name: "$$tippy",
809
+ enabled: !0,
810
+ phase: "beforeWrite",
811
+ requires: ["computeStyles"],
812
+ fn: function (t) {
813
+ var e = t.state;
814
+ if (tt()) {
815
+ var n = rt().box;
816
+ ["placement", "reference-hidden", "escaped"].forEach(function (
817
+ t
818
+ ) {
819
+ t === "placement"
820
+ ? n.setAttribute("data-placement", e.placement)
821
+ : e.attributes.popper["data-popper-" + t]
822
+ ? n.setAttribute("data-" + t, "")
823
+ : n.removeAttribute("data-" + t);
824
+ }),
825
+ (e.attributes.popper = {});
826
+ }
827
+ },
828
+ },
829
+ ];
830
+ tt() &&
831
+ u &&
832
+ c.push({ name: "arrow", options: { element: u, padding: 3 } }),
833
+ c.push.apply(c, (r == null ? void 0 : r.modifiers) || []),
834
+ (Y.popperInstance = t.createPopper(
835
+ p,
836
+ $,
837
+ Object.assign({}, r, { placement: o, onFirstUpdate: L, modifiers: c })
838
+ ));
839
+ }
840
+ function Tt() {
841
+ Y.popperInstance &&
842
+ (Y.popperInstance.destroy(), (Y.popperInstance = null));
843
+ }
844
+ function At() {
845
+ return d($.querySelectorAll("[data-tippy-root]"));
846
+ }
847
+ function Lt(t) {
848
+ Y.clearDelayTimeouts(), t && at("onTrigger", [Y, t]), dt();
849
+ var e = ot(!0),
850
+ n = Q(),
851
+ r = n[0],
852
+ o = n[1];
853
+ T.isTouch && r === "hold" && o && (e = o),
854
+ e
855
+ ? (p = setTimeout(function () {
856
+ Y.show();
857
+ }, e))
858
+ : Y.show();
859
+ }
860
+ function Dt(t) {
861
+ if (
862
+ (Y.clearDelayTimeouts(), at("onUntrigger", [Y, t]), Y.state.isVisible)
863
+ ) {
864
+ if (
865
+ !(
866
+ Y.props.trigger.indexOf("mouseenter") >= 0 &&
867
+ Y.props.trigger.indexOf("click") >= 0 &&
868
+ ["mouseleave", "mousemove"].indexOf(t.type) >= 0 &&
869
+ V
870
+ )
871
+ ) {
872
+ var e = ot(!1);
873
+ e
874
+ ? (g = setTimeout(function () {
875
+ Y.state.isVisible && Y.hide();
876
+ }, e))
877
+ : (b = requestAnimationFrame(function () {
878
+ Y.hide();
879
+ }));
880
+ }
881
+ } else vt();
882
+ }
883
+ }
884
+ function F(t, e) {
885
+ void 0 === e && (e = {});
886
+ var n = R.plugins.concat(e.plugins || []);
887
+ document.addEventListener("touchstart", L, r),
888
+ window.addEventListener("blur", k);
889
+ var o = Object.assign({}, e, { plugins: n }),
890
+ i = y(t).reduce(function (t, e) {
891
+ var n = e && z(e, o);
892
+ return n && t.push(n), t;
893
+ }, []);
894
+ return g(t) ? i[0] : i;
895
+ }
896
+ (F.defaultProps = R),
897
+ (F.setDefaultProps = function (t) {
898
+ Object.keys(t).forEach(function (e) {
899
+ R[e] = t[e];
900
+ });
901
+ }),
902
+ (F.currentInput = T);
903
+ var W = Object.assign({}, t.applyStyles, {
904
+ effect: function (t) {
905
+ var e = t.state,
906
+ n = {
907
+ popper: {
908
+ position: e.options.strategy,
909
+ left: "0",
910
+ top: "0",
911
+ margin: "0",
912
+ },
913
+ arrow: { position: "absolute" },
914
+ reference: {},
915
+ };
916
+ Object.assign(e.elements.popper.style, n.popper),
917
+ (e.styles = n),
918
+ e.elements.arrow && Object.assign(e.elements.arrow.style, n.arrow);
919
+ },
920
+ }),
921
+ X = { mouseover: "mouseenter", focusin: "focus", click: "click" };
922
+ var Y = {
923
+ name: "animateFill",
924
+ defaultValue: !1,
925
+ fn: function (t) {
926
+ var e;
927
+ if ((e = t.props.render) == null || !e.$$tippy) return {};
928
+ var n = B(t.popper),
929
+ r = n.box,
930
+ o = n.content,
931
+ i = t.props.animateFill
932
+ ? (function () {
933
+ var t = m();
934
+ return (t.className = "tippy-backdrop"), x([t], "hidden"), t;
935
+ })()
936
+ : null;
937
+ return {
938
+ onCreate: function () {
939
+ i &&
940
+ (r.insertBefore(i, r.firstElementChild),
941
+ r.setAttribute("data-animatefill", ""),
942
+ (r.style.overflow = "hidden"),
943
+ t.setProps({ arrow: !1, animation: "shift-away" }));
944
+ },
945
+ onMount: function () {
946
+ if (i) {
947
+ var t = r.style.transitionDuration,
948
+ e = Number(t.replace("ms", ""));
949
+ (o.style.transitionDelay = Math.round(e / 10) + "ms"),
950
+ (i.style.transitionDuration = t),
951
+ x([i], "visible");
952
+ }
953
+ },
954
+ onShow: function () {
955
+ i && (i.style.transitionDuration = "0ms");
956
+ },
957
+ onHide: function () {
958
+ i && x([i], "hidden");
959
+ },
960
+ };
961
+ },
962
+ };
963
+ var q = { clientX: 0, clientY: 0 },
964
+ $ = [];
965
+ function J(t) {
966
+ var e = t.clientX,
967
+ n = t.clientY;
968
+ q = { clientX: e, clientY: n };
969
+ }
970
+ var G = {
971
+ name: "followCursor",
972
+ defaultValue: !1,
973
+ fn: function (t) {
974
+ var e = t.reference,
975
+ n = E(t.props.triggerTarget || e),
976
+ r = !1,
977
+ o = !1,
978
+ i = !0,
979
+ a = t.props;
980
+ function s() {
981
+ return t.props.followCursor === "initial" && t.state.isVisible;
982
+ }
983
+ function u() {
984
+ n.addEventListener("mousemove", f);
985
+ }
986
+ function p() {
987
+ n.removeEventListener("mousemove", f);
988
+ }
989
+ function c() {
990
+ (r = !0), t.setProps({ getReferenceClientRect: null }), (r = !1);
991
+ }
992
+ function f(n) {
993
+ var r = !n.target || e.contains(n.target),
994
+ o = t.props.followCursor,
995
+ i = n.clientX,
996
+ a = n.clientY,
997
+ s = e.getBoundingClientRect(),
998
+ u = i - s.left,
999
+ p = a - s.top;
1000
+ (!r && t.props.interactive) ||
1001
+ t.setProps({
1002
+ getReferenceClientRect: function () {
1003
+ var t = e.getBoundingClientRect(),
1004
+ n = i,
1005
+ r = a;
1006
+ o === "initial" && ((n = t.left + u), (r = t.top + p));
1007
+ var s = o === "horizontal" ? t.top : r,
1008
+ c = o === "vertical" ? t.right : n,
1009
+ f = o === "horizontal" ? t.bottom : r,
1010
+ l = o === "vertical" ? t.left : n;
1011
+ return {
1012
+ width: c - l,
1013
+ height: f - s,
1014
+ top: s,
1015
+ right: c,
1016
+ bottom: f,
1017
+ left: l,
1018
+ };
1019
+ },
1020
+ });
1021
+ }
1022
+ function l() {
1023
+ t.props.followCursor &&
1024
+ ($.push({ instance: t, doc: n }),
1025
+ (function (t) {
1026
+ t.addEventListener("mousemove", J);
1027
+ })(n));
1028
+ }
1029
+ function d() {
1030
+ ($ = $.filter(function (e) {
1031
+ return e.instance !== t;
1032
+ })).filter(function (t) {
1033
+ return t.doc === n;
1034
+ }).length === 0 &&
1035
+ (function (t) {
1036
+ t.removeEventListener("mousemove", J);
1037
+ })(n);
1038
+ }
1039
+ return {
1040
+ onCreate: l,
1041
+ onDestroy: d,
1042
+ onBeforeUpdate: function () {
1043
+ a = t.props;
1044
+ },
1045
+ onAfterUpdate: function (e, n) {
1046
+ var i = n.followCursor;
1047
+ r ||
1048
+ (void 0 !== i &&
1049
+ a.followCursor !== i &&
1050
+ (d(),
1051
+ i ? (l(), !t.state.isMounted || o || s() || u()) : (p(), c())));
1052
+ },
1053
+ onMount: function () {
1054
+ t.props.followCursor && !o && (i && (f(q), (i = !1)), s() || u());
1055
+ },
1056
+ onTrigger: function (t, e) {
1057
+ h(e) && (q = { clientX: e.clientX, clientY: e.clientY }),
1058
+ (o = e.type === "focus");
1059
+ },
1060
+ onHidden: function () {
1061
+ t.props.followCursor && (c(), p(), (i = !0));
1062
+ },
1063
+ };
1064
+ },
1065
+ };
1066
+ var K = {
1067
+ name: "inlinePositioning",
1068
+ defaultValue: !1,
1069
+ fn: function (t) {
1070
+ var e,
1071
+ n = t.reference;
1072
+ var r = -1,
1073
+ o = !1,
1074
+ i = [],
1075
+ a = {
1076
+ name: "tippyInlinePositioning",
1077
+ enabled: !0,
1078
+ phase: "afterWrite",
1079
+ fn: function (o) {
1080
+ var a = o.state;
1081
+ t.props.inlinePositioning &&
1082
+ (i.indexOf(a.placement) !== -1 && (i = []),
1083
+ e !== a.placement &&
1084
+ i.indexOf(a.placement) === -1 &&
1085
+ (i.push(a.placement),
1086
+ t.setProps({
1087
+ getReferenceClientRect: function () {
1088
+ return (function (t) {
1089
+ return (function (t, e, n, r) {
1090
+ if (n.length < 2 || t === null) return e;
1091
+ if (n.length === 2 && r >= 0 && n[0].left > n[1].right)
1092
+ return n[r] || e;
1093
+ switch (t) {
1094
+ case "top":
1095
+ case "bottom":
1096
+ var o = n[0],
1097
+ i = n[n.length - 1],
1098
+ a = t === "top",
1099
+ s = o.top,
1100
+ u = i.bottom,
1101
+ p = a ? o.left : i.left,
1102
+ c = a ? o.right : i.right;
1103
+ return {
1104
+ top: s,
1105
+ bottom: u,
1106
+ left: p,
1107
+ right: c,
1108
+ width: c - p,
1109
+ height: u - s,
1110
+ };
1111
+ case "left":
1112
+ case "right":
1113
+ var f = Math.min.apply(
1114
+ Math,
1115
+ n.map(function (t) {
1116
+ return t.left;
1117
+ })
1118
+ ),
1119
+ l = Math.max.apply(
1120
+ Math,
1121
+ n.map(function (t) {
1122
+ return t.right;
1123
+ })
1124
+ ),
1125
+ d = n.filter(function (e) {
1126
+ return t === "left"
1127
+ ? e.left === f
1128
+ : e.right === l;
1129
+ }),
1130
+ v = d[0].top,
1131
+ m = d[d.length - 1].bottom;
1132
+ return {
1133
+ top: v,
1134
+ bottom: m,
1135
+ left: f,
1136
+ right: l,
1137
+ width: l - f,
1138
+ height: m - v,
1139
+ };
1140
+ default:
1141
+ return e;
1142
+ }
1143
+ })(
1144
+ l(t),
1145
+ n.getBoundingClientRect(),
1146
+ d(n.getClientRects()),
1147
+ r
1148
+ );
1149
+ })(a.placement);
1150
+ },
1151
+ })),
1152
+ (e = a.placement));
1153
+ },
1154
+ };
1155
+ function s() {
1156
+ var e;
1157
+ o ||
1158
+ ((e = (function (t, e) {
1159
+ var n;
1160
+ return {
1161
+ popperOptions: Object.assign({}, t.popperOptions, {
1162
+ modifiers: [].concat(
1163
+ (
1164
+ ((n = t.popperOptions) == null ? void 0 : n.modifiers) || []
1165
+ ).filter(function (t) {
1166
+ return t.name !== e.name;
1167
+ }),
1168
+ [e]
1169
+ ),
1170
+ }),
1171
+ };
1172
+ })(t.props, a)),
1173
+ (o = !0),
1174
+ t.setProps(e),
1175
+ (o = !1));
1176
+ }
1177
+ return {
1178
+ onCreate: s,
1179
+ onAfterUpdate: s,
1180
+ onTrigger: function (e, n) {
1181
+ if (h(n)) {
1182
+ var o = d(t.reference.getClientRects()),
1183
+ i = o.find(function (t) {
1184
+ return (
1185
+ t.left - 2 <= n.clientX &&
1186
+ t.right + 2 >= n.clientX &&
1187
+ t.top - 2 <= n.clientY &&
1188
+ t.bottom + 2 >= n.clientY
1189
+ );
1190
+ }),
1191
+ a = o.indexOf(i);
1192
+ r = a > -1 ? a : r;
1193
+ }
1194
+ },
1195
+ onHidden: function () {
1196
+ r = -1;
1197
+ },
1198
+ };
1199
+ },
1200
+ };
1201
+ var Q = {
1202
+ name: "sticky",
1203
+ defaultValue: !1,
1204
+ fn: function (t) {
1205
+ var e = t.reference,
1206
+ n = t.popper;
1207
+ function r(e) {
1208
+ return !0 === t.props.sticky || t.props.sticky === e;
1209
+ }
1210
+ var o = null,
1211
+ i = null;
1212
+ function a() {
1213
+ var s = r("reference")
1214
+ ? (t.popperInstance
1215
+ ? t.popperInstance.state.elements.reference
1216
+ : e
1217
+ ).getBoundingClientRect()
1218
+ : null,
1219
+ u = r("popper") ? n.getBoundingClientRect() : null;
1220
+ ((s && Z(o, s)) || (u && Z(i, u))) &&
1221
+ t.popperInstance &&
1222
+ t.popperInstance.update(),
1223
+ (o = s),
1224
+ (i = u),
1225
+ t.state.isMounted && requestAnimationFrame(a);
1226
+ }
1227
+ return {
1228
+ onMount: function () {
1229
+ t.props.sticky && a();
1230
+ },
1231
+ };
1232
+ },
1233
+ };
1234
+ function Z(t, e) {
1235
+ return (
1236
+ !t ||
1237
+ !e ||
1238
+ t.top !== e.top ||
1239
+ t.right !== e.right ||
1240
+ t.bottom !== e.bottom ||
1241
+ t.left !== e.left
1242
+ );
1243
+ }
1244
+ return (
1245
+ e &&
1246
+ (function (t) {
1247
+ var e = document.createElement("style");
1248
+ (e.textContent = t), e.setAttribute("data-tippy-stylesheet", "");
1249
+ var n = document.head,
1250
+ r = document.querySelector("head>style,head>link");
1251
+ r ? n.insertBefore(e, r) : n.appendChild(e);
1252
+ })(
1253
+ '.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;white-space:normal;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}'
1254
+ ),
1255
+ F.setDefaultProps({ plugins: [Y, G, K, Q], render: N }),
1256
+ (F.createSingleton = function (t, e) {
1257
+ var n;
1258
+ void 0 === e && (e = {});
1259
+ var r,
1260
+ o = t,
1261
+ i = [],
1262
+ a = [],
1263
+ s = e.overrides,
1264
+ u = [],
1265
+ f = !1;
1266
+ function l() {
1267
+ a = o
1268
+ .map(function (t) {
1269
+ return c(t.props.triggerTarget || t.reference);
1270
+ })
1271
+ .reduce(function (t, e) {
1272
+ return t.concat(e);
1273
+ }, []);
1274
+ }
1275
+ function d() {
1276
+ i = o.map(function (t) {
1277
+ return t.reference;
1278
+ });
1279
+ }
1280
+ function v(t) {
1281
+ o.forEach(function (e) {
1282
+ t ? e.enable() : e.disable();
1283
+ });
1284
+ }
1285
+ function g(t) {
1286
+ return o.map(function (e) {
1287
+ var n = e.setProps;
1288
+ return (
1289
+ (e.setProps = function (o) {
1290
+ n(o), e.reference === r && t.setProps(o);
1291
+ }),
1292
+ function () {
1293
+ e.setProps = n;
1294
+ }
1295
+ );
1296
+ });
1297
+ }
1298
+ function h(t, e) {
1299
+ var n = a.indexOf(e);
1300
+ if (e !== r) {
1301
+ r = e;
1302
+ var u = (s || []).concat("content").reduce(function (t, e) {
1303
+ return (t[e] = o[n].props[e]), t;
1304
+ }, {});
1305
+ t.setProps(
1306
+ Object.assign({}, u, {
1307
+ getReferenceClientRect:
1308
+ typeof u.getReferenceClientRect == "function"
1309
+ ? u.getReferenceClientRect
1310
+ : function () {
1311
+ var t;
1312
+ return (t = i[n]) == null
1313
+ ? void 0
1314
+ : t.getBoundingClientRect();
1315
+ },
1316
+ })
1317
+ );
1318
+ }
1319
+ }
1320
+ v(!1), d(), l();
1321
+ var b = {
1322
+ fn: function () {
1323
+ return {
1324
+ onDestroy: function () {
1325
+ v(!0);
1326
+ },
1327
+ onHidden: function () {
1328
+ r = null;
1329
+ },
1330
+ onClickOutside: function (t) {
1331
+ t.props.showOnCreate && !f && ((f = !0), (r = null));
1332
+ },
1333
+ onShow: function (t) {
1334
+ t.props.showOnCreate && !f && ((f = !0), h(t, i[0]));
1335
+ },
1336
+ onTrigger: function (t, e) {
1337
+ h(t, e.currentTarget);
1338
+ },
1339
+ };
1340
+ },
1341
+ },
1342
+ y = F(
1343
+ m(),
1344
+ Object.assign({}, p(e, ["overrides"]), {
1345
+ plugins: [b].concat(e.plugins || []),
1346
+ triggerTarget: a,
1347
+ popperOptions: Object.assign({}, e.popperOptions, {
1348
+ modifiers: [].concat(
1349
+ ((n = e.popperOptions) == null ? void 0 : n.modifiers) || [],
1350
+ [W]
1351
+ ),
1352
+ }),
1353
+ })
1354
+ ),
1355
+ w = y.show;
1356
+ (y.show = function (t) {
1357
+ if ((w(), !r && t == null)) return h(y, i[0]);
1358
+ if (!r || t != null) {
1359
+ if (typeof t == "number") return i[t] && h(y, i[t]);
1360
+ if (o.indexOf(t) >= 0) {
1361
+ var e = t.reference;
1362
+ return h(y, e);
1363
+ }
1364
+ return i.indexOf(t) >= 0 ? h(y, t) : void 0;
1365
+ }
1366
+ }),
1367
+ (y.showNext = function () {
1368
+ var t = i[0];
1369
+ if (!r) return y.show(0);
1370
+ var e = i.indexOf(r);
1371
+ y.show(i[e + 1] || t);
1372
+ }),
1373
+ (y.showPrevious = function () {
1374
+ var t = i[i.length - 1];
1375
+ if (!r) return y.show(t);
1376
+ var e = i.indexOf(r),
1377
+ n = i[e - 1] || t;
1378
+ y.show(n);
1379
+ });
1380
+ var x = y.setProps;
1381
+ return (
1382
+ (y.setProps = function (t) {
1383
+ (s = t.overrides || s), x(t);
1384
+ }),
1385
+ (y.setInstances = function (t) {
1386
+ v(!0),
1387
+ u.forEach(function (t) {
1388
+ return t();
1389
+ }),
1390
+ (o = t),
1391
+ v(!1),
1392
+ d(),
1393
+ l(),
1394
+ (u = g(y)),
1395
+ y.setProps({ triggerTarget: a });
1396
+ }),
1397
+ (u = g(y)),
1398
+ y
1399
+ );
1400
+ }),
1401
+ (F.delegate = function (t, e) {
1402
+ var n = [],
1403
+ o = [],
1404
+ i = !1,
1405
+ a = e.target,
1406
+ s = p(e, ["target"]),
1407
+ u = Object.assign({}, s, { trigger: "manual", touch: !1 }),
1408
+ f = Object.assign({ touch: R.touch }, s, { showOnCreate: !0 }),
1409
+ l = F(t, u);
1410
+ function d(t) {
1411
+ if (t.target && !i) {
1412
+ var n = t.target.closest(a);
1413
+ if (n) {
1414
+ var r =
1415
+ n.getAttribute("data-tippy-trigger") || e.trigger || R.trigger;
1416
+ if (
1417
+ !n._tippy &&
1418
+ !(
1419
+ (t.type === "touchstart" && typeof f.touch == "boolean") ||
1420
+ (t.type !== "touchstart" && r.indexOf(X[t.type]) < 0)
1421
+ )
1422
+ ) {
1423
+ var s = F(n, f);
1424
+ s && (o = o.concat(s));
1425
+ }
1426
+ }
1427
+ }
1428
+ }
1429
+ function v(t, e, r, o) {
1430
+ void 0 === o && (o = !1),
1431
+ t.addEventListener(e, r, o),
1432
+ n.push({ node: t, eventType: e, handler: r, options: o });
1433
+ }
1434
+ return (
1435
+ c(l).forEach(function (t) {
1436
+ var e = t.destroy,
1437
+ a = t.enable,
1438
+ s = t.disable;
1439
+ (t.destroy = function (t) {
1440
+ void 0 === t && (t = !0),
1441
+ t &&
1442
+ o.forEach(function (t) {
1443
+ t.destroy();
1444
+ }),
1445
+ (o = []),
1446
+ n.forEach(function (t) {
1447
+ var e = t.node,
1448
+ n = t.eventType,
1449
+ r = t.handler,
1450
+ o = t.options;
1451
+ e.removeEventListener(n, r, o);
1452
+ }),
1453
+ (n = []),
1454
+ e();
1455
+ }),
1456
+ (t.enable = function () {
1457
+ a(),
1458
+ o.forEach(function (t) {
1459
+ return t.enable();
1460
+ }),
1461
+ (i = !1);
1462
+ }),
1463
+ (t.disable = function () {
1464
+ s(),
1465
+ o.forEach(function (t) {
1466
+ return t.disable();
1467
+ }),
1468
+ (i = !0);
1469
+ }),
1470
+ (function (t) {
1471
+ var e = t.reference;
1472
+ v(e, "touchstart", d, r),
1473
+ v(e, "mouseover", d),
1474
+ v(e, "focusin", d),
1475
+ v(e, "click", d);
1476
+ })(t);
1477
+ }),
1478
+ l
1479
+ );
1480
+ }),
1481
+ (F.hideAll = function (t) {
1482
+ var e = void 0 === t ? {} : t,
1483
+ n = e.exclude,
1484
+ r = e.duration;
1485
+ _.forEach(function (t) {
1486
+ var e = !1;
1487
+ if ((n && (e = b(n) ? t.reference === n : t.popper === n.popper), !e)) {
1488
+ var o = t.props.duration;
1489
+ t.setProps({ duration: r }),
1490
+ t.hide(),
1491
+ t.state.isDestroyed || t.setProps({ duration: o });
1492
+ }
1493
+ });
1494
+ }),
1495
+ (F.roundArrow =
1496
+ '<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>'),
1497
+ F
1498
+ );
1499
+ });