1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,35166,825339,t=>{"use strict";let e;t.s(["default",0,function(t){var e=Object.create(null);return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}],35166);let n=["top","right","bottom","left"],i=n.reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]),r=Math.min,l=Math.max,o=Math.round,f=Math.floor,a=t=>({x:t,y:t}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function u(t,e){return"function"==typeof t?t(e):t}function s(t){return t.split("-")[0]}function d(t){return t.split("-")[1]}function h(t){return"x"===t?"y":"x"}function p(t){return"y"===t?"height":"width"}function m(t){let e=t[0];return"t"===e||"b"===e?"y":"x"}function g(t,e,n){void 0===n&&(n=!1);let i=d(t),r=h(m(t)),l=p(r),o="x"===r?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[l]>e.floating[l]&&(o=R(o)),[o,R(o)]}function w(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}let y=["left","right"],v=["right","left"],x=["top","bottom"],b=["bottom","top"];function R(t){let e=s(t);return c[e]+t.slice(e.length)}function L(t){var e,n,i,r;return"number"!=typeof t?{top:null!=(e=t.top)?e:0,right:null!=(n=t.right)?n:0,bottom:null!=(i=t.bottom)?i:0,left:null!=(r=t.left)?r:0}:{top:t,right:t,bottom:t,left:t}}function T(t){let{x:e,y:n,width:i,height:r}=t;return{width:i,height:r,top:n,left:e,right:e+i,bottom:n+r,x:e,y:n}}function A(t,e,n){let i,{reference:r,floating:l}=t,o=m(e),f=h(m(e)),a=p(f),c=s(e),u=r.x+r.width/2-l.width/2,g=r.y+r.height/2-l.height/2,w=r[a]/2-l[a]/2;switch(c){case"top":i={x:u,y:r.y-l.height};break;case"bottom":i={x:u,y:r.y+r.height};break;case"right":i={x:r.x+r.width,y:g};break;case"left":i={x:r.x-l.width,y:g};break;default:i={x:r.x,y:r.y}}let y=d(e);return y&&(i[f]+=w*("end"===y?1:-1)*(n&&"y"===o?-1:1)),i}async function O(t,e){var n;void 0===e&&(e={});let{x:i,y:r,platform:l,rects:o,elements:f,strategy:a}=t,{boundary:c="clippingAncestors",rootBoundary:s="viewport",elementContext:d="floating",altBoundary:h=!1,padding:p=0}=u(e,t),m=L(p),g=f[h?"floating"===d?"reference":"floating":d],w=T(await l.getClippingRect({element:null==(n=await (null==l.isElement?void 0:l.isElement(g)))||n?g:g.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(f.floating)),boundary:c,rootBoundary:s,strategy:a})),y="floating"===d?{x:i,y:r,width:o.floating.width,height:o.floating.height}:o.reference,v=await (null==l.getOffsetParent?void 0:l.getOffsetParent(f.floating)),x=await (null==l.isElement?void 0:l.isElement(v))&&await (null==l.getScale?void 0:l.getScale(v))||{x:1,y:1},b=T(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:y,offsetParent:v,strategy:a}):y);return{top:(w.top-b.top+m.top)/x.y,bottom:(b.bottom-w.bottom+m.bottom)/x.y,left:(w.left-b.left+m.left)/x.x,right:(b.right-w.right+m.right)/x.x}}let E=async(t,e,n)=>{let{placement:i="bottom",strategy:r="absolute",middleware:l=[],platform:o}=n,f=o.detectOverflow?o:{...o,detectOverflow:O},a=await (null==o.isRTL?void 0:o.isRTL(e)),c=await o.getElementRects({reference:t,floating:e,strategy:r}),{x:u,y:s}=A(c,i,a),d=i,h=0,p={};for(let n=0;n<l.length;n++){let m=l[n];if(!m)continue;let{name:g,fn:w}=m,{x:y,y:v,data:x,reset:b}=await w({x:u,y:s,initialPlacement:i,placement:d,strategy:r,middlewareData:p,rects:c,platform:f,elements:{reference:t,floating:e}});u=null!=y?y:u,s=null!=v?v:s,p[g]={...p[g],...x},b&&h<50&&(h++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await o.getElementRects({reference:t,floating:e,strategy:r}):b.rects),{x:u,y:s}=A(c,d,a)),n=-1)}return{x:u,y:s,placement:d,strategy:r,middlewareData:p}};function C(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)}function S(t){let e=r(...t.map(t=>t.left)),n=r(...t.map(t=>t.top));return{x:e,y:n,width:l(...t.map(t=>t.right))-e,height:l(...t.map(t=>t.bottom))-n}}let D=new Set(["left","top"]);async function F(t,e){let{placement:n,platform:i,elements:r}=t,l=await (null==i.isRTL?void 0:i.isRTL(r.floating)),o=s(n),f=d(n),a="y"===m(n),c=D.has(o)?-1:1,h=l&&a?-1:1,p=u(e,t),{mainAxis:g,crossAxis:w,alignmentAxis:y}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}
1:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return f&&"number"==typeof y&&(w="end"===f?-1*y:y),a?{x:w*h,y:g*c}:{x:g*c,y:w*h}}function H(){return"u">typeof window}function M(t){return V(t)?(t.nodeName||"").toLowerCase():"#document"}function W(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function k(t){var e;return null==(e=(V(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function V(t){return!!H()&&(t instanceof Node||t instanceof W(t).Node)}function _(t){return!!H()&&(t instanceof Element||t instanceof W(t).Element)}function B(t){return!!H()&&(t instanceof HTMLElement||t instanceof W(t).HTMLElement)}function j(t){return!(!H()||"u"<typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof W(t).ShadowRoot)}function z(t){let{overflow:e,overflowX:n,overflowY:i,display:r}=X(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&"inline"!==r&&"contents"!==r}function N(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}let I=/transform|translate|scale|rotate|perspective|filter/,U=/paint|layout|strict|content/,$=t=>!!t&&"none"!==t;function q(t){let e=_(t)?X(t):t;return $(e.transform)||$(e.translate)||$(e.scale)||$(e.rotate)||$(e.perspective)||!K()&&($(e.backdropFilter)||$(e.filter))||I.test(e.willChange||"")||U.test(e.contain||"")}function K(){return null==e&&(e="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),e}function G(t){return/^(html|body|#document)$/.test(M(t))}function X(t){return W(t).getComputedStyle(t)}function Y(t){return _(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function J(t){if("html"===M(t))return t;let e=t.assignedSlot||t.parentNode||j(t)&&t.host||k(t);return j(e)?e.host:e}function Q(t,e,n){var i;void 0===e&&(e=[]),void 0===n&&(n=!0);let r=function t(e){let n=J(e);return G(n)?(e.ownerDocument||e).body:B(n)&&z(n)?n:t(n)}(t),l=r===(null==(i=t.ownerDocument)?void 0:i.body),o=W(r);if(!l)return e.concat(r,Q(r,[],n));{let t=Z(o);return e.concat(o,o.visualViewport||[],z(r)?r:[],t&&n?Q(t):[])}}function Z(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function tt(t){let e=X(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,r=B(t),l=r?t.offsetWidth:n,f=r?t.offsetHeight:i,a=o(n)!==l||o(i)!==f;return a&&(n=l,i=f),{width:n,height:i,$:a}}function te(t){return _(t)?t:t.contextElement}function tn(t){let e=te(t);if(!B(e))return a(1);let n=e.getBoundingClientRect(),{width:i,height:r,$:l}=tt(e),f=(l?o(n.width):n.width)/i,c=(l?o(n.height):n.height)/r;return f&&Number.isFinite(f)||(f=1),c&&Number.isFinite(c)||(c=1),{x:f,y:c}}let ti=a(0);function tr(t){let e=W(t);
1return K()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ti}function tl(t,e,n,i){var r;void 0===e&&(e=!1),void 0===n&&(n=!1);let l=t.getBoundingClientRect(),o=te(t),f=a(1);e&&(i?_(i)&&(f=tn(i)):f=tn(t));let c=(void 0===(r=n)&&(r=!1),i&&r&&i===W(o))?tr(o):a(0),u=(l.left+c.x)/f.x,s=(l.top+c.y)/f.y,d=l.width/f.x,h=l.height/f.y;if(o&&i){let t=W(o),e=_(i)?W(i):i,n=t,r=Z(n);for(;r&&e!==n;){let t=tn(r),e=r.getBoundingClientRect(),i=X(r),l=e.left+(r.clientLeft+parseFloat(i.paddingLeft))*t.x,o=e.top+(r.clientTop+parseFloat(i.paddingTop))*t.y;u*=t.x,s*=t.y,d*=t.x,h*=t.y,u+=l,s+=o,r=Z(n=W(r))}}return T({width:d,height:h,x:u,y:s})}function to(t,e){let n=Y(t).scrollLeft;return e?e.left+n:tl(k(t)).left+n}function tf(t,e){let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-to(t,n),y:n.top+e.scrollTop}}function ta(t,e,n){var i;let r;if("viewport"===e||"layoutViewport"===e)r=function(t,e,n){void 0===n&&(n="viewport");let i="layoutViewport"===n,r=W(t),l=k(t),o=r.visualViewport,f=l.clientWidth,a=l.clientHeight,c=0,u=0;if(o){let t=!K()||"fixed"===e;i?t||(c=-o.offsetLeft,u=-o.offsetTop):(f=o.width,a=o.height,t&&(c=o.offsetLeft,u=o.offsetTop))}if(0>=to(l)){let t=l.ownerDocument,e=t.body,n=getComputedStyle(e),i="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,r=Math.abs(l.clientWidth-e.clientWidth-i),o="stable both-edges"===getComputedStyle(l).scrollbarGutter?r/2:r;o<=25&&(f-=o)}return{width:f,height:a,x:c,y:u}}(t,n,e);else if("document"===e){let e,n,o,f,a,c;e=Y(i=k(t)),n=i.ownerDocument.body,o=l(i.scrollWidth,i.clientWidth,n.scrollWidth,n.clientWidth),f=l(i.scrollHeight,i.clientHeight,n.scrollHeight,n.clientHeight),a=-e.scrollLeft+to(i),c=-e.scrollTop,"rtl"===X(n).direction&&(a+=l(i.clientWidth,n.clientWidth)-o),r={width:o,height:f,x:a,y:c}}else if(_(e)){let t,i,l,o,f,a;i=(t=tl(e,!0,"fixed"===n)).top+e.clientTop,l=t.left+e.clientLeft,o=tn(e),f=e.clientWidth*o.x,a=e.clientHeight*o.y,r={width:f,height:a,x:l*o.x,y:i*o.y}}else{let n=tr(t);r={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return T(r)}function tc(t){return"static"===X(t).position}function tu(t,e){if(!B(t)||"fixed"===X(t).position)return null;if(e)return e(t);let n=t.offsetParent;return k(t)===n&&(n=n.ownerDocument.body),n}function ts(t,e){var n;let i=W(t);if(N(t))return i;if(!B(t)){let e=J(t);for(;e&&!G(e);){if(_(e)&&!tc(e))return e;e=J(e)}return i}let r=tu(t,e);for(;r&&(n=r,/^(table|td|th)$/.test(M(n)))&&tc(r);)r=tu(r,e);return r&&G(r)&&tc(r)&&!q(r)?i:r||function(t){let e=J(t);for(;B(e)&&!G(e);){if(q(e))return e;if(N(e))break;e=J(e)}return null}(t)||i}let td=async function(t){let e=this.getOffsetParent||ts,n=this.getDimensions,i=await n(t.floating);return{reference:function(t,e,n){let i=B(e),r=k(e),l="fixed"===n,o=tl(t,!0,l,e),f={scrollLeft:0,scrollTop:0},c=a(0);if((i||!l)&&(("body"!==M(e)||z(r))&&(f=Y(e)),i)){let t=tl(e,!0,l,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}!i&&r&&(c.x=to(r));let u=!r||i||l?a(0):tf(r,f);return{x:o.left+f.scrollLeft-c.x-u.x,y:o.top+f.scrollTop-c.y-u.y,width:o.width,height:o.height}}(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},th={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:i,strategy:r}=t,l="fixed"===r,o=k(i),f=!!e&&N(e.floating);if(i===o||f&&l)return n;let c={scrollLeft:0,scrollTop:0},u=a(1),s=a(0),d=B(i);if((d||!l)&&(("body"!==M(i)||z(o))&&(c=Y(i)),d)){let t=tl(i);u=tn(i),s.x=t.x+i.clientLeft,s.y=t.y+i.clientTop}let h=!o||d||l?a(0):tf(o,c);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+s.x+h.x,y:n.y*u.y-c.scrollTop*u.y+s.y+h.y}},getDocumentElement:k,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,f=[..."clippingAncestors"===n?N(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let i=Q(t,[],!1).filter(t=>_(t)&&"body"!==M(t)),r=null,l="fixed"===X(t).position,o=l?J(t):t;for(;_(o)&&!G(o);){let t=X(o),e=q(o),n=r?r.position:l?"fixed":"";e||"fixed"!==n&&("absolute"!==n||"static"!==t.position)?r=t:i=i.filter(t=>t!==o),o=J(o)}return e.set(t,i),i}(e,this._c):[].concat(n),i],a=ta(e,f[0],o),c=a.top,u=a.right,s=a.bottom,d=a.left;for(let t=1;t<f.length;t++){let n=ta(e,f[t],o);
1c=l(n.top,c),u=r(n.right,u),s=r(n.bottom,s),d=l(n.left,d)}return{width:u-d,height:s-c,x:d,y:c}},getOffsetParent:ts,getElementRects:td,getClientRects:function(t){return t.getClientRects?Array.from(t.getClientRects()):[]},getDimensions:function(t){let{width:e,height:n}=tt(t);return{width:e,height:n}},getScale:tn,isElement:_,isRTL:function(t){return"rtl"===X(t).direction}};function tp(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}t.s(["arrow",0,t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:o,rects:f,platform:a,elements:c,middlewareData:s}=e,{element:g,padding:w=0}=u(t,e)||{};if(null==g)return{};let y=L(w),v={x:n,y:i},x=h(m(o)),b=p(x),R=await a.getDimensions(g),T="y"===x,A=T?"clientHeight":"clientWidth",O=f.reference[b]+f.reference[x]-v[x]-f.floating[b],E=v[x]-f.reference[x],C=await (null==a.getOffsetParent?void 0:a.getOffsetParent(g)),P=C?C[A]:0;P&&await (null==a.isElement?void 0:a.isElement(C))||(P=c.floating[A]||f.floating[b]);let S=P/2-R[b]/2-1,D=r(y[T?"top":"left"],S),F=r(y[T?"bottom":"right"],S),H=P-R[b]-F,M=P/2-R[b]/2+(O/2-E/2),W=l(D,r(M,H)),k=!s.arrow&&null!=d(o)&&M!==W&&f.reference[b]/2-(M<D?D:F)-R[b]/2<0,V=k?M<D?M-D:M-H:0;return{[x]:v[x]+V,data:{[x]:W,centerOffset:M-W-V,...k&&{alignmentOffset:V}},reset:k}}}),"autoPlacement",0,function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,l,o;let{rects:f,middlewareData:a,placement:c,platform:h,elements:p}=e,{crossAxis:m=!1,alignment:y,allowedPlacements:v=i,autoAlignment:x=!0,...b}=u(t,e),R=void 0!==y||v===i?((o=y||null)?[...v.filter(t=>d(t)===o),...v.filter(t=>d(t)!==o)]:v.filter(t=>s(t)===t)).filter(t=>!o||d(t)===o||!!x&&w(t)!==t):v,L=(null==(n=a.autoPlacement)?void 0:n.index)||0,T=R[L];if(null==T)return{};if(c!==T)return{reset:{placement:R[0]}};let A=await h.detectOverflow(e,b),O=g(T,f,await (null==h.isRTL?void 0:h.isRTL(p.floating))),E=[A[s(T)],A[O[0]],A[O[1]]],C=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:T,overflows:E}],P=R[L+1];if(P)return{data:{index:L+1,overflows:C},reset:{placement:P}};let S=C.map(t=>{let e=d(t.placement);return[t.placement,e&&m?t.overflows.slice(0,2).reduce((t,e)=>t+e,0):t.overflows[0],t.overflows]}).sort((t,e)=>t[1]-e[1]),D=(null==(l=S.filter(t=>t[2].slice(0,d(t[0])?2:3).every(t=>t<=0))[0])?void 0:l[0])||S[0][0];return D!==c?{data:{index:L+1,overflows:C},reset:{placement:D}}:{}}}},"autoUpdate",0,function(t,e,n,i){let o;void 0===i&&(i={});let{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:d=!1}=i,h=te(t),p=a||c?[...h?Q(h):[],...e?Q(e):[]]:[];p.forEach(t=>{a&&t.addEventListener("scroll",n),c&&t.addEventListener("resize",n)});let m=h&&s?function(t,e,n){let i,o=null,a=k(t);function c(){var t;clearTimeout(i),null==(t=o)||t.disconnect(),o=null}function u(n,s){void 0===n&&(n=!1),void 0===s&&(s=1),c();let d=t.getBoundingClientRect(),{left:h,top:p,width:m,height:g}=d;if(n||e(),!m||!g)return;let w={rootMargin:-f(p)+"px "+-f(a.clientWidth-(h+m))+"px "+-f(a.clientHeight-(p+g))+"px "+-f(h)+"px",threshold:l(0,r(1,s))||1},y=!0;function v(e){let n=e[0].intersectionRatio;if(!tp(d,t.getBoundingClientRect()))return u();if(n!==s){if(!y)return u();n?u(!1,n):i=setTimeout(()=>{u(!1,1e-7)},1e3)}y=!1}try{o=new IntersectionObserver(v,{...w,root:a.ownerDocument})}catch(t){o=new IntersectionObserver(v,w)}o.observe(t)}let s=W(t),d=()=>u(n);return s.addEventListener("resize",d),u(!0),()=>{s.removeEventListener("resize",d),c()}}(h,n,c):null,g=-1,w=null;u&&(w=new ResizeObserver(t=>{let[i]=t;i&&i.target===h&&w&&e&&(w.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=w)||t.observe(e)})),n()}),h&&!d&&w.observe(h),e&&w.observe(e));let y=d?tl(t):null;return d&&function e(){let i=tl(t);y&&!tp(y,i)&&n(),y=i,o=requestAnimationFrame(e)}(),n(),()=>{var t;p.forEach(t=>{a&&t.removeEventListener("scroll",n),c&&t.removeEventListener("resize",n)}),null==m||m(),null==(t=w)||t.disconnect(),w=null,d&&cancelAnimationFrame(o)}},"computePosition",0,(t,e,n)=>{let i=new Map,r=null!=n?n:{},l={...th,...r.platform,_c:i};return E(t,e,{...r,platform:l})},"detectOverflow",0,O,"flip",0,function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,i,r,l,o;let f,a,c,{placement:h,middlewareData:p,rects:L,initialPlacement:T,platform:A,elements:O}=e,{mainAxis:E=!0,crossAxis:C=!0,fallbackPlacements:P,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:D="none",flipAlignment:F=!0,...H}=u(t,e);if(null!=(n=p.arrow)&&n.alignmentOffset)return{};let M=s(h),W=m(T),k=s(T)===T,V=await (null==A.isRTL?void 0:A.isRTL(O.floating)),_=P||(k||!F?[R(T)]:(f=R(T),[w(T),f,w(f)])),B="none"!==D;!P&&B&&_.push(...(a=d(T),c=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?v:y;return e?y:v;case"left":case"right":return e?x:b;default:return[]}}(s(T),"start"===D,V),a&&(c=c.map(t=>t+"-"+a),F&&(c=c.concat(c.map(w)))),c));let j=[T,..._],z=await A.detectOverflow(e,H),N=[],I=(null==(i=p.flip)?void 0:i.overflows)||[];if(E&&N.push(z[M]),C){let t=g(h,L,V);N.push(z[t[0]],z[t[1]])}if(I=[...I,{placement:h,overflows:N}],!N.every(t=>t<=0)){let t=((null==(r=p.flip)?void 0:r.index)||0)+1,e=j[t];if(e&&("alignment"!==C||W===m(e)||I.every(t=>m(t.placement)!==W||t.overflows[0]>0)))return{data:{index:t,overflows:I},reset:{placement:e}};let n=null==(l=I.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:l.placement;if(!n)switch(S){case"bestFit":{let t=null==(o=I.filter(t=>{if(B){let e=m(t.placement);return e===W||"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(h!==n)return{reset:{placement:n}}}return{}}}},"hide",0,function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n,platform:i}=e,{strategy:r="referenceHidden",...l}=u(t,e);switch(r){case"referenceHidden":{let t=C(await i.detectOverflow(e,{...l,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:P(t)}}}case"escaped":{let t=C(await i.detectOverflow(e,{...l,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:P(t)}}}default:return{}}}}},"inline",0,function(t){return void 0===t&&(t={}),{name:"inline",options:t,async fn(e){let{placement:n,elements:i,rects:o,platform:f,strategy:a}=e,{padding:c=2,x:d,y:h}=u(t,e),p=Array.from(await (null==f.getClientRects?void 0:f.getClientRects(i.reference))||[]);if(!p.length)return{};let g=function(t){let e=t.slice().sort((t,e)=>t.y-e.y),n=[],i=null;for(let t=0;t<e.length;t++){let r=e[t];!i||r.y-i.y>i.height/2?n.push([r]):n[n.length-1].push(r),i=r}return n.map(t=>T(S(t)))}(p),w=T(S(p)),y=L(c),v=await f.getElementRects({reference:{getBoundingClientRect:function(){if(2===g.length&&(g[0].left>g[1].right||g[1].left>g[0].right)&&null!=d&&null!=h)return g.find(t=>d>t.left-y.left&&d<t.right+y.right&&h>t.top-y.top&&h<t.bottom+y.bottom)||w;if(g.length>=2){if("y"===m(n)){let t=g[0],e=g[g.length-1],i="top"===s(n),r=t.top,l=e.bottom,o=i?t.left:e.left;return T({x:o,y:r,width:(i?t.right:e.right)-o,height:l-r})}let t="left"===s(n),e=l(...g.map(t=>t.right)),i=r(...g.map(t=>t.left)),o=g.filter(n=>t?n.left===i:n.right===e),f=o[0].top;return T({x:i,y:f,width:e-i,height:o[o.length-1].bottom-f})}return w}},floating:i.floating,strategy:a});return o.reference.x!==v.reference.x||o.reference.y!==v.reference.y||o.reference.width!==v.reference.width||o.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}},"limitShift",0,function(t){return void 0===t&&(t={}),{options:t,fn(e){var n,i,r,l;let{x:o,y:f,placement:a,rects:c,middlewareData:d}=e,{offset:p=0,mainAxis:g=!0,crossAxis:w=!0}=u(t,e),y={x:o,y:f},v=m(a),x=h(v),b=y[x],R=y[v],L=u(p,e),T="number"==typeof L?{mainAxis:L,crossAxis:0}:{mainAxis:null!=(n=L.mainAxis)?n:0,crossAxis:null!=(i=L.crossAxis)?i:0};if(g){let t="y"===x?"height":"width",e=c.reference[x]-c.floating[t]+T.mainAxis,n=c.reference[x]+c.reference[t]-T.mainAxis;b<e?b=e:b>n&&(b=n)}if(w){let t="y"===x?"width":"height",e=D.has(s(a)),n=c.reference[v]-c.floating[t]+(e&&(null==(r=d.offset)?void 0:r[v])||0)+(e?0:T.crossAxis),i=c.reference[v]+c.reference[t]+(e?0:(null==(l=d.offset)?void 0:l[v])||0)-(e?T.crossAxis:0);R<n?R=n:R>i&&(R=i)}return{[x]:b,[v]:R}}}},"offset",0,function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:r,y:l,placement:o,middlewareData:f}=e,a=await F(e,t);return o===(null==(n=f.offset)?void 0:n.placement)&&null!=(i=f.arrow)&&i.alignmentOffset?{}:{x:r+a.x,y:l+a.y,data:{...a,placement:o}}}}},"shift",0,function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:o,platform:f}=e,{mainAxis:a=!0,crossAxis:c=!1,limiter:s={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...d}=u(t,e),p={x:n,y:i},g=await f.detectOverflow(e,d),w=m(o),y=h(w),v=p[y],x=p[w],b=(t,e)=>l(e+g["y"===t?"top":"left"],r(e,e-g["y"===t?"bottom":"right"]));a&&(v=b(y,v)),c&&(x=b(w,x));let R=s.fn({...e,[y]:v,[w]:x});return{...R,data:{x:R.x-n,y:R.y-i,enabled:{[y]:a,[w]:c}}}}}},"size",0,function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){let n,i,{placement:o,rects:f,platform:a,elements:c}=e,{apply:h=()=>{},...p}=u(t,e),g=await a.detectOverflow(e,p),w=s(o),y=d(o),v="y"===m(o),{width:x,height:b}=f.floating;"top"===w||"bottom"===w?(n=w,i=y===(await (null==a.isRTL?void 0:a.isRTL(c.floating))?"start":"end")?"left":"right"):(i=w,n="end"===y?"top":"bottom");let R=b-g.top-g.bottom,L=x-g.left-g.right,T=r(b-g[n],R),A=r(x-g[i],L),O=e.middlewareData.shift,E=!O,C=T,P=A;null!=O&&O.enabled.x&&(P=L),null!=O&&O.enabled.y&&(C=R),E&&!y&&(v?P=x-2*l(g.left,g.right):C=b-2*l(g.top,g.bottom)),await h({...e,availableWidth:P,availableHeight:C});let S=await a.getDimensions(c.floating);return x!==S.width||b!==S.height?{reset:{rects:!0}}:{}}}}],825339)},941750,(t,e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"useMergedRef",{enumerable:!0,get:function(){return r}});let i=t.r(184498);function r(t,e){let n=(0,i.useRef)(null),r=(0,i.useRef)(null);return(0,i.useCallback)(i=>{if(null===i){let t=n.current;t&&(n.current=null,t());let e=r.current;e&&(r.current=null,e())}else t&&(n.current=l(t,i)),e&&(r.current=l(e,i))},[t,e])}function l(t,e){if("function"!=typeof t)return t.current=e,()=>{t.current=null};{let n=t(e);return"function"==typeof n?n:()=>t(null)}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
1dule",{value:!0}),Object.assign(n.default,n),e.exports=n.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.