1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,853660,t=>{"use strict";var e=t.i(271645);let n=["top","right","bottom","left"],r=Math.min,i=Math.max,o=Math.round,l=Math.floor,a=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function c(t,e){return"function"==typeof t?t(e):t}function u(t){return t.split("-")[0]}function d(t){return t.split("-")[1]}function p(t){return"x"===t?"y":"x"}function h(t){return"y"===t?"height":"width"}let m=new Set(["top","bottom"]);function g(t){return m.has(u(t))?"y":"x"}function y(t){return t.replace(/start|end/g,t=>s[t])}let w=["left","right"],x=["right","left"],v=["top","bottom"],b=["bottom","top"];function R(t){return t.replace(/left|right|bottom|top/g,t=>f[t])}function A(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function S(t){let{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}function C(t,e,n){let r,{reference:i,floating:o}=t,l=g(e),a=p(g(e)),f=h(a),s=u(e),c="y"===l,m=i.x+i.width/2-o.width/2,y=i.y+i.height/2-o.height/2,w=i[f]/2-o[f]/2;switch(s){case"top":r={x:m,y:i.y-o.height};break;case"bottom":r={x:m,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:y};break;case"left":r={x:i.x-o.width,y:y};break;default:r={x:i.x,y:i.y}}switch(d(e)){case"start":r[a]-=w*(n&&c?-1:1);break;case"end":r[a]+=w*(n&&c?-1:1)}return r}let T=async(t,e,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=o.filter(Boolean),f=await (null==l.isRTL?void 0:l.isRTL(e)),s=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:c,y:u}=C(s,r,f),d=r,p={},h=0;for(let n=0;n<a.length;n++){let{name:o,fn:m}=a[n],{x:g,y:y,data:w,reset:x}=await m({x:c,y:u,initialPlacement:r,placement:d,strategy:i,middlewareData:p,rects:s,platform:l,elements:{reference:t,floating:e}});c=null!=g?g:c,u=null!=y?y:u,p={...p,[o]:{...p[o],...w}},x&&h<=50&&(h++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):x.rects),{x:c,y:u}=C(s,d,f)),n=-1)}return{x:c,y:u,placement:d,strategy:i,middlewareData:p}};async function L(t,e){var n;void 0===e&&(e={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:f}=t,{boundary:s="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=c(e,t),m=A(h),g=a[p?"floating"===d?"reference":"floating":d],y=S(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:s,rootBoundary:u,strategy:f})),w="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,x=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),v=await (null==o.isElement?void 0:o.isElement(x))&&await (null==o.getScale?void 0:o.getScale(x))||{x:1,y:1},b=S(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:w,offsetParent:x,strategy:f}):w);return{top:(y.top-b.top+m.top)/v.y,bottom:(b.bottom-y.bottom+m.bottom)/v.y,left:(y.left-b.left+m.left)/v.x,right:(b.right-y.right+m.right)/v.x}}function P(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function E(t){return n.some(e=>t[e]>=0)}let O=new Set(["left","top"]);async function D(t,e){let{placement:n,platform:r,elements:i}=t,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=u(n),a=d(n),f="y"===g(n),s=O.has(l)?-1:1,p=o&&f?-1:1,h=c(e,t),{mainAxis:m,crossAxis:y,alignmentAxis:w}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&"number"==typeof w&&(y="end"===a?-1*w:w),f?{x:y*p,y:m*s}:{x:m*s,y:y*p}}function H(){return"undefined"!=typeof window}function k(t){return M(t)?(t.nodeName||"").toLowerCase():"#document"}function F(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function j(t){var e;return null==(e=(M(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function M(t){return!!H()&&(t instanceof Node||t instanceof F(t).Node)}function W(t){return!!H()&&(t instanceof Element||t instanceof F(t).Element)}function $(t){return!!H()&&(t instanceof HTMLElement||t instanceof F(t).HTMLElement)}function B(t){return!!H()&&"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof F(t).ShadowRoot)}let N=new Set(["inline","contents"]);function V(t){let{overflow:e,overflowX:n,overflowY:r,display:i}=Q(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!N.has(i)}let z=new Set(["table","td","th"]),I=[":popover-open",":modal"];function Y(t){return I.some(e=>{try{return t.matches(e)}catch(t){return!1}})}let _=["transform","translate","scale","rotate","perspective"],X=["transform","translate","scale","rotate","perspective","filter"],q=["paint","layout","strict","content"];function K(t){let e=U(),n=W(t)?Q(t):t;return _.some(t=>!!n[t]&&"none"!==n[t])||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||X.some(t=>(n.willChange||"").includes(t))||q.some(t=>(n.contain||"").includes(t))}function U(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let G=new Set(["html","body","#document"]);function J(t){return G.has(k(t))}function Q(t){return F(t).getComputedStyle(t)}function Z(t){return W(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function tt(t){if("html"===k(t))return t;let e=t.assignedSlot||t.parentNode||B(t)&&t.host||j(t);return B(e)?e.host:e}function te(t,e,n){var r;void 0===e&&(e=[]),void 0===n&&(n=!0);let i=function t(e){let n=tt(e);return J(n)?e.ownerDocument?e.ownerDocument.body:e.body:$(n)&&V(n)?n:t(n)}(t),o=i===(null==(r=t.ownerDocument)?void 0:r.body),l=F(i);if(o){let t=tn(l);
1return e.concat(l,l.visualViewport||[],V(i)?i:[],t&&n?te(t):[])}return e.concat(i,te(i,[],n))}function tn(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function tr(t){let e=Q(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,i=$(t),l=i?t.offsetWidth:n,a=i?t.offsetHeight:r,f=o(n)!==l||o(r)!==a;return f&&(n=l,r=a),{width:n,height:r,$:f}}function ti(t){return W(t)?t:t.contextElement}function to(t){let e=ti(t);if(!$(e))return a(1);let n=e.getBoundingClientRect(),{width:r,height:i,$:l}=tr(e),f=(l?o(n.width):n.width)/r,s=(l?o(n.height):n.height)/i;return f&&Number.isFinite(f)||(f=1),s&&Number.isFinite(s)||(s=1),{x:f,y:s}}let tl=a(0);function ta(t){let e=F(t);return U()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:tl}function tf(t,e,n,r){var i;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),l=ti(t),f=a(1);e&&(r?W(r)&&(f=to(r)):f=to(t));let s=(void 0===(i=n)&&(i=!1),r&&(!i||r===F(l))&&i)?ta(l):a(0),c=(o.left+s.x)/f.x,u=(o.top+s.y)/f.y,d=o.width/f.x,p=o.height/f.y;if(l){let t=F(l),e=r&&W(r)?F(r):r,n=t,i=tn(n);for(;i&&r&&e!==n;){let t=to(i),e=i.getBoundingClientRect(),r=Q(i),o=e.left+(i.clientLeft+parseFloat(r.paddingLeft))*t.x,l=e.top+(i.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,u*=t.y,d*=t.x,p*=t.y,c+=o,u+=l,i=tn(n=F(i))}}return S({width:d,height:p,x:c,y:u})}function ts(t,e){let n=Z(t).scrollLeft;return e?e.left+n:tf(j(t)).left+n}function tc(t,e){let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-ts(t,n),y:n.top+e.scrollTop}}let tu=new Set(["absolute","fixed"]);function td(t,e,n){var r;let o;if("viewport"===e)o=function(t,e){let n=F(t),r=j(t),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,f=0;if(i){o=i.width,l=i.height;let t=U();(!t||t&&"fixed"===e)&&(a=i.offsetLeft,f=i.offsetTop)}let s=ts(r);if(s<=0){let t=r.ownerDocument,e=t.body,n=getComputedStyle(e),i="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-e.clientWidth-i);l<=25&&(o-=l)}else s<=25&&(o+=s);return{width:o,height:l,x:a,y:f}}(t,n);else if("document"===e){let e,n,l,a,f,s,c;r=j(t),e=j(r),n=Z(r),l=r.ownerDocument.body,a=i(e.scrollWidth,e.clientWidth,l.scrollWidth,l.clientWidth),f=i(e.scrollHeight,e.clientHeight,l.scrollHeight,l.clientHeight),s=-n.scrollLeft+ts(r),c=-n.scrollTop,"rtl"===Q(l).direction&&(s+=i(e.clientWidth,l.clientWidth)-a),o={width:a,height:f,x:s,y:c}}else if(W(e)){let t,r,i,l,f,s;r=(t=tf(e,!0,"fixed"===n)).top+e.clientTop,i=t.left+e.clientLeft,l=$(e)?to(e):a(1),f=e.clientWidth*l.x,s=e.clientHeight*l.y,o={width:f,height:s,x:i*l.x,y:r*l.y}}else{let n=ta(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return S(o)}function tp(t){return"static"===Q(t).position}function th(t,e){if(!$(t)||"fixed"===Q(t).position)return null;if(e)return e(t);let n=t.offsetParent;return j(t)===n&&(n=n.ownerDocument.body),n}function tm(t,e){var n;let r=F(t);if(Y(t))return r;if(!$(t)){let e=tt(t);for(;e&&!J(e);){if(W(e)&&!tp(e))return e;e=tt(e)}return r}let i=th(t,e);for(;i&&(n=i,z.has(k(n)))&&tp(i);)i=th(i,e);return i&&J(i)&&tp(i)&&!K(i)?r:i||function(t){let e=tt(t);for(;$(e)&&!J(e);){if(K(e))return e;if(Y(e))break;e=tt(e)}return null}(t)||r}let tg=async function(t){let e=this.getOffsetParent||tm,n=this.getDimensions,r=await n(t.floating);return{reference:function(t,e,n){let r=$(e),i=j(e),o="fixed"===n,l=tf(t,!0,o,e),f={scrollLeft:0,scrollTop:0},s=a(0);if(r||!r&&!o)if(("body"!==k(e)||V(i))&&(f=Z(e)),r){let t=tf(e,!0,o,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else i&&(s.x=ts(i));o&&!r&&i&&(s.x=ts(i));let c=!i||r||o?a(0):tc(i,f);return{x:l.left+f.scrollLeft-s.x-c.x,y:l.top+f.scrollTop-s.y-c.y,width:l.width,height:l.height}}(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ty={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t,o="fixed"===i,l=j(r),f=!!e&&Y(e.floating);if(r===l||f&&o)return n;let s={scrollLeft:0,scrollTop:0},c=a(1),u=a(0),d=$(r);if((d||!d&&!o)&&(("body"!==k(r)||V(l))&&(s=Z(r)),$(r))){let t=tf(r);c=to(r),u.x=t.x+r.clientLeft,u.y=t.y+r.clientTop}
1let p=!l||d||o?a(0):tc(l,s);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+u.x+p.x,y:n.y*c.y-s.scrollTop*c.y+u.y+p.y}},getDocumentElement:j,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:l}=t,a=[..."clippingAncestors"===n?Y(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=te(t,[],!1).filter(t=>W(t)&&"body"!==k(t)),i=null,o="fixed"===Q(t).position,l=o?tt(t):t;for(;W(l)&&!J(l);){let e=Q(l),n=K(l);n||"fixed"!==e.position||(i=null),(o?!n&&!i:!n&&"static"===e.position&&!!i&&tu.has(i.position)||V(l)&&!n&&function t(e,n){let r=tt(e);return!(r===n||!W(r)||J(r))&&("fixed"===Q(r).position||t(r,n))}(t,l))?r=r.filter(t=>t!==l):i=e,l=tt(l)}return e.set(t,r),r}(e,this._c):[].concat(n),o],f=a[0],s=a.reduce((t,n)=>{let o=td(e,n,l);return t.top=i(o.top,t.top),t.right=r(o.right,t.right),t.bottom=r(o.bottom,t.bottom),t.left=i(o.left,t.left),t},td(e,f,l));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:tm,getElementRects:tg,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=tr(t);return{width:e,height:n}},getScale:to,isElement:W,isRTL:function(t){return"rtl"===Q(t).direction}};function tw(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}let tx=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:o,placement:l,rects:a,platform:f,elements:s,middlewareData:u}=e,{element:m,padding:y=0}=c(t,e)||{};if(null==m)return{};let w=A(y),x={x:n,y:o},v=p(g(l)),b=h(v),R=await f.getDimensions(m),S="y"===v,C=S?"clientHeight":"clientWidth",T=a.reference[b]+a.reference[v]-x[v]-a.floating[b],L=x[v]-a.reference[v],P=await (null==f.getOffsetParent?void 0:f.getOffsetParent(m)),E=P?P[C]:0;E&&await (null==f.isElement?void 0:f.isElement(P))||(E=s.floating[C]||a.floating[b]);let O=E/2-R[b]/2-1,D=r(w[S?"top":"left"],O),H=r(w[S?"bottom":"right"],O),k=E-R[b]-H,F=E/2-R[b]/2+(T/2-L/2),j=i(D,r(F,k)),M=!u.arrow&&null!=d(l)&&F!==j&&a.reference[b]/2-(F<D?D:H)-R[b]/2<0,W=M?F<D?F-D:F-k:0;return{[v]:x[v]+W,data:{[v]:j,centerOffset:F-j-W,...M&&{alignmentOffset:W}},reset:M}}});var tv=t.i(174080),tb="undefined"!=typeof document?e.useLayoutEffect:function(){};function tR(t,e){let n,r,i;if(t===e)return!0;if(typeof t!=typeof e)return!1;if("function"==typeof t&&t.toString()===e.toString())return!0;if(t&&e&&"object"==typeof t){if(Array.isArray(t)){if((n=t.length)!==e.length)return!1;for(r=n;0!=r--;)if(!tR(t[r],e[r]))return!1;return!0}if((n=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(e,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!t.$$typeof)&&!tR(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}function tA(t){return"undefined"==typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function tS(t,e){let n=tA(t);return Math.round(e*n)/n}function tC(t){let n=e.useRef(t);return tb(()=>{n.current=t}),n}var tT=t.i(248425),tL=t.i(843476),tP=e.forwardRef((t,e)=>{let{children:n,width:r=10,height:i=5,...o}=t;return(0,tL.jsx)(tT.Primitive.svg,{...o,ref:e,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:(0,tL.jsx)("polygon",{points:"0,0 30,0 15,10"})})});tP.displayName="Arrow";var tE=t.i(820783),tO=t.i(30030),tD=t.i(30207),tH=t.i(934620),tk=t.i(635804),tF="Popper",[tj,tM]=(0,tO.createContextScope)(tF),[tW,t$]=tj(tF),tB=t=>{let{__scopePopper:n,children:r}=t,[i,o]=e.useState(null);return(0,tL.jsx)(tW,{scope:n,anchor:i,onAnchorChange:o,children:r})};tB.displayName=tF;var tN="PopperAnchor",tV=e.forwardRef((t,n)=>{let{__scopePopper:r,virtualRef:i,...o}=t,l=t$(tN,r),a=e.useRef(null),f=(0,tE.useComposedRefs)(n,a),s=e.useRef(null);return e.useEffect(()=>{let t=s.current;s.current=i?.current||a.current,t!==s.current&&l.onAnchorChange(s.current)}),i?null:(0,tL.jsx)(tT.Primitive.div,{...o,ref:f})});tV.displayName=tN;var tz="PopperContent",[tI,tY]=tj(tz),t_=e.forwardRef((t,n)=>{var o,a,f,s,m,A,S,C,H,k,F,M,W;let{__scopePopper:$,side:B="bottom",sideOffset:N=0,align:V="center",alignOffset:z=0,arrowPadding:I=0,avoidCollisions:Y=!0,collisionBoundary:_=[],collisionPadding:X=0,sticky:q="partial",hideWhenDetached:K=!1,updatePositionStrategy:U="optimized",onPlaced:G,...J}=t,Q=t$(tz,$),[Z,tt]=e.useState(null),tn=(0,tE.useComposedRefs)(n,t=>tt(t)),[tr,to]=e.useState(null),tl=(0,tk.useSize)(tr),ta=tl?.width??0,ts=tl?.height??0,tc="number"==typeof X?X:{top:0,right:0,bottom:0,left:0,...X},tu=Array.isArray(_)?_:[_],td=tu.length>0,tp={padding:tc,boundary:tu.filter(tU),altBoundary:td},{refs:th,floatingStyles:tm,placement:tg,isPositioned:tP,middlewareData:tO}=function(t){void 0===t&&(t={});let{placement:n="bottom",strategy:r="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:a}={},transform:f=!0,whileElementsMounted:s,open:c}=t,[u,d]=e.useState({x:0,y:0,strategy:r,placement:n,middlewareData:{},isPositioned:!1}),[p,h]=e.useState(i);tR(p,i)||h(i);let[m,g]=e.useState(null),[y,w]=e.useState(null),x=e.useCallback(t=>{t!==A.current&&(A.current=t,g(t))},[]),v=e.useCallback(t=>{t!==S.current&&(S.current=t,w(t))},[]),b=l||m,R=a||y,A=e.useRef(null),S=e.useRef(null),C=e.useRef(u),L=null!=s,P=tC(s),E=tC(o),O=tC(c),D=e.useCallback(()=>{var t,e;let i,o,l;if(!A.current||!S.current)return;let a={placement:n,strategy:r,middleware:p};E.current&&(a.platform=E.current),(t=A.current,e=S.current,i=new Map,l={...(o={platform:ty,...a}).platform,_c:i},T(t,e,{...o,platform:l})).then(t=>{let e={...t,isPositioned:!1!==O.current};H.current&&!tR(C.current,e)&&(C.current=e,tv.flushSync(()=>{d(e)}))})},[p,n,r,E,O]);tb(()=>{!1===c&&C.current.isPositioned&&(C.current.isPositioned=!1,d(t=>({...t,isPositioned:!1})))},[c]);let H=e.useRef(!1);tb(()=>(H.current=!0,()=>{H.current=!1}),[]),tb(()=>{if(b&&(A.current=b),R&&(S.current=R),b&&R){if(P.current)return P.current(b,R,D);D()}},[b,R,D,P,L]);let k=e.useMemo(()=>({reference:A,floating:S,setReference:x,setFloating:v}),[x,v]),F=e.useMemo(()=>({reference:b,floating:R}),[b,R]),j=e.useMemo(()=>{let t={position:r,left:0,top:0};if(!F.floating)return t;let e=tS(F.floating,u.x),n=tS(F.floating,u.y);return f?{...t,transform:"translate("+e+"px, "+n+"px)",...tA(F.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:e,top:n}},[r,f,F.floating,u.x,u.y]);return e.useMemo(()=>({...u,update:D,refs:k,elements:F,floatingStyles:j}),[u,D,k,F,j])}({strategy:"fixed",placement:B+("center"!==V?"-"+V:""),whileElementsMounted:(...t)=>(function(t,e,n,o){let a;void 0===o&&(o={});let{ancestorScroll:f=!0,ancestorResize:s=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:d=!1}=o,p=ti(t),h=f||s?[...p?te(p):[],...te(e)]:[];h.forEach(t=>{f&&t.addEventListener("scroll",n,{passive:!0}),s&&t.addEventListener("resize",n)});let m=p&&u?function(t,e){let n,o=null,a=j(t);function f(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return!function s(c,u){void 0===c&&(c=!1),void 0===u&&(u=1),f();let d=t.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;
1if(c||e(),!m||!g)return;let y={rootMargin:-l(h)+"px "+-l(a.clientWidth-(p+m))+"px "+-l(a.clientHeight-(h+g))+"px "+-l(p)+"px",threshold:i(0,r(1,u))||1},w=!0;function x(e){let r=e[0].intersectionRatio;if(r!==u){if(!w)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||tw(d,t.getBoundingClientRect())||s(),w=!1}try{o=new IntersectionObserver(x,{...y,root:a.ownerDocument})}catch(t){o=new IntersectionObserver(x,y)}o.observe(t)}(!0),f}(p,n):null,g=-1,y=null;c&&(y=new ResizeObserver(t=>{let[r]=t;r&&r.target===p&&y&&(y.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=y)||t.observe(e)})),n()}),p&&!d&&y.observe(p),y.observe(e));let w=d?tf(t):null;return d&&function e(){let r=tf(t);w&&!tw(w,r)&&n(),w=r,a=requestAnimationFrame(e)}(),n(),()=>{var t;h.forEach(t=>{f&&t.removeEventListener("scroll",n),s&&t.removeEventListener("resize",n)}),null==m||m(),null==(t=y)||t.disconnect(),y=null,d&&cancelAnimationFrame(a)}})(...t,{animationFrame:"always"===U}),elements:{reference:Q.anchor},middleware:[{...{name:"offset",options:a=o={mainAxis:N+ts,alignmentAxis:z},async fn(t){var e,n;let{x:r,y:i,placement:o,middlewareData:l}=t,f=await D(t,a);return o===(null==(e=l.offset)?void 0:e.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:r+f.x,y:i+f.y,data:{...f,placement:o}}}},options:[o,void 0]},Y&&{...{name:"shift",options:m=s={mainAxis:!0,crossAxis:!1,limiter:"partial"===q?{...(f=void 0,{options:f={},fn(t){let{x:e,y:n,placement:r,rects:i,middlewareData:o}=t,{offset:l=0,mainAxis:a=!0,crossAxis:s=!0}=c(f,t),d={x:e,y:n},h=g(r),m=p(h),y=d[m],w=d[h],x=c(l,t),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(a){let t="y"===m?"height":"width",e=i.reference[m]-i.floating[t]+v.mainAxis,n=i.reference[m]+i.reference[t]-v.mainAxis;y<e?y=e:y>n&&(y=n)}if(s){var b,R;let t="y"===m?"width":"height",e=O.has(u(r)),n=i.reference[h]-i.floating[t]+(e&&(null==(b=o.offset)?void 0:b[h])||0)+(e?0:v.crossAxis),l=i.reference[h]+i.reference[t]+(e?0:(null==(R=o.offset)?void 0:R[h])||0)-(e?v.crossAxis:0);w<n?w=n:w>l&&(w=l)}return{[m]:y,[h]:w}}}),options:[void 0,void 0]}:void 0,...tp},async fn(t){let{x:e,y:n,placement:o}=t,{mainAxis:l=!0,crossAxis:a=!1,limiter:f={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...s}=c(m,t),d={x:e,y:n},h=await L(t,s),y=g(u(o)),w=p(y),x=d[w],v=d[y];if(l){let t="y"===w?"top":"left",e="y"===w?"bottom":"right",n=x+h[t],o=x-h[e];x=i(n,r(x,o))}if(a){let t="y"===y?"top":"left",e="y"===y?"bottom":"right",n=v+h[t],o=v-h[e];v=i(n,r(v,o))}let b=f.fn({...t,[w]:x,[y]:v});return{...b,data:{x:b.x-e,y:b.y-n,enabled:{[w]:l,[y]:a}}}}},options:[s,void 0]},Y&&{...{name:"flip",options:S=A={...tp},async fn(t){var e,n,r,i,o,l,a,f;let s,m,A,{placement:C,middlewareData:T,rects:P,initialPlacement:E,platform:O,elements:D}=t,{mainAxis:H=!0,crossAxis:k=!0,fallbackPlacements:F,fallbackStrategy:j="bestFit",fallbackAxisSideDirection:M="none",flipAlignment:W=!0,...$}=c(S,t);if(null!=(e=T.arrow)&&e.alignmentOffset)return{};let B=u(C),N=g(E),V=u(E)===E,z=await (null==O.isRTL?void 0:O.isRTL(D.floating)),I=F||(V||!W?[R(E)]:(s=R(E),[y(E),s,y(s)])),Y="none"!==M;!F&&Y&&I.push(...(m=d(E),A=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?x:w;return e?w:x;case"left":case"right":return e?v:b;default:return[]}}(u(E),"start"===M,z),m&&(A=A.map(t=>t+"-"+m),W&&(A=A.concat(A.map(y)))),A));let _=[E,...I],X=await L(t,$),q=[],K=(null==(n=T.flip)?void 0:n.overflows)||[];if(H&&q.push(X[B]),k){let t,e,n,r,i=(l=C,a=P,void 0===(f=z)&&(f=!1),t=d(l),n=h(e=p(g(l))),r="x"===e?t===(f?"end":"start")?"right":"left":"start"===t?"bottom":"top",a.reference[n]>a.floating[n]&&(r=R(r)),[r,R(r)]);q.push(X[i[0]],X[i[1]])}if(K=[...K,{placement:C,overflows:q}],!q.every(t=>t<=0)){let t=((null==(r=T.flip)?void 0:r.index)||0)+1,e=_[t];if(e&&("alignment"!==k||N===g(e)||K.every(t=>g(t.placement)!==N||t.overflows[0]>0)))return{data:{index:t,overflows:K},reset:{placement:e}};let n=null==(i=K.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:i.placement;if(!n)switch(j){case"bestFit":{let t=null==(o=K.filter(t=>{if(Y){let e=g(t.placement);return e===N||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:o[0];t&&(n=t);break}case"initialPlacement":n=E}if(C!==n)return{reset:{placement:n}}}return{}}},options:[A,void 0]},{...{name:"size",options:H=C={...tp,apply:({elements:t,rects:e,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=e.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width",`${n}px`),l.setProperty("--radix-popper-available-height",`${r}px`),l.setProperty("--radix-popper-anchor-width",`${i}px`),l.setProperty("--radix-popper-anchor-height",`${o}px`)}},async fn(t){var e,n;let o,l,{placement:a,rects:f,platform:s,elements:p}=t,{apply:h=()=>{},...m}=c(H,t),y=await L(t,m),w=u(a),x=d(a),v="y"===g(a),{width:b,height:R}=f.floating;"top"===w||"bottom"===w?(o=w,l=x===(await (null==s.isRTL?void 0:s.isRTL(p.floating))?"start":"end")?"left":"right"):(l=w,o="end"===x?"top":"bottom");let A=R-y.top-y.bottom,S=b-y.left-y.right,C=r(R-y[o],A),T=r(b-y[l],S),P=!t.middlewareData.shift,E=C,O=T;if(null!=(e=t.middlewareData.shift)&&e.enabled.x&&(O=S),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(E=A),P&&!x){let t=i(y.left,0),e=i(y.right,0),n=i(y.top,0),r=i(y.bottom,0);v?O=b-2*(0!==t||0!==e?t+e:i(y.left,y.right)):E=R-2*(0!==n||0!==r?n+r:i(y.top,y.bottom))}await h({...t,availableWidth:O,availableHeight:E});let D=await s.getDimensions(p.floating);return b!==D.width||R!==D.height?{reset:{rects:!0}}:{}}},options:[C,void 0]},tr&&{...{name:"arrow",options:F=k={element:tr,padding:I},fn(t){let{element:e,padding:n}="function"==typeof F?F(t):F;return e&&({}).hasOwnProperty.call(e,"current")?null!=e.current?tx({element:e.current,padding:n}).fn(t):{}:e?tx({element:e,padding:n}).fn(t):{}}},options:[k,void 0]},tG({arrowWidth:ta,arrowHeight:ts}),K&&{...{name:"hide",options:W=M={strategy:"referenceHidden",...tp}
1,async fn(t){let{rects:e}=t,{strategy:n="referenceHidden",...r}=c(W,t);switch(n){case"referenceHidden":{let n=P(await L(t,{...r,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:E(n)}}}case"escaped":{let n=P(await L(t,{...r,altBoundary:!0}),e.floating);return{data:{escapedOffsets:n,escaped:E(n)}}}default:return{}}}},options:[M,void 0]}]}),[tF,tj]=tJ(tg),tM=(0,tD.useCallbackRef)(G);(0,tH.useLayoutEffect)(()=>{tP&&tM?.()},[tP,tM]);let tW=tO.arrow?.x,tB=tO.arrow?.y,tN=tO.arrow?.centerOffset!==0,[tV,tY]=e.useState();return(0,tH.useLayoutEffect)(()=>{Z&&tY(window.getComputedStyle(Z).zIndex)},[Z]),(0,tL.jsx)("div",{ref:th.setFloating,"data-radix-popper-content-wrapper":"",style:{...tm,transform:tP?tm.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:tV,"--radix-popper-transform-origin":[tO.transformOrigin?.x,tO.transformOrigin?.y].join(" "),...tO.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:(0,tL.jsx)(tI,{scope:$,placedSide:tF,onArrowChange:to,arrowX:tW,arrowY:tB,shouldHideArrow:tN,children:(0,tL.jsx)(tT.Primitive.div,{"data-side":tF,"data-align":tj,...J,ref:tn,style:{...J.style,animation:tP?void 0:"none"}})})})});t_.displayName=tz;var tX="PopperArrow",tq={top:"bottom",right:"left",bottom:"top",left:"right"},tK=e.forwardRef(function(t,e){let{__scopePopper:n,...r}=t,i=tY(tX,n),o=tq[i.placedSide];return(0,tL.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,tL.jsx)(tP,{...r,ref:e,style:{...r.style,display:"block"}})})});function tU(t){return null!==t}tK.displayName=tX;var tG=t=>({name:"transformOrigin",options:t,fn(e){let{placement:n,rects:r,middlewareData:i}=e,o=i.arrow?.centerOffset!==0,l=o?0:t.arrowWidth,a=o?0:t.arrowHeight,[f,s]=tJ(n),c={start:"0%",center:"50%",end:"100%"}[s],u=(i.arrow?.x??0)+l/2,d=(i.arrow?.y??0)+a/2,p="",h="";return"bottom"===f?(p=o?c:`${u}px`,h=`${-a}px`):"top"===f?(p=o?c:`${u}px`,h=`${r.floating.height+a}px`):"right"===f?(p=`${-a}px`,h=o?c:`${d}px`):"left"===f&&(p=`${r.floating.width+a}px`,h=o?c:`${d}px`),{data:{x:p,y:h}}}});function tJ(t){let[e,n="center"]=t.split("-");return[e,n]}t.s(["Anchor",()=>tV,"Arrow",()=>tK,"Content",()=>t_,"Root",()=>tB,"createPopperScope",()=>tM],853660)}]);
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.