UNPKG

graphdb-workbench

Version:
2 lines 38.6 kB
export const __webpack_id__=45069;export const __webpack_ids__=[45069];export const __webpack_modules__={44123:(e,t,n)=>{var r;n.d(t,{O:()=>r}),function(e){e.LEFT="left",e.RIGHT="right",e.TOP="top",e.BOTTOM="bottom",e.AUTO="auto"}(r||(r={}))},79939:(e,t,n)=>{n.d(t,{L:()=>o,T:()=>s,s:()=>i});var r=n(57154);function i(e){const t=document.createElement("textarea");return t.innerHTML=e,t.value}class o{static get logger(){return r.Loggers.getLoggerInstance("SharedComponents")}}class a{constructor(){this.languageContextService=r.ServiceProvider.get(r.LanguageContextService),this.translationChangedObservers={},this.logger=o.logger,this.defaultBundle=this.languageContextService.getDefaultBundle(),this.subscribeToBundleChange()}onTranslate(e,t=[],n=()=>{}){this.translationChangedObservers[e]=this.translationChangedObservers[e]||[];const r={parameters:t,callback:n};return this.translationChangedObservers[e].push(r),n(this.translate(e,t)),()=>{const t=this.translationChangedObservers[e].indexOf(r);-1!==t&&this.translationChangedObservers[e].splice(t,1)}}translate(e,t){return this.translateInLocale(e,t)}translateInLocale(e,t){let n=this.translateFromBundle(this.currentBundle,e);return n||(n=this.translateFromBundle(this.defaultBundle,e)),n?(n=this.applyParameters(n,t),i(n)):(this.logger.warn(`Missing translation for key: [${e}]`),e)}translateFromBundle(e,t){if(!e)return;let n=e[t];return"string"!=typeof n&&(n=this.translateAsJsonObject(e,t)),n}translateAsJsonObject(e,t){let n=t.split(".");return this.getTranslation(e,n)}getTranslation(e,t){if(!t||!e)return;const n=e[t.splice(0,1)[0]];return 0===t.length?n:"string"!=typeof n?t.length>0?this.getTranslation(n,t):n:void 0}applyParameters(e,t){return t?t.reduce((e,t)=>a.replaceAll(e,t),e):e}static replaceAll(e,t){return t?e.split(`{{${t.key}}}`).join(t.value):e}notifyTranslationsChanged(){Object.keys(this.translationChangedObservers).forEach(e=>{(this.translationChangedObservers[e]||[]).forEach(t=>t.callback(this.translate(e,t.parameters)))})}subscribeToBundleChange(){this.languageChangeSubscription=this.languageContextService.onLanguageBundleChanged(e=>{e&&(this.currentBundle=e,this.notifyTranslationsChanged())})}destroy(){this.languageChangeSubscription&&this.languageChangeSubscription()}}const s=new a},90835:(e,t,n)=>{n.d(t,{T:()=>nt});var r=n(44123);class i{constructor(){this.hideOnClick=!1,this.interactive=!0,this.appendTo=()=>document.body,this.trigger="manual",this.allowHTML=!0,this.theme="onto-tooltip",this.onShow=()=>document.querySelectorAll(".jfk-tooltip").forEach(e=>e.classList.add("hidden")),this.onHide=()=>document.querySelectorAll(".jfk-tooltip").forEach(e=>e.classList.remove("hidden"))}setHideOnClick(e){return this.hideOnClick=e,this}setContent(e){return this.content=e,this}setTrigger(e){return this.trigger=e||"manual",this}setPlacement(e){return this.placement=e||r.O.RIGHT,this}setAllowHTML(e){return this.allowHTML=e,this}setTheme(e){return this.theme=e||"onto-tooltip",this}setAppendTo(e){return this.appendTo=this.getAppendToTarget(e),this}getAppendToTarget(e){return"parent"===e?e:()=>document.body}}var o="top",a="bottom",s="right",c="left",u="auto",p=[o,a,s,c],f="start",l="end",d="viewport",h="popper",m=p.reduce(function(e,t){return e.concat([t+"-"+f,t+"-"+l])},[]),v=[].concat(p,[u]).reduce(function(e,t){return e.concat([t,t+"-"+f,t+"-"+l])},[]),g=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function b(e){return e?(e.nodeName||"").toLowerCase():null}function y(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function w(e){return e instanceof y(e).Element||e instanceof Element}function x(e){return e instanceof y(e).HTMLElement||e instanceof HTMLElement}function O(e){return"undefined"!=typeof ShadowRoot&&(e instanceof y(e).ShadowRoot||e instanceof ShadowRoot)}var T={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];x(i)&&b(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});x(r)&&b(r)&&(Object.assign(r.style,o),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};function A(e){return e.split("-")[0]}var E=Math.max,C=Math.min,L=Math.round;function j(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function D(){return!/^((?!chrome|android).)*safari/i.test(j())}function k(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&x(e)&&(i=e.offsetWidth>0&&L(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&L(r.height)/e.offsetHeight||1);var a=(w(e)?y(e):window).visualViewport,s=!D()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/i,u=(r.top+(s&&a?a.offsetTop:0))/o,p=r.width/i,f=r.height/o;return{width:p,height:f,top:u,right:c+p,bottom:u+f,left:c,x:c,y:u}}function S(e){var t=k(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function M(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&O(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function _(e){return y(e).getComputedStyle(e)}function P(e){return["table","td","th"].indexOf(b(e))>=0}function R(e){return((w(e)?e.ownerDocument:e.document)||window.document).documentElement}function B(e){return"html"===b(e)?e:e.assignedSlot||e.parentNode||(O(e)?e.host:null)||R(e)}function H(e){return x(e)&&"fixed"!==_(e).position?e.offsetParent:null}function I(e){for(var t=y(e),n=H(e);n&&P(n)&&"static"===_(n).position;)n=H(n);return n&&("html"===b(n)||"body"===b(n)&&"static"===_(n).position)?t:n||function(e){var t=/firefox/i.test(j());if(/Trident/i.test(j())&&x(e)&&"fixed"===_(e).position)return null;var n=B(e);for(O(n)&&(n=n.host);x(n)&&["html","body"].indexOf(b(n))<0;){var r=_(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function N(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function V(e,t,n){return E(e,C(t,n))}function W(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function q(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var U={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,u=n.elements.arrow,f=n.modifiersData.popperOffsets,l=A(n.placement),d=N(l),h=[c,s].indexOf(l)>=0?"height":"width";if(u&&f){var m=function(e,t){return W("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:q(e,p))}(i.padding,n),v=S(u),g="y"===d?o:c,b="y"===d?a:s,y=n.rects.reference[h]+n.rects.reference[d]-f[d]-n.rects.popper[h],w=f[d]-n.rects.reference[d],x=I(u),O=x?"y"===d?x.clientHeight||0:x.clientWidth||0:0,T=y/2-w/2,E=m[g],C=O-v[h]-m[b],L=O/2-v[h]/2+T,j=V(E,L,C),D=d;n.modifiersData[r]=((t={})[D]=j,t.centerOffset=j-L,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&M(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function F(e){return e.split("-")[1]}var $={top:"auto",right:"auto",bottom:"auto",left:"auto"};function z(e){var t,n=e.popper,r=e.popperRect,i=e.placement,u=e.variation,p=e.offsets,f=e.position,d=e.gpuAcceleration,h=e.adaptive,m=e.roundOffsets,v=e.isFixed,g=p.x,b=void 0===g?0:g,w=p.y,x=void 0===w?0:w,O="function"==typeof m?m({x:b,y:x}):{x:b,y:x};b=O.x,x=O.y;var T=p.hasOwnProperty("x"),A=p.hasOwnProperty("y"),E=c,C=o,j=window;if(h){var D=I(n),k="clientHeight",S="clientWidth";D===y(n)&&"static"!==_(D=R(n)).position&&"absolute"===f&&(k="scrollHeight",S="scrollWidth"),(i===o||(i===c||i===s)&&u===l)&&(C=a,x-=(v&&D===j&&j.visualViewport?j.visualViewport.height:D[k])-r.height,x*=d?1:-1),i!==c&&(i!==o&&i!==a||u!==l)||(E=s,b-=(v&&D===j&&j.visualViewport?j.visualViewport.width:D[S])-r.width,b*=d?1:-1)}var M,P=Object.assign({position:f},h&&$),B=!0===m?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:L(n*i)/i||0,y:L(r*i)/i||0}}({x:b,y:x},y(n)):{x:b,y:x};return b=B.x,x=B.y,d?Object.assign({},P,((M={})[C]=A?"0":"",M[E]=T?"0":"",M.transform=(j.devicePixelRatio||1)<=1?"translate("+b+"px, "+x+"px)":"translate3d("+b+"px, "+x+"px, 0)",M)):Object.assign({},P,((t={})[C]=A?x+"px":"",t[E]=T?b+"px":"",t.transform="",t))}var G={passive:!0},J={left:"right",right:"left",bottom:"top",top:"bottom"};function X(e){return e.replace(/left|right|bottom|top/g,function(e){return J[e]})}var Y={start:"end",end:"start"};function K(e){return e.replace(/start|end/g,function(e){return Y[e]})}function Q(e){var t=y(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Z(e){return k(R(e)).left+Q(e).scrollLeft}function ee(e){var t=_(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function te(e){return["html","body","#document"].indexOf(b(e))>=0?e.ownerDocument.body:x(e)&&ee(e)?e:te(B(e))}function ne(e,t){var n;void 0===t&&(t=[]);var r=te(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=y(r),a=i?[o].concat(o.visualViewport||[],ee(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(ne(B(a)))}function re(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ie(e,t,n){return t===d?re(function(e,t){var n=y(e),r=R(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){o=i.width,a=i.height;var u=D();(u||!u&&"fixed"===t)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:o,height:a,x:s+Z(e),y:c}}(e,n)):w(t)?function(e,t){var n=k(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):re(function(e){var t,n=R(e),r=Q(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=E(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=E(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+Z(e),c=-r.scrollTop;return"rtl"===_(i||n).direction&&(s+=E(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:c}}(R(e)))}function oe(e){var t,n=e.reference,r=e.element,i=e.placement,u=i?A(i):null,p=i?F(i):null,d=n.x+n.width/2-r.width/2,h=n.y+n.height/2-r.height/2;switch(u){case o:t={x:d,y:n.y-r.height};break;case a:t={x:d,y:n.y+n.height};break;case s:t={x:n.x+n.width,y:h};break;case c:t={x:n.x-r.width,y:h};break;default:t={x:n.x,y:n.y}}var m=u?N(u):null;if(null!=m){var v="y"===m?"height":"width";switch(p){case f:t[m]=t[m]-(n[v]/2-r[v]/2);break;case l:t[m]=t[m]+(n[v]/2-r[v]/2)}}return t}function ae(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,c=n.strategy,u=void 0===c?e.strategy:c,f=n.boundary,l=void 0===f?"clippingParents":f,m=n.rootBoundary,v=void 0===m?d:m,g=n.elementContext,y=void 0===g?h:g,O=n.altBoundary,T=void 0!==O&&O,A=n.padding,L=void 0===A?0:A,j=W("number"!=typeof L?L:q(L,p)),D=y===h?"reference":h,S=e.rects.popper,P=e.elements[T?D:y],H=function(e,t,n,r){var i="clippingParents"===t?function(e){var t=ne(B(e)),n=["absolute","fixed"].indexOf(_(e).position)>=0&&x(e)?I(e):e;return w(n)?t.filter(function(e){return w(e)&&M(e,n)&&"body"!==b(e)}):[]}(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(t,n){var i=ie(e,n,r);return t.top=E(i.top,t.top),t.right=C(i.right,t.right),t.bottom=C(i.bottom,t.bottom),t.left=E(i.left,t.left),t},ie(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(w(P)?P:P.contextElement||R(e.elements.popper),l,v,u),N=k(e.elements.reference),V=oe({reference:N,element:S,placement:i}),U=re(Object.assign({},S,V)),F=y===h?U:N,$={top:H.top-F.top+j.top,bottom:F.bottom-H.bottom+j.bottom,left:H.left-F.left+j.left,right:F.right-H.right+j.right},z=e.modifiersData.offset;if(y===h&&z){var G=z[i];Object.keys($).forEach(function(e){var t=[s,a].indexOf(e)>=0?1:-1,n=[o,a].indexOf(e)>=0?"y":"x";$[e]+=G[n]*t})}return $}function se(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?v:c,f=F(r),l=f?s?m:m.filter(function(e){return F(e)===f}):p,d=l.filter(function(e){return u.indexOf(e)>=0});0===d.length&&(d=l);var h=d.reduce(function(t,n){return t[n]=ae(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[A(n)],t},{});return Object.keys(h).sort(function(e,t){return h[e]-h[t]})}var ce={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,p=void 0===i||i,l=n.altAxis,d=void 0===l||l,h=n.fallbackPlacements,m=n.padding,v=n.boundary,g=n.rootBoundary,b=n.altBoundary,y=n.flipVariations,w=void 0===y||y,x=n.allowedAutoPlacements,O=t.options.placement,T=A(O),E=h||(T!==O&&w?function(e){if(A(e)===u)return[];var t=X(e);return[K(e),t,K(t)]}(O):[X(O)]),C=[O].concat(E).reduce(function(e,n){return e.concat(A(n)===u?se(t,{placement:n,boundary:v,rootBoundary:g,padding:m,flipVariations:w,allowedAutoPlacements:x}):n)},[]),L=t.rects.reference,j=t.rects.popper,D=new Map,k=!0,S=C[0],M=0;M<C.length;M++){var _=C[M],P=A(_),R=F(_)===f,B=[o,a].indexOf(P)>=0,H=B?"width":"height",I=ae(t,{placement:_,boundary:v,rootBoundary:g,altBoundary:b,padding:m}),N=B?R?s:c:R?a:o;L[H]>j[H]&&(N=X(N));var V=X(N),W=[];if(p&&W.push(I[P]<=0),d&&W.push(I[N]<=0,I[V]<=0),W.every(function(e){return e})){S=_,k=!1;break}D.set(_,W)}if(k)for(var q=function(e){var t=C.find(function(t){var n=D.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return S=t,"break"},U=w?3:1;U>0&&"break"!==q(U);U--);t.placement!==S&&(t.modifiersData[r]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ue(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function pe(e){return[o,s,a,c].some(function(t){return e[t]>=0})}function fe(e,t,n){void 0===n&&(n=!1);var r,i,o=x(t),a=x(t)&&function(e){var t=e.getBoundingClientRect(),n=L(t.width)/e.offsetWidth||1,r=L(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=R(t),c=k(e,a,n),u={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(o||!o&&!n)&&(("body"!==b(t)||ee(s))&&(u=(r=t)!==y(r)&&x(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:Q(r)),x(t)?((p=k(t,!0)).x+=t.clientLeft,p.y+=t.clientTop):s&&(p.x=Z(s))),{x:c.left+u.scrollLeft-p.x,y:c.top+u.scrollTop-p.y,width:c.width,height:c.height}}function le(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||i(e)}),r}var de={placement:"bottom",modifiers:[],strategy:"absolute"};function he(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function me(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?de:i;return function(e,t,n){void 0===n&&(n=o);var i,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},de,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,p={state:s,setOptions:function(n){var i="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},o,s.options,i),s.scrollParents={reference:w(e)?ne(e):e.contextElement?ne(e.contextElement):[],popper:ne(t)};var a,u,l=function(e){var t=le(e);return g.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((a=[].concat(r,s.options.modifiers),u=a.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(u).map(function(e){return u[e]})));return s.orderedModifiers=l.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var o=i({state:s,name:t,instance:p,options:r});c.push(o||function(){})}}),p.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(he(t,n)){s.rects={reference:fe(t,I(n),"fixed"===s.options.strategy),popper:S(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var i=s.orderedModifiers[r],o=i.fn,a=i.options,c=void 0===a?{}:a,f=i.name;"function"==typeof o&&(s=o({state:s,options:c,name:f,instance:p})||s)}else s.reset=!1,r=-1}}},update:(i=function(){return new Promise(function(e){p.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(i())})})),a}),destroy:function(){f(),u=!0}};if(!he(e,t))return p;function f(){c.forEach(function(e){return e()}),c=[]}return p.setOptions(n).then(function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)}),p}}var ve=me({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,a=r.resize,s=void 0===a||a,c=y(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(e){e.addEventListener("scroll",n.update,G)}),s&&c.addEventListener("resize",n.update,G),function(){o&&u.forEach(function(e){e.removeEventListener("scroll",n.update,G)}),s&&c.removeEventListener("resize",n.update,G)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=oe({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,c=void 0===s||s,u={placement:A(t.placement),variation:F(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,z(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,z(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},T,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=void 0===i?[0,0]:i,u=v.reduce(function(e,n){return e[n]=function(e,t,n){var r=A(e),i=[c,o].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,u=a[0],p=a[1];return u=u||0,p=(p||0)*i,[c,s].indexOf(r)>=0?{x:p,y:u}:{x:u,y:p}}(n,t.rects,a),e},{}),p=u[t.placement],f=p.x,l=p.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=u}},ce,{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,u=void 0===i||i,p=n.altAxis,l=void 0!==p&&p,d=n.boundary,h=n.rootBoundary,m=n.altBoundary,v=n.padding,g=n.tether,b=void 0===g||g,y=n.tetherOffset,w=void 0===y?0:y,x=ae(t,{boundary:d,rootBoundary:h,padding:v,altBoundary:m}),O=A(t.placement),T=F(t.placement),L=!T,j=N(O),D="x"===j?"y":"x",k=t.modifiersData.popperOffsets,M=t.rects.reference,_=t.rects.popper,P="function"==typeof w?w(Object.assign({},t.rects,{placement:t.placement})):w,R="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(k){if(u){var W,q="y"===j?o:c,U="y"===j?a:s,$="y"===j?"height":"width",z=k[j],G=z+x[q],J=z-x[U],X=b?-_[$]/2:0,Y=T===f?M[$]:_[$],K=T===f?-_[$]:-M[$],Q=t.elements.arrow,Z=b&&Q?S(Q):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[q],ne=ee[U],re=V(0,M[$],Z[$]),ie=L?M[$]/2-X-re-te-R.mainAxis:Y-re-te-R.mainAxis,oe=L?-M[$]/2+X+re+ne+R.mainAxis:K+re+ne+R.mainAxis,se=t.elements.arrow&&I(t.elements.arrow),ce=se?"y"===j?se.clientTop||0:se.clientLeft||0:0,ue=null!=(W=null==B?void 0:B[j])?W:0,pe=z+oe-ue,fe=V(b?C(G,z+ie-ue-ce):G,z,b?E(J,pe):J);k[j]=fe,H[j]=fe-z}if(l){var le,de="x"===j?o:c,he="x"===j?a:s,me=k[D],ve="y"===D?"height":"width",ge=me+x[de],be=me-x[he],ye=-1!==[o,c].indexOf(O),we=null!=(le=null==B?void 0:B[D])?le:0,xe=ye?ge:me-M[ve]-_[ve]-we+R.altAxis,Oe=ye?me+M[ve]+_[ve]-we-R.altAxis:be,Te=b&&ye?function(e,t,n){var r=V(e,t,n);return r>n?n:r}(xe,me,Oe):V(b?xe:ge,me,b?Oe:be);k[D]=Te,H[D]=Te-me}t.modifiersData[r]=H}},requiresIfExists:["offset"]},U,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=ae(t,{elementContext:"reference"}),s=ae(t,{altBoundary:!0}),c=ue(a,r),u=ue(s,i,o),p=pe(c),f=pe(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":f})}}]}),ge="tippy-content",be="tippy-arrow",ye="tippy-svg-arrow",we={passive:!0,capture:!0},xe=function(){return document.body};function Oe(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Te(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Ae(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Ee(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function Ce(e){return[].concat(e)}function Le(e,t){-1===e.indexOf(t)&&e.push(t)}function je(e){return[].slice.call(e)}function De(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function ke(){return document.createElement("div")}function Se(e){return["Element","Fragment"].some(function(t){return Te(e,t)})}function Me(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function _e(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function Pe(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[r](t,n)})}function Re(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var Be={isTouch:!1},He=0;function Ie(){Be.isTouch||(Be.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ne))}function Ne(){var e=performance.now();e-He<20&&(Be.isTouch=!1,document.removeEventListener("mousemove",Ne)),He=e}function Ve(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var We=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),qe=Object.assign({appendTo:xe,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}),Ue=Object.keys(qe);function Fe(e){var t=(e.plugins||[]).reduce(function(t,n){var r,i=n.name,o=n.defaultValue;return i&&(t[i]=void 0!==e[i]?e[i]:null!=(r=qe[i])?r:o),t},{});return Object.assign({},e,t)}function $e(e,t){var n=Object.assign({},t,{content:Ae(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Fe(Object.assign({},qe,{plugins:t}))):Ue).reduce(function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t},{})}(e,t.plugins));return n.aria=Object.assign({},qe.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function ze(e,t){e.innerHTML=t}function Ge(e){var t=ke();return!0===e?t.className=be:(t.className=ye,Se(e)?t.appendChild(e):ze(t,e)),t}function Je(e,t){Se(t.content)?(ze(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?ze(e,t.content):e.textContent=t.content)}function Xe(e){var t=e.firstElementChild,n=je(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(ge)}),arrow:n.find(function(e){return e.classList.contains(be)||e.classList.contains(ye)}),backdrop:n.find(function(e){return e.classList.contains("tippy-backdrop")})}}function Ye(e){var t=ke(),n=ke();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=ke();function i(n,r){var i=Xe(t),o=i.box,a=i.content,s=i.arrow;r.theme?o.setAttribute("data-theme",r.theme):o.removeAttribute("data-theme"),"string"==typeof r.animation?o.setAttribute("data-animation",r.animation):o.removeAttribute("data-animation"),r.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?o.setAttribute("role",r.role):o.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||Je(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(o.removeChild(s),o.appendChild(Ge(r.arrow))):o.appendChild(Ge(r.arrow)):s&&o.removeChild(s)}return r.className=ge,r.setAttribute("data-state","hidden"),Je(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props),{popper:t,onUpdate:i}}Ye.$$tippy=!0;var Ke=1,Qe=[],Ze=[];function et(e,t){var n,r,i,o,a,s,c,u,p=$e(e,Object.assign({},qe,Fe(De(t)))),f=!1,l=!1,d=!1,h=!1,m=[],v=Ee(G,p.interactiveDebounce),g=Ke++,b=(u=p.plugins).filter(function(e,t){return u.indexOf(e)===t}),y={id:g,reference:e,popper:ke(),popperInstance:null,props:p,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:b,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(t){if(!y.state.isDestroyed){_("onBeforeUpdate",[y,t]),$();var n=y.props,r=$e(e,Object.assign({},n,De(t),{ignoreAttributes:!0}));y.props=r,F(),n.interactiveDebounce!==r.interactiveDebounce&&(B(),v=Ee(G,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?Ce(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded"),R(),M(),O&&O(n,r),y.popperInstance&&(K(),Z().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})),_("onAfterUpdate",[y,t])}},setContent:function(e){y.setProps({content:e})},show:function(){var e=y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,r=Be.isTouch&&!y.props.touch,i=Oe(y.props.duration,0,qe.duration);if(!(e||t||n||r||j().hasAttribute("disabled")||(_("onShow",[y],!1),!1===y.props.onShow(y)))){if(y.state.isVisible=!0,L()&&(x.style.visibility="visible"),M(),V(),y.state.isMounted||(x.style.transition="none"),L()){var o=k();Me([o.box,o.content],0)}var a,c,u;s=function(){var e;if(y.state.isVisible&&!h){if(h=!0,x.style.transition=y.props.moveTransition,L()&&y.props.animation){var t=k(),n=t.box,r=t.content;Me([n,r],i),_e([n,r],"visible")}P(),R(),Le(Ze,y),null==(e=y.popperInstance)||e.forceUpdate(),_("onMount",[y]),y.props.animation&&L()&&function(e){q(e,function(){y.state.isShown=!0,_("onShown",[y])})}(i)}},c=y.props.appendTo,u=j(),(a=y.props.interactive&&c===xe||"parent"===c?u.parentNode:Ae(c,[u])).contains(x)||a.appendChild(x),y.state.isMounted=!0,K()}},hide:function(){var e=!y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,r=Oe(y.props.duration,1,qe.duration);if(!(e||t||n)&&(_("onHide",[y],!1),!1!==y.props.onHide(y))){if(y.state.isVisible=!1,y.state.isShown=!1,h=!1,f=!1,L()&&(x.style.visibility="hidden"),B(),W(),M(!0),L()){var i=k(),o=i.box,a=i.content;y.props.animation&&(Me([o,a],r),_e([o,a],"hidden"))}P(),R(),y.props.animation?L()&&function(e,t){q(e,function(){!y.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()})}(r,y.unmount):y.unmount()}},hideWithInteractivity:function(e){D().addEventListener("mousemove",v),Le(Qe,v),v(e)},enable:function(){y.state.isEnabled=!0},disable:function(){y.hide(),y.state.isEnabled=!1},unmount:function(){y.state.isVisible&&y.hide(),y.state.isMounted&&(Q(),Z().forEach(function(e){e._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x),Ze=Ze.filter(function(e){return e!==y}),y.state.isMounted=!1,_("onHidden",[y]))},destroy:function(){y.state.isDestroyed||(y.clearDelayTimeouts(),y.unmount(),$(),delete e._tippy,y.state.isDestroyed=!0,_("onDestroy",[y]))}};if(!p.render)return y;var w=p.render(y),x=w.popper,O=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+y.id,y.popper=x,e._tippy=y,x._tippy=y;var T=b.map(function(e){return e.fn(y)}),A=e.hasAttribute("aria-expanded");return F(),R(),M(),_("onCreate",[y]),p.showOnCreate&&ee(),x.addEventListener("mouseenter",function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()}),x.addEventListener("mouseleave",function(){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&D().addEventListener("mousemove",v)}),y;function E(){var e=y.props.touch;return Array.isArray(e)?e:[e,0]}function C(){return"hold"===E()[0]}function L(){var e;return!(null==(e=y.props.render)||!e.$$tippy)}function j(){return c||e}function D(){var e,t,n=j().parentNode;return n&&null!=(t=Ce(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document}function k(){return Xe(x)}function S(e){return y.state.isMounted&&!y.state.isVisible||Be.isTouch||o&&"focus"===o.type?0:Oe(y.props.delay,e?0:1,qe.delay)}function M(e){void 0===e&&(e=!1),x.style.pointerEvents=y.props.interactive&&!e?"":"none",x.style.zIndex=""+y.props.zIndex}function _(e,t,n){var r;void 0===n&&(n=!0),T.forEach(function(n){n[e]&&n[e].apply(n,t)}),n&&(r=y.props)[e].apply(r,t)}function P(){var t=y.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;Ce(y.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(n);if(y.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var i=t&&t.replace(r,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}})}}function R(){!A&&y.props.aria.expanded&&Ce(y.props.triggerTarget||e).forEach(function(e){y.props.interactive?e.setAttribute("aria-expanded",y.state.isVisible&&e===j()?"true":"false"):e.removeAttribute("aria-expanded")})}function B(){D().removeEventListener("mousemove",v),Qe=Qe.filter(function(e){return e!==v})}function H(t){if(!Be.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!y.props.interactive||!Re(x,n)){if(Ce(y.props.triggerTarget||e).some(function(e){return Re(e,n)})){if(Be.isTouch)return;if(y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else _("onClickOutside",[y,t]);!0===y.props.hideOnClick&&(y.clearDelayTimeouts(),y.hide(),l=!0,setTimeout(function(){l=!1}),y.state.isMounted||W())}}}function I(){d=!0}function N(){d=!1}function V(){var e=D();e.addEventListener("mousedown",H,!0),e.addEventListener("touchend",H,we),e.addEventListener("touchstart",N,we),e.addEventListener("touchmove",I,we)}function W(){var e=D();e.removeEventListener("mousedown",H,!0),e.removeEventListener("touchend",H,we),e.removeEventListener("touchstart",N,we),e.removeEventListener("touchmove",I,we)}function q(e,t){var n=k().box;function r(e){e.target===n&&(Pe(n,"remove",r),t())}if(0===e)return t();Pe(n,"remove",a),Pe(n,"add",r),a=r}function U(t,n,r){void 0===r&&(r=!1),Ce(y.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})})}function F(){var e;C()&&(U("touchstart",z,{passive:!0}),U("touchend",J,{passive:!0})),(e=y.props.trigger,e.split(/\s+/).filter(Boolean)).forEach(function(e){if("manual"!==e)switch(U(e,z),e){case"mouseenter":U("mouseleave",J);break;case"focus":U(We?"focusout":"blur",X);break;case"focusin":U("focusout",X)}})}function $(){m.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)}),m=[]}function z(e){var t,n=!1;if(y.state.isEnabled&&!Y(e)&&!l){var r="focus"===(null==(t=o)?void 0:t.type);o=e,c=e.currentTarget,R(),!y.state.isVisible&&Te(e,"MouseEvent")&&Qe.forEach(function(t){return t(e)}),"click"===e.type&&(y.props.trigger.indexOf("mouseenter")<0||f)&&!1!==y.props.hideOnClick&&y.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function G(e){var t=e.target,n=j().contains(t)||x.contains(t);if("mousemove"!==e.type||!n){var r=Z().concat(x).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:p}:null}).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every(function(e){var t=e.popperRect,i=e.popperState,o=e.props.interactiveBorder,a=i.placement.split("-")[0],s=i.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,p="right"===a?s.left.x:0,f="left"===a?s.right.x:0,l=t.top-r+c>o,d=r-t.bottom-u>o,h=t.left-n+p>o,m=n-t.right-f>o;return l||d||h||m})})(r,e)&&(B(),te(e))}}function J(e){Y(e)||y.props.trigger.indexOf("click")>=0&&f||(y.props.interactive?y.hideWithInteractivity(e):te(e))}function X(e){y.props.trigger.indexOf("focusin")<0&&e.target!==j()||y.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function Y(e){return!!Be.isTouch&&C()!==e.type.indexOf("touch")>=0}function K(){Q();var t=y.props,n=t.popperOptions,r=t.placement,i=t.offset,o=t.getReferenceClientRect,a=t.moveTransition,c=L()?Xe(x).arrow:null,u=o?{getBoundingClientRect:o,contextElement:o.contextElement||j()}:e,p=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(L()){var n=k().box;["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)}),t.attributes.popper={}}}}];L()&&c&&p.push({name:"arrow",options:{element:c,padding:3}}),p.push.apply(p,(null==n?void 0:n.modifiers)||[]),y.popperInstance=ve(u,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:p}))}function Q(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function Z(){return je(x.querySelectorAll("[data-tippy-root]"))}function ee(e){y.clearDelayTimeouts(),e&&_("onTrigger",[y,e]),V();var t=S(!0),r=E(),i=r[0],o=r[1];Be.isTouch&&"hold"===i&&o&&(t=o),t?n=setTimeout(function(){y.show()},t):y.show()}function te(e){if(y.clearDelayTimeouts(),_("onUntrigger",[y,e]),y.state.isVisible){if(!(y.props.trigger.indexOf("mouseenter")>=0&&y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=S(!1);t?r=setTimeout(function(){y.state.isVisible&&y.hide()},t):i=requestAnimationFrame(function(){y.hide()})}}else W()}}function tt(e,t){void 0===t&&(t={});var n=qe.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Ie,we),window.addEventListener("blur",Ve);var r,i=Object.assign({},t,{plugins:n}),o=(r=e,Se(r)?[r]:function(e){return Te(e,"NodeList")}(r)?je(r):Array.isArray(r)?r:je(document.querySelectorAll(r))).reduce(function(e,t){var n=t&&et(t,i);return n&&e.push(n),e},[]);return Se(e)?o[0]:o}tt.defaultProps=qe,tt.setDefaultProps=function(e){Object.keys(e).forEach(function(t){qe[t]=e[t]})},tt.currentInput=Be,Object.assign({},T,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),tt.setDefaultProps({render:Ye});class nt{static getTooltipInstance(e){return e._tippy}static createTooltip(e){return e.classList.add(nt.TOOLTIP_CLASS),tt(e,nt.getConfig(e))}static getOrCreateTooltipInstance(e){return nt.getTooltipInstance(e)||nt.createTooltip(e)}static getConfig(e){return(new i).setContent(e.getAttribute(nt.ATTR_CONTENT)).setTheme(e.getAttribute(nt.ATTR_THEME)).setPlacement(e.getAttribute(nt.ATTR_PLACEMENT)).setTrigger(e.getAttribute(nt.ATTR_TRIGGER)).setAppendTo(e.getAttribute(nt.ATTR_APPEND_TO))}static updateTooltipContent(e,t){const n=nt.getTooltipInstance(e);n&&""!==t&&n.setContent(t)}static destroyTooltip(e){var t;const n=nt.getTooltipInstance(e);e.classList.contains(nt.TOOLTIP_CLASS)&&n&&!(null===(t=n.state)||void 0===t?void 0:t.isDestroyed)&&n.destroy()}static getTooltipTarget(e){for(;e&&!e.getAttribute(nt.ATTR_CONTENT);)e=e.parentElement;return e}}nt.ATTR_CONTENT="tooltip-content",nt.ATTR_THEME="tooltip-theme",nt.ATTR_PLACEMENT="tooltip-placement",nt.ATTR_TRIGGER="tooltip-trigger",nt.ATTR_APPEND_TO="tooltip-append-to",nt.TOOLTIP_CLASS="onto-tooltip"}}; //# sourceMappingURL=45069.82993bf600a550fac275.bundle.js.map