import{r as d,$ as St,j as _t}from"./jsx-runtime-DunvCNR8.js";import{a as se,_ as F,b as Lt}from"./index-Gk6W7QNV.js";import{f as xe,b as ce,c as B,g as kt,h as Ce,$ as Qe,e as Mt,a as It,d as Ht}from"./index-YN0C4NaD.js";import{r as Ft}from"./index-v0GFhEul.js";import{c as Nt}from"./misc-CqNln5QV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="be5eb653-c3b1-464f-bd89-5bb74ea6b617",e._sentryDebugIdIdentifier="sentry-dbid-be5eb653-c3b1-464f-bd89-5bb74ea6b617")}catch{}})();function Wt(e,t=globalThis==null?void 0:globalThis.document){const n=xe(e);d.useEffect(()=>{const o=r=>{r.key==="Escape"&&n(r)};return t.addEventListener("keydown",o),()=>t.removeEventListener("keydown",o)},[n,t])}const Pe="dismissableLayer.update",Bt="dismissableLayer.pointerDownOutside",zt="dismissableLayer.focusOutside";let Be;const Vt=d.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),jt=d.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:a,onDismiss:c,...f}=e,l=d.useContext(Vt),[p,h]=d.useState(null),u=(n=p==null?void 0:p.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,m]=d.useState({}),g=se(t,C=>h(C)),w=Array.from(l.layers),[v]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),x=w.indexOf(v),b=p?w.indexOf(p):-1,y=l.layersWithOutsidePointerEventsDisabled.size>0,$=b>=x,E=Yt(C=>{const D=C.target,L=[...l.branches].some(_=>_.contains(D));!$||L||(i==null||i(C),a==null||a(C),C.defaultPrevented||c==null||c())},u),P=Xt(C=>{const D=C.target;[...l.branches].some(_=>_.contains(D))||(s==null||s(C),a==null||a(C),C.defaultPrevented||c==null||c())},u);return Wt(C=>{b===l.layers.size-1&&(r==null||r(C),!C.defaultPrevented&&c&&(C.preventDefault(),c()))},u),d.useEffect(()=>{if(p)return o&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(Be=u.body.style.pointerEvents,u.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(p)),l.layers.add(p),ze(),()=>{o&&l.layersWithOutsidePointerEventsDisabled.size===1&&(u.body.style.pointerEvents=Be)}},[p,u,o,l]),d.useEffect(()=>()=>{p&&(l.layers.delete(p),l.layersWithOutsidePointerEventsDisabled.delete(p),ze())},[p,l]),d.useEffect(()=>{const C=()=>m({});return document.addEventListener(Pe,C),()=>document.removeEventListener(Pe,C)},[]),d.createElement(ce.div,F({},f,{ref:g,style:{pointerEvents:y?$?"auto":"none":void 0,...e.style},onFocusCapture:B(e.onFocusCapture,P.onFocusCapture),onBlurCapture:B(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:B(e.onPointerDownCapture,E.onPointerDownCapture)}))});function Yt(e,t=globalThis==null?void 0:globalThis.document){const n=xe(e),o=d.useRef(!1),r=d.useRef(()=>{});return d.useEffect(()=>{const i=a=>{if(a.target&&!o.current){let f=function(){et(Bt,n,c,{discrete:!0})};const c={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=f,t.addEventListener("click",r.current,{once:!0})):f()}else t.removeEventListener("click",r.current);o.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function Xt(e,t=globalThis==null?void 0:globalThis.document){const n=xe(e),o=d.useRef(!1);return d.useEffect(()=>{const r=i=>{i.target&&!o.current&&et(zt,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function ze(){const e=new CustomEvent(Pe);document.dispatchEvent(e)}function et(e,t,n,{discrete:o}){const r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?kt(r,i):r.dispatchEvent(i)}const Ut=St.useId||(()=>{});let Gt=0;function Kt(e){const[t,n]=d.useState(Ut());return Ce(()=>{n(o=>o??String(Gt++))},[e]),t?`radix-${t}`:""}const qt=["top","right","bottom","left"],U=Math.min,k=Math.max,he=Math.round,pe=Math.floor,G=e=>({x:e,y:e}),Zt={left:"right",right:"left",bottom:"top",top:"bottom"},Jt={start:"end",end:"start"};function Oe(e,t,n){return k(e,U(t,n))}function z(e,t){return typeof e=="function"?e(t):e}function V(e){return e.split("-")[0]}function ee(e){return e.split("-")[1]}function Ae(e){return e==="x"?"y":"x"}function De(e){return e==="y"?"height":"width"}function te(e){return["top","bottom"].includes(V(e))?"y":"x"}function Se(e){return Ae(te(e))}function Qt(e,t,n){n===void 0&&(n=!1);const o=ee(e),r=Se(e),i=De(r);let s=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=ge(s)),[s,ge(s)]}function en(e){const t=ge(e);return[Te(e),t,Te(t)]}function Te(e){return e.replace(/start|end/g,t=>Jt[t])}function tn(e,t,n){const o=["left","right"],r=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:o:t?o:r;case"left":case"right":return t?i:s;default:return[]}}function nn(e,t,n,o){const r=ee(e);let i=tn(V(e),n==="start",o);return r&&(i=i.map(s=>s+"-"+r),t&&(i=i.concat(i.map(Te)))),i}function ge(e){return e.replace(/left|right|bottom|top/g,t=>Zt[t])}function on(e){return{top:0,right:0,bottom:0,left:0,...e}}function tt(e){return typeof e!="number"?on(e):{top:e,right:e,bottom:e,left:e}}function we(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Ve(e,t,n){let{reference:o,floating:r}=e;const i=te(t),s=Se(t),a=De(s),c=V(t),f=i==="y",l=o.x+o.width/2-r.width/2,p=o.y+o.height/2-r.height/2,h=o[a]/2-r[a]/2;let u;switch(c){case"top":u={x:l,y:o.y-r.height};break;case"bottom":u={x:l,y:o.y+o.height};break;case"right":u={x:o.x+o.width,y:p};break;case"left":u={x:o.x-r.width,y:p};break;default:u={x:o.x,y:o.y}}switch(ee(t)){case"start":u[s]-=h*(n&&f?-1:1);break;case"end":u[s]+=h*(n&&f?-1:1);break}return u}const rn=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(t));let f=await s.getElementRects({reference:e,floating:t,strategy:r}),{x:l,y:p}=Ve(f,o,c),h=o,u={},m=0;for(let g=0;g<a.length;g++){const{name:w,fn:v}=a[g],{x,y:b,data:y,reset:$}=await v({x:l,y:p,initialPlacement:o,placement:h,strategy:r,middlewareData:u,rects:f,platform:s,elements:{reference:e,floating:t}});if(l=x??l,p=b??p,u={...u,[w]:{...u[w],...y}},$&&m<=50){m++,typeof $=="object"&&($.placement&&(h=$.placement),$.rects&&(f=$.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:r}):$.rects),{x:l,y:p}=Ve(f,h,c)),g=-1;continue}}return{x:l,y:p,placement:h,strategy:r,middlewareData:u}};async function oe(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:i,rects:s,elements:a,strategy:c}=e,{boundary:f="clippingAncestors",rootBoundary:l="viewport",elementContext:p="floating",altBoundary:h=!1,padding:u=0}=z(t,e),m=tt(u),w=a[h?p==="floating"?"reference":"floating":p],v=we(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(w)))==null||n?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:f,rootBoundary:l,strategy:c})),x=p==="floating"?{...s.floating,x:o,y:r}:s.reference,b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),y=await(i.isElement==null?void 0:i.isElement(b))?await(i.getScale==null?void 0:i.getScale(b))||{x:1,y:1}:{x:1,y:1},$=we(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:b,strategy:c}):x);return{top:(v.top-$.top+m.top)/y.y,bottom:($.bottom-v.bottom+m.bottom)/y.y,left:(v.left-$.left+m.left)/y.x,right:($.right-v.right+m.right)/y.x}}const sn=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:i,platform:s,elements:a,middlewareData:c}=t,{element:f,padding:l=0}=z(e,t)||{};if(f==null)return{};const p=tt(l),h={x:n,y:o},u=Se(r),m=De(u),g=await s.getDimensions(f),w=u==="y",v=w?"top":"left",x=w?"bottom":"right",b=w?"clientHeight":"clientWidth",y=i.reference[m]+i.reference[u]-h[u]-i.floating[m],$=h[u]-i.reference[u],E=await(s.getOffsetParent==null?void 0:s.getOffsetParent(f));let P=E?E[b]:0;(!P||!await(s.isElement==null?void 0:s.isElement(E)))&&(P=a.floating[b]||i.floating[m]);const C=y/2-$/2,D=P/2-g[m]/2-1,L=U(p[v],D),_=U(p[x],D),R=L,H=P-g[m]-_,T=P/2-g[m]/2+C,A=Oe(R,T,H),S=!c.arrow&&ee(r)!=null&&T!=A&&i.reference[m]/2-(T<R?L:_)-g[m]/2<0,O=S?T<R?T-R:T-H:0;return{[u]:h[u]+O,data:{[u]:A,centerOffset:T-A-O,...S&&{alignmentOffset:O}},reset:S}}}),cn=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:a,platform:c,elements:f}=t,{mainAxis:l=!0,crossAxis:p=!0,fallbackPlacements:h,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0,...w}=z(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const v=V(r),x=V(a)===a,b=await(c.isRTL==null?void 0:c.isRTL(f.floating)),y=h||(x||!g?[ge(a)]:en(a));!h&&m!=="none"&&y.push(...nn(a,g,m,b));const $=[a,...y],E=await oe(t,w),P=[];let C=((o=i.flip)==null?void 0:o.overflows)||[];if(l&&P.push(E[v]),p){const R=Qt(r,s,b);P.push(E[R[0]],E[R[1]])}if(C=[...C,{placement:r,overflows:P}],!P.every(R=>R<=0)){var D,L;const R=(((D=i.flip)==null?void 0:D.index)||0)+1,H=$[R];if(H)return{data:{index:R,overflows:C},reset:{placement:H}};let T=(L=C.filter(A=>A.overflows[0]<=0).sort((A,S)=>A.overflows[1]-S.overflows[1])[0])==null?void 0:L.placement;if(!T)switch(u){case"bestFit":{var _;const A=(_=C.map(S=>[S.placement,S.overflows.filter(O=>O>0).reduce((O,X)=>O+X,0)]).sort((S,O)=>S[1]-O[1])[0])==null?void 0:_[0];A&&(T=A);break}case"initialPlacement":T=a;break}if(r!==T)return{reset:{placement:T}}}return{}}}};function je(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ye(e){return qt.some(t=>e[t]>=0)}const an=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...r}=z(e,t);switch(o){case"referenceHidden":{const i=await oe(t,{...r,elementContext:"reference"}),s=je(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Ye(s)}}}case"escaped":{const i=await oe(t,{...r,altBoundary:!0}),s=je(i,n.floating);return{data:{escapedOffsets:s,escaped:Ye(s)}}}default:return{}}}}};async function ln(e,t){const{placement:n,platform:o,elements:r}=e,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),s=V(n),a=ee(n),c=te(n)==="y",f=["left","top"].includes(s)?-1:1,l=i&&c?-1:1,p=z(t,e);let{mainAxis:h,crossAxis:u,alignmentAxis:m}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return a&&typeof m=="number"&&(u=a==="end"?m*-1:m),c?{x:u*l,y:h*f}:{x:h*f,y:u*l}}const fn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:i,placement:s,middlewareData:a}=t,c=await ln(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(o=a.arrow)!=null&&o.alignmentOffset?{}:{x:r+c.x,y:i+c.y,data:{...c,placement:s}}}}},dn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:w=>{let{x:v,y:x}=w;return{x:v,y:x}}},...c}=z(e,t),f={x:n,y:o},l=await oe(t,c),p=te(V(r)),h=Ae(p);let u=f[h],m=f[p];if(i){const w=h==="y"?"top":"left",v=h==="y"?"bottom":"right",x=u+l[w],b=u-l[v];u=Oe(x,u,b)}if(s){const w=p==="y"?"top":"left",v=p==="y"?"bottom":"right",x=m+l[w],b=m-l[v];m=Oe(x,m,b)}const g=a.fn({...t,[h]:u,[p]:m});return{...g,data:{x:g.x-n,y:g.y-o}}}}},un=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:c=!0,crossAxis:f=!0}=z(e,t),l={x:n,y:o},p=te(r),h=Ae(p);let u=l[h],m=l[p];const g=z(a,t),w=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(c){const b=h==="y"?"height":"width",y=i.reference[h]-i.floating[b]+w.mainAxis,$=i.reference[h]+i.reference[b]-w.mainAxis;u<y?u=y:u>$&&(u=$)}if(f){var v,x;const b=h==="y"?"width":"height",y=["top","left"].includes(V(r)),$=i.reference[p]-i.floating[b]+(y&&((v=s.offset)==null?void 0:v[p])||0)+(y?0:w.crossAxis),E=i.reference[p]+i.reference[b]+(y?0:((x=s.offset)==null?void 0:x[p])||0)-(y?w.crossAxis:0);m<$?m=$:m>E&&(m=E)}return{[h]:u,[p]:m}}}},pn=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:o,platform:r,elements:i}=t,{apply:s=()=>{},...a}=z(e,t),c=await oe(t,a),f=V(n),l=ee(n),p=te(n)==="y",{width:h,height:u}=o.floating;let m,g;f==="top"||f==="bottom"?(m=f,g=l===(await(r.isRTL==null?void 0:r.isRTL(i.floating))?"start":"end")?"left":"right"):(g=f,m=l==="end"?"top":"bottom");const w=u-c[m],v=h-c[g],x=!t.middlewareData.shift;let b=w,y=v;if(p){const E=h-c.left-c.right;y=l||x?U(v,E):E}else{const E=u-c.top-c.bottom;b=l||x?U(w,E):E}if(x&&!l){const E=k(c.left,0),P=k(c.right,0),C=k(c.top,0),D=k(c.bottom,0);p?y=h-2*(E!==0||P!==0?E+P:k(c.left,c.right)):b=u-2*(C!==0||D!==0?C+D:k(c.top,c.bottom))}await s({...t,availableWidth:y,availableHeight:b});const $=await r.getDimensions(i.floating);return h!==$.width||u!==$.height?{reset:{rects:!0}}:{}}}};function K(e){return nt(e)?(e.nodeName||"").toLowerCase():"#document"}function M(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Y(e){var t;return(t=(nt(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function nt(e){return e instanceof Node||e instanceof M(e).Node}function j(e){return e instanceof Element||e instanceof M(e).Element}function N(e){return e instanceof HTMLElement||e instanceof M(e).HTMLElement}function Xe(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof M(e).ShadowRoot}function ae(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=I(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function mn(e){return["table","td","th"].includes(K(e))}function _e(e){const t=Le(),n=I(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function hn(e){let t=Q(e);for(;N(t)&&!be(t);){if(_e(t))return t;t=Q(t)}return null}function Le(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function be(e){return["html","body","#document"].includes(K(e))}function I(e){return M(e).getComputedStyle(e)}function ye(e){return j(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Q(e){if(K(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Xe(e)&&e.host||Y(e);return Xe(t)?t.host:t}function ot(e){const t=Q(e);return be(t)?e.ownerDocument?e.ownerDocument.body:e.body:N(t)&&ae(t)?t:ot(t)}function re(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=ot(e),i=r===((o=e.ownerDocument)==null?void 0:o.body),s=M(r);return i?t.concat(s,s.visualViewport||[],ae(r)?r:[],s.frameElement&&n?re(s.frameElement):[]):t.concat(r,re(r,[],n))}function rt(e){const t=I(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=N(e),i=r?e.offsetWidth:n,s=r?e.offsetHeight:o,a=he(n)!==i||he(o)!==s;return a&&(n=i,o=s),{width:n,height:o,$:a}}function ke(e){return j(e)?e:e.contextElement}function J(e){const t=ke(e);if(!N(t))return G(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=rt(t);let s=(i?he(n.width):n.width)/o,a=(i?he(n.height):n.height)/r;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const gn=G(0);function it(e){const t=M(e);return!Le()||!t.visualViewport?gn:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function wn(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==M(e)?!1:t}function q(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=ke(e);let s=G(1);t&&(o?j(o)&&(s=J(o)):s=J(e));const a=wn(i,n,o)?it(i):G(0);let c=(r.left+a.x)/s.x,f=(r.top+a.y)/s.y,l=r.width/s.x,p=r.height/s.y;if(i){const h=M(i),u=o&&j(o)?M(o):o;let m=h.frameElement;for(;m&&o&&u!==h;){const g=J(m),w=m.getBoundingClientRect(),v=I(m),x=w.left+(m.clientLeft+parseFloat(v.paddingLeft))*g.x,b=w.top+(m.clientTop+parseFloat(v.paddingTop))*g.y;c*=g.x,f*=g.y,l*=g.x,p*=g.y,c+=x,f+=b,m=M(m).frameElement}}return we({width:l,height:p,x:c,y:f})}function vn(e){let{rect:t,offsetParent:n,strategy:o}=e;const r=N(n),i=Y(n);if(n===i)return t;let s={scrollLeft:0,scrollTop:0},a=G(1);const c=G(0);if((r||!r&&o!=="fixed")&&((K(n)!=="body"||ae(i))&&(s=ye(n)),N(n))){const f=q(n);a=J(n),c.x=f.x+n.clientLeft,c.y=f.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-s.scrollLeft*a.x+c.x,y:t.y*a.y-s.scrollTop*a.y+c.y}}function xn(e){return Array.from(e.getClientRects())}function st(e){return q(Y(e)).left+ye(e).scrollLeft}function bn(e){const t=Y(e),n=ye(e),o=e.ownerDocument.body,r=k(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=k(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+st(e);const a=-n.scrollTop;return I(o).direction==="rtl"&&(s+=k(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:s,y:a}}function yn(e,t){const n=M(e),o=Y(e),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,a=0,c=0;if(r){i=r.width,s=r.height;const f=Le();(!f||f&&t==="fixed")&&(a=r.offsetLeft,c=r.offsetTop)}return{width:i,height:s,x:a,y:c}}function $n(e,t){const n=q(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=N(e)?J(e):G(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,c=r*i.x,f=o*i.y;return{width:s,height:a,x:c,y:f}}function Ue(e,t,n){let o;if(t==="viewport")o=yn(e,n);else if(t==="document")o=bn(Y(e));else if(j(t))o=$n(t,n);else{const r=it(e);o={...t,x:t.x-r.x,y:t.y-r.y}}return we(o)}function ct(e,t){const n=Q(e);return n===t||!j(n)||be(n)?!1:I(n).position==="fixed"||ct(n,t)}function En(e,t){const n=t.get(e);if(n)return n;let o=re(e,[],!1).filter(a=>j(a)&&K(a)!=="body"),r=null;const i=I(e).position==="fixed";let s=i?Q(e):e;for(;j(s)&&!be(s);){const a=I(s),c=_e(s);!c&&a.position==="fixed"&&(r=null),(i?!c&&!r:!c&&a.position==="static"&&!!r&&["absolute","fixed"].includes(r.position)||ae(s)&&!c&&ct(e,s))?o=o.filter(l=>l!==s):r=a,s=Q(s)}return t.set(e,o),o}function Cn(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const s=[...n==="clippingAncestors"?En(t,this._c):[].concat(n),o],a=s[0],c=s.reduce((f,l)=>{const p=Ue(t,l,r);return f.top=k(p.top,f.top),f.right=U(p.right,f.right),f.bottom=U(p.bottom,f.bottom),f.left=k(p.left,f.left),f},Ue(t,a,r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Pn(e){const{width:t,height:n}=rt(e);return{width:t,height:n}}function On(e,t,n){const o=N(t),r=Y(t),i=n==="fixed",s=q(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const c=G(0);if(o||!o&&!i)if((K(t)!=="body"||ae(r))&&(a=ye(t)),o){const f=q(t,!0,i,t);c.x=f.x+t.clientLeft,c.y=f.y+t.clientTop}else r&&(c.x=st(r));return{x:s.left+a.scrollLeft-c.x,y:s.top+a.scrollTop-c.y,width:s.width,height:s.height}}function Ge(e,t){return!N(e)||I(e).position==="fixed"?null:t?t(e):e.offsetParent}function at(e,t){const n=M(e);if(!N(e))return n;let o=Ge(e,t);for(;o&&mn(o)&&I(o).position==="static";)o=Ge(o,t);return o&&(K(o)==="html"||K(o)==="body"&&I(o).position==="static"&&!_e(o))?n:o||hn(e)||n}const Tn=async function(e){let{reference:t,floating:n,strategy:o}=e;const r=this.getOffsetParent||at,i=this.getDimensions;return{reference:On(t,await r(n),o),floating:{x:0,y:0,...await i(n)}}};function Rn(e){return I(e).direction==="rtl"}const An={convertOffsetParentRelativeRectToViewportRelativeRect:vn,getDocumentElement:Y,getClippingRect:Cn,getOffsetParent:at,getElementRects:Tn,getClientRects:xn,getDimensions:Pn,getScale:J,isElement:j,isRTL:Rn};function Dn(e,t){let n=null,o;const r=Y(e);function i(){clearTimeout(o),n&&n.disconnect(),n=null}function s(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),i();const{left:f,top:l,width:p,height:h}=e.getBoundingClientRect();if(a||t(),!p||!h)return;const u=pe(l),m=pe(r.clientWidth-(f+p)),g=pe(r.clientHeight-(l+h)),w=pe(f),x={rootMargin:-u+"px "+-m+"px "+-g+"px "+-w+"px",threshold:k(0,U(1,c))||1};let b=!0;function y($){const E=$[0].intersectionRatio;if(E!==c){if(!b)return s();E?s(!1,E):o=setTimeout(()=>{s(!1,1e-7)},100)}b=!1}try{n=new IntersectionObserver(y,{...x,root:r.ownerDocument})}catch{n=new IntersectionObserver(y,x)}n.observe(e)}return s(!0),i}function Sn(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=o,f=ke(e),l=r||i?[...f?re(f):[],...re(t)]:[];l.forEach(v=>{r&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const p=f&&a?Dn(f,n):null;let h=-1,u=null;s&&(u=new ResizeObserver(v=>{let[x]=v;x&&x.target===f&&u&&(u.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{u&&u.observe(t)})),n()}),f&&!c&&u.observe(f),u.observe(t));let m,g=c?q(e):null;c&&w();function w(){const v=q(e);g&&(v.x!==g.x||v.y!==g.y||v.width!==g.width||v.height!==g.height)&&n(),g=v,m=requestAnimationFrame(w)}return n(),()=>{l.forEach(v=>{r&&v.removeEventListener("scroll",n),i&&v.removeEventListener("resize",n)}),p&&p(),u&&u.disconnect(),u=null,c&&cancelAnimationFrame(m)}}const _n=dn,Ln=cn,kn=pn,Mn=an,Ke=sn,In=un,Hn=(e,t,n)=>{const o=new Map,r={platform:An,...n},i={...r.platform,_c:o};return rn(e,t,{...r,platform:i})},Fn=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:o,padding:r}=typeof e=="function"?e(n):e;return o&&t(o)?o.current!=null?Ke({element:o.current,padding:r}).fn(n):{}:o?Ke({element:o,padding:r}).fn(n):{}}}};var me=typeof document<"u"?d.useLayoutEffect:d.useEffect;function ve(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,o,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(!ve(e[o],t[o]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(t,r[o]))return!1;for(o=n;o--!==0;){const i=r[o];if(!(i==="_owner"&&e.$$typeof)&&!ve(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function lt(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function qe(e,t){const n=lt(e);return Math.round(t*n)/n}function Ze(e){const t=d.useRef(e);return me(()=>{t.current=e}),t}function Nn(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:c,open:f}=e,[l,p]=d.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,u]=d.useState(o);ve(h,o)||u(o);const[m,g]=d.useState(null),[w,v]=d.useState(null),x=d.useCallback(O=>{O!==E.current&&(E.current=O,g(O))},[]),b=d.useCallback(O=>{O!==P.current&&(P.current=O,v(O))},[]),y=i||m,$=s||w,E=d.useRef(null),P=d.useRef(null),C=d.useRef(l),D=c!=null,L=Ze(c),_=Ze(r),R=d.useCallback(()=>{if(!E.current||!P.current)return;const O={placement:t,strategy:n,middleware:h};_.current&&(O.platform=_.current),Hn(E.current,P.current,O).then(X=>{const W={...X,isPositioned:!0};H.current&&!ve(C.current,W)&&(C.current=W,Ft.flushSync(()=>{p(W)}))})},[h,t,n,_]);me(()=>{f===!1&&C.current.isPositioned&&(C.current.isPositioned=!1,p(O=>({...O,isPositioned:!1})))},[f]);const H=d.useRef(!1);me(()=>(H.current=!0,()=>{H.current=!1}),[]),me(()=>{if(y&&(E.current=y),$&&(P.current=$),y&&$){if(L.current)return L.current(y,$,R);R()}},[y,$,R,L,D]);const T=d.useMemo(()=>({reference:E,floating:P,setReference:x,setFloating:b}),[x,b]),A=d.useMemo(()=>({reference:y,floating:$}),[y,$]),S=d.useMemo(()=>{const O={position:n,left:0,top:0};if(!A.floating)return O;const X=qe(A.floating,l.x),W=qe(A.floating,l.y);return a?{...O,transform:"translate("+X+"px, "+W+"px)",...lt(A.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:X,top:W}},[n,a,A.floating,l.x,l.y]);return d.useMemo(()=>({...l,update:R,refs:T,elements:A,floatingStyles:S}),[l,R,T,A,S])}const ft="Popper",[dt,ut]=Qe(ft),[Wn,pt]=dt(ft),Bn=e=>{const{__scopePopper:t,children:n}=e,[o,r]=d.useState(null);return d.createElement(Wn,{scope:t,anchor:o,onAnchorChange:r},n)},zn="PopperAnchor",Vn=d.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...r}=e,i=pt(zn,n),s=d.useRef(null),a=se(t,s);return d.useEffect(()=>{i.onAnchorChange((o==null?void 0:o.current)||s.current)}),o?null:d.createElement(ce.div,F({},r,{ref:a}))}),mt="PopperContent",[jn,To]=dt(mt),Yn=d.forwardRef((e,t)=>{var n,o,r,i,s,a,c,f;const{__scopePopper:l,side:p="bottom",sideOffset:h=0,align:u="center",alignOffset:m=0,arrowPadding:g=0,avoidCollisions:w=!0,collisionBoundary:v=[],collisionPadding:x=0,sticky:b="partial",hideWhenDetached:y=!1,updatePositionStrategy:$="optimized",onPlaced:E,...P}=e,C=pt(mt,l),[D,L]=d.useState(null),_=se(t,ne=>L(ne)),[R,H]=d.useState(null),T=Mt(R),A=(n=T==null?void 0:T.width)!==null&&n!==void 0?n:0,S=(o=T==null?void 0:T.height)!==null&&o!==void 0?o:0,O=p+(u!=="center"?"-"+u:""),X=typeof x=="number"?x:{top:0,right:0,bottom:0,left:0,...x},W=Array.isArray(v)?v:[v],vt=W.length>0,le={padding:X,boundary:W.filter(Xn),altBoundary:vt},{refs:xt,floatingStyles:Fe,placement:bt,isPositioned:fe,middlewareData:Z}=Nn({strategy:"fixed",placement:O,whileElementsMounted:(...ne)=>Sn(...ne,{animationFrame:$==="always"}),elements:{reference:C.anchor},middleware:[fn({mainAxis:h+S,alignmentAxis:m}),w&&_n({mainAxis:!0,crossAxis:!1,limiter:b==="partial"?In():void 0,...le}),w&&Ln({...le}),kn({...le,apply:({elements:ne,rects:We,availableWidth:Tt,availableHeight:Rt})=>{const{width:At,height:Dt}=We.reference,ue=ne.floating.style;ue.setProperty("--radix-popper-available-width",`${Tt}px`),ue.setProperty("--radix-popper-available-height",`${Rt}px`),ue.setProperty("--radix-popper-anchor-width",`${At}px`),ue.setProperty("--radix-popper-anchor-height",`${Dt}px`)}}),R&&Fn({element:R,padding:g}),Un({arrowWidth:A,arrowHeight:S}),y&&Mn({strategy:"referenceHidden",...le})]}),[Ne,yt]=ht(bt),de=xe(E);Ce(()=>{fe&&(de==null||de())},[fe,de]);const $t=(r=Z.arrow)===null||r===void 0?void 0:r.x,Et=(i=Z.arrow)===null||i===void 0?void 0:i.y,Ct=((s=Z.arrow)===null||s===void 0?void 0:s.centerOffset)!==0,[Pt,Ot]=d.useState();return Ce(()=>{D&&Ot(window.getComputedStyle(D).zIndex)},[D]),d.createElement("div",{ref:xt.setFloating,"data-radix-popper-content-wrapper":"",style:{...Fe,transform:fe?Fe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Pt,"--radix-popper-transform-origin":[(a=Z.transformOrigin)===null||a===void 0?void 0:a.x,(c=Z.transformOrigin)===null||c===void 0?void 0:c.y].join(" ")},dir:e.dir},d.createElement(jn,{scope:l,placedSide:Ne,onArrowChange:H,arrowX:$t,arrowY:Et,shouldHideArrow:Ct},d.createElement(ce.div,F({"data-side":Ne,"data-align":yt},P,{ref:_,style:{...P.style,animation:fe?void 0:"none",opacity:(f=Z.hide)!==null&&f!==void 0&&f.referenceHidden?0:void 0}}))))});function Xn(e){return e!==null}const Un=e=>({name:"transformOrigin",options:e,fn(t){var n,o,r,i,s;const{placement:a,rects:c,middlewareData:f}=t,p=((n=f.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,h=p?0:e.arrowWidth,u=p?0:e.arrowHeight,[m,g]=ht(a),w={start:"0%",center:"50%",end:"100%"}[g],v=((o=(r=f.arrow)===null||r===void 0?void 0:r.x)!==null&&o!==void 0?o:0)+h/2,x=((i=(s=f.arrow)===null||s===void 0?void 0:s.y)!==null&&i!==void 0?i:0)+u/2;let b="",y="";return m==="bottom"?(b=p?w:`${v}px`,y=`${-u}px`):m==="top"?(b=p?w:`${v}px`,y=`${c.floating.height+u}px`):m==="right"?(b=`${-u}px`,y=p?w:`${x}px`):m==="left"&&(b=`${c.floating.width+u}px`,y=p?w:`${x}px`),{data:{x:b,y}}}});function ht(e){const[t,n="center"]=e.split("-");return[t,n]}const Gn=Bn,Kn=Vn,qn=Yn,Zn=d.forwardRef((e,t)=>d.createElement(ce.span,F({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),Jn=Zn,[$e,Ro]=Qe("Tooltip",[ut]),Me=ut(),Qn="TooltipProvider",eo=700,Re="tooltip.open",[to,Ie]=$e(Qn),no=e=>{const{__scopeTooltip:t,delayDuration:n=eo,skipDelayDuration:o=300,disableHoverableContent:r=!1,children:i}=e,[s,a]=d.useState(!0),c=d.useRef(!1),f=d.useRef(0);return d.useEffect(()=>{const l=f.current;return()=>window.clearTimeout(l)},[]),d.createElement(to,{scope:t,isOpenDelayed:s,delayDuration:n,onOpen:d.useCallback(()=>{window.clearTimeout(f.current),a(!1)},[]),onClose:d.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>a(!0),o)},[o]),isPointerInTransitRef:c,onPointerInTransitChange:d.useCallback(l=>{c.current=l},[]),disableHoverableContent:r},i)},He="Tooltip",[oo,Ee]=$e(He),ro=e=>{const{__scopeTooltip:t,children:n,open:o,defaultOpen:r=!1,onOpenChange:i,disableHoverableContent:s,delayDuration:a}=e,c=Ie(He,e.__scopeTooltip),f=Me(t),[l,p]=d.useState(null),h=Kt(),u=d.useRef(0),m=s??c.disableHoverableContent,g=a??c.delayDuration,w=d.useRef(!1),[v=!1,x]=It({prop:o,defaultProp:r,onChange:P=>{P?(c.onOpen(),document.dispatchEvent(new CustomEvent(Re))):c.onClose(),i==null||i(P)}}),b=d.useMemo(()=>v?w.current?"delayed-open":"instant-open":"closed",[v]),y=d.useCallback(()=>{window.clearTimeout(u.current),w.current=!1,x(!0)},[x]),$=d.useCallback(()=>{window.clearTimeout(u.current),x(!1)},[x]),E=d.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>{w.current=!0,x(!0)},g)},[g,x]);return d.useEffect(()=>()=>window.clearTimeout(u.current),[]),d.createElement(Gn,f,d.createElement(oo,{scope:t,contentId:h,open:v,stateAttribute:b,trigger:l,onTriggerChange:p,onTriggerEnter:d.useCallback(()=>{c.isOpenDelayed?E():y()},[c.isOpenDelayed,E,y]),onTriggerLeave:d.useCallback(()=>{m?$():window.clearTimeout(u.current)},[$,m]),onOpen:y,onClose:$,disableHoverableContent:m},n))},Je="TooltipTrigger",io=d.forwardRef((e,t)=>{const{__scopeTooltip:n,...o}=e,r=Ee(Je,n),i=Ie(Je,n),s=Me(n),a=d.useRef(null),c=se(t,a,r.onTriggerChange),f=d.useRef(!1),l=d.useRef(!1),p=d.useCallback(()=>f.current=!1,[]);return d.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),d.createElement(Kn,F({asChild:!0},s),d.createElement(ce.button,F({"aria-describedby":r.open?r.contentId:void 0,"data-state":r.stateAttribute},o,{ref:c,onPointerMove:B(e.onPointerMove,h=>{h.pointerType!=="touch"&&!l.current&&!i.isPointerInTransitRef.current&&(r.onTriggerEnter(),l.current=!0)}),onPointerLeave:B(e.onPointerLeave,()=>{r.onTriggerLeave(),l.current=!1}),onPointerDown:B(e.onPointerDown,()=>{f.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:B(e.onFocus,()=>{f.current||r.onOpen()}),onBlur:B(e.onBlur,r.onClose),onClick:B(e.onClick,r.onClose)})))}),so="TooltipPortal",[Ao,co]=$e(so,{forceMount:void 0}),ie="TooltipContent",ao=d.forwardRef((e,t)=>{const n=co(ie,e.__scopeTooltip),{forceMount:o=n.forceMount,side:r="top",...i}=e,s=Ee(ie,e.__scopeTooltip);return d.createElement(Ht,{present:o||s.open},s.disableHoverableContent?d.createElement(gt,F({side:r},i,{ref:t})):d.createElement(lo,F({side:r},i,{ref:t})))}),lo=d.forwardRef((e,t)=>{const n=Ee(ie,e.__scopeTooltip),o=Ie(ie,e.__scopeTooltip),r=d.useRef(null),i=se(t,r),[s,a]=d.useState(null),{trigger:c,onClose:f}=n,l=r.current,{onPointerInTransitChange:p}=o,h=d.useCallback(()=>{a(null),p(!1)},[p]),u=d.useCallback((m,g)=>{const w=m.currentTarget,v={x:m.clientX,y:m.clientY},x=uo(v,w.getBoundingClientRect()),b=po(v,x),y=mo(g.getBoundingClientRect()),$=go([...b,...y]);a($),p(!0)},[p]);return d.useEffect(()=>()=>h(),[h]),d.useEffect(()=>{if(c&&l){const m=w=>u(w,l),g=w=>u(w,c);return c.addEventListener("pointerleave",m),l.addEventListener("pointerleave",g),()=>{c.removeEventListener("pointerleave",m),l.removeEventListener("pointerleave",g)}}},[c,l,u,h]),d.useEffect(()=>{if(s){const m=g=>{const w=g.target,v={x:g.clientX,y:g.clientY},x=(c==null?void 0:c.contains(w))||(l==null?void 0:l.contains(w)),b=!ho(v,s);x?h():b&&(h(),f())};return document.addEventListener("pointermove",m),()=>document.removeEventListener("pointermove",m)}},[c,l,s,f,h]),d.createElement(gt,F({},e,{ref:i}))}),[fo,Do]=$e(He,{isInside:!1}),gt=d.forwardRef((e,t)=>{const{__scopeTooltip:n,children:o,"aria-label":r,onEscapeKeyDown:i,onPointerDownOutside:s,...a}=e,c=Ee(ie,n),f=Me(n),{onClose:l}=c;return d.useEffect(()=>(document.addEventListener(Re,l),()=>document.removeEventListener(Re,l)),[l]),d.useEffect(()=>{if(c.trigger){const p=h=>{const u=h.target;u!=null&&u.contains(c.trigger)&&l()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[c.trigger,l]),d.createElement(jt,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:p=>p.preventDefault(),onDismiss:l},d.createElement(qn,F({"data-state":c.stateAttribute},f,a,{ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),d.createElement(Lt,null,o),d.createElement(fo,{scope:n,isInside:!0},d.createElement(Jn,{id:c.contentId,role:"tooltip"},r||o))))});function uo(e,t){const n=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),r=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,o,r,i)){case i:return"left";case r:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function po(e,t,n=5){const o=[];switch(t){case"top":o.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":o.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":o.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":o.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return o}function mo(e){const{top:t,right:n,bottom:o,left:r}=e;return[{x:r,y:t},{x:n,y:t},{x:n,y:o},{x:r,y:o}]}function ho(e,t){const{x:n,y:o}=e;let r=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const a=t[i].x,c=t[i].y,f=t[s].x,l=t[s].y;c>o!=l>o&&n<(f-a)*(o-c)/(l-c)+a&&(r=!r)}return r}function go(e){const t=e.slice();return t.sort((n,o)=>n.x<o.x?-1:n.x>o.x?1:n.y<o.y?-1:n.y>o.y?1:0),wo(t)}function wo(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const r=e[o];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(r.y-s.y)>=(i.y-s.y)*(r.x-s.x))t.pop();else break}t.push(r)}t.pop();const n=[];for(let o=e.length-1;o>=0;o--){const r=e[o];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(r.y-s.y)>=(i.y-s.y)*(r.x-s.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}const vo=no,xo=ro,bo=io,wt=ao,So=vo,_o=xo,Lo=bo,yo=d.forwardRef(({className:e,sideOffset:t=4,...n},o)=>_t.jsx(wt,{ref:o,sideOffset:t,className:Nt("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));yo.displayName=wt.displayName;export{So as T,_o as a,Lo as b,yo as c};
//# sourceMappingURL=tooltip-DXWlLCfw.js.map
