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