1 2!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._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c2846bc4-f1fd-5701-aca1-748761ba26eb")}catch(e){}}(); 3(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`25c8561407dd244f755cdf86f82d232b3ffe81b9`}}catch{}})();import{r as e}from"./rolldown-runtime-DS5tZbRp.js";import{n as t,t as n}from"./jsx-runtime-mW4NJb5c.js";import{F as r,M as i,N as a,P as o,S as s,i as c,j as l,u,x as d,y as f}from"./useButton-BNaNC-dc.js";import{D as p,I as m,O as h,X as g,dt as _,nt as v,q as y}from"./useScrollLock-Die486HN.js";import{d as b,l as x}from"./inertValue-BS9DPi2j.js";import{A as ee,B as te,H as S,M as C,N as w,O as ne,P as re,U as ie,V as ae,Y as oe,a as T,dt as se,i as ce,j as E,k as D,o as le,r as ue,rt as de,s as fe,t as pe,yt as me}from"./composite-DOQ2LZwc.js";var O=e(t(),1),he=function(e){return e.disabled=`data-disabled`,e.valid=`data-valid`,e.invalid=`data-invalid`,e.touched=`data-touched`,e.dirty=`data-dirty`,e.filled=`data-filled`,e.focused=`data-focused`,e}({}),ge={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},k={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},_e={disabled:!1,...k},A={valid(e){return e===null?null:e?{[he.valid]:``}:{[he.invalid]:``}}},j={invalid:void 0,name:void 0,validityData:{state:ge,errors:[],error:``,value:``,initialValue:null},setValidityData:r,disabled:void 0,touched:k.touched,setTouched:r,dirty:k.dirty,setDirty:r,filled:k.filled,setFilled:r,focused:k.focused,setFocused:r,validate:()=>null,validationMode:`onSubmit`,validationDebounceTime:0,shouldValidateOnChange:()=>!1,state:_e,markedDirtyRef:{current:!1},registerFieldControl:r,validation:{getValidationProps:(e,t=o)=>t,inputRef:{current:null},registerInput:r,commit:async()=>{},change:r}},M=O.createContext(j);function N(e=!0){let t=O.useContext(M);if(t.setValidityData===r&&!e)throw Error(u(28));return t}function ve(e,t,n,r,a=!0,o){let{registerFieldControl:s}=N(),c=O.useRef(null);c.current||=Symbol(),i(()=>{let i=c.current;if(!(!i||!a))return s(i,{controlRef:e,getValue:r,id:t,name:o,value:n}),()=>{s(i,void 0)}},[e,a,r,t,o,s,n])}var ye=O.createContext({formRef:{current:{fields:new Map}},errors:{},clearErrors:r,validationMode:`onSubmit`,submitAttemptedRef:{current:!1}});function P(){return O.useContext(ye)}var F=O.createContext({controlId:void 0,registerControlId:r,labelId:void 0,setLabelId:r,messageIds:[],setMessageIds:r,getDescriptionProps:e=>e});function I(){return O.useContext(F)}var L=`Escape`;function R(e,t,n){switch(e){case`vertical`:return t;case`horizontal`:return n;default:return t||n}}function z(e,t){return R(t,e===`ArrowUp`||e===`ArrowDown`,e===`ArrowLeft`||e===`ArrowRight`)}function be(e,t,n){return R(t,e===`ArrowDown`,n?e===`ArrowLeft`:e===`ArrowRight`)||e===`Enter`||e===` `||e===``}function xe(e,t,n){return R(t,n?e===C:e===w,e===E)}function Se(e,t,n,r){return t===`both`||t===`horizontal`&&r?e===L:R(t,n?e===w:e===C,e===re)}function B(e,t){let{listRef:n,activeIndex:r,onNavigate:a=()=>{},enabled:o=!0,selectedIndex:l=null,allowEscape:u=!1,loopFocus:d=!1,nested:f=!1,rtl:v=!1,virtual:C=!1,focusItemOnOpen:w=`auto`,focusItemOnHover:re=!0,openOnArrowKeyDown:ie=!0,disabledIndices:T=void 0,orientation:E=`vertical`,parentOrientation:fe,id:me,resetOnPointerLeave:he=!0,externalTree:ge,grid:k}=t,_e=k!=null,A=`rootStore`in e?e.rootStore:e,j=A.useState(`open`),M=A.useState(`floatingElement`),N=A.useState(`domReferenceElement`),ve=A.context.dataRef,ye=y(M),P=g(N),F=_(ye),I=p(),L=h(ge),R=O.useRef(w),B=O.useRef(l??-1),V=O.useRef(null),H=O.useRef(!0),U=c(e=>{a(B.current===-1?null:B.current,e)}),W=O.useRef(!!M),Ce=O.useRef(j),G=O.useRef(!1),K=O.useRef(!1),q=O.useRef(null),we=_(T),J=_(j),Y=_(l),Te=_(he),Ee=x(),De=x(),Oe=c(()=>{function e(e){C?L?.events.emit(`virtualfocus`,e):q.current=m(e,{sync:G.current,preventScroll:!0})}let t=n.current[B.current],r=K.current;t&&e(t),(G.current?e=>e():e=>Ee.request(e))(()=>{let i=n.current[B.current]||t;i&&(t||e(i),je&&(r||!H.current)&&i.scrollIntoView?.({block:`nearest`,inline:`nearest`}))})});i(()=>{ve.current.orientation=E},[ve,E]),i(()=>{o&&(j&&M?(B.current=l??-1,R.current&&l!=null&&(K.current=!0,U())):W.current&&(B.current=-1,U())
3)},[o,j,M,l,U]),i(()=>{if(o){if(!j){G.current=!1;return}if(M)if(r==null){if(G.current=!1,Y.current!=null)return;if(W.current&&(B.current=-1,Oe()),(!Ce.current||!W.current)&&R.current&&(V.current!=null||R.current===!0&&V.current==null)){let e=0,t=()=>{n.current[0]==null?(e<2&&(e?e=>De.request(e):queueMicrotask)(t),e+=1):(B.current=V.current==null||be(V.current,E,v)||f?ce(n):ue(n),V.current=null,U())};t()}}else le(n.current,r)||(B.current=r,Oe(),K.current=!1)}},[o,j,M,r,Y,f,n,E,v,U,Oe,De]),i(()=>{if(!o||M||!L||C||!W.current)return;let e=L.nodesRef.current,t=e.find(e=>e.id===I)?.context?.elements.floating,n=ne(b(N??t??null)),r=e.some(e=>e.context&&D(e.context.elements.floating,n));t&&!r&&H.current&&t.focus({preventScroll:!0})},[o,M,N,L,I,C]),i(()=>{Ce.current=j,W.current=!!M}),i(()=>{j||(V.current=null,R.current=w)},[j,w]);let ke=r!=null,X=c(e=>{if(!J.current)return;let t=n.current.indexOf(e.currentTarget);t!==-1&&(B.current!==t||r!==t)&&(B.current=t,U(e))}),Z=c(()=>fe??L?.nodesRef.current.find(e=>e.id===I)?.context?.dataRef?.current.orientation),Ae=c(()=>ce(n,we.current)),Q=c(e=>{if(H.current=!1,G.current=!0,e.which===229||!J.current&&e.currentTarget===F.current)return;if(f&&Se(e.key,E,v,_e)){z(e.key,Z())||S(e),A.setOpen(!1,oe(se,e.nativeEvent)),s(N)&&(C?L?.events.emit(`virtualfocus`,N):N.focus());return}let t=B.current,r=ce(n,T),i=ue(n,T);if(P||(e.key===`Home`&&(S(e),B.current=r,U(e)),e.key===`End`&&(S(e),B.current=i,U(e))),k!=null){let t=k(e,B.current,n,E,d,v,T,r,i);if(t!=null&&(B.current=t,U(e)),E===`both`)return}if(z(e.key,E)){if(S(e),j&&!C&&ne(e.currentTarget.ownerDocument)===e.currentTarget){B.current=be(e.key,E,v)?r:i,U(e);return}be(e.key,E,v)?d?t>=i?u&&t!==n.current.length?B.current=-1:(G.current=!1,B.current=r):B.current=pe(n.current,{startingIndex:t,disabledIndices:T}):B.current=Math.min(i,pe(n.current,{startingIndex:t,disabledIndices:T})):d?t<=r?u&&t!==-1?B.current=n.current.length:(G.current=!1,B.current=i):B.current=pe(n.current,{startingIndex:t,decrement:!0,disabledIndices:T}):B.current=Math.max(r,pe(n.current,{startingIndex:t,decrement:!0,disabledIndices:T})),le(n.current,B.current)&&(B.current=-1),U(e)}}),je=O.useMemo(()=>({onFocus(e){G.current=!0,X(e)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove(e){G.current=!0,K.current=!1,re&&X(e)},onPointerLeave(e){if(!J.current||!H.current||e.pointerType===`touch`)return;G.current=!0;let t=e.relatedTarget;if(!(!re||n.current.includes(t))&&Te.current&&(q.current?.(),q.current=null,B.current=-1,U(e),!C)){let e=F.current,t=ne(b(e));e&&D(e,t)&&e.focus({preventScroll:!0})}}}),[X,J,F,re,n,U,Te,C]),Me=O.useMemo(()=>C&&j&&ke&&{"aria-activedescendant":`${me}-${r}`},[C,j,ke,me,r]),Ne=O.useMemo(()=>({"aria-orientation":E===`both`?void 0:E,...P?{}:Me,onKeyDown(e){if(e.key===`Tab`&&e.shiftKey&&j&&!C){let t=ee(e.nativeEvent);if(t&&!D(F.current,t))return;S(e),A.setOpen(!1,oe(de,e.nativeEvent)),s(N)&&N.focus();return}Q(e)},onPointerMove(){H.current=!0}}),[Me,Q,F,E,P,A,j,C,N]),$=O.useMemo(()=>{function e(e){A.setOpen(!0,oe(se,e.nativeEvent,e.currentTarget))}function t(e){w===`auto`&&te(e.nativeEvent)&&(R.current=!C)}function n(e){R.current=w,w===`auto`&&ae(e.nativeEvent)&&(R.current=!0)}return{onKeyDown(t){let n=A.select(`open`);H.current=!1;let r=t.key.startsWith(`Arrow`),i=xe(t.key,Z(),v),a=z(t.key,E),o=(f?i:a)||t.key===`Enter`||t.key.trim()===``;if(C&&n)return Q(t);if(!(!n&&!ie&&r)){if(o){let e=z(t.key,Z());V.current=f&&e?null:t.key}if(f){i&&(S(t),n?(B.current=Ae(),U(t)):e(t));return}a&&(Y.current!=null&&(B.current=Y.current),S(t),!n&&ie?e(t):Q(t),n&&U(t))}},onFocus(e){A.select(`open`)&&!C&&(B.current=-1,U(e))},onPointerDown:n,onPointerEnter:n,onMouseDown:t,onClick:t}},[Q,w,Ae,f,U,A,ie,E,Z,v,Y,C]),Pe=O.useMemo(()=>({...Me,...$}),[Me,$]);return O.useMemo(()=>o?{reference:Pe,floating:Ne,item:je,trigger:$}:{},[o,Pe,Ne,$,je])}function V(e,t){let{listRef:n,elementsRef:r,activeIndex:o,onMatch:s,disabledIndices:l,onTyping:u,enabled:d=!0,resetMs:f=750,selectedIndex:p=null}=t,m=`rootStore`in e?e.rootStore:e,h=m.useState(`open`),g=v(),_=O.useRef(``),y=O.useRef(p??o??-1),b=O.useRef(null),x=c(e=>{function t(e){let t=r?.current[e];return!t||T(t)}function i(e){return t(e)?l==null||!fe(a,e,l):!1}function c(e,t,n=0){if(e.length===0)return-1;let r=(n%e.length+e.length)%e.length,a=t.toLowerCase();for(let t=0;t<e.length;t+=1){let n=(r+t)%e.length;if(!(!e[n]?.toLowerCase().startsWith(a)||!i(n)))return n}return-1}let d=n.current;if(_.current.length>0&&e.key===` `&&(S(e),u?.(!0)),_.current.length>0&&_.current[0]!==` `&&c(d,_.current)===-1&&e.key!==` `&&u?.(!1),d==null||e.key.length!==1||e.ctrlKey||e.metaKey||e.altKey)return;h&&e.key!==` `&&(S(e),u?.(!0));let m=_.current===``;m&&(y.current=p??o??-1),d.every((e,t)=>e&&i(t)?e[0]?.toLowerCase()!==e[1]?.toLowerCase():!0)&&_.current===e.key&&(_.current=``,y.current=b.current),_.current+=e.key,g.start(f,()=>{_.current=``,y.current=b.current,u?.(!1)});let v=((m?p??o??-1:y.current)??0)+1,x=c(d,_.current,v);x===-1?e.key!==` `&&(_.current=``,u?.(!1)):(s?.(x),b.current=x)}),ee=c(e=>{let t=e.relatedTarget,n=m.select(`domReferenceElement`),r=m.select(`floatingElement`);D(n,t)||D(r,t)||(g.clear(),_.current=``,y.current=b.current,u?.(!1))});i(()=>{!h&&p!==null||(g.clear(),b.current=null,_.current!==``&&(_.current=``))},[h,p,g]),i(()=>{h&&_.current===``&&(y.current=p??o??-1)},[h,p,o]);let te=O.useMemo(()=>({onKeyDown:x,onBlur:ee}),[x,ee]);return O.useMemo(()=>d?{reference:te,floating:te}:{},[d,te])}function H(e={}){let{id:t,implicit:n=!1,controlRef:a}=e,{controlId:o,registerControlId:s}=I(),u=me(t),f=n?o:void 0,p=l(()=>Symbol(`labelable-control`)),m=O.useRef(!1),h=O.useRef(t!=null),g=c(()=>{!m.current||s===r||(m.current=!1,s(p.current,void 0))});return i(()=>
3{if(s===r)return;let e;if(n){let n=a?.current;e=d(n)&&n.closest(`label`)!=null?t??null:f??u}else if(t!=null)h.current=!0,e=t;else if(h.current)e=u;else{g();return}if(e===void 0){g();return}m.current=!0,s(p.current,e)},[t,a,f,s,n,u,p,g]),O.useEffect(()=>g,[g]),o??u}var U=(e,t)=>Object.is(e,t);function W(e,t,n){return e==null||t==null?Object.is(e,t):n(e,t)}function Ce(e,t,n){return!e||e.length===0?!1:e.some(e=>e===void 0?!1:W(t,e,n))}function G(e,t,n){return!e||e.length===0?-1:e.findIndex(e=>e===void 0?!1:W(e,t,n))}function K(e,t,n){return e.filter(e=>!W(t,e,n))}function q(e){if(e==null)return``;if(typeof e==`string`)return e;try{return JSON.stringify(e)}catch{return String(e)}}var we=n();function J(e){return e!=null&&e.length>0&&typeof e[0]==`object`&&e[0]!=null&&`items`in e[0]}function Y(e){if(!Array.isArray(e))return e!=null&&`null`in e;let t=e;if(J(t)){for(let e of t)for(let t of e.items)if(t&&t.value==null&&t.label!=null)return!0;return!1}for(let e of t)if(e&&e.value==null&&e.label!=null)return!0;return!1}function Te(e,t){if(t&&e!=null)return t(e)??``;if(e&&typeof e==`object`){if(`label`in e&&e.label!=null)return String(e.label);if(`value`in e)return String(e.value)}return q(e)}function Ee(e,t){return t&&e!=null?t(e)??``:e&&typeof e==`object`&&`value`in e&&`label`in e?q(e.value):q(e)}function De(e,t,n){function r(){return Te(e,n)}if(n&&e!=null)return n(e);if(e&&typeof e==`object`&&`label`in e&&e.label!=null)return e.label;if(t&&!Array.isArray(t))return t[e]??r();if(Array.isArray(t)){let n=t,i=J(n)?n.flatMap(e=>e.items):n;if(typeof e!=`object`||!e){let t=i.find(t=>t.value===e);return t&&t.label!=null?t.label:r()}if(`value`in e){let t=i.find(t=>t&&t.value===e.value);if(t&&t.label!=null)return t.label}}return r()}function Oe(e,t,n){return e.reduce((e,r,i)=>(i>0&&e.push(`, `),e.push((0,we.jsx)(O.Fragment,{children:De(r,t,n)},i)),e),[])}function ke(e,t,n=(e,t)=>e===t){return e.length===t.length&&e.every((e,r)=>n(e,t[r]))}function X(e,t){return e??t}function Z(e){let t=e.getBoundingClientRect(),n=f(e);if(ie)return t;let r=n.getComputedStyle(e,`::before`),i=n.getComputedStyle(e,`::after`);if(!(r.content!==`none`||i.content!==`none`))return t;let a=parseFloat(r.width)||0,o=parseFloat(r.height)||0,s=parseFloat(i.width)||0,c=parseFloat(i.height)||0,l=Math.max(t.width,a,s),u=Math.max(t.height,o,c),d=l-t.width,p=u-t.height;return{left:t.left-d/2,right:t.right+d/2,top:t.top-p/2,bottom:t.bottom+p/2}}export{M as C,A as E,j as S,k as T,V as _,J as a,P as b,Te as c,W as d,U as f,H as g,Ce as h,Y as i,Ee as l,K as m,X as n,Oe as o,G as p,ke as r,De as s,Z as t,q as u,B as v,N as w,ve as x,I as y}; 4//# debugId=c2846bc4-f1fd-5701-aca1-748761ba26eb
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.