1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`b21acb032fa1ebb282365e5cc52d2dffa468ef00`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`3c5f040b-8285-42b0-b80f-f58db4e38a08`,e._sentryDebugIdIdentifier=`sentry-dbid-3c5f040b-8285-42b0-b80f-f58db4e38a08`)}catch{}})();import{D as e,Ht as t,On as n,Q as r,Ut as i,Wt as a,Xt as o,an as s,b as c,bn as l,ct as u,et as d,ft as f,g as p,k as m,mt as h,pn as g,qt as _,tr as v,v as y,vn as b,xn as x,xt as S}from"./CgbyAZ0-.js";import{r as C}from"./BN52dhc8.js";import{C as w,f as T,r as E}from"./CQD-0J4l.js";import{a as D}from"./CGTT4wA5.js";import{_ as O,h as k,p as A}from"./68vjHDmL.js";import{g as j}from"./Boh0jF6-.js";import{t as M}from"./CXGq0rAw.js";var ee=0;function te(){i(e=>{if(!T)return;let t=document.querySelectorAll(`[data-reka-focus-guard]`);document.body.insertAdjacentElement(`afterbegin`,t[0]??ne()),document.body.insertAdjacentElement(`beforeend`,t[1]??ne()),ee++,e(()=>{ee===1&&document.querySelectorAll(`[data-reka-focus-guard]`).forEach(e=>e.remove()),ee--})})}function ne(){let e=document.createElement(`span`);return e.setAttribute(`data-reka-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}function N(e,t){let n=E(e),r=t?k(t):{};return p(()=>({...n.value,...r}))}function re(e){let t=b(),n=p(()=>t.value?.width??0),r=p(()=>t.value?.height??0),i;return u(()=>{let n=D(e);n?(t.value={width:n.offsetWidth,height:n.offsetHeight},i=new ResizeObserver(e=>{if(!Array.isArray(e)||!e.length)return;let r=e[0],i,a;if(`borderBoxSize`in r){let e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,a=t.blockSize}else i=n.offsetWidth,a=n.offsetHeight;t.value={width:i,height:a}}),i.observe(n,{box:`border-box`})):t.value=void 0}),f(()=>{i?.disconnect(),i=void 0}),{width:n,height:r}}function P(e){let t=w(``,1e3);return{search:t,handleTypeaheadSearch:(n,r)=>{if(t.value+=n,e)e(n);else{let e=j(),n=r.map(e=>({...e,textValue:e.value?.textValue??e.ref.textContent?.trim()??``})),i=n.find(t=>t.ref===e),a=F(n.map(e=>e.textValue),t.value,i?.textValue),o=n.find(e=>e.textValue===a);return o&&o.ref.focus(),o?.ref}},resetTypeahead:()=>{t.value=``}}}function ie(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function F(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=ie(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}var[ae,oe]=O(`PopperRoot`),se=m({inheritAttrs:!1,__name:`PopperRoot`,setup(e){let t=b();return oe({anchor:t,onAnchorChange:e=>t.value=e}),(e,t)=>S(e.$slots,`default`)}}),ce=m({__name:`PopperAnchor`,props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,{forwardRef:r,currentElement:i}=M(),o=ae();return a(()=>{o.onAnchorChange(t.reference??i.value)}),(e,t)=>(h(),y(n(A),{ref:n(r),as:e.as,"as-child":e.asChild},{default:_(()=>[S(e.$slots,`default`)]),_:3},8,[`as`,`as-child`]))}}),le={key:0,d:`M0 0L6 6L12 0`},ue={key:1,d:`M0 0L4.58579 4.58579C5.36683 5.36683 6.63316 5.36684 7.41421 4.58579L12 0`},de=m({__name:`Arrow`,props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`svg`}},setup(e){let t=e;return M(),(e,r)=>(h(),y(n(A),d(t,{width:e.width,height:e.height,viewBox:e.asChild?void 0:`0 0 12 6`,preserveAspectRatio:e.asChild?void 0:`none`}),{default:_(()=>[S(e.$slots,`default`,{},()=>[e.rounded?(h(),c(`path`,ue)):(h(),c(`path`,le))])]),_:3},16,[`width`,`height`,`viewBox`,`preserveAspectRatio`]))}});function fe(e){return e!==null}function pe(e){return{name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=me(n),u={start:e.dir===`rtl`?`100%`:`0%`,center:`50%`,end:e.dir===`rtl`?`0%`:`100%`}[l],d={start:`0%`,center:`50%`,end:`100%`}[l],f=(i.arrow?.x??0)+o/2,p=(i.arrow?.y??0)+s/2,m=``,h=``;return c===`bottom`?(m=a?u:`${f}px`,h=`${-s}px`):c===`top`?(m=a?u:`${f}px`,h=`${r.floating.height+s}px`):c===`right`?(m=`${-s}px`,h=a?d:`${p}px`):c===`left`&&(m=`${r.floating.width+s}px`,h=a?d:`${p}px`),{data:{x:m,y:h}}}}}function me(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var he=[`top`,`right`,`bottom`,`left`],I=Math.min,L=Math.max,ge=Math.round,_e=Math.floor,R=e
vendor: 5,448 bytes, line 1
1=>({x:e,y:e}),ve={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function ye(e,t,n){return L(e,I(t,n))}function z(e,t){return typeof e==`function`?e(t):e}function B(e){return e.split(`-`)[0]}function V(e){return e.split(`-`)[1]}function be(e){return e===`x`?`y`:`x`}function xe(e){return e===`y`?`height`:`width`}function H(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function Se(e){return be(H(e))}function Ce(e,t,n){n===void 0&&(n=!1);let r=V(e),i=Se(e),a=xe(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Me(o)),[o,Me(o)]}function we(e){let t=Me(e);return[Te(e),t,Te(t)]}function Te(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var Ee=[`left`,`right`],De=[`right`,`left`],Oe=[`top`,`bottom`],ke=[`bottom`,`top`];function Ae(e,t,n){switch(e){case`top`:case`bottom`:return n?t?De:Ee:t?Ee:De;case`left`:case`right`:return t?Oe:ke;default:return[]}}function je(e,t,n,r){let i=V(e),a=Ae(B(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(Te)))),a}function Me(e){let t=B(e);return ve[t]+e.slice(t.length)}function Ne(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function Pe(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Ne(e)}function Fe(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Ie(e,t,n){let{reference:r,floating:i}=e,a=H(t),o=Se(t),s=xe(o),c=B(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=V(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function Le(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=z(t,e),p=Pe(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Fe(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=Fe(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var Re=50,ze=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Le},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Ie(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<Re&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=Ie(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},Be=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=z(e,t)||{};if(l==null)return{};let d=Pe(u),f={x:n,y:r},p=Se(i),m=xe(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=I(d[_],T),D=I(d[v],T),O=C-h[m]-D,k=C/2-h[m]/2+w,A=ye(E,k,O),j=!c.arrow&&V(i)!=null&&k!==A&&a.reference[m]/2-(k<E?E:D)-h[m]/2<0,M=j?k<E?k-E:k-O:0;return{[p]:f[p]+M,data:{[p]:A,centerOffset:k-A-M,...j&&{alignmentOffset:M}},reset:j}}}),Ve=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=z(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=B(r),_=H(o),v=B(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Me(o)]:we(o)),x=p!==`none`;!d&&x&&b.push(...je(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=Ce(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(u!==`alignment`||_===H(t)||T.every(e=>H(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=H(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}};function He(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ue(e){return he.some(t=>e[t]>=0)}var We=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=z(e,t);switch(i){case`referenceHidden`:{let e=He(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Ue(e)}}}case`escaped`:{let e=He(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Ue(e)}}}default:return{}}}}},Ge=new Set([`left`,`top`]);async function Ke(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=B(n),s=V(n),c=H(n)===`y`,l=Ge.has(o)?-1:1,u=a&&c?-1:1,d=z(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var qe=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await Ke(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},Je=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=z(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=H(i),p=be(f),m=u[p],h=u[f],g=(e,t)=>ye(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},Ye=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=z(e,t),u={x:n,y:r},d=H(i),f=be(d),p=u[f],m=u[d],h=z(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:h.mainAxis??0,crossAxis:h.crossAxis??0};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=Ge.has(B(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},Xe=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=z(e,t),c=await i.detectOverflow(t,s),l=B(n),u=V(n),d=H(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c.top-c.bottom,_=f-c.left-c.right,v=I(p-c[m],g),y=I(f-c[h],_),b=t.middlewareData.shift,x=!b,S=v,C=y;b!=null&&b.enabled.x&&(C=_),b!=null&&b.enabled.y&&(S=g),x&&!u&&(d?C=f-2*L(c.left,c.right):S=p-2*L(c.top,c.bottom)),await o({...t,availableWidth:C,availableHeight:S});let w=await i.getDimensions(a.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}};function Ze(){return typeof window<`u`}function U(e){return Qe(e)?(e.nodeName||``).toLowerCase():`#document`}function W(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function G(e){return((Qe(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function Qe(e){return Ze()?e instanceof Node||e instanceof W(e).Node:!1}function K(e){return Ze()?e instanceof Element||e instanceof W(e).Element:!1}function q(e){return Ze()?e instanceof HTMLElement||e instanceof W(e).HTMLElement:!1}function $e(e){return!Ze()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof W(e).ShadowRoot}function et(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=Y(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function tt(e){return/^(table|td|th)$/.test(U(e))}function nt(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var rt=/transform|translate|scale|rotate|perspective|filter/,it=/paint|layout|strict|content/,J=e=>!!e&&e!==`none`,at;function ot(e){let t=K(e)?Y(e):e;return J(t.transform)||J(t.translate)||J(t.scale)||J(t.rotate)||J(t.perspective)||!ct()&&(J(t.backdropFilter)||J(t.filter))||rt.test(t.willChange||``)||it.test(t.contain||``)}function st(e){let t=X(e);for(;q(t)&&!lt(t);){if(ot(t))return t;if(nt(t))return null;t=X(t)}return null}function ct(){return at??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),at}function lt(e){return/^(html|body|#document)$/.test(U(e))}function Y(e){return W(e).getComputedStyle(e)}function ut(e){return K(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function X(e){if(U(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||$e(e)&&e.host||G(e);return $e(t)?t.host:t}function dt(e){let t=X(e);return lt(t)?(e.ownerDocument||e).body:q(t)&&et(t)?t:dt(t)}function ft(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=dt(e),i=r===e.ownerDocument?.body,a=W(r);if(i){let e=pt(a);
vendor: 4,184 bytes, line 1
1return t.concat(a,a.visualViewport||[],et(r)?r:[],e&&n?ft(e):[])}return t.concat(r,ft(r,[],n))}function pt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function mt(e){let t=Y(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=q(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=ge(n)!==a||ge(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function ht(e){return K(e)?e:e.contextElement}function Z(e){let t=ht(e);if(!q(t))return R(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=mt(t),o=(a?ge(n.width):n.width)/r,s=(a?ge(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var gt=R(0);function _t(e){let t=W(e);return!ct()||!t.visualViewport?gt:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function vt(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===W(e)}function Q(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=ht(e),o=R(1);t&&(r?K(r)&&(o=Z(r)):o=Z(e));let s=vt(a,n,r)?_t(a):R(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=W(a),t=K(r)?W(r):r,n=e,i=pt(n);for(;i&&t!==n;){let e=Z(i),t=i.getBoundingClientRect(),r=Y(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=W(i),i=pt(n)}}return Fe({width:u,height:d,x:c,y:l})}function yt(e,t){let n=ut(e).scrollLeft;return t?t.left+n:Q(G(e)).left+n}function bt(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-yt(e,n),y:n.top+t.scrollTop}}function xt(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=G(r),s=t?nt(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=R(1),u=R(0),d=q(r);if((d||!a)&&((U(r)!==`body`||et(o))&&(c=ut(r)),d)){let e=Q(r);l=Z(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?bt(o,c):R(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function St(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Ct(e){let t=ut(e),n=e.ownerDocument.body,r=L(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=L(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+yt(e),o=-t.scrollTop;return Y(n).direction===`rtl`&&(a+=L(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var wt=25;function Tt(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=W(e),a=G(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!ct()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(yt(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=wt&&(s-=o)}return{width:s,height:c,x:l,y:u}}function Et(e,t){let n=Q(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Z(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Dt(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=Tt(e,n,t);else if(t===`document`)r=Ct(G(e));else if(K(t))r=Et(t,n);else{let n=_t(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Fe(r)}function Ot(e,t){let n=t.get(e);if(n)return n;let r=ft(e,[],!1).filter(e=>K(e)&&U(e)!==`body`),i=null,a=Y(e).position===`fixed`,o=a?X(e):e;for(;K(o)&&!lt(o);){let e=Y(o),t=ot(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=X(o)}return t.set(e,r),r}function kt(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?nt(t)?[]:Ot(t,this._c):[].concat(n),r],o=Dt(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=Dt(t,a[e],i);s=L(n.top,s),c=I(n.right,c),l=I(n.bottom,l),u=L(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function At(e){let{width:t,height:n}=mt(e);return{width:t,height:n}}function jt(e,t,n){let r=q(t),i=G(t),a=n===`fixed`,o=Q(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=R(0);
1if((r||!a)&&((U(t)!==`body`||et(i))&&(s=ut(t)),r)){let e=Q(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=yt(i));let l=i&&!r&&!a?bt(i,s):R(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function Mt(e){return Y(e).position===`static`}function Nt(e,t){if(!q(e)||Y(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return G(e)===n&&(n=n.ownerDocument.body),n}function Pt(e,t){let n=W(e);if(nt(e))return n;if(!q(e)){let t=X(e);for(;t&&!lt(t);){if(K(t)&&!Mt(t))return t;t=X(t)}return n}let r=Nt(e,t);for(;r&&tt(r)&&Mt(r);)r=Nt(r,t);return r&<(r)&&Mt(r)&&!ot(r)?n:r||st(e)||n}var Ft=async function(e){let t=this.getOffsetParent||Pt,n=this.getDimensions,r=await n(e.floating);return{reference:jt(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function It(e){return Y(e).direction===`rtl`}var Lt={convertOffsetParentRelativeRectToViewportRelativeRect:xt,getDocumentElement:G,getClippingRect:kt,getOffsetParent:Pt,getElementRects:Ft,getClientRects:St,getDimensions:At,getScale:Z,isElement:K,isRTL:It};function Rt(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function zt(e,t,n){let r=null,i,a=G(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m=_e(d),h=_e(a.clientWidth-(u+f)),g=_e(a.clientHeight-(d+p)),_=_e(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:L(0,I(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!Rt(l,e.getBoundingClientRect()))return s();if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:a.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let c=W(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function Bt(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=ht(e),u=i||a?[...l?ft(l):[],...t?ft(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?zt(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?Q(e):null;c&&g();function g(){let t=Q(e);h&&!Rt(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Vt=qe,Ht=Je,Ut=Ve,Wt=Xe,Gt=We,Kt=Be,qt=Ye,Jt=(e,t,n)=>{let r=new Map,i=n??{},a={...Lt,...i.platform,_c:r};return ze(e,t,{...i,platform:a})};function Yt(e){return typeof e==`object`&&!!e&&`$el`in e}function Xt(e){if(Yt(e)){let t=e.$el;return Qe(t)&&U(t)===`#comment`?null:t}return e}function $(e){return typeof e==`function`?e():n(e)}function Zt(e){return{name:`arrow`,options:e,fn(t){let n=Xt($(e.element));return n==null?{}:Kt({element:n,padding:e.padding}).fn(t)}}}function Qt(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function $t(e,t){let n=Qt(e);return Math.round(t*n)/n}function en(e,n,r){r===void 0&&(r={});let i=r.whileElementsMounted,a=p(()=>$(r.open)??!0),o=p(()=>$(r.middleware)),c=p(()=>$(r.placement)??`bottom`),u=p(()=>$(r.strategy)??`absolute`),d=p(()=>$(r.transform)??!0),f=p(()=>Xt(e.value)),m=p(()=>Xt(n.value)),h=b(0),_=b(0),v=b(u.value),y=b(c.value),S=x({}),C=b(!1),w=p(()=>{let e={position:v.value,left:`0`,top:`0`};if(!m.value)return e;let t=$t(m.value,h.value),n=$t(m.value,_.value);return d.value?{...e,transform:`translate(`+t+`px, `+n+`px)`,...Qt(m.value)>=1.5&&{willChange:`transform`}}:{position:v.value,left:t+`px`,top:n+`px`}}),T;
1function E(){if(f.value==null||m.value==null)return;let e=a.value;Jt(f.value,m.value,{middleware:o.value,placement:c.value,strategy:u.value}).then(t=>{h.value=t.x,_.value=t.y,v.value=t.strategy,y.value=t.placement,S.value=t.middlewareData,C.value=e!==!1})}function D(){typeof T==`function`&&(T(),T=void 0)}function O(){if(D(),i===void 0){E();return}if(f.value!=null&&m.value!=null){T=i(f.value,m.value,E);return}}function k(){a.value||(C.value=!1)}return t([o,c,u,a],E,{flush:`sync`}),t([f,m],O,{flush:`sync`}),t(a,k,{flush:`sync`}),s()&&g(D),{x:l(h),y:l(_),strategy:l(v),placement:l(y),middlewareData:l(S),isPositioned:l(C),floatingStyles:w,update:E}}var tn=[`dir`],nn={side:`bottom`,sideOffset:0,sideFlip:!0,align:`center`,alignOffset:0,alignFlip:!0,arrowPadding:0,hideShiftedArrow:!0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:`partial`,hideWhenDetached:!1,positionStrategy:`fixed`,updatePositionStrategy:`optimized`,prioritizePosition:!1},[rn,an]=O(`PopperContent`),on=m({inheritAttrs:!1,__name:`PopperContent`,props:r({memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...nn}),emits:[`placed`],setup(e,{emit:t}){let r=e,s=t,l=ae(),{forwardRef:u,currentElement:f}=M(),m=C(p(()=>r.dir)),g=b(),x=b(),{width:w,height:T}=re(x),E=p(()=>r.side+(r.align===`center`?``:`-${r.align}`)),D=p(()=>typeof r.collisionPadding==`number`?r.collisionPadding:{top:0,right:0,bottom:0,left:0,...r.collisionPadding}),O=p(()=>Array.isArray(r.collisionBoundary)?r.collisionBoundary:[r.collisionBoundary]),k=p(()=>({padding:D.value,boundary:O.value.filter(fe),altBoundary:O.value.length>0})),j=p(()=>({mainAxis:r.sideFlip,crossAxis:r.alignFlip})),ee=p(()=>[Vt({mainAxis:r.sideOffset+T.value,alignmentAxis:r.alignOffset}),r.prioritizePosition&&r.avoidCollisions&&Ut({...k.value,...j.value}),r.avoidCollisions&&Ht({mainAxis:!0,crossAxis:!!r.prioritizePosition,limiter:r.sticky===`partial`?qt():void 0,...k.value}),!r.prioritizePosition&&r.avoidCollisions&&Ut({...k.value,...j.value}),Wt({...k.value,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--reka-popper-available-width`,`${n}px`),o.setProperty(`--reka-popper-available-height`,`${r}px`),o.setProperty(`--reka-popper-anchor-width`,`${i}px`),o.setProperty(`--reka-popper-anchor-height`,`${a}px`)}}),x.value&&Zt({element:x.value,padding:r.arrowPadding}),pe({arrowWidth:w.value,arrowHeight:T.value,dir:m.value}),r.hideWhenDetached&&Gt({strategy:`referenceHidden`,...k.value})]),{floatingStyles:te,placement:ne,isPositioned:N,middlewareData:P,update:ie}=en(p(()=>r.reference??l.anchor.value),g,{strategy:r.positionStrategy,placement:E,whileElementsMounted:(...e)=>Bt(...e,{layoutShift:!r.disableUpdateOnLayoutShift,animationFrame:r.updatePositionStrategy===`always`}),middleware:ee}),F=p(()=>me(ne.value)[0]),oe=p(()=>me(ne.value)[1]);a(()=>{N.value&&s(`placed`)});let se=p(()=>{let e=P.value.arrow?.centerOffset!==0;return r.hideShiftedArrow&&e}),ce=b(``);return i(()=>{f.value&&(ce.value=window.getComputedStyle(f.value).zIndex)}),an({placedSide:F,onArrowChange:e=>x.value=e,arrowX:p(()=>P.value.arrow?.x??0),arrowY:p(()=>P.value.arrow?.y??0),shouldHideArrow:se}),(e,t)=>(h(),c(`div`,{ref_key:`floatingRef`,ref:g,"data-reka-popper-content-wrapper":``,dir:n(m),style:v({...n(te),transform:n(N)?n(te).transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:ce.value,"--reka-popper-transform-origin":[n(P).transformOrigin?.x,n(P).transformOrigin?.y].join(` `),...n(P).hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}})},[r.memoDependencies?o([r.asChild,r.as,F.value,oe.value,n(N),...Object.values(e.$attrs),...r.memoDependencies],()=>(h(),y(n(A),d({key:0,ref:n(u)},e.$attrs,{"as-child":r.asChild,as:r.as,"data-side":F.value,"data-align":oe.value,style:{animation:n(N)?void 0:`none`}}),{default:_(()=>[S(e.$slots,`default`)]),_:3},16,[`as-child`,`as`,`data-side`,`data-align`,`style`])),t,0):(h(),y(n(A),d({key:1,ref:n(u)},e.$attrs,{"as-child":r.asChild,as:r.as,"data-side":F.value,"data-align":oe.value,dir:n(m),style:{animation:n(N)?void 0:`none`}}),{default:_(()=>[S(e.$slots,`default`)]),_:3},16,[`as-child`,`as`,`data-side`,`data-align`,`dir`,`style`]))],12,tn))}}),sn={top:`bottom`,right:`left`,bottom:`top`,left:`right`},cn=m({inheritAttrs:!1,__name:`PopperArrow`,props:{width:{type:Number,required:!1},height:{type:Number,required:!1},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`svg`}},setup(t){let{forwardRef:r}=M(),i=rn(),a=p(()=>sn[i.placedSide.value]);return(t,o)=>(h(),c(`span`,{ref:e=>{n(i).onArrowChange(e??void 0)},style:v({position:`absolute`,left:n(i).arrowX?.value?`${n(i).arrowX?.value}px`:void 0,top:n(i).arrowY?.value?`${n(i).arrowY?.value}px`:void 0,[a.value]:0,transformOrigin:{top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`}[n(i).placedSide.value],transform:{top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`}[n(i).placedSide.value],visibility:n(i).shouldHideArrow.value?`hidden`:void 0})}
1,[e(de,d(t.$attrs,{ref:n(r),style:{display:`block`},as:t.as,"as-child":t.asChild,rounded:t.rounded,width:t.width,height:t.height}),{default:_(()=>[S(t.$slots,`default`)]),_:3},16,[`as`,`as-child`,`rounded`,`width`,`height`])],4))}});export{F as a,te as c,se as i,on as n,P as o,ce as r,N as s,cn as t};
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.