1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="66828e45-73bf-f3c4-1276-1799a2332b3a")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,638154,t=>{"use strict";var e=t.i(84053);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 w(t){return t.replace(/start|end/g,t=>s[t])}let y=["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 O(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,w=i.y+i.height/2-o.height/2,y=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:w};break;case"left":r={x:i.x-o.width,y:w};break;default:r={x:i.x,y:i.y}}switch(d(e)){case"start":r[a]-=y*(n&&c?-1:1);break;case"end":r[a]+=y*(n&&c?-1:1)}return r}async function C(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],w=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})),y="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:y,offsetParent:x,strategy:f}):y);return{top:(w.top-b.top+m.top)/v.y,bottom:(b.bottom-w.bottom+m.bottom)/v.y,left:(w.left-b.left+m.left)/v.x,right:(b.right-w.right+m.right)/v.x}}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}=O(s,r,f),d=r,p={},h=0;for(let n=0;n<a.length;n++){var m;let{name:o,fn:g}=a[n],{x:w,y:y,data:x,reset:v}=await g({x:c,y:u,initialPlacement:r,placement:d,strategy:i,middlewareData:p,rects:s,platform:{...l,detectOverflow:null!=(m=l.detectOverflow)?m:C},elements:{reference:t,floating:e}});c=null!=w?w:c,u=null!=y?y:u,p={...p,[o]:{...p[o],...x}},v&&h<=50&&(h++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(s=!0===v.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):v.rects),{x:c,y:u}=O(s,d,f)),n=-1)}return{x:c,y:u,placement:d,strategy:i,middlewareData:p}};function L(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function P(t){return n.some(e=>t[e]>=0)}let E=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=E.has(l)?-1:1,p=o&&f?-1:1,h=c(e,t),{mainAxis:m,crossAxis:w,alignmentAxis:y}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}
2:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&"number"==typeof y&&(w="end"===a?-1*y:y),f?{x:w*p,y:m*s}:{x:m*s,y:w*p}}function H(){return"u">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()||"u"<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!("u"<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);return 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
2=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}}},tw={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}let 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 ty(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:w=0}=c(t,e)||{};if(null==m)return{};let y=A(w),x={x:n,y:o},v=p(g(l)),b=h(v),R=await f.getDimensions(m),S="y"===v,O=S?"clientHeight":"clientWidth",C=a.reference[b]+a.reference[v]-x[v]-a.floating[b],T=x[v]-a.reference[v],L=await (null==f.getOffsetParent?void 0:f.getOffsetParent(m)),P=L?L[O]:0;
2P&&await (null==f.isElement?void 0:f.isElement(L))||(P=s.floating[O]||a.floating[b]);let E=P/2-R[b]/2-1,D=r(y[S?"top":"left"],E),H=r(y[S?"bottom":"right"],E),k=P-R[b]-H,F=P/2-R[b]/2+(C/2-T/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(848381),tb="u">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"u"<typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function tS(t,e){let n=tA(t);return Math.round(e*n)/n}function tO(t){let n=e.useRef(t);return tb(()=>{n.current=t}),n}var tC=t.i(980939),tT=t.i(861567),tL=e.forwardRef((t,e)=>{let{children:n,width:r=10,height:i=5,...o}=t;return(0,tT.jsx)(tC.Primitive.svg,{...o,ref:e,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:(0,tT.jsx)("polygon",{points:"0,0 30,0 15,10"})})});tL.displayName="Arrow";var tP=t.i(967928),tE=t.i(543250),tD=t.i(136131),tH=t.i(672687),tk=t.i(461614),tF="Popper",[tj,tM]=(0,tE.createContextScope)(tF),[tW,t$]=tj(tF),tB=t=>{let{__scopePopper:n,children:r}=t,[i,o]=e.useState(null);return(0,tT.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,tP.useComposedRefs)(n,a),s=e.useRef(null);return e.useEffect(()=>{let t=s.current;s.current=(null==i?void 0:i.current)||a.current,t!==s.current&&l.onAnchorChange(s.current)}),i?null:(0,tT.jsx)(tC.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,O,C,H,k,F,M,W,$,B,N,V,z,I,Y,_,X,q,K,U,G;let{__scopePopper:J,side:Q="bottom",sideOffset:Z=0,align:tt="center",alignOffset:tn=0,arrowPadding:tr=0,avoidCollisions:to=!0,collisionBoundary:tl=[],collisionPadding:ta=0,sticky:ts="partial",hideWhenDetached:tc=!1,updatePositionStrategy:tu="optimized",onPlaced:td,...tp}=t,th=t$(tz,J),[tm,tg]=e.useState(null),tL=(0,tP.useComposedRefs)(n,t=>tg(t)),[tE,tF]=e.useState(null),tj=(0,tk.useSize)(tE),tM=(null==tj?void 0:tj.width)??0,tW=(null==tj?void 0:tj.height)??0,tB="number"==typeof ta?ta:{top:0,right:0,bottom:0,left:0,...ta},tN=Array.isArray(tl)?tl:[tl],tV=tN.length>0,tY={padding:tB,boundary:tN.filter(tU),altBoundary:tV},{refs:t_,floatingStyles:tX,placement:tq,isPositioned:tK,middlewareData:tQ}=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),[w,y]=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,y(t))},[]),b=l||m,R=a||w,A=e.useRef(null),S=e.useRef(null),O=e.useRef(u),C=null!=s,L=tO(s),P=tO(o),E=tO(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};P.current&&(a.platform=P.current),(t=A.current,e=S.current,i=new Map,l={...(o={platform:tw,...a}).platform,_c:i},T(t,e,{...o,platform:l})).then(t=>{let e={...t,isPositioned:!1!==E.current};H.current&&!tR(O.current,e)&&(O.current=e,tv.flushSync(()=>{d(e)}))})},[p,n,r,P,E]);tb(()=>{!1===c&&O.current.isPositioned&&(O.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(L.current)return L.current(b,R,D);D()}},[b,R,D,L,C]);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:Q+("center"!==tt?"-"+tt:""),whileElementsMounted:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return 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;
2if(c||e(),!m||!g)return;let w={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},y=!0;function x(e){let r=e[0].intersectionRatio;if(r!==u){if(!y)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||ty(d,t.getBoundingClientRect())||s(),y=!1}try{o=new IntersectionObserver(x,{...w,root:a.ownerDocument})}catch(t){o=new IntersectionObserver(x,w)}o.observe(t)}(!0),f}(p,n):null,g=-1,w=null;c&&(w=new ResizeObserver(t=>{let[r]=t;r&&r.target===p&&w&&(w.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=w)||t.observe(e)})),n()}),p&&!d&&w.observe(p),w.observe(e));let y=d?tf(t):null;return d&&function e(){let r=tf(t);y&&!ty(y,r)&&n(),y=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=w)||t.disconnect(),w=null,d&&cancelAnimationFrame(a)}}(...e,{animationFrame:"always"===tu})},elements:{reference:th.anchor},middleware:[{...{name:"offset",options:C=S={mainAxis:Z+tW,alignmentAxis:tn},async fn(t){var e,n;let{x:r,y:i,placement:o,middlewareData:l}=t,a=await D(t,C);return o===(null==(e=l.offset)?void 0:e.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:r+a.x,y:i+a.y,data:{...a,placement:o}}}},options:[S,O]},to&&{...{name:"shift",options:$=M={mainAxis:!0,crossAxis:!1,limiter:"partial"===ts?{...(void 0===(F=H)&&(F={}),{options:F,fn(t){let{x:e,y:n,placement:r,rects:i,middlewareData:o}=t,{offset:l=0,mainAxis:a=!0,crossAxis:f=!0}=c(F,t),s={x:e,y:n},d=g(r),h=p(d),m=s[h],w=s[d],y=c(l,t),x="number"==typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(a){let t="y"===h?"height":"width",e=i.reference[h]-i.floating[t]+x.mainAxis,n=i.reference[h]+i.reference[t]-x.mainAxis;m<e?m=e:m>n&&(m=n)}if(f){var v,b;let t="y"===h?"width":"height",e=E.has(u(r)),n=i.reference[d]-i.floating[t]+(e&&(null==(v=o.offset)?void 0:v[d])||0)+(e?0:x.crossAxis),l=i.reference[d]+i.reference[t]+(e?0:(null==(b=o.offset)?void 0:b[d])||0)-(e?x.crossAxis:0);w<n?w=n:w>l&&(w=l)}return{[h]:m,[d]:w}}}),options:[H,k]}:void 0,...tY},async fn(t){let{x:e,y:n,placement:o,platform:l}=t,{mainAxis:a=!0,crossAxis:f=!1,limiter:s={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...d}=c($,t),h={x:e,y:n},m=await l.detectOverflow(t,d),w=g(u(o)),y=p(w),x=h[y],v=h[w];if(a){let t="y"===y?"top":"left",e="y"===y?"bottom":"right",n=x+m[t],o=x-m[e];x=i(n,r(x,o))}if(f){let t="y"===w?"top":"left",e="y"===w?"bottom":"right",n=v+m[t],o=v-m[e];v=i(n,r(v,o))}let b=s.fn({...t,[y]:x,[w]:v});return{...b,data:{x:b.x-e,y:b.y-n,enabled:{[y]:a,[w]:f}}}}},options:[M,W]},to&&{...{name:"flip",options:V=B={...tY},async fn(t){var e,n,r,i,o,l,a,f;let s,m,A,{placement:S,middlewareData:O,rects:C,initialPlacement:T,platform:L,elements:P}=t,{mainAxis:E=!0,crossAxis:D=!0,fallbackPlacements:H,fallbackStrategy:k="bestFit",fallbackAxisSideDirection:F="none",flipAlignment:j=!0,...M}=c(V,t);if(null!=(e=O.arrow)&&e.alignmentOffset)return{};let W=u(S),$=g(T),B=u(T)===T,N=await (null==L.isRTL?void 0:L.isRTL(P.floating)),z=H||(B||!j?[R(T)]:(s=R(T),[w(T),s,w(s)])),I="none"!==F;!H&&I&&z.push(...(m=d(T),A=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?x:y;return e?y:x;case"left":case"right":return e?v:b;default:return[]}}(u(T),"start"===F,N),m&&(A=A.map(t=>t+"-"+m),j&&(A=A.concat(A.map(w)))),A));let Y=[T,...z],_=await L.detectOverflow(t,M),X=[],q=(null==(n=O.flip)?void 0:n.overflows)||[];if(E&&X.push(_[W]),D){let t,e,n,r,i=(l=S,a=C,void 0===(f=N)&&(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)]);X.push(_[i[0]],_[i[1]])}if(q=[...q,{placement:S,overflows:X}],!X.every(t=>t<=0)){let t=((null==(r=O.flip)?void 0:r.index)||0)+1,e=Y[t];if(e&&("alignment"!==D||$===g(e)||q.every(t=>g(t.placement)!==$||t.overflows[0]>0)))return{data:{index:t,overflows:q},reset:{placement:e}};let n=null==(i=q.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:i.placement;if(!n)switch(k){case"bestFit":{let t=null==(o=q.filter(t=>{if(I){let e=g(t.placement);return e===$||"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=T}if(S!==n)return{reset:{placement:n}}}return{}}},options:[B,N]},{...{name:"size",options:Y=z={...tY,apply:t=>{let{elements:e,rects:n,availableWidth:r,availableHeight:i}=t,{width:o,height:l}=n.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${r}px`),a.setProperty("--radix-popper-available-height",`${i}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${l}px`)}},async fn(t){var e,n;let o,l,{placement:a,rects:f,platform:s,elements:p}=t,{apply:h=()=>{},...m}=c(Y,t),w=await s.detectOverflow(t,m),y=u(a),x=d(a),v="y"===g(a),{width:b,height:R}=f.floating;"top"===y||"bottom"===y?(o=y,l=x===(await (null==s.isRTL?void 0:s.isRTL(p.floating))?"start":"end")?"left":"right"):(l=y,o="end"===x?"top":"bottom");let A=R-w.top-w.bottom,S=b-w.left-w.right,O=r(R-w[o],A),C=r(b-w[l],S),T=!t.middlewareData.shift,L=O,P=C;
2if(null!=(e=t.middlewareData.shift)&&e.enabled.x&&(P=S),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(L=A),T&&!x){let t=i(w.left,0),e=i(w.right,0),n=i(w.top,0),r=i(w.bottom,0);v?P=b-2*(0!==t||0!==e?t+e:i(w.left,w.right)):L=R-2*(0!==n||0!==r?n+r:i(w.top,w.bottom))}await h({...t,availableWidth:P,availableHeight:L});let E=await s.getDimensions(p.floating);return b!==E.width||R!==E.height?{reset:{rects:!0}}:{}}},options:[z,I]},tE&&{...{name:"arrow",options:q=_={element:tE,padding:tr},fn(t){let{element:e,padding:n}="function"==typeof q?q(t):q;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:[_,X]},tG({arrowWidth:tM,arrowHeight:tW}),tc&&{...{name:"hide",options:G=K={strategy:"referenceHidden",...tY},async fn(t){let{rects:e,platform:n}=t,{strategy:r="referenceHidden",...i}=c(G,t);switch(r){case"referenceHidden":{let r=L(await n.detectOverflow(t,{...i,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:P(r)}}}case"escaped":{let r=L(await n.detectOverflow(t,{...i,altBoundary:!0}),e.floating);return{data:{escapedOffsets:r,escaped:P(r)}}}default:return{}}}},options:[K,U]}]}),[tZ,t0]=tJ(tq),t1=(0,tD.useCallbackRef)(td);(0,tH.useLayoutEffect)(()=>{tK&&(null==t1||t1())},[tK,t1]);let t2=null==(o=tQ.arrow)?void 0:o.x,t5=null==(a=tQ.arrow)?void 0:a.y,t3=(null==(f=tQ.arrow)?void 0:f.centerOffset)!==0,[t8,t6]=e.useState();return(0,tH.useLayoutEffect)(()=>{tm&&t6(window.getComputedStyle(tm).zIndex)},[tm]),(0,tT.jsx)("div",{ref:t_.setFloating,"data-radix-popper-content-wrapper":"",style:{...tX,transform:tK?tX.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:t8,"--radix-popper-transform-origin":[null==(s=tQ.transformOrigin)?void 0:s.x,null==(m=tQ.transformOrigin)?void 0:m.y].join(" "),...(null==(A=tQ.hide)?void 0:A.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:(0,tT.jsx)(tI,{scope:J,placedSide:tZ,onArrowChange:tF,arrowX:t2,arrowY:t5,shouldHideArrow:t3,children:(0,tT.jsx)(tC.Primitive.div,{"data-side":tZ,"data-align":t0,...tp,ref:tL,style:{...tp.style,animation:tK?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,tT.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,tT.jsx)(tL,{...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){var n,r,i;let{placement:o,rects:l,middlewareData:a}=e,f=(null==(n=a.arrow)?void 0:n.centerOffset)!==0,s=f?0:t.arrowWidth,c=f?0:t.arrowHeight,[u,d]=tJ(o),p={start:"0%",center:"50%",end:"100%"}[d],h=((null==(r=a.arrow)?void 0:r.x)??0)+s/2,m=((null==(i=a.arrow)?void 0:i.y)??0)+c/2,g="",w="";return"bottom"===u?(g=f?p:`${h}px`,w=`${-c}px`):"top"===u?(g=f?p:`${h}px`,w=`${l.floating.height+c}px`):"right"===u?(g=`${-c}px`,w=f?p:`${m}px`):"left"===u&&(g=`${l.floating.width+c}px`,w=f?p:`${m}px`),{data:{x:g,y:w}}}});function tJ(t){let[e,n="center"]=t.split("-");return[e,n]}t.s(["Anchor",0,tV,"Arrow",0,tK,"Content",0,t_,"Root",0,tB,"createPopperScope",0,tM],638154)}]); 3 4//# debugId=66828e45-73bf-f3c4-1276-1799a2332b3a
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.