import{r as ae,j as lr,a as dr,F as vr,i as mr}from"./index.1ec44e23.js";var U="top",_="bottom",X="right",q="left",vt="auto",Ne=[U,_,X,q],Te="start",ke="end",hr="clippingParents",Ft="viewport",$e="popper",gr="reference",Et=Ne.reduce(function(e,t){return e.concat([t+"-"+Te,t+"-"+ke])},[]),Ut=[].concat(Ne,[vt]).reduce(function(e,t){return e.concat([t,t+"-"+Te,t+"-"+ke])},[]),yr="beforeRead",br="read",wr="afterRead",Or="beforeMain",xr="main",Er="afterMain",Tr="beforeWrite",Ar="write",Dr="afterWrite",Pr=[yr,br,wr,Or,xr,Er,Tr,Ar,Dr];function te(e){return e?(e.nodeName||"").toLowerCase():null}function G(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ge(e){var t=G(e).Element;return e instanceof t||e instanceof Element}function Y(e){var t=G(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function mt(e){if(typeof ShadowRoot=="undefined")return!1;var t=G(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Cr(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},s=t.elements[r];!Y(s)||!te(s)||(Object.assign(s.style,n),Object.keys(o).forEach(function(c){var u=o[c];u===!1?s.removeAttribute(c):s.setAttribute(c,u===!0?"":u)}))})}function Sr(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],s=t.attributes[n]||{},c=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),u=c.reduce(function(f,d){return f[d]="",f},{});!Y(o)||!te(o)||(Object.assign(o.style,u),Object.keys(s).forEach(function(f){o.removeAttribute(f)}))})}}var qt={name:"applyStyles",enabled:!0,phase:"write",fn:Cr,effect:Sr,requires:["computeStyles"]};function ee(e){return e.split("-")[0]}var he=Math.max,tt=Math.min,Ae=Math.round;function pt(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function zt(){return!/^((?!chrome|android).)*safari/i.test(pt())}function De(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,s=1;t&&Y(e)&&(o=e.offsetWidth>0&&Ae(n.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Ae(n.height)/e.offsetHeight||1);var c=ge(e)?G(e):window,u=c.visualViewport,f=!zt()&&r,d=(n.left+(f&&u?u.offsetLeft:0))/o,p=(n.top+(f&&u?u.offsetTop:0))/s,b=n.width/o,x=n.height/s;return{width:b,height:x,top:p,right:d+b,bottom:p+x,left:d,x:d,y:p}}function ht(e){var t=De(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Yt(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&mt(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function se(e){return G(e).getComputedStyle(e)}function Lr(e){return["table","td","th"].indexOf(te(e))>=0}function ce(e){return((ge(e)?e.ownerDocument:e.document)||window.document).documentElement}function nt(e){return te(e)==="html"?e:e.assignedSlot||e.parentNode||(mt(e)?e.host:null)||ce(e)}function Tt(e){return!Y(e)||se(e).position==="fixed"?null:e.offsetParent}function Rr(e){var t=/firefox/i.test(pt()),r=/Trident/i.test(pt());if(r&&Y(e)){var n=se(e);if(n.position==="fixed")return null}var o=nt(e);for(mt(o)&&(o=o.host);Y(o)&&["html","body"].indexOf(te(o))<0;){var s=se(o);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return o;o=o.parentNode}return null}function Ve(e){for(var t=G(e),r=Tt(e);r&&Lr(r)&&se(r).position==="static";)r=Tt(r);return r&&(te(r)==="html"||te(r)==="body"&&se(r).position==="static")?t:r||Rr(e)||t}function gt(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Be(e,t,r){return he(e,tt(t,r))}function jr(e,t,r){var n=Be(e,t,r);return n>r?r:n}function _t(){return{top:0,right:0,bottom:0,left:0}}function Xt(e){return Object.assign({},_t(),e)}function Gt(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var $r=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,Xt(typeof t!="number"?t:Gt(t,Ne))};function Br(e){var t,r=e.state,n=e.name,o=e.options,s=r.elements.arrow,c=r.modifiersData.popperOffsets,u=ee(r.placement),f=gt(u),d=[q,X].indexOf(u)>=0,p=d?"height":"width";if(!(!s||!c)){var b=$r(o.padding,r),x=ht(s),m=f==="y"?U:q,w=f==="y"?_:X,g=r.rects.reference[p]+r.rects.reference[f]-c[f]-r.rects.popper[p],y=c[f]-r.rects.reference[f],D=Ve(s),S=D?f==="y"?D.clientHeight||0:D.clientWidth||0:0,R=g/2-y/2,i=b[m],E=S-x[p]-b[w],l=S/2-x[p]/2+R,L=Be(i,l,E),k=f;r.modifiersData[n]=(t={},t[k]=L,t.centerOffset=L-l,t)}}function Mr(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||!Yt(t.elements.popper,o)||(t.elements.arrow=o))}var kr={name:"arrow",enabled:!0,phase:"main",fn:Br,effect:Mr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Pe(e){return e.split("-")[1]}var Ir={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Nr(e){var t=e.x,r=e.y,n=window,o=n.devicePixelRatio||1;return{x:Ae(t*o)/o||0,y:Ae(r*o)/o||0}}function At(e){var t,r=e.popper,n=e.popperRect,o=e.placement,s=e.variation,c=e.offsets,u=e.position,f=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,b=e.isFixed,x=c.x,m=x===void 0?0:x,w=c.y,g=w===void 0?0:w,y=typeof p=="function"?p({x:m,y:g}):{x:m,y:g};m=y.x,g=y.y;var D=c.hasOwnProperty("x"),S=c.hasOwnProperty("y"),R=q,i=U,E=window;if(d){var l=Ve(r),L="clientHeight",k="clientWidth";if(l===G(r)&&(l=ce(r),se(l).position!=="static"&&u==="absolute"&&(L="scrollHeight",k="scrollWidth")),l=l,o===U||(o===q||o===X)&&s===ke){i=_;var A=b&&l===E&&E.visualViewport?E.visualViewport.height:l[L];g-=A-n.height,g*=f?1:-1}if(o===q||(o===U||o===_)&&s===ke){R=X;var P=b&&l===E&&E.visualViewport?E.visualViewport.width:l[k];m-=P-n.width,m*=f?1:-1}}var $=Object.assign({position:u},d&&Ir),B=p===!0?Nr({x:m,y:g}):{x:m,y:g};if(m=B.x,g=B.y,f){var j;return Object.assign({},$,(j={},j[i]=S?"0":"",j[R]=D?"0":"",j.transform=(E.devicePixelRatio||1)<=1?"translate("+m+"px, "+g+"px)":"translate3d("+m+"px, "+g+"px, 0)",j))}return Object.assign({},$,(t={},t[i]=S?g+"px":"",t[R]=D?m+"px":"",t.transform="",t))}function Vr(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,s=r.adaptive,c=s===void 0?!0:s,u=r.roundOffsets,f=u===void 0?!0:u,d={placement:ee(t.placement),variation:Pe(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,At(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,At(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Hr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Vr,data:{}},Qe={passive:!0};function Wr(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,s=o===void 0?!0:o,c=n.resize,u=c===void 0?!0:c,f=G(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&d.forEach(function(p){p.addEventListener("scroll",r.update,Qe)}),u&&f.addEventListener("resize",r.update,Qe),function(){s&&d.forEach(function(p){p.removeEventListener("scroll",r.update,Qe)}),u&&f.removeEventListener("resize",r.update,Qe)}}var Fr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Wr,data:{}},Ur={left:"right",right:"left",bottom:"top",top:"bottom"};function et(e){return e.replace(/left|right|bottom|top/g,function(t){return Ur[t]})}var qr={start:"end",end:"start"};function Dt(e){return e.replace(/start|end/g,function(t){return qr[t]})}function yt(e){var t=G(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function bt(e){return De(ce(e)).left+yt(e).scrollLeft}function zr(e,t){var r=G(e),n=ce(e),o=r.visualViewport,s=n.clientWidth,c=n.clientHeight,u=0,f=0;if(o){s=o.width,c=o.height;var d=zt();(d||!d&&t==="fixed")&&(u=o.offsetLeft,f=o.offsetTop)}return{width:s,height:c,x:u+bt(e),y:f}}function Yr(e){var t,r=ce(e),n=yt(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=he(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),c=he(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-n.scrollLeft+bt(e),f=-n.scrollTop;return se(o||r).direction==="rtl"&&(u+=he(r.clientWidth,o?o.clientWidth:0)-s),{width:s,height:c,x:u,y:f}}function wt(e){var t=se(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function Kt(e){return["html","body","#document"].indexOf(te(e))>=0?e.ownerDocument.body:Y(e)&&wt(e)?e:Kt(nt(e))}function Me(e,t){var r;t===void 0&&(t=[]);var n=Kt(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),s=G(n),c=o?[s].concat(s.visualViewport||[],wt(n)?n:[]):n,u=t.concat(c);return o?u:u.concat(Me(nt(c)))}function lt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function _r(e,t){var r=De(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Pt(e,t,r){return t===Ft?lt(zr(e,r)):ge(t)?_r(t,r):lt(Yr(ce(e)))}function Xr(e){var t=Me(nt(e)),r=["absolute","fixed"].indexOf(se(e).position)>=0,n=r&&Y(e)?Ve(e):e;return ge(n)?t.filter(function(o){return ge(o)&&Yt(o,n)&&te(o)!=="body"}):[]}function Gr(e,t,r,n){var o=t==="clippingParents"?Xr(e):[].concat(t),s=[].concat(o,[r]),c=s[0],u=s.reduce(function(f,d){var p=Pt(e,d,n);return f.top=he(p.top,f.top),f.right=tt(p.right,f.right),f.bottom=tt(p.bottom,f.bottom),f.left=he(p.left,f.left),f},Pt(e,c,n));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function Jt(e){var t=e.reference,r=e.element,n=e.placement,o=n?ee(n):null,s=n?Pe(n):null,c=t.x+t.width/2-r.width/2,u=t.y+t.height/2-r.height/2,f;switch(o){case U:f={x:c,y:t.y-r.height};break;case _:f={x:c,y:t.y+t.height};break;case X:f={x:t.x+t.width,y:u};break;case q:f={x:t.x-r.width,y:u};break;default:f={x:t.x,y:t.y}}var d=o?gt(o):null;if(d!=null){var p=d==="y"?"height":"width";switch(s){case Te:f[d]=f[d]-(t[p]/2-r[p]/2);break;case ke:f[d]=f[d]+(t[p]/2-r[p]/2);break}}return f}function Ie(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,s=r.strategy,c=s===void 0?e.strategy:s,u=r.boundary,f=u===void 0?hr:u,d=r.rootBoundary,p=d===void 0?Ft:d,b=r.elementContext,x=b===void 0?$e:b,m=r.altBoundary,w=m===void 0?!1:m,g=r.padding,y=g===void 0?0:g,D=Xt(typeof y!="number"?y:Gt(y,Ne)),S=x===$e?gr:$e,R=e.rects.popper,i=e.elements[w?S:x],E=Gr(ge(i)?i:i.contextElement||ce(e.elements.popper),f,p,c),l=De(e.elements.reference),L=Jt({reference:l,element:R,strategy:"absolute",placement:o}),k=lt(Object.assign({},R,L)),A=x===$e?k:l,P={top:E.top-A.top+D.top,bottom:A.bottom-E.bottom+D.bottom,left:E.left-A.left+D.left,right:A.right-E.right+D.right},$=e.modifiersData.offset;if(x===$e&&$){var B=$[o];Object.keys(P).forEach(function(j){var M=[X,_].indexOf(j)>=0?1:-1,O=[U,_].indexOf(j)>=0?"y":"x";P[j]+=B[O]*M})}return P}function Kr(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,s=r.rootBoundary,c=r.padding,u=r.flipVariations,f=r.allowedAutoPlacements,d=f===void 0?Ut:f,p=Pe(n),b=p?u?Et:Et.filter(function(w){return Pe(w)===p}):Ne,x=b.filter(function(w){return d.indexOf(w)>=0});x.length===0&&(x=b);var m=x.reduce(function(w,g){return w[g]=Ie(e,{placement:g,boundary:o,rootBoundary:s,padding:c})[ee(g)],w},{});return Object.keys(m).sort(function(w,g){return m[w]-m[g]})}function Jr(e){if(ee(e)===vt)return[];var t=et(e);return[Dt(e),t,Dt(t)]}function Qr(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,s=o===void 0?!0:o,c=r.altAxis,u=c===void 0?!0:c,f=r.fallbackPlacements,d=r.padding,p=r.boundary,b=r.rootBoundary,x=r.altBoundary,m=r.flipVariations,w=m===void 0?!0:m,g=r.allowedAutoPlacements,y=t.options.placement,D=ee(y),S=D===y,R=f||(S||!w?[et(y)]:Jr(y)),i=[y].concat(R).reduce(function(re,K){return re.concat(ee(K)===vt?Kr(t,{placement:K,boundary:p,rootBoundary:b,padding:d,flipVariations:w,allowedAutoPlacements:g}):K)},[]),E=t.rects.reference,l=t.rects.popper,L=new Map,k=!0,A=i[0],P=0;P<i.length;P++){var $=i[P],B=ee($),j=Pe($)===Te,M=[U,_].indexOf(B)>=0,O=M?"width":"height",V=Ie(t,{placement:$,boundary:p,rootBoundary:b,altBoundary:x,padding:d}),N=M?j?X:q:j?_:U;E[O]>l[O]&&(N=et(N));var I=et(N),W=[];if(s&&W.push(V[B]<=0),u&&W.push(V[N]<=0,V[I]<=0),W.every(function(re){return re})){A=$,k=!1;break}L.set($,W)}if(k)for(var H=w?3:1,pe=function(K){var ne=i.find(function(ye){var ie=L.get(ye);if(ie)return ie.slice(0,K).every(function(be){return be})});if(ne)return A=ne,"break"},Q=H;Q>0;Q--){var le=pe(Q);if(le==="break")break}t.placement!==A&&(t.modifiersData[n]._skip=!0,t.placement=A,t.reset=!0)}}var Zr={name:"flip",enabled:!0,phase:"main",fn:Qr,requiresIfExists:["offset"],data:{_skip:!1}};function Ct(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function St(e){return[U,X,_,q].some(function(t){return e[t]>=0})}function en(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,s=t.modifiersData.preventOverflow,c=Ie(t,{elementContext:"reference"}),u=Ie(t,{altBoundary:!0}),f=Ct(c,n),d=Ct(u,o,s),p=St(f),b=St(d);t.modifiersData[r]={referenceClippingOffsets:f,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:b},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":b})}var tn={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:en};function rn(e,t,r){var n=ee(e),o=[q,U].indexOf(n)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,c=s[0],u=s[1];return c=c||0,u=(u||0)*o,[q,X].indexOf(n)>=0?{x:u,y:c}:{x:c,y:u}}function nn(e){var t=e.state,r=e.options,n=e.name,o=r.offset,s=o===void 0?[0,0]:o,c=Ut.reduce(function(p,b){return p[b]=rn(b,t.rects,s),p},{}),u=c[t.placement],f=u.x,d=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=c}var on={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:nn};function an(e){var t=e.state,r=e.name;t.modifiersData[r]=Jt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var sn={name:"popperOffsets",enabled:!0,phase:"read",fn:an,data:{}};function un(e){return e==="x"?"y":"x"}function fn(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,s=o===void 0?!0:o,c=r.altAxis,u=c===void 0?!1:c,f=r.boundary,d=r.rootBoundary,p=r.altBoundary,b=r.padding,x=r.tether,m=x===void 0?!0:x,w=r.tetherOffset,g=w===void 0?0:w,y=Ie(t,{boundary:f,rootBoundary:d,padding:b,altBoundary:p}),D=ee(t.placement),S=Pe(t.placement),R=!S,i=gt(D),E=un(i),l=t.modifiersData.popperOffsets,L=t.rects.reference,k=t.rects.popper,A=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,P=typeof A=="number"?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),$=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(!!l){if(s){var j,M=i==="y"?U:q,O=i==="y"?_:X,V=i==="y"?"height":"width",N=l[i],I=N+y[M],W=N-y[O],H=m?-k[V]/2:0,pe=S===Te?L[V]:k[V],Q=S===Te?-k[V]:-L[V],le=t.elements.arrow,re=m&&le?ht(le):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:_t(),ne=K[M],ye=K[O],ie=Be(0,L[V],re[V]),be=R?L[V]/2-H-ie-ne-P.mainAxis:pe-ie-ne-P.mainAxis,ue=R?-L[V]/2+H+ie+ye+P.mainAxis:Q+ie+ye+P.mainAxis,we=t.elements.arrow&&Ve(t.elements.arrow),We=we?i==="y"?we.clientTop||0:we.clientLeft||0:0,Ce=(j=$==null?void 0:$[i])!=null?j:0,Fe=N+be-Ce-We,Ue=N+ue-Ce,Se=Be(m?tt(I,Fe):I,N,m?he(W,Ue):W);l[i]=Se,B[i]=Se-N}if(u){var Le,qe=i==="x"?U:q,ze=i==="x"?_:X,oe=l[E],fe=E==="y"?"height":"width",Re=oe+y[qe],de=oe-y[ze],je=[U,q].indexOf(D)!==-1,Ye=(Le=$==null?void 0:$[E])!=null?Le:0,_e=je?Re:oe-L[fe]-k[fe]-Ye+P.altAxis,Xe=je?oe+L[fe]+k[fe]-Ye-P.altAxis:de,Ge=m&&je?jr(_e,oe,Xe):Be(m?_e:Re,oe,m?Xe:de);l[E]=Ge,B[E]=Ge-oe}t.modifiersData[n]=B}}var cn={name:"preventOverflow",enabled:!0,phase:"main",fn,requiresIfExists:["offset"]};function pn(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function ln(e){return e===G(e)||!Y(e)?yt(e):pn(e)}function dn(e){var t=e.getBoundingClientRect(),r=Ae(t.width)/e.offsetWidth||1,n=Ae(t.height)/e.offsetHeight||1;return r!==1||n!==1}function vn(e,t,r){r===void 0&&(r=!1);var n=Y(t),o=Y(t)&&dn(t),s=ce(t),c=De(e,o,r),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(n||!n&&!r)&&((te(t)!=="body"||wt(s))&&(u=ln(t)),Y(t)?(f=De(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):s&&(f.x=bt(s))),{x:c.left+u.scrollLeft-f.x,y:c.top+u.scrollTop-f.y,width:c.width,height:c.height}}function mn(e){var t=new Map,r=new Set,n=[];e.forEach(function(s){t.set(s.name,s)});function o(s){r.add(s.name);var c=[].concat(s.requires||[],s.requiresIfExists||[]);c.forEach(function(u){if(!r.has(u)){var f=t.get(u);f&&o(f)}}),n.push(s)}return e.forEach(function(s){r.has(s.name)||o(s)}),n}function hn(e){var t=mn(e);return Pr.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function gn(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function yn(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Lt={placement:"bottom",modifiers:[],strategy:"absolute"};function Rt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function bn(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,s=o===void 0?Lt:o;return function(u,f,d){d===void 0&&(d=s);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},Lt,s),modifiersData:{},elements:{reference:u,popper:f},attributes:{},styles:{}},b=[],x=!1,m={state:p,setOptions:function(D){var S=typeof D=="function"?D(p.options):D;g(),p.options=Object.assign({},s,p.options,S),p.scrollParents={reference:ge(u)?Me(u):u.contextElement?Me(u.contextElement):[],popper:Me(f)};var R=hn(yn([].concat(n,p.options.modifiers)));return p.orderedModifiers=R.filter(function(i){return i.enabled}),w(),m.update()},forceUpdate:function(){if(!x){var D=p.elements,S=D.reference,R=D.popper;if(!!Rt(S,R)){p.rects={reference:vn(S,Ve(R),p.options.strategy==="fixed"),popper:ht(R)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(P){return p.modifiersData[P.name]=Object.assign({},P.data)});for(var i=0;i<p.orderedModifiers.length;i++){if(p.reset===!0){p.reset=!1,i=-1;continue}var E=p.orderedModifiers[i],l=E.fn,L=E.options,k=L===void 0?{}:L,A=E.name;typeof l=="function"&&(p=l({state:p,options:k,name:A,instance:m})||p)}}}},update:gn(function(){return new Promise(function(y){m.forceUpdate(),y(p)})}),destroy:function(){g(),x=!0}};if(!Rt(u,f))return m;m.setOptions(d).then(function(y){!x&&d.onFirstUpdate&&d.onFirstUpdate(y)});function w(){p.orderedModifiers.forEach(function(y){var D=y.name,S=y.options,R=S===void 0?{}:S,i=y.effect;if(typeof i=="function"){var E=i({state:p,name:D,instance:m,options:R}),l=function(){};b.push(E||l)}})}function g(){b.forEach(function(y){return y()}),b=[]}return m}}var wn=[Fr,sn,Hr,qt,on,Zr,cn,kr,tn],On=bn({defaultModifiers:wn}),xn="tippy-content",En="tippy-backdrop",Tn="tippy-arrow",An="tippy-svg-arrow",me={passive:!0,capture:!0},Qt=function(){return document.body};function at(e,t,r){if(Array.isArray(e)){var n=e[t];return n==null?Array.isArray(r)?r[t]:r:n}return e}function Ot(e,t){var r={}.toString.call(e);return r.indexOf("[object")===0&&r.indexOf(t+"]")>-1}function Zt(e,t){return typeof e=="function"?e.apply(void 0,t):e}function jt(e,t){if(t===0)return e;var r;return function(n){clearTimeout(r),r=setTimeout(function(){e(n)},t)}}function Dn(e){return e.split(/\s+/).filter(Boolean)}function Ee(e){return[].concat(e)}function $t(e,t){e.indexOf(t)===-1&&e.push(t)}function Pn(e){return e.filter(function(t,r){return e.indexOf(t)===r})}function Cn(e){return e.split("-")[0]}function rt(e){return[].slice.call(e)}function Bt(e){return Object.keys(e).reduce(function(t,r){return e[r]!==void 0&&(t[r]=e[r]),t},{})}function Sn(){return document.createElement("div")}function er(e){return["Element","Fragment"].some(function(t){return Ot(e,t)})}function Ln(e){return Ot(e,"NodeList")}function Rn(e){return Ot(e,"MouseEvent")}function jn(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function $n(e){return er(e)?[e]:Ln(e)?rt(e):Array.isArray(e)?e:rt(document.querySelectorAll(e))}function st(e,t){e.forEach(function(r){r&&(r.style.transitionDuration=t+"ms")})}function Mt(e,t){e.forEach(function(r){r&&r.setAttribute("data-state",t)})}function Bn(e){var t,r=Ee(e),n=r[0];return n!=null&&(t=n.ownerDocument)!=null&&t.body?n.ownerDocument:document}function Mn(e,t){var r=t.clientX,n=t.clientY;return e.every(function(o){var s=o.popperRect,c=o.popperState,u=o.props,f=u.interactiveBorder,d=Cn(c.placement),p=c.modifiersData.offset;if(!p)return!0;var b=d==="bottom"?p.top.y:0,x=d==="top"?p.bottom.y:0,m=d==="right"?p.left.x:0,w=d==="left"?p.right.x:0,g=s.top-n+b>f,y=n-s.bottom-x>f,D=s.left-r+m>f,S=r-s.right-w>f;return g||y||D||S})}function ut(e,t,r){var n=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[n](o,r)})}function kt(e,t){for(var r=t;r;){var n;if(e.contains(r))return!0;r=r.getRootNode==null||(n=r.getRootNode())==null?void 0:n.host}return!1}var Z={isTouch:!1},It=0;function kn(){Z.isTouch||(Z.isTouch=!0,window.performance&&document.addEventListener("mousemove",tr))}function tr(){var e=performance.now();e-It<20&&(Z.isTouch=!1,document.removeEventListener("mousemove",tr)),It=e}function In(){var e=document.activeElement;if(jn(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Nn(){document.addEventListener("touchstart",kn,me),window.addEventListener("blur",In)}var Vn=typeof window!="undefined"&&typeof document!="undefined",Hn=Vn?!!window.msCrypto:!1,Wn={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Fn={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},J=Object.assign({appendTo:Qt,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},Wn,Fn),Un=Object.keys(J),qn=function(t){var r=Object.keys(t);r.forEach(function(n){J[n]=t[n]})};function rr(e){var t=e.plugins||[],r=t.reduce(function(n,o){var s=o.name,c=o.defaultValue;if(s){var u;n[s]=e[s]!==void 0?e[s]:(u=J[s])!=null?u:c}return n},{});return Object.assign({},e,r)}function zn(e,t){var r=t?Object.keys(rr(Object.assign({},J,{plugins:t}))):Un,n=r.reduce(function(o,s){var c=(e.getAttribute("data-tippy-"+s)||"").trim();if(!c)return o;if(s==="content")o[s]=c;else try{o[s]=JSON.parse(c)}catch{o[s]=c}return o},{});return n}function Nt(e,t){var r=Object.assign({},t,{content:Zt(t.content,[e])},t.ignoreAttributes?{}:zn(e,t.plugins));return r.aria=Object.assign({},J.aria,r.aria),r.aria={expanded:r.aria.expanded==="auto"?t.interactive:r.aria.expanded,content:r.aria.content==="auto"?t.interactive?null:"describedby":r.aria.content},r}function Vt(e){var t=e.firstElementChild,r=rt(t.children);return{box:t,content:r.find(function(n){return n.classList.contains(xn)}),arrow:r.find(function(n){return n.classList.contains(Tn)||n.classList.contains(An)}),backdrop:r.find(function(n){return n.classList.contains(En)})}}var Yn=1,Ze=[],ft=[];function _n(e,t){var r=Nt(e,Object.assign({},J,rr(Bt(t)))),n,o,s,c=!1,u=!1,f=!1,d=!1,p,b,x,m=[],w=jt(Fe,r.interactiveDebounce),g,y=Yn++,D=null,S=Pn(r.plugins),R={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},i={id:y,reference:e,popper:Sn(),popperInstance:D,props:r,state:R,plugins:S,clearDelayTimeouts:_e,setProps:Xe,setContent:Ge,show:ar,hide:sr,hideWithInteractivity:ur,enable:je,disable:Ye,unmount:fr,destroy:cr};if(!r.render)return i;var E=r.render(i),l=E.popper,L=E.onUpdate;l.setAttribute("data-tippy-root",""),l.id="tippy-"+i.id,i.popper=l,e._tippy=i,l._tippy=i;var k=S.map(function(a){return a.fn(i)}),A=e.hasAttribute("aria-expanded");return we(),H(),N(),I("onCreate",[i]),r.showOnCreate&&Re(),l.addEventListener("mouseenter",function(){i.props.interactive&&i.state.isVisible&&i.clearDelayTimeouts()}),l.addEventListener("mouseleave",function(){i.props.interactive&&i.props.trigger.indexOf("mouseenter")>=0&&M().addEventListener("mousemove",w)}),i;function P(){var a=i.props.touch;return Array.isArray(a)?a:[a,0]}function $(){return P()[0]==="hold"}function B(){var a;return!!((a=i.props.render)!=null&&a.$$tippy)}function j(){return g||e}function M(){var a=j().parentNode;return a?Bn(a):document}function O(){return Vt(l)}function V(a){return i.state.isMounted&&!i.state.isVisible||Z.isTouch||p&&p.type==="focus"?0:at(i.props.delay,a?0:1,J.delay)}function N(a){a===void 0&&(a=!1),l.style.pointerEvents=i.props.interactive&&!a?"":"none",l.style.zIndex=""+i.props.zIndex}function I(a,v,h){if(h===void 0&&(h=!0),k.forEach(function(T){T[a]&&T[a].apply(T,v)}),h){var C;(C=i.props)[a].apply(C,v)}}function W(){var a=i.props.aria;if(!!a.content){var v="aria-"+a.content,h=l.id,C=Ee(i.props.triggerTarget||e);C.forEach(function(T){var F=T.getAttribute(v);if(i.state.isVisible)T.setAttribute(v,F?F+" "+h:h);else{var z=F&&F.replace(h,"").trim();z?T.setAttribute(v,z):T.removeAttribute(v)}})}}function H(){if(!(A||!i.props.aria.expanded)){var a=Ee(i.props.triggerTarget||e);a.forEach(function(v){i.props.interactive?v.setAttribute("aria-expanded",i.state.isVisible&&v===j()?"true":"false"):v.removeAttribute("aria-expanded")})}}function pe(){M().removeEventListener("mousemove",w),Ze=Ze.filter(function(a){return a!==w})}function Q(a){if(!(Z.isTouch&&(f||a.type==="mousedown"))){var v=a.composedPath&&a.composedPath()[0]||a.target;if(!(i.props.interactive&&kt(l,v))){if(Ee(i.props.triggerTarget||e).some(function(h){return kt(h,v)})){if(Z.isTouch||i.state.isVisible&&i.props.trigger.indexOf("click")>=0)return}else I("onClickOutside",[i,a]);i.props.hideOnClick===!0&&(i.clearDelayTimeouts(),i.hide(),u=!0,setTimeout(function(){u=!1}),i.state.isMounted||ne())}}}function le(){f=!0}function re(){f=!1}function K(){var a=M();a.addEventListener("mousedown",Q,!0),a.addEventListener("touchend",Q,me),a.addEventListener("touchstart",re,me),a.addEventListener("touchmove",le,me)}function ne(){var a=M();a.removeEventListener("mousedown",Q,!0),a.removeEventListener("touchend",Q,me),a.removeEventListener("touchstart",re,me),a.removeEventListener("touchmove",le,me)}function ye(a,v){be(a,function(){!i.state.isVisible&&l.parentNode&&l.parentNode.contains(l)&&v()})}function ie(a,v){be(a,v)}function be(a,v){var h=O().box;function C(T){T.target===h&&(ut(h,"remove",C),v())}if(a===0)return v();ut(h,"remove",b),ut(h,"add",C),b=C}function ue(a,v,h){h===void 0&&(h=!1);var C=Ee(i.props.triggerTarget||e);C.forEach(function(T){T.addEventListener(a,v,h),m.push({node:T,eventType:a,handler:v,options:h})})}function we(){$()&&(ue("touchstart",Ce,{passive:!0}),ue("touchend",Ue,{passive:!0})),Dn(i.props.trigger).forEach(function(a){if(a!=="manual")switch(ue(a,Ce),a){case"mouseenter":ue("mouseleave",Ue);break;case"focus":ue(Hn?"focusout":"blur",Se);break;case"focusin":ue("focusout",Se);break}})}function We(){m.forEach(function(a){var v=a.node,h=a.eventType,C=a.handler,T=a.options;v.removeEventListener(h,C,T)}),m=[]}function Ce(a){var v,h=!1;if(!(!i.state.isEnabled||Le(a)||u)){var C=((v=p)==null?void 0:v.type)==="focus";p=a,g=a.currentTarget,H(),!i.state.isVisible&&Rn(a)&&Ze.forEach(function(T){return T(a)}),a.type==="click"&&(i.props.trigger.indexOf("mouseenter")<0||c)&&i.props.hideOnClick!==!1&&i.state.isVisible?h=!0:Re(a),a.type==="click"&&(c=!h),h&&!C&&de(a)}}function Fe(a){var v=a.target,h=j().contains(v)||l.contains(v);if(!(a.type==="mousemove"&&h)){var C=fe().concat(l).map(function(T){var F,z=T._tippy,Oe=(F=z.popperInstance)==null?void 0:F.state;return Oe?{popperRect:T.getBoundingClientRect(),popperState:Oe,props:r}:null}).filter(Boolean);Mn(C,a)&&(pe(),de(a))}}function Ue(a){var v=Le(a)||i.props.trigger.indexOf("click")>=0&&c;if(!v){if(i.props.interactive){i.hideWithInteractivity(a);return}de(a)}}function Se(a){i.props.trigger.indexOf("focusin")<0&&a.target!==j()||i.props.interactive&&a.relatedTarget&&l.contains(a.relatedTarget)||de(a)}function Le(a){return Z.isTouch?$()!==a.type.indexOf("touch")>=0:!1}function qe(){ze();var a=i.props,v=a.popperOptions,h=a.placement,C=a.offset,T=a.getReferenceClientRect,F=a.moveTransition,z=B()?Vt(l).arrow:null,Oe=T?{getBoundingClientRect:T,contextElement:T.contextElement||j()}:e,xt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Ke){var xe=Ke.state;if(B()){var pr=O(),ot=pr.box;["placement","reference-hidden","escaped"].forEach(function(Je){Je==="placement"?ot.setAttribute("data-placement",xe.placement):xe.attributes.popper["data-popper-"+Je]?ot.setAttribute("data-"+Je,""):ot.removeAttribute("data-"+Je)}),xe.attributes.popper={}}}},ve=[{name:"offset",options:{offset:C}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!F}},xt];B()&&z&&ve.push({name:"arrow",options:{element:z,padding:3}}),ve.push.apply(ve,(v==null?void 0:v.modifiers)||[]),i.popperInstance=On(Oe,l,Object.assign({},v,{placement:h,onFirstUpdate:x,modifiers:ve}))}function ze(){i.popperInstance&&(i.popperInstance.destroy(),i.popperInstance=null)}function oe(){var a=i.props.appendTo,v,h=j();i.props.interactive&&a===Qt||a==="parent"?v=h.parentNode:v=Zt(a,[h]),v.contains(l)||v.appendChild(l),i.state.isMounted=!0,qe()}function fe(){return rt(l.querySelectorAll("[data-tippy-root]"))}function Re(a){i.clearDelayTimeouts(),a&&I("onTrigger",[i,a]),K();var v=V(!0),h=P(),C=h[0],T=h[1];Z.isTouch&&C==="hold"&&T&&(v=T),v?n=setTimeout(function(){i.show()},v):i.show()}function de(a){if(i.clearDelayTimeouts(),I("onUntrigger",[i,a]),!i.state.isVisible){ne();return}if(!(i.props.trigger.indexOf("mouseenter")>=0&&i.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(a.type)>=0&&c)){var v=V(!1);v?o=setTimeout(function(){i.state.isVisible&&i.hide()},v):s=requestAnimationFrame(function(){i.hide()})}}function je(){i.state.isEnabled=!0}function Ye(){i.hide(),i.state.isEnabled=!1}function _e(){clearTimeout(n),clearTimeout(o),cancelAnimationFrame(s)}function Xe(a){if(!i.state.isDestroyed){I("onBeforeUpdate",[i,a]),We();var v=i.props,h=Nt(e,Object.assign({},v,Bt(a),{ignoreAttributes:!0}));i.props=h,we(),v.interactiveDebounce!==h.interactiveDebounce&&(pe(),w=jt(Fe,h.interactiveDebounce)),v.triggerTarget&&!h.triggerTarget?Ee(v.triggerTarget).forEach(function(C){C.removeAttribute("aria-expanded")}):h.triggerTarget&&e.removeAttribute("aria-expanded"),H(),N(),L&&L(v,h),i.popperInstance&&(qe(),fe().forEach(function(C){requestAnimationFrame(C._tippy.popperInstance.forceUpdate)})),I("onAfterUpdate",[i,a])}}function Ge(a){i.setProps({content:a})}function ar(){var a=i.state.isVisible,v=i.state.isDestroyed,h=!i.state.isEnabled,C=Z.isTouch&&!i.props.touch,T=at(i.props.duration,0,J.duration);if(!(a||v||h||C)&&!j().hasAttribute("disabled")&&(I("onShow",[i],!1),i.props.onShow(i)!==!1)){if(i.state.isVisible=!0,B()&&(l.style.visibility="visible"),N(),K(),i.state.isMounted||(l.style.transition="none"),B()){var F=O(),z=F.box,Oe=F.content;st([z,Oe],0)}x=function(){var ve;if(!(!i.state.isVisible||d)){if(d=!0,l.offsetHeight,l.style.transition=i.props.moveTransition,B()&&i.props.animation){var it=O(),Ke=it.box,xe=it.content;st([Ke,xe],T),Mt([Ke,xe],"visible")}W(),H(),$t(ft,i),(ve=i.popperInstance)==null||ve.forceUpdate(),I("onMount",[i]),i.props.animation&&B()&&ie(T,function(){i.state.isShown=!0,I("onShown",[i])})}},oe()}}function sr(){var a=!i.state.isVisible,v=i.state.isDestroyed,h=!i.state.isEnabled,C=at(i.props.duration,1,J.duration);if(!(a||v||h)&&(I("onHide",[i],!1),i.props.onHide(i)!==!1)){if(i.state.isVisible=!1,i.state.isShown=!1,d=!1,c=!1,B()&&(l.style.visibility="hidden"),pe(),ne(),N(!0),B()){var T=O(),F=T.box,z=T.content;i.props.animation&&(st([F,z],C),Mt([F,z],"hidden"))}W(),H(),i.props.animation?B()&&ye(C,i.unmount):i.unmount()}}function ur(a){M().addEventListener("mousemove",w),$t(Ze,w),w(a)}function fr(){i.state.isVisible&&i.hide(),i.state.isMounted&&(ze(),fe().forEach(function(a){a._tippy.unmount()}),l.parentNode&&l.parentNode.removeChild(l),ft=ft.filter(function(a){return a!==i}),i.state.isMounted=!1,I("onHidden",[i]))}function cr(){i.state.isDestroyed||(i.clearDelayTimeouts(),i.unmount(),We(),delete e._tippy,i.state.isDestroyed=!0,I("onDestroy",[i]))}}function He(e,t){t===void 0&&(t={});var r=J.plugins.concat(t.plugins||[]);Nn();var n=Object.assign({},t,{plugins:r}),o=$n(e),s=o.reduce(function(c,u){var f=u&&_n(u,n);return f&&c.push(f),c},[]);return er(e)?s[0]:s}He.defaultProps=J;He.setDefaultProps=qn;He.currentInput=Z;Object.assign({},qt,{effect:function(t){var r=t.state,n={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(r.elements.popper.style,n.popper),r.styles=n,r.elements.arrow&&Object.assign(r.elements.arrow.style,n.arrow)}});He.setDefaultProps({animation:!1});function nr(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,s;for(s=0;s<n.length;s++)o=n[s],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}var ir=typeof window!="undefined"&&typeof document!="undefined";function dt(e,t){e&&(typeof e=="function"&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function Ht(){return ir&&document.createElement("div")}function Xn(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}function or(e,t){if(e===t)return!0;if(typeof e=="object"&&e!=null&&typeof t=="object"&&t!=null){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var r in e)if(t.hasOwnProperty(r)){if(!or(e[r],t[r]))return!1}else return!1;return!0}else return!1}function Gn(e){var t=[];return e.forEach(function(r){t.find(function(n){return or(r,n)})||t.push(r)}),t}function Kn(e,t){var r,n;return Object.assign({},t,{popperOptions:Object.assign({},e.popperOptions,t.popperOptions,{modifiers:Gn([].concat(((r=e.popperOptions)==null?void 0:r.modifiers)||[],((n=t.popperOptions)==null?void 0:n.modifiers)||[]))})})}var ct=ir?ae.exports.useLayoutEffect:ae.exports.useEffect;function Jn(e){var t=ae.exports.useRef();return t.current||(t.current=typeof e=="function"?e():e),t.current}function Wt(e,t,r){r.split(/\s+/).forEach(function(n){n&&e.classList[t](n)})}var Qn={name:"className",defaultValue:"",fn:function(t){var r=t.popper.firstElementChild,n=function(){var u;return!!((u=t.props.render)!=null&&u.$$tippy)};function o(){t.props.className&&!n()||Wt(r,"add",t.props.className)}function s(){n()&&Wt(r,"remove",t.props.className)}return{onCreate:o,onBeforeUpdate:s,onAfterUpdate:o}}};function Zn(e){function t(r){var n=r.children,o=r.content,s=r.visible,c=r.singleton,u=r.render,f=r.reference,d=r.disabled,p=d===void 0?!1:d,b=r.ignoreAttributes,x=b===void 0?!0:b;r.__source,r.__self;var m=nr(r,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"]),w=s!==void 0,g=c!==void 0,y=ae.exports.useState(!1),D=y[0],S=y[1],R=ae.exports.useState({}),i=R[0],E=R[1],l=ae.exports.useState(),L=l[0],k=l[1],A=Jn(function(){return{container:Ht(),renders:1}}),P=Object.assign({ignoreAttributes:x},m,{content:A.container});w&&(P.trigger="manual",P.hideOnClick=!1),g&&(p=!0);var $=P,B=P.plugins||[];u&&($=Object.assign({},P,{plugins:g&&c.data!=null?[].concat(B,[{fn:function(){return{onTrigger:function(V,N){var I=c.data.children.find(function(W){var H=W.instance;return H.reference===N.currentTarget});V.state.$$activeSingletonInstance=I.instance,k(I.content)}}}}]):B,render:function(){return{popper:A.container}}}));var j=[f].concat(n?[n.type]:[]);return ct(function(){var M=f;f&&f.hasOwnProperty("current")&&(M=f.current);var O=e(M||A.ref||Ht(),Object.assign({},$,{plugins:[Qn].concat(P.plugins||[])}));return A.instance=O,p&&O.disable(),s&&O.show(),g&&c.hook({instance:O,content:o,props:$,setSingletonContent:k}),S(!0),function(){O.destroy(),c==null||c.cleanup(O)}},j),ct(function(){var M;if(A.renders===1){A.renders++;return}var O=A.instance;O.setProps(Kn(O.props,$)),(M=O.popperInstance)==null||M.forceUpdate(),p?O.disable():O.enable(),w&&(s?O.show():O.hide()),g&&c.hook({instance:O,content:o,props:$,setSingletonContent:k})}),ct(function(){var M;if(!!u){var O=A.instance;O.setProps({popperOptions:Object.assign({},O.props.popperOptions,{modifiers:[].concat((((M=O.props.popperOptions)==null?void 0:M.modifiers)||[]).filter(function(V){var N=V.name;return N!=="$$tippyReact"}),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(N){var I,W=N.state,H=(I=W.modifiersData)==null?void 0:I.hide;(i.placement!==W.placement||i.referenceHidden!==(H==null?void 0:H.isReferenceHidden)||i.escaped!==(H==null?void 0:H.hasPopperEscaped))&&E({placement:W.placement,referenceHidden:H==null?void 0:H.isReferenceHidden,escaped:H==null?void 0:H.hasPopperEscaped}),W.attributes.popper={}}}])})})}},[i.placement,i.referenceHidden,i.escaped].concat(j)),dr(vr,{children:[n?ae.exports.cloneElement(n,{ref:function(O){A.ref=O,dt(n.ref,O)}}):null,D&&mr.exports.createPortal(u?u(Xn(i),L,A.instance):o,A.container)]})}return t}var ei=function(e,t){return ae.exports.forwardRef(function(n,o){var s=n.children,c=nr(n,["children"]);return lr(e,{...Object.assign({},t,c),children:s?ae.exports.cloneElement(s,{ref:function(f){dt(o,f),dt(s.ref,f)}}):null})})},ti=ei(Zn(He),{render:function(){return""}}),ni=ti;export{ni as T}; //# sourceMappingURL=fbff0340.js.map