1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,422957,e=>{"use strict";let t=["top","right","bottom","left"],n=t.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),r=Math.min,i=Math.max,o=Math.round,l=Math.floor,a=e=>({x:e,y:e}),f={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function c(e,t){return"function"==typeof e?e(t):e}function u(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}let m=new Set(["top","bottom"]);function g(e){return m.has(u(e))?"y":"x"}function w(e,t,n){void 0===n&&(n=!1);let r=d(e),i=p(g(e)),o=h(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=A(l)),[l,A(l)]}function y(e){return e.replace(/start|end/g,e=>s[e])}let x=["left","right"],v=["right","left"],b=["top","bottom"],R=["bottom","top"];function A(e){return e.replace(/left|right|bottom|top/g,e=>f[e])}function S(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function P(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function C(e,t,n){let r,{reference:i,floating:o}=e,l=g(t),a=p(g(t)),f=h(a),s=u(t),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(t)){case"start":r[a]-=y*(n&&c?-1:1);break;case"end":r[a]+=y*(n&&c?-1:1)}return r}let T=async(e,t,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(t)),s=await l.getElementRects({reference:e,floating:t,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:w,data:y,reset:x}=await m({x:c,y:u,initialPlacement:r,placement:d,strategy:i,middlewareData:p,rects:s,platform:l,elements:{reference:e,floating:t}});c=null!=g?g:c,u=null!=w?w:u,p={...p,[o]:{...p[o],...y}},x&&h<=50&&(h++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await l.getElementRects({reference:e,floating:t,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(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:f}=e,{boundary:s="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=c(t,e),m=S(h),g=a[p?"floating"===d?"reference":"floating":d],w=P(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=P(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}}function E(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function O(e){return t.some(t=>e[t]>=0)}function D(e){let t=r(...e.map(e=>e.left)),n=r(...e.map(e=>e.top));return{x:t,y:n,width:i(...e.map(e=>e.right))-t,height:i(...e.map(e=>e.bottom))-n}}let H=new Set(["left","top"]);async function k(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=u(n),a=d(n),f="y"===g(n),s=H.has(l)?-1:1,p=o&&f?-1:1,h=c(t,e),{mainAxis:m,crossAxis:w,alignmentAxis:y}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}
1:{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 F(){return"u">typeof window}function j(e){return $(e)?(e.nodeName||"").toLowerCase():"#document"}function M(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function W(e){var t;return null==(t=($(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function $(e){return!!F()&&(e instanceof Node||e instanceof M(e).Node)}function B(e){return!!F()&&(e instanceof Element||e instanceof M(e).Element)}function z(e){return!!F()&&(e instanceof HTMLElement||e instanceof M(e).HTMLElement)}function N(e){return!(!F()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof M(e).ShadowRoot)}let V=new Set(["inline","contents"]);function I(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=ee(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!V.has(i)}let Y=new Set(["table","td","th"]),_=[":popover-open",":modal"];function U(e){return _.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let X=["transform","translate","scale","rotate","perspective"],q=["transform","translate","scale","rotate","perspective","filter"],K=["paint","layout","strict","content"];function G(e){let t=J(),n=B(e)?ee(e):e;return X.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||q.some(e=>(n.willChange||"").includes(e))||K.some(e=>(n.contain||"").includes(e))}function J(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let Q=new Set(["html","body","#document"]);function Z(e){return Q.has(j(e))}function ee(e){return M(e).getComputedStyle(e)}function et(e){return B(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function en(e){if("html"===j(e))return e;let t=e.assignedSlot||e.parentNode||N(e)&&e.host||W(e);return N(t)?t.host:t}function er(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=en(t);return Z(n)?t.ownerDocument?t.ownerDocument.body:t.body:z(n)&&I(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=M(i);if(o){let e=ei(l);return t.concat(l,l.visualViewport||[],I(i)?i:[],e&&n?er(e):[])}return t.concat(i,er(i,[],n))}function ei(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eo(e){let t=ee(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=z(e),l=i?e.offsetWidth:n,a=i?e.offsetHeight:r,f
1=o(n)!==l||o(r)!==a;return f&&(n=l,r=a),{width:n,height:r,$:f}}function el(e){return B(e)?e:e.contextElement}function ea(e){let t=el(e);if(!z(t))return a(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:l}=eo(t),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 ef=a(0);function es(e){let t=M(e);return J()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ef}function ec(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=el(e),f=a(1);t&&(r?B(r)&&(f=ea(r)):f=ea(e));let s=(void 0===(i=n)&&(i=!1),r&&(!i||r===M(l))&&i)?es(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 e=M(l),t=r&&B(r)?M(r):r,n=e,i=ei(n);for(;i&&r&&t!==n;){let e=ea(i),t=i.getBoundingClientRect(),r=ee(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,u*=e.y,d*=e.x,p*=e.y,c+=o,u+=l,i=ei(n=M(i))}}return P({width:d,height:p,x:c,y:u})}function eu(e,t){let n=et(e).scrollLeft;return t?t.left+n:ec(W(e)).left+n}function ed(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-eu(e,n),y:n.top+t.scrollTop}}let ep=new Set(["absolute","fixed"]);function eh(e,t,n){var r;let o;if("viewport"===t)o=function(e,t){let n=M(e),r=W(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,f=0;if(i){o=i.width,l=i.height;let e=J();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,f=i.offsetTop)}let s=eu(r);if(s<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-i);l<=25&&(o-=l)}else s<=25&&(o+=s);return{width:o,height:l,x:a,y:f}}(e,n);else if("document"===t){let t,n,l,a,f,s,c;r=W(e),t=W(r),n=et(r),l=r.ownerDocument.body,a=i(t.scrollWidth,t.clientWidth,l.scrollWidth,l.clientWidth),f=i(t.scrollHeight,t.clientHeight,l.scrollHeight,l.clientHeight),s=-n.scrollLeft+eu(r),c=-n.scrollTop,"rtl"===ee(l).direction&&(s+=i(t.clientWidth,l.clientWidth)-a),o={width:a,height:f,x:s,y:c}}else if(B(t)){let e,r,i,l,f,s;r=(e=ec(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,l=z(t)?ea(t):a(1),f=t.clientWidth*l.x,s=t.clientHeight*l.y,o={width:f,height:s,x:i*l.x,y:r*l.y}}else{let n=es(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return P(o)}function em(e){return"static"===ee(e).position}function eg(e,t){if(!z(e)||"fixed"===ee(e).position)return null;if(t)return t(e);let n=e.offsetParent;return W(e)===n&&(n=n.ownerDocument.body),n}function ew(e,t){var n;let r=M(e);if(U(e))return r;if(!z(e)){let t=en(e);for(;t&&!Z(t);){if(B(t)&&!em(t))return t;t=en(t)}return r}let i=eg(e,t);for(;i&&(n=i,Y.has(j(n)))&&em(i);)i=eg(i,t);return i&&Z(i)&&em(i)&&!G(i)?r:i||function(e){let t=en(e);for(;z(t)&&!Z(t);){if(G(t))return t;if(U(t))break;t=en(t)}return null}(e)||r}let ey=async function(e){let t=this.getOffsetParent||ew,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=z(t),i=W(t),o="fixed"===n,l=ec(e,!0,o,t),f={scrollLeft:0,scrollTop:0},s=a(0);if(r||!r&&!o)if(("body"!==j(t)||I(i))&&(f=et(t)),r){let e=ec(t,!0,o,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=eu(i));o&&!r&&i&&(s.x=eu(i));let c=!i||r||o?a(0):ed(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}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ex={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=W(r),f=!!t&&U(t.floating);if(r===l||f&&o)return n;let s={scrollLeft:0,scrollTop:0},c=a(1),u=a(0),d=z(r);if((d||!d&&!o)&&(("body"!==j(r)||I(l))&&(s=et(r)),z(r))){let e=ec(r);c=ea(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let p=!l||d||o?a(0):ed(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:W,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:l}=e,a=[..."clippingAncestors"===n?U(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=er(e,[],!1).filter(e=>B(e)&&"body"!==j(e)),i=null,o="fixed"===ee(e).position,l=o?en(e):e;for(;B(l)&&!Z(l);){let t=ee(l),n=G(l);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&ep.has(i.position)||I(l)&&!n&&function e(t,n){let r=en(t);return!(r===n||!B(r)||Z(r))&&("fixed"===ee(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):i=t,l=en(l)}return t.set(e,r),r}(t,this._c):[].concat(n),o],f=a[0],s=a.reduce((e,n)=>{let o=eh(t,n,l);return e.top=i(o.top,e.top),e.right=r(o.right,e.right),e.bottom=r(o.bottom,e.bottom),e.left=i(o.left,e.left),e},eh(t,f,l));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:ew,getElementRects:ey,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=eo(e);return{width:t,height:n}},getScale:ea,isElement:B,isRTL:function(e){return"rtl"===ee(e).direction}};function ev(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function eb(e,t,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=el(e),h=f||s?[...p?er(p):[],...er(t)]:[];
1h.forEach(e=>{f&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let m=p&&u?function(e,t){let n,o=null,a=W(e);function f(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return!function s(c,u){void 0===c&&(c=!1),void 0===u&&(u=1),f();let d=e.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(c||t(),!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(t){let r=t[0].intersectionRatio;if(r!==u){if(!y)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||ev(d,e.getBoundingClientRect())||s(),y=!1}try{o=new IntersectionObserver(x,{...w,root:a.ownerDocument})}catch(e){o=new IntersectionObserver(x,w)}o.observe(e)}(!0),f}(p,n):null,g=-1,w=null;c&&(w=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&w&&(w.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=w)||e.observe(t)})),n()}),p&&!d&&w.observe(p),w.observe(t));let y=d?ec(e):null;return d&&function t(){let r=ec(e);y&&!ev(y,r)&&n(),y=r,a=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{f&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=w)||e.disconnect(),w=null,d&&cancelAnimationFrame(a)}}let eR=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:a}=t,f=await k(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+f.x,y:o+f.y,data:{...f,placement:l}}}}},eA=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,i,o,l;let{rects:a,middlewareData:f,placement:s,platform:p,elements:h}=t,{crossAxis:m=!1,alignment:g,allowedPlacements:x=n,autoAlignment:v=!0,...b}=c(e,t),R=void 0!==g||x===n?((l=g||null)?[...x.filter(e=>d(e)===l),...x.filter(e=>d(e)!==l)]:x.filter(e=>u(e)===e)).filter(e=>!l||d(e)===l||!!v&&y(e)!==e):x,A=await L(t,b),S=(null==(r=f.autoPlacement)?void 0:r.index)||0,P=R[S];if(null==P)return{};let C=w(P,a,await (null==p.isRTL?void 0:p.isRTL(h.floating)));if(s!==P)return{reset:{placement:R[0]}};let T=[A[u(P)],A[C[0]],A[C[1]]],E=[...(null==(i=f.autoPlacement)?void 0:i.overflows)||[],{placement:P,overflows:T}],O=R[S+1];if(O)return{data:{index:S+1,overflows:E},reset:{placement:O}};let D=E.map(e=>{let t=d(e.placement);return[e.placement,t&&m?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),H=(null==(o=D.filter(e=>e[2].slice(0,d(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||D[0][0];return H!==s?{data:{index:S+1,overflows:E},reset:{placement:H}}:{}}}},eS=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:o,placement:l}=t,{mainAxis:a=!0,crossAxis:f=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=c(e,t),h={x:n,y:o},m=await L(t,d),w=g(u(l)),y=p(w),x=h[y],v=h[w];if(a){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=x+m[e],o=x-m[t];x=i(n,r(x,o))}if(f){let e="y"===w?"top":"left",t="y"===w?"bottom":"right",n=v+m[e],o=v-m[t];v=i(n,r(v,o))}let b=s.fn({...t,[y]:x,[w]:v});return{...b,data:{x:b.x-n,y:b.y-o,enabled:{[y]:a,[w]:f}}}}}},eP=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,l;let a,f,s,{placement:p,middlewareData:h,rects:m,initialPlacement:S,platform:P,elements:C}=t,{mainAxis:T=!0,crossAxis:E=!0,fallbackPlacements:O,fallbackStrategy:D="bestFit",fallbackAxisSideDirection:H="none",flipAlignment:k=!0,...F}=c(e,t);if(null!=(n=h.arrow)&&n.alignmentOffset)return{};let j=u(p),M=g(S),W=u(S)===S,$=await (null==P.isRTL?void 0:P.isRTL(C.floating)),B=O||(W||!k?[A(S)]:(a=A(S),[y(S),a,y(a)])),z="none"!==H;!O&&z&&B.push(...(f=d(S),s=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?v:x;return t?x:v;case"left":case"right":return t?b:R;default:return[]}}(u(S),"start"===H,$),f&&(s=s.map(e=>e+"-"+f),k&&(s=s.concat(s.map(y)))),s));let N=[S,...B],V=await L(t,F),I=[],Y=(null==(r=h.flip)?void 0:r.overflows)||[];if(T&&I.push(V[j]),E){let e=w(p,m,$);I.push(V[e[0]],V[e[1]])}if(Y=[...Y,{placement:p,overflows:I}],!I.every(e=>e<=0)){let e=((null==(i=h.flip)?void 0:i.index)||0)+1,t=N[e];if(t&&("alignment"!==E||M===g(t)||Y.every(e=>g(e.placement)!==M||e.overflows[0]>0)))return{data:{index:e,overflows:Y},reset:{placement:t}};let n=null==(o=Y.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(D){case"bestFit":{let e=null==(l=Y.filter(e=>{if(z){let t=g(e.placement);return t===M||"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:l[0];e&&(n=e);break}case"initialPlacement":n=S}if(p!==n)return{reset:{placement:n}}}return{}}}},eC=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,o;let l,a,{placement:f,rects:s,platform:p,elements:h}=t,{apply:m=()=>{},...w}=c(e,t),y=await L(t,w),x=u(f),v=d(f),b="y"===g(f),{width:R,height:A}=s.floating;"top"===x||"bottom"===x?(l=x,a=v===(await (null==p.isRTL?void 0:p.isRTL(h.floating))?"start":"end")?"left":"right"):(a=x,l="end"===v?"top":"bottom");let S=A-y.top-y.bottom,P=R-y.left-y.right,C=r(A-y[l],S),T=r(R-y[a],P),E=!t.middlewareData.shift,O=C,D=T;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(D=P),null!=(o=t.middlewareData.shift)&&o.enabled.y&&(O=S),E&&!v){let e=i(y.left,0),t=i(y.right,0),n=i(y.top,0),r=i(y.bottom,0);b?D=R-2*(0!==e||0!==t?e+t:i(y.left,y.right)):O=A-2*(0!==n||0!==r?n+r:i(y.top,y.bottom))}await m({...t,availableWidth:D,availableHeight:O});let H=await p.getDimensions(h.floating);return R!==H.width||A!==H.height?{reset:{rects:!0}}:{}}}},eT=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...i}=c(e,t);switch(r){case"referenceHidden":{let e=E(await L(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:O(e)}}}case"escaped":{let e=E(await L(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:O(e)}}}default:return{}}}}},eL=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:o,placement:l,rects:a,platform:f,elements:s,middlewareData:u}=t,{element:m,padding:w=0}=c(e,t)||{};if(null==m)return{};let y=S(w),x={x:n,y:o},v=p(g(l)),b=h(v),R=await f.getDimensions(m),A="y"===v,P=A?"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)),E=L?L[P]:0;E&&await (null==f.isElement?void 0:f.isElement(L))||(E=s.floating[P]||a.floating[b]);let O=E/2-R[b]/2-1,D=r(y[A?"top":"left"],O),H=r(y[A?"bottom":"right"],O),k=E-R[b]-H,F=E/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}}}),eE=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:o,rects:l,platform:a,strategy:f}=t,{padding:s=2,x:d,y:p}=c(e,t),h=Array.from(await (null==a.getClientRects?void 0:a.getClientRects(o.reference))||[]),m=function(e){let t=e.slice().sort((e,t)=>e.y-t.y),n=[],r=null;for(let e=0;e<t.length;e++){let i=t[e];!r||i.y-r.y>r.height/2?n.push([i]):n[n.length-1].push(i),r=i}return n.map(e=>P(D(e)))}(h),w=P(D(h)),y=S(s),x=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===m.length&&m[0].left>m[1].right&&null!=d&&null!=p)return m.find(e=>d>e.left-y.left&&d<e.right+y.right&&p>e.top-y.top&&p<e.bottom+y.bottom)||w;if(m.length>=2){if("y"===g(n)){let e=m[0],t=m[m.length-1],r="top"===u(n),i=e.top,o=t.bottom,l=r?e.left:t.left,a=r?e.right:t.right;return{top:i,bottom:o,left:l,right:a,width:a-l,height:o-i,x:l,y:i}}let e="left"===u(n),t=i(...m.map(e=>e.right)),o=r(...m.map(e=>e.left)),l=m.filter(n=>e?n.left===o:n.right===t),a=l[0].top,f=l[l.length-1].bottom;return{top:a,bottom:f,left:o,right:t,width:t-o,height:f-a,x:o,y:a}}return w}},floating:o.floating,strategy:f});return l.reference.x!==x.reference.x||l.reference.y!==x.reference.y||l.reference.width!==x.reference.width||l.reference.height!==x.reference.height?{reset:{rects:x}}:{}}}},eO=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:l}=t,{offset:a=0,mainAxis:f=!0,crossAxis:s=!0}=c(e,t),d={x:n,y:r},h=g(i),m=p(h),w=d[m],y=d[h],x=c(a,t),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(f){let e="y"===m?"height":"width",t=o.reference[m]-o.floating[e]+v.mainAxis,n=o.reference[m]+o.reference[e]-v.mainAxis;w<t?w=t:w>n&&(w=n)}if(s){var b,R;let e="y"===m?"width":"height",t=H.has(u(i)),n=o.reference[h]-o.floating[e]+(t&&(null==(b=l.offset)?void 0:b[h])||0)+(t?0:v.crossAxis),r=o.reference[h]+o.reference[e]+(t?0:(null==(R=l.offset)?void 0:R[h])||0)-(t?v.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[m]:w,[h]:y}}}},eD=(e,t,n)=>{let r=new Map,i={platform:ex,...n},o={...i.platform,_c:r};return T(e,t,{...i,platform:o})};e.s(["arrow",()=>eL,"autoPlacement",()=>eA,"autoUpdate",()=>eb,"computePosition",()=>eD,"flip",()=>eP,"hide",()=>eT,"inline",()=>eE,"limitShift",()=>eO,"offset",()=>eR,"shift",()=>eS,"size",()=>eC],422957)},39315,e=>{"use strict";var t=e.i(200130),n=e.i(422957),r=e.i(360924),i="u">typeof document?t.useLayoutEffect:function(){};function o(e,t){let n,r,i;if(e===t)return!0;
1if(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((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!o(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!o(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function l(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function a(e,t){let n=l(e);return Math.round(t*n)/n}function f(e){let n=t.useRef(e);return i(()=>{n.current=e}),n}var s=e.i(114531),c=e.i(751879),u=t.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,c.jsx)(s.Primitive.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,c.jsx)("polygon",{points:"0,0 30,0 15,10"})})});u.displayName="Arrow";var d=e.i(634056),p=e.i(62522),h=e.i(834820),m=e.i(56873),g=e.i(522521),w="Popper",[y,x]=(0,p.createContextScope)(w),[v,b]=y(w),R=e=>{let{__scopePopper:n,children:r}=e,[i,o]=t.useState(null);return(0,c.jsx)(v,{scope:n,anchor:i,onAnchorChange:o,children:r})};R.displayName=w;var A="PopperAnchor",S=t.forwardRef((e,n)=>{let{__scopePopper:r,virtualRef:i,...o}=e,l=b(A,r),a=t.useRef(null),f=(0,d.useComposedRefs)(n,a),u=t.useRef(null);return t.useEffect(()=>{let e=u.current;u.current=i?.current||a.current,e!==u.current&&l.onAnchorChange(u.current)}),i?null:(0,c.jsx)(s.Primitive.div,{...o,ref:f})});S.displayName=A;var P="PopperContent",[C,T]=y(P),L=t.forwardRef((e,u)=>{var p,w;let y,x,v,R,A,{__scopePopper:S,side:T="bottom",sideOffset:L=0,align:E="center",alignOffset:O=0,arrowPadding:D=0,avoidCollisions:j=!0,collisionBoundary:M=[],collisionPadding:W=0,sticky:$="partial",hideWhenDetached:B=!1,updatePositionStrategy:z="optimized",onPlaced:N,...V}=e,I=b(P,S),[Y,_]=t.useState(null),U=(0,d.useComposedRefs)(u,e=>_(e)),[X,q]=t.useState(null),K=(0,g.useSize)(X),G=K?.width??0,J=K?.height??0,Q="number"==typeof W?W:{top:0,right:0,bottom:0,left:0,...W},Z=Array.isArray(M)?M:[M],ee=Z.length>0,et={padding:Q,boundary:Z.filter(H),altBoundary:ee},{refs:en,floatingStyles:er,placement:ei,isPositioned:eo,middlewareData:el}=function(e){void 0===e&&(e={});let{placement:s="bottom",strategy:c="absolute",middleware:u=[],platform:d,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:g,open:w}=e,[y,x]=t.useState({x:0,y:0,strategy:c,placement:s,middlewareData:{},isPositioned:!1}),[v,b]=t.useState(u);o(v,u)||b(u);let[R,A]=t.useState(null),[S,P]=t.useState(null),C=t.useCallback(e=>{e!==O.current&&(O.current=e,A(e))},[]),T=t.useCallback(e=>{e!==D.current&&(D.current=e,P(e))},[]),L=p||R,E=h||S,O=t.useRef(null),D=t.useRef(null),H=t.useRef(y),k=null!=g,F=f(g),j=f(d),M=f(w),W=t.useCallback(()=>{if(!O.current||!D.current)return;let e={placement:s,strategy:c,middleware:v};j.current&&(e.platform=j.current),(0,n.computePosition)(O.current,D.current,e).then(e=>{let t={...e,isPositioned:!1!==M.current};$.current&&!o(H.current,t)&&(H.current=t,r.flushSync(()=>{x(t)}))})},[v,s,c,j,M]);i(()=>{!1===w&&H.current.isPositioned&&(H.current.isPositioned=!1,x(e=>({...e,isPositioned:!1})))},[w]);let $=t.useRef(!1);i(()=>($.current=!0,()=>{$.current=!1}),[]),i(()=>{if(L&&(O.current=L),E&&(D.current=E),L&&E){if(F.current)return F.current(L,E,W);W()}},[L,E,W,F,k]);let B=t.useMemo(()=>({reference:O,floating:D,setReference:C,setFloating:T}),[C,T]),z=t.useMemo(()=>({reference:L,floating:E}),[L,E]),N=t.useMemo(()=>{let e={position:c,left:0,top:0};if(!z.floating)return e;let t=a(z.floating,y.x),n=a(z.floating,y.y);return m?{...e,transform:"translate("+t+"px, "+n+"px)",...l(z.floating)>=1.5&&{willChange:"transform"}}:{position:c,left:t,top:n}},[c,m,z.floating,y.x,y.y]);return t.useMemo(()=>({...y,update:W,refs:B,elements:z,floatingStyles:N}),[y,W,B,z,N])}({strategy:"fixed",placement:T+("center"!==E?"-"+E:""),whileElementsMounted:(...e)=>(0,n.autoUpdate)(...e,{animationFrame:"always"===z}),elements:{reference:I.anchor},middleware:[(y={mainAxis:L+J,alignmentAxis:O},{...(0,n.offset)(y),options:[y,void 0]}),j&&(x={mainAxis:!0,crossAxis:!1,limiter:"partial"===$?{...(0,n.limitShift)(void 0),options:[void 0,void 0]}:void 0,...et},{...(0,n.shift)(x),options:[x,void 0]}),j&&(v={...et},{...(0,n.flip)(v),options:[v,void 0]}),(R={...et,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=t.reference,l=e.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`)}},{...(0,n.size)(R),options:[R,void 0]}),X&&{...{name:"arrow",options:w=p={element:X,padding:D},fn(e){let{element:t,padding:r}="function"==typeof w?w(e):w;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?(0,n.arrow)({element:t.current,padding:r}).fn(e):{}:t?(0,n.arrow)({element:t,padding:r}).fn(e):{}}},options:[p,void 0]},k({arrowWidth:G,arrowHeight:J}),B&&(A={strategy:"referenceHidden",...et},{...(0,n.hide)(A),options:[A,void 0]})]}),[ea,ef]=F(ei),es=(0,h.useCallbackRef)(N);(0,m.useLayoutEffect)(()=>{eo&&es?.()},[eo,es]);let ec=el.arrow?.x,eu=el.arrow?.y,ed=el.arrow?.centerOffset!==0,[ep,eh]=t.useState();return(0,m.useLayoutEffect)(()=>{Y&&eh(window.getComputedStyle(Y).zIndex)},[Y]),(0,c.jsx)("div",{ref:en.setFloating,"data-radix-popper-content-wrapper":"",style:{...er,transform:eo?er.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ep,"--radix-popper-transform-origin":[el.transformOrigin?.x,el.transformOrigin?.y].join(" "),...el.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,c.jsx)(C,{scope:S,placedSide:ea,onArrowChange:q,arrowX:ec,arrowY:eu,shouldHideArrow:ed,children:(0,c.jsx)(s.Primitive.div,{"data-side":ea,"data-align":ef,...V,ref:U,style:{...V.style,animation:eo?void 0:"none"}})})})});L.displayName=P;var E="PopperArrow",O={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},D=t.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=T(E,n),o=O[i.placedSide];return(0,c.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,c.jsx)(u,{...r,ref:t,style:{...r.style,display:"block"}})})});function H(e){return null!==e}D.displayName=E;var k=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,l=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[f,s]=F(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 F(e){let[t,n="center"]=e.split("-");return[t,n]}e.s(["Anchor",()=>S,"Arrow",()=>D,"Content",()=>L,"Root",()=>R,"createPopperScope",()=>x],39315)}]);
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.