try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b21e7791-e454-49b6-a78d-d5883b32e484",e._sentryDebugIdIdentifier="sentry-dbid-b21e7791-e454-49b6-a78d-d5883b32e484")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1549],{6883:(e,t,o)=>{o.d(t,{Fh:()=>a,VO:()=>l,kn:()=>n,p8:()=>r});var n=e=>{let t={top:{originY:1},bottom:{originY:0},left:{originX:1},right:{originX:0},"top-start":{originX:0,originY:1},"top-end":{originX:1,originY:1},"bottom-start":{originX:0,originY:0},"bottom-end":{originX:1,originY:0},"right-start":{originX:0,originY:0},"right-end":{originX:0,originY:1},"left-start":{originX:1,originY:0},"left-end":{originX:1,originY:1}};return(null==t?void 0:t[e])||{}},l=e=>({top:"top",bottom:"bottom",left:"left",right:"right","top-start":"top start","top-end":"top end","bottom-start":"bottom start","bottom-end":"bottom end","left-start":"left top","left-end":"left bottom","right-start":"right top","right-end":"right bottom"})[e],r=(e,t)=>{if(t.includes("-")){let[o]=t.split("-");if(o.includes(e))return!1}return!0},a=(e,t)=>{if(t.includes("-")){let[,o]=t.split("-");return"".concat(e,"-").concat(o)}return e}},14274:(e,t,o)=>{o.d(t,{w:()=>l});var n=o(12115);function l(e){let{ref:t,box:o,onResize:l}=e;(0,n.useEffect)(()=>{let e=null==t?void 0:t.current;if(e)if(void 0===window.ResizeObserver)return window.addEventListener("resize",l,!1),()=>{window.removeEventListener("resize",l,!1)};else{let t=new window.ResizeObserver(e=>{e.length&&l()});return t.observe(e,{box:o}),()=>{e&&t.unobserve(e)}}},[l,t,o])}},27132:(e,t,o)=>{o.d(t,{a:()=>l,o:()=>r});var n=o(12115);let l=new WeakMap;function r(e){let{triggerRef:t,isOpen:o,onClose:r}=e;(0,n.useEffect)(()=>{if(!o||null===r)return;let e=e=>{let o=e.target;if(!t.current||o instanceof Node&&!o.contains(t.current)||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)return;let n=r||l.get(t.current);n&&n()};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[o,r,t])}},27597:(e,t,o)=>{o.d(t,{qE:()=>n});function n(e,t=-1/0,o=1/0){return Math.min(Math.max(e,t),o)}},28760:(e,t,o)=>{o.d(t,{v:()=>L});var n=o(66680),l=o(27597);let r={top:"top",bottom:"top",left:"left",right:"left"},a={top:"bottom",bottom:"top",left:"right",right:"left"},i={top:"left",left:"top"},s={top:"height",left:"width"},c={width:"totalWidth",height:"totalHeight"},d={},p="undefined"!=typeof document?window.visualViewport:null;function u(e){var t,o,l,r,a;let i=0,s=0,c=0,d=0,u=0,f=0,m={},g=(null!=(t=null==p?void 0:p.scale)?t:1)>1;if("BODY"===e.tagName){let t=document.documentElement;c=t.clientWidth,d=t.clientHeight,i=null!=(o=null==p?void 0:p.width)?o:c,s=null!=(l=null==p?void 0:p.height)?l:d,m.top=t.scrollTop||e.scrollTop,m.left=t.scrollLeft||e.scrollLeft,p&&(u=p.offsetTop,f=p.offsetLeft)}else({width:i,height:s,top:u,left:f}=h(e)),m.top=e.scrollTop,m.left=e.scrollLeft,c=i,d=s;return(0,n.Tc)()&&("BODY"===e.tagName||"HTML"===e.tagName)&&g&&(m.top=0,m.left=0,u=null!=(r=null==p?void 0:p.pageTop)?r:0,f=null!=(a=null==p?void 0:p.pageLeft)?a:0),{width:i,height:s,totalWidth:c,totalHeight:d,scroll:m,top:u,left:f}}function f(e,t,o,n,l,a,i){var c;let d=null!=(c=l.scroll[e])?c:0,p=n[s[e]],u=n.scroll[r[e]]+a,f=p+n.scroll[r[e]]-a,m=t-d+i[e]-n[r[e]],g=t-d+o+i[e]-n[r[e]];return mf?Math.max(f-g,u-m):0}function m(e){if(d[e])return d[e];let[t,o]=e.split(" "),n=r[t]||"right",l=i[n];r[o]||(o="center");let a=s[n],c=s[l];return d[e]={placement:t,crossPlacement:o,axis:n,crossAxis:l,size:a,crossSize:c},d[e]}function g(e,t,o,n,r,i,s,d,p,u){var f,m,g,b,h;let{placement:w,crossPlacement:v,axis:y,crossAxis:x,size:E,crossSize:k}=n,_={};_[x]=null!=(f=e[x])?f:0,"center"===v?_[x]+=((null!=(m=e[k])?m:0)-(null!=(g=o[k])?g:0))/2:v!==x&&(_[x]+=(null!=(b=e[k])?b:0)-(null!=(h=o[k])?h:0)),_[x]+=i;let z=e[x]-o[k]+p+u,L=e[x]+e[k]-p-u;if(_[x]=(0,l.qE)(_[x],z,L),w===y){let o=d?s[E]:t[c[E]];_[a[y]]=Math.floor(o-e[y]+r)}else _[y]=Math.floor(e[y]+e[E]+r);return _}function b(e,t,o,n,l,r){var i,s,c;let{placement:d,axis:p,size:u}=r;return d===p?Math.max(0,o[p]-e[p]-(null!=(i=e.scroll[p])?i:0)+t[p]-(null!=(s=n[p])?s:0)-n[a[p]]-l):Math.max(0,e[u]+e[p]+e.scroll[p]-t[p]-o[p]-o[u]-(null!=(c=n[p])?c:0)-n[a[p]]-l)}function h(e){let{top:t,left:o,width:n,height:l}=e.getBoundingClientRect(),{scrollTop:r,scrollLeft:a,clientTop:i,clientLeft:s}=document.documentElement;return{top:t+r-i,left:o+a-s,width:n,height:l}}function w(e,t){let o,n=window.getComputedStyle(e);if("fixed"===n.position){let{top:t,left:n,width:l,height:r}=e.getBoundingClientRect();o={top:t,left:n,width:l,height:r}}else{o=h(e);let n=h(t),l=window.getComputedStyle(t);n.top+=(parseInt(l.borderTopWidth,10)||0)-t.scrollTop,n.left+=(parseInt(l.borderLeftWidth,10)||0)-t.scrollLeft,o.top-=n.top,o.left-=n.left}return o.top-=parseInt(n.marginTop,10)||0,o.left-=parseInt(n.marginLeft,10)||0,o}function v(e){let t=window.getComputedStyle(e);return"none"!==t.transform||/transform|perspective/.test(t.willChange)||"none"!==t.filter||"paint"===t.contain||"backdropFilter"in t&&"none"!==t.backdropFilter||"WebkitBackdropFilter"in t&&"none"!==t.WebkitBackdropFilter}var y=o(27132),x=o(12115),E=o(33205),k=o(14274),_=o(51804);let z="undefined"!=typeof document?window.visualViewport:null;function L(e){var t,o,n;let{direction:i}=(0,_.Y)(),{arrowSize:s=0,targetRef:d,overlayRef:p,scrollRef:L=p,placement:T="bottom",containerPadding:O=12,shouldFlip:C=!0,boundaryElement:H="undefined"!=typeof document?document.body:null,offset:R=0,crossOffset:N=0,shouldUpdatePosition:I=!0,isOpen:M=!0,onClose:B,maxHeight:S,arrowBoundaryOffset:Y=0}=e,[P,X]=(0,x.useState)(null),D=[I,T,p.current,d.current,L.current,O,C,H,R,N,M,i,S,Y,s],W=(0,x.useRef)(null==z?void 0:z.scale);(0,x.useEffect)(()=>{M&&(W.current=null==z?void 0:z.scale)},[M]);let F=(0,x.useCallback)(()=>{var e,t,o,n,y,x;if(!1===I||!M||!p.current||!d.current||!H||(null==z?void 0:z.scale)!==W.current)return;let E=null;if(L.current&&L.current.contains(document.activeElement)){let n=null==(e=document.activeElement)?void 0:e.getBoundingClientRect(),l=L.current.getBoundingClientRect();(E={type:"top",offset:(null!=(t=null==n?void 0:n.top)?t:0)-l.top}).offset>l.height/2&&(E.type="bottom",E.offset=(null!=(o=null==n?void 0:n.bottom)?o:0)-l.bottom)}let k=p.current;!S&&p.current&&(k.style.top="0px",k.style.bottom="",k.style.maxHeight=(null!=(y=null==(n=window.visualViewport)?void 0:n.height)?y:window.innerHeight)+"px");let _=function(e){var t,o,n,i;let s,{placement:d,targetNode:p,overlayNode:y,scrollNode:x,padding:E,shouldFlip:k,boundaryElement:_,offset:z,crossOffset:L,maxHeight:T,arrowSize:O=0,arrowBoundaryOffset:C=0}=e,H=y instanceof HTMLElement?function(e){let t=e.offsetParent;if(t&&t===document.body&&"static"===window.getComputedStyle(t).position&&!v(t)&&(t=document.documentElement),null==t)for(t=e.parentElement;t&&!v(t);)t=t.parentElement;return t||document.documentElement}(y):document.documentElement,R=H===document.documentElement,N=window.getComputedStyle(H).position,I=R?h(p):w(p,H);if(!R){let{marginTop:e,marginLeft:t}=window.getComputedStyle(p);I.top+=parseInt(e,10)||0,I.left+=parseInt(t,10)||0}let M=h(y),B={top:parseInt((s=window.getComputedStyle(y)).marginTop,10)||0,bottom:parseInt(s.marginBottom,10)||0,left:parseInt(s.marginLeft,10)||0,right:parseInt(s.marginRight,10)||0};M.width+=(null!=(t=B.left)?t:0)+(null!=(o=B.right)?o:0),M.height+=(null!=(n=B.top)?n:0)+(null!=(i=B.bottom)?i:0);let S={top:x.scrollTop,left:x.scrollLeft,width:x.scrollWidth,height:x.scrollHeight},Y=u(_),P=u(H),X="BODY"===_.tagName?h(H):w(H,_);return"HTML"===H.tagName&&"BODY"===_.tagName&&(P.scroll.top=0,P.scroll.left=0),function(e,t,o,n,i,s,d,p,u,h,w,v,y,x,E,k){var _,z,L,T;let O=m(e),{size:C,crossAxis:H,crossSize:R,placement:N,crossPlacement:I}=O,M=g(t,p,o,O,w,v,h,y,E,k),B=w,S=b(p,h,t,i,s+w,O);if(d&&n[C]>S){let e=m(`${a[N]} ${I}`),n=g(t,p,o,e,w,v,h,y,E,k);b(p,h,t,i,s+w,e)>S&&(O=e,M=n,B=w)}let Y="bottom";"top"===O.axis?"top"===O.placement?Y="top":"bottom"===O.placement&&(Y="bottom"):"top"===O.crossAxis&&("top"===O.crossPlacement?Y="bottom":"bottom"===O.crossPlacement&&(Y="top"));let P=f(H,M[H],o[R],p,u,s,h);M[H]+=P;let X=function(e,t,o,n,l,r,a,i){var s,d,p,u,f,m,g;let b=n?o.height:t[c.height],h=null!=e.top?o.top+e.top:o.top+(b-(null!=(s=e.bottom)?s:0)-a),w="top"!==i?Math.max(0,t.height+t.top+(null!=(d=t.scroll.top)?d:0)-h-((null!=(p=l.top)?p:0)+(null!=(u=l.bottom)?u:0)+r)):Math.max(0,h+a-(t.top+(null!=(f=t.scroll.top)?f:0))-((null!=(m=l.top)?m:0)+(null!=(g=l.bottom)?g:0)+r));return Math.min(t.height-2*r,w)}(M,p,h,y,i,s,o.height,Y);x&&xk.style[e]=_.position[e]+"px"),k.style.maxHeight=null!=_.maxHeight?_.maxHeight+"px":"",E&&document.activeElement&&L.current){let e=document.activeElement.getBoundingClientRect(),t=L.current.getBoundingClientRect(),o=e[E.type]-t[E.type];L.current.scrollTop+=o-E.offset}X(_)}},D);(0,E.N)(F,D),n=F,(0,E.N)(()=>(window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)}),[n]),(0,k.w)({ref:p,onResize:F}),(0,k.w)({ref:d,onResize:F});let q=(0,x.useRef)(!1);(0,E.N)(()=>{let e,t=()=>{q.current=!0,clearTimeout(e),e=setTimeout(()=>{q.current=!1},500),F()},o=()=>{q.current&&t()};return null==z||z.addEventListener("resize",t),null==z||z.addEventListener("scroll",o),()=>{null==z||z.removeEventListener("resize",t),null==z||z.removeEventListener("scroll",o)}},[F]);let A=(0,x.useCallback)(()=>{q.current||null==B||B()},[B,q]);return(0,y.o)({triggerRef:d,isOpen:M,onClose:B&&A}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...null==P?void 0:P.position,maxHeight:null!=(t=null==P?void 0:P.maxHeight)?t:"100vh"}},placement:null!=(o=null==P?void 0:P.placement)?o:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:null==P?void 0:P.arrowOffsetLeft,top:null==P?void 0:P.arrowOffsetTop}},updatePosition:F}}},57909:(e,t,o)=>{o.d(t,{o:()=>a});var n=o(66952),l=o(84243),r=o(77346),a=(0,l.tv)({slots:{base:["z-0","relative","bg-transparent","before:content-['']","before:hidden","before:z-[-1]","before:absolute","before:rotate-45","before:w-2.5","before:h-2.5","before:rounded-sm","data-[arrow=true]:before:block","data-[placement=top]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top]:before:left-1/2","data-[placement=top]:before:-translate-x-1/2","data-[placement=top-start]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top-start]:before:left-3","data-[placement=top-end]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=top-end]:before:right-3","data-[placement=bottom]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom]:before:left-1/2","data-[placement=bottom]:before:-translate-x-1/2","data-[placement=bottom-start]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom-start]:before:left-3","data-[placement=bottom-end]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]","data-[placement=bottom-end]:before:right-3","data-[placement=left]:before:-right-[calc(theme(spacing.5)/4_-_2px)]","data-[placement=left]:before:top-1/2","data-[placement=left]:before:-translate-y-1/2","data-[placement=left-start]:before:-right-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=left-start]:before:top-1/4","data-[placement=left-end]:before:-right-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=left-end]:before:bottom-1/4","data-[placement=right]:before:-left-[calc(theme(spacing.5)/4_-_2px)]","data-[placement=right]:before:top-1/2","data-[placement=right]:before:-translate-y-1/2","data-[placement=right-start]:before:-left-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=right-start]:before:top-1/4","data-[placement=right-end]:before:-left-[calc(theme(spacing.5)/4_-_3px)]","data-[placement=right-end]:before:bottom-1/4",...r.zb],content:["z-10","px-2.5","py-1","w-full","inline-flex","flex-col","items-center","justify-center","box-border","subpixel-antialiased","outline-none","box-border"],trigger:["z-10"],backdrop:["hidden"],arrow:[]},variants:{size:{sm:{content:"text-tiny"},md:{content:"text-small"},lg:{content:"text-medium"}},color:{default:{base:"before:bg-content1 before:shadow-small",content:"bg-content1"},foreground:{base:"before:bg-foreground",content:n.k.solid.foreground},primary:{base:"before:bg-primary",content:n.k.solid.primary},secondary:{base:"before:bg-secondary",content:n.k.solid.secondary},success:{base:"before:bg-success",content:n.k.solid.success},warning:{base:"before:bg-warning",content:n.k.solid.warning},danger:{base:"before:bg-danger",content:n.k.solid.danger}},radius:{none:{content:"rounded-none"},sm:{content:"rounded-small"},md:{content:"rounded-medium"},lg:{content:"rounded-large"},full:{content:"rounded-full"}},shadow:{none:{content:"shadow-none"},sm:{content:"shadow-small"},md:{content:"shadow-medium"},lg:{content:"shadow-large"}},backdrop:{transparent:{},opaque:{backdrop:"bg-overlay/50 backdrop-opacity-disabled"},blur:{backdrop:"backdrop-blur-sm backdrop-saturate-150 bg-overlay/30"}},triggerScaleOnOpen:{true:{trigger:["aria-expanded:scale-[0.97]","aria-expanded:opacity-70","subpixel-antialiased"]},false:{}},disableAnimation:{true:{base:"animate-none"}},isTriggerDisabled:{true:{trigger:"opacity-disabled pointer-events-none"},false:{}}},defaultVariants:{color:"default",radius:"lg",size:"md",shadow:"md",backdrop:"transparent",triggerScaleOnOpen:!0},compoundVariants:[{backdrop:["opaque","blur"],class:{backdrop:"block w-full h-full fixed inset-0 -z-30"}}]})}}]);