PageSourceSearch

https://ducafecat.com/_nuxt/D797z_Nh.js

js ducafecat.com collected 2026-10-05 22:10:31 UTC 27,016 bytes, 1 lines download raw bytes

1import{At as e,E as t,Et as n,Gt as r,I as i,J as a,Lt as o,Ot as s,S as c,V as l,Y as u,Z as d,bt as f,dt as p,ft as m,gt as h,j as g,jt as _,mt as v,sn as y,tt as b,ut as x,w as S,yt as C,z as w}from"./CD9tcrLv.js";import{c as T}from"./Aec_nh5L.js";import{i as E,t as D}from"./QfAgZswB.js";import{t as O}from"./Dwuxow0h.js";import{t as ee}from"./5ZmvebQv.js";i(),f();function k(e){let t=s(),n=c(()=>t.value?.width??0),r=c(()=>t.value?.height??0),i;return a(()=>{let n=E(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}),u(()=>{i?.disconnect(),i=void 0}),{width:n,height:r}}i(),f();var[A,j]=T(`PopperRoot`),M=g({inheritAttrs:!1,__name:`PopperRoot`,setup(e){let t=s();return j({anchor:t,onAnchorChange:e=>t.value=e}),(e,t)=>b(e.$slots,`default`)}});i(),f();var te=g({__name:`PopperAnchor`,props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,{forwardRef:n,currentElement:r}=D(),i=A();return m(()=>{i.onAnchorChange(t.reference??r.value)}),(e,t)=>(d(),S(o(O),{ref:o(n),as:e.as,"as-child":e.asChild},{default:v(()=>[b(e.$slots,`default`)]),_:3},8,[`as`,`as-child`]))}});function ne(e){return e!==null}function re(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]=ie(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 ie(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var ae=[`top`,`right`,`bottom`,`left`],N=Math.min,P=Math.max,F=Math.round,I=Math.floor,L=e=>({x:e,y:e}),R={left:`right`,right:`left`,bottom:`top`,top:`bottom`},oe={start:`end`,end:`start`};function se(e,t,n){return P(e,N(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 ce(e){return e===`x`?`y`:`x`}function le(e){return e===`y`?`height`:`width`}var ue=new Set([`top`,`bottom`]);function H(e){return ue.has(B(e))?`y`:`x`}function de(e){return ce(H(e))}function fe(e,t,n){n===void 0&&(n=!1);let r=V(e),i=de(e),a=le(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=xe(o)),[o,xe(o)]}function pe(e){let t=xe(e);return[me(e),t,me(t)]}function me(e){return e.replace(/start|end/g,e=>oe[e])}var he=[`left`,`right`],ge=[`right`,`left`],_e=[`top`,`bottom`],ve=[`bottom`,`top`];function ye(e,t,n){switch(e){case`top`:case`bottom`:return n?t?ge:he:t?he:ge;case`left`:case`right`:return t?_e:ve;default:return[]}}function be(e,t,n,r){let i=V(e),a=ye(B(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(me)))),a}function xe(e){return e.replace(/left|right|bottom|top/g,e=>R[e])}function Se(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ce(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Se(e)}function we(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 Te(e,t,n){let{reference:r,floating:i}=e,a=H(t),o=de(t),s=le(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}}switch(V(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1)}return p}var Ee=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}
vendor: 9,376 bytes, line 1
1=n,s=a.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Te(l,r,c),f=r,p={},m=0;for(let n=0;n<s.length;n++){let{name:a,fn:h}=s[n],{x:g,y:_,data:v,reset:y}=await h({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:l,platform:o,elements:{reference:e,floating:t}});u=g??u,d=_??d,p={...p,[a]:{...p[a],...v}},y&&m<=50&&(m++,typeof y==`object`&&(y.placement&&(f=y.placement),y.rects&&(l=y.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):y.rects),{x:u,y:d}=Te(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:p}};async function De(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=Ce(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=we(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=we(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 Oe=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=Ce(u),f={x:n,y:r},p=de(i),m=le(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=N(d[_],T),D=N(d[v],T),O=E,ee=C-h[m]-D,k=C/2-h[m]/2+w,A=se(O,k,ee),j=!c.arrow&&V(i)!=null&&k!==A&&a.reference[m]/2-(k<O?E:D)-h[m]/2<0,M=j?k<O?k-O:k-ee:0;return{[p]:f[p]+M,data:{[p]:A,centerOffset:k-A-M,...j&&{alignmentOffset:M}},reset:j}}}),ke=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?[xe(o)]:pe(o)),x=p!==`none`;!d&&x&&b.push(...be(o,m,p,y));let S=[o,...b],C=await De(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=fe(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)=>e.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 Ae(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function je(e){return ae.some(t=>e[t]>=0)}var Me=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n}=t,{strategy:r=`referenceHidden`,...i}=z(e,t);switch(r){case`referenceHidden`:{let e=Ae(await De(t,{...i,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:je(e)}}}case`escaped`:{let e=Ae(await De(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:je(e)}}}default:return{}}}}},Ne=new Set([`left`,`top`]);async function Pe(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=Ne.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 Fe=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 Pe(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}}}}},Ie=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=z(e,t),l={x:n,y:r},u=await De(t,c),d=H(B(i)),f=ce(d),p=l[f],m=l[d];if(a){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=p+u[e],r=p-u[t];p=se(n,p,r)}if(o){let e=d===`y`?`top`:`left`,t=d===`y`?`bottom`:`right`,n=m+u[e],r=m-u[t];m=se(n,m,r)}let h=s.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[f]:a,[d]:o}}}}}},Le=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=ce(d),p=u[f],m=u[d],h=z(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};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=Ne.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}}}},Re=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=z(e,t),u=await De(t,l),d=B(i),f=V(i),p=H(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=N(h-u[g],v),x=N(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=P(u.left,0),t=P(u.right,0),n=P(u.top,0),r=P(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:P(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:P(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function ze(){return typeof window<`u`}function U(e){return Be(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((Be(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function Be(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 Ve(e){return!ze()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof W(e).ShadowRoot}var He=new Set([`inline`,`contents`]);function Ue(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=Y(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!He.has(i)}var We=new Set([`table`,`td`,`th`]);function Ge(e){return We.has(U(e))}var Ke=[`:popover-open`,`:modal`];function qe(e){return Ke.some(t=>{try{return e.matches(t)}catch{return!1}})}var Je=[`transform`,`translate`,`scale`,`rotate`,`perspective`],Ye=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],Xe=[`paint`,`layout`,`strict`,`content`];function Ze(e){let t=$e(),n=K(e)?Y(e):e;return Je.some(e=>n[e]?n[e]!==`none`:!1)||(n.containerType?n.containerType!==`normal`:!1)||!t&&(n.backdropFilter?n.backdropFilter!==`none`:!1)||!t&&(n.filter?n.filter!==`none`:!1)||Ye.some(e=>(n.willChange||``).includes(e))||Xe.some(e=>(n.contain||``).includes(e))}function Qe(e){let t=X(e);for(;q(t)&&!J(t);){if(Ze(t))return t;if(qe(t))return null;t=X(t)}return null}function $e(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var et=new Set([`html`,`body`,`#document`]);function J(e){return et.has(U(e))}function Y(e){return W(e).getComputedStyle(e)}function tt(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||Ve(e)&&e.host||G(e);return Ve(t)?t.host:t}function nt(e){let t=X(e);return J(t)?e.ownerDocument?e.ownerDocument.body:e.body:q(t)&&Ue(t)?t:nt(t)}
vendor: 6,555 bytes, line 1
1function rt(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=nt(e),i=r===e.ownerDocument?.body,a=W(r);if(i){let e=it(a);return t.concat(a,a.visualViewport||[],Ue(r)?r:[],e&&n?rt(e):[])}return t.concat(r,rt(r,[],n))}function it(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function at(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=F(n)!==a||F(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function ot(e){return K(e)?e:e.contextElement}function Z(e){let t=ot(e);if(!q(t))return L(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=at(t),o=(a?F(n.width):n.width)/r,s=(a?F(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var st=L(0);function ct(e){let t=W(e);return!$e()||!t.visualViewport?st:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function lt(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==W(e)?!1:t}function Q(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=ot(e),o=L(1);t&&(r?K(r)&&(o=Z(r)):o=Z(e));let s=lt(a,n,r)?ct(a):L(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){let e=W(a),t=r&&K(r)?W(r):r,n=e,i=it(n);for(;i&&r&&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=it(n)}}return we({width:u,height:d,x:c,y:l})}function ut(e,t){let n=tt(e).scrollLeft;return t?t.left+n:Q(G(e)).left+n}function dt(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ut(e,n),y:n.top+t.scrollTop}}function ft(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=G(r),s=t?qe(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=L(1),u=L(0),d=q(r);if((d||!d&&!a)&&((U(r)!==`body`||Ue(o))&&(c=tt(r)),q(r))){let e=Q(r);l=Z(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?dt(o,c):L(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 pt(e){return Array.from(e.getClientRects())}function mt(e){let t=G(e),n=tt(e),r=e.ownerDocument.body,i=P(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=P(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+ut(e),s=-n.scrollTop;return Y(r).direction===`rtl`&&(o+=P(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var ht=25;function gt(e,t){let n=W(e),r=G(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=$e();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=ut(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=ht&&(a-=o)}else l<=ht&&(a+=l);return{width:a,height:o,x:s,y:c}}var _t=new Set([`absolute`,`fixed`]);function vt(e,t){let n=Q(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=q(e)?Z(e):L(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function yt(e,t,n){let r;if(t===`viewport`)r=gt(e,n);else if(t===`document`)r=mt(G(e));else if(K(t))r=vt(t,n);else{let n=ct(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return we(r)}function bt(e,t){let n=X(e);return n===t||!K(n)||J(n)?!1:Y(n).position===`fixed`||bt(n,t)}function xt(e,t){let n=t.get(e);if(n)return n;let r=rt(e,[],!1).filter(e=>K(e)&&U(e)!==`body`),i=null,a=Y(e).position===`fixed`,o=a?X(e):e;for(;K(o)&&!J(o);){let t=Y(o),n=Ze(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&_t.has(i.position)||Ue(o)&&!n&&bt(e,o))?r=r.filter(e=>e!==o):i=t,o=X(o)}return t.set(e,r),r}function St(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?qe(t)?[]:xt(t,this._c):[].concat(n),r],o=a[0],s=a.reduce((e,n)=>{let r=yt(t,n,i);return e.top=P(r.top,e.top),e.right=N(r.right,e.right),e.bottom=N(r.bottom,e.bottom),e.left=P(r.left,e.left),e},yt(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function Ct(e){let{width:t,height:n}=at(e);return{width:t,height:n}}function wt(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=L(0);function l(){c.x=ut(i)}if(r||!r&&!a){if((U(t)!==`body`||Ue(i))&&(s=tt(t)),r){let e=Q(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l()}a&&!r&&i&&l();let u=i&&!r&&!a?dt(i,s):L(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function Tt(e){return Y(e).position===`static`}function Et(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 Dt(e,t){let n=W(e);if(qe(e))return n;if(!q(e)){let t=X(e);for(;t&&!J(t);){if(K(t)&&!Tt(t))return t;t=X(t)}return n}let r=Et(e,t);for(;r&&Ge(r)&&Tt(r);)r=Et(r,t);return r&&J(r)&&Tt(r)&&!Ze(r)?n:r||Qe(e)||n}var Ot=async function(e){let t=this.getOffsetParent||Dt,n=this.getDimensions,r=await n(e.floating);return{reference:wt(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function kt(e){return Y(e).direction===`rtl`}var At={convertOffsetParentRelativeRectToViewportRelativeRect:ft,getDocumentElement:G,getClippingRect:St,getOffsetParent:Dt,getElementRects:Ot,getClientRects:pt,getDimensions:Ct,getScale:Z,isElement:K,isRTL:kt};function jt(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Mt(e,t){let n=null,r,i=G(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let m=I(d),h=I(i.clientWidth-(u+f)),g=I(i.clientHeight-(d+p)),_=I(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:P(0,N(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!jt(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function Nt(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=ot(e),u=i||a?[...l?rt(l):[],...rt(t)]:[];
vendor: 4,267 bytes, line 1
1u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?Mt(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),p.observe(t));let m,h=c?Q(e):null;c&&g();function g(){let t=Q(e);h&&!jt(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 Pt=Fe,Ft=Ie,It=ke,Lt=Re,Rt=Me,zt=Oe,Bt=Le,Vt=(e,t,n)=>{let r=new Map,i={platform:At,...n},a={...i.platform,_c:r};return Ee(e,t,{...i,platform:a})};function Ht(e){return typeof e==`object`&&!!e&&`$el`in e}function Ut(e){if(Ht(e)){let t=e.$el;return Be(t)&&U(t)===`#comment`?null:t}return e}function $(e){return typeof e==`function`?e():o(e)}function Wt(e){return{name:`arrow`,options:e,fn(t){let n=Ut($(e.element));return n==null?{}:zt({element:n,padding:e.padding}).fn(t)}}}function Gt(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Kt(e,t){let n=Gt(e);return Math.round(t*n)/n}function qt(t,r,i){i===void 0&&(i={});let a=i.whileElementsMounted,o=c(()=>$(i.open)??!0),l=c(()=>$(i.middleware)),u=c(()=>$(i.placement)??`bottom`),d=c(()=>$(i.strategy)??`absolute`),f=c(()=>$(i.transform)??!0),p=c(()=>Ut(t.value)),m=c(()=>Ut(r.value)),h=s(0),g=s(0),v=s(d.value),y=s(u.value),b=_({}),S=s(!1),w=c(()=>{let e={position:v.value,left:`0`,top:`0`};if(!m.value)return e;let t=Kt(m.value,h.value),n=Kt(m.value,g.value);return f.value?{...e,transform:`translate(`+t+`px, `+n+`px)`,...Gt(m.value)>=1.5&&{willChange:`transform`}}:{position:v.value,left:t+`px`,top:n+`px`}}),T;function E(){if(p.value==null||m.value==null)return;let e=o.value;Vt(p.value,m.value,{middleware:l.value,placement:u.value,strategy:d.value}).then(t=>{h.value=t.x,g.value=t.y,v.value=t.strategy,y.value=t.placement,b.value=t.middlewareData,S.value=e!==!1})}function D(){typeof T==`function`&&(T(),T=void 0)}function O(){if(D(),a===void 0){E();return}if(p.value!=null&&m.value!=null){T=a(p.value,m.value,E);return}}function ee(){o.value||(S.value=!1)}return x([l,u,d,o],E,{flush:`sync`}),x([p,m],O,{flush:`sync`}),x(o,ee,{flush:`sync`}),C()&&n(D),{x:e(h),y:e(g),strategy:e(v),placement:e(y),middlewareData:e(b),isPositioned:e(S),floatingStyles:w,update:E}}i(),r(),f();var Jt=[`dir`],Yt={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},[Xt,Zt]=T(`PopperContent`),Qt=g({inheritAttrs:!1,__name:`PopperContent`,props:w({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}},{...Yt}),emits:[`placed`],setup(e,{emit:n}){let r=e,i=n,a=A(),{forwardRef:u,currentElement:f}=D(),g=ee(c(()=>r.dir)),_=s(),x=s(),{width:C,height:w}=k(x),T=c(()=>r.side+(r.align===`center`?``:`-${r.align}`)),E=c(()=>typeof r.collisionPadding==`number`?r.collisionPadding:{top:0,right:0,bottom:0,left:0,...r.collisionPadding}),j=c(()=>Array.isArray(r.collisionBoundary)?r.collisionBoundary:[r.collisionBoundary]),M=c(()=>({padding:E.value,boundary:j.value.filter(ne),altBoundary:j.value.length>0})),te=c(()=>
1({mainAxis:r.sideFlip,crossAxis:r.alignFlip})),ae=c(()=>[Pt({mainAxis:r.sideOffset+w.value,alignmentAxis:r.alignOffset}),r.prioritizePosition&&r.avoidCollisions&&It({...M.value,...te.value}),r.avoidCollisions&&Ft({mainAxis:!0,crossAxis:!!r.prioritizePosition,limiter:r.sticky===`partial`?Bt():void 0,...M.value}),!r.prioritizePosition&&r.avoidCollisions&&It({...M.value,...te.value}),Lt({...M.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&&Wt({element:x.value,padding:r.arrowPadding}),re({arrowWidth:C.value,arrowHeight:w.value,dir:g.value}),r.hideWhenDetached&&Rt({strategy:`referenceHidden`,...M.value})]),{floatingStyles:N,placement:P,isPositioned:F,middlewareData:I,update:L}=qt(c(()=>r.reference??a.anchor.value),_,{strategy:r.positionStrategy,placement:T,whileElementsMounted:(...e)=>Nt(...e,{layoutShift:!r.disableUpdateOnLayoutShift,animationFrame:r.updatePositionStrategy===`always`}),middleware:ae}),R=c(()=>ie(P.value)[0]),oe=c(()=>ie(P.value)[1]);m(()=>{F.value&&i(`placed`)});let se=c(()=>{let e=I.value.arrow?.centerOffset!==0;return r.hideShiftedArrow&&e}),z=s(``);return p(()=>{f.value&&(z.value=window.getComputedStyle(f.value).zIndex)}),Zt({placedSide:R,onArrowChange:e=>x.value=e,arrowX:c(()=>I.value.arrow?.x??0),arrowY:c(()=>I.value.arrow?.y??0),shouldHideArrow:se}),(e,n)=>(d(),t(`div`,{ref_key:`floatingRef`,ref:_,"data-reka-popper-content-wrapper":``,dir:o(g),style:y({...o(N),transform:o(F)?o(N).transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:z.value,"--reka-popper-transform-origin":[o(I).transformOrigin?.x,o(I).transformOrigin?.y].join(` `),...o(I).hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}})},[r.memoDependencies?h([r.asChild,r.as,R.value,oe.value,o(F),...Object.values(e.$attrs),...r.memoDependencies],()=>(d(),S(o(O),l({key:0,ref:o(u)},e.$attrs,{"as-child":r.asChild,as:r.as,"data-side":R.value,"data-align":oe.value,style:{animation:o(F)?void 0:`none`}}),{default:v(()=>[b(e.$slots,`default`)]),_:3},16,[`as-child`,`as`,`data-side`,`data-align`,`style`])),n,0):(d(),S(o(O),l({key:1,ref:o(u)},e.$attrs,{"as-child":r.asChild,as:r.as,"data-side":R.value,"data-align":oe.value,dir:o(g),style:{animation:o(F)?void 0:`none`}}),{default:v(()=>[b(e.$slots,`default`)]),_:3},16,[`as-child`,`as`,`data-side`,`data-align`,`dir`,`style`]))],12,Jt))}});
1export{M as a,te as i,Qt as n,Xt as r,Yt 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.