1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="19639b5d-69c3-5314-84ab-7383a3ab2a72")}catch(e){}}(); 3import{r as P,j}from"./components-DyD9lVhy.js";import{r as ye}from"./index-BTHumo37.js";import{l as ct,P as Ot,c as ve,i as be}from"./index-D6_7Lavr.js";import{u as Yt}from"./createLucideIcon-CENCwq7n.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[new t.Error().stack]=(function(e){for(var n=1;n<arguments.length;n++){var o=arguments[n];if(o!=null)for(var r in o)o.hasOwnProperty(r)&&(e[r]=o[r])}return e})({},t._sentryModuleMetadata[new t.Error().stack],{"_sentryBundlerPluginAppKey:uoh-app":!0})}catch{}})();var Ae=Object.defineProperty,Re=(t,e)=>Ae(t,"name",{value:e,configurable:!0});function qt(t){const[e,n]=P.useState(void 0);return ct(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const o=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const i=r[0];let s,c;if("borderBoxSize"in i){const l=i.borderBoxSize,a=Array.isArray(l)?l[0]:l;s=a.inlineSize,c=a.blockSize}else s=t.offsetWidth,c=t.offsetHeight;n({width:s,height:c})});return o.observe(t,{box:"border-box"}),()=>o.unobserve(t)}else n(void 0)},[t]),e}Re(qt,"useSize");const Pe=["top","right","bottom","left"],K=Math.min,V=Math.max,at=Math.round,st=Math.floor,I=t=>({x:t,y:t}),Oe={left:"right",right:"left",bottom:"top",top:"bottom"};function Kt(t,e,n){return V(t,K(e,n))}function Y(t,e){return typeof t=="function"?t(e):t}function U(t){return t.split("-")[0]}function et(t){return t.split("-")[1]}function Ct(t){return t==="x"?"y":"x"}function St(t){return t==="y"?"height":"width"}function H(t){const e=t[0];return e==="t"||e==="b"?"y":"x"}function Et(t){return Ct(H(t))}function Ce(t,e,n){n===void 0&&(n=!1);const o=et(t),r=Et(t),i=St(r);let s=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=ft(s)),[s,ft(s)]}function Se(t){const e=ft(t);return[Rt(t),e,Rt(e)]}function Rt(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const Wt=["left","right"],Ft=["right","left"],Ee=["top","bottom"],_e=["bottom","top"];function Le(t,e,n){switch(t){case"top":case"bottom":return n?e?Ft:Wt:e?Wt:Ft;case"left":case"right":return e?Ee:_e;default:return[]}}function Me(t,e,n,o){const r=et(t);let i=Le(U(t),n==="start",o);return r&&(i=i.map(s=>s+"-"+r),e&&(i=i.concat(i.map(Rt)))),i}function ft(t){const e=U(t);return Oe[e]+t.slice(e.length)}function Te(t){var e,n,o,r;return{top:(e=t.top)!=null?e:0,right:(n=t.right)!=null?n:0,bottom:(o=t.bottom)!=null?o:0,left:(r=t.left)!=null?r:0}}function Ut(t){return typeof t!="number"?Te(t):{top:t,right:t,bottom:t,left:t}}function ut(t){const{x:e,y:n,width:o,height:r}=t;return{width:o,height:r,top:n,left:e,right:e+o,bottom:n+r,x:e,y:n}}function zt(t,e,n){let{reference:o,floating:r}=t;const i=H(e),s=Et(e),c=St(s),l=U(e),a=i==="y",d=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,m=o[c]/2-r[c]/2;let f;switch(l){case"top":f={x:d,y:o.y-r.height};break;case"bottom":f={x:d,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:u};break;case"left":f={x:o.x-r.width,y:u};break;default:f={x:o.x,y:o.y}}const p=et(e);return p&&(f[s]+=m*(p==="end"?1:-1)*(n&&a?-1:1)),f}async function $e(t,e){var n;e===void 0&&(e={});const{x:o,y:r,platform:i,rects:s,elements:c,strategy:l}=t,{boundary:a="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:m=!1,padding:f=0}=Y(e,t),p=Ut(f),w=c[m?u==="floating"?"reference":"floating":u],g=ut(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(c.floating)),boundary:a,rootBoundary:d,strategy:l})),x=u==="floating"?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),v=await(i.isElement==null?void 0:i.isElement(b))&&await(i.getScale==null?void 0:i.getScale(b))||{x:1,y:1},A=ut(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:b,strategy:l}):x);return{top:(g.top-A.top+p.top)/v.y,bottom:(A.bottom-g.bottom+p.bottom)/v.y,left
3:(g.left-A.left+p.left)/v.x,right:(A.right-g.right+p.right)/v.x}}const De=50,ke=async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,c=s.detectOverflow?s:{...s,detectOverflow:$e},l=await(s.isRTL==null?void 0:s.isRTL(e));let a=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:d,y:u}=zt(a,o,l),m=o,f=0;const p={};for(let h=0;h<i.length;h++){const w=i[h];if(!w)continue;const{name:g,fn:x}=w,{x:b,y:v,data:A,reset:y}=await x({x:d,y:u,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:a,platform:c,elements:{reference:t,floating:e}});d=b??d,u=v??u,p[g]={...p[g],...A},y&&f<De&&(f++,typeof y=="object"&&(y.placement&&(m=y.placement),y.rects&&(a=y.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:r}):y.rects),{x:d,y:u}=zt(a,m,l)),h=-1)}return{x:d,y:u,placement:m,strategy:r,middlewareData:p}},We=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:r,rects:i,platform:s,elements:c,middlewareData:l}=e,{element:a,padding:d=0}=Y(t,e)||{};if(a==null)return{};const u=Ut(d),m={x:n,y:o},f=Et(r),p=St(f),h=await s.getDimensions(a),w=f==="y",g=w?"top":"left",x=w?"bottom":"right",b=w?"clientHeight":"clientWidth",v=i.reference[p]+i.reference[f]-m[f]-i.floating[p],A=m[f]-i.reference[f],y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let O=y?y[b]:0;(!O||!await(s.isElement==null?void 0:s.isElement(y)))&&(O=c.floating[b]||i.floating[p]);const S=v/2-A/2,T=O/2-h[p]/2-1,C=K(u[g],T),F=K(u[x],T),z=O-h[p]-F,M=O/2-h[p]/2+S,E=Kt(C,M,z),k=!l.arrow&&et(r)!=null&&M!==E&&i.reference[p]/2-(M<C?C:F)-h[p]/2<0,_=k?M<C?M-C:M-z:0;return{[f]:m[f]+_,data:{[f]:E,centerOffset:M-E-_,...k&&{alignmentOffset:_}},reset:k}}}),Fe=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:c,platform:l,elements:a}=e,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:m,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:h=!0,...w}=Y(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=U(r),x=H(c),b=U(c)===c,v=await(l.isRTL==null?void 0:l.isRTL(a.floating)),A=m||(b||!h?[ft(c)]:Se(c)),y=p!=="none";!m&&y&&A.push(...Me(c,h,p,v));const O=[c,...A],S=await l.detectOverflow(e,w),T=[];let C=((o=i.flip)==null?void 0:o.overflows)||[];if(d&&T.push(S[g]),u){const E=Ce(r,s,v);T.push(S[E[0]],S[E[1]])}if(C=[...C,{placement:r,overflows:T}],!T.every(E=>E<=0)){var F,z;const E=(((F=i.flip)==null?void 0:F.index)||0)+1,k=O[E];if(k&&(!(u==="alignment"?x!==H(k):!1)||C.every(R=>H(R.placement)===x?R.overflows[0]>0:!0)))return{data:{index:E,overflows:C},reset:{placement:k}};let _=(z=C.filter($=>$.overflows[0]<=0).sort(($,R)=>$.overflows[1]-R.overflows[1])[0])==null?void 0:z.placement;if(!_)switch(f){case"bestFit":{var M;const $=(M=C.filter(R=>{if(y){const L=H(R.placement);return L===x||L==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(L=>L>0).reduce((L,W)=>L+W,0)]).sort((R,L)=>R[1]-L[1])[0])==null?void 0:M[0];$&&(_=$);break}case"initialPlacement":_=c;break}if(r!==_)return{reset:{placement:_}}}return{}}}};function Ht(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Nt(t){return Pe.some(e=>t[e]>=0)}const ze=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n,platform:o}=e,{strategy:r="referenceHidden",...i}=Y(t,e);switch(r){case"referenceHidden":{const s=await o.detectOverflow(e,{...i,elementContext:"reference"}),c=Ht(s,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:Nt(c)}}}case"escaped":{const s=await o.detectOverflow(e,{...i,altBoundary:!0}),c=Ht(s,n.floating);return{data:{escapedOffsets:c,escaped:Nt(c)}}}default:return{}}}}},Zt=new Set(["left","top"]);async function He(t,e){const{placement:n,platform:o,elements:r}=t,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),s=U(n),c=et(n),l=H(n)==="y",a=Zt.has(s)?-1:1,d=i&&l?-1:1,u=Y(e,t);let{mainAxis:m,crossAxis:f,alignmentAxis:p}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}
3:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof p=="number"&&(f=c==="end"?p*-1:p),l?{x:f*d,y:m*a}:{x:m*a,y:f*d}}const Ne=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:r,y:i,placement:s,middlewareData:c}=e,l=await He(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:s}}}}},Be=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r,platform:i}=e,{mainAxis:s=!0,crossAxis:c=!1,limiter:l={fn:x=>{let{x:b,y:v}=x;return{x:b,y:v}}},...a}=Y(t,e),d={x:n,y:o},u=await i.detectOverflow(e,a),m=H(r),f=Ct(m);let p=d[f],h=d[m];const w=(x,b)=>Kt(b+u[x==="y"?"top":"left"],b,b-u[x==="y"?"bottom":"right"]);s&&(p=w(f,p)),c&&(h=w(m,h));const g=l.fn({...e,[f]:p,[m]:h});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[f]:s,[m]:c}}}}}},je=function(t){return t===void 0&&(t={}),{options:t,fn(e){var n,o;const{x:r,y:i,placement:s,rects:c,middlewareData:l}=e,{offset:a=0,mainAxis:d=!0,crossAxis:u=!0}=Y(t,e),m={x:r,y:i},f=H(s),p=Ct(f);let h=m[p],w=m[f];const g=Y(a,e),x=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:(n=g.mainAxis)!=null?n:0,crossAxis:(o=g.crossAxis)!=null?o:0};if(d){const A=p==="y"?"height":"width",y=c.reference[p]-c.floating[A]+x.mainAxis,O=c.reference[p]+c.reference[A]-x.mainAxis;h<y?h=y:h>O&&(h=O)}if(u){var b,v;const A=p==="y"?"width":"height",y=Zt.has(U(s)),O=c.reference[f]-c.floating[A]+(y&&((b=l.offset)==null?void 0:b[f])||0)+(y?0:x.crossAxis),S=c.reference[f]+c.reference[A]+(y?0:((v=l.offset)==null?void 0:v[f])||0)-(y?x.crossAxis:0);w<O?w=O:w>S&&(w=S)}return{[p]:h,[f]:w}}}},Ve=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:o,platform:r,elements:i}=e,{apply:s=()=>{},...c}=Y(t,e),l=await r.detectOverflow(e,c),a=U(n),d=et(n),u=H(n)==="y",{width:m,height:f}=o.floating;let p,h;a==="top"||a==="bottom"?(p=a,h=d===(await(r.isRTL==null?void 0:r.isRTL(i.floating))?"start":"end")?"left":"right"):(h=a,p=d==="end"?"top":"bottom");const w=f-l.top-l.bottom,g=m-l.left-l.right,x=K(f-l[p],w),b=K(m-l[h],g),v=e.middlewareData.shift,A=!v;let y=x,O=b;v!=null&&v.enabled.x&&(O=g),v!=null&&v.enabled.y&&(y=w),A&&!d&&(u?O=m-2*V(l.left,l.right):y=f-2*V(l.top,l.bottom)),await s({...e,availableWidth:O,availableHeight:y});const S=await r.getDimensions(i.floating);return m!==S.width||f!==S.height?{reset:{rects:!0}}:{}}}};function pt(){return typeof window<"u"}function nt(t){return Gt(t)?(t.nodeName||"").toLowerCase():"#document"}function D(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function q(t){var e;return(e=(Gt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Gt(t){return pt()?t instanceof Node||t instanceof D(t).Node:!1}function N(t){return pt()?t instanceof Element||t instanceof D(t).Element:!1}function Z(t){return pt()?t instanceof HTMLElement||t instanceof D(t).HTMLElement:!1}function Bt(t){return!pt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof D(t).ShadowRoot}function mt(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=B(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&r!=="inline"&&r!=="contents"}function Ie(t){return/^(table|td|th)$/.test(nt(t))}function ht(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}const Xe=/transform|translate|scale|rotate|perspective|filter/,Ye=/paint|layout|strict|content/,G=t=>!!t&&t!=="none";let vt;function _t(t){const e=N(t)?B(t):t;return G(e.transform)||G(e.translate)||G(e.scale)||G(e.rotate)||G(e.perspective)||!Lt()&&(G(e.backdropFilter)||G(e.filter))||Xe.test(e.willChange||"")||Ye.test(e.contain||"")}function qe(t){let e=J(t);for(;Z(e)&&!ot(e);){if(_t(e))return e;if(ht(e))return null;e=J(e)}return null}function Lt(){return vt==null&&(vt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),vt}function ot(t){return/^(html|body|#document)$/.test(nt(t))}function B(t){return D(t).getComputedStyle(t)}function gt(t){return N(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function J(t){if(nt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Bt(t)&&t.host||q(t);return Bt(e)?e.host:e}function Jt(t){const e=J(t);return ot(e)?(t.ownerDocument||t).body:Z(e)&&mt(e)?e:Jt(e)}function rt(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const r=Jt(t),i=r===((o=t.ownerDocument)==null?void 0:o.body),s=D(r);if(i){const c=Pt(s);
3return e.concat(s,s.visualViewport||[],mt(r)?r:[],c&&n?rt(c):[])}else return e.concat(r,rt(r,[],n))}function Pt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Qt(t){const e=B(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=Z(t),i=r?t.offsetWidth:n,s=r?t.offsetHeight:o,c=at(n)!==i||at(o)!==s;return c&&(n=i,o=s),{width:n,height:o,$:c}}function Mt(t){return N(t)?t:t.contextElement}function tt(t){const e=Mt(t);if(!Z(e))return I(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:i}=Qt(e);let s=(i?at(n.width):n.width)/o,c=(i?at(n.height):n.height)/r;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Ke=I(0);function te(t){const e=D(t);return!Lt()||!e.visualViewport?Ke:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ue(t,e,n){return e===void 0&&(e=!1),!!n&&e&&n===D(t)}function Q(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const r=t.getBoundingClientRect(),i=Mt(t);let s=I(1);e&&(o?N(o)&&(s=tt(o)):s=tt(t));const c=Ue(i,n,o)?te(i):I(0);let l=(r.left+c.x)/s.x,a=(r.top+c.y)/s.y,d=r.width/s.x,u=r.height/s.y;if(i&&o){const m=D(i),f=N(o)?D(o):o;let p=m,h=Pt(p);for(;h&&f!==p;){const w=tt(h),g=h.getBoundingClientRect(),x=B(h),b=g.left+(h.clientLeft+parseFloat(x.paddingLeft))*w.x,v=g.top+(h.clientTop+parseFloat(x.paddingTop))*w.y;l*=w.x,a*=w.y,d*=w.x,u*=w.y,l+=b,a+=v,p=D(h),h=Pt(p)}}return ut({width:d,height:u,x:l,y:a})}function wt(t,e){const n=gt(t).scrollLeft;return e?e.left+n:Q(q(t)).left+n}function ee(t,e){const n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-wt(t,n),r=n.top+e.scrollTop;return{x:o,y:r}}function Ze(t){let{elements:e,rect:n,offsetParent:o,strategy:r}=t;const i=r==="fixed",s=q(o),c=e?ht(e.floating):!1;if(o===s||c&&i)return n;let l={scrollLeft:0,scrollTop:0},a=I(1);const d=I(0),u=Z(o);if((u||!i)&&((nt(o)!=="body"||mt(s))&&(l=gt(o)),u)){const f=Q(o);a=tt(o),d.x=f.x+o.clientLeft,d.y=f.y+o.clientTop}const m=s&&!u&&!i?ee(s,l):I(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+d.x+m.x,y:n.y*a.y-l.scrollTop*a.y+d.y+m.y}}function Ge(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function Je(t){const e=gt(t),n=t.ownerDocument.body,o=V(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),r=V(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-e.scrollLeft+wt(t);const s=-e.scrollTop;return B(n).direction==="rtl"&&(i+=V(t.clientWidth,n.clientWidth)-o),{width:o,height:r,x:i,y:s}}const Qe=25;function tn(t,e,n){n===void 0&&(n="viewport");const o=n==="layoutViewport",r=D(t),i=q(t),s=r.visualViewport;let c=i.clientWidth,l=i.clientHeight,a=0,d=0;if(s){const m=!Lt()||e==="fixed";o?m||(a=-s.offsetLeft,d=-s.offsetTop):(c=s.width,l=s.height,m&&(a=s.offsetLeft,d=s.offsetTop))}if(wt(i)<=0){const m=i.ownerDocument,f=m.body,p=getComputedStyle(f),h=m.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,w=Math.abs(i.clientWidth-f.clientWidth-h),g=getComputedStyle(i).scrollbarGutter==="stable both-edges"?w/2:w;g<=Qe&&(c-=g)}return{width:c,height:l,x:a,y:d}}function en(t,e){const n=Q(t,!0,e==="fixed"),o=n.top+t.clientTop,r=n.left+t.clientLeft,i=tt(t),s=t.clientWidth*i.x,c=t.clientHeight*i.y,l=r*i.x,a=o*i.y;return{width:s,height:c,x:l,y:a}}function jt(t,e,n){let o;if(e==="viewport"||e==="layoutViewport")o=tn(t,n,e);else if(e==="document")o=Je(q(t));else if(N(e))o=en(e,n);else{const r=te(t);o={x:e.x-r.x,y:e.y-r.y,width:e.width,height:e.height}}return ut(o)}function nn(t,e){const n=e.get(t);if(n)return n;let o=rt(t,[],!1).filter(c=>N(c)&&nt(c)!=="body"),r=null;const i=B(t).position==="fixed";let s=i?J(t):t;for(;N(s)&&!ot(s);){const c=B(s),l=_t(s),a=r?r.position:i?"fixed":"";!l&&(a==="fixed"||a==="absolute"&&c.position==="static")?o=o.filter(u=>u!==s):r=c,s=J(s)}return e.set(t,o),o}function on(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const s=[...n==="clippingAncestors"?ht(e)?[]:nn(e,this._c):[].concat(n),o],c=jt(e,s[0],r);let l=c.top,a=c.right,d=c.bottom,u=c.left;for(let m=1;m<s.length;m++){const f=jt(e,s[m],r);l=V(f.top,l),a=K(f.right,a),d=K(f.bottom,d),u=V(f.left,u)}return{width:a-u,height:d-l,x:u,y:l}}function rn(t){const{width:e,height:n}=Qt(t);return{width:e,height:n}}function sn(t,e,n){const o=Z(e),r=q(e),i=n==="fixed",s=Q(t,!0,i,e);let c={scrollLeft:0,scrollTop:0};const l=I(0);if((o||!i)&&((nt(e)!=="body"||mt(r))&&(c=gt(e)),o)){const m=Q(e,!0,i,e);l.x=m.x+e.clientLeft,l.y=m.y+e.clientTop}!o&&r&&(l.x=wt(r));const a=r&&!o&&!i?ee(r,c):I(0),d=s.left+c.scrollLeft-l.x-a.x,u=s.top+c.scrollTop-l.y-a.y;return{x:d,y:u,width:s.width,height:s.height}}function bt(t){return B(t).position==="static"}function Vt(t,e){if(!Z(t)||B(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return q(t)===n&&(n=n.ownerDocument.body),n}function ne(t,e){const n=D(t);if(ht(t))return n;if(!Z(t)){let r=J(t);for(;r&&!ot(r);){if(N(r)&&!bt(r))return r;r=J(r)}return n}let o=Vt(t,e);for(;o&&Ie(o)&&bt(o);)o=Vt(o,e);return o&&ot(o)&&bt(o)&&!_t(o)?n:o||qe(t)||n}const cn=async function(t){const e=this.getOffsetParent||ne,n=this.getDimensions,o=await n(t.floating);return{reference:sn(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function ln(t){return B(t).direction==="rtl"}const an={convertOffsetParentRelativeRectToViewportRelativeRect:Ze,getDocumentElement:q,getClippingRect:on,getOffsetParent:ne,getElementRects:cn,getClientRects:Ge,getDimensions:rn,getScale:tt,isElement:N,isRTL:ln};function oe(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function fn(t,e,n){let o=null,r;const i=q(t);function s(){var d;clearTimeout(r),(d=o)==null||d.disconnect(),o=null}function c(d,u){d===void 0&&(d=!1),u===void 0&&(u=1),s();const m=t.getBoundingClientRect(),{left:f,top:p,width:h,height:w}=m;if(d||e(),!h||!w)return;const g=st(p),x=st(i.clientWidth-(f+h)),b=st(i.clientHeight-(p+w)),v=st(f),y={rootMargin:-g+"px "+-x+"px "+-b+"px "+-v+"px",threshold:V(0,K(1,u))||1};let O=!0;function S(T){const C=T[0].intersectionRatio;if(!oe(m,t.getBoundingClientRect()))return c();if(C!==u){if(!O)return c();C?c(!1,C):r=setTimeout(()=>{c(!1,1e-7)},1e3)}O=!1}try{o=new IntersectionObserver(S,{...y,root:i.ownerDocument})}catch{o=new IntersectionObserver(S,y)}o.observe(t)}const l=D(t),a=()=>c(n);return l.addEventListener("resize",a),c(!0),()=>{l.removeEventListener("resize",a),s()}}function un(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,a=Mt(t),d=r||i?[...a?rt(a):[],...e?rt(e):[]]:[];d.forEach(g=>{r&&g.addEventListener("scroll",n),i&&g.addEventListener("resize",n)});const u=a&&c?fn(a,n,i):null;let m=-1,f=null;s&&(f=new ResizeObserver(g=>{let[x]=g;x&&x.target===a&&f&&e&&(f.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var b;(b=f)==null||b.observe(e)})),n()}),a&&!l&&f.observe(a),e&&f.observe(e));let p,h=l?Q(t):null;l&&w();function w(){const g=Q(t);h&&!oe(h,g)&&n(),h=g,p=requestAnimationFrame(w)}return n(),()=>{var g;d.forEach(x=>{r&&x.removeEventListener("scroll",n),i&&x.removeEventListener("resize",n)}),u?.(),(g=f)==null||g.disconnect(),f=null,l&&cancelAnimationFrame(p)}}const dn=Ne,pn=Be,mn=Fe,hn=Ve,gn=ze,It=We,wn=je,xn=(t,e,n)=>{const o=new Map,r=n??{},i={...an,...r.platform,_c:o};return ke(t,e,{...r,platform:i})};var yn=typeof document<"u",vn=function(){},lt=yn?P.useLayoutEffect:vn;function dt(t,e){if(t===e)return!0;
3if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,o,r;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(o=n;o--!==0;)if(!dt(t[o],e[o]))return!1;return!0}if(r=Object.keys(t),n=r.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(e,r[o]))return!1;for(o=n;o--!==0;){const i=r[o];if(!(i==="_owner"&&t.$$typeof)&&!dt(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function re(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Xt(t,e){const n=re(t);return Math.round(e*n)/n}function At(t){const e=P.useRef(t);return lt(()=>{e.current=t}),e}function bn(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:i,floating:s}={},transform:c=!0,whileElementsMounted:l,open:a}=t,[d,u]=P.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[m,f]=P.useState(o);dt(m,o)||f(o);const[p,h]=P.useState(null),[w,g]=P.useState(null),x=P.useCallback(R=>{R!==y.current&&(y.current=R,h(R))},[]),b=P.useCallback(R=>{R!==O.current&&(O.current=R,g(R))},[]),v=i||p,A=s||w,y=P.useRef(null),O=P.useRef(null),S=P.useRef(d),T=l!=null,C=At(l),F=At(r),z=At(a),M=P.useCallback(()=>{if(!y.current||!O.current)return;const R={placement:e,strategy:n,middleware:m};F.current&&(R.platform=F.current),xn(y.current,O.current,R).then(L=>{const W={...L,isPositioned:z.current!==!1};E.current&&!dt(S.current,W)&&(S.current=W,ye.flushSync(()=>{u(W)}))})},[m,e,n,F,z]);lt(()=>{a===!1&&S.current.isPositioned&&(S.current.isPositioned=!1,u(R=>({...R,isPositioned:!1})))},[a]);const E=P.useRef(!1);lt(()=>(E.current=!0,()=>{E.current=!1}),[]),lt(()=>{if(v&&(y.current=v),A&&(O.current=A),v&&A){if(C.current)return C.current(v,A,M);M()}},[v,A,M,C,T]);const k=P.useMemo(()=>({reference:y,floating:O,setReference:x,setFloating:b}),[x,b]),_=P.useMemo(()=>({reference:v,floating:A}),[v,A]),$=P.useMemo(()=>{const R={position:n,left:0,top:0};if(!_.floating)return R;const L=Xt(_.floating,d.x),W=Xt(_.floating,d.y);return c?{...R,transform:"translate("+L+"px, "+W+"px)",...re(_.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:L,top:W}},[n,c,_.floating,d.x,d.y]);return P.useMemo(()=>({...d,update:M,refs:k,elements:_,floatingStyles:$}),[d,M,k,_,$])}const An=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:o,padding:r}=typeof t=="function"?t(n):t;return o&&e(o)?o.current!=null?It({element:o.current,padding:r}).fn(n):{}:o?It({element:o,padding:r}).fn(n):{}}}},Rn=(t,e)=>{const n=dn(t);return{name:n.name,fn:n.fn,options:[t,e]}},Pn=(t,e)=>{const n=pn(t);return{name:n.name,fn:n.fn,options:[t,e]}},On=(t,e)=>({fn:wn(t).fn,options:[t,e]}),Cn=(t,e)=>{const n=mn(t);return{name:n.name,fn:n.fn,options:[t,e]}},Sn=(t,e)=>{const n=hn(t);return{name:n.name,fn:n.fn,options:[t,e]}},En=(t,e)=>{const n=gn(t);return{name:n.name,fn:n.fn,options:[t,e]}},_n=(t,e)=>{const n=An(t);return{name:n.name,fn:n.fn,options:[t,e]}};var Ln=Object.defineProperty,Mn=(t,e)=>Ln(t,"name",{value:e,configurable:!0}),Tn=P.forwardRef(Mn(function(e,n){const{children:o,width:r=10,height:i=5,...s}=e;return j.jsx(Ot.svg,{...s,ref:n,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?o:j.jsx("polygon",{points:"0,0 30,0 15,10"})})},"Arrow")),$n=Tn,Dn=Object.defineProperty,X=(t,e)=>Dn(t,"name",{value:e,configurable:!0}),ie="Popper",[se,Zn]=ve(ie),[kn,ce]=se(ie),Wn=X(t=>{const{__scopePopper:e,children:n}=t,[o,r]=P.useState(null),[i,s]=P.useState(void 0);return j.jsx(kn,{scope:e,anchor:o,onAnchorChange:r,placementState:i,setPlacementState:s,children:n})},"Popper"),Fn="PopperAnchor",zn=P.forwardRef(X(function(e,n){const{__scopePopper:o,virtualRef:r,...i}=e,s=ce(Fn,o),c=P.useRef(null),l=s.onAnchorChange,a=P.useCallback(h=>{c.current=h,h&&l(h)},[l]),d=Yt(n,a),u=P.useRef(null);P.useEffect(()=>{if(!r)return;const h=u.current;u.current=r.current,h!==u.current&&l(u.current)});const m=s.placementState&&xt(s.placementState),f=m?.[0],p=m?.[1];return r?null:j.jsx(Ot.div,{"data-radix-popper-side":f,"data-radix-popper-align":p,...i,ref:d})},"PopperAnchor")),le="PopperContent",[Hn,Nn]=se(le),Bn=P.forwardRef(X(function(e,n){const{__scopePopper:o,side:r="bottom",sideOffset:i=0,align:s="center",alignOffset:c=0,arrowPadding:l=0,avoidCollisions:a=!0,collisionBoundary:d=[],collisionPadding:u=0,sticky:m="partial",hideWhenDetached:f=!1,updatePositionStrategy:p="optimized",onPlaced:h,...w}=e,g=ce(le,o),[x,b]=P.useState(null),v=Yt(n,b),[A,y]=P.useState(null),O=qt(A),S=O?.width??0,T=O?.height??0,C=r+(s!=="center"?"-"+s:""),F=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},z=Array.isArray(d)?d:[d],M=z.length>0,E={padding:F,boundary:z.filter(ae),altBoundary:M},{refs:k,floatingStyles:_,placement:$,isPositioned:R,middlewareData:L}=bn({strategy:"fixed",placement:C,whileElementsMounted:X((...yt)=>un(...yt,{animationFrame:p==="always"}),"whileElementsMounted"),elements:{reference:g.anchor},middleware:[Rn({mainAxis:i+T,alignmentAxis:c}),a&&Pn({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?On():void 0,...E}),a&&Cn({...E}),Sn({...E,apply:X(({elements:yt,rects:kt,availableWidth:he,availableHeight:ge})=>{const{width:we,height:xe}=kt.reference,it=yt.floating.style;it.setProperty("--radix-popper-available-width",`${he}
3px`),it.setProperty("--radix-popper-available-height",`${ge}px`),it.setProperty("--radix-popper-anchor-width",`${we}px`),it.setProperty("--radix-popper-anchor-height",`${xe}px`)},"apply")}),A&&_n({element:A,padding:l}),Xn({arrowWidth:S,arrowHeight:T}),f&&En({strategy:"referenceHidden",...E,boundary:M?E.boundary:void 0})]}),W=g.setPlacementState;ct(()=>(W($),()=>{W(void 0)}),[$,W]);const[Tt,$t]=xt($),Dt=be(h);ct(()=>{R&&Dt?.()},[R,Dt]);const fe=L.arrow?.x,ue=L.arrow?.y,de=L.arrow?.centerOffset!==0,[pe,me]=P.useState();return ct(()=>{x&&me(window.getComputedStyle(x).zIndex)},[x]),j.jsx("div",{ref:k.setFloating,"data-radix-popper-content-wrapper":"",style:{..._,transform:R?_.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:pe,"--radix-popper-transform-origin":[L.transformOrigin?.x,L.transformOrigin?.y].join(" "),...L.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:j.jsx(Hn,{scope:o,placedSide:Tt,placedAlign:$t,onArrowChange:y,arrowX:fe,arrowY:ue,shouldHideArrow:de,children:j.jsx(Ot.div,{"data-side":Tt,"data-align":$t,...w,ref:v,style:{...w.style,animation:R?w.style?.animation:"none"}})})})},"PopperContent")),jn="PopperArrow",Vn={top:"bottom",right:"left",bottom:"top",left:"right"},In=P.forwardRef(X(function(e,n){const{__scopePopper:o,...r}=e,i=Nn(jn,o),s=Vn[i.placedSide];return j.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:j.jsx($n,{...r,ref:n,style:{...r.style,display:"block"}})})},"PopperArrow"));function ae(t){return t!==null}X(ae,"isNotNull");var Xn=X(t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:o,middlewareData:r}=e,s=r.arrow?.centerOffset!==0,c=s?0:t.arrowWidth,l=s?0:t.arrowHeight,[a,d]=xt(n),u={start:"0%",center:"50%",end:"100%"}[d],m=(r.arrow?.x??0)+c/2,f=(r.arrow?.y??0)+l/2;let p="",h="";return a==="bottom"?(p=s?u:`${m}px`,h=`${-l}px`):a==="top"?(p=s?u:`${m}px`,h=`${o.floating.height+l}px`):a==="right"?(p=`${-l}px`,h=s?u:`${f}px`):a==="left"&&(p=`${o.floating.width+l}px`,h=s?u:`${f}px`),{data:{x:p,y:h}}}}),"transformOrigin");function xt(t){const[e,n="center"]=t.split("-");return[e,n]}X(xt,"getSideAndAlignFromPlacement");var Gn=Wn,Jn=zn,Qn=Bn,to=In;export{Jn as A,Qn as C,Gn as R,to as a,Zn as c,qt as u}; 4 5//# debugId=19639b5d-69c3-5314-84ab-7383a3ab2a72
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.