1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,301345,e=>{"use strict";var t=e.i(505034);let r=["top","right","bottom","left"],n=Math.min,i=Math.max,o=Math.round,l=Math.floor,s=e=>({x:e,y:e}),a={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function u(e,t){return"function"==typeof e?e(t):e}function c(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function p(e){return"y"===e?"height":"width"}let m=new Set(["top","bottom"]);function g(e){return m.has(c(e))?"y":"x"}function y(e){return e.replace(/start|end/g,e=>f[e])}let w=["left","right"],x=["right","left"],v=["top","bottom"],b=["bottom","top"];function R(e){return e.replace(/left|right|bottom|top/g,e=>a[e])}function A(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function S(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function C(e,t,r){let n,{reference:i,floating:o}=e,l=g(t),s=h(g(t)),a=p(s),f=c(t),u="y"===l,m=i.x+i.width/2-o.width/2,y=i.y+i.height/2-o.height/2,w=i[a]/2-o[a]/2;switch(f){case"top":n={x:m,y:i.y-o.height};break;case"bottom":n={x:m,y:i.y+i.height};break;case"right":n={x:i.x+i.width,y:y};break;case"left":n={x:i.x-o.width,y:y};break;default:n={x:i.x,y:i.y}}switch(d(t)){case"start":n[s]-=w*(r&&u?-1:1);break;case"end":n[s]+=w*(r&&u?-1:1)}return n}let k=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:l}=r,s=o.filter(Boolean),a=await (null==l.isRTL?void 0:l.isRTL(t)),f=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:c}=C(f,n,a),d=n,h={},p=0;for(let r=0;r<s.length;r++){let{name:o,fn:m}=s[r],{x:g,y:y,data:w,reset:x}=await m({x:u,y:c,initialPlacement:n,placement:d,strategy:i,middlewareData:h,rects:f,platform:l,elements:{reference:e,floating:t}});u=null!=g?g:u,c=null!=y?y:c,h={...h,[o]:{...h[o],...w}},x&&p<=50&&(p++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(f=!0===x.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:c}=C(f,d,a)),r=-1)}return{x:u,y:c,placement:d,strategy:i,middlewareData:h}};async function O(e,t){var r;void 0===t&&(t={});let{x:n,y:i,platform:o,rects:l,elements:s,strategy:a}=e,{boundary:f="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:h=!1,padding:p=0}=u(t,e),m=A(p),g=s[h?"floating"===d?"reference":"floating":d],y=S(await o.getClippingRect({element:null==(r=await (null==o.isElement?void 0:o.isElement(g)))||r?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:f,rootBoundary:c,strategy:a})),w="floating"===d?{x:n,y:i,width:l.floating.width,height:l.floating.height}:l.reference,x=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.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:s,rect:w,offsetParent:x,strategy:a}):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 L(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function P(e){return r.some(t=>e[t]>=0)}let E=new Set(["left","top"]);async function T(e,t){let{placement:r,platform:n,elements:i}=e,o=await (null==n.isRTL?void 0:n.isRTL(i.floating)),l=c(r),s=d(r),a="y"===g(r),f=E.has(l)?-1:1,h=o&&a?-1:1,p=u(t,e),{mainAxis:m,crossAxis:y,alignmentAxis:w}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return s&&"number"==typeof w&&(y="end"===s?-1*w:w),a?{x:y*h,y:m*f}:{x:m*f,y:y*h}}function z(){return"u">typeof window}function M(e){return j(e)?(e.nodeName||"").toLowerCase():"#document"}function D(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function H(e){var t;return null==(t=(j(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function j(e){return!!z()&&(e instanceof Node||e instanceof D(e).Node)}function W(e){return!!z()&&(e instanceof Element||e instanceof D(e).Element)}function N(e){return!!z()&&(e instanceof HTMLElement||e instanceof D(e).HTMLElement)}function $(e){return!(!z()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof D(e).ShadowRoot)}let F=new Set(["inline","contents"]);function B(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=J(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!F.has(i)}let V=new Set(["table","td","th"]),I=[":popover-open",":modal"];function _(e){return I.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let Y=["transform","translate","scale","rotate","perspective"],U=["transform","translate","scale","rotate","perspective","filter"],q=["paint","layout","strict","content"];function X(e){let t=K(),r=W(e)?J(e):e;return Y.some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||U.some(e=>(r.willChange||"").includes(e))||q.some(e=>(r.contain||"").includes(e))}function K(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let Z=new Set(["html","body","#document"]);function G(e){return Z.has(M(e))}function J(e){return D(e).getComputedStyle(e)}function Q(e){return W(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ee(e){if("html"===M(e))return e;let t=e.assignedSlot||e.parentNode||$(e)&&e.host||H(e);return $(t)?t.host:t}function et(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let i=function e(t){let r=ee(t);return G(r)?t.ownerDocument?t.ownerDocument.body:t.body:N(r)&&B(r)?r:e(r)}(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),l=D(i);if(o){let e=er(l);
1return t.concat(l,l.visualViewport||[],B(i)?i:[],e&&r?et(e):[])}return t.concat(i,et(i,[],r))}function er(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function en(e){let t=J(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=N(e),l=i?e.offsetWidth:r,s=i?e.offsetHeight:n,a=o(r)!==l||o(n)!==s;return a&&(r=l,n=s),{width:r,height:n,$:a}}function ei(e){return W(e)?e:e.contextElement}function eo(e){let t=ei(e);if(!N(t))return s(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:l}=en(t),a=(l?o(r.width):r.width)/n,f=(l?o(r.height):r.height)/i;return a&&Number.isFinite(a)||(a=1),f&&Number.isFinite(f)||(f=1),{x:a,y:f}}let el=s(0);function es(e){let t=D(e);return K()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:el}function ea(e,t,r,n){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let o=e.getBoundingClientRect(),l=ei(e),a=s(1);t&&(n?W(n)&&(a=eo(n)):a=eo(e));let f=(void 0===(i=r)&&(i=!1),n&&(!i||n===D(l))&&i)?es(l):s(0),u=(o.left+f.x)/a.x,c=(o.top+f.y)/a.y,d=o.width/a.x,h=o.height/a.y;if(l){let e=D(l),t=n&&W(n)?D(n):n,r=e,i=er(r);for(;i&&n&&t!==r;){let e=eo(i),t=i.getBoundingClientRect(),n=J(i),o=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,h*=e.y,u+=o,c+=l,i=er(r=D(i))}}return S({width:d,height:h,x:u,y:c})}function ef(e,t){let r=Q(e).scrollLeft;return t?t.left+r:ea(H(e)).left+r}function eu(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-ef(e,r),y:r.top+t.scrollTop}}let ec=new Set(["absolute","fixed"]);function ed(e,t,r){var n;let o;if("viewport"===t)o=function(e,t){let r=D(e),n=H(e),i=r.visualViewport,o=n.clientWidth,l=n.clientHeight,s=0,a=0;if(i){o=i.width,l=i.height;let e=K();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,a=i.offsetTop)}let f=ef(n);if(f<=0){let e=n.ownerDocument,t=e.body,r=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,l=Math.abs(n.clientWidth-t.clientWidth-i);l<=25&&(o-=l)}else f<=25&&(o+=f);return{width:o,height:l,x:s,y:a}}(e,r);else if("document"===t){let t,r,l,s,a,f,u;n=H(e),t=H(n),r=Q(n),l=n.ownerDocument.body,s=i(t.scrollWidth,t.clientWidth,l.scrollWidth,l.clientWidth),a=i(t.scrollHeight,t.clientHeight,l.scrollHeight,l.clientHeight),f=-r.scrollLeft+ef(n),u=-r.scrollTop,"rtl"===J(l).direction&&(f+=i(t.clientWidth,l.clientWidth)-s),o={width:s,height:a,x:f,y:u}}else if(W(t)){let e,n,i,l,a,f;n=(e=ea(t,!0,"fixed"===r)).top+t.clientTop,i=e.left+t.clientLeft,l=N(t)?eo(t):s(1),a=t.clientWidth*l.x,f=t.clientHeight*l.y,o={width:a,height:f,x:i*l.x,y:n*l.y}}else{let r=es(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return S(o)}function eh(e){return"static"===J(e).position}function ep(e,t){if(!N(e)||"fixed"===J(e).position)return null;if(t)return t(e);let r=e.offsetParent;return H(e)===r&&(r=r.ownerDocument.body),r}function em(e,t){var r;let n=D(e);if(_(e))return n;if(!N(e)){let t=ee(e);for(;t&&!G(t);){if(W(t)&&!eh(t))return t;t=ee(t)}return n}let i=ep(e,t);for(;i&&(r=i,V.has(M(r)))&&eh(i);)i=ep(i,t);return i&&G(i)&&eh(i)&&!X(i)?n:i||function(e){let t=ee(e);for(;N(t)&&!G(t);){if(X(t))return t;if(_(t))break;t=ee(t)}return null}(e)||n}let eg=async function(e){let t=this.getOffsetParent||em,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=N(t),i=H(t),o="fixed"===r,l=ea(e,!0,o,t),a={scrollLeft:0,scrollTop:0},f=s(0);if(n||!n&&!o)if(("body"!==M(t)||B(i))&&(a=Q(t)),n){let e=ea(t,!0,o,t);f.x=e.x+t.clientLeft,f.y=e.y+t.clientTop}else i&&(f.x=ef(i));o&&!n&&i&&(f.x=ef(i));let u=!i||n||o?s(0):eu(i,a);return{x:l.left+a.scrollLeft-f.x-u.x,y:l.top+a.scrollTop-f.y-u.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},ey={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e,o="fixed"===i,l=H(n),a=!!t&&_(t.floating);if(n===l||a&&o)return r;let f={scrollLeft:0,scrollTop:0},u=s(1),c=s(0),d=N(n);if((d||!d&&!o)&&(("body"!==M(n)||B(l))&&(f=Q(n)),N(n))){let e=ea(n);u=eo(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}let h=!l||d||o?s(0):eu(l,f);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-f.scrollLeft*u.x+c.x+h.x,y:r.y*u.y-f.scrollTop*u.y+c.y+h.y}},getDocumentElement:H,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:l}=e,s=[..."clippingAncestors"===r?_(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=et(e,[],!1).filter(e=>W(e)&&"body"!==M(e)),i=null,o="fixed"===J(e).position,l=o?ee(e):e;for(;W(l)&&!G(l);){let t=J(l),r=X(l);r||"fixed"!==t.position||(i=null),(o?!r&&!i:!r&&"static"===t.position&&!!i&&ec.has(i.position)||B(l)&&!r&&function e(t,r){let n=ee(t);return!(n===r||!W(n)||G(n))&&("fixed"===J(n).position||e(n,r))}(e,l))?n=n.filter(e=>e!==l):i=t,l=ee(l)}return t.set(e,n),n}(t,this._c):[].concat(r),o],a=s[0],f=s.reduce((e,r)=>{let o=ed(t,r,l);return e.top=i(o.top,e.top),e.right=n(o.right,e.right),e.bottom=n(o.bottom,e.bottom),e.left=i(o.left,e.left),e},ed(t,a,l));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}},getOffsetParent:em,getElementRects:eg,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=en(e);return{width:t,height:r}},getScale:eo,isElement:W,isRTL:function(e){return"rtl"===J(e).direction}};function ew(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ex=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:o,placement:l,rects:s,platform:a,elements:f,middlewareData:c}=t,{element:m,padding:y=0}=u(e,t)||{};if(null==m)return{};let w=A(y),x={x:r,y:o},v=h(g(l)),b=p(v),R=await a.getDimensions(m),S="y"===v,C=S?"clientHeight":"clientWidth",k=s.reference[b]+s.reference[v]-x[v]-s.floating[b],O=x[v]-s.reference[v],L=await (null==a.getOffsetParent?void 0:a.getOffsetParent(m)),P=L?L[C]:0;
1P&&await (null==a.isElement?void 0:a.isElement(L))||(P=f.floating[C]||s.floating[b]);let E=P/2-R[b]/2-1,T=n(w[S?"top":"left"],E),z=n(w[S?"bottom":"right"],E),M=P-R[b]-z,D=P/2-R[b]/2+(k/2-O/2),H=i(T,n(D,M)),j=!c.arrow&&null!=d(l)&&D!==H&&s.reference[b]/2-(D<T?T:z)-R[b]/2<0,W=j?D<T?D-T:D-M:0;return{[v]:x[v]+W,data:{[v]:H,centerOffset:D-H-W,...j&&{alignmentOffset:W}},reset:j}}});var ev=e.i(181409),eb="u">typeof document?t.useLayoutEffect:function(){};function eR(e,t){let r,n,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!eR(e[n],t[n]))return!1;return!0}if((r=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,i[n]))return!1;for(n=r;0!=n--;){let r=i[n];if(("_owner"!==r||!e.$$typeof)&&!eR(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function eA(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eS(e,t){let r=eA(e);return Math.round(t*r)/r}function eC(e){let r=t.useRef(e);return eb(()=>{r.current=e}),r}var ek=e.i(556872),eO=e.i(14270),eL=t.forwardRef((e,t)=>{let{children:r,width:n=10,height:i=5,...o}=e;return(0,eO.jsx)(ek.Primitive.svg,{...o,ref:t,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,eO.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eL.displayName="Arrow";var eP=e.i(144977),eE=e.i(156207),eT=e.i(252960),ez=e.i(127864),eM="Popper",[eD,eH]=(0,eE.createContextScope)(eM),[ej,eW]=eD(eM),eN=e=>{let{__scopePopper:r,children:n}=e,[i,o]=t.useState(null);return(0,eO.jsx)(ej,{scope:r,anchor:i,onAnchorChange:o,children:n})};eN.displayName=eM;var e$="PopperAnchor",eF=t.forwardRef((e,r)=>{let{__scopePopper:n,virtualRef:i,...o}=e,l=eW(e$,n),s=t.useRef(null),a=(0,eP.useComposedRefs)(r,s),f=t.useRef(null);return t.useEffect(()=>{let e=f.current;f.current=i?.current||s.current,e!==f.current&&l.onAnchorChange(f.current)}),i?null:(0,eO.jsx)(ek.Primitive.div,{...o,ref:a})});eF.displayName=e$;var eB="PopperContent",[eV,eI]=eD(eB),e_=t.forwardRef((e,r)=>{var o,s,a,f,m,A,S,C,z,M,D,j,W;let{__scopePopper:N,side:$="bottom",sideOffset:F=0,align:B="center",alignOffset:V=0,arrowPadding:I=0,avoidCollisions:_=!0,collisionBoundary:Y=[],collisionPadding:U=0,sticky:q="partial",hideWhenDetached:X=!1,updatePositionStrategy:K="optimized",onPlaced:Z,...G}=e,J=eW(eB,N),[Q,ee]=t.useState(null),er=(0,eP.useComposedRefs)(r,e=>ee(e)),[en,eo]=t.useState(null),el=function(e){let[r,n]=t.useState(void 0);return(0,ez.useLayoutEffect)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),r}(en),es=el?.width??0,ef=el?.height??0,eu="number"==typeof U?U:{top:0,right:0,bottom:0,left:0,...U},ec=Array.isArray(Y)?Y:[Y],ed=ec.length>0,eh={padding:eu,boundary:ec.filter(eX),altBoundary:ed},{refs:ep,floatingStyles:em,placement:eg,isPositioned:eL,middlewareData:eE}=function(e){void 0===e&&(e={});let{placement:r="bottom",strategy:n="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:s}={},transform:a=!0,whileElementsMounted:f,open:u}=e,[c,d]=t.useState({x:0,y:0,strategy:n,placement:r,middlewareData:{},isPositioned:!1}),[h,p]=t.useState(i);eR(h,i)||p(i);let[m,g]=t.useState(null),[y,w]=t.useState(null),x=t.useCallback(e=>{e!==A.current&&(A.current=e,g(e))},[]),v=t.useCallback(e=>{e!==S.current&&(S.current=e,w(e))},[]),b=l||m,R=s||y,A=t.useRef(null),S=t.useRef(null),C=t.useRef(c),O=null!=f,L=eC(f),P=eC(o),E=eC(u),T=t.useCallback(()=>{var e,t;let i,o,l;if(!A.current||!S.current)return;let s={placement:r,strategy:n,middleware:h};P.current&&(s.platform=P.current),(e=A.current,t=S.current,i=new Map,l={...(o={platform:ey,...s}).platform,_c:i},k(e,t,{...o,platform:l})).then(e=>{let t={...e,isPositioned:!1!==E.current};z.current&&!eR(C.current,t)&&(C.current=t,ev.flushSync(()=>{d(t)}))})},[h,r,n,P,E]);eb(()=>{!1===u&&C.current.isPositioned&&(C.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[u]);let z=t.useRef(!1);eb(()=>(z.current=!0,()=>{z.current=!1}),[]),eb(()=>{if(b&&(A.current=b),R&&(S.current=R),b&&R){if(L.current)return L.current(b,R,T);T()}},[b,R,T,L,O]);let M=t.useMemo(()=>({reference:A,floating:S,setReference:x,setFloating:v}),[x,v]),D=t.useMemo(()=>({reference:b,floating:R}),[b,R]),H=t.useMemo(()=>{let e={position:n,left:0,top:0};if(!D.floating)return e;let t=eS(D.floating,c.x),r=eS(D.floating,c.y);return a?{...e,transform:"translate("+t+"px, "+r+"px)",...eA(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,a,D.floating,c.x,c.y]);return t.useMemo(()=>({...c,update:T,refs:M,elements:D,floatingStyles:H}),[c,T,M,D,H])}({strategy:"fixed",placement:$+("center"!==B?"-"+B:""),whileElementsMounted:(...e)=>(function(e,t,r,o){let s;void 0===o&&(o={});let{ancestorScroll:a=!0,ancestorResize:f=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:d=!1}=o,h=ei(e),p=a||f?[...h?et(h):[],...et(t)]:[];
1p.forEach(e=>{a&&e.addEventListener("scroll",r,{passive:!0}),f&&e.addEventListener("resize",r)});let m=h&&c?function(e,t){let r,o=null,s=H(e);function a(){var e;clearTimeout(r),null==(e=o)||e.disconnect(),o=null}return!function f(u,c){void 0===u&&(u=!1),void 0===c&&(c=1),a();let d=e.getBoundingClientRect(),{left:h,top:p,width:m,height:g}=d;if(u||t(),!m||!g)return;let y={rootMargin:-l(p)+"px "+-l(s.clientWidth-(h+m))+"px "+-l(s.clientHeight-(p+g))+"px "+-l(h)+"px",threshold:i(0,n(1,c))||1},w=!0;function x(t){let n=t[0].intersectionRatio;if(n!==c){if(!w)return f();n?f(!1,n):r=setTimeout(()=>{f(!1,1e-7)},1e3)}1!==n||ew(d,e.getBoundingClientRect())||f(),w=!1}try{o=new IntersectionObserver(x,{...y,root:s.ownerDocument})}catch(e){o=new IntersectionObserver(x,y)}o.observe(e)}(!0),a}(h,r):null,g=-1,y=null;u&&(y=new ResizeObserver(e=>{let[n]=e;n&&n.target===h&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),r()}),h&&!d&&y.observe(h),y.observe(t));let w=d?ea(e):null;return d&&function t(){let n=ea(e);w&&!ew(w,n)&&r(),w=n,s=requestAnimationFrame(t)}(),r(),()=>{var e;p.forEach(e=>{a&&e.removeEventListener("scroll",r),f&&e.removeEventListener("resize",r)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(s)}})(...e,{animationFrame:"always"===K}),elements:{reference:J.anchor},middleware:[{...{name:"offset",options:s=o={mainAxis:F+ef,alignmentAxis:V},async fn(e){var t,r;let{x:n,y:i,placement:o,middlewareData:l}=e,a=await T(e,s);return o===(null==(t=l.offset)?void 0:t.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:n+a.x,y:i+a.y,data:{...a,placement:o}}}},options:[o,void 0]},_&&{...{name:"shift",options:m=f={mainAxis:!0,crossAxis:!1,limiter:"partial"===q?{...(a=void 0,{options:a={},fn(e){let{x:t,y:r,placement:n,rects:i,middlewareData:o}=e,{offset:l=0,mainAxis:s=!0,crossAxis:f=!0}=u(a,e),d={x:t,y:r},p=g(n),m=h(p),y=d[m],w=d[p],x=u(l,e),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(s){let e="y"===m?"height":"width",t=i.reference[m]-i.floating[e]+v.mainAxis,r=i.reference[m]+i.reference[e]-v.mainAxis;y<t?y=t:y>r&&(y=r)}if(f){var b,R;let e="y"===m?"width":"height",t=E.has(c(n)),r=i.reference[p]-i.floating[e]+(t&&(null==(b=o.offset)?void 0:b[p])||0)+(t?0:v.crossAxis),l=i.reference[p]+i.reference[e]+(t?0:(null==(R=o.offset)?void 0:R[p])||0)-(t?v.crossAxis:0);w<r?w=r:w>l&&(w=l)}return{[m]:y,[p]:w}}}),options:[void 0,void 0]}:void 0,...eh},async fn(e){let{x:t,y:r,placement:o}=e,{mainAxis:l=!0,crossAxis:s=!1,limiter:a={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...f}=u(m,e),d={x:t,y:r},p=await O(e,f),y=g(c(o)),w=h(y),x=d[w],v=d[y];if(l){let e="y"===w?"top":"left",t="y"===w?"bottom":"right",r=x+p[e],o=x-p[t];x=i(r,n(x,o))}if(s){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",r=v+p[e],o=v-p[t];v=i(r,n(v,o))}let b=a.fn({...e,[w]:x,[y]:v});return{...b,data:{x:b.x-t,y:b.y-r,enabled:{[w]:l,[y]:s}}}}},options:[f,void 0]},_&&{...{name:"flip",options:S=A={...eh},async fn(e){var t,r,n,i,o,l,s,a;let f,m,A,{placement:C,middlewareData:k,rects:L,initialPlacement:P,platform:E,elements:T}=e,{mainAxis:z=!0,crossAxis:M=!0,fallbackPlacements:D,fallbackStrategy:H="bestFit",fallbackAxisSideDirection:j="none",flipAlignment:W=!0,...N}=u(S,e);if(null!=(t=k.arrow)&&t.alignmentOffset)return{};let $=c(C),F=g(P),B=c(P)===P,V=await (null==E.isRTL?void 0:E.isRTL(T.floating)),I=D||(B||!W?[R(P)]:(f=R(P),[y(P),f,y(f)])),_="none"!==j;!D&&_&&I.push(...(m=d(P),A=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?x:w;return t?w:x;case"left":case"right":return t?v:b;default:return[]}}(c(P),"start"===j,V),m&&(A=A.map(e=>e+"-"+m),W&&(A=A.concat(A.map(y)))),A));let Y=[P,...I],U=await O(e,N),q=[],X=(null==(r=k.flip)?void 0:r.overflows)||[];if(z&&q.push(U[$]),M){let e,t,r,n,i=(l=C,s=L,void 0===(a=V)&&(a=!1),e=d(l),r=p(t=h(g(l))),n="x"===t?e===(a?"end":"start")?"right":"left":"start"===e?"bottom":"top",s.reference[r]>s.floating[r]&&(n=R(n)),[n,R(n)]);q.push(U[i[0]],U[i[1]])}if(X=[...X,{placement:C,overflows:q}],!q.every(e=>e<=0)){let e=((null==(n=k.flip)?void 0:n.index)||0)+1,t=Y[e];
1if(t&&("alignment"!==M||F===g(t)||X.every(e=>g(e.placement)!==F||e.overflows[0]>0)))return{data:{index:e,overflows:X},reset:{placement:t}};let r=null==(i=X.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(H){case"bestFit":{let e=null==(o=X.filter(e=>{if(_){let t=g(e.placement);return t===F||"y"===t}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])?void 0:o[0];e&&(r=e);break}case"initialPlacement":r=P}if(C!==r)return{reset:{placement:r}}}return{}}},options:[A,void 0]},{...{name:"size",options:z=C={...eh,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:i,height:o}=t.reference,l=e.floating.style;l.setProperty("--radix-popper-available-width",`${r}px`),l.setProperty("--radix-popper-available-height",`${n}px`),l.setProperty("--radix-popper-anchor-width",`${i}px`),l.setProperty("--radix-popper-anchor-height",`${o}px`)}},async fn(e){var t,r;let o,l,{placement:s,rects:a,platform:f,elements:h}=e,{apply:p=()=>{},...m}=u(z,e),y=await O(e,m),w=c(s),x=d(s),v="y"===g(s),{width:b,height:R}=a.floating;"top"===w||"bottom"===w?(o=w,l=x===(await (null==f.isRTL?void 0:f.isRTL(h.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=n(R-y[o],A),k=n(b-y[l],S),L=!e.middlewareData.shift,P=C,E=k;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(E=S),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(P=A),L&&!x){let e=i(y.left,0),t=i(y.right,0),r=i(y.top,0),n=i(y.bottom,0);v?E=b-2*(0!==e||0!==t?e+t:i(y.left,y.right)):P=R-2*(0!==r||0!==n?r+n:i(y.top,y.bottom))}await p({...e,availableWidth:E,availableHeight:P});let T=await f.getDimensions(h.floating);return b!==T.width||R!==T.height?{reset:{rects:!0}}:{}}},options:[C,void 0]},en&&{...{name:"arrow",options:D=M={element:en,padding:I},fn(e){let{element:t,padding:r}="function"==typeof D?D(e):D;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?ex({element:t.current,padding:r}).fn(e):{}:t?ex({element:t,padding:r}).fn(e):{}}},options:[M,void 0]},eK({arrowWidth:es,arrowHeight:ef}),X&&{...{name:"hide",options:W=j={strategy:"referenceHidden",...eh},async fn(e){let{rects:t}=e,{strategy:r="referenceHidden",...n}=u(W,e);switch(r){case"referenceHidden":{let r=L(await O(e,{...n,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:P(r)}}}case"escaped":{let r=L(await O(e,{...n,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:P(r)}}}default:return{}}}},options:[j,void 0]}]}),[eM,eD]=eZ(eg),eH=(0,eT.useCallbackRef)(Z);(0,ez.useLayoutEffect)(()=>{eL&&eH?.()},[eL,eH]);let ej=eE.arrow?.x,eN=eE.arrow?.y,e$=eE.arrow?.centerOffset!==0,[eF,eI]=t.useState();return(0,ez.useLayoutEffect)(()=>{Q&&eI(window.getComputedStyle(Q).zIndex)},[Q]),(0,eO.jsx)("div",{ref:ep.setFloating,"data-radix-popper-content-wrapper":"",style:{...em,transform:eL?em.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eF,"--radix-popper-transform-origin":[eE.transformOrigin?.x,eE.transformOrigin?.y].join(" "),...eE.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eO.jsx)(eV,{scope:N,placedSide:eM,onArrowChange:eo,arrowX:ej,arrowY:eN,shouldHideArrow:e$,children:(0,eO.jsx)(ek.Primitive.div,{"data-side":eM,"data-align":eD,...G,ref:er,style:{...G.style,animation:eL?void 0:"none"}})})})});e_.displayName=eB;var eY="PopperArrow",eU={top:"bottom",right:"left",bottom:"top",left:"right"},eq=t.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,i=eI(eY,r),o=eU[i.placedSide];return(0,eO.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,eO.jsx)(eL,{...n,ref:t,style:{...n.style,display:"block"}})})});function eX(e){return null!==e}eq.displayName=eY;var eK=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,l=o?0:e.arrowWidth,s=o?0:e.arrowHeight,[a,f]=eZ(r),u={start:"0%",center:"50%",end:"100%"}[f],c=(i.arrow?.x??0)+l/2,d=(i.arrow?.y??0)+s/2,h="",p="";return"bottom"===a?(h=o?u:`${c}px`,p=`${-s}px`):"top"===a?(h=o?u:`${c}px`,p=`${n.floating.height+s}px`):"right"===a?(h=`${-s}px`,p=o?u:`${d}px`):"left"===a&&(h=`${n.floating.width+s}px`,p=o?u:`${d}px`),{data:{x:h,y:p}}}});function eZ(e){let[t,r="center"]=e.split("-");return[t,r]}e.s(["Anchor",()=>eF,"Arrow",()=>eq,"Content",()=>e_,"Root",()=>eN,"createPopperScope",()=>eH],301345)},357784,e=>{"use strict";var t=e.i(505034),r=e.i(156207),n=e.i(144977),i=e.i(93074),o=e.i(14270);function l(e){let l=e+"CollectionProvider",[s,a]=(0,r.createContextScope)(l),[f,u]=s(l,{collectionRef:{current:null},itemMap:new Map}),c=e=>{let{scope:r,children:n}=e,i=t.default.useRef(null),l=t.default.useRef(new Map).current;return(0,o.jsx)(f,{scope:r,itemMap:l,collectionRef:i,children:n})};c.displayName=l;let d=e+"CollectionSlot",h=(0,i.createSlot)(d),p=t.default.forwardRef((e,t)=>
1{let{scope:r,children:i}=e,l=u(d,r),s=(0,n.useComposedRefs)(t,l.collectionRef);return(0,o.jsx)(h,{ref:s,children:i})});p.displayName=d;let m=e+"CollectionItemSlot",g="data-radix-collection-item",y=(0,i.createSlot)(m),w=t.default.forwardRef((e,r)=>{let{scope:i,children:l,...s}=e,a=t.default.useRef(null),f=(0,n.useComposedRefs)(r,a),c=u(m,i);return t.default.useEffect(()=>(c.itemMap.set(a,{ref:a,...s}),()=>void c.itemMap.delete(a))),(0,o.jsx)(y,{...{[g]:""},ref:f,children:l})});return w.displayName=m,[{Provider:c,Slot:p,ItemSlot:w},function(r){let n=u(e+"CollectionConsumer",r);return t.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},a]}var s=new WeakMap;function a(e,t){var r,n;let i,o,l;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let s=(r=e,n=t,i=r.length,(l=(o=f(n))>=0?o:i+o)<0||l>=i?-1:l);return -1===s?void 0:e[s]}function f(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],s.set(this,!0)}set(e,t){return s.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,i=this.has(t),o=this.#e.length,l=f(e),s=l>=0?l:o+l,a=s<0||s>=o?-1:s;if(a===this.size||i&&a===this.size-1||-1===a)return this.set(t,r),this;let u=this.size+ +!i;l<0&&s++;let c=[...this.#e],d=!1;for(let e=s;e<u;e++)if(s===e){let o=c[e];c[e]===t&&(o=c[e+1]),i&&this.delete(t),n=this.get(o),this.set(t,r)}else{d||c[e-1]!==t||(d=!0);let r=c[d?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=a(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=a(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return a(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(...e){let[t,r]=e,n=0,i=r??this.at(0);for(let r of this)i=0===n&&1===e.length?r:Reflect.apply(t,this,[i,r,n,this]),n++;return i}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);n=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[n,i,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}}),e.s(["createCollection",()=>l])},337755,297267,e=>{"use strict";var t=e.i(505034);function r(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}e.s(["usePrevious",()=>r],337755);var n=e.i(556872),i=e.i(14270),o=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),l=t.forwardRef((e,t)=>
1(0,i.jsx)(n.Primitive.span,{...e,ref:t,style:{...o,...e.style}}));l.displayName="VisuallyHidden",e.s(["Root",()=>l,"VISUALLY_HIDDEN_STYLES",()=>o],297267)},339185,e=>{"use strict";var t=e.i(505034);let r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},n=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,t.forwardRef)(({color:e="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:l,className:s="",children:a,iconNode:f,...u},c)=>(0,t.createElement)("svg",{ref:c,...i,width:r,height:r,stroke:e,strokeWidth:l?24*Number(o)/Number(r):o,className:n("lucide",s),...!a&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(u)&&{"aria-hidden":"true"},...u},[...f.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(a)?a:[a]])),l=(e,i)=>{let l=(0,t.forwardRef)(({className:l,...s},a)=>(0,t.createElement)(o,{ref:a,iconNode:i,className:n(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,l),...s}));return l.displayName=r(e),l};e.s(["default",()=>l],339185)},99868,e=>{"use strict";let t=(0,e.i(339185).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",()=>t])},961542,e=>{"use strict";var t=e.i(99868);e.s(["ChevronDown",()=>t.default])}]);
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.