1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6008],{26008:function(t,e,n){n.d(e,{ee:function(){return et},Eh:function(){return en},VY:function(){return ee},fC:function(){return t4},D7:function(){return tq}});var r=n(2265);let i=["top","right","bottom","left"],o=Math.min,l=Math.max,a=Math.round,f=Math.floor,u=t=>({x:t,y:t}),c={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function d(t,e){return"function"==typeof t?t(e):t}function p(t){return t.split("-")[0]}function h(t){return t.split("-")[1]}function m(t){return"x"===t?"y":"x"}function g(t){return"y"===t?"height":"width"}let y=new Set(["top","bottom"]);function w(t){return y.has(p(t))?"y":"x"}function v(t){return t.replace(/start|end/g,t=>s[t])}let x=["left","right"],b=["right","left"],R=["top","bottom"],A=["bottom","top"];function S(t){return t.replace(/left|right|bottom|top/g,t=>c[t])}function L(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function C(t){let{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}function T(t,e,n){let r,{reference:i,floating:o}=t,l=w(e),a=m(w(e)),f=g(a),u=p(e),c="y"===l,s=i.x+i.width/2-o.width/2,d=i.y+i.height/2-o.height/2,y=i[f]/2-o[f]/2;switch(u){case"top":r={x:s,y:i.y-o.height};break;case"bottom":r={x:s,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:d};break;case"left":r={x:i.x-o.width,y:d};break;default:r={x:i.x,y:i.y}}switch(h(e)){case"start":r[a]-=y*(n&&c?-1:1);break;case"end":r[a]+=y*(n&&c?-1:1)}return r}let E=async(t,e,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=o.filter(Boolean),f=await (null==l.isRTL?void 0:l.isRTL(e)),u=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:c,y:s}=T(u,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:y,data:w,reset:v}=await m({x:c,y:s,initialPlacement:r,placement:d,strategy:i,middlewareData:p,rects:u,platform:l,elements:{reference:t,floating:e}});c=null!=g?g:c,s=null!=y?y:s,p={...p,[o]:{...p[o],...w}},v&&h<=50&&(h++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(u=!0===v.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):v.rects),{x:c,y:s}=T(u,d,f)),n=-1)}return{x:c,y:s,placement:d,strategy:i,middlewareData:p}};async function O(t,e){var n;void 0===e&&(e={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:f}=t,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:s="floating",altBoundary:p=!1,padding:h=0}=d(e,t),m=L(h),g=a[p?"floating"===s?"reference":"floating":s],y=C(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:u,rootBoundary:c,strategy:f})),w="floating"===s?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,v=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),x=await (null==o.isElement?void 0:o.isElement(v))&&await (null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},b=C(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:w,offsetParent:v,strategy:f}):w);return{top:(y.top-b.top+m.top)/x.y,bottom:(b.bottom-y.bottom+m.bottom)/x.y,left:(y.left-b.left+m.left)/x.x,right:(b.right-y.right+m.right)/x.x}}function P(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function k(t){return i.some(e=>t[e]>=0)}let D=new Set(["left","top"]);async function H(t,e){let{placement:n,platform:r,elements:i}=t,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=p(n),a=h(n),f="y"===w(n),u=D.has(l)?-1:1,c=o&&f?-1:1,s=d(e,t),{mainAxis:m,crossAxis:g,alignmentAxis:y}="number"==typeof s?{mainAxis:s,crossAxis:0,alignmentAxis:null}:{mainAxis:s.mainAxis||0,crossAxis:s.crossAxis||0,alignmentAxis:s.alignmentAxis};return a&&"number"==typeof y&&(g="end"===a?-1*y:y),f?{x:g*c,y:m*u}:{x:m*u,y:g*c}}function W(){return"undefined"!=typeof window}function F(t){return V(t)?(t.nodeName||"").toLowerCase():"#document"}function M(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function j(t){var e;return null==(e=(V(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function V(t){return!!W()&&(t instanceof Node||t instanceof M(t).Node)}function N(t){return!!W()&&(t instanceof Element||t instanceof M(t).Element)}function B(t){return!!W()&&(t instanceof HTMLElement||t instanceof M(t).HTMLElement)}function z(t){return!!W()&&"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof M(t).ShadowRoot)}let _=new Set(["inline","contents"]);function Y(t){let{overflow:e,overflowX:n,overflowY:r,display:i}=tt(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!_.has(i)}let I=new Set(["table","td","th"]),X=[":popover-open",":modal"];function $(t){return X.some(e=>{try{return t.matches(e)}catch(t){return!1}})}let q=["transform","translate","scale","rotate","perspective"],G=["transform","translate","scale","rotate","perspective","filter"],J=["paint","layout","strict","content"];function K(t){let e=Q(),n=N(t)?tt(t):t;return q.some(t=>!!n[t]&&"none"!==n[t])||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||G.some(t=>(n.willChange||"").includes(t))||J.some(t=>(n.contain||"").includes(t))}function Q(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let U=new Set(["html","body","#document"]);function Z(t){return U.has(F(t))}function tt(t){return M(t).getComputedStyle(t)}function te(t){return N(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function tn(t){if("html"===F(t))return t;let e=t.assignedSlot||t.parentNode||z(t)&&t.host||j(t);return z(e)?e.host:e}function tr(t,e,n){var r;void 0===e&&(e=[]),void 0===n&&(n=!0);let i=function t(e){let n=tn(e);return Z(n)?e.ownerDocument?e.ownerDocument.body:e.body:B(n)&&Y(n)?n:t(n)}(t),o=i===(null==(r=t.ownerDocument)?void 0:r.body),l=M(i);if(o){let t=ti(l);
1return e.concat(l,l.visualViewport||[],Y(i)?i:[],t&&n?tr(t):[])}return e.concat(i,tr(i,[],n))}function ti(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function to(t){let e=tt(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,i=B(t),o=i?t.offsetWidth:n,l=i?t.offsetHeight:r,f=a(n)!==o||a(r)!==l;return f&&(n=o,r=l),{width:n,height:r,$:f}}function tl(t){return N(t)?t:t.contextElement}function ta(t){let e=tl(t);if(!B(e))return u(1);let n=e.getBoundingClientRect(),{width:r,height:i,$:o}=to(e),l=(o?a(n.width):n.width)/r,f=(o?a(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),f&&Number.isFinite(f)||(f=1),{x:l,y:f}}let tf=u(0);function tu(t){let e=M(t);return Q()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:tf}function tc(t,e,n,r){var i;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),l=tl(t),a=u(1);e&&(r?N(r)&&(a=ta(r)):a=ta(t));let f=(void 0===(i=n)&&(i=!1),r&&(!i||r===M(l))&&i)?tu(l):u(0),c=(o.left+f.x)/a.x,s=(o.top+f.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l){let t=M(l),e=r&&N(r)?M(r):r,n=t,i=ti(n);for(;i&&r&&e!==n;){let t=ta(i),e=i.getBoundingClientRect(),r=tt(i),o=e.left+(i.clientLeft+parseFloat(r.paddingLeft))*t.x,l=e.top+(i.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,d*=t.x,p*=t.y,c+=o,s+=l,i=ti(n=M(i))}}return C({width:d,height:p,x:c,y:s})}function ts(t,e){let n=te(t).scrollLeft;return e?e.left+n:tc(j(t)).left+n}function td(t,e){let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-ts(t,n),y:n.top+e.scrollTop}}let tp=new Set(["absolute","fixed"]);function th(t,e,n){let r;if("viewport"===e)r=function(t,e){let n=M(t),r=j(t),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,f=0;if(i){o=i.width,l=i.height;let t=Q();(!t||t&&"fixed"===e)&&(a=i.offsetLeft,f=i.offsetTop)}let u=ts(r);if(u<=0){let t=r.ownerDocument,e=t.body,n=getComputedStyle(e),i="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-e.clientWidth-i);l<=25&&(o-=l)}else u<=25&&(o+=u);return{width:o,height:l,x:a,y:f}}(t,n);else if("document"===e)r=function(t){let e=j(t),n=te(t),r=t.ownerDocument.body,i=l(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),o=l(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+ts(t),f=-n.scrollTop;return"rtl"===tt(r).direction&&(a+=l(e.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:f}}(j(t));else if(N(e))r=function(t,e){let n=tc(t,!0,"fixed"===e),r=n.top+t.clientTop,i=n.left+t.clientLeft,o=B(t)?ta(t):u(1),l=t.clientWidth*o.x;return{width:l,height:t.clientHeight*o.y,x:i*o.x,y:r*o.y}}(e,n);else{let n=tu(t);r={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return C(r)}function tm(t){return"static"===tt(t).position}function tg(t,e){if(!B(t)||"fixed"===tt(t).position)return null;if(e)return e(t);let n=t.offsetParent;return j(t)===n&&(n=n.ownerDocument.body),n}function ty(t,e){var n;let r=M(t);if($(t))return r;if(!B(t)){let e=tn(t);for(;e&&!Z(e);){if(N(e)&&!tm(e))return e;e=tn(e)}return r}let i=tg(t,e);for(;i&&(n=i,I.has(F(n)))&&tm(i);)i=tg(i,e);return i&&Z(i)&&tm(i)&&!K(i)?r:i||function(t){let e=tn(t);for(;B(e)&&!Z(e);){if(K(e))return e;if($(e))break;e=tn(e)}return null}(t)||r}let tw=async function(t){let e=this.getOffsetParent||ty,n=this.getDimensions,r=await n(t.floating);return{reference:function(t,e,n){let r=B(e),i=j(e),o="fixed"===n,l=tc(t,!0,o,e),a={scrollLeft:0,scrollTop:0},f=u(0);if(r||!r&&!o){if(("body"!==F(e)||Y(i))&&(a=te(e)),r){let t=tc(e,!0,o,e);f.x=t.x+e.clientLeft,f.y=t.y+e.clientTop}else i&&(f.x=ts(i))}o&&!r&&i&&(f.x=ts(i));let c=!i||r||o?u(0):td(i,a);return{x:l.left+a.scrollLeft-f.x-c.x,y:l.top+a.scrollTop-f.y-c.y,width:l.width,height:l.height}}(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},tv={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t,o="fixed"===i,l=j(r),a=!!e&&$(e.floating);if(r===l||a&&o)return n;let f={scrollLeft:0,scrollTop:0},c=u(1),s=u(0),d=B(r);if((d||!d&&!o)&&(("body"!==F(r)||Y(l))&&(f=te(r)),B(r))){let t=tc(r);c=ta(r),s.x=t.x+r.clientLeft,s.y=t.y+r.clientTop}let p=!l||d||o?u(0):td(l,f);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-f.scrollLeft*c.x+s.x+p.x,y:n.y*c.y-f.scrollTop*c.y+s.y+p.y}},getDocumentElement:j,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:i}=t,a=[..."clippingAncestors"===n?$(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=tr(t,[],!1).filter(t=>N(t)&&"body"!==F(t)),i=null,o="fixed"===tt(t).position,l=o?tn(t):t;for(;N(l)&&!Z(l);){let e=tt(l),n=K(l);n||"fixed"!==e.position||(i=null),(o?!n&&!i:!n&&"static"===e.position&&!!i&&tp.has(i.position)||Y(l)&&!n&&function t(e,n){let r=tn(e);return!(r===n||!N(r)||Z(r))&&("fixed"===tt(r).position||t(r,n))}(t,l))?r=r.filter(t=>t!==l):i=e,l=tn(l)}return e.set(t,r),r}(e,this._c):[].concat(n),r],f=a[0],u=a.reduce((t,n)=>{let r=th(e,n,i);return t.top=l(r.top,t.top),t.right=o(r.right,t.right),t.bottom=o(r.bottom,t.bottom),t.left=l(r.left,t.left),t},th(e,f,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:ty,getElementRects:tw,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=to(t);return{width:e,height:n}},getScale:ta,isElement:N,isRTL:function(t){return"rtl"===tt(t).direction}};function tx(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}let tb=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:r,placement:i,rects:a,platform:f,elements:u,middlewareData:c}=e,{element:s,padding:p=0}=d(t,e)||{};if(null==s)return{};let y=L(p),v={x:n,y:r},x=m(w(i)),b=g(x),R=await f.getDimensions(s),A="y"===x,S=A?"clientHeight":"clientWidth",C=a.reference[b]+a.reference[x]-v[x]-a.floating[b],T=v[x]-a.reference[x],E=await (null==f.getOffsetParent?void 0:f.getOffsetParent(s)),O=E?E[S]:0;O&&await (null==f.isElement?void 0:f.isElement(E))||(O=u.floating[S]||a.floating[b]);let P=O/2-R[b]/2-1,k=o(y[A?"top":"left"],P),D=o(y[A?"bottom":"right"],P),H=O-R[b]-D,W=O/2-R[b]/2+(C/2-T/2),F=l(k,o(W,H)),M=!c.arrow&&null!=h(i)&&W!==F&&a.reference[b]/2-(W<k?k:D)-R[b]/2<0,j=M?W<k?W-k:W-H:0;return{[x]:v[x]+j,data:{[x]:F,centerOffset:W-F-j,...M&&{alignmentOffset:j}},reset:M}}}),tR=(t,e,n)=>{let r=new Map,i={platform:tv,...n},o={...i.platform,_c:r};return E(t,e,{...i,platform:o})};var tA=n(54887),tS="undefined"!=typeof document?r.useLayoutEffect:function(){};function tL(t,e){let n,r,i;if(t===e)return!0;
1if(typeof t!=typeof e)return!1;if("function"==typeof t&&t.toString()===e.toString())return!0;if(t&&e&&"object"==typeof t){if(Array.isArray(t)){if((n=t.length)!==e.length)return!1;for(r=n;0!=r--;)if(!tL(t[r],e[r]))return!1;return!0}if((n=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(e,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!t.$$typeof)&&!tL(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}function tC(t){return"undefined"==typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function tT(t,e){let n=tC(t);return Math.round(e*n)/n}function tE(t){let e=r.useRef(t);return tS(()=>{e.current=t}),e}let tO=t=>({name:"arrow",options:t,fn(e){let{element:n,padding:r}="function"==typeof t?t(e):t;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?tb({element:n.current,padding:r}).fn(e):{}:n?tb({element:n,padding:r}).fn(e):{}}}),tP=(t,e)=>{var n;return{...(void 0===(n=t)&&(n=0),{name:"offset",options:n,async fn(t){var e,r;let{x:i,y:o,placement:l,middlewareData:a}=t,f=await H(t,n);return l===(null==(e=a.offset)?void 0:e.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+f.x,y:o+f.y,data:{...f,placement:l}}}}),options:[t,e]}},tk=(t,e)=>{var n;return{...(void 0===(n=t)&&(n={}),{name:"shift",options:n,async fn(t){let{x:e,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:f=!1,limiter:u={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=d(n,t),s={x:e,y:r},h=await O(t,c),g=w(p(i)),y=m(g),v=s[y],x=s[g];if(a){let t="y"===y?"top":"left",e="y"===y?"bottom":"right",n=v+h[t],r=v-h[e];v=l(n,o(v,r))}if(f){let t="y"===g?"top":"left",e="y"===g?"bottom":"right",n=x+h[t],r=x-h[e];x=l(n,o(x,r))}let b=u.fn({...t,[y]:v,[g]:x});return{...b,data:{x:b.x-e,y:b.y-r,enabled:{[y]:a,[g]:f}}}}}),options:[t,e]}},tD=(t,e)=>{var n;return{...(void 0===(n=t)&&(n={}),{options:n,fn(t){let{x:e,y:r,placement:i,rects:o,middlewareData:l}=t,{offset:a=0,mainAxis:f=!0,crossAxis:u=!0}=d(n,t),c={x:e,y:r},s=w(i),h=m(s),g=c[h],y=c[s],v=d(a,t),x="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(f){let t="y"===h?"height":"width",e=o.reference[h]-o.floating[t]+x.mainAxis,n=o.reference[h]+o.reference[t]-x.mainAxis;g<e?g=e:g>n&&(g=n)}if(u){var b,R;let t="y"===h?"width":"height",e=D.has(p(i)),n=o.reference[s]-o.floating[t]+(e&&(null==(b=l.offset)?void 0:b[s])||0)+(e?0:x.crossAxis),r=o.reference[s]+o.reference[t]+(e?0:(null==(R=l.offset)?void 0:R[s])||0)-(e?x.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[h]:g,[s]:y}}}),options:[t,e]}},tH=(t,e)=>{var n;return{...(void 0===(n=t)&&(n={}),{name:"flip",options:n,async fn(t){var e,r,i,o,l;
1let{placement:a,middlewareData:f,rects:u,initialPlacement:c,platform:s,elements:y}=t,{mainAxis:L=!0,crossAxis:C=!0,fallbackPlacements:T,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:P="none",flipAlignment:k=!0,...D}=d(n,t);if(null!=(e=f.arrow)&&e.alignmentOffset)return{};let H=p(a),W=w(c),F=p(c)===c,M=await (null==s.isRTL?void 0:s.isRTL(y.floating)),j=T||(F||!k?[S(c)]:function(t){let e=S(t);return[v(t),e,v(e)]}(c)),V="none"!==P;!T&&V&&j.push(...function(t,e,n,r){let i=h(t),o=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?b:x;return e?x:b;case"left":case"right":return e?R:A;default:return[]}}(p(t),"start"===n,r);return i&&(o=o.map(t=>t+"-"+i),e&&(o=o.concat(o.map(v)))),o}(c,k,P,M));let N=[c,...j],B=await O(t,D),z=[],_=(null==(r=f.flip)?void 0:r.overflows)||[];if(L&&z.push(B[H]),C){let t=function(t,e,n){void 0===n&&(n=!1);let r=h(t),i=m(w(t)),o=g(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[o]>e.floating[o]&&(l=S(l)),[l,S(l)]}(a,u,M);z.push(B[t[0]],B[t[1]])}if(_=[..._,{placement:a,overflows:z}],!z.every(t=>t<=0)){let t=((null==(i=f.flip)?void 0:i.index)||0)+1,e=N[t];if(e&&(!("alignment"===C&&W!==w(e))||_.every(t=>w(t.placement)!==W||t.overflows[0]>0)))return{data:{index:t,overflows:_},reset:{placement:e}};let n=null==(o=_.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:o.placement;if(!n)switch(E){case"bestFit":{let t=null==(l=_.filter(t=>{if(V){let e=w(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:l[0];t&&(n=t);break}case"initialPlacement":n=c}if(a!==n)return{reset:{placement:n}}}return{}}}),options:[t,e]}},tW=(t,e)=>{var n;return{...(void 0===(n=t)&&(n={}),{name:"size",options:n,async fn(t){var e,r;let i,a;let{placement:f,rects:u,platform:c,elements:s}=t,{apply:m=()=>{},...g}=d(n,t),y=await O(t,g),v=p(f),x=h(f),b="y"===w(f),{width:R,height:A}=u.floating;"top"===v||"bottom"===v?(i=v,a=x===(await (null==c.isRTL?void 0:c.isRTL(s.floating))?"start":"end")?"left":"right"):(a=v,i="end"===x?"top":"bottom");let S=A-y.top-y.bottom,L=R-y.left-y.right,C=o(A-y[i],S),T=o(R-y[a],L),E=!t.middlewareData.shift,P=C,k=T;if(null!=(e=t.middlewareData.shift)&&e.enabled.x&&(k=L),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(P=S),E&&!x){let t=l(y.left,0),e=l(y.right,0),n=l(y.top,0),r=l(y.bottom,0);b?k=R-2*(0!==t||0!==e?t+e:l(y.left,y.right)):P=A-2*(0!==n||0!==r?n+r:l(y.top,y.bottom))}await m({...t,availableWidth:k,availableHeight:P});let D=await c.getDimensions(s.floating);return R!==D.width||A!==D.height?{reset:{rects:!0}}:{}}}),options:[t,e]}},tF=(t,e)=>{var n;return{...(void 0===(n=t)&&(n={}),{name:"hide",options:n,async fn(t){let{rects:e}=t,{strategy:r="referenceHidden",...i}=d(n,t);switch(r){case"referenceHidden":{let n=P(await O(t,{...i,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:k(n)}}}case"escaped":{let n=P(await O(t,{...i,altBoundary:!0}),e.floating);return{data:{escapedOffsets:n,escaped:k(n)}}}default:return{}}}}),options:[t,e]}},tM=(t,e)=>({...tO(t),options:[t,e]});var tj=n(66840),tV=n(57437),tN=r.forwardRef((t,e)=>{let{children:n,width:r=10,height:i=5,...o}=t;return(0,tV.jsx)(tj.WV.svg,{...o,ref:e,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:(0,tV.jsx)("polygon",{points:"0,0 30,0 15,10"})})});tN.displayName="Arrow";var tB=n(98575),tz=n(73966),t_=n(26606),tY=n(61188),tI=n(90420),tX="Popper",[t$,tq]=(0,tz.b)(tX),[tG,tJ]=t$(tX),tK=t=>{let{__scopePopper:e,children:n}=t,[i,o]=r.useState(null);return(0,tV.jsx)(tG,{scope:e,anchor:i,onAnchorChange:o,children:n})};tK.displayName=tX;var tQ="PopperAnchor",tU=r.forwardRef((t,e)=>{let{__scopePopper:n,virtualRef:i,...o}=t,l=tJ(tQ,n),a=r.useRef(null),f=(0,tB.e)(e,a),u=r.useRef(null);return r.useEffect(()=>{let t=u.current;u.current=(null==i?void 0:i.current)||a.current,t!==u.current&&l.onAnchorChange(u.current)}),i?null:(0,tV.jsx)(tj.WV.div,{...o,ref:f})});tU.displayName=tQ;var tZ="PopperContent",[t0,t1]=t$(tZ),t2=r.forwardRef((t,e)=>{var n,i,a,u,c,s,d,p;let{__scopePopper:h,side:m="bottom",sideOffset:g=0,align:y="center",alignOffset:w=0,arrowPadding:v=0,avoidCollisions:x=!0,collisionBoundary:b=[],collisionPadding:R=0,sticky:A="partial",hideWhenDetached:S=!1,updatePositionStrategy:L="optimized",onPlaced:C,...T}=t,E=tJ(tZ,h),[O,P]=r.useState(null),k=(0,tB.e)(e,t=>P(t)),[D,H]=r.useState(null),W=(0,tI.t)(D),F=null!==(d=null==W?void 0:W.width)&&void 0!==d?d:0,M=null!==(p=null==W?void 0:W.height)&&void 0!==p?p:0,V="number"==typeof R?R:{top:0,right:0,bottom:0,left:0,...R},N=Array.isArray(b)?b:[b],B=N.length>0,z={padding:V,boundary:N.filter(t7),altBoundary:B},{refs:_,floatingStyles:Y,placement:I,isPositioned:X,middlewareData:$}=function(t){void 0===t&&(t={});let{placement:e="bottom",strategy:n="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:a}={},transform:f=!0,whileElementsMounted:u,open:c}=t,[s,d]=r.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[p,h]=r.useState(i);tL(p,i)||h(i);let[m,g]=r.useState(null),[y,w]=r.useState(null),v=r.useCallback(t=>{t!==A.current&&(A.current=t,g(t))},[]),x=r.useCallback(t=>{t!==S.current&&(S.current=t,w(t))},[]),b=l||m,R=a||y,A=r.useRef(null),S=r.useRef(null),L=r.useRef(s),C=null!=u,T=tE(u),E=tE(o),O=tE(c),P=r.useCallback(()=>
1{if(!A.current||!S.current)return;let t={placement:e,strategy:n,middleware:p};E.current&&(t.platform=E.current),tR(A.current,S.current,t).then(t=>{let e={...t,isPositioned:!1!==O.current};k.current&&!tL(L.current,e)&&(L.current=e,tA.flushSync(()=>{d(e)}))})},[p,e,n,E,O]);tS(()=>{!1===c&&L.current.isPositioned&&(L.current.isPositioned=!1,d(t=>({...t,isPositioned:!1})))},[c]);let k=r.useRef(!1);tS(()=>(k.current=!0,()=>{k.current=!1}),[]),tS(()=>{if(b&&(A.current=b),R&&(S.current=R),b&&R){if(T.current)return T.current(b,R,P);P()}},[b,R,P,T,C]);let D=r.useMemo(()=>({reference:A,floating:S,setReference:v,setFloating:x}),[v,x]),H=r.useMemo(()=>({reference:b,floating:R}),[b,R]),W=r.useMemo(()=>{let t={position:n,left:0,top:0};if(!H.floating)return t;let e=tT(H.floating,s.x),r=tT(H.floating,s.y);return f?{...t,transform:"translate("+e+"px, "+r+"px)",...tC(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:r}},[n,f,H.floating,s.x,s.y]);return r.useMemo(()=>({...s,update:P,refs:D,elements:H,floatingStyles:W}),[s,P,D,H,W])}({strategy:"fixed",placement:m+("center"!==y?"-"+y:""),whileElementsMounted:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t,e,n,r){let i;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=tl(t),h=a||u?[...p?tr(p):[],...tr(e)]:[];h.forEach(t=>{a&&t.addEventListener("scroll",n,{passive:!0}),u&&t.addEventListener("resize",n)});let m=p&&s?function(t,e){let n,r=null,i=j(t);function a(){var t;clearTimeout(n),null==(t=r)||t.disconnect(),r=null}return!function u(c,s){void 0===c&&(c=!1),void 0===s&&(s=1),a();let d=t.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(c||e(),!m||!g)return;let y=f(h),w=f(i.clientWidth-(p+m)),v={rootMargin:-y+"px "+-w+"px "+-f(i.clientHeight-(h+g))+"px "+-f(p)+"px",threshold:l(0,o(1,s))||1},x=!0;function b(e){let r=e[0].intersectionRatio;if(r!==s){if(!x)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||tx(d,t.getBoundingClientRect())||u(),x=!1}try{r=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch(t){r=new IntersectionObserver(b,v)}r.observe(t)}(!0),a}(p,n):null,g=-1,y=null;c&&(y=new ResizeObserver(t=>{let[r]=t;r&&r.target===p&&y&&(y.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=y)||t.observe(e)})),n()}),p&&!d&&y.observe(p),y.observe(e));let w=d?tc(t):null;return d&&function e(){let r=tc(t);w&&!tx(w,r)&&n(),w=r,i=requestAnimationFrame(e)}(),n(),()=>{var t;h.forEach(t=>{a&&t.removeEventListener("scroll",n),u&&t.removeEventListener("resize",n)}),null==m||m(),null==(t=y)||t.disconnect(),y=null,d&&cancelAnimationFrame(i)}}(...e,{animationFrame:"always"===L})},elements:{reference:E.anchor},middleware:[tP({mainAxis:g+M,alignmentAxis:w}),x&&tk({mainAxis:!0,crossAxis:!1,limiter:"partial"===A?tD():void 0,...z}),x&&tH({...z}),tW({...z,apply:t=>{let{elements:e,rects:n,availableWidth:r,availableHeight:i}=t,{width:o,height:l}=n.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(i,"px")),a.setProperty("--radix-popper-anchor-width","".concat(o,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),D&&tM({element:D,padding:v}),t3({arrowWidth:F,arrowHeight:M}),S&&tF({strategy:"referenceHidden",...z})]}),[q,G]=t9(I),J=(0,t_.W)(C);(0,tY.b)(()=>{X&&(null==J||J())},[X,J]);let K=null===(n=$.arrow)||void 0===n?void 0:n.x,Q=null===(i=$.arrow)||void 0===i?void 0:i.y,U=(null===(a=$.arrow)||void 0===a?void 0:a.centerOffset)!==0,[Z,tt]=r.useState();return(0,tY.b)(()=>{O&&tt(window.getComputedStyle(O).zIndex)},[O]),(0,tV.jsx)("div",{ref:_.setFloating,"data-radix-popper-content-wrapper":"",style:{...Y,transform:X?Y.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Z,"--radix-popper-transform-origin":[null===(u=$.transformOrigin)||void 0===u?void 0:u.x,null===(c=$.transformOrigin)||void 0===c?void 0:c.y].join(" "),...(null===(s=$.hide)||void 0===s?void 0:s.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:(0,tV.jsx)(t0,{scope:h,placedSide:q,onArrowChange:H,arrowX:K,arrowY:Q,shouldHideArrow:U,children:(0,tV.jsx)(tj.WV.div,{"data-side":q,"data-align":G,...T,ref:k,style:{...T.
1style,animation:X?void 0:"none"}})})})});t2.displayName=tZ;var t5="PopperArrow",t6={top:"bottom",right:"left",bottom:"top",left:"right"},t8=r.forwardRef(function(t,e){let{__scopePopper:n,...r}=t,i=t1(t5,n),o=t6[i.placedSide];return(0,tV.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,tV.jsx)(tN,{...r,ref:e,style:{...r.style,display:"block"}})})});function t7(t){return null!==t}t8.displayName=t5;var t3=t=>({name:"transformOrigin",options:t,fn(e){var n,r,i,o,l;let{placement:a,rects:f,middlewareData:u}=e,c=(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset)!==0,s=c?0:t.arrowWidth,d=c?0:t.arrowHeight,[p,h]=t9(a),m={start:"0%",center:"50%",end:"100%"}[h],g=(null!==(o=null===(r=u.arrow)||void 0===r?void 0:r.x)&&void 0!==o?o:0)+s/2,y=(null!==(l=null===(i=u.arrow)||void 0===i?void 0:i.y)&&void 0!==l?l:0)+d/2,w="",v="";return"bottom"===p?(w=c?m:"".concat(g,"px"),v="".concat(-d,"px")):"top"===p?(w=c?m:"".concat(g,"px"),v="".concat(f.floating.height+d,"px")):"right"===p?(w="".concat(-d,"px"),v=c?m:"".concat(y,"px")):"left"===p&&(w="".concat(f.floating.width+d,"px"),v=c?m:"".concat(y,"px")),{data:{x:w,y:v}}}});function t9(t){let[e,n="center"]=t.split("-");return[e,n]}var t4=tK,et=tU,ee=t2,en=t8}}]);
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.