PageSourceSearch

https://www.musicbed.com/assets/floating-ui.dom-BXJxOAuO.js

js musicbed.com collected 2026-10-01 08:59:09 UTC 19,701 bytes, 5 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5b7dba31-7ef2-5d16-b642-b341e4cea351")}catch(e){}}();
3const _t=["top","right","bottom","left"],j=Math.min,C=Math.max,ot=Math.round,nt=Math.floor,k=t=>({x:t,y:t}),zt={left:"right",right:"left",bottom:"top",top:"bottom"};function dt(t,e,o){return C(t,j(e,o))}function V(t,e){return typeof t=="function"?t(e):t}function $(t){return t.split("-")[0]}function Q(t){return t.split("-")[1]}function gt(t){return t==="x"?"y":"x"}function pt(t){return t==="y"?"height":"width"}function W(t){const e=t[0];return e==="t"||e==="b"?"y":"x"}function wt(t){return gt(W(t))}function It(t,e,o){o===void 0&&(o=!1);const n=Q(t),i=wt(t),r=pt(i);let s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=it(s)),[s,it(s)]}function Xt(t){const e=it(t);return[mt(t),e,mt(e)]}function mt(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const bt=["left","right"],At=["right","left"],jt=["top","bottom"],Yt=["bottom","top"];function qt(t,e,o){switch(t){case"top":case"bottom":return o?e?At:bt:e?bt:At;case"left":case"right":return e?jt:Yt;default:return[]}}function Ut(t,e,o,n){const i=Q(t);let r=qt($(t),o==="start",n);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(mt)))),r}function it(t){const e=$(t);return zt[e]+t.slice(e.length)}function Kt(t){return{top:0,right:0,bottom:0,left:0,...t}}function Dt(t){return typeof t!="number"?Kt(t):{top:t,right:t,bottom:t,left:t}}function st(t){const{x:e,y:o,width:n,height:i}=t;return{width:n,height:i,top:o,left:e,right:e+n,bottom:o+i,x:e,y:o}}function Ot(t,e,o){let{reference:n,floating:i}=t;const r=W(e),s=wt(e),c=pt(s),a=$(e),d=r==="y",f=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2;let l;switch(a){case"top":l={x:f,y:n.y-i.height};break;case"bottom":l={x:f,y:n.y+n.height};break;case"right":l={x:n.x+n.width,y:u};break;case"left":l={x:n.x-i.width,y:u};break;default:l={x:n.x,y:n.y}}switch(Q(e)){case"start":l[s]-=m*(o&&d?-1:1);break;case"end":l[s]+=m*(o&&d?-1:1);break}return l}async function Gt(t,e){var o;e===void 0&&(e={});const{x:n,y:i,platform:r,rects:s,elements:c,strategy:a}=t,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:m=!1,padding:l=0}=V(e,t),h=Dt(l),w=c[m?u==="floating"?"reference":"floating":u],p=st(await r.getClippingRect({element:(o=await(r.isElement==null?void 0:r.isElement(w)))==null||o?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:d,rootBoundary:f,strategy:a})),y=u==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,x=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),v=await(r.isElement==null?void 0:r.isElement(x))?await(r.getScale==null?void 0:r.getScale(x))||{x:1,y:1}:{x:1,y:1},b=st(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:y,offsetParent:x,strategy:a}):y);return{top:(p.top-b.top+h.top)/v.y,bottom:(b.bottom-p.bottom+h.bottom)/v.y,left:(p.left-b.left+h.left)/v.x,right:(b.right-p.right+h.right)/v.x}}const Jt=50,Qt=async(t,e,o)=>{const{placement:n="bottom",strategy:i="absolute",middleware:r=[],platform:s}=o,c=s.detectOverflow?s:{...s,detectOverflow:Gt},a=await(s.isRTL==null?void 0:s.isRTL(e));let d=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=Ot(d,n,a),m=n,l=0;const h={};for(let g=0;g<r.length;g++){const w=r[g];if(!w)continue;const{name:p,fn:y}=w,{x,y:v,data:b,reset:A}=await y({x:f,y:u,initialPlacement:n,placement:m,strategy:i,middlewareData:h,rects:d,platform:c,elements:{reference:t,floating:e}});f=x??f,u=v??u,h[p]={...h[p],...b},A&&l<Jt&&(l++,typeof A=="object"&&(A.placement&&(m=A.placement),A.rects&&(d=A.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):A.rects),{x:f,y:u}=Ot(d,m,a)),g=-1)}return{x:f,y:u,placement:m,strategy:i,middlewareData:h}},Zt=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:n,placement:i,rects:r,platform:s,elements:c,middlewareData:a}=e,{element:d,padding:f=0}=V(t,e)||{};if(d==null)return{};const u=Dt(f),m={x:o,y:n},l=wt(i),h=pt(l),g=await s.getDimensions(d),w=l==="y",p=w?"top":"left",y=w?"bottom":"right",x=w?"clientHeight":"clientWidth",v=r.reference[h]+r.reference[l]-m[l]-r.floating[h],b=m[l]-r.reference[l],A=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let O=A?A[x]:0;(!O||!await(s.isElement==null?void 0:s.isElement(A)))&&(O=c.floating[x]||r.floating[h]);const B=v/2-b/2,M=O/2-g[h]/2-1,L=j(u[p],M),z=j(u[y],M),F=L,I=O-g[h]-z,R=O/2-g[h]/2+B,q=dt(F,R,I),H=!a.arrow&&Q(i)!=null&&R!==q&&r.reference[h]/2-(R<F?L:z)-g[h]/2<0,E=H?R<F?R-F:R-I:0;return{[l]:m[l]+E,data:{[l]:q,centerOffset:R-q-E,...H&&{alignmentOffset:E}},reset:H}}}),te=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var o,n;const{placement:i,middlewareData:r,rects:s,initialPlacement:c,platform:a,elements:d}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:m,fallbackStrategy:l="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...w}=V(t,e);if((o=r.arrow)!=null&&o.alignmentOffset)return{};const p=$(i),y=W(c),x=$(c)===c,v=await(a.isRTL==null?void 0:a.isRTL(d.floating)),b=m||(x||!g?[it(c)]:Xt(c)),A=h!=="none";
vendor: 4,590 bytes, line 3
3!m&&A&&b.push(...Ut(c,g,h,v));const O=[c,...b],B=await a.detectOverflow(e,w),M=[];let L=((n=r.flip)==null?void 0:n.overflows)||[];if(f&&M.push(B[p]),u){const R=It(i,s,v);M.push(B[R[0]],B[R[1]])}if(L=[...L,{placement:i,overflows:M}],!M.every(R=>R<=0)){var z,F;const R=(((z=r.flip)==null?void 0:z.index)||0)+1,q=O[R];if(q&&(!(u==="alignment"?y!==W(q):!1)||L.every(T=>W(T.placement)===y?T.overflows[0]>0:!0)))return{data:{index:R,overflows:L},reset:{placement:q}};let H=(F=L.filter(E=>E.overflows[0]<=0).sort((E,T)=>E.overflows[1]-T.overflows[1])[0])==null?void 0:F.placement;if(!H)switch(l){case"bestFit":{var I;const E=(I=L.filter(T=>{if(A){const X=W(T.placement);return X===y||X==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(X=>X>0).reduce((X,$t)=>X+$t,0)]).sort((T,X)=>T[1]-X[1])[0])==null?void 0:I[0];E&&(H=E);break}case"initialPlacement":H=c;break}if(i!==H)return{reset:{placement:H}}}return{}}}};function Rt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Ct(t){return _t.some(e=>t[e]>=0)}const ee=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:o,platform:n}=e,{strategy:i="referenceHidden",...r}=V(t,e);switch(i){case"referenceHidden":{const s=await n.detectOverflow(e,{...r,elementContext:"reference"}),c=Rt(s,o.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:Ct(c)}}}case"escaped":{const s=await n.detectOverflow(e,{...r,altBoundary:!0}),c=Rt(s,o.floating);return{data:{escapedOffsets:c,escaped:Ct(c)}}}default:return{}}}}},Pt=new Set(["left","top"]);async function ne(t,e){const{placement:o,platform:n,elements:i}=t,r=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=$(o),c=Q(o),a=W(o)==="y",d=Pt.has(s)?-1:1,f=r&&a?-1:1,u=V(e,t);let{mainAxis:m,crossAxis:l,alignmentAxis:h}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof h=="number"&&(l=c==="end"?h*-1:h),a?{x:l*f,y:m*d}:{x:m*d,y:l*f}}const oe=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,n;const{x:i,y:r,placement:s,middlewareData:c}=e,a=await ne(e,t);return s===((o=c.offset)==null?void 0:o.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+a.x,y:r+a.y,data:{...a,placement:s}}}}},ie=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:n,placement:i,platform:r}=e,{mainAxis:s=!0,crossAxis:c=!1,limiter:a={fn:p=>{let{x:y,y:x}=p;return{x:y,y:x}}},...d}=V(t,e),f={x:o,y:n},u=await r.detectOverflow(e,d),m=W($(i)),l=gt(m);let h=f[l],g=f[m];if(s){const p=l==="y"?"top":"left",y=l==="y"?"bottom":"right",x=h+u[p],v=h-u[y];h=dt(x,h,v)}if(c){const p=m==="y"?"top":"left",y=m==="y"?"bottom":"right",x=g+u[p],v=g-u[y];g=dt(x,g,v)}const w=a.fn({...e,[l]:h,[m]:g});return{...w,data:{x:w.x-o,y:w.y-n,enabled:{[l]:s,[m]:c}}}}}},se=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:o,y:n,placement:i,rects:r,middlewareData:s}=e,{offset:c=0,mainAxis:a=!0,crossAxis:d=!0}=V(t,e),f={x:o,y:n},u=W(i),m=gt(u);let l=f[m],h=f[u];const g=V(c,e),w=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(a){const x=m==="y"?"height":"width",v=r.reference[m]-r.floating[x]+w.mainAxis,b=r.reference[m]+r.reference[x]-w.mainAxis;l<v?l=v:l>b&&(l=b)}if(d){var p,y;const x=m==="y"?"width":"height",v=Pt.has($(i)),b=r.reference[u]-r.floating[x]+(v&&((p=s.offset)==null?void 0:p[u])||0)+(v?0:w.crossAxis),A=r.reference[u]+r.reference[x]+(v?0:((y=s.offset)==null?void 0:y[u])||0)-(v?w.crossAxis:0);h<b?h=b:h>A&&(h=A)}return{[m]:l,[u]:h}}}},re=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var o,n;const{placement:i,rects:r,platform:s,elements:c}=e,{apply:a=()=>{},...d}=V(t,e),f=await s.detectOverflow(e,d),u=$(i),m=Q(i),l=W(i)==="y",{width:h,height:g}=r.floating;let w,p;u==="top"||u==="bottom"?(w=u,p=m===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(p=u,w=m==="end"?"top":"bottom");const y=g-f.top-f.bottom,x=h-f.left-f.right,v=j(g-f[w],y),b=j(h-f[p],x),A=!e.middlewareData.shift;let O=v,B=b;if((o=e.middlewareData.shift)!=null&&o.enabled.x&&(B=x),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(O=y),A&&!m){const L=C(f.left,0),z=C(f.right,0),F=C(f.top,0),I=C(f.bottom,0);l?B=h-2*(L!==0||z!==0?L+z:C(f.left,f.right)):O=g-2*(F!==0||I!==0?F+I:C(f.top,f.bottom))}await a({...e,availableWidth:B,availableHeight:O});const M=await s.getDimensions(c.floating);return h!==M.width||g!==M.height?{reset:{rects:!0}}:{}}}};function rt(){return typeof window<"u"}
3function Z(t){return Mt(t)?(t.nodeName||"").toLowerCase():"#document"}function S(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function N(t){var e;return(e=(Mt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Mt(t){return rt()?t instanceof Node||t instanceof S(t).Node:!1}function D(t){return rt()?t instanceof Element||t instanceof S(t).Element:!1}function _(t){return rt()?t instanceof HTMLElement||t instanceof S(t).HTMLElement:!1}function St(t){return!rt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof S(t).ShadowRoot}function et(t){const{overflow:e,overflowX:o,overflowY:n,display:i}=P(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&i!=="inline"&&i!=="contents"}function ce(t){return/^(table|td|th)$/.test(Z(t))}function ct(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}const le=/transform|translate|scale|rotate|perspective|filter/,fe=/paint|layout|strict|content/,U=t=>!!t&&t!=="none";let at;function xt(t){const e=D(t)?P(t):t;return U(e.transform)||U(e.translate)||U(e.scale)||U(e.rotate)||U(e.perspective)||!yt()&&(U(e.backdropFilter)||U(e.filter))||le.test(e.willChange||"")||fe.test(e.contain||"")}function ae(t){let e=Y(t);for(;_(e)&&!J(e);){if(xt(e))return e;if(ct(e))return null;e=Y(e)}return null}function yt(){return at==null&&(at=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),at}function J(t){return/^(html|body|#document)$/.test(Z(t))}function P(t){return S(t).getComputedStyle(t)}function lt(t){return D(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Y(t){if(Z(t)==="html")return t;const e=t.assignedSlot||t.parentNode||St(t)&&t.host||N(t);return St(e)?e.host:e}function Ft(t){const e=Y(t);return J(e)?t.ownerDocument?t.ownerDocument.body:t.body:_(e)&&et(e)?e:Ft(e)}function tt(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);const i=Ft(t),r=i===((n=t.ownerDocument)==null?void 0:n.body),s=S(i);if(r){const c=ht(s);return e.concat(s,s.visualViewport||[],et(i)?i:[],c&&o?tt(c):[])}else return e.concat(i,tt(i,[],o))}function ht(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Wt(t){const e=P(t);let o=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=_(t),r=i?t.offsetWidth:o,s=i?t.offsetHeight:n,c=ot(o)!==r||ot(n)!==s;return c&&(o=r,n=s),{width:o,height:n,$:c}}function vt(t){return D(t)?t:t.contextElement}function G(t){const e=vt(t);if(!_(e))return k(1);const o=e.getBoundingClientRect(),{width:n,height:i,$:r}=Wt(e);let s=(r?ot(o.width):o.width)/n,c=(r?ot(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const ue=k(0);function kt(t){const e=S(t);
vendor: 5,131 bytes, line 3
3return!yt()||!e.visualViewport?ue:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function de(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==S(t)?!1:e}function K(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);const i=t.getBoundingClientRect(),r=vt(t);let s=k(1);e&&(n?D(n)&&(s=G(n)):s=G(t));const c=de(r,o,n)?kt(r):k(0);let a=(i.left+c.x)/s.x,d=(i.top+c.y)/s.y,f=i.width/s.x,u=i.height/s.y;if(r){const m=S(r),l=n&&D(n)?S(n):n;let h=m,g=ht(h);for(;g&&n&&l!==h;){const w=G(g),p=g.getBoundingClientRect(),y=P(g),x=p.left+(g.clientLeft+parseFloat(y.paddingLeft))*w.x,v=p.top+(g.clientTop+parseFloat(y.paddingTop))*w.y;a*=w.x,d*=w.y,f*=w.x,u*=w.y,a+=x,d+=v,h=S(g),g=ht(h)}}return st({width:f,height:u,x:a,y:d})}function ft(t,e){const o=lt(t).scrollLeft;return e?e.left+o:K(N(t)).left+o}function Nt(t,e){const o=t.getBoundingClientRect(),n=o.left+e.scrollLeft-ft(t,o),i=o.top+e.scrollTop;return{x:n,y:i}}function me(t){let{elements:e,rect:o,offsetParent:n,strategy:i}=t;const r=i==="fixed",s=N(n),c=e?ct(e.floating):!1;if(n===s||c&&r)return o;let a={scrollLeft:0,scrollTop:0},d=k(1);const f=k(0),u=_(n);if((u||!u&&!r)&&((Z(n)!=="body"||et(s))&&(a=lt(n)),u)){const l=K(n);d=G(n),f.x=l.x+n.clientLeft,f.y=l.y+n.clientTop}const m=s&&!u&&!r?Nt(s,a):k(0);return{width:o.width*d.x,height:o.height*d.y,x:o.x*d.x-a.scrollLeft*d.x+f.x+m.x,y:o.y*d.y-a.scrollTop*d.y+f.y+m.y}}function he(t){return Array.from(t.getClientRects())}function ge(t){const e=N(t),o=lt(t),n=t.ownerDocument.body,i=C(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),r=C(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let s=-o.scrollLeft+ft(t);const c=-o.scrollTop;return P(n).direction==="rtl"&&(s+=C(e.clientWidth,n.clientWidth)-i),{width:i,height:r,x:s,y:c}}const Lt=25;function pe(t,e){const o=S(t),n=N(t),i=o.visualViewport;let r=n.clientWidth,s=n.clientHeight,c=0,a=0;if(i){r=i.width,s=i.height;const f=yt();(!f||f&&e==="fixed")&&(c=i.offsetLeft,a=i.offsetTop)}const d=ft(n);if(d<=0){const f=n.ownerDocument,u=f.body,m=getComputedStyle(u),l=f.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,h=Math.abs(n.clientWidth-u.clientWidth-l);h<=Lt&&(r-=h)}else d<=Lt&&(r+=d);return{width:r,height:s,x:c,y:a}}function we(t,e){const o=K(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,r=_(t)?G(t):k(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,a=i*r.x,d=n*r.y;return{width:s,height:c,x:a,y:d}}function Et(t,e,o){let n;if(e==="viewport")n=pe(t,o);else if(e==="document")n=ge(N(t));else if(D(e))n=we(e,o);else{const i=kt(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return st(n)}function Bt(t,e){const o=Y(t);return o===e||!D(o)||J(o)?!1:P(o).position==="fixed"||Bt(o,e)}function xe(t,e){const o=e.get(t);if(o)return o;let n=tt(t,[],!1).filter(c=>D(c)&&Z(c)!=="body"),i=null;const r=P(t).position==="fixed";let s=r?Y(t):t;for(;D(s)&&!J(s);){const c=P(s),a=xt(s);!a&&c.position==="fixed"&&(i=null),(r?!a&&!i:!a&&c.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||et(s)&&!a&&Bt(t,s))?n=n.filter(f=>f!==s):i=c,s=Y(s)}return e.set(t,n),n}function ye(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t;const s=[...o==="clippingAncestors"?ct(e)?[]:xe(e,this._c):[].concat(o),n],c=Et(e,s[0],i);let a=c.top,d=c.right,f=c.bottom,u=c.left;for(let m=1;m<s.length;m++){const l=Et(e,s[m],i);a=C(l.top,a),d=j(l.right,d),f=j(l.bottom,f),u=C(l.left,u)}return{width:d-u,height:f-a,x:u,y:a}}function ve(t){const{width:e,height:o}=Wt(t);return{width:e,height:o}}function be(t,e,o){const n=_(e),i=N(e),r=o==="fixed",s=K(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const a=k(0);function d(){a.x=ft(i)}if(n||!n&&!r)if((Z(e)!=="body"||et(i))&&(c=lt(e)),n){const l=K(e,!0,r,e);a.x=l.x+e.clientLeft,a.y=l.y+e.clientTop}else i&&d();r&&!n&&i&&d();const f=i&&!n&&!r?Nt(i,c):k(0),u=s.left+c.scrollLeft-a.x-f.x,m=s.top+c.scrollTop-a.y-f.y;return{x:u,y:m,width:s.width,height:s.height}}function ut(t){return P(t).position==="static"}function Tt(t,e){if(!_(t)||P(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return N(t)===o&&(o=o.ownerDocument.body),o}function Ht(t,e){const o=S(t);if(ct(t))return o;if(!_(t)){let i=Y(t);for(;i&&!J(i);){if(D(i)&&!ut(i))return i;i=Y(i)}return o}let n=Tt(t,e);for(;n&&ce(n)&&ut(n);)n=Tt(n,e);return n&&J(n)&&ut(n)&&!xt(n)?o:n||ae(t)||o}const Ae=async function(t){const e=this.getOffsetParent||Ht,o=this.getDimensions,n=await o(t.floating);return{reference:be(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Oe(t){return P(t).direction==="rtl"}const Re={convertOffsetParentRelativeRectToViewportRelativeRect:me,getDocumentElement:N,getClippingRect:ye,getOffsetParent:Ht,getElementRects:Ae,getClientRects:he,getDimensions:ve,getScale:G,isElement:D,isRTL:Oe};function Vt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Ce(t,e){let o=null,n;const i=N(t);function r(){var c;clearTimeout(n),(c=o)==null||c.disconnect(),o=null}function s(c,a){c===void 0&&(c=!1),a===void 0&&(a=1),r();const d=t.getBoundingClientRect(),{left:f,top:u,width:m,height:l}=d;
3if(c||e(),!m||!l)return;const h=nt(u),g=nt(i.clientWidth-(f+m)),w=nt(i.clientHeight-(u+l)),p=nt(f),x={rootMargin:-h+"px "+-g+"px "+-w+"px "+-p+"px",threshold:C(0,j(1,a))||1};let v=!0;function b(A){const O=A[0].intersectionRatio;if(O!==a){if(!v)return s();O?s(!1,O):n=setTimeout(()=>{s(!1,1e-7)},1e3)}O===1&&!Vt(d,t.getBoundingClientRect())&&s(),v=!1}try{o=new IntersectionObserver(b,{...x,root:i.ownerDocument})}catch{o=new IntersectionObserver(b,x)}o.observe(t)}return s(!0),r}function Se(t,e,o,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:a=!1}=n,d=vt(t),f=i||r?[...d?tt(d):[],...e?tt(e):[]]:[];f.forEach(p=>{i&&p.addEventListener("scroll",o,{passive:!0}),r&&p.addEventListener("resize",o)});const u=d&&c?Ce(d,o):null;let m=-1,l=null;s&&(l=new ResizeObserver(p=>{let[y]=p;y&&y.target===d&&l&&e&&(l.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var x;(x=l)==null||x.observe(e)})),o()}),d&&!a&&l.observe(d),e&&l.observe(e));let h,g=a?K(t):null;a&&w();function w(){const p=K(t);g&&!Vt(g,p)&&o(),g=p,h=requestAnimationFrame(w)}return o(),()=>{var p;f.forEach(y=>{i&&y.removeEventListener("scroll",o),r&&y.removeEventListener("resize",o)}),u==null||u(),(p=l)==null||p.disconnect(),l=null,a&&cancelAnimationFrame(h)}}const Le=oe,Ee=ie,Te=te,De=re,Pe=ee,Me=Zt,Fe=se,We=(t,e,o)=>{const n=new Map,i={platform:Re,...o},r={...i.platform,_c:n};return Qt(t,e,{...i,platform:r})};export{Se as a,Me as b,We as c,De as d,Te as f,Pe as h,Fe as l,Le as o,Ee as s};
4
5//# debugId=5b7dba31-7ef2-5d16-b642-b341e4cea351

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.