"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7859],{51050:function(t,e,n){n.d(e,{x7:function(){return S},X5:function(){return V},Me:function(){return T},oo:function(){return W},US:function(){return A},RR:function(){return E},Cp:function(){return O},Qo:function(){return K},dr:function(){return M},cv:function(){return P},Jv:function(){return L},uY:function(){return C},dp:function(){return D}});var r=n(72695);function i(t,e,n){let i,{reference:o,floating:l}=t,u=(0,r.Qq)(e),f=(0,r.Wh)(e),c=(0,r.I4)(f),a=(0,r.k3)(e),s="y"===u,d=o.x+o.width/2-l.width/2,p=o.y+o.height/2-l.height/2,h=o[c]/2-l[c]/2;switch(a){case"top":i={x:d,y:o.y-l.height};break;case"bottom":i={x:d,y:o.y+o.height};break;case"right":i={x:o.x+o.width,y:p};break;case"left":i={x:o.x-l.width,y:p};break;default:i={x:o.x,y:o.y}}switch((0,r.hp)(e)){case"start":i[f]-=h*(n&&s?-1:1);break;case"end":i[f]+=h*(n&&s?-1:1)}return i}let o=async(t,e,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:l=[],platform:u}=n,f=l.filter(Boolean),c=await (null==u.isRTL?void 0:u.isRTL(e)),a=await u.getElementRects({reference:t,floating:e,strategy:o}),{x:s,y:d}=i(a,r,c),p=r,h={},m=0;for(let n=0;nt[e]>=0)}function c(t){let e=(0,r.VV)(...t.map(t=>t.left)),n=(0,r.VV)(...t.map(t=>t.top));return{x:e,y:n,width:(0,r.Fp)(...t.map(t=>t.right))-e,height:(0,r.Fp)(...t.map(t=>t.bottom))-n}}async function a(t,e){let{placement:n,platform:i,elements:o}=t,l=await (null==i.isRTL?void 0:i.isRTL(o.floating)),u=(0,r.k3)(n),f=(0,r.hp)(n),c="y"===(0,r.Qq)(n),a=["left","top"].includes(u)?-1:1,s=l&&c?-1:1,d=(0,r.ku)(e,t),{mainAxis:p,crossAxis:h,alignmentAxis:m}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return f&&"number"==typeof m&&(h="end"===f?-1*m:m),c?{x:h*s,y:p*a}:{x:p*a,y:h*s}}var s=n(94046);function d(t){let e=(0,s.Dx)(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,o=(0,s.Re)(t),l=o?t.offsetWidth:n,u=o?t.offsetHeight:i,f=(0,r.NM)(n)!==l||(0,r.NM)(i)!==u;return f&&(n=l,i=u),{width:n,height:i,$:f}}function p(t){return(0,s.kK)(t)?t:t.contextElement}function h(t){let e=p(t);if(!(0,s.Re)(e))return(0,r.ze)(1);let n=e.getBoundingClientRect(),{width:i,height:o,$:l}=d(e),u=(l?(0,r.NM)(n.width):n.width)/i,f=(l?(0,r.NM)(n.height):n.height)/o;return u&&Number.isFinite(u)||(u=1),f&&Number.isFinite(f)||(f=1),{x:u,y:f}}let m=(0,r.ze)(0);function g(t){let e=(0,s.Jj)(t);return(0,s.Pf)()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:m}function w(t,e,n,i){var o;void 0===e&&(e=!1),void 0===n&&(n=!1);let l=t.getBoundingClientRect(),u=p(t),f=(0,r.ze)(1);e&&(i?(0,s.kK)(i)&&(f=h(i)):f=h(t));let c=(void 0===(o=n)&&(o=!1),i&&(!o||i===(0,s.Jj)(u))&&o)?g(u):(0,r.ze)(0),a=(l.left+c.x)/f.x,d=(l.top+c.y)/f.y,m=l.width/f.x,w=l.height/f.y;if(u){let t=(0,s.Jj)(u),e=i&&(0,s.kK)(i)?(0,s.Jj)(i):i,n=t,r=(0,s.wK)(n);for(;r&&i&&e!==n;){let t=h(r),e=r.getBoundingClientRect(),i=(0,s.Dx)(r),o=e.left+(r.clientLeft+parseFloat(i.paddingLeft))*t.x,l=e.top+(r.clientTop+parseFloat(i.paddingTop))*t.y;a*=t.x,d*=t.y,m*=t.x,w*=t.y,a+=o,d+=l,n=(0,s.Jj)(r),r=(0,s.wK)(n)}}return(0,r.JB)({width:m,height:w,x:a,y:d})}function y(t,e){let n=(0,s.Lw)(t).scrollLeft;return e?e.left+n:w((0,s.tF)(t)).left+n}function x(t,e,n){void 0===n&&(n=!1);let r=t.getBoundingClientRect();return{x:r.left+e.scrollLeft-(n?0:y(t,r)),y:r.top+e.scrollTop}}function v(t,e,n){let i;if("viewport"===e)i=function(t,e){let n=(0,s.Jj)(t),r=(0,s.tF)(t),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,u=0,f=0;if(i){o=i.width,l=i.height;let t=(0,s.Pf)();(!t||t&&"fixed"===e)&&(u=i.offsetLeft,f=i.offsetTop)}return{width:o,height:l,x:u,y:f}}(t,n);else if("document"===e)i=function(t){let e=(0,s.tF)(t),n=(0,s.Lw)(t),i=t.ownerDocument.body,o=(0,r.Fp)(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),l=(0,r.Fp)(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),u=-n.scrollLeft+y(t),f=-n.scrollTop;return"rtl"===(0,s.Dx)(i).direction&&(u+=(0,r.Fp)(e.clientWidth,i.clientWidth)-o),{width:o,height:l,x:u,y:f}}((0,s.tF)(t));else if((0,s.kK)(e))i=function(t,e){let n=w(t,!0,"fixed"===e),i=n.top+t.clientTop,o=n.left+t.clientLeft,l=(0,s.Re)(t)?h(t):(0,r.ze)(1),u=t.clientWidth*l.x;return{width:u,height:t.clientHeight*l.y,x:o*l.x,y:i*l.y}}(e,n);else{let n=g(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return(0,r.JB)(i)}function b(t){return"static"===(0,s.Dx)(t).position}function R(t,e){if(!(0,s.Re)(t)||"fixed"===(0,s.Dx)(t).position)return null;if(e)return e(t);let n=t.offsetParent;return(0,s.tF)(t)===n&&(n=n.ownerDocument.body),n}function k(t,e){let n=(0,s.Jj)(t);if((0,s.tR)(t))return n;if(!(0,s.Re)(t)){let e=(0,s.Ow)(t);for(;e&&!(0,s.Py)(e);){if((0,s.kK)(e)&&!b(e))return e;e=(0,s.Ow)(e)}return n}let r=R(t,e);for(;r&&(0,s.Ze)(r)&&b(r);)r=R(r,e);return r&&(0,s.Py)(r)&&b(r)&&!(0,s.hT)(r)?n:r||(0,s.gQ)(t)||n}let F=async function(t){let e=this.getOffsetParent||k,n=this.getDimensions,i=await n(t.floating);return{reference:function(t,e,n){let i=(0,s.Re)(e),o=(0,s.tF)(e),l="fixed"===n,u=w(t,!0,l,e),f={scrollLeft:0,scrollTop:0},c=(0,r.ze)(0);if(i||!i&&!l){if(("body"!==(0,s.wk)(e)||(0,s.ao)(o))&&(f=(0,s.Lw)(e)),i){let t=w(e,!0,l,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else o&&(c.x=y(o))}let a=!o||i||l?(0,r.ze)(0):x(o,f);return{x:u.left+f.scrollLeft-c.x-a.x,y:u.top+f.scrollTop-c.y-a.y,width:u.width,height:u.height}}(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},L={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t,l="fixed"===o,u=(0,s.tF)(i),f=!!e&&(0,s.tR)(e.floating);if(i===u||f&&l)return n;let c={scrollLeft:0,scrollTop:0},a=(0,r.ze)(1),d=(0,r.ze)(0),p=(0,s.Re)(i);if((p||!p&&!l)&&(("body"!==(0,s.wk)(i)||(0,s.ao)(u))&&(c=(0,s.Lw)(i)),(0,s.Re)(i))){let t=w(i);a=h(i),d.x=t.x+i.clientLeft,d.y=t.y+i.clientTop}let m=!u||p||l?(0,r.ze)(0):x(u,c,!0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+d.x+m.x,y:n.y*a.y-c.scrollTop*a.y+d.y+m.y}},getDocumentElement:s.tF,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,l=[..."clippingAncestors"===n?(0,s.tR)(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=(0,s.Kx)(t,[],!1).filter(t=>(0,s.kK)(t)&&"body"!==(0,s.wk)(t)),i=null,o="fixed"===(0,s.Dx)(t).position,l=o?(0,s.Ow)(t):t;for(;(0,s.kK)(l)&&!(0,s.Py)(l);){let e=(0,s.Dx)(l),n=(0,s.hT)(l);n||"fixed"!==e.position||(i=null),(o?!n&&!i:!n&&"static"===e.position&&!!i&&["absolute","fixed"].includes(i.position)||(0,s.ao)(l)&&!n&&function t(e,n){let r=(0,s.Ow)(e);return!(r===n||!(0,s.kK)(r)||(0,s.Py)(r))&&("fixed"===(0,s.Dx)(r).position||t(r,n))}(t,l))?r=r.filter(t=>t!==l):i=e,l=(0,s.Ow)(l)}return e.set(t,r),r}(e,this._c):[].concat(n),i],u=l[0],f=l.reduce((t,n)=>{let i=v(e,n,o);return t.top=(0,r.Fp)(i.top,t.top),t.right=(0,r.VV)(i.right,t.right),t.bottom=(0,r.VV)(i.bottom,t.bottom),t.left=(0,r.Fp)(i.left,t.left),t},v(e,u,o));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}},getOffsetParent:k,getElementRects:F,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=d(t);return{width:e,height:n}},getScale:h,isElement:s.kK,isRTL:function(t){return"rtl"===(0,s.Dx)(t).direction}};function T(t,e,n,i){let o;void 0===i&&(i={});let{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:f="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:a=!1}=i,d=p(t),h=l||u?[...d?(0,s.Kx)(d):[],...(0,s.Kx)(e)]:[];h.forEach(t=>{l&&t.addEventListener("scroll",n,{passive:!0}),u&&t.addEventListener("resize",n)});let m=d&&c?function(t,e){let n,i=null,o=(0,s.tF)(t);function l(){var t;clearTimeout(n),null==(t=i)||t.disconnect(),i=null}return!function u(f,c){void 0===f&&(f=!1),void 0===c&&(c=1),l();let{left:a,top:s,width:d,height:p}=t.getBoundingClientRect();if(f||e(),!d||!p)return;let h=(0,r.GW)(s),m=(0,r.GW)(o.clientWidth-(a+d)),g={rootMargin:-h+"px "+-m+"px "+-(0,r.GW)(o.clientHeight-(s+p))+"px "+-(0,r.GW)(a)+"px",threshold:(0,r.Fp)(0,(0,r.VV)(1,c))||1},w=!0;function y(t){let e=t[0].intersectionRatio;if(e!==c){if(!w)return u();e?u(!1,e):n=setTimeout(()=>{u(!1,1e-7)},1e3)}w=!1}try{i=new IntersectionObserver(y,{...g,root:o.ownerDocument})}catch(t){i=new IntersectionObserver(y,g)}i.observe(t)}(!0),l}(d,n):null,g=-1,y=null;f&&(y=new ResizeObserver(t=>{let[r]=t;r&&r.target===d&&y&&(y.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=y)||t.observe(e)})),n()}),d&&!a&&y.observe(d),y.observe(e));let x=a?w(t):null;return a&&function e(){let r=w(t);x&&(r.x!==x.x||r.y!==x.y||r.width!==x.width||r.height!==x.height)&&n(),x=r,o=requestAnimationFrame(e)}(),n(),()=>{var t;h.forEach(t=>{l&&t.removeEventListener("scroll",n),u&&t.removeEventListener("resize",n)}),null==m||m(),null==(t=y)||t.disconnect(),y=null,a&&cancelAnimationFrame(o)}}let A=l,P=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,r;let{x:i,y:o,placement:l,middlewareData:u}=e,f=await a(e,t);return l===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:i+f.x,y:o+f.y,data:{...f,placement:l}}}}},V=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,i,o,u;let{rects:f,middlewareData:c,placement:a,platform:s,elements:d}=e,{crossAxis:p=!1,alignment:h,allowedPlacements:m=r.Ct,autoAlignment:g=!0,...w}=(0,r.ku)(t,e),y=void 0!==h||m===r.Ct?((u=h||null)?[...m.filter(t=>(0,r.hp)(t)===u),...m.filter(t=>(0,r.hp)(t)!==u)]:m.filter(t=>(0,r.k3)(t)===t)).filter(t=>!u||(0,r.hp)(t)===u||!!g&&(0,r.Go)(t)!==t):m,x=await l(e,w),v=(null==(n=c.autoPlacement)?void 0:n.index)||0,b=y[v];if(null==b)return{};let R=(0,r.i8)(b,f,await (null==s.isRTL?void 0:s.isRTL(d.floating)));if(a!==b)return{reset:{placement:y[0]}};let k=[x[(0,r.k3)(b)],x[R[0]],x[R[1]]],F=[...(null==(i=c.autoPlacement)?void 0:i.overflows)||[],{placement:b,overflows:k}],L=y[v+1];if(L)return{data:{index:v+1,overflows:F},reset:{placement:L}};let T=F.map(t=>{let e=(0,r.hp)(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce((t,e)=>t+e,0):t.overflows[0],t.overflows]}).sort((t,e)=>t[1]-e[1]),A=(null==(o=T.filter(t=>t[2].slice(0,(0,r.hp)(t[0])?2:3).every(t=>t<=0))[0])?void 0:o[0])||T[0][0];return A!==a?{data:{index:v+1,overflows:F},reset:{placement:A}}:{}}}},C=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:o}=e,{mainAxis:u=!0,crossAxis:f=!1,limiter:c={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...a}=(0,r.ku)(t,e),s={x:n,y:i},d=await l(e,a),p=(0,r.Qq)((0,r.k3)(o)),h=(0,r.Rn)(p),m=s[h],g=s[p];if(u){let t="y"===h?"top":"left",e="y"===h?"bottom":"right",n=m+d[t],i=m-d[e];m=(0,r.uZ)(n,m,i)}if(f){let t="y"===p?"top":"left",e="y"===p?"bottom":"right",n=g+d[t],i=g-d[e];g=(0,r.uZ)(n,g,i)}let w=c.fn({...e,[h]:m,[p]:g});return{...w,data:{x:w.x-n,y:w.y-i,enabled:{[h]:u,[p]:f}}}}}},E=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,i,o,u,f;let{placement:c,middlewareData:a,rects:s,initialPlacement:d,platform:p,elements:h}=e,{mainAxis:m=!0,crossAxis:g=!0,fallbackPlacements:w,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:v=!0,...b}=(0,r.ku)(t,e);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};let R=(0,r.k3)(c),k=(0,r.Qq)(d),F=(0,r.k3)(d)===d,L=await (null==p.isRTL?void 0:p.isRTL(h.floating)),T=w||(F||!v?[(0,r.pw)(d)]:(0,r.gy)(d)),A="none"!==x;!w&&A&&T.push(...(0,r.KX)(d,v,x,L));let P=[d,...T],V=await l(e,b),C=[],E=(null==(i=a.flip)?void 0:i.overflows)||[];if(m&&C.push(V[R]),g){let t=(0,r.i8)(c,s,L);C.push(V[t[0]],V[t[1]])}if(E=[...E,{placement:c,overflows:C}],!C.every(t=>t<=0)){let t=((null==(o=a.flip)?void 0:o.index)||0)+1,e=P[t];if(e)return{data:{index:t,overflows:E},reset:{placement:e}};let n=null==(u=E.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:u.placement;if(!n)switch(y){case"bestFit":{let t=null==(f=E.filter(t=>{if(A){let e=(0,r.Qq)(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:f[0];t&&(n=t);break}case"initialPlacement":n=d}if(c!==n)return{reset:{placement:n}}}return{}}}},D=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,i;let o,u;let{placement:f,rects:c,platform:a,elements:s}=e,{apply:d=()=>{},...p}=(0,r.ku)(t,e),h=await l(e,p),m=(0,r.k3)(f),g=(0,r.hp)(f),w="y"===(0,r.Qq)(f),{width:y,height:x}=c.floating;"top"===m||"bottom"===m?(o=m,u=g===(await (null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(u=m,o="end"===g?"top":"bottom");let v=x-h.top-h.bottom,b=y-h.left-h.right,R=(0,r.VV)(x-h[o],v),k=(0,r.VV)(y-h[u],b),F=!e.middlewareData.shift,L=R,T=k;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(T=b),null!=(i=e.middlewareData.shift)&&i.enabled.y&&(L=v),F&&!g){let t=(0,r.Fp)(h.left,0),e=(0,r.Fp)(h.right,0),n=(0,r.Fp)(h.top,0),i=(0,r.Fp)(h.bottom,0);w?T=y-2*(0!==t||0!==e?t+e:(0,r.Fp)(h.left,h.right)):L=x-2*(0!==n||0!==i?n+i:(0,r.Fp)(h.top,h.bottom))}await d({...e,availableWidth:T,availableHeight:L});let A=await a.getDimensions(s.floating);return y!==A.width||x!==A.height?{reset:{rects:!0}}:{}}}},O=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n}=e,{strategy:i="referenceHidden",...o}=(0,r.ku)(t,e);switch(i){case"referenceHidden":{let t=u(await l(e,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:f(t)}}}case"escaped":{let t=u(await l(e,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:f(t)}}}default:return{}}}}},S=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:o,rects:l,platform:u,elements:f,middlewareData:c}=e,{element:a,padding:s=0}=(0,r.ku)(t,e)||{};if(null==a)return{};let d=(0,r.yd)(s),p={x:n,y:i},h=(0,r.Wh)(o),m=(0,r.I4)(h),g=await u.getDimensions(a),w="y"===h,y=w?"clientHeight":"clientWidth",x=l.reference[m]+l.reference[h]-p[h]-l.floating[m],v=p[h]-l.reference[h],b=await (null==u.getOffsetParent?void 0:u.getOffsetParent(a)),R=b?b[y]:0;R&&await (null==u.isElement?void 0:u.isElement(b))||(R=f.floating[y]||l.floating[m]);let k=R/2-g[m]/2-1,F=(0,r.VV)(d[w?"top":"left"],k),L=(0,r.VV)(d[w?"bottom":"right"],k),T=R-g[m]-L,A=R/2-g[m]/2+(x/2-v/2),P=(0,r.uZ)(F,A,T),V=!c.arrow&&null!=(0,r.hp)(o)&&A!==P&&l.reference[m]/2-(At.y-e.y),n=[],i=null;for(let t=0;ti.height/2?n.push([r]):n[n.length-1].push(r),i=r}return n.map(t=>(0,r.JB)(c(t)))}(d),h=(0,r.JB)(c(d)),m=(0,r.yd)(f),g=await l.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=a&&null!=s)return p.find(t=>a>t.left-m.left&&at.top-m.top&&s=2){if("y"===(0,r.Qq)(n)){let t=p[0],e=p[p.length-1],i="top"===(0,r.k3)(n),o=t.top,l=e.bottom,u=i?t.left:e.left,f=i?t.right:e.right;return{top:o,bottom:l,left:u,right:f,width:f-u,height:l-o,x:u,y:o}}let t="left"===(0,r.k3)(n),e=(0,r.Fp)(...p.map(t=>t.right)),i=(0,r.VV)(...p.map(t=>t.left)),o=p.filter(n=>t?n.left===i:n.right===e),l=o[0].top,u=o[o.length-1].bottom;return{top:l,bottom:u,left:i,right:e,width:e-i,height:u-l,x:i,y:l}}return h}},floating:i.floating,strategy:u});return o.reference.x!==g.reference.x||o.reference.y!==g.reference.y||o.reference.width!==g.reference.width||o.reference.height!==g.reference.height?{reset:{rects:g}}:{}}}},M=function(t){return void 0===t&&(t={}),{options:t,fn(e){let{x:n,y:i,placement:o,rects:l,middlewareData:u}=e,{offset:f=0,mainAxis:c=!0,crossAxis:a=!0}=(0,r.ku)(t,e),s={x:n,y:i},d=(0,r.Qq)(o),p=(0,r.Rn)(d),h=s[p],m=s[d],g=(0,r.ku)(f,e),w="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(c){let t="y"===p?"height":"width",e=l.reference[p]-l.floating[t]+w.mainAxis,n=l.reference[p]+l.reference[t]-w.mainAxis;hn&&(h=n)}if(a){var y,x;let t="y"===p?"width":"height",e=["top","left"].includes((0,r.k3)(o)),n=l.reference[d]-l.floating[t]+(e&&(null==(y=u.offset)?void 0:y[d])||0)+(e?0:w.crossAxis),i=l.reference[d]+l.reference[t]+(e?0:(null==(x=u.offset)?void 0:x[d])||0)-(e?w.crossAxis:0);mi&&(m=i)}return{[p]:h,[d]:m}}}},W=(t,e,n)=>{let r=new Map,i={platform:L,...n},l={...i.platform,_c:r};return o(t,e,{...i,platform:l})}},97859:function(t,e,n){n.d(e,{Cp:function(){return x},Qo:function(){return v},RR:function(){return g},X5:function(){return y},YF:function(){return s},cv:function(){return p},dp:function(){return w},dr:function(){return m},uY:function(){return h},x7:function(){return b}});var r=n(51050),i=n(2265),o=n(54887),l="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;function u(t,e){let n,r,i;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(r=n;0!=r--;)if(!u(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)&&!u(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}function f(t){return"undefined"==typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function c(t,e){let n=f(t);return Math.round(e*n)/n}function a(t){let e=i.useRef(t);return l(()=>{e.current=t}),e}function s(t){void 0===t&&(t={});let{placement:e="bottom",strategy:n="absolute",middleware:s=[],platform:d,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:g,open:w}=t,[y,x]=i.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[v,b]=i.useState(s);u(v,s)||b(s);let[R,k]=i.useState(null),[F,L]=i.useState(null),T=i.useCallback(t=>{t!==C.current&&(C.current=t,k(t))},[]),A=i.useCallback(t=>{t!==E.current&&(E.current=t,L(t))},[]),P=p||R,V=h||F,C=i.useRef(null),E=i.useRef(null),D=i.useRef(y),O=null!=g,S=a(g),K=a(d),M=a(w),W=i.useCallback(()=>{if(!C.current||!E.current)return;let t={placement:e,strategy:n,middleware:v};K.current&&(t.platform=K.current),(0,r.oo)(C.current,E.current,t).then(t=>{let e={...t,isPositioned:!1!==M.current};z.current&&!u(D.current,e)&&(D.current=e,o.flushSync(()=>{x(e)}))})},[v,e,n,K,M]);l(()=>{!1===w&&D.current.isPositioned&&(D.current.isPositioned=!1,x(t=>({...t,isPositioned:!1})))},[w]);let z=i.useRef(!1);l(()=>(z.current=!0,()=>{z.current=!1}),[]),l(()=>{if(P&&(C.current=P),V&&(E.current=V),P&&V){if(S.current)return S.current(P,V,W);W()}},[P,V,W,S,O]);let J=i.useMemo(()=>({reference:C,floating:E,setReference:T,setFloating:A}),[T,A]),B=i.useMemo(()=>({reference:P,floating:V}),[P,V]),H=i.useMemo(()=>{let t={position:n,left:0,top:0};if(!B.floating)return t;let e=c(B.floating,y.x),r=c(B.floating,y.y);return m?{...t,transform:"translate("+e+"px, "+r+"px)",...f(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:r}},[n,m,B.floating,y.x,y.y]);return i.useMemo(()=>({...y,update:W,refs:J,elements:B,floatingStyles:H}),[y,W,J,B,H])}let d=t=>({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?(0,r.x7)({element:n.current,padding:i}).fn(e):{}:n?(0,r.x7)({element:n,padding:i}).fn(e):{}}}),p=(t,e)=>({...(0,r.cv)(t),options:[t,e]}),h=(t,e)=>({...(0,r.uY)(t),options:[t,e]}),m=(t,e)=>({...(0,r.dr)(t),options:[t,e]}),g=(t,e)=>({...(0,r.RR)(t),options:[t,e]}),w=(t,e)=>({...(0,r.dp)(t),options:[t,e]}),y=(t,e)=>({...(0,r.X5)(t),options:[t,e]}),x=(t,e)=>({...(0,r.Cp)(t),options:[t,e]}),v=(t,e)=>({...(0,r.Qo)(t),options:[t,e]}),b=(t,e)=>({...d(t),options:[t,e]})},94046:function(t,e,n){function r(){return"undefined"!=typeof window}function i(t){return u(t)?(t.nodeName||"").toLowerCase():"#document"}function o(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function l(t){var e;return null==(e=(u(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function u(t){return!!r()&&(t instanceof Node||t instanceof o(t).Node)}function f(t){return!!r()&&(t instanceof Element||t instanceof o(t).Element)}function c(t){return!!r()&&(t instanceof HTMLElement||t instanceof o(t).HTMLElement)}function a(t){return!!r()&&"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof o(t).ShadowRoot)}function s(t){let{overflow:e,overflowX:n,overflowY:r,display:i}=y(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(i)}function d(t){return["table","td","th"].includes(i(t))}function p(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch(t){return!1}})}function h(t){let e=g(),n=f(t)?y(t):t;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(t=>(n.willChange||"").includes(t))||["paint","layout","strict","content"].some(t=>(n.contain||"").includes(t))}function m(t){let e=v(t);for(;c(e)&&!w(e);){if(h(e))return e;if(p(e))break;e=v(e)}return null}function g(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function w(t){return["html","body","#document"].includes(i(t))}function y(t){return o(t).getComputedStyle(t)}function x(t){return f(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function v(t){if("html"===i(t))return t;let e=t.assignedSlot||t.parentNode||a(t)&&t.host||l(t);return a(e)?e.host:e}function b(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}n.d(e,{Dx:function(){return y},Jj:function(){return o},Kx:function(){return function t(e,n,r){var i;void 0===n&&(n=[]),void 0===r&&(r=!0);let l=function t(e){let n=v(e);return w(n)?e.ownerDocument?e.ownerDocument.body:e.body:c(n)&&s(n)?n:t(n)}(e),u=l===(null==(i=e.ownerDocument)?void 0:i.body),f=o(l);if(u){let e=b(f);return n.concat(f,f.visualViewport||[],s(l)?l:[],e&&r?t(e):[])}return n.concat(l,t(l,[],r))}},Lw:function(){return x},Ow:function(){return v},Pf:function(){return g},Py:function(){return w},Re:function(){return c},Ze:function(){return d},Zq:function(){return a},ao:function(){return s},gQ:function(){return m},hT:function(){return h},kK:function(){return f},tF:function(){return l},tR:function(){return p},wK:function(){return b},wk:function(){return i}})},72695:function(t,e,n){n.d(e,{Ct:function(){return i},Fp:function(){return l},GW:function(){return f},Go:function(){return R},I4:function(){return w},JB:function(){return T},KX:function(){return k},NM:function(){return u},Qq:function(){return y},Rn:function(){return g},VV:function(){return o},Wh:function(){return x},gy:function(){return b},hp:function(){return m},i8:function(){return v},k3:function(){return h},ku:function(){return p},mA:function(){return r},pw:function(){return F},uZ:function(){return d},yd:function(){return L},ze:function(){return c}});let r=["top","right","bottom","left"],i=r.reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]),o=Math.min,l=Math.max,u=Math.round,f=Math.floor,c=t=>({x:t,y:t}),a={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function d(t,e,n){return l(t,o(e,n))}function p(t,e){return"function"==typeof t?t(e):t}function h(t){return t.split("-")[0]}function m(t){return t.split("-")[1]}function g(t){return"x"===t?"y":"x"}function w(t){return"y"===t?"height":"width"}function y(t){return["top","bottom"].includes(h(t))?"y":"x"}function x(t){return g(y(t))}function v(t,e,n){void 0===n&&(n=!1);let r=m(t),i=x(t),o=w(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[o]>e.floating[o]&&(l=F(l)),[l,F(l)]}function b(t){let e=F(t);return[R(t),e,R(e)]}function R(t){return t.replace(/start|end/g,t=>s[t])}function k(t,e,n,r){let i=m(t),o=function(t,e,n){let r=["left","right"],i=["right","left"];switch(t){case"top":case"bottom":if(n)return e?i:r;return e?r:i;case"left":case"right":return e?["top","bottom"]:["bottom","top"];default:return[]}}(h(t),"start"===n,r);return i&&(o=o.map(t=>t+"-"+i),e&&(o=o.concat(o.map(R)))),o}function F(t){return t.replace(/left|right|bottom|top/g,t=>a[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 T(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}}}}]);