!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="8b3724d7-3717-48f5-bb63-59e2a8ce6bbc",t._sentryDebugIdIdentifier="sentry-dbid-8b3724d7-3717-48f5-bb63-59e2a8ce6bbc")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7531],{21662:function(){},99466:function(){},4033:function(){},60336:function(){},78550:function(){},9150:function(){},21148:function(){},60300:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var r=n(4711),o=n(61394),i=n(82679);function l(t,e){return t.replace(RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var u=n(66123),s=n(11885),a=n(8997),f=function(t,e){return t&&e&&e.split(" ").forEach(function(e){t.classList?t.classList.remove(e):"string"==typeof t.className?t.className=l(t.className,e):t.setAttribute("class",l(t.className&&t.className.baseVal||"",e))})},c=function(t){function e(){for(var e,n=arguments.length,r=Array(n),o=0;o({x:t,y:t}),a={left:"right",right:"left",bottom:"top",top:"bottom"},f={start:"end",end:"start"};function c(t,e){return"function"==typeof t?t(e):t}function d(t){return t.split("-")[0]}function p(t){return t.split("-")[1]}function h(t){return"x"===t?"y":"x"}function g(t){return"y"===t?"height":"width"}function m(t){return["top","bottom"].includes(d(t))?"y":"x"}function y(t){return t.replace(/start|end/g,t=>f[t])}function v(t){return t.replace(/left|right|bottom|top/g,t=>a[t])}function w(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:r,height:o}=t;return{width:r,height:o,top:n,left:e,right:e+r,bottom:n+o,x:e,y:n}}function b(t,e,n){let r,{reference:o,floating:i}=t,l=m(e),u=h(m(e)),s=g(u),a=d(e),f="y"===l,c=o.x+o.width/2-i.width/2,y=o.y+o.height/2-i.height/2,v=o[s]/2-i[s]/2;switch(a){case"top":r={x:c,y:o.y-i.height};break;case"bottom":r={x:c,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:y};break;case"left":r={x:o.x-i.width,y:y};break;default:r={x:o.x,y:o.y}}switch(p(e)){case"start":r[u]-=v*(n&&f?-1:1);break;case"end":r[u]+=v*(n&&f?-1:1)}return r}let R=async(t,e,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,u=i.filter(Boolean),s=await (null==l.isRTL?void 0:l.isRTL(e)),a=await l.getElementRects({reference:t,floating:e,strategy:o}),{x:f,y:c}=b(a,r,s),d=r,p={},h=0;for(let n=0;nt[e]>=0)}function A(t){let e=o(...t.map(t=>t.left)),n=o(...t.map(t=>t.top));return{x:e,y:n,width:i(...t.map(t=>t.right))-e,height:i(...t.map(t=>t.bottom))-n}}async function k(t,e){let{placement:n,platform:r,elements:o}=t,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=d(n),u=p(n),s="y"===m(n),a=["left","top"].includes(l)?-1:1,f=i&&s?-1:1,h=c(e,t),{mainAxis:g,crossAxis:y,alignmentAxis:v}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return u&&"number"==typeof v&&(y="end"===u?-1*v:v),s?{x:y*f,y:g*a}:{x:g*a,y:y*f}}var D=n(5827);function T(t){let e=(0,D.Dx)(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,o=(0,D.Re)(t),i=o?t.offsetWidth:n,u=o?t.offsetHeight:r,s=l(n)!==i||l(r)!==u;return s&&(n=i,r=u),{width:n,height:r,$:s}}function N(t){return(0,D.kK)(t)?t:t.contextElement}function O(t){let e=N(t);if(!(0,D.Re)(e))return s(1);let n=e.getBoundingClientRect(),{width:r,height:o,$:i}=T(e),u=(i?l(n.width):n.width)/r,a=(i?l(n.height):n.height)/o;return u&&Number.isFinite(u)||(u=1),a&&Number.isFinite(a)||(a=1),{x:u,y:a}}let P=s(0);function F(t){let e=(0,D.Jj)(t);return(0,D.Pf)()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:P}function S(t,e,n,r){var o;void 0===e&&(e=!1),void 0===n&&(n=!1);let i=t.getBoundingClientRect(),l=N(t),u=s(1);e&&(r?(0,D.kK)(r)&&(u=O(r)):u=O(t));let a=(void 0===(o=n)&&(o=!1),r&&(!o||r===(0,D.Jj)(l))&&o)?F(l):s(0),f=(i.left+a.x)/u.x,c=(i.top+a.y)/u.y,d=i.width/u.x,p=i.height/u.y;if(l){let t=(0,D.Jj)(l),e=r&&(0,D.kK)(r)?(0,D.Jj)(r):r,n=t,o=(0,D.wK)(n);for(;o&&r&&e!==n;){let t=O(o),e=o.getBoundingClientRect(),r=(0,D.Dx)(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,l=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;f*=t.x,c*=t.y,d*=t.x,p*=t.y,f+=i,c+=l,n=(0,D.Jj)(o),o=(0,D.wK)(n)}}return x({width:d,height:p,x:f,y:c})}function j(t,e){let n=(0,D.Lw)(t).scrollLeft;return e?e.left+n:S((0,D.tF)(t)).left+n}function K(t,e,n){void 0===n&&(n=!1);let r=t.getBoundingClientRect();return{x:r.left+e.scrollLeft-(n?0:j(t,r)),y:r.top+e.scrollTop}}function V(t,e,n){let r;if("viewport"===e)r=function(t,e){let n=(0,D.Jj)(t),r=(0,D.tF)(t),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,u=0,s=0;if(o){i=o.width,l=o.height;let t=(0,D.Pf)();(!t||t&&"fixed"===e)&&(u=o.offsetLeft,s=o.offsetTop)}return{width:i,height:l,x:u,y:s}}(t,n);else if("document"===e)r=function(t){let e=(0,D.tF)(t),n=(0,D.Lw)(t),r=t.ownerDocument.body,o=i(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),l=i(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight),u=-n.scrollLeft+j(t),s=-n.scrollTop;return"rtl"===(0,D.Dx)(r).direction&&(u+=i(e.clientWidth,r.clientWidth)-o),{width:o,height:l,x:u,y:s}}((0,D.tF)(t));else if((0,D.kK)(e))r=function(t,e){let n=S(t,!0,"fixed"===e),r=n.top+t.clientTop,o=n.left+t.clientLeft,i=(0,D.Re)(t)?O(t):s(1),l=t.clientWidth*i.x;return{width:l,height:t.clientHeight*i.y,x:o*i.x,y:r*i.y}}(e,n);else{let n=F(t);r={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return x(r)}function H(t){return"static"===(0,D.Dx)(t).position}function I(t,e){if(!(0,D.Re)(t)||"fixed"===(0,D.Dx)(t).position)return null;if(e)return e(t);let n=t.offsetParent;return(0,D.tF)(t)===n&&(n=n.ownerDocument.body),n}function M(t,e){let n=(0,D.Jj)(t);if((0,D.tR)(t))return n;if(!(0,D.Re)(t)){let e=(0,D.Ow)(t);for(;e&&!(0,D.Py)(e);){if((0,D.kK)(e)&&!H(e))return e;e=(0,D.Ow)(e)}return n}let r=I(t,e);for(;r&&(0,D.Ze)(r)&&H(r);)r=I(r,e);return r&&(0,D.Py)(r)&&H(r)&&!(0,D.hT)(r)?n:r||(0,D.gQ)(t)||n}let U=async function(t){let e=this.getOffsetParent||M,n=this.getDimensions,r=await n(t.floating);return{reference:function(t,e,n){let r=(0,D.Re)(e),o=(0,D.tF)(e),i="fixed"===n,l=S(t,!0,i,e),u={scrollLeft:0,scrollTop:0},a=s(0);if(r||!r&&!i){if(("body"!==(0,D.wk)(e)||(0,D.ao)(o))&&(u=(0,D.Lw)(e)),r){let t=S(e,!0,i,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}else o&&(a.x=j(o))}i&&!r&&o&&(a.x=j(o));let f=!o||r||i?s(0):K(o,u);return{x:l.left+u.scrollLeft-a.x-f.x,y:l.top+u.scrollTop-a.y-f.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}}},W={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:o}=t,i="fixed"===o,l=(0,D.tF)(r),u=!!e&&(0,D.tR)(e.floating);if(r===l||u&&i)return n;let a={scrollLeft:0,scrollTop:0},f=s(1),c=s(0),d=(0,D.Re)(r);if((d||!d&&!i)&&(("body"!==(0,D.wk)(r)||(0,D.ao)(l))&&(a=(0,D.Lw)(r)),(0,D.Re)(r))){let t=S(r);f=O(r),c.x=t.x+r.clientLeft,c.y=t.y+r.clientTop}let p=!l||d||i?s(0):K(l,a,!0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-a.scrollLeft*f.x+c.x+p.x,y:n.y*f.y-a.scrollTop*f.y+c.y+p.y}},getDocumentElement:D.tF,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:l}=t,u=[..."clippingAncestors"===n?(0,D.tR)(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=(0,D.Kx)(t,[],!1).filter(t=>(0,D.kK)(t)&&"body"!==(0,D.wk)(t)),o=null,i="fixed"===(0,D.Dx)(t).position,l=i?(0,D.Ow)(t):t;for(;(0,D.kK)(l)&&!(0,D.Py)(l);){let e=(0,D.Dx)(l),n=(0,D.hT)(l);n||"fixed"!==e.position||(o=null),(i?!n&&!o:!n&&"static"===e.position&&!!o&&["absolute","fixed"].includes(o.position)||(0,D.ao)(l)&&!n&&function t(e,n){let r=(0,D.Ow)(e);return!(r===n||!(0,D.kK)(r)||(0,D.Py)(r))&&("fixed"===(0,D.Dx)(r).position||t(r,n))}(t,l))?r=r.filter(t=>t!==l):o=e,l=(0,D.Ow)(l)}return e.set(t,r),r}(e,this._c):[].concat(n),r],s=u[0],a=u.reduce((t,n)=>{let r=V(e,n,l);return t.top=i(r.top,t.top),t.right=o(r.right,t.right),t.bottom=o(r.bottom,t.bottom),t.left=i(r.left,t.left),t},V(e,s,l));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:M,getElementRects:U,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=T(t);return{width:e,height:n}},getScale:O,isElement:D.kK,isRTL:function(t){return"rtl"===(0,D.Dx)(t).direction}};function Z(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function _(t,e,n,r){let l;void 0===r&&(r={});let{ancestorScroll:s=!0,ancestorResize:a=!0,elementResize:f="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=N(t),h=s||a?[...p?(0,D.Kx)(p):[],...(0,D.Kx)(e)]:[];h.forEach(t=>{s&&t.addEventListener("scroll",n,{passive:!0}),a&&t.addEventListener("resize",n)});let g=p&&c?function(t,e){let n,r=null,l=(0,D.tF)(t);function s(){var t;clearTimeout(n),null==(t=r)||t.disconnect(),r=null}return function a(f,c){void 0===f&&(f=!1),void 0===c&&(c=1),s();let d=t.getBoundingClientRect(),{left:p,top:h,width:g,height:m}=d;if(f||e(),!g||!m)return;let y=u(h),v=u(l.clientWidth-(p+g)),w={rootMargin:-y+"px "+-v+"px "+-u(l.clientHeight-(h+m))+"px "+-u(p)+"px",threshold:i(0,o(1,c))||1},x=!0;function b(e){let r=e[0].intersectionRatio;if(r!==c){if(!x)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||Z(d,t.getBoundingClientRect())||a(),x=!1}try{r=new IntersectionObserver(b,{...w,root:l.ownerDocument})}catch(t){r=new IntersectionObserver(b,w)}r.observe(t)}(!0),s}(p,n):null,m=-1,y=null;f&&(y=new ResizeObserver(t=>{let[r]=t;r&&r.target===p&&y&&(y.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var t;null==(t=y)||t.observe(e)})),n()}),p&&!d&&y.observe(p),y.observe(e));let v=d?S(t):null;return d&&function e(){let r=S(t);v&&!Z(v,r)&&n(),v=r,l=requestAnimationFrame(e)}(),n(),()=>{var t;h.forEach(t=>{s&&t.removeEventListener("scroll",n),a&&t.removeEventListener("resize",n)}),null==g||g(),null==(t=y)||t.disconnect(),y=null,d&&cancelAnimationFrame(l)}}let B=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,r;let{x:o,y:i,placement:l,middlewareData:u}=e,s=await k(e,t);return l===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:l}}}}},J=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:r,placement:l}=e,{mainAxis:u=!0,crossAxis:s=!1,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...f}=c(t,e),p={x:n,y:r},g=await E(e,f),y=m(d(l)),v=h(y),w=p[v],x=p[y];if(u){let t="y"===v?"top":"left",e="y"===v?"bottom":"right",n=w+g[t],r=w-g[e];w=i(n,o(w,r))}if(s){let t="y"===y?"top":"left",e="y"===y?"bottom":"right",n=x+g[t],r=x-g[e];x=i(n,o(x,r))}let b=a.fn({...e,[v]:w,[y]:x});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[v]:u,[y]:s}}}}}},$=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r,o,i,l,u;let{placement:s,middlewareData:a,rects:f,initialPlacement:w,platform:x,elements:b}=e,{mainAxis:R=!0,crossAxis:C=!0,fallbackPlacements:L,fallbackStrategy:A="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:D=!0,...T}=c(t,e);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};let N=d(s),O=m(w),P=d(w)===w,F=await (null==x.isRTL?void 0:x.isRTL(b.floating)),S=L||(P||!D?[v(w)]:function(t){let e=v(t);return[y(t),e,y(e)]}(w)),j="none"!==k;!L&&j&&S.push(...function(t,e,n,r){let o=p(t),i=function(t,e,n){let r=["left","right"],o=["right","left"];switch(t){case"top":case"bottom":if(n)return e?o:r;return e?r:o;case"left":case"right":return e?["top","bottom"]:["bottom","top"];default:return[]}}(d(t),"start"===n,r);return o&&(i=i.map(t=>t+"-"+o),e&&(i=i.concat(i.map(y)))),i}(w,D,k,F));let K=[w,...S],V=await E(e,T),H=[],I=(null==(r=a.flip)?void 0:r.overflows)||[];if(R&&H.push(V[N]),C){let t=function(t,e,n){void 0===n&&(n=!1);let r=p(t),o=h(m(t)),i=g(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[i]>e.floating[i]&&(l=v(l)),[l,v(l)]}(s,f,F);H.push(V[t[0]],V[t[1]])}if(I=[...I,{placement:s,overflows:H}],!H.every(t=>t<=0)){let t=((null==(o=a.flip)?void 0:o.index)||0)+1,e=K[t];if(e){let n="alignment"===C&&O!==m(e),r=(null==(l=I[0])?void 0:l.overflows[0])>0;if(!n||r)return{data:{index:t,overflows:I},reset:{placement:e}}}let n=null==(i=I.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:i.placement;if(!n)switch(A){case"bestFit":{let t=null==(u=I.filter(t=>{if(j){let e=m(t.placement);return e===O||"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:u[0];t&&(n=t);break}case"initialPlacement":n=w}if(s!==n)return{reset:{placement:n}}}return{}}}},z=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n}=e,{strategy:r="referenceHidden",...o}=c(t,e);switch(r){case"referenceHidden":{let t=C(await E(e,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:L(t)}}}case"escaped":{let t=C(await E(e,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:L(t)}}}default:return{}}}}},Q=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:r,placement:l,rects:u,platform:s,elements:a,middlewareData:f}=e,{element:d,padding:y=0}=c(t,e)||{};if(null==d)return{};let v=w(y),x={x:n,y:r},b=h(m(l)),R=g(b),E=await s.getDimensions(d),C="y"===b,L=C?"clientHeight":"clientWidth",A=u.reference[R]+u.reference[b]-x[b]-u.floating[R],k=x[b]-u.reference[b],D=await (null==s.getOffsetParent?void 0:s.getOffsetParent(d)),T=D?D[L]:0;T&&await (null==s.isElement?void 0:s.isElement(D))||(T=a.floating[L]||u.floating[R]);let N=T/2-E[R]/2-1,O=o(v[C?"top":"left"],N),P=o(v[C?"bottom":"right"],N),F=T-E[R]-P,S=T/2-E[R]/2+(A/2-k/2),j=i(O,o(S,F)),K=!f.arrow&&null!=p(l)&&S!==j&&u.reference[R]/2-(St.y-e.y),n=[],r=null;for(let t=0;tr.height/2?n.push([o]):n[n.length-1].push(o),r=o}return n.map(t=>x(A(t)))}(h),y=x(A(h)),v=w(a),b=await u.getElementRects({reference:{getBoundingClientRect:function(){if(2===g.length&&g[0].left>g[1].right&&null!=f&&null!=p)return g.find(t=>f>t.left-v.left&&ft.top-v.top&&p=2){if("y"===m(n)){let t=g[0],e=g[g.length-1],r="top"===d(n),o=t.top,i=e.bottom,l=r?t.left:e.left,u=r?t.right:e.right;return{top:o,bottom:i,left:l,right:u,width:u-l,height:i-o,x:l,y:o}}let t="left"===d(n),e=i(...g.map(t=>t.right)),r=o(...g.map(t=>t.left)),l=g.filter(n=>t?n.left===r:n.right===e),u=l[0].top,s=l[l.length-1].bottom;return{top:u,bottom:s,left:r,right:e,width:e-r,height:s-u,x:r,y:u}}return y}},floating:r.floating,strategy:s});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}}:{}}}},Y=(t,e,n)=>{let r=new Map,o={platform:W,...n},i={...o.platform,_c:r};return R(t,e,{...o,platform:i})}},13454:function(t,e,n){"use strict";n.d(e,{Cp:function(){return m},Qo:function(){return y},RR:function(){return g},YF:function(){return c},cv:function(){return p},uY:function(){return h},x7:function(){return v}});var r=n(59004),o=n(66123),i=n(58775),l="undefined"!=typeof document?o.useLayoutEffect:function(){};function u(t,e){let n,r,o;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=(o=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(e,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!t.$$typeof)&&!u(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}function s(t){return"undefined"==typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function a(t,e){let n=s(t);return Math.round(e*n)/n}function f(t){let e=o.useRef(t);return l(()=>{e.current=t}),e}function c(t){void 0===t&&(t={});let{placement:e="bottom",strategy:n="absolute",middleware:c=[],platform:d,elements:{reference:p,floating:h}={},transform:g=!0,whileElementsMounted:m,open:y}=t,[v,w]=o.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[x,b]=o.useState(c);u(x,c)||b(c);let[R,E]=o.useState(null),[C,L]=o.useState(null),A=o.useCallback(t=>{t!==N.current&&(N.current=t,E(t))},[]),k=o.useCallback(t=>{t!==O.current&&(O.current=t,L(t))},[]),D=p||R,T=h||C,N=o.useRef(null),O=o.useRef(null),P=o.useRef(v),F=null!=m,S=f(m),j=f(d),K=f(y),V=o.useCallback(()=>{if(!N.current||!O.current)return;let t={placement:e,strategy:n,middleware:x};j.current&&(t.platform=j.current),(0,r.oo)(N.current,O.current,t).then(t=>{let e={...t,isPositioned:!1!==K.current};H.current&&!u(P.current,e)&&(P.current=e,i.flushSync(()=>{w(e)}))})},[x,e,n,j,K]);l(()=>{!1===y&&P.current.isPositioned&&(P.current.isPositioned=!1,w(t=>({...t,isPositioned:!1})))},[y]);let H=o.useRef(!1);l(()=>(H.current=!0,()=>{H.current=!1}),[]),l(()=>{if(D&&(N.current=D),T&&(O.current=T),D&&T){if(S.current)return S.current(D,T,V);V()}},[D,T,V,S,F]);let I=o.useMemo(()=>({reference:N,floating:O,setReference:A,setFloating:k}),[A,k]),M=o.useMemo(()=>({reference:D,floating:T}),[D,T]),U=o.useMemo(()=>{let t={position:n,left:0,top:0};if(!M.floating)return t;let e=a(M.floating,v.x),r=a(M.floating,v.y);return g?{...t,transform:"translate("+e+"px, "+r+"px)",...s(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:r}},[n,g,M.floating,v.x,v.y]);return o.useMemo(()=>({...v,update:V,refs:I,elements:M,floatingStyles:U}),[v,V,I,M,U])}let d=t=>({name:"arrow",options:t,fn(e){let{element:n,padding:o}="function"==typeof t?t(e):t;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.x7)({element:n.current,padding:o}).fn(e):{}:n?(0,r.x7)({element:n,padding:o}).fn(e):{}}}),p=(t,e)=>({...(0,r.cv)(t),options:[t,e]}),h=(t,e)=>({...(0,r.uY)(t),options:[t,e]}),g=(t,e)=>({...(0,r.RR)(t),options:[t,e]}),m=(t,e)=>({...(0,r.Cp)(t),options:[t,e]}),y=(t,e)=>({...(0,r.Qo)(t),options:[t,e]}),v=(t,e)=>({...d(t),options:[t,e]})},27458:function(t,e,n){"use strict";n.d(e,{G6:function(){return u},N6:function(){return y},NX:function(){return v},Xj:function(){return a},dE:function(){return m},e8:function(){return g},iW:function(){return c},k0:function(){return h}});var r,o=n(5827),i=n(66123),l=n(42178);function u(){return/apple/i.test(navigator.vendor)}function s(t){return(null==t?void 0:t.ownerDocument)||document}var a="undefined"!=typeof document?i.useLayoutEffect:function(){};let f={...r||(r=n.t(i,2))}.useInsertionEffect||(t=>t());function c(t){let e=i.useRef(()=>{});return f(()=>{e.current=t}),i.useCallback(function(){for(var t=arguments.length,n=Array(t),r=0;r({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function p(t,e){let n=(0,l.tabbable)(t,d()),r=n.length;if(0===r)return;let o=function(t){let e=t.activeElement;for(;(null==(n=e)||null==(n=n.shadowRoot)?void 0:n.activeElement)!=null;){var n;e=e.shadowRoot.activeElement}return e}(s(t)),i=n.indexOf(o);return n[-1===i?1===e?0:r-1:i+e]}function h(t){return p(s(t).body,1)||t}function g(t){return p(s(t).body,-1)||t}function m(t,e){let n=e||t.currentTarget,r=t.relatedTarget;return!r||!function(t,e){if(!t||!e)return!1;let n=null==e.getRootNode?void 0:e.getRootNode();if(t.contains(e))return!0;if(n&&(0,o.Zq)(n)){let n=e;for(;n;){if(t===n)return!0;n=n.parentNode||n.host}}return!1}(n,r)}function y(t){(0,l.tabbable)(t,d()).forEach(t=>{t.dataset.tabindex=t.getAttribute("tabindex")||"",t.setAttribute("tabindex","-1")})}function v(t){t.querySelectorAll("[data-tabindex]").forEach(t=>{let e=t.dataset.tabindex;delete t.dataset.tabindex,e?t.setAttribute("tabindex",e):t.removeAttribute("tabindex")})}},5827:function(t,e,n){"use strict";function r(){return"undefined"!=typeof window}function o(t){return u(t)?(t.nodeName||"").toLowerCase():"#document"}function i(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 i(t).Node)}function s(t){return!!r()&&(t instanceof Element||t instanceof i(t).Element)}function a(t){return!!r()&&(t instanceof HTMLElement||t instanceof i(t).HTMLElement)}function f(t){return!!r()&&"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof i(t).ShadowRoot)}function c(t){let{overflow:e,overflowX:n,overflowY:r,display:o}=v(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(o)}function d(t){return["table","td","th"].includes(o(t))}function p(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch(t){return!1}})}function h(t){let e=m(),n=s(t)?v(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 g(t){let e=x(t);for(;a(e)&&!y(e);){if(h(e))return e;if(p(e))break;e=x(e)}return null}function m(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function y(t){return["html","body","#document"].includes(o(t))}function v(t){return i(t).getComputedStyle(t)}function w(t){return s(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function x(t){if("html"===o(t))return t;let e=t.assignedSlot||t.parentNode||f(t)&&t.host||l(t);return f(e)?e.host:e}function b(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}n.d(e,{Dx:function(){return v},Jj:function(){return i},Kx:function(){return function t(e,n,r){var o;void 0===n&&(n=[]),void 0===r&&(r=!0);let l=function t(e){let n=x(e);return y(n)?e.ownerDocument?e.ownerDocument.body:e.body:a(n)&&c(n)?n:t(n)}(e),u=l===(null==(o=e.ownerDocument)?void 0:o.body),s=i(l);if(u){let e=b(s);return n.concat(s,s.visualViewport||[],c(l)?l:[],e&&r?t(e):[])}return n.concat(l,t(l,[],r))}},Lw:function(){return w},Ow:function(){return x},Pf:function(){return m},Py:function(){return y},Re:function(){return a},Ze:function(){return d},Zq:function(){return f},ao:function(){return c},gQ:function(){return g},hT:function(){return h},kK:function(){return s},tF:function(){return l},tR:function(){return p},wK:function(){return b},wk:function(){return o}})},45039:function(t,e,n){"use strict";let r;n.d(e,{Z:function(){return u}});var o={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let i=new Uint8Array(16),l=[];for(let t=0;t<256;++t)l.push((t+256).toString(16).slice(1));var u=function(t,e,n){if(o.randomUUID&&!e&&!t)return o.randomUUID();let u=(t=t||{}).random??t.rng?.()??function(){if(!r){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");r=crypto.getRandomValues.bind(crypto)}return r(i)}();if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,e){if((n=n||0)<0||n+16>e.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let t=0;t<16;++t)e[n+t]=u[t];return e}return function(t,e=0){return(l[t[e+0]]+l[t[e+1]]+l[t[e+2]]+l[t[e+3]]+"-"+l[t[e+4]]+l[t[e+5]]+"-"+l[t[e+6]]+l[t[e+7]]+"-"+l[t[e+8]]+l[t[e+9]]+"-"+l[t[e+10]]+l[t[e+11]]+l[t[e+12]]+l[t[e+13]]+l[t[e+14]]+l[t[e+15]]).toLowerCase()}(u)}}}]);