!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a04400-1000-7ac3-a280-6360fd0df87e")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,996225,e=>{"use strict";var t=e.i(270401),n=e.i(120102),r=e.i(602406),o=e.i(604079),l=e.i(235901),i=e.i(86222),s=e.i(228876),a=e.i(361409),u=e.i(671695),c=e.i(863345),f=e.i(763323),d=e.i(192291),g=e.i(281085),p=e.i(375727),b=e.i(271710),h=e.i(365054),m=e.i(686738),v=e.i(774202),E=e.i(559224),w=e.i(302113),y=e.i(939550),R=e.i(467219),T=e.i(112421),S=e.i(846755);let k={inert:new WeakMap,"aria-hidden":new WeakMap},A="data-base-ui-inert",L={inert:new WeakSet,"aria-hidden":new WeakSet},C=new WeakMap,M=0,O=(e,t)=>t.map(t=>{if(e.contains(t))return t;let r=function e(t){return t?(0,n.isShadowRoot)(t)?t.host:e(t.parentNode):null}(t);return e.contains(r)?r:null}).filter(e=>null!=e),x=e=>{let t=new Set;return e.forEach(e=>{let n=e;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},P=(e,t,r)=>{let o=[],l=e=>{!e||r.has(e)||Array.from(e.children).forEach(e=>{"script"!==(0,n.getNodeName)(e)&&(t.has(e)?l(e):o.push(e))})};return l(e),o};function W(e,t={}){let{ariaHidden:n=!1,inert:r=!1,mark:o=!0,markerIgnoreElements:l=[]}=t,i=(0,d.ownerDocument)(e[0]).body;return function(e,t,n,r,{mark:o=!0,markerIgnoreElements:l=[]}){let i=r?"inert":n?"aria-hidden":null,s=null,a=null,u=O(t,e),c=new Set(o?O(t,l):[]),f=o?P(t,x(u),new Set(u)).filter(e=>!c.has(e)):[],d=[],g=[];if(i){let e=k[i],n=L[i];a=n,s=e;let r=O(t,Array.from(t.querySelectorAll("[aria-live]"))),o=u.concat(r);P(t,x(o),new Set(o)).forEach(t=>{let r=t.getAttribute(i),o=null!==r&&"false"!==r,l=(e.get(t)||0)+1;e.set(t,l),d.push(t),1===l&&o&&n.add(t),o||t.setAttribute(i,"inert"===i?"":"true")})}return o&&f.forEach(e=>{let t=(C.get(e)||0)+1;C.set(e,t),g.push(e),1===t&&e.setAttribute(A,"")}),M+=1,()=>{s&&d.forEach(e=>{let t=(s.get(e)||0)-1;s.set(e,t),t||(!a?.has(e)&&i&&e.removeAttribute(i),a?.delete(e))}),o&&g.forEach(e=>{let t=(C.get(e)||0)-1;C.set(e,t),t||e.removeAttribute(A)}),(M-=1)||(k.inert=new WeakMap,k["aria-hidden"]=new WeakMap,L.inert=new WeakSet,L["aria-hidden"]=new WeakSet,C=new WeakMap)}}(e,i,n,r,{mark:o,markerIgnoreElements:l})}var I=e.i(55497),D=e.i(991066),F=e.i(916317),N=e.i(286134),H=e.i(222666);let Y=[];function B(){Y=Y.filter(e=>e.deref()?.isConnected)}function _(){return B(),Y[Y.length-1]?.deref()}function K(e,t){if(e.hasAttribute("tabindex")&&!e.hasAttribute("data-tabindex")||!t.current.includes("floating")&&!e.getAttribute("role")?.includes("dialog"))return;let n=(0,v.focusable)(e).filter(e=>{let t=e.getAttribute("data-tabindex")||"";return(0,v.isTabbable)(e)||e.hasAttribute("data-tabindex")&&!t.startsWith("-")}),r=e.getAttribute("tabindex");t.current.includes("floating")||0===n.length?"0"!==r&&e.setAttribute("tabindex","0"):("-1"!==r||e.hasAttribute("data-tabindex")&&"-1"!==e.getAttribute("data-tabindex"))&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-tabindex","-1"))}e.s(["FloatingFocusManager",0,function(e){let{context:k,children:A,disabled:L=!1,initialFocus:C=!0,returnFocus:M=!0,restoreFocus:O=!1,modal:x=!0,closeOnFocusOut:P=!0,openInteractionType:U="",nextFocusableElement:q,previousFocusableElement:G,beforeContentFocusGuardRef:X,externalTree:$,getInsideElements:V}=e,j="rootStore"in k?k.rootStore:k,z=j.useState("open"),Z=j.useState("domReferenceElement"),J=j.useState("floatingElement"),{events:Q,dataRef:ee}=j.context,et=(0,s.useStableCallback)(()=>ee.current.floatingContext?.nodeId),en=!1===C,er=(0,h.isTypeableCombobox)(Z)&&en,eo=t.useRef(["content"]),el=(0,i.useValueAsRef)(C),ei=(0,i.useValueAsRef)(M),es=(0,i.useValueAsRef)(U),ea=(0,D.useFloatingTree)($),eu=(0,I.usePortalContext)(),ec=t.useRef(!1),ef=t.useRef(!1),ed=t.useRef(!1),eg=t.useRef(null),ep=t.useRef(""),eb=t.useRef(""),eh=t.useRef(null),em=t.useRef(null),ev=(0,l.useMergedRefs)(eh,X,eu?.beforeInsideRef),eE=(0,l.useMergedRefs)(em,eu?.afterInsideRef),ew=(0,u.useTimeout)(),ey=(0,u.useTimeout)(),eR=(0,f.useAnimationFrame)(),eT=null!=eu,eS=(0,h.getFloatingFocusElement)(J),ek=(0,s.useStableCallback)((e=eS)=>e?(0,v.tabbable)(e):[]),eA=(0,s.useStableCallback)(()=>V?.().filter(e=>null!=e)??[]);t.useEffect(()=>{if(L||!x)return;let e=(0,d.ownerDocument)(eS);return(0,r.addEventListener)(e,"keydown",function(e){"Tab"===e.key&&(0,b.contains)(eS,(0,b.activeElement)((0,d.ownerDocument)(eS)))&&0===ek().length&&!er&&(0,m.stopEvent)(e)})},[L,Z,eS,x,eo,er,ek]),t.useEffect(()=>{if(L||!z)return;let e=(0,d.ownerDocument)(eS);function t(){ed.current=!1}return(0,o.mergeCleanups)((0,r.addEventListener)(e,"pointerdown",function(e){let t=(0,b.getTarget)(e),n=eA();ed.current=!((0,b.contains)(J,t)||(0,b.contains)(Z,t)||(0,b.contains)(eu?.portalNode,t)||n.some(e=>e===t||(0,b.contains)(e,t))),eb.current=e.pointerType||"keyboard",t?.closest(`[${F.CLICK_TRIGGER_IDENTIFIER}]`)&&(ef.current=!0)},!0),(0,r.addEventListener)(e,"pointerup",t,!0),(0,r.addEventListener)(e,"pointercancel",t,!0),(0,r.addEventListener)(e,"keydown",function(){eb.current="keyboard"},!0))},[L,J,Z,eS,z,eu,eA]),t.useEffect(()=>{if(L||!P)return;let e=(0,d.ownerDocument)(eS);function t(t){let r=t.relatedTarget,o=t.currentTarget,l=(0,b.getTarget)(t);queueMicrotask(()=>{let i=et(),s=j.context.triggerElements,a=eA(),u=r?.hasAttribute((0,T.createAttribute)("focus-guard"))&&[eh.current,em.current,eu?.beforeInsideRef.current,eu?.afterInsideRef.current,eu?.beforeOutsideRef.current,eu?.afterOutsideRef.current,(0,N.resolveRef)(G),(0,N.resolveRef)(q)].includes(r),c=!((0,b.contains)(Z,r)||(0,b.contains)(J,r)||(0,b.contains)(r,J)||(0,b.contains)(eu?.portalNode,r)||a.some(e=>e===r||(0,b.contains)(e,r))||null!=r&&s.hasElement(r)||s.hasMatchingElement(e=>(0,b.contains)(e,r))||u||ea&&((0,E.getNodeChildren)(ea.nodesRef.current,i).find(e=>(0,b.contains)(e.context?.elements.floating,r)||(0,b.contains)(e.context?.elements.domReference,r))||(0,E.getNodeAncestors)(ea.nodesRef.current,i).find(e=>[e.context?.elements.floating,(0,h.getFloatingFocusElement)(e.context?.elements.floating)].includes(r)||e.context?.elements.domReference===r)));if(o===Z&&eS&&K(eS,eo),O&&o!==Z&&!(0,w.isElementVisible)(l)&&(0,b.activeElement)(e)===e.body){if((0,n.isHTMLElement)(eS)&&(eS.focus(),"popup"===O))return void eR.request(()=>{eS.focus()});let e=ek(),t=eg.current,r=(t&&e.includes(t)?t:null)||e[e.length-1]||eS;(0,n.isHTMLElement)(r)&&r.focus()}if(ee.current.insideReactTree){ee.current.insideReactTree=!1;return}(er||!x)&&r&&c&&!ef.current&&(er||r!==_())&&(ec.current=!0,j.setOpen(!1,(0,y.createChangeEventDetails)(R.REASONS.focusOut,t)))})}let l=(0,n.isHTMLElement)(Z)?Z:null;if(J||l)return(0,o.mergeCleanups)(l&&(0,r.addEventListener)(l,"focusout",t),l&&(0,r.addEventListener)(l,"pointerdown",function(){ef.current=!0,ey.start(0,()=>{ef.current=!1})}),J&&(0,r.addEventListener)(J,"focusin",function(e){let t=(0,b.getTarget)(e);(0,v.isTabbable)(t)&&(eg.current=t)}),J&&(0,r.addEventListener)(J,"focusout",t),J&&eu&&(0,r.addEventListener)(J,"focusout",function(){ed.current||(ee.current.insideReactTree=!0,ew.start(0,()=>{ee.current.insideReactTree=!1}))},!0))},[L,Z,J,eS,x,ea,eu,j,P,O,ek,er,et,eo,ee,ew,ey,eR,q,G,eA]),t.useEffect(()=>{if(L||!J||!z)return;let e=Array.from(eu?.portalNode?.querySelectorAll(`[${(0,T.createAttribute)("portal")}]`)||[]),t=ea?(0,E.getNodeAncestors)(ea.nodesRef.current,et()):[],n=t.find(e=>(0,h.isTypeableCombobox)(e.context?.elements.domReference||null))?.context?.elements.domReference,r=W([J,...e,eh.current,em.current,eu?.beforeOutsideRef.current,eu?.afterOutsideRef.current,...eA(),n,(0,N.resolveRef)(G),(0,N.resolveRef)(q),er?Z:null].filter(e=>null!=e),{ariaHidden:x||er,mark:!1}),o=W([J,...e].filter(e=>null!=e));return()=>{o(),r()}},[z,L,Z,J,x,eo,eu,er,ea,et,q,G,eA]),(0,a.useIsoLayoutEffect)(()=>{if(!z||L||!(0,n.isHTMLElement)(eS))return;let e=(0,d.ownerDocument)(eS),t=(0,b.activeElement)(e);queueMicrotask(()=>{let e,n=el.current,r="function"==typeof n?n(es.current||""):n;if(void 0===r||!1===r||(0,b.contains)(eS,t))return;let o=null,l=()=>(null==o&&(o=ek(eS)),o[0]||eS);e=(e=!0===r||null===r?l():(0,N.resolveRef)(r))||l(),(0,S.enqueueFocus)(e,{preventScroll:e===eS})})},[L,z,eS,en,ek,el,es]),(0,a.useIsoLayoutEffect)(()=>{var e;if(L||!eS)return;let t=(0,d.ownerDocument)(eS);function r(e){var t,n;let r;if(e.open||(t=e.nativeEvent,n=eb.current,r=(0,g.ownerWindow)((0,b.getTarget)(t)),ep.current=t instanceof r.KeyboardEvent?"keyboard":t instanceof r.FocusEvent?n||"keyboard":"pointerType"in t?t.pointerType||"keyboard":"touches"in t?"touch":t instanceof r.MouseEvent?n||(0===t.detail?"keyboard":"mouse"):""),e.reason===R.REASONS.triggerHover&&"mouseleave"===e.nativeEvent.type&&(ec.current=!0),e.reason===R.REASONS.outsidePress)if(e.nested)ec.current=!1;else if((0,m.isVirtualClick)(e.nativeEvent)||(0,m.isVirtualPointerEvent)(e.nativeEvent))ec.current=!1;else{let e=!1;(0,d.ownerDocument)(eS).createElement("div").focus({get preventScroll(){return e=!0,!1}}),e?ec.current=!1:ec.current=!0}}return e=(0,b.activeElement)(t),B(),e&&"body"!==(0,n.getNodeName)(e)&&(Y.push(new WeakRef(e)),Y.length>20&&(Y=Y.slice(-20))),Q.on("openchange",r),()=>{Q.off("openchange",r);let e=(0,b.activeElement)(t),o=eA(),l=(0,b.contains)(J,e)||o.some(t=>t===e||(0,b.contains)(t,e))||ea&&(0,E.getNodeChildren)(ea.nodesRef.current,et(),!1).some(t=>(0,b.contains)(t.context?.elements.floating,e)),i=ei.current,s=function(){let e=ei.current,t="function"==typeof e?e(ep.current):e;if(void 0===t||!1===t)return null;if(null===t&&(t=!0),"boolean"==typeof t){let e=Z||_();return e&&e.isConnected?e:null}let n=Z||_();return(0,N.resolveRef)(t)||n||null}();queueMicrotask(()=>{let r=s?(0,v.isTabbable)(s)?s:(0,v.tabbable)(s)[0]||s:null;i&&!ec.current&&(0,n.isHTMLElement)(r)&&("boolean"!=typeof i||r===e||e===t.body||l)&&r.focus({preventScroll:!0}),ec.current=!1})}},[L,J,eS,ei,ee,Q,ea,Z,et,eA]),(0,a.useIsoLayoutEffect)(()=>{if(!c.isWebKit||z||!J)return;let e=(0,b.activeElement)((0,d.ownerDocument)(J));(0,n.isHTMLElement)(e)&&(0,h.isTypeableElement)(e)&&(0,b.contains)(J,e)&&e.blur()},[z,J]),(0,a.useIsoLayoutEffect)(()=>{if(!L&&eu)return eu.setFocusManagerState({modal:x,closeOnFocusOut:P,open:z,onOpenChange:j.setOpen,domReference:Z}),()=>{eu.setFocusManagerState(null)}},[L,eu,x,z,j,P,Z]),(0,a.useIsoLayoutEffect)(()=>{if(!L&&eS)return K(eS,eo),()=>{queueMicrotask(B)}},[L,eS,eo]);let eL=!L&&(!x||!er)&&(eT||x);return(0,H.jsxs)(t.Fragment,{children:[eL&&(0,H.jsx)(p.FocusGuard,{"data-type":"inside",ref:ev,onFocus:e=>{if(x){let e=ek();(0,S.enqueueFocus)(e[e.length-1])}else if(eu?.portalNode)if(ec.current=!1,(0,v.isOutsideEvent)(e,eu.portalNode)){let e=(0,v.getNextTabbable)(Z);e?.focus()}else(0,N.resolveRef)(G??eu.beforeOutsideRef)?.focus()}}),A,eL&&(0,H.jsx)(p.FocusGuard,{"data-type":"inside",ref:eE,onFocus:e=>{if(x)(0,S.enqueueFocus)(ek()[0]);else if(eu?.portalNode)if(P&&(ec.current=!0),(0,v.isOutsideEvent)(e,eu.portalNode)){let e=(0,v.getPreviousTabbable)(Z);e?.focus()}else(0,N.resolveRef)(q??eu.afterOutsideRef)?.focus()}})]})}],996225)},609190,e=>{"use strict";var t=e.i(270401),n=e.i(763323),r=e.i(671695),o=e.i(618568),l=e.i(271710),i=e.i(365054),s=e.i(686738),a=e.i(939550),u=e.i(467219);e.s(["useClick",0,function(e,c={}){let f="rootStore"in e?e.rootStore:e,d=f.context.dataRef,{enabled:g=!0,event:p="click",toggle:b=!0,ignoreMouse:h=!1,stickIfOpen:m=!0,touchOpenDelay:v=0,reason:E=u.REASONS.triggerPress}=c,w=t.useRef(void 0),y=(0,n.useAnimationFrame)(),R=(0,r.useTimeout)(),T=t.useMemo(()=>({onPointerDown(e){w.current=e.pointerType},onMouseDown(e){let t=w.current,n=e.nativeEvent,r=f.select("open");if(0!==e.button||"click"===p||(0,s.isMouseLikePointerType)(t,!0)&&h)return;let o=d.current.openEvent,u=o?.type,c=f.select("domReferenceElement")!==e.currentTarget,g=r&&c||!(r&&b&&(!o||!m||"click"===u||"mousedown"===u)),T=(0,l.getTarget)(n);if((0,i.isTypeableElement)(T)){let e=(0,a.createChangeEventDetails)(E,n,T);g&&"touch"===t&&v>0?R.start(v,()=>{f.setOpen(!0,e)}):f.setOpen(g,e);return}let S=e.currentTarget;y.request(()=>{let e=(0,a.createChangeEventDetails)(E,n,S);g&&"touch"===t&&v>0?R.start(v,()=>{f.setOpen(!0,e)}):f.setOpen(g,e)})},onClick(e){if("mousedown-only"===p)return;let t=w.current;if("mousedown"===p&&t){w.current=void 0;return}if((0,s.isMouseLikePointerType)(t,!0)&&h)return;let n=f.select("open"),r=d.current.openEvent,o=f.select("domReferenceElement")!==e.currentTarget,l=n&&o||!(n&&b&&(!r||!m||(0,s.isClickLikeEvent)(r))),i=(0,a.createChangeEventDetails)(E,e.nativeEvent,e.currentTarget);l&&"touch"===t&&v>0?R.start(v,()=>{f.setOpen(!0,i)}):f.setOpen(l,i)},onKeyDown(){w.current=void 0}}),[d,p,h,f,m,b,y,R,v,E]);return t.useMemo(()=>g?{reference:T}:o.EMPTY_OBJECT,[g,T])}])},846755,e=>{"use strict";var t=e.i(618568);let n=0;e.s(["enqueueFocus",0,function(e,r={}){let{preventScroll:o=!1,cancelPrevious:l=!0,sync:i=!1}=r;l&&cancelAnimationFrame(n);let s=()=>e?.focus({preventScroll:o});if(i)return s(),t.NOOP;let a=requestAnimationFrame(s);return n=a,()=>{n===a&&(cancelAnimationFrame(a),n=0)}}])},899454,e=>{"use strict";var t=e.i(120102);let n="ArrowUp",r="ArrowDown",o="ArrowLeft",l="ArrowRight",i="Home",s=new Set([o,l]),a=new Set([o,l,i,"End"]),u=new Set([n,r]),c=new Set([n,r,i,"End"]),f=new Set([...s,...u]),d=new Set([...f,i,"End"]),g=new Set([n,r,o,l,i,"End"]),p="Shift",b=new Set([p,"Control","Alt","Meta"]);function h(e,t,n){let r="left"===n?"offsetLeft":"offsetTop",o=0;for(;t.offsetParent&&(o+=t[r],t.offsetParent!==e);)t=t.offsetParent;return o}function m(e){let t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||0,scrollMarginLeft:parseFloat(t.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(t.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(t.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(t.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(t.scrollPaddingLeft)||0}}e.s(["ALL_KEYS",0,d,"ARROW_DOWN",0,r,"ARROW_KEYS",0,f,"ARROW_LEFT",0,o,"ARROW_RIGHT",0,l,"ARROW_UP",0,n,"COMPOSITE_KEYS",0,g,"END",0,"End","HOME",0,i,"HORIZONTAL_KEYS",0,s,"HORIZONTAL_KEYS_WITH_EXTRA_KEYS",0,a,"MODIFIER_KEYS",0,b,"PAGE_DOWN",0,"PageDown","PAGE_UP",0,"PageUp","SHIFT",0,p,"VERTICAL_KEYS",0,u,"VERTICAL_KEYS_WITH_EXTRA_KEYS",0,c,"isNativeInput",0,function(e){return!!((0,t.isHTMLElement)(e)&&"INPUT"===e.tagName&&null!=e.selectionStart||(0,t.isHTMLElement)(e)&&"TEXTAREA"===e.tagName)},"scrollIntoViewIfNeeded",0,function(e,t,n,r){if(!e||!t||!t.scrollTo)return;let o=e.scrollLeft,l=e.scrollTop,i=e.clientWidthe.scrollLeft+e.clientWidth-l.scrollPaddingRight?o=r+t.offsetWidth+i.scrollMarginRight-e.clientWidth+l.scrollPaddingRight:r-i.scrollMarginLefte.scrollLeft+e.clientWidth-l.scrollPaddingRight&&(o=r+t.offsetWidth+i.scrollMarginRight-e.clientWidth+l.scrollPaddingRight))}if(s&&"horizontal"!==r){let n=h(e,t,"top"),r=m(e),o=m(t);n-o.scrollMarginTope.scrollTop+e.clientHeight-r.scrollPaddingBottom&&(l=n+t.offsetHeight+o.scrollMarginBottom-e.clientHeight+r.scrollPaddingBottom)}e.scrollTo({left:o,top:l,behavior:"auto"})}])},481902,878392,e=>{"use strict";var t=e.i(270401),n=e.i(120102),r=e.i(228876),o=e.i(361409),l=e.i(356120),i=e.i(397744);let s=t.createContext(void 0);function a(e=!1){let n=t.useContext(s);if(void 0===n&&!e)throw Error((0,i.default)(16));return n}function u(e){return(0,n.isHTMLElement)(e)&&"BUTTON"===e.tagName}e.s(["CompositeRootContext",0,s,"useCompositeRootContext",0,a],878392),e.s(["useButton",0,function(e={}){let{disabled:n=!1,focusableWhenDisabled:i,tabIndex:s=0,native:c=!0,composite:f}=e,d=t.useRef(null),g=a(!0),p=f??void 0!==g,{props:b}=function(e){let{focusableWhenDisabled:n,disabled:r,composite:o=!1,tabIndex:l=0,isNativeButton:i}=e,s=o&&!1!==n,a=o&&!1===n;return{props:t.useMemo(()=>{let e={onKeyDown(e){r&&n&&"Tab"!==e.key&&e.preventDefault()}};return o||(e.tabIndex=l,!i&&r&&(e.tabIndex=n?l:-1)),(i&&(n||s)||!i&&r)&&(e["aria-disabled"]=r),i&&(!n||a)&&(e.disabled=r),e},[o,r,n,s,a,i,l])}}({focusableWhenDisabled:i,disabled:n,composite:p,tabIndex:s,isNativeButton:c}),h=t.useCallback(()=>{let e=d.current;u(e)&&p&&n&&void 0===b.disabled&&e.disabled&&(e.disabled=!1)},[n,b.disabled,p]);return(0,o.useIsoLayoutEffect)(h,[h]),{getButtonProps:t.useCallback((e={})=>{let{onClick:t,onMouseDown:r,onKeyUp:o,onKeyDown:i,onPointerDown:s,...a}=e,f=c?"button":void 0;return(0,l.mergeProps)({type:f,onClick(e){n?e.preventDefault():t?.(e)},onMouseDown(e){n||r?.(e)},onKeyDown(e){var r;if(n||((0,l.makeEventPreventable)(e),i?.(e),e.baseUIHandlerPrevented))return;let o=e.target===e.currentTarget,s=e.currentTarget,a=u(s),f=!c&&(r=s,!!(r?.tagName==="A"&&r?.href)),d=o&&(c?a:!f),g="Enter"===e.key,b=" "===e.key,h=s.getAttribute("role"),m=h?.startsWith("menuitem")||"option"===h||"gridcell"===h;if(o&&p&&b){if(e.defaultPrevented&&m)return;e.preventDefault(),f||c&&a?(s.click(),e.preventBaseUIHandler()):d&&(t?.(e),e.preventBaseUIHandler());return}d&&(!c&&(b||g)&&e.preventDefault(),!c&&g&&t?.(e))},onKeyUp(e){n||(((0,l.makeEventPreventable)(e),o?.(e),e.target===e.currentTarget&&c&&p&&u(e.currentTarget)&&" "===e.key)?e.preventDefault():!e.baseUIHandlerPrevented&&(e.target!==e.currentTarget||c||p||" "!==e.key||t?.(e)))},onPointerDown(e){n?e.preventDefault():s?.(e)}},c?void 0:{role:"button"},b,a)},[n,b,p,c]),buttonRef:(0,r.useStableCallback)(e=>{d.current=e,h()})}}],481902)},412425,e=>{"use strict";var t=e.i(270401),n=e.i(361409),r=e.i(228876);e.s(["useValueChanged",0,function(e,o){let l=t.useRef(e),i=(0,r.useStableCallback)(o);(0,n.useIsoLayoutEffect)(()=>{l.current!==e&&i(l.current)},[e,i]),(0,n.useIsoLayoutEffect)(()=>{l.current=e},[e])}])},814348,e=>{"use strict";var t=e.i(270401),n=e.i(222666);let r=t.forwardRef(function(e,t){let r,{cutout:o,...l}=e;if(o){let e=o.getBoundingClientRect();r=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${e.left}px ${e.top}px,${e.left}px ${e.bottom}px,${e.right}px ${e.bottom}px,${e.right}px ${e.top}px,${e.left}px ${e.top}px)`}return(0,n.jsx)("div",{ref:t,role:"presentation","data-base-ui-inert":"",...l,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:r}})});e.s(["InternalBackdrop",0,r])},593900,e=>{"use strict";var t=e.i(270401),n=e.i(228876),r=e.i(863345),o=e.i(412425);e.s(["useOpenInteractionType",0,function(e){let l,i,[s,a]=t.useState(null),u=(0,n.useStableCallback)((t,n)=>{e||a(n||(r.isIOS?"touch":""))});(0,o.useValueChanged)(e,t=>{t&&!e&&a(null)});let{onClick:c,onPointerDown:f}=(l=t.useRef(""),i=t.useCallback(e=>{e.defaultPrevented||(l.current=e.pointerType,u(e,e.pointerType))},[u]),{onClick:t.useCallback(e=>{0===e.detail?u(e,"keyboard"):(u(e,"pointerType"in e?e.pointerType:l.current),l.current="")},[u]),onPointerDown:i});return t.useMemo(()=>({openMethod:s,triggerProps:{onClick:c,onPointerDown:f}}),[s,c,f])}],593900)},987950,e=>{"use strict";var t=e.i(120102),n=e.i(602406),r=e.i(863345),o=e.i(192291),l=e.i(281085),i=e.i(361409),s=e.i(671695),a=e.i(763323),u=e.i(618568);let c={},f={},d="";class g{lockCount=0;restore=null;timeoutLock=s.Timeout.create();timeoutUnlock=s.Timeout.create();acquire(e){return this.lockCount+=1,1===this.lockCount&&null===this.restore&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{this.lockCount-=1,0===this.lockCount&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{0===this.lockCount&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){let i,s,g,p,b;if(0===this.lockCount||null!==this.restore)return;let h=(0,o.ownerDocument)(e).documentElement,m=(0,l.ownerWindow)(h).getComputedStyle(h).overflowY;if("hidden"===m||"clip"===m){this.restore=u.NOOP;return}let v=r.isIOS||!function(e){if("u"0}(e);this.restore=v?(s=(i=(0,o.ownerDocument)(e)).documentElement,g=i.body,b={overflowY:(p=(0,t.isOverflowElement)(s)?s:g).style.overflowY,overflowX:p.style.overflowX},Object.assign(p.style,{overflowY:"hidden",overflowX:"hidden"}),()=>{Object.assign(p.style,b)}):function(e){let i=(0,o.ownerDocument)(e),s=i.documentElement,u=i.body,g=(0,l.ownerWindow)(s),p=0,b=0,h=!1,m=a.AnimationFrame.create();if(r.isWebKit&&(g.visualViewport?.scale??1)!==1)return()=>{};function v(){let n=g.getComputedStyle(s),r=g.getComputedStyle(u),l=(n.scrollbarGutter||"").includes("both-edges")?"stable both-edges":"stable";p=s.scrollTop,b=s.scrollLeft,c={scrollbarGutter:s.style.scrollbarGutter,overflowY:s.style.overflowY,overflowX:s.style.overflowX},d=s.style.scrollBehavior,f={position:u.style.position,height:u.style.height,width:u.style.width,boxSizing:u.style.boxSizing,overflowY:u.style.overflowY,overflowX:u.style.overflowX,scrollBehavior:u.style.scrollBehavior};let i=s.scrollHeight>s.clientHeight,a=s.scrollWidth>s.clientWidth,m="scroll"===n.overflowY||"scroll"===r.overflowY,v="scroll"===n.overflowX||"scroll"===r.overflowX,E=Math.max(0,g.innerWidth-u.clientWidth),w=Math.max(0,g.innerHeight-u.clientHeight),y=parseFloat(r.marginTop)+parseFloat(r.marginBottom),R=parseFloat(r.marginLeft)+parseFloat(r.marginRight),T=(0,t.isOverflowElement)(s)?s:u;if(h=function(e){if(!("u">typeof CSS&&CSS.supports&&CSS.supports("scrollbar-gutter","stable"))||"u"{m.cancel(),E(),"function"==typeof g.removeEventListener&&w()}}(e)}}let p=new g;e.s(["useScrollLock",0,function(e=!0,t=null){(0,i.useIsoLayoutEffect)(()=>{if(e)return p.acquire(t)},[e,t])}])}]); //# sourceMappingURL=31915x8sgyy28.js.map //# chunkId=01a04400-1000-7ac3-a280-6360fd0df87e