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