PageSourceSearch

https://www.marcovasco.fr/_nuxt/BCMPWahJ.js

js marcovasco.fr collected 2026-10-02 07:26:57 UTC 28,896 bytes, 1 lines download raw bytes

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

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.