PageSourceSearch

https://arpeggio.space/_next/static/chunks/9011-4c8eb53931842e95.js

js arpeggio.space collected 2026-10-06 17:09:18 UTC 104,791 bytes, 13 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9011],{80795:(e,t,l)=>{l.d(t,{y:()=>n});var n=l(50558).q},84585:(e,t,l)=>{l.d(t,{K:()=>ey});let n=new WeakMap;var i=l(65044),r=l(58786),o=l(60345),s=l(80500),a=l(55478),u=l(16704),d=l(47298),c=l(49678),p=l(60032),g=l(7568),v=l(70624),h=l(12115),f=l(46546),y=l(95155);function m(e){let{isSelected:t,disableAnimation:l,...n}=e;return(0,y.jsx)("svg",{"aria-hidden":"true","data-selected":t,role:"presentation",viewBox:"0 0 17 18",...n,children:(0,y.jsx)("polyline",{fill:"none",points:"1 9 7 14 15 4",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:t?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,style:l?{}:{transition:"stroke-dashoffset 200ms ease"}})})}var b=l(48117),E=l(57010),P=l(69353),x=l(1281),w=l(96965),D=l(92520),T=l(86727),k=l(89399),S=l(31411),K=l(4171),C=l(62662),M=l(3459),A=l(35648),N=l(71459),B=l(24030);let L="default",I="",F=new WeakMap;function R(e){if((0,x.un)())"disabled"===L&&(L="restoring",setTimeout(()=>{(0,B.v)(()=>{if("restoring"===L){let t=(0,M.TW)(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=I||""),I="",L="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&F.has(e)){let t=F.get(e),l="userSelect"in e.style?"userSelect":"webkitUserSelect";"none"===e.style[l]&&(e.style[l]=t),""===e.getAttribute("style")&&e.removeAttribute("style"),F.delete(e)}}let O=h.createContext({register:()=>{}});O.displayName="PressResponderContext";var j=l(97207),z=l(66025),H=l(14),W=l(59783),V=l(31135),U=l(13802),_=l(65002),$=l(31243);l(47650);var q=new WeakMap;class G{continuePropagation(){(0,H._)(this,q,!1)}get shouldStopPropagation(){return(0,j._)(this,q)}constructor(e,t,l,n){var i;(0,z._)(this,q,{writable:!0,value:void 0}),(0,H._)(this,q,!0);let r=null!==(i=null==n?void 0:n.target)&&void 0!==i?i:l.currentTarget,o=null==r?void 0:r.getBoundingClientRect(),s,a=0,u,d=null;null!=l.clientX&&null!=l.clientY&&(u=l.clientX,d=l.clientY),o&&(null!=u&&null!=d?(s=u-o.left,a=d-o.top):(s=o.width/2,a=o.height/2)),this.type=e,this.pointerType=t,this.target=l.currentTarget,this.shiftKey=l.shiftKey,this.metaKey=l.metaKey,this.ctrlKey=l.ctrlKey,this.altKey=l.altKey,this.x=s,this.y=a,this.key=l.key}}let X=Symbol("linkClicked"),J="react-aria-pressable-style",Y="data-react-aria-pressable";function Q(e){return"A"===e.tagName&&e.hasAttribute("href")}function Z(e,t){let{key:l,code:n}=e,i=t.getAttribute("role");return("Enter"===l||" "===l||"Spacebar"===l||"Space"===n)&&!(t instanceof(0,M.mD)(t).HTMLInputElement&&!en(t,l)||t instanceof(0,M.mD)(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===i||!i&&Q(t))&&"Enter"!==l)}function ee(e,t){let l=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:l,clientY:n,key:t.key}}function et(e,t){return e instanceof HTMLInputElement?!en(e,t):!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!Q(e))}let el=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function en(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:el.has(e.type)}let ei=!1,er=0;function eo(e){"touch"===e.pointerType&&(ei=!0,setTimeout(()=>{ei=!1},50))}function es(){if("undefined"!=typeof document)return 0===er&&"undefined"!=typeof PointerEvent&&document.addEventListener("pointerup",eo),er++,()=>{--er>0||"undefined"==typeof PointerEvent||document.removeEventListener("pointerup",eo)}}var ea=l(96979),eu=e=>{let{Component:t,rendered:l,description:s,isSelectable:a,isSelected:u,isDisabled:p,selectedIcon:g,startContent:B,endContent:j,hideSelectedIcon:z,disableAnimation:H,getItemProps:q,getLabelProps:el,getWrapperProps:en,getDescriptionProps:er,getSelectedIconProps:eo}=function(e){var t,l;let s=(0,d.o)(),[a,u]=(0,b.rE)(e,c.j$.variantKeys),{as:p,item:g,state:y,description:m,startContent:B,endContent:j,isVirtualized:z,selectedIcon:H,className:q,classNames:el,autoFocus:en,onPress:er,onPressUp:eo,onPressStart:eu,onPressEnd:ed,onPressChange:ec,onClick:ep,shouldHighlightOnFocus:eg,hideSelectedIcon:ev=!1,isReadOnly:eh=!1,...ef}=a,ey=null!=(l=null!=(t=e.disableAnimation)?t:null==s?void 0:s.disableAnimation)&&l,em=(0,h.useRef)(null),eb=p||(e.href?"a":"li"),eE="string"==typeof eb,{rendered:eP,key:ex}=g,ew=y.disabledKeys.has(ex)||e.isDisabled,eD="none"!==y.selectionManager.selectionMode,eT=(0,ea.a)(),{pressProps:ek,isPressed:eS}=function(e){let{onPress:t,onPressChange:l,onPressStart:n,onPressEnd:i,onPressUp:r,onClick:s,isDisabled:a,isPressed:u,preventFocusOnPress:d,shouldCancelOnPointerExit:c,allowTextSelectionOnPress:p,ref:g,...v}=function(e){let t=(0,h.useContext)(O);if(t){let{register:l,ref:n,...i}=t;e=(0,o.v)(i,e),l()}return(0,W.w)(t,e.ref),e}(e),[f,y]=(0,h.useState)(!1),m=(0,h.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:b,removeAllGlobalListeners:E,removeGlobalListener:P}=(0,V.A)(),T=(0,h.useCallback)((e,t)=>{let i=m.current;if(a||i.didFirePressStart)return!1;let r=!0;if(i.isTriggeringEvent=!0,n){let l=new G("pressstart",t,e);n(l),r=l.shouldStopPropagation}return l&&l(!0),i.isTriggeringEvent=!1,i.didFirePressStart=!0,y(!0),r},[a,n,l]),k=(0,h.useCallback)((e,n,r=!0)=>{let o=m.current;if(!o.didFirePressStart)return!1;o.didFirePressStart=!1,o.isTriggeringEvent=!0;let s=!0;if(i){let t=new G("pressend",n,e);i(t),s=t.shouldStopPropagation}if(l&&l(!1),y(!1),t&&r&&!a){let l=new G("press",n,e);t(l),s&&(s=l.shouldStopPropagation)}return o.isTriggeringEvent=!1,s},[a,i,l,t]),S=(0,U.J)(k),K=(0,h.useCallback)((e,t)=>{let l=m.current;if(a)return!1;if(r){l.isTriggeringEvent=!0;let n=new G("pressup",t,e);return r(n),l.isTriggeringEvent=!1,n.shouldStopPropagation}return!0},[a,r]),B=(0,U.J)(K),j=(0,h.useCallback)(e=>{let t=m.current;if(t.isPressed&&t.target){for(let l of(t.didFirePressStart&&null!=t.pointerType&&k(ee(t.target,e),t.pointerType,!1),t.isPressed=!1,es(null),t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,E(),p||R(t.target),t.disposables)
1)l();t.disposables=[]}},[p,E,k]),z=(0,U.J)(j),H=(0,h.useCallback)(e=>{c&&j(e)},[c,j]),q=(0,h.useCallback)(e=>{a||null==s||s(e)},[a,s]),el=(0,h.useCallback)((e,t)=>{if(!a&&s){let l=new MouseEvent("click",e);Object.defineProperty(l,"target",{value:t}),Object.defineProperty(l,"currentTarget",{value:t}),s((l.nativeEvent=l,l.isDefaultPrevented=()=>l.defaultPrevented,l.isPropagationStopped=()=>l.cancelBubble,l.persist=()=>{},l))}},[a,s]),en=(0,U.J)(el),[ei,er]=(0,h.useState)(!1);(0,_.N)(()=>{let e=m.current;if(ei){let t=e.target,l=(0,w.c)(l=>{t&&Z(l,t)&&!l.repeat&&(0,A.sD)(t,(0,A.wt)(l))&&e.target&&B(ee(e.target,l),"keyboard")},t=>{var l,n,i;if(e.isPressed&&e.target&&Z(t,e.target)){et((0,A.wt)(t),t.key)&&t.preventDefault();let l=(0,A.wt)(t),i=(0,A.sD)(e.target,l);S(ee(e.target,t),"keyboard",i),i&&en(t,e.target),E(),"Enter"!==t.key&&Q(e.target)&&(0,A.sD)(e.target,l)&&!t[X]&&(t[X]=!0,(0,D.Fe)(e.target,t,!1)),e.isPressed=!1,er(!1),null===(n=e.metaKeyEvents)||void 0===n||n.delete(t.key)}else if("Meta"===t.key&&(null===(l=e.metaKeyEvents)||void 0===l?void 0:l.size)){let t=e.metaKeyEvents;for(let l of(e.metaKeyEvents=void 0,t.values()))null===(i=e.target)||void 0===i||i.dispatchEvent(new KeyboardEvent("keyup",l))}});return b((0,M.TW)(e.target),"keyup",l,!0),()=>{P((0,M.TW)(e.target),"keyup",l,!0)}}},[ei,b,E,P]);let[eo,es]=(0,h.useState)(null);(0,_.N)(()=>{let e=m.current;if("pointer"===eo){let t=t=>{if(t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target){if((0,A.sD)(e.target,(0,A.wt)(t))&&null!=e.pointerType){let l=!1,n=setTimeout(()=>{e.isPressed&&e.target instanceof HTMLElement&&(l?z(t):((0,N.e)(e.target),e.target.click()))},80);t.currentTarget&&b(t.currentTarget,"click",()=>l=!0,!0),e.disposables.push(()=>clearTimeout(n))}else z(t);e.isOverTarget=!1}},l=e=>{z(e)};return b((0,M.TW)(e.target),"pointerup",t,!1),b((0,M.TW)(e.target),"pointercancel",l,!1),()=>{P((0,M.TW)(e.target),"pointerup",t,!1),P((0,M.TW)(e.target),"pointercancel",l,!1)}}},[eo,b,P]);let ea=(0,h.useMemo)(()=>{let e=m.current,t={onKeyDown(t){if(Z(t.nativeEvent,t.currentTarget)&&(0,A.sD)(t.currentTarget,(0,A.wt)(t))){var l;et((0,A.wt)(t),t.key)&&t.preventDefault();let n=!0;e.isPressed||t.repeat||(e.target=t.currentTarget,e.isPressed=!0,er(!0),e.pointerType="keyboard",n=T(t,"keyboard")),n&&t.stopPropagation(),t.metaKey&&(0,x.cX)()&&(null===(l=e.metaKeyEvents)||void 0===l||l.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||(0,A.sD)(t.currentTarget,(0,A.wt)(t)))&&t&&0===t.button&&!e.isTriggeringEvent&&!D.Fe.isOpening){let l=!0;if(a&&t.preventDefault(),!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||(0,$.Y)(t.nativeEvent))){let e=T(t,"virtual"),n=K(t,"virtual"),i=k(t,"virtual");q(t),l=e&&n&&i}else if(e.isPressed&&"keyboard"!==e.pointerType){let n=e.pointerType||t.nativeEvent.pointerType||"virtual",i=K(ee(t.currentTarget,t),n),r=k(ee(t.currentTarget,t),n,!0);l=i&&r,e.isOverTarget=!1,q(t),j(t)}e.ignoreEmulatedMouseEvents=!1,l&&t.stopPropagation()}}};return"undefined"!=typeof PointerEvent&&(t.onPointerDown=t=>{if(0!==t.button||!(0,A.sD)(t.currentTarget,(0,A.wt)(t)))return;if((0,$.P)(t.nativeEvent)){e.pointerType="virtual";return}e.pointerType=t.pointerType;let l=!0;if(!e.isPressed){e.isPressed=!0,es("pointer"),e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,p||function(e){if((0,x.un)()){if("default"===L){let t=(0,M.TW)(e);I=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}L="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";F.set(e,e.style[t]),e.style[t]="none"}}(e.target),l=T(t,e.pointerType);let n=(0,A.wt)(t);"releasePointerCapture"in n&&("hasPointerCapture"in n?n.hasPointerCapture(t.pointerId)&&n.releasePointerCapture(t.pointerId):n.releasePointerCapture(t.pointerId))}l&&t.stopPropagation()},t.onMouseDown=t=>{if((0,A.sD)(t.currentTarget,(0,A.wt)(t))&&0===t.button){if(d){let l=function(e){for(;e&&!(0,C.t)(e);)e=e.parentElement;let t=(0,M.mD)(e),l=t.document.activeElement;if(!l||l===e)return;let n=!1,i=e=>{((0,A.wt)(e)===l||n)&&e.stopImmediatePropagation()},r=t=>{(0,A.wt)(t)!==l&&!n||(t.stopImmediatePropagation(),e||n||(n=!0,(0,N.e)(l),a()))},o=t=>{((0,A.wt)(t)===e||n)&&t.stopImmediatePropagation()},s=t=>{((0,A.wt)(t)===e||n)&&(t.stopImmediatePropagation(),n||(n=!0,(0,N.e)(l),a()))};t.addEventListener("blur",i,!0),t.addEventListener("focusout",r,!0),t.addEventListener("focusin",s,!0),t.addEventListener("focus",o,!0);let a=()=>{cancelAnimationFrame(u),t.removeEventListener("blur",i,!0),t.removeEventListener("focusout",r,!0),t.removeEventListener("focusin",s,!0),t.removeEventListener("focus",o,!0),n=!1},u=requestAnimationFrame(a);return a}(t.target);l&&e.disposables.push(l)}t.stopPropagation()}},t.onPointerUp=t=>{(0,A.sD)(t.currentTarget,(0,A.wt)(t))&&"virtual"!==e.pointerType&&0===t.button&&!e.isPressed&&K(t,e.pointerType||t.pointerType)},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!0,T(ee(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,k(ee(e.target,t),e.pointerType,!1),H(t))},t.onDragStart=e=>{(0,A.sD)(e.currentTarget,(0,A.wt)(e))&&j(e)}),t},[a,d,E,p,j,H,k,T,K,q,el]);return(0,h.useEffect)(()=>
1{if(!g)return;let e=(0,M.TW)(g.current);if(!e||!e.head||e.getElementById(J))return;let t=e.createElement("style");t.id=J,t.textContent=`
2@layer {
3  [${Y}] {
4    touch-action: pan-x pan-y pinch-zoom;
5  }
6}
7    `.trim(),e.head.prepend(t)},[g]),(0,h.useEffect)(()=>{let e=m.current;return()=>{var t;for(let l of(p||R(null!==(t=e.target)&&void 0!==t?t:void 0),e.disposables))l();e.disposables=[]}},[p]),{isPressed:u||f,pressProps:(0,o.v)(v,ea,{[Y]:!0})}}({ref:em,isDisabled:ew,onClick:ep,onPress:er,onPressUp:eo,onPressStart:eu,onPressEnd:ed,onPressChange:ec}),{isHovered:eK,hoverProps:eC}=function(e){let{onHoverStart:t,onHoverChange:l,onHoverEnd:n,isDisabled:i}=e,[r,o]=(0,h.useState)(!1),s=(0,h.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,h.useEffect)(es,[]);let{addGlobalListener:a,removeAllGlobalListeners:u}=(0,V.A)(),{hoverProps:d,triggerHoverEnd:c}=(0,h.useMemo)(()=>{let e=(e,n)=>{if(s.pointerType=n,i||"touch"===n||s.isHovered||!(0,A.sD)(e.currentTarget,(0,A.wt)(e)))return;s.isHovered=!0;let u=e.currentTarget;s.target=u,a((0,M.TW)((0,A.wt)(e)),"pointerover",e=>{s.isHovered&&s.target&&!(0,A.sD)(s.target,(0,A.wt)(e))&&r(e,e.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:u,pointerType:n}),l&&l(!0),o(!0)},r=(e,t)=>{let i=s.target;s.pointerType="",s.target=null,"touch"!==t&&s.isHovered&&i&&(s.isHovered=!1,u(),n&&n({type:"hoverend",target:i,pointerType:t}),l&&l(!1),o(!1))},d={};return"undefined"!=typeof PointerEvent&&(d.onPointerEnter=t=>{ei&&"mouse"===t.pointerType||e(t,t.pointerType)},d.onPointerLeave=e=>{!i&&(0,A.sD)(e.currentTarget,(0,A.wt)(e))&&r(e,e.pointerType)}),{hoverProps:d,triggerHoverEnd:r}},[t,l,n,i,s,a,u]);return(0,h.useEffect)(()=>{i&&c({currentTarget:s.target},s.pointerType)},[i]),{hoverProps:d,isHovered:r}}({isDisabled:ew}),{isFocusVisible:eM,focusProps:eA}=(0,E.o)({autoFocus:en}),{isFocused:eN,isSelected:eB,optionProps:eL,labelProps:eI,descriptionProps:eF}=function(e,t,l){var s,a,u,d,c,p,g,v;let{key:h}=e,f=n.get(t),y=null!==(u=e.isDisabled)&&void 0!==u?u:t.selectionManager.isDisabled(h),m=null!==(d=e.isSelected)&&void 0!==d?d:t.selectionManager.isSelected(h),b=null!==(c=e.shouldSelectOnPressUp)&&void 0!==c?c:null==f?void 0:f.shouldSelectOnPressUp,E=null!==(p=e.shouldFocusOnHover)&&void 0!==p?p:null==f?void 0:f.shouldFocusOnHover,P=null!==(g=e.shouldUseVirtualFocus)&&void 0!==g?g:null==f?void 0:f.shouldUseVirtualFocus,C=null!==(v=e.isVirtualized)&&void 0!==v?v:null==f?void 0:f.isVirtualized,M=(0,r.X1)(),A=(0,r.X1)(),N={role:"option","aria-disabled":y||void 0,"aria-selected":"none"!==t.selectionManager.selectionMode?m:void 0};(0,x.cX)()&&(0,x.Tc)()||(N["aria-label"]=e["aria-label"],N["aria-labelledby"]=M,N["aria-describedby"]=A);let B=t.collection.getItem(h);if(C){let e=Number(null==B?void 0:B.index);N["aria-posinset"]=Number.isNaN(e)?void 0:e+1,N["aria-setsize"]=(0,T.v)(t.collection)}let L=(null==f?void 0:f.onAction)?()=>{var e;return null==f?void 0:null===(e=f.onAction)||void 0===e?void 0:e.call(f,h)}:void 0,I=function(e,t){let l=n.get(e);if(!l)throw Error("Unknown list");return`${l.id}-option-${"string"==typeof t?t.replace(/\s*/g,""):""+t}`}(t,h),{itemProps:F,isPressed:R,isFocused:O,hasAction:j,allowsSelection:z}=(0,K.p)({selectionManager:t.selectionManager,key:h,ref:l,shouldSelectOnPressUp:b,allowsDifferentPressOrigin:b&&E,isVirtualized:C,shouldUseVirtualFocus:P,isDisabled:y,onAction:L||(null==B?void 0:null===(s=B.props)||void 0===s?void 0:s.onAction)?(0,w.c)(null==B?void 0:null===(a=B.props)||void 0===a?void 0:a.onAction,L):void 0,linkBehavior:null==f?void 0:f.linkBehavior,UNSTABLE_itemBehavior:null==f?void 0:f.UNSTABLE_itemBehavior,id:I}),{hoverProps:H}=(0,k.M)({isDisabled:y||!E,onHoverStart(){(0,S.pP)()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(h))}}),W=(0,i.$)(null==B?void 0:B.props);delete W.id;let V=(0,D._h)(null==B?void 0:B.props);return{optionProps:{...N,...(0,o.v)(W,F,H,V),id:I},labelProps:{id:M},descriptionProps:{id:A},isFocused:O,isFocusVisible:O&&t.selectionManager.isFocused&&(0,S.pP)(),isSelected:m,isDisabled:y,isPressed:R,allowsSelection:z,hasAction:j}}({key:ex,isDisabled:ew,"aria-label":a["aria-label"],isVirtualized:z},y,em),eR=eL,eO=(0,h.useMemo)(()=>(0,c.j$)({...u,isDisabled:ew,disableAnimation:ey,hasTitleTextChild:"string"==typeof eP,hasDescriptionTextChild:"string"==typeof m}),[(0,P.t6)(u),ew,ey,eP,m]),ej=(0,f.cn)(null==el?void 0:el.base,q);eh&&(eR=(0,P.GU)(eR));let ez=eg&&eN||(eT?eK||eS:eK||eN&&!eM),eH=e=>{let t=e.target;(t.closest("[data-slot='startContent']")||t.closest("[data-slot='endContent']"))&&e.stopPropagation()},eW=(0,h.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"aria-hidden":(0,P.sE)(!0),"data-disabled":(0,P.sE)(ew),className:eO.selectedIcon({class:null==el?void 0:el.selectedIcon}),...e}},[ew,eO,el]);return{Component:eb,domRef:em,slots:eO,classNames:el,isSelectable:eD,isSelected:eB,isDisabled:ew,rendered:eP,description:m,startContent:B,endContent:j,selectedIcon:H,hideSelectedIcon:ev,disableAnimation:ey,getItemProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};
7return{ref:em,onFocusCapture:eH,...(0,P.v6)(eR,eh?{}:(0,P.v6)(eA,ek),eC,(0,v.$)(ef,{enabled:eE}),e),"data-selectable":(0,P.sE)(eD),"data-focus":(0,P.sE)(eN),"data-hover":(0,P.sE)(ez),"data-disabled":(0,P.sE)(ew),"data-selected":(0,P.sE)(eB),"data-pressed":(0,P.sE)(eS),"data-focus-visible":(0,P.sE)(eM),className:eO.base({class:(0,f.cn)(ej,e.className)})}},getLabelProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,P.v6)(eI,e),"data-label":(0,P.sE)(!0),className:eO.title({class:null==el?void 0:el.title})}},getWrapperProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,P.v6)(e),className:eO.wrapper({class:null==el?void 0:el.wrapper})}},getDescriptionProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,P.v6)(eF,e),className:eO.description({class:null==el?void 0:el.description})}},getSelectedIconProps:eW}}(e),eu=(0,h.useMemo)(()=>{let e=(0,y.jsx)(m,{disableAnimation:H,isSelected:u});return"function"==typeof g?g({icon:e,isSelected:u,isDisabled:p}):g||e},[g,u,p,H]);return(0,y.jsxs)(t,{...q(),children:[B&&(0,y.jsx)("span",{"data-slot":"startContent",children:B}),s?(0,y.jsxs)("div",{...en(),children:[(0,y.jsx)("span",{...el(),children:l}),(0,y.jsx)("span",{...er(),children:s})]}):(0,y.jsx)("span",{...el(),children:l}),a&&!z&&(0,y.jsx)("span",{...eo(),children:eu}),j&&(0,y.jsx)("span",{"data-slot":"endContent",children:j})]})};eu.displayName="HeroUI.ListboxItem";var ed=l(93701),ec=(0,b.Rf)((e,t)=>{let{item:l,state:n,as:i,variant:o,color:s,disableAnimation:a,className:u,classNames:d,hideSelectedIcon:p,showDivider:g=!1,dividerProps:v={},itemClasses:m,title:b,items:E,...x}=e,w=(0,h.useMemo)(()=>(0,c.Dt)(),[]),D=(0,f.cn)(null==d?void 0:d.base,u),T=(0,f.cn)(null==d?void 0:d.divider,null==v?void 0:v.className),{itemProps:k,headingProps:S,groupProps:K}=function(e){let{heading:t,"aria-label":l}=e,n=(0,r.Bi)();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation",onMouseDown:e=>{e.preventDefault()}}:{},groupProps:{role:"group","aria-label":l,"aria-labelledby":t?n:void 0}}}({heading:l.rendered,"aria-label":l["aria-label"]});return(0,y.jsxs)(i||"li",{"data-slot":"base",...(0,P.v6)(k,x),className:w.base({class:D}),children:[l.rendered&&(0,y.jsx)("span",{...S,className:w.heading({class:null==d?void 0:d.heading}),"data-slot":"heading",children:l.rendered}),(0,y.jsxs)("ul",{...K,className:w.group({class:null==d?void 0:d.group}),"data-has-title":!!l.rendered,"data-slot":"group",children:[[...l.childNodes].map(e=>{let{key:t,props:l}=e,i=(0,y.jsx)(eu,{classNames:m,color:s,disableAnimation:a,hideSelectedIcon:p,item:e,state:n,variant:o,...l},t);return e.wrapper&&(i=e.wrapper(i)),i}),g&&(0,y.jsx)(ed.y,{as:"li",className:w.divider({class:T}),...v})]})]},l.key)});ec.displayName="HeroUI.ListboxSection";var ep=l(87267),eg=l(91271),ev=(e,t)=>{let l=[];for(let n of e)"section"===n.type?l.push(([...n.childNodes].length+1)*t):l.push(t);return l},eh=e=>{if(!e||void 0===e.scrollTop||void 0===e.clientHeight||void 0===e.scrollHeight)return{isTop:!1,isBottom:!1,isMiddle:!1};let t=0===e.scrollTop,l=Math.ceil(e.scrollTop+e.clientHeight)>=e.scrollHeight;return{isTop:t,isBottom:l,isMiddle:!t&&!l}},ef=e=>{var t;let{Component:l,state:n,color:i,variant:r,itemClasses:o,getBaseProps:s,topContent:a,bottomContent:u,hideEmptyContent:d,hideSelectedIcon:c,shouldHighlightOnFocus:p,disableAnimation:f,getEmptyContentProps:m,getListProps:E,scrollShadowProps:x}=e,{virtualization:w}=e;if(!w||!(0,P.Im)(w)&&!w.maxListboxHeight&&!w.itemHeight)throw Error("You are using a virtualized listbox. VirtualizedListbox requires 'virtualization' props with 'maxListboxHeight' and 'itemHeight' properties. This error might have originated from autocomplete components that use VirtualizedListbox. Please provide these props to use the virtualized listbox.");let{maxListboxHeight:D,itemHeight:T}=w,k=Math.min(D,T*n.collection.size),S=(0,h.useRef)(null),K=(0,h.useMemo)(()=>ev([...n.collection],T),[n.collection,T]),C=(0,ep.Te)({count:[...n.collection].length,getScrollElement:()=>S.current,estimateSize:e=>K[e]}),M=C.getVirtualItems(),A=C.getTotalSize(),{getBaseProps:N}=function(e){var t;let[l,n]=(0,b.rE)(e,eg.Q.variantKeys),{ref:i,as:r,children:o,className:s,style:a,size:u=40,offset:d=0,visibility:c="auto",isEnabled:p=!0,onVisibilityChange:v,...f}=l,y=(0,g.zD)(i);!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{domRef:t,isEnabled:l=!0,overflowCheck:n="vertical",visibility:i="auto",offset:r=0,onVisibilityChange:o,updateDeps:s=[]}=e,a=(0,h.useRef)(i);(0,h.useEffect)(()=>{let e=null==t?void 0:t.current;if(!e||!l)return;let s=(t,l,n,r,s)=>{if("auto"===i){let t="".concat(r).concat((0,P.ZH)(s),"Scroll");l&&n?(e.dataset[t]="true",e.removeAttribute("data-".concat(r,"-scroll")),e.removeAttribute("data-".concat(s,"-scroll"))):(e.dataset["".concat(r,"Scroll")]=l.toString(),e.dataset["".concat(s,"Scroll")]=n.toString(),e.removeAttribute("data-".concat(r,"-").concat(s,"-scroll")))}else{let e=l&&n?"both":l?r:n?s:"none";e!==a.current&&(null==o||o(e),a.current=e)}},u=()=>{var t,l;let i=e.querySelector('ul[data-slot="list"]'),o=+(null!=(t=null==i?void 0:i.getAttribute("data-virtual-scroll-height"))?t:e.scrollHeight),a=+(null!=(l=null==i?void 0:i.getAttribute("data-virtual-scroll-top"))?l:e.scrollTop);for(let{type:t,prefix:l,suffix:i}of[{type:"vertical",prefix:"top",suffix:"bottom"},{type:"horizontal",prefix:"left",suffix:"right"}])if(n===t||"both"===n){let n="vertical"===t?a>r:e.scrollLeft>r,u="vertical"===t?a+e.clientHeight+r<o:e.scrollLeft+e.clientWidth+r<e.scrollWidth;s(t,n,u,l,i)}},d=()=>{["top","bottom","top-bottom","left","right","left-right"].forEach(t=>{e.removeAttribute("data-".concat(t,"-scroll"))})};return u(),e.addEventListener("scroll",u,!0),"auto"!==i&&(d(),"both"===i?(e.dataset.topBottomScroll=String("vertical"===n),e.dataset.leftRightScroll=String("horizontal"===n)):(e.dataset.topBottomScroll="false",e.dataset.leftRightScroll="false",["top","bottom","left","right"].forEach(t=>{e.dataset["".concat(t,"Scroll")]=String(i===t)}))),()=>{e.removeEventListener("scroll",u,!0),d()}},[...s,l,i,n,o,t])}({domRef:y,offset:d,visibility:c,isEnabled:p,onVisibilityChange:v,updateDeps:[o],overflowCheck:null!=(t=e.orientation)?t:"vertical"});let m=(0,h.useMemo)(()=>(0,eg.Q)({...n,className:s}),[(0,P.t6)(n),s]);return{Component:r||"div",styles:m,domRef:y,children:o,getBaseProps:function(){var t;let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:y,className:m,"data-orientation":null!=(t=e.orientation)?t:"vertical",style:{"--scroll-shadow-size":"".concat(u,"px"),...a,...l.style},...f,...l}}}}({...x}),B=e=>{var t;let l=[...n.collection][e.index];if(!l)return null;let s={color:i,item:l,state:n,variant:r,disableAnimation:f,hideSelectedIcon:c,...l.props},a={position:"absolute",top:0,left:0,width:"100%",height:"".concat(e.size,"px"),transform:"translateY(".concat(e.start,"px)")};if("section"===l.type)return(0,y.jsx)(ec,{...s,itemClasses:o,style:{...a,...s.style}},l.key);let u=(0,y.jsx)(eu,{...s,classNames:(0,P.v6)(o,null==(t=l.props)?void 0:t.classNames),shouldHighlightOnFocus:p,style:{...a,...s.style}},l.key);return l.wrapper&&(u=l.wrapper(u)),u},[L,I]=(0,h.useState)({isTop:!1,isBottom:!0,isMiddle:!1}),F=(0,y.jsxs)(l,{...E(),"data-virtual-scroll-height":A,"data-virtual-scroll-top":null==(t=null==S?void 0:S.current)?void 0:t.scrollTop,children:[!n.collection.size&&!d&&(0,y.jsx)("li",{children:(0,y.jsx)("div",{...m()})}),(0,y.jsx)("div",{...(0,v.$)(N()),ref:S,style:{height:D,overflow:"auto"},onScroll:e=>{I(eh(e.target))},children:k>0&&T>0&&(0,y.jsx)("div",{style:{height:"".concat(A,"px"),width:"100%",position:"relative"},children:M.map(e=>B(e))})})]});return(0,y.jsxs)("div",{...s(),children:[a,F,u]})},ey=(0,b.Rf)(function(e,t){let{isVirtualized:l,...m}=e,b=function(e){var t;let l=(0,d.o)(),{ref:y,as:m,state:b,variant:E,color:P,onAction:x,children:w,onSelectionChange:D,disableAnimation:T=null!=(t=null==l?void 0:l.disableAnimation)&&t,itemClasses:k,className:S,topContent:K,bottomContent:C,emptyContent:M="No items.",hideSelectedIcon:A=!1,hideEmptyContent:N=!1,shouldHighlightOnFocus:B=!1,classNames:L,...I}
7=e,F=m||"ul",R="string"==typeof F,O=(0,g.zD)(y),j=(0,p.p)({...e,children:w,onSelectionChange:D}),z=b||j,{listBoxProps:H}=function(e,t,l){let d=(0,i.$)(e,{labelable:!0}),c=e.selectionBehavior||"toggle",p=e.linkBehavior||("replace"===c?"action":"override");"toggle"===c&&"action"===p&&(p="override");let{listProps:g}=(0,u.y)({...e,ref:l,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:p}),{focusWithinProps:v}=(0,s.R)({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),h=(0,r.Bi)(e.id);n.set(t,{id:h,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:p,UNSTABLE_itemBehavior:e.UNSTABLE_itemBehavior});let{labelProps:f,fieldProps:y}=(0,a.M)({...e,id:h,labelElementType:"span"});return{labelProps:f,listBoxProps:(0,o.v)(d,v,"multiple"===t.selectionManager.selectionMode?{"aria-multiselectable":"true"}:{},{role:"listbox",...(0,o.v)(y,g)})}}({...e,onAction:x},z,O),W=(0,h.useMemo)(()=>(0,c.MK)(),[]),V=(0,f.cn)(null==L?void 0:L.base,S);return{Component:F,state:z,variant:E,color:P,slots:W,classNames:L,topContent:K,bottomContent:C,emptyContent:M,hideEmptyContent:N,shouldHighlightOnFocus:B,hideSelectedIcon:A,disableAnimation:T,className:S,itemClasses:k,getBaseProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:O,"data-slot":"base",className:W.base({class:V}),...(0,v.$)(I,{enabled:R}),...e}},getListProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"list",className:W.list({class:null==L?void 0:L.list}),...H,...e}},getEmptyContentProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"empty-content",children:M,className:W.emptyContent({class:null==L?void 0:L.emptyContent}),...e}}}}({...m,ref:t}),{Component:E,state:x,color:w,variant:D,itemClasses:T,getBaseProps:k,topContent:S,bottomContent:K,hideEmptyContent:C,hideSelectedIcon:M,shouldHighlightOnFocus:A,disableAnimation:N,getEmptyContentProps:B,getListProps:L}=b;if(l)return(0,y.jsx)(ef,{...e,...b});let I=(0,y.jsxs)(E,{...L(),children:[!x.collection.size&&!C&&(0,y.jsx)("li",{children:(0,y.jsx)("div",{...B()})}),[...x.collection].map(e=>{var t;let l={color:w,item:e,state:x,variant:D,disableAnimation:N,hideSelectedIcon:M,...e.props};if("section"===e.type)return(0,y.jsx)(ec,{...l,itemClasses:T},e.key);let n=(0,y.jsx)(eu,{...l,classNames:(0,P.v6)(T,null==(t=e.props)?void 0:t.classNames),shouldHighlightOnFocus:A},e.key);return e.wrapper&&(n=e.wrapper(n)),n})]});return(0,y.jsxs)("div",{...k(),children:[S,I,K]})})},9531:(e,t,l)=>{l.d(t,{j:()=>m});var n=l(79784),i=l(12115),r=l(46410),o=l(16278),s=l(48117),a=l(76498),u=l(13814),d=l(69353),c=l(70423),p=l(43920),g=l(12338),v=l(95155),h=()=>Promise.all([l.e(95),l.e(7468)]).then(l.bind(l,48365)).then(e=>e.default),f=(0,s.Rf)((e,t)=>{let{children:l,motionProps:n,placement:i,disableAnimation:r,style:o={},transformOrigin:s={},...g}=e,f=o;return void 0!==s.originX||void 0!==s.originY?f={...f,transformOrigin:s}:i&&(f={...f,...(0,c.kn)("center"===i?"top":i)}),r?(0,v.jsx)("div",{...g,ref:t,children:l}):(0,v.jsx)(a.F,{features:h,children:(0,v.jsx)(u.m.div,{ref:t,animate:"enter",exit:"exit",initial:"initial",style:f,variants:p.zF.scaleSpringOpacity,...(0,d.v6)(g,n),children:l})})});f.displayName="HeroUI.FreeSoloPopoverWrapper";var y=(0,s.Rf)((e,t)=>{let{children:l,transformOrigin:s,disableDialogFocus:d=!1,...c}=e,{Component:y,state:m,placement:b,backdrop:E,portalContainer:P,disableAnimation:x,motionProps:w,isNonModal:D,getPopoverProps:T,getBackdropProps:k,getDialogProps:S,getContentProps:K}=(0,n.f)({...c,ref:t}),C=i.useRef(null),{dialogProps:M,titleProps:A}=(0,g.s)({},C),N=S({...!d&&{ref:C},...M}),B=i.useMemo(()=>"transparent"===E?null:x?(0,v.jsx)("div",{...k()}):(0,v.jsx)(a.F,{features:h,children:(0,v.jsx)(u.m.div,{animate:"enter",exit:"exit",initial:"exit",variants:p.zF.fade,...k()})}),[E,x,k]);return(0,v.jsxs)(r.hJ,{portalContainer:P,children:[!D&&B,(0,v.jsx)(y,{...T(),children:(0,v.jsxs)(f,{disableAnimation:x,motionProps:w,placement:b,tabIndex:-1,transformOrigin:s,...N,children:[!D&&(0,v.jsx)(o.R,{onDismiss:m.close}),(0,v.jsx)("div",{...K(),children:"function"==typeof l?l(A):l}),(0,v.jsx)(o.R,{onDismiss:m.close})]})})]})});y.displayName="HeroUI.FreeSoloPopover";var m=y},79784:(e,t,l)=>{l.d(t,{f:()=>P});var n=l(70423),i=new WeakMap,r=[],o=l(98589),s=l(12115),a=l(69353),u=l(27582),d=l(5824),c=l(7568),p=l(66667),g=l(57010),v=l(91651),h=l(58786),f=l(11350),y=l(47298),m=l(48117),b=l(49678),E=l(46546);function P(e){var t,l,P;let x=(0,y.o)(),[w,D]=(0,m.rE)(e,b.oO.variantKeys),{as:T,ref:k,children:S,state:K,triggerRef:C,scrollRef:M,defaultOpen:A,onOpenChange:N,isOpen:B,isNonModal:L=!0,shouldFlip:I=!0,containerPadding:F=12,shouldBlockScroll:R=!1,isDismissable:O=!0,shouldCloseOnBlur:j,portalContainer:z,updatePositionDeps:H,dialogProps:W,placement:V="top",triggerType:U="dialog",showArrow:_=!1,offset:$=7,crossOffset:q=0,boundaryElement:G,isKeyboardDismissDisabled:X,shouldCloseOnInteractOutside:J,shouldCloseOnScroll:Y,triggerAnchorPoint:Q,motionProps:Z,className:ee,classNames:et,onClose:el,...en}=w,ei=(0,c.zD)(k),er=(0,s.useRef)(null),eo=(0,s.useRef)(!1),es=C||er,ea=null!=(l=null!=(t=e.disableAnimation)?t:null==x?void 0:x.disableAnimation)&&l,eu=function(e){let[t,l]=(0,p.P)(e.isOpen,e.defaultOpen||!1,e.onOpenChange),n=(0,s.useCallback)(()=>{l(!0)},[l]),i=(0,s.useCallback)(()=>{l(!1)},[l]),r=(0,s.useCallback)(()=>{l(!t)},[l,t]);return{isOpen:t,setOpen:l,open:n,close:i,toggle:r}}({isOpen:B,defaultOpen:A,onOpenChange:e=>{null==N||N(e),e||null==el||el()}}),ed=K||eu,{popoverProps:ec,underlayProps:ep,placement:eg}=function(e,t){let{groupRef:l,triggerRef:c,popoverRef:p,showArrow:g,offset:v=7,crossOffset:h=0,scrollRef:f,shouldFlip:y,boundaryElement:m,isDismissable:b=!0,shouldCloseOnBlur:E=!0,shouldCloseOnScroll:P=!0,placement:x="top",containerPadding:w,shouldCloseOnInteractOutside:D,isNonModal:T,isKeyboardDismissDisabled:k,updatePositionDeps:S=[],...K}=e,C=null==T||T,M="SubmenuTrigger"===K.trigger,{overlayProps:A,underlayProps:N}
7=(0,d.P)({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:E,isDismissable:b||M,isKeyboardDismissDisabled:k,shouldCloseOnInteractOutside:D||(e=>{var t;return!(null==(t=c.current)?void 0:t.contains(e))}),disableOutsideEvents:!C},p),{overlayProps:B,arrowProps:L,placement:I,updatePosition:F,triggerAnchorPoint:R}=(0,o.v)({...K,shouldFlip:y,crossOffset:h,targetRef:c,overlayRef:p,isOpen:t.isOpen,scrollRef:f,boundaryElement:m,containerPadding:w,placement:(0,n.VO)(x),offset:g?v+3:v,onClose:C&&!M&&P?t.close:()=>{}});return(0,u.U)(()=>{S.length&&F()},S),(0,s.useEffect)(()=>{var e,n;if(t.isOpen&&p.current)return C?function(e){let t=r[r.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}(null!=(e=null==l?void 0:l.current)?e:p.current):function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body,l=new Set(e),n=new Set,o=e=>{for(let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))l.add(t);let t=e=>{if(l.has(e)||e.parentElement&&n.has(e.parentElement)&&"row"!==e.parentElement.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let t of l)if(e.contains(t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),r=t(e);if(r===NodeFilter.FILTER_ACCEPT&&s(e),r!==NodeFilter.FILTER_REJECT){let e=i.nextNode();for(;null!=e;)s(e),e=i.nextNode()}},s=e=>{var t;let l=null!=(t=i.get(e))?t:0;("true"!==e.getAttribute("aria-hidden")||0!==l)&&(0===l&&e.setAttribute("aria-hidden","true"),n.add(e),i.set(e,l+1))};r.length&&r[r.length-1].disconnect(),o(t);let a=new MutationObserver(e=>{for(let t of e)if("childList"===t.type&&0!==t.addedNodes.length&&![...l,...n].some(e=>e.contains(t.target))){for(let e of t.removedNodes)e instanceof Element&&(l.delete(e),n.delete(e));for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&("true"===e.dataset.liveAnnouncer||"true"===e.dataset.reactAriaTopLayer)?l.add(e):e instanceof Element&&o(e)}});a.observe(t,{childList:!0,subtree:!0});let u={visibleNodes:l,hiddenNodes:n,observe(){a.observe(t,{childList:!0,subtree:!0})},disconnect(){a.disconnect()}};return r.push(u),()=>{for(let e of(a.disconnect(),n)){let t=i.get(e);null!=t&&(1===t?(e.removeAttribute("aria-hidden"),i.delete(e)):i.set(e,t-1))}u===r[r.length-1]?(r.pop(),r.length&&r[r.length-1].observe()):r.splice(r.indexOf(u),1)}}([null!=(n=null==l?void 0:l.current)?n:p.current])},[C,t.isOpen,p,l]),{popoverProps:(0,a.v6)(A,B),arrowProps:L,underlayProps:N,placement:I,triggerAnchorPoint:R}}({triggerRef:es,isNonModal:L,popoverRef:ei,placement:V,offset:$,scrollRef:M,isDismissable:O,shouldCloseOnBlur:j,boundaryElement:G,crossOffset:q,shouldFlip:I,containerPadding:F,updatePositionDeps:H,isKeyboardDismissDisabled:X,shouldCloseOnScroll:Y,shouldCloseOnInteractOutside:J,triggerAnchorPoint:Q},ed),ev=(0,s.useMemo)(()=>eg?(0,n.p8)(eg,V)?eg:V:null,[eg,V]),{triggerProps:eh}=function(e,t,l){let n,{type:i}=e,{isOpen:r}=t;(0,s.useEffect)(()=>{l&&l.current&&(0,v.a).set(l.current,t.close)}),"menu"===i?n=!0:"listbox"===i&&(n="listbox");let o=(0,h.Bi)();return{triggerProps:{"aria-haspopup":n,"aria-expanded":r,"aria-controls":r?o:void 0,onPress:t.toggle},overlayProps:{id:o}}}({type:U},ed,es),{isFocusVisible:ef,isFocused:ey,focusProps:em}=(0,g.o)(),eb=(0,s.useMemo)(()=>(0,b.oO)({...D}),[(0,a.t6)(D)]),eE=(0,E.cn)(null==et?void 0:et.base,ee),eP={"--trigger-anchor-point":Q?"".concat(Q.x,"px ").concat(Q.y,"px"):void 0};(0,f.H)({isDisabled:!(R&&ed.isOpen)});let ex=(0,s.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"content","data-open":(0,a.sE)(ed.isOpen),"data-arrow":(0,a.sE)(_),"data-placement":eg?(0,n.Fh)(eg,V):void 0,className:eb.content({class:(0,E.cn)(null==et?void 0:et.content,e.className)})}},[eb,ed.isOpen,_,ev,V,et,eg]),ew=(0,s.useCallback)(t=>{var l;let n;return"touch"===t.pointerType&&((null==e?void 0:e.backdrop)==="blur"||(null==e?void 0:e.backdrop)==="opaque")?n=setTimeout(()=>{eo.current=!0},100):eo.current=!0,null==(l=eh.onPress)||l.call(eh,t),()=>{clearTimeout(n)}},[null==eh?void 0:eh.onPress]),eD=(0,s.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{isDisabled:l,...n}=e;return{"data-slot":"trigger",...(0,a.v6)({"aria-haspopup":"dialog"},eh,n),onPress:ew,isDisabled:l,className:eb.trigger({class:(0,E.cn)(null==et?void 0:et.trigger,e.className),isTriggerDisabled:l}),ref:(0,a.Px)(t,es)}},[ed,eh,ew,es]),eT=(0,s.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"backdrop",className:eb.backdrop({class:null==et?void 0:et.backdrop}),onClick:e=>{if(!eo.current){e.preventDefault();return}ed.close(),eo.current=!1},...ep,...e}},[eb,ed.isOpen,et,ep]);return{state:ed,Component:T||"div",children:S,classNames:et,showArrow:_,triggerRef:es,placement:ev,isNonModal:L,popoverRef:ei,portalContainer:z,isOpen:ed.isOpen,onClose:ed.close,disableAnimation:ea,shouldBlockScroll:R,backdrop:null!=(P=e.backdrop)?P:"transparent",motionProps:Z,getBackdropProps:eT,getPopoverProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:ei,...(0,a.v6)(ec,en,e),style:(0,a.v6)(ec.style,en.style,e.style)}},getTriggerProps:eD,getDialogProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"base","data-open":(0,a.sE)(ed.isOpen),"data-focus":(0,a.sE)(ey),"data-arrow":(0,a.sE)(_),"data-focus-visible":(0,a.sE)(ef),"data-placement":eg?(0,n.Fh)(eg,V):void 0,...(0,a.v6)(em,W,e),className:eb.base({class:(0,E.cn)(eE)}),style:{outline:"none",...eP}}},getContentProps:ex}}},92793:(e,t,l)=>{let n;l.d(t,{d:()=>ts});var i=l(47298),r=l(48117),o=l(14583),s=l(49678),a=l(46546),u=l(7568),d=l(70624),c=l(12115),p=l(6156),g=l(57010),v=l(69353),h=l(62662),f=l(3459),y=l(35648),m=l(71459),b=l(1281),E=l(24030);let P="default",x="",w=new WeakMap;function D(e){if((0,b.un)())"disabled"===P&&(P="restoring",setTimeout(()=>{(0,E.v)(()=>
7{if("restoring"===P){let t=(0,f.TW)(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=x||""),x="",P="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&w.has(e)){let t=w.get(e),l="userSelect"in e.style?"userSelect":"webkitUserSelect";"none"===e.style[l]&&(e.style[l]=t),""===e.getAttribute("style")&&e.removeAttribute("style"),w.delete(e)}}let T=c.createContext({register:()=>{}});T.displayName="PressResponderContext";var k=l(97207),S=l(66025),K=l(14),C=l(60345),M=l(59783),A=l(31135),N=l(13802),B=l(65002),L=l(92520),I=l(96965),F=l(31243);l(47650);var R=new WeakMap;class O{continuePropagation(){(0,K._)(this,R,!1)}get shouldStopPropagation(){return(0,k._)(this,R)}constructor(e,t,l,n){var i;(0,S._)(this,R,{writable:!0,value:void 0}),(0,K._)(this,R,!0);let r=null!==(i=null==n?void 0:n.target)&&void 0!==i?i:l.currentTarget,o=null==r?void 0:r.getBoundingClientRect(),s,a=0,u,d=null;null!=l.clientX&&null!=l.clientY&&(u=l.clientX,d=l.clientY),o&&(null!=u&&null!=d?(s=u-o.left,a=d-o.top):(s=o.width/2,a=o.height/2)),this.type=e,this.pointerType=t,this.target=l.currentTarget,this.shiftKey=l.shiftKey,this.metaKey=l.metaKey,this.ctrlKey=l.ctrlKey,this.altKey=l.altKey,this.x=s,this.y=a,this.key=l.key}}let j=Symbol("linkClicked"),z="react-aria-pressable-style",H="data-react-aria-pressable";function W(e){return"A"===e.tagName&&e.hasAttribute("href")}function V(e,t){let{key:l,code:n}=e,i=t.getAttribute("role");return("Enter"===l||" "===l||"Spacebar"===l||"Space"===n)&&!(t instanceof(0,f.mD)(t).HTMLInputElement&&!q(t,l)||t instanceof(0,f.mD)(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===i||!i&&W(t))&&"Enter"!==l)}function U(e,t){let l=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:l,clientY:n,key:t.key}}function _(e,t){return e instanceof HTMLInputElement?!q(e,t):!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!W(e))}let $=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function q(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:$.has(e.type)}let G=!1,X=0;function J(e){"touch"===e.pointerType&&(G=!0,setTimeout(()=>{G=!1},50))}function Y(){if("undefined"!=typeof document)return 0===X&&"undefined"!=typeof PointerEvent&&document.addEventListener("pointerup",J),X++,()=>{--X>0||"undefined"==typeof PointerEvent||document.removeEventListener("pointerup",J)}}var Q=l(60032),Z=l(86533);let ee={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},et={...ee,customError:!0,valid:!1},el={isInvalid:!1,validationDetails:ee,validationErrors:[]},en=(0,c.createContext)({}),ei="__formValidationState"+Date.now();function er(e){return e?Array.isArray(e)?e:[e]:[]}function eo(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:et}:null}function es(e,t){return e===t||!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((e,l)=>e===t.validationErrors[l])&&Object.entries(e.validationDetails).every(([e,l])=>t.validationDetails[e]===l)}let ea=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),eu=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);var ed=l(40746);let ec=Symbol.for("react-aria.i18n.locale");function ep(){let e="undefined"!=typeof window&&window[ec]||"undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:!function(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),l="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(l)return"rtl"===l.direction;if(t.script)return ea.has(t.script)}let t=e.split("-")[0];return eu.has(t)}(e)?"ltr":"rtl"}}let eg=ep(),ev=new Set;function eh(){for(let e of(eg=ep(),ev))e(eg)}let ef=c.createContext(null),ey=new Map,em=null,eb=new Set,eE=new Map,eP=!1,ex=!1;function ew(e,t){for(let l of eb)l(e,t)}function eD(e){eP=!0,L.Fe.isOpening||e.metaKey||!(0,b.cX)()&&e.altKey||e.ctrlKey||"Control"
7===e.key||"Shift"===e.key||"Meta"===e.key||ew("keyboard",e)}function eT(e){"pointerType"in e&&e.pointerType,("mousedown"===e.type||"pointerdown"===e.type)&&(eP=!0,ew("pointer",e))}function ek(e){!L.Fe.isOpening&&(0,F.Y)(e)&&(eP=!0)}function eS(e){(0,y.wt)(e)!==window&&(0,y.wt)(e)!==document&&e.isTrusted&&(eP||ex||ew("virtual",e),eP=!1,ex=!1)}function eK(){eP=!1,ex=!0}function eC(e){if("undefined"==typeof window||"undefined"==typeof document||eE.get((0,f.mD)(e)))return;let t=(0,f.mD)(e),l=(0,f.TW)(e),n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){eP=!0,n.apply(this,arguments)},l.addEventListener("keydown",eD,!0),l.addEventListener("keyup",eD,!0),l.addEventListener("click",ek,!0),t.addEventListener("focus",eS,!0),t.addEventListener("blur",eK,!1),"undefined"!=typeof PointerEvent&&(l.addEventListener("pointerdown",eT,!0),l.addEventListener("pointermove",eT,!0),l.addEventListener("pointerup",eT,!0)),t.addEventListener("beforeunload",()=>{eM(e)},{once:!0}),eE.set(t,{focus:n})}let eM=(e,t)=>{let l=(0,f.mD)(e),n=(0,f.TW)(e);t&&n.removeEventListener("DOMContentLoaded",t),eE.has(l)&&(l.HTMLElement.prototype.focus=eE.get(l).focus,n.removeEventListener("keydown",eD,!0),n.removeEventListener("keyup",eD,!0),n.removeEventListener("click",ek,!0),l.removeEventListener("focus",eS,!0),l.removeEventListener("blur",eK,!1),"undefined"!=typeof PointerEvent&&(n.removeEventListener("pointerdown",eT,!0),n.removeEventListener("pointermove",eT,!0),n.removeEventListener("pointerup",eT,!0)),eE.delete(l))};"undefined"!=typeof document&&function(e){let t;let l=(0,f.TW)(void 0);"loading"!==l.readyState?eC(void 0):(t=()=>{eC(void 0)},l.addEventListener("DOMContentLoaded",t)),()=>eM(e,t)}();var eA=l(58786),eN=l(91614),eB=l(90774);new WeakMap;class eL{getItemRect(e){var t,l,n;let i,r,o=this.ref.current;if(!o)return null;let s=null!=e?(t=this.ref,i=`[data-key="${CSS.escape(String(e))}"]`,(r=null===(l=t.current)||void 0===l?void 0:l.dataset.collection)&&(i=`[data-collection="${CSS.escape(r)}"]${i}`),null===(n=t.current)||void 0===n?void 0:n.querySelector(i)):null;if(!s)return null;let a=o.getBoundingClientRect(),u=s.getBoundingClientRect();return{x:u.left-a.left-o.clientLeft+o.scrollLeft,y:u.top-a.top-o.clientTop+o.scrollTop,width:u.width,height:u.height}}getContentSize(){var e,t;let l=this.ref.current;return{width:null!==(e=null==l?void 0:l.scrollWidth)&&void 0!==e?e:0,height:null!==(t=null==l?void 0:l.scrollHeight)&&void 0!==t?t:0}}getVisibleRect(){var e,t,l,n;let i=this.ref.current;return{x:null!==(e=null==i?void 0:i.scrollLeft)&&void 0!==e?e:0,y:null!==(t=null==i?void 0:i.scrollTop)&&void 0!==t?t:0,width:null!==(l=null==i?void 0:i.clientWidth)&&void 0!==l?l:0,height:null!==(n=null==i?void 0:i.clientHeight)&&void 0!==n?n:0}}constructor(e){this.ref=e}}var eI=l(90971);class eF{isDisabled(e){var t;return"all"===this.disabledBehavior&&((null===(t=e.props)||void 0===t?void 0:t.isDisabled)||this.disabledKeys.has(e.key))}findNextNonDisabled(e,t){let l=e;for(;null!=l;){let e=this.collection.getItem(l);if((null==e?void 0:e.type)==="item"&&!this.isDisabled(e))return l;l=t(l)}return null}getNextKey(e){let t=e;return t=this.collection.getKeyAfter(t),this.findNextNonDisabled(t,e=>this.collection.getKeyAfter(e))}getPreviousKey(e){let t=e;return t=this.collection.getKeyBefore(t),this.findNextNonDisabled(t,e=>this.collection.getKeyBefore(e))}findKey(e,t,l){let n=e,i=this.layoutDelegate.getItemRect(n);if(!i||null==n)return null;let r=i;do{if(null==(n=t(n)))break;i=this.layoutDelegate.getItemRect(n)}while(i&&l(r,i)&&null!=n);return n}isSameRow(e,t){return e.y===t.y||e.x!==t.x}isSameColumn(e,t){return e.x===t.x||e.y!==t.y}getKeyBelow(e){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getNextKey(e),this.isSameRow):this.getNextKey(e)}getKeyAbove(e){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getPreviousKey(e),this.isSameRow):this.getPreviousKey(e)}getNextColumn(e,t){return t?this.getPreviousKey(e):this.getNextKey(e)}getKeyRightOf(e){let t="ltr"===this.direction?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[t]?(e=this.layoutDelegate[t](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[t](e))):"grid"===this.layout?"vertical"===this.orientation?this.getNextColumn(e,"rtl"===this.direction):this.findKey(e,e=>this.getNextColumn(e,"rtl"===this.direction),this.isSameColumn):"horizontal"===this.orientation?this.getNextColumn(e,"rtl"===this.direction):null}getKeyLeftOf(e){let t="ltr"===this.direction?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[t]?(e=this.layoutDelegate[t](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[t](e))):"grid"===this.layout?"vertical"===this.orientation?this.getNextColumn(e,"ltr"===this.direction):this.findKey(e,e=>this.getNextColumn(e,"ltr"===this.direction),this.isSameColumn):"horizontal"===this.orientation?this.getNextColumn(e,"ltr"===this.direction):null}getFirstKey(){let e=this.collection.getFirstKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyAfter(e))}getLastKey(){let e=this.collection.getLastKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyBefore(e))}getKeyPageAbove(e){let t=this.ref.current,l=this.layoutDelegate.getItemRect(e);
7if(!l)return null;if(t&&!(0,eI.o)(t))return this.getFirstKey();let n=e;if("horizontal"===this.orientation){let e=Math.max(0,l.x+l.width-this.layoutDelegate.getVisibleRect().width);for(;l&&l.x>e&&null!=n;)l=null==(n=this.getKeyAbove(n))?null:this.layoutDelegate.getItemRect(n)}else{let e=Math.max(0,l.y+l.height-this.layoutDelegate.getVisibleRect().height);for(;l&&l.y>e&&null!=n;)l=null==(n=this.getKeyAbove(n))?null:this.layoutDelegate.getItemRect(n)}return null!=n?n:this.getFirstKey()}getKeyPageBelow(e){let t=this.ref.current,l=this.layoutDelegate.getItemRect(e);if(!l)return null;if(t&&!(0,eI.o)(t))return this.getLastKey();let n=e;if("horizontal"===this.orientation){let e=Math.min(this.layoutDelegate.getContentSize().width,l.y-l.width+this.layoutDelegate.getVisibleRect().width);for(;l&&l.x<e&&null!=n;)l=null==(n=this.getKeyBelow(n))?null:this.layoutDelegate.getItemRect(n)}else{let e=Math.min(this.layoutDelegate.getContentSize().height,l.y-l.height+this.layoutDelegate.getVisibleRect().height);for(;l&&l.y<e&&null!=n;)l=null==(n=this.getKeyBelow(n))?null:this.layoutDelegate.getItemRect(n)}return null!=n?n:this.getLastKey()}getKeyForSearch(e,t){if(!this.collator)return null;let l=this.collection,n=t||this.getFirstKey();for(;null!=n;){let t=l.getItem(n);if(!t)break;let i=t.textValue.slice(0,e.length);if(t.textValue&&0===this.collator.compare(i,e))return n;n=this.getNextKey(n)}return null}constructor(...e){if(1===e.length){let t=e[0];this.collection=t.collection,this.ref=t.ref,this.collator=t.collator,this.disabledKeys=t.disabledKeys||new Set,this.disabledBehavior=t.disabledBehavior||"all",this.orientation=t.orientation||"vertical",this.direction=t.direction,this.layout=t.layout||"stack",this.layoutDelegate=t.layoutDelegate||new eL(t.ref)}else this.collection=e[0],this.disabledKeys=e[1],this.ref=e[2],this.collator=e[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new eL(this.ref);"stack"===this.layout&&"vertical"===this.orientation&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}let eR=new Set(["id"]),eO=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),ej=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),ez=new Set(["dir","lang","hidden","inert","translate"]),eH=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),eW=/^(data-.*)$/;function eV(...e){return(...t)=>{for(let l of e)"function"==typeof l&&l(...t)}}let eU="undefined"!=typeof document?c.useLayoutEffect:()=>{},e_=!!("undefined"!=typeof window&&window.document&&window.document.createElement),e$=new Map;function eq(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}"undefined"!=typeof FinalizationRegistry&&(n=new FinalizationRegistry(e=>{e$.delete(e)}));var eG=l(43463);function eX(...e){let t={...e[0]};for(let l=1;l<e.length;l++){let n=e[l];for(let e in n){let l=t[e],i=n[e];"function"==typeof l&&"function"==typeof i&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=eV(l,i):("className"===e||"UNSAFE_className"===e)&&"string"==typeof l&&"string"==typeof i?t[e]=(0,eG.A)(l,i):"id"===e&&l&&i?t.id=function(e,t){if(e===t)return e;let l=e$.get(e);if(l)return l.forEach(e=>e.current=t),t;let n=e$.get(t);return n?(n.forEach(t=>t.current=e),e):t}(l,i):"ref"===e&&l&&i?t.ref=function(...e){return 1===e.length&&e[0]?e[0]:t=>{let l=!1,n=e.map(e=>{let n=eq(e,t);return l||(l="function"==typeof n),n});if(l)return()=>{n.forEach((t,l)=>{"function"==typeof t?t():eq(e[l],null)})}}}(l,i):t[e]=void 0!==i?i:l}}return t}var eJ=l(27582),eY=l(79120),eQ=l(68319),eZ=l(11350),e0=new WeakMap,e4="undefined"!=typeof document?c.useLayoutEffect:()=>{},e1=l(80500);let e3={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function e5(e={}){let{style:t,isFocusable:l}=e,[n,i]=(0,c.useState)(!1),{focusWithinProps:r}=(0,e1.R)({isDisabled:!l,onFocusWithinChange:e=>i(e)}),o=(0,c.useMemo)(()=>n?t:t?{...e3,...t}:e3,[n]);return{visuallyHiddenProps:{...r,style:o}}}function e6(e){let{children:t,elementType:l="div",isFocusable:n,style:i,...r}=e,{visuallyHiddenProps:o}=e5(e);return c.createElement(l,(0,C.v)(r,o),t)}var e2=l(31411),e7=l(95155);function e8(e){var t;let{state:l,triggerRef:n,selectRef:i,label:r,name:o,isDisabled:s,form:a}=e,{containerProps:u,selectProps:d}=function(e,t,l){var n,i,r,o;let s,a;let u=e0.get(t)||{},{autoComplete:d,name:p=u.name,isDisabled:g=u.isDisabled,selectionMode:v,onChange:h,form:f}=e,{validationBehavior:m,isRequired:b,isInvalid:E}=u,{visuallyHiddenProps:P}=e5();return i=e.selectRef,r=t.selectedKeys,o=t.setSelectedKeys,s=(0,c.useRef)(r),a=function(e){let t=(0,c.useRef)(null);return e4(()=>{t.current=e},[e]),(0,c.useCallback)((...e)=>{let l=t.current;return null==l?void 0:l(...e)},[])}(()=>
7{o&&o(s.current)}),(0,c.useEffect)(()=>{var e;let t=null==(e=null==i?void 0:i.current)?void 0:e.form;return null==t||t.addEventListener("reset",a),()=>{null==t||t.removeEventListener("reset",a)}},[i,a]),!function(e,t,l){let{validationBehavior:n,focus:i}=e;(0,B.N)(()=>{if("native"===n&&(null==l?void 0:l.current)&&!l.current.disabled){var e;let n,i=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";l.current.setCustomValidity(i),l.current.hasAttribute("title")||(l.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation({isInvalid:!(e=l.current).validity.valid,validationDetails:{badInput:(n=e.validity).badInput,customError:n.customError,patternMismatch:n.patternMismatch,rangeOverflow:n.rangeOverflow,rangeUnderflow:n.rangeUnderflow,stepMismatch:n.stepMismatch,tooLong:n.tooLong,tooShort:n.tooShort,typeMismatch:n.typeMismatch,valueMissing:n.valueMissing,valid:n.valid},validationErrors:e.validationMessage?[e.validationMessage]:[]})}});let r=(0,c.useRef)(!1),o=(0,N.J)(()=>{r.current||t.resetValidation()}),s=(0,N.J)(e=>{var n,r;t.displayValidation.isInvalid||t.commitValidation();let o=null==l?void 0:null===(n=l.current)||void 0===n?void 0:n.form;!e.defaultPrevented&&l&&o&&function(e){for(let l=0;l<e.elements.length;l++){var t;let n=e.elements[l];if((null===(t=n.validity)||void 0===t?void 0:t.valid)===!1)return n}return null}(o)===l.current&&(i?i():null===(r=l.current)||void 0===r||r.focus(),(0,e2.Cl)("keyboard")),e.preventDefault()}),a=(0,N.J)(()=>{t.commitValidation()});(0,c.useEffect)(()=>{let e=null==l?void 0:l.current;if(!e)return;let t=e.form,n=null==t?void 0:t.reset;return t&&(t.reset=()=>{r.current=!window.event||"message"===window.event.type&&(0,y.wt)(window.event)instanceof MessagePort,null==n||n.call(t),r.current=!1}),e.addEventListener("invalid",s),e.addEventListener("change",a),null==t||t.addEventListener("reset",o),()=>{e.removeEventListener("invalid",s),e.removeEventListener("change",a),null==t||t.removeEventListener("reset",o),t&&(t.reset=n)}},[l,n])}({validationBehavior:m,focus:()=>{var e;return null==(e=l.current)?void 0:e.focus()}},t,e.selectRef),{containerProps:{...P,"aria-hidden":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{form:f,autoComplete:d,disabled:g,"aria-invalid":E||void 0,"aria-required":b&&"aria"===m||void 0,required:b&&"native"===m,name:p,tabIndex:-1,value:"multiple"===v?[...t.selectedKeys].map(e=>String(e)):null!=(n=[...t.selectedKeys][0])?n:"",multiple:"multiple"===v,onChange:e=>{t.setSelectedKeys(e.target.value),null==h||h(e)}}}}({...e,selectRef:i},l,n);return l.collection.size<=300?(0,e7.jsx)("div",{...u,"data-testid":"hidden-select-container",children:(0,e7.jsxs)("label",{children:[r,(0,e7.jsxs)("select",{...d,ref:i,children:[(0,e7.jsx)("option",{}),[...l.collection.getKeys()].map(e=>{let t=l.collection.getItem(e);if((null==t?void 0:t.type)==="item")return(0,e7.jsx)("option",{value:t.key,children:t.textValue},t.key)})]})]})}):o?(0,e7.jsx)("input",{autoComplete:d.autoComplete,disabled:s,form:a,name:o,type:"hidden",value:null!=(t=[...l.selectedKeys].join(","))?t:""}):null}var e9=l(84585),te=l(9531),tt=l(27526),tl=l(28220),tn=l(36265),ti=l(91271),tr=(0,r.Rf)((e,t)=>{let{Component:l,children:n,getBaseProps:i}=function(e){var t;let[l,n]=(0,r.rE)(e,ti.Q.variantKeys),{ref:i,as:o,children:s,className:a,style:d,size:p=40,offset:g=0,visibility:h="auto",isEnabled:f=!0,onVisibilityChange:y,...m}=l,b=(0,u.zD)(i);!function(e={}){let{domRef:t,isEnabled:l=!0,overflowCheck:n="vertical",visibility:i="auto",offset:r=0,onVisibilityChange:o,updateDeps:s=[]}=e,a=(0,c.useRef)(i);(0,c.useEffect)(()=>{let e=null==t?void 0:t.current;if(!e||!l)return;let s=(t,l,n,r,s)=>{if("auto"===i){let t=`${r}${(0,v.ZH)(s)}Scroll`;l&&n?(e.dataset[t]="true",e.removeAttribute(`data-${r}-scroll`),e.removeAttribute(`data-${s}-scroll`)):(e.dataset[`${r}Scroll`]=l.toString(),e.dataset[`${s}Scroll`]=n.toString(),e.removeAttribute(`data-${r}-${s}-scroll`))}else{let e=l&&n?"both":l?r:n?s:"none";e!==a.current&&(null==o||o(e),a.current=e)}},u=()=>{var t,l;let i=e.querySelector('ul[data-slot="list"]'),o=+(null!=(t=null==i?void 0:i.getAttribute("data-virtual-scroll-height"))?t:e.scrollHeight),a=+(null!=(l=null==i?void 0:i.getAttribute("data-virtual-scroll-top"))?l:e.scrollTop);for(let{type:t,prefix:l,suffix:i}of[{type:"vertical",prefix:"top",suffix:"bottom"},{type:"horizontal",prefix:"left",suffix:"right"}])if(n===t||"both"===n){let n="vertical"===t?a>r:e.scrollLeft>r,u="vertical"===t?a+e.clientHeight+r<o:e.scrollLeft+e.clientWidth+r<e.scrollWidth;s(t,n,u,l,i)}},d=()=>{["top","bottom","top-bottom","left","right","left-right"].forEach(t=>{e.removeAttribute(`data-${t}-scroll`)})};return u(),e.addEventListener("scroll",u,!0),"auto"!==i&&(d(),"both"===i?(e.dataset.topBottomScroll=String("vertical"===n),e.dataset.leftRightScroll=String("horizontal"===n)):(e.dataset.topBottomScroll="false",e.dataset.leftRightScroll="false",["top","bottom","left","right"].forEach(t=>{e.dataset[`${t}Scroll`]=String(i===t)}))),()=>{e.removeEventListener("scroll",u,!0),d()}},[...s,l,i,n,o,t])}({domRef:b,offset:g,visibility:h,isEnabled:f,onVisibilityChange:y,updateDeps:[s],overflowCheck:null!=(t=e.orientation)?t:"vertical"});let E=(0,c.useMemo)(()=>(0,ti.Q)({...n,className:a}),[(0,v.t6)(n),a]);return{Component:o||"div",styles:E,domRef:b,children:s,getBaseProps:function(){var t;let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:b,className:E,"data-orientation":null!=(t=e.orientation)?t:"vertical",style:{"--scroll-shadow-size":"".concat(p,"px"),...d,...l.style},...m,...l}}}}({...e,ref:t});return(0,e7.jsx)(l,{...i(),children:n})});
7tr.displayName="HeroUI.ScrollShadow";var to=l(96349),ts=(0,r.Rf)(function(e,t){var l;let{Component:E,state:k,label:S,hasHelper:K,isLoading:R,triggerRef:$,selectorIcon:q=(0,e7.jsx)(tt.D,{}),description:X,errorMessage:J,isInvalid:ee,startContent:ea,endContent:eu,placeholder:ep,renderValue:em,shouldLabelBeOutside:eb,disableAnimation:eE,getBaseProps:eP,getLabelProps:ex,getTriggerProps:eD,getValueProps:eT,getListboxProps:ek,getPopoverProps:eS,getSpinnerProps:eK,getMainWrapperProps:eC,getInnerWrapperProps:eM,getHiddenSelectProps:eL,getHelperWrapperProps:eI,getListboxWrapperProps:eq,getDescriptionProps:eG,getErrorMessageProps:e4,getSelectorIconProps:e1,isClearable:e3,getClearButtonProps:e5,getEndWrapperProps:e2,getEndContentProps:ti}=function(e){var t,l,E,k,S,K;let R=(0,i.o)(),{validationBehavior:$}=(0,eY.CC)(eQ.c)||{},[q,X]=(0,r.rE)(e,s.Lt.variantKeys),J=null!=(l=null!=(t=e.disableAnimation)?t:null==R?void 0:R.disableAnimation)&&l,{ref:ee,as:ea,label:eu,name:ep,isLoading:em,selectorIcon:eb,isOpen:eE,defaultOpen:eP,onOpenChange:ex,startContent:eD,endContent:eT,description:ek,renderValue:eS,onSelectionChange:eK,placeholder:eC,isVirtualized:eM,itemHeight:eL=36,maxListboxHeight:eI=256,children:eq,disallowEmptySelection:eG=!1,selectionMode:e4="single",spinnerRef:e1,scrollRef:e3,popoverProps:e5={},scrollShadowProps:e6={},listboxProps:e2={},spinnerProps:e7={},validationState:e8,onChange:e9,onClose:te,className:tt,classNames:tl,validationBehavior:tn=null!=(E=null!=$?$:null==R?void 0:R.validationBehavior)?E:"native",hideEmptyContent:ti=!1,onClear:tr,...to}=q,ts=(0,u.zD)(e3),ta={popoverProps:(0,v.v6)({placement:"bottom",triggerScaleOnOpen:!1,offset:5,disableAnimation:J},e5),scrollShadowProps:(0,v.v6)({ref:ts,isEnabled:null==(k=e.showScrollIndicators)||k,hideScrollBar:!0,offset:15},e6),listboxProps:(0,v.v6)({disableAnimation:J},e2)},tu=ea||"button",td="string"==typeof tu,tc=(0,u.zD)(ee),tp=(0,c.useRef)(null),tg=(0,c.useRef)(null),tv=(0,c.useRef)(null),th=function({validate:e,validationBehavior:t,...l}){let[n,i]=(0,c.useState)(!1),[r,o]=(0,c.useState)(null),s=function(e){let t=(0,Z.T)(e),[l,n]=(0,c.useState)(null),[i,r]=(0,c.useState)([]),o=()=>{r([]),t.close()};return{focusStrategy:l,...t,open(e=null){n(e),t.open()},toggle(e=null){n(e),t.toggle()},close(){o()},expandedKeysStack:i,openSubmenu:(e,t)=>{r(l=>t>l.length?l:[...l.slice(0,t),e])},closeSubmenu:(e,t)=>{r(l=>l[t]===e?l.slice(0,t):l)}}}(l),a=function(e){let{collection:t,disabledKeys:l,selectionManager:n,selectionManager:{setSelectedKeys:i,selectedKeys:r,selectionMode:o}}=(0,Q.p)(e),s=(0,c.useMemo)(()=>e.isLoading||0===r.size?[]:Array.from(r).filter(Boolean).filter(e=>!t.getItem(e)),[r,t]),a=0!==r.size?Array.from(r).map(e=>t.getItem(e)).filter(Boolean):null;return s.length&&console.warn(`Select: Keys "${s.join(", ")}" passed to "selectedKeys" are not present in the collection.`),{collection:t,disabledKeys:l,selectionManager:n,selectionMode:o,selectedKeys:r,setSelectedKeys:i.bind(n),selectedItems:a}}({...l,onSelectionChange:e=>{null!=l.onSelectionChange&&("all"===e?l.onSelectionChange(new Set(a.collection.getKeys())):l.onSelectionChange(e)),"single"===l.selectionMode&&s.close()}}),u=function(e){if(e[ei]){let{realtimeValidation:t,displayValidation:l,updateValidation:n,resetValidation:i,commitValidation:r}=e[ei];return{realtimeValidation:t,displayValidation:l,updateValidation:n,resetValidation:i,commitValidation:r}}return function(e){let{isInvalid:t,validationState:l,name:n,value:i,builtinValidation:r,validate:o,validationBehavior:s="aria"}=e;l&&(t||(t="invalid"===l));let a=void 0!==t?{isInvalid:t,validationErrors:[],validationDetails:et}:null,u=(0,c.useMemo)(()=>o&&null!=i?eo(function(e,t){if("function"==typeof e){let l=e(t);if(l&&"boolean"!=typeof l)return er(l)}return[]}(o,i)):null,[o,i]);(null==r?void 0:r.validationDetails.valid)&&(r=void 0);let d=(0,c.useContext)(en),p=(0,c.useMemo)(()=>n?Array.isArray(n)?n.flatMap(e=>er(d[e])):er(d[n]):[],[d,n]),[g,v]=(0,c.useState)(d),[h,f]=(0,c.useState)(!1);d!==g&&(v(d),f(!1));let y=(0,c.useMemo)(()=>eo(h?[]:p),[h,p]),m=(0,c.useRef)(el),[b,E]=(0,c.useState)(el),P=(0,c.useRef)(el),[x,w]=(0,c.useState)(!1);return(0,c.useEffect)(()=>
7{if(!x)return;w(!1);let e=u||r||m.current;es(e,P.current)||(P.current=e,E(e))}),{realtimeValidation:a||y||u||r||el,displayValidation:"native"===s?a||y||b:a||y||u||r||b,updateValidation(e){"aria"!==s||es(b,e)?m.current=e:E(e)},resetValidation(){es(el,P.current)||(P.current=el,E(el)),"native"===s&&w(!1),f(!0)},commitValidation(){"native"===s&&w(!0),f(!0)}}}(e)}({...l,validationBehavior:t,validate:t=>{if(!e)return;let n=Array.from(t);return e("single"===l.selectionMode?n[0]:n)},value:a.selectedKeys}),d=0===a.collection.size&&l.hideEmptyContent;return{...u,...a,...s,focusStrategy:r,close(){s.close()},open(e=null){d||(o(e),s.open())},toggle(e=null){d||(o(e),s.toggle())},isFocused:n,setFocused:i}}({...q,isOpen:eE,selectionMode:e4,disallowEmptySelection:eG,validationBehavior:tn,children:eq,isRequired:e.isRequired,isDisabled:e.isDisabled,isInvalid:e.isInvalid,defaultOpen:eP,hideEmptyContent:ti,onOpenChange:e=>{null==ex||ex(e),e||null==te||te()},onSelectionChange:e=>{null==eK||eK(e),e9&&"function"==typeof e9&&e9({target:{...tc.current&&{...tc.current,name:tc.current.name},value:Array.from(e).join(",")}}),th.commitValidation()}});th={...th,...e.isDisabled&&{disabledKeys:new Set([...th.collection.getKeys()])}},(0,eJ.U)(()=>{var e;(null==(e=tc.current)?void 0:e.value)&&th.setSelectedKeys(new Set([...th.selectedKeys,tc.current.value]))},[tc.current]);let{labelProps:tf,triggerProps:ty,valueProps:tm,menuProps:tb,descriptionProps:tE,errorMessageProps:tP,isInvalid:tx,validationErrors:tw,validationDetails:tD}=function(e,t,l){let{disallowEmptySelection:i,isDisabled:r}=e,o=function(e){let t;let{locale:l}=(t=function(){let e=(0,ed.wR)(),[t,l]=(0,c.useState)(eg);return((0,c.useEffect)(()=>(0===ev.size&&window.addEventListener("languagechange",eh),ev.add(l),()=>{ev.delete(l),0===ev.size&&window.removeEventListener("languagechange",eh)}),[]),e)?{locale:"undefined"!=typeof window&&window[ec]||"en-US",direction:"ltr"}:t}(),(0,c.useContext)(ef)||t),n=l+(e?Object.entries(e).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(ey.has(n))return ey.get(n);let i=new Intl.Collator(l,e);return ey.set(n,i),i}({usage:"search",sensitivity:"base"}),s=(0,c.useMemo)(()=>new eF(t.collection,t.disabledKeys,null,o),[t.collection,t.disabledKeys,o]),{menuTriggerProps:a,menuProps:u}=(0,eB.V)({isDisabled:r,type:"listbox"},t,l),{typeSelectProps:d}=function(e){let{keyboardDelegate:t,selectionManager:l,onTypeSelect:n}=e,i=(0,c.useRef)({search:"",timeout:void 0}).current;return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{var r;let o=1!==(r=e.key).length&&/^[A-Z]/i.test(r)?"":r;if(o&&!e.ctrlKey&&!e.metaKey&&(0,y.sD)(e.currentTarget,(0,y.wt)(e))&&(0!==i.search.length||" "!==o)){if(" "!==o||!(i.search.trim().length>0)||(e.preventDefault(),"continuePropagation"in e||e.stopPropagation()),i.search+=o,null!=t.getKeyForSearch){let e=t.getKeyForSearch(i.search,l.focusedKey);null==e&&(e=t.getKeyForSearch(i.search)),null!=e&&(l.setFocusedKey(e),n&&n(e))}clearTimeout(i.timeout),i.timeout=setTimeout(()=>{i.search=""},1e3)}}:void 0}}}({keyboardDelegate:s,selectionManager:t.selectionManager,onTypeSelect(e){t.setSelectedKeys([e])}}),{isInvalid:p,validationErrors:g,validationDetails:v}=t.displayValidation,{labelProps:h,fieldProps:f,descriptionProps:m,errorMessageProps:b}=function(e){let{description:t,errorMessage:l,isInvalid:n,validationState:i}=e,{labelProps:r,fieldProps:o}=function(e){let{id:t,label:l,"aria-labelledby":n,"aria-label":i,labelElementType:r="label"}=e;t=(0,eA.Bi)(t);let o=(0,eA.Bi)(),s={};return l&&(n=n?`${o} ${n}`:o,s={id:o,htmlFor:"label"===r?t:void 0}),{labelProps:s,fieldProps:(0,eN.b)({id:t,"aria-label":i,"aria-labelledby":n})}}(e),s=(0,eA.X1)([!!t,!!l,n,i]),a=(0,eA.X1)([!!t,!!l,n,i]);return{labelProps:r,fieldProps:o=(0,C.v)(o,{"aria-describedby":[s,a,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),descriptionProps:{id:s},errorMessageProps:{id:a}}}({...e,labelElementType:"span",isInvalid:p,errorMessage:e.errorMessage||g});d.onKeyDown=d.onKeyDownCapture,delete d.onKeyDownCapture,a.onPressStart=e=>{"touch"===e.pointerType||"keyboard"===e.pointerType||r||t.toggle("virtual"===e.pointerType?"first":null)};let E=function(e,t={}){let{labelable:l,isLink:n,global:i,events:r=i,propNames:o}=t,s={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(eR.has(t)||l&&eO.has(t)||n&&ej.has(t)||i&&ez.has(t)||r&&(eH.has(t)||t.endsWith("Capture")&&eH.has(t.slice(0,-7)))||(null==o?void 0:o.has(t))||eW.test(t))&&(s[t]=e[t]);return s}(e,{labelable:!0}),P=eX(d,a,f),x=function(e){let[t,l]=(0,c.useState)(void 0),i=(0,c.useRef)(null),r=(0,ed.Cc)(t),o=(0,c.useRef)(null);if(n&&n.register(o,r),e_){let e=e$.get(r);e&&!e.includes(i)?e.push(i):e$.set(r,[i])}return eU(()=>()=>{n&&n.unregister(o),e$.delete(r)},[r]),(0,c.useEffect)(()=>{let e=i.current;return e&&l(e),()=>{e&&(i.current=null)}}),r}();return{labelProps:{...h,onClick:()=>{var t;
7e.isDisabled||(null==(t=l.current)||t.focus(),ew("keyboard",null))}},triggerProps:eX(E,{...P,onKeyDown:eV(P.onKeyDown,e=>{if("single"===t.selectionMode)switch(e.key){case"ArrowLeft":{e.preventDefault();let l=t.selectedKeys.size>0?s.getKeyAbove(t.selectedKeys.values().next().value):s.getFirstKey();l&&t.setSelectedKeys([l]);break}case"ArrowRight":{e.preventDefault();let l=t.selectedKeys.size>0?s.getKeyBelow(t.selectedKeys.values().next().value):s.getFirstKey();l&&t.setSelectedKeys([l])}}},e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[x,P["aria-labelledby"],P["aria-label"]&&!P["aria-labelledby"]?P.id:null].join(" "),onFocus(l){t.isFocused||(e.onFocus&&e.onFocus(l),t.setFocused(!0))},onBlur(l){t.isOpen||(e.onBlur&&e.onBlur(l),t.setFocused(!1))}}),valueProps:{id:x},menuProps:{...u,disallowEmptySelection:i,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,onBlur:l=>{l.currentTarget.contains(l.relatedTarget)||(e.onBlur&&e.onBlur(l),t.setFocused(!1))},onFocus:null==u?void 0:u.onFocus,"aria-labelledby":[f["aria-labelledby"],P["aria-label"]&&!f["aria-labelledby"]?P.id:null].filter(Boolean).join(" ")},descriptionProps:m,errorMessageProps:b,isInvalid:p,validationErrors:g,validationDetails:v}}({...q,disallowEmptySelection:eG,isDisabled:e.isDisabled},th,tp),tT=(0,c.useCallback)(()=>{var e;th.setSelectedKeys(new Set([])),null==tr||tr(),null==(e=tp.current)||e.focus()},[tr,th]),{pressProps:tk}=function(e){let{onPress:t,onPressChange:l,onPressStart:n,onPressEnd:i,onPressUp:r,onClick:o,isDisabled:s,isPressed:a,preventFocusOnPress:u,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:p,ref:g,...v}=function(e){let t=(0,c.useContext)(T);if(t){let{register:l,ref:n,...i}=t;e=(0,C.v)(i,e),l()}return(0,M.w)(t,e.ref),e}(e),[E,k]=(0,c.useState)(!1),S=(0,c.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:K,removeAllGlobalListeners:R,removeGlobalListener:$}=(0,A.A)(),q=(0,c.useCallback)((e,t)=>{let i=S.current;if(s||i.didFirePressStart)return!1;let r=!0;if(i.isTriggeringEvent=!0,n){let l=new O("pressstart",t,e);n(l),r=l.shouldStopPropagation}return l&&l(!0),i.isTriggeringEvent=!1,i.didFirePressStart=!0,k(!0),r},[s,n,l]),G=(0,c.useCallback)((e,n,r=!0)=>{let o=S.current;if(!o.didFirePressStart)return!1;o.didFirePressStart=!1,o.isTriggeringEvent=!0;let a=!0;if(i){let t=new O("pressend",n,e);i(t),a=t.shouldStopPropagation}if(l&&l(!1),k(!1),t&&r&&!s){let l=new O("press",n,e);t(l),a&&(a=l.shouldStopPropagation)}return o.isTriggeringEvent=!1,a},[s,i,l,t]),X=(0,N.J)(G),J=(0,c.useCallback)((e,t)=>{let l=S.current;if(s)return!1;if(r){l.isTriggeringEvent=!0;let n=new O("pressup",t,e);return r(n),l.isTriggeringEvent=!1,n.shouldStopPropagation}return!0},[s,r]),Y=(0,N.J)(J),Q=(0,c.useCallback)(e=>{let t=S.current;if(t.isPressed&&t.target){for(let l of(t.didFirePressStart&&null!=t.pointerType&&G(U(t.target,e),t.pointerType,!1),t.isPressed=!1,es(null),t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,R(),p||D(t.target),t.disposables))l();t.disposables=[]}},[p,R,G]),Z=(0,N.J)(Q),ee=(0,c.useCallback)(e=>{d&&Q(e)},[d,Q]),et=(0,c.useCallback)(e=>{s||null==o||o(e)},[s,o]),el=(0,c.useCallback)((e,t)=>{if(!s&&o){let l=new MouseEvent("click",e);Object.defineProperty(l,"target",{value:t}),Object.defineProperty(l,"currentTarget",{value:t}),o((l.nativeEvent=l,l.isDefaultPrevented=()=>l.defaultPrevented,l.isPropagationStopped=()=>l.cancelBubble,l.persist=()=>{},l))}},[s,o]),en=(0,N.J)(el),[ei,er]=(0,c.useState)(!1);(0,B.N)(()=>{let e=S.current;if(ei){let t=e.target,l=(0,I.c)(l=>{t&&V(l,t)&&!l.repeat&&(0,y.sD)(t,(0,y.wt)(l))&&e.target&&Y(U(e.target,l),"keyboard")},t=>{var l,n,i;if(e.isPressed&&e.target&&V(t,e.target)){_((0,y.wt)(t),t.key)&&t.preventDefault();let l=(0,y.wt)(t),i=(0,y.sD)(e.target,l);X(U(e.target,t),"keyboard",i),i&&en(t,e.target),R(),"Enter"!==t.key&&W(e.target)&&(0,y.sD)(e.target,l)&&!t[j]&&(t[j]=!0,(0,L.Fe)(e.target,t,!1)),e.isPressed=!1,er(!1),null===(n=e.metaKeyEvents)||void 0===n||n.delete(t.key)}else if("Meta"===t.key&&(null===(l=e.metaKeyEvents)||void 0===l?void 0:l.size)){let t=e.metaKeyEvents;
7for(let l of(e.metaKeyEvents=void 0,t.values()))null===(i=e.target)||void 0===i||i.dispatchEvent(new KeyboardEvent("keyup",l))}});return K((0,f.TW)(e.target),"keyup",l,!0),()=>{$((0,f.TW)(e.target),"keyup",l,!0)}}},[ei,K,R,$]);let[eo,es]=(0,c.useState)(null);(0,B.N)(()=>{let e=S.current;if("pointer"===eo){let t=t=>{if(t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target){if((0,y.sD)(e.target,(0,y.wt)(t))&&null!=e.pointerType){let l=!1,n=setTimeout(()=>{e.isPressed&&e.target instanceof HTMLElement&&(l?Z(t):((0,m.e)(e.target),e.target.click()))},80);t.currentTarget&&K(t.currentTarget,"click",()=>l=!0,!0),e.disposables.push(()=>clearTimeout(n))}else Z(t);e.isOverTarget=!1}},l=e=>{Z(e)};return K((0,f.TW)(e.target),"pointerup",t,!1),K((0,f.TW)(e.target),"pointercancel",l,!1),()=>{$((0,f.TW)(e.target),"pointerup",t,!1),$((0,f.TW)(e.target),"pointercancel",l,!1)}}},[eo,K,$]);let ea=(0,c.useMemo)(()=>{let e=S.current,t={onKeyDown(t){if(V(t.nativeEvent,t.currentTarget)&&(0,y.sD)(t.currentTarget,(0,y.wt)(t))){var l;_((0,y.wt)(t),t.key)&&t.preventDefault();let n=!0;e.isPressed||t.repeat||(e.target=t.currentTarget,e.isPressed=!0,er(!0),e.pointerType="keyboard",n=q(t,"keyboard")),n&&t.stopPropagation(),t.metaKey&&(0,b.cX)()&&(null===(l=e.metaKeyEvents)||void 0===l||l.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||(0,y.sD)(t.currentTarget,(0,y.wt)(t)))&&t&&0===t.button&&!e.isTriggeringEvent&&!L.Fe.isOpening){let l=!0;if(s&&t.preventDefault(),!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||(0,F.Y)(t.nativeEvent))){let e=q(t,"virtual"),n=J(t,"virtual"),i=G(t,"virtual");et(t),l=e&&n&&i}else if(e.isPressed&&"keyboard"!==e.pointerType){let n=e.pointerType||t.nativeEvent.pointerType||"virtual",i=J(U(t.currentTarget,t),n),r=G(U(t.currentTarget,t),n,!0);l=i&&r,e.isOverTarget=!1,et(t),Q(t)}e.ignoreEmulatedMouseEvents=!1,l&&t.stopPropagation()}}};return"undefined"!=typeof PointerEvent&&(t.onPointerDown=t=>{if(0!==t.button||!(0,y.sD)(t.currentTarget,(0,y.wt)(t)))return;if((0,F.P)(t.nativeEvent)){e.pointerType="virtual";return}e.pointerType=t.pointerType;let l=!0;if(!e.isPressed){e.isPressed=!0,es("pointer"),e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,p||function(e){if((0,b.un)()){if("default"===P){let t=(0,f.TW)(e);x=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}P="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";w.set(e,e.style[t]),e.style[t]="none"}}(e.target),l=q(t,e.pointerType);let n=(0,y.wt)(t);"releasePointerCapture"in n&&("hasPointerCapture"in n?n.hasPointerCapture(t.pointerId)&&n.releasePointerCapture(t.pointerId):n.releasePointerCapture(t.pointerId))}l&&t.stopPropagation()},t.onMouseDown=t=>{if((0,y.sD)(t.currentTarget,(0,y.wt)(t))&&0===t.button){if(u){let l=function(e){for(;e&&!(0,h.t)(e);)e=e.parentElement;let t=(0,f.mD)(e),l=t.document.activeElement;if(!l||l===e)return;let n=!1,i=e=>{((0,y.wt)(e)===l||n)&&e.stopImmediatePropagation()},r=t=>{(0,y.wt)(t)!==l&&!n||(t.stopImmediatePropagation(),e||n||(n=!0,(0,m.e)(l),a()))},o=t=>{((0,y.wt)(t)===e||n)&&t.stopImmediatePropagation()},s=t=>{((0,y.wt)(t)===e||n)&&(t.stopImmediatePropagation(),n||(n=!0,(0,m.e)(l),a()))};t.addEventListener("blur",i,!0),t.addEventListener("focusout",r,!0),t.addEventListener("focusin",s,!0),t.addEventListener("focus",o,!0);let a=()=>{cancelAnimationFrame(u),t.removeEventListener("blur",i,!0),t.removeEventListener("focusout",r,!0),t.removeEventListener("focusin",s,!0),t.removeEventListener("focus",o,!0),n=!1},u=requestAnimationFrame(a);return a}(t.target);l&&e.disposables.push(l)}t.stopPropagation()}},t.onPointerUp=t=>{(0,y.sD)(t.currentTarget,(0,y.wt)(t))&&"virtual"!==e.pointerType&&0===t.button&&!e.isPressed&&J(t,e.pointerType||t.pointerType)},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!0,q(U(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,G(U(e.target,t),e.pointerType,!1),ee(t))},t.onDragStart=e=>{(0,y.sD)(e.currentTarget,(0,y.wt)(e))&&Q(e)}),t},[s,u,R,p,Q,ee,G,q,J,et,el]);return(0,c.useEffect)(()=>
7{if(!g)return;let e=(0,f.TW)(g.current);if(!e||!e.head||e.getElementById(z))return;let t=e.createElement("style");t.id=z,t.textContent=`
8@layer {
9  [${H}] {
10    touch-action: pan-x pan-y pinch-zoom;
11  }
12}
13    `.trim(),e.head.prepend(t)},[g]),(0,c.useEffect)(()=>{let e=S.current;return()=>{var t;for(let l of(p||D(null!==(t=e.target)&&void 0!==t?t:void 0),e.disposables))l();e.disposables=[]}},[p]),{isPressed:a||E,pressProps:(0,C.v)(v,ea,{[H]:!0})}}({isDisabled:!!(null==e?void 0:e.isDisabled),onPress:tT}),tS=e.isInvalid||"invalid"===e8||tx,{isPressed:tK,buttonProps:tC}=(0,p.l)(ty,tp),{focusProps:tM,isFocused:tA,isFocusVisible:tN}=(0,g.o)(),{focusProps:tB,isFocusVisible:tL}=(0,g.o)(),{isHovered:tI,hoverProps:tF}=function(e){let{onHoverStart:t,onHoverChange:l,onHoverEnd:n,isDisabled:i}=e,[r,o]=(0,c.useState)(!1),s=(0,c.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,c.useEffect)(Y,[]);let{addGlobalListener:a,removeAllGlobalListeners:u}=(0,A.A)(),{hoverProps:d,triggerHoverEnd:p}=(0,c.useMemo)(()=>{let e=(e,n)=>{if(s.pointerType=n,i||"touch"===n||s.isHovered||!(0,y.sD)(e.currentTarget,(0,y.wt)(e)))return;s.isHovered=!0;let u=e.currentTarget;s.target=u,a((0,f.TW)((0,y.wt)(e)),"pointerover",e=>{s.isHovered&&s.target&&!(0,y.sD)(s.target,(0,y.wt)(e))&&r(e,e.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:u,pointerType:n}),l&&l(!0),o(!0)},r=(e,t)=>{let i=s.target;s.pointerType="",s.target=null,"touch"!==t&&s.isHovered&&i&&(s.isHovered=!1,u(),n&&n({type:"hoverend",target:i,pointerType:t}),l&&l(!1),o(!1))},d={};return"undefined"!=typeof PointerEvent&&(d.onPointerEnter=t=>{G&&"mouse"===t.pointerType||e(t,t.pointerType)},d.onPointerLeave=e=>{!i&&(0,y.sD)(e.currentTarget,(0,y.wt)(e))&&r(e,e.pointerType)}),{hoverProps:d,triggerHoverEnd:r}},[t,l,n,i,s,a,u]);return(0,c.useEffect)(()=>{i&&p({currentTarget:s.target},s.pointerType)},[i]),{hoverProps:d,isHovered:r}}({isDisabled:e.isDisabled}),tR=(0,o.n)({labelPlacement:e.labelPlacement,label:eu}),tO=!!eC,tj="outside-left"===tR||"outside"===tR||"outside-top"===tR,tz="inside"===tR,tH="outside-left"===tR,tW=e.isClearable,tV=th.isOpen||tO||!!(null==(S=th.selectedItems)?void 0:S.length)||!!eD||!!eT||!!e.isMultiline,tU=!!(null==(K=th.selectedItems)?void 0:K.length),t_=!!eu,t$=t_&&(tH||tj&&tO),tq=(0,a.cn)(null==tl?void 0:tl.base,tt),tG=(0,c.useMemo)(()=>(0,s.Lt)({...X,isInvalid:tS,isClearable:tW,labelPlacement:tR,disableAnimation:J}),[(0,v.t6)(X),tS,tR,J]);(0,eZ.H)({isDisabled:!th.isOpen});let tX="function"==typeof q.errorMessage?q.errorMessage({isInvalid:tS,validationErrors:tw,validationDetails:tD}):q.errorMessage||(null==tw?void 0:tw.join(" ")),tJ=!!ek||!!tX,tY=!!eT;(0,c.useEffect)(()=>{if(th.isOpen&&tv.current&&tp.current){let e=tp.current.getBoundingClientRect();tv.current.style.width=e.width+"px"}},[th.isOpen]),(0,c.useEffect)(()=>{if(th.isOpen&&tv.current&&tg.current){let e=tg.current.querySelector("[aria-selected=true] [data-label=true]"),t=ts.current;if(e&&t&&e.parentElement){let l=t.getBoundingClientRect().height;t.scrollTop=e.parentElement.offsetTop-l/2+e.parentElement.clientHeight/2}}},[th.isOpen,J]);let tQ=(0,c.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"base","data-filled":(0,v.sE)(tV),"data-has-value":(0,v.sE)(tU),"data-has-label":(0,v.sE)(t_),"data-has-helper":(0,v.sE)(tJ),"data-has-end-content":(0,v.sE)(tY),"data-invalid":(0,v.sE)(tS),"data-has-label-outside":(0,v.sE)(t$),className:tG.base({class:(0,a.cn)(tq,e.className)}),...e}},[tG,tJ,tU,t_,t$,tV,tq]),tZ=(0,c.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:tp,"data-slot":"trigger","data-open":(0,v.sE)(th.isOpen),"data-disabled":(0,v.sE)(null==e?void 0:e.isDisabled),"data-focus":(0,v.sE)(tA),"data-pressed":(0,v.sE)(tK),"data-focus-visible":(0,v.sE)(tN),"data-hover":(0,v.sE)(tI),className:tG.trigger({class:null==tl?void 0:tl.trigger}),...(0,v.v6)(tC,tM,tF,(0,d.$)(to,{enabled:td}),(0,d.$)(t))}},[tG,tp,th.isOpen,null==tl?void 0:tl.trigger,null==e?void 0:e.isDisabled,tA,tK,tN,tI,tC,tM,tF,to,td]),t0=(0,c.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{state:th,triggerRef:tp,selectRef:tc,selectionMode:e4,label:null==e?void 0:e.label,name:null==e?void 0:e.name,isRequired:null==e?void 0:e.isRequired,autoComplete:null==e?void 0:e.autoComplete,isDisabled:null==e?void 0:e.isDisabled,form:null==e?void 0:e.form,onChange:e9,...t}},[th,e4,null==e?void 0:e.label,null==e?void 0:e.autoComplete,null==e?void 0:e.name,null==e?void 0:e.isDisabled,tp]),t4=(0,c.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"label",className:tG.label({class:(0,a.cn)(null==tl?void 0:tl.label,e.className)}),...tf,...e}},[tG,null==tl?void 0:tl.label,tf]),t1=(0,c.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"value",className:tG.value({class:(0,a.cn)(null==tl?void 0:tl.value,e.className)}),...tm,...e}}
13,[tG,null==tl?void 0:tl.value,tm]),t3=(0,c.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"listboxWrapper",className:tG.listboxWrapper({class:(0,a.cn)(null==tl?void 0:tl.listboxWrapper,null==e?void 0:e.className)}),style:{maxHeight:null!=eI?eI:256,...e.style},...(0,v.v6)(ta.scrollShadowProps,e)}},[tG.listboxWrapper,null==tl?void 0:tl.listboxWrapper,ta.scrollShadowProps,eI]),t5=(0,c.useCallback)(function(){var e,t;let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,v.v6)(ta.popoverProps,l);return{state:th,triggerRef:tp,ref:tv,"data-slot":"popover",scrollRef:tg,triggerType:"listbox",classNames:{content:tG.popoverContent({class:(0,a.cn)(null==tl?void 0:tl.popoverContent,l.className)})},...n,offset:th.selectedItems&&th.selectedItems.length>0?1e-8*th.selectedItems.length+((null==(e=ta.popoverProps)?void 0:e.offset)||0):null==(t=ta.popoverProps)?void 0:t.offset}},[tG,null==tl?void 0:tl.popoverContent,ta.popoverProps,tp,th,th.selectedItems]),t6=(0,c.useCallback)(()=>({"data-slot":"selectorIcon","aria-hidden":(0,v.sE)(!0),"data-open":(0,v.sE)(th.isOpen),className:tG.selectorIcon({class:null==tl?void 0:tl.selectorIcon})}),[tG,null==tl?void 0:tl.selectorIcon,th.isOpen]),t2=(0,c.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,"data-slot":"innerWrapper",className:tG.innerWrapper({class:(0,a.cn)(null==tl?void 0:tl.innerWrapper,null==e?void 0:e.className)})}},[tG,null==tl?void 0:tl.innerWrapper]),t7=(0,c.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,"data-slot":"helperWrapper",className:tG.helperWrapper({class:(0,a.cn)(null==tl?void 0:tl.helperWrapper,null==e?void 0:e.className)})}},[tG,null==tl?void 0:tl.helperWrapper]),t8=(0,c.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,...tE,"data-slot":"description",className:tG.description({class:(0,a.cn)(null==tl?void 0:tl.description,null==e?void 0:e.className)})}},[tG,null==tl?void 0:tl.description]),t9=(0,c.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,"data-slot":"mainWrapper",className:tG.mainWrapper({class:(0,a.cn)(null==tl?void 0:tl.mainWrapper,null==e?void 0:e.className)})}},[tG,null==tl?void 0:tl.mainWrapper]),le=(0,c.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,"data-slot":"end-wrapper",className:tG.endWrapper({class:(0,a.cn)(null==tl?void 0:tl.endWrapper,null==e?void 0:e.className)})}},[tG,null==tl?void 0:tl.endWrapper]),lt=(0,c.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,"data-slot":"end-content",className:tG.endContent({class:(0,a.cn)(null==tl?void 0:tl.endContent,null==e?void 0:e.className)})}},[tG,null==tl?void 0:tl.endContent]),ll=(0,c.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,...tP,"data-slot":"error-message",className:tG.errorMessage({class:(0,a.cn)(null==tl?void 0:tl.errorMessage,null==e?void 0:e.className)})}},[tG,tP,null==tl?void 0:tl.errorMessage]),ln=(0,c.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"aria-hidden":(0,v.sE)(!0),"data-slot":"spinner",color:"current",size:"sm",...e7,...e,ref:e1,className:tG.spinner({class:(0,a.cn)(null==tl?void 0:tl.spinner,null==e?void 0:e.className)})}},[tG,e1,e7,null==tl?void 0:tl.spinner]),li=(0,c.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,type:"button",tabIndex:-1,"aria-label":"clear selection","data-slot":"clear-button","data-focus-visible":(0,v.sE)(tL),className:tG.clearButton({class:(0,a.cn)(null==tl?void 0:tl.clearButton,null==e?void 0:e.className)}),...(0,v.v6)(tk,tB)}},[tG,tL,tk,tB,null==tl?void 0:tl.clearButton]);return e0.set(th,{isDisabled:null==e?void 0:e.isDisabled,isRequired:null==e?void 0:e.isRequired,name:null==e?void 0:e.name,isInvalid:tS,validationBehavior:tn}),{Component:tu,domRef:tc,state:th,label:eu,name:ep,triggerRef:tp,isLoading:em,placeholder:eC,startContent:eD,endContent:eT,description:ek,selectorIcon:eb,hasHelper:tJ,labelPlacement:tR,hasPlaceholder:tO,renderValue:eS,selectionMode:e4,disableAnimation:J,isOutsideLeft:tH,shouldLabelBeOutside:tj,shouldLabelBeInside:tz,isInvalid:tS,errorMessage:tX,isClearable:tW,getClearButtonProps:li,getBaseProps:tQ,getTriggerProps:tZ,getLabelProps:t4,getValueProps:t1,getListboxProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=null!=eM?eM:th.collection.size>50;return{state:th,ref:tg,isVirtualized:t,virtualization:t?{maxListboxHeight:eI,itemHeight:eL}:void 0,"data-slot":"listbox",className:tG.listbox({class:(0,a.cn)(null==tl?void 0:tl.listbox,null==e?void 0:e.className)}),scrollShadowProps:ta.scrollShadowProps,...(0,v.v6)(ta.listboxProps,e,tb)}},getPopoverProps:t5,getSpinnerProps:ln,getMainWrapperProps:t9,getListboxWrapperProps:t3,getHiddenSelectProps:t0,getInnerWrapperProps:t2,getHelperWrapperProps:t7,getDescriptionProps:t8,getErrorMessageProps:ll,getSelectorIconProps:t6,getEndWrapperProps:le,getEndContentProps:lt}}({...e,ref:t}),ts=S?(0,e7.jsx)("label",{...ex(),children:S}):null,ta=(0,c.cloneElement)(q,e1()),tu=(0,c.useMemo)(()=>{var e;return e3&&(null==(e=k.selectedItems)?void 0:e.length)?(0,e7.jsx)("span",{...e5(),children:(0,e7.jsx)(tl.o,{})}):null},[e3,e5,null==(l=k.selectedItems)?void 0:l.length]),td=(0,c.useMemo)(()=>tu?(0,e7.jsxs)("div",{...e2(),children:[tu,eu&&(0,e7.jsx)("span",{...ti(),children:eu})]}):eu&&(0,e7.jsx)("span",{...ti(),children:eu}),[tu,eu,e2,ti]),tc=(0,c.useMemo)(()=>{let e=ee&&J,t=e||X;return K&&t?(0,e7.jsx)("div",{...eI(),children:e?(0,e7.jsx)("div",{...e4(),children:J}):(0,e7.jsx)("div",{...eG(),children:X})}):null},[K,ee,J,X,eI,e4,eG]),tp=(0,c.useMemo)(()=>{var e;return(null==(e=k.selectedItems)?void 0:e.length)?em&&"function"==typeof em?em([...k.selectedItems].map(e=>({key:e.key,data:e.value,type:e.type,props:e.props,textValue:e.textValue,rendered:e.rendered,"aria-label":e["aria-label"]}))):k.selectedItems.map(e=>e.textValue).join(", "):ep},[k.selectedItems,em,ep]),tg=(0,c.useMemo)(()=>R?(0,e7.jsx)(tn.o,{...eK()}
13):ta,[R,ta,eK]),tv=(0,c.useMemo)(()=>k.isOpen?(0,e7.jsx)(te.j,{...eS(),children:(0,e7.jsx)(tr,{...eq(),children:(0,e7.jsx)(e9.K,{...ek()})})}):null,[k.isOpen,eS,k,$,eq,ek]);return(0,e7.jsxs)("div",{...eP(),children:[(0,e7.jsx)(e8,{...eL()}),eb?ts:null,(0,e7.jsxs)("div",{...eC(),children:[(0,e7.jsxs)(E,{...eD(),children:[eb?null:ts,(0,e7.jsxs)("div",{...eM(),children:[ea,(0,e7.jsx)("span",{...eT(),children:tp}),eu&&k.selectedItems&&(0,e7.jsx)(e6,{elementType:"span",children:","}),td]}),tg]}),tc]}),eE?tv:(0,e7.jsx)(to.N,{children:tv})]})})},91271:(e,t,l)=>{l.d(t,{Q:()=>n});var n=(0,l(17).tv)({base:[],variants:{orientation:{vertical:["overflow-y-auto","data-[top-scroll=true]:[mask-image:linear-gradient(0deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[bottom-scroll=true]:[mask-image:linear-gradient(180deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[top-bottom-scroll=true]:[mask-image:linear-gradient(#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]"],horizontal:["overflow-x-auto","data-[left-scroll=true]:[mask-image:linear-gradient(270deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[right-scroll=true]:[mask-image:linear-gradient(90deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[left-right-scroll=true]:[mask-image:linear-gradient(to_right,#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]"]},hideScrollBar:{true:"scrollbar-hide",false:""}},defaultVariants:{orientation:"vertical",hideScrollBar:!1}})},90774:(e,t,l)=>{l.d(t,{V:()=>d});var n={};n={"ar-AE":{longPressMessage:`\u{627}\u{636}\u{63A}\u{637} \u{645}\u{637}\u{648}\u{644}\u{627}\u{64B} \u{623}\u{648} \u{627}\u{636}\u{63A}\u{637} \u{639}\u{644}\u{649} Alt + \u{627}\u{644}\u{633}\u{647}\u{645} \u{644}\u{623}\u{633}\u{641}\u{644} \u{644}\u{641}\u{62A}\u{62D} \u{627}\u{644}\u{642}\u{627}\u{626}\u{645}\u{629}`},"bg-BG":{longPressMessage:`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} \u{43F}\u{440}\u{43E}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E} \u{438}\u{43B}\u{438} \u{43D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} Alt+ \u{441}\u{442}\u{440}\u{435}\u{43B}\u{43A}\u{430} \u{43D}\u{430}\u{434}\u{43E}\u{43B}\u{443}, \u{437}\u{430} \u{434}\u{430} \u{43E}\u{442}\u{432}\u{43E}\u{440}\u{438}\u{442}\u{435} \u{43C}\u{435}\u{43D}\u{44E}\u{442}\u{43E}`},"cs-CZ":{longPressMessage:`Dlouh\xfdm stiskem nebo stisknut\xedm kl\xe1ves Alt + \u{161}ipka dol\u{16F} otev\u{159}ete nab\xeddku`},"da-DK":{longPressMessage:`Langt tryk eller tryk p\xe5 Alt + pil ned for at \xe5bne menuen`},"de-DE":{longPressMessage:`Dr\xfccken Sie lange oder dr\xfccken Sie Alt + Nach-unten, um das Men\xfc zu \xf6ffnen`},"el-GR":{longPressMessage:`\u{3A0}\u{3B9}\u{3AD}\u{3C3}\u{3C4}\u{3B5} \u{3C0}\u{3B1}\u{3C1}\u{3B1}\u{3C4}\u{3B5}\u{3C4}\u{3B1}\u{3BC}\u{3AD}\u{3BD}\u{3B1} \u{3AE} \u{3C0}\u{3B1}\u{3C4}\u{3AE}\u{3C3}\u{3C4}\u{3B5} Alt + \u{3BA}\u{3AC}\u{3C4}\u{3C9} \u{3B2}\u{3AD}\u{3BB}\u{3BF}\u{3C2} \u{3B3}\u{3B9}\u{3B1} \u{3BD}\u{3B1} \u{3B1}\u{3BD}\u{3BF}\u{3AF}\u{3BE}\u{3B5}\u{3C4}\u{3B5} \u{3C4}\u{3BF} \u{3BC}\u{3B5}\u{3BD}\u{3BF}\u{3CD}`},"en-US":{longPressMessage:"Long press or press Alt + ArrowDown to open menu"},"es-ES":{longPressMessage:`Mantenga pulsado o pulse Alt + flecha abajo para abrir el men\xfa`},"et-EE":{longPressMessage:`Men\xfc\xfc avamiseks vajutage pikalt v\xf5i vajutage klahve Alt + allanool`},"fi-FI":{longPressMessage:`Avaa valikko painamalla pohjassa tai n\xe4pp\xe4inyhdistelm\xe4ll\xe4 Alt + Alanuoli`},"fr-FR":{longPressMessage:`Appuyez de mani\xe8re prolong\xe9e ou appuyez sur Alt\xa0+\xa0Fl\xe8che vers le bas pour ouvrir le menu.`},"he-IL":{longPressMessage:`\u{5DC}\u{5D7}\u{5E5} \u{5DC}\u{5D7}\u{5D9}\u{5E6}\u{5D4} \u{5D0}\u{5E8}\u{5D5}\u{5DB}\u{5D4} \u{5D0}\u{5D5} \u{5D4}\u{5E7}\u{5E9} Alt + ArrowDown \u{5DB}\u{5D3}\u{5D9} \u{5DC}\u{5E4}\u{5EA}\u{5D5}\u{5D7} \u{5D0}\u{5EA} \u{5D4}\u{5EA}\u{5E4}\u{5E8}\u{5D9}\u{5D8}`},"hr-HR":{longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"},"hu-HU":{longPressMessage:`Nyomja meg hosszan, vagy nyomja meg az Alt + lefele ny\xedl gombot a men\xfc megnyit\xe1s\xe1hoz`},"it-IT":{longPressMessage:`Premi a lungo o premi Alt + Freccia gi\xf9 per aprire il menu`},"ja-JP":{longPressMessage:`\u{9577}\u{62BC}\u{3057}\u{307E}\u{305F}\u{306F} Alt+\u{4E0B}\u{77E2}\u{5370}\u{30AD}\u{30FC}\u{3067}\u{30E1}\u{30CB}\u{30E5}\u{30FC}\u{3092}\u{958B}\u{304F}`},"ko-KR":{longPressMessage:`\u{AE38}\u{AC8C} \u{B204}\u{B974}\u{AC70}\u{B098} Alt + \u{C544}\u{B798}\u{CABD} \u{D654}\u{C0B4}\u{D45C}\u{B97C} \u{B20C}\u{B7EC} \u{BA54}\u{B274} \u{C5F4}\u{AE30}`},"lt-LT":{longPressMessage:`Nor\u{117}dami atidaryti meniu, nuspaud\u{119} palaikykite arba paspauskite \u{201E}Alt + ArrowDown\u{201C}.`},"lv-LV":{longPressMessage:`Lai atv\u{113}rtu izv\u{113}lni, turiet nospiestu vai nospiediet tausti\u{146}u kombin\u{101}ciju Alt + lejupv\u{113}rst\u{101} bulti\u{146}a`},"nb-NO":{longPressMessage:`Langt trykk eller trykk Alt + PilNed for \xe5 \xe5pne menyen`},"nl-NL":{longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"},"pl-PL":{longPressMessage:`Naci\u{15B}nij i przytrzymaj lub naci\u{15B}nij klawisze Alt + Strza\u{142}ka w d\xf3\u{142}, aby otworzy\u{107} menu`},"pt-BR":{longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"},"pt-PT":{longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"},"ro-RO":{longPressMessage:`Ap\u{103}sa\u{21B}i lung sau ap\u{103}sa\u{21B}i pe Alt + s\u{103}geat\u{103} \xeen jos pentru a deschide meniul`},"ru-RU":{longPressMessage:`\u{41D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} \u{438} \u{443}\u{434}\u{435}\u{440}\u{436}\u{438}\u{432}\u{430}\u{439}\u{442}\u{435} \u{438}\u{43B}\u{438} \u{43D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} Alt + \u{421}\u{442}\u{440}\u{435}\u{43B}\u{43A}\u{430} \u{432}\u{43D}\u{438}\u{437}, \u{447}\u{442}\u{43E}\u{431}\u{44B} \u{43E}\u{442}\u{43A}\u{440}\u{44B}\u{442}\u{44C} \u{43C}\u{435}\u{43D}\u{44E}`},"sk-SK":{longPressMessage:`Ponuku otvor\xedte dlh\xfdm stla\u{10D}en\xedm alebo stla\u{10D}en\xedm kl\xe1vesu Alt + kl\xe1vesu so \u{161}\xedpkou nadol`},"sl-SI":{longPressMessage:`Za odprtje menija pritisnite in dr\u{17E}ite gumb ali pritisnite Alt+pu\u{161}\u{10D}ica navzdol`},"sr-SP":{longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"},"sv-SE":{longPressMessage:`H\xe5ll nedtryckt eller tryck p\xe5 Alt + pil ned\xe5t f\xf6r att \xf6ppna menyn`}
13,"tr-TR":{longPressMessage:`Men\xfcy\xfc a\xe7mak i\xe7in uzun bas\u{131}n veya Alt + A\u{15F}a\u{11F}\u{131} Ok tu\u{15F}una bas\u{131}n`},"uk-UA":{longPressMessage:`\u{414}\u{43E}\u{432}\u{433}\u{43E} \u{430}\u{431}\u{43E} \u{437}\u{432}\u{438}\u{447}\u{430}\u{439}\u{43D}\u{43E} \u{43D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{456}\u{442}\u{44C} \u{43A}\u{43E}\u{43C}\u{431}\u{456}\u{43D}\u{430}\u{446}\u{456}\u{44E} \u{43A}\u{43B}\u{430}\u{432}\u{456}\u{448} Alt \u{456} \u{441}\u{442}\u{440}\u{456}\u{43B}\u{43A}\u{430} \u{432}\u{43D}\u{438}\u{437}, \u{449}\u{43E}\u{431} \u{432}\u{456}\u{434}\u{43A}\u{440}\u{438}\u{442}\u{438} \u{43C}\u{435}\u{43D}\u{44E}`},"zh-CN":{longPressMessage:`\u{957F}\u{6309}\u{6216}\u{6309} Alt + \u{5411}\u{4E0B}\u{65B9}\u{5411}\u{952E}\u{4EE5}\u{6253}\u{5F00}\u{83DC}\u{5355}`},"zh-TW":{longPressMessage:`\u{9577}\u{6309}\u{6216}\u{6309} Alt+\u{5411}\u{4E0B}\u{9375}\u{4EE5}\u{958B}\u{555F}\u{529F}\u{80FD}\u{8868}`}};var i=l(58786),r=l(71459),o=l(45506),s=l(6732),a=l(12115);let u=new WeakMap;function d(e,t,l){var d;let{type:c="menu",isDisabled:p,trigger:g="press"}=e,v=(0,i.Bi)(),{triggerProps:h,overlayProps:f}=function(e,t,l){let n,{type:r}=e,{isOpen:o}=t;(0,a.useEffect)(()=>{l&&l.current&&u.set(l.current,t.close)}),"menu"===r?n=!0:"listbox"===r&&(n="listbox");let s=(0,i.Bi)();return{triggerProps:{"aria-haspopup":n,"aria-expanded":o,"aria-controls":o?s:void 0,onPress:t.toggle},overlayProps:{id:s}}}({type:c},t,l),y=(0,s.o)((d=n)&&d.__esModule?d.default:d,"@react-aria/menu"),{longPressProps:m}=(0,o.H)({isDisabled:p||"longPress"!==g,accessibilityDescription:y.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}});return delete h.onPress,{menuTriggerProps:{...h,..."press"===g?{preventFocusOnPress:!0,onPressStart(e){"touch"===e.pointerType||"keyboard"===e.pointerType||p||((0,r.e)(e.target),t.open("virtual"===e.pointerType?"first":null))},onPress(e){"touch"!==e.pointerType||p||((0,r.e)(e.target),t.toggle())}}:m,id:v,onKeyDown:e=>{if(!p&&("longPress"!==g||e.altKey)&&l&&l.current)switch(e.key){case"Enter":case" ":if("longPress"===g||e.isDefaultPrevented())return;case"ArrowDown":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),t.toggle("last");break;default:"continuePropagation"in e&&e.continuePropagation()}}},menuProps:{...f,"aria-labelledby":v,autoFocus:t.focusStrategy||!0,onClose:t.close}}}},60032:(e,t,l)=>{l.d(t,{p:()=>a});
13class n{*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){var t;let l=this.keyMap.get(e);return l&&null!==(t=l.prevKey)&&void 0!==t?t:null}getKeyAfter(e){var t;let l=this.keyMap.get(e);return l&&null!==(t=l.nextKey)&&void 0!==t?t:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){var t;return null!==(t=this.keyMap.get(e))&&void 0!==t?t:null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){let t=this.keyMap.get(e);return(null==t?void 0:t.childNodes)||[]}constructor(e){var t;this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e;let l=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&"section"===e.type)for(let t of e.childNodes)l(t)};for(let t of e)l(t);let n=null,i=0,r=0;for(let[e,t]of this.keyMap)n?(n.nextKey=e,t.prevKey=n.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=i++),("section"===t.type||"item"===t.type)&&r++,(n=t).nextKey=void 0;this._size=r,this.lastKey=null!==(t=null==n?void 0:n.key)&&void 0!==t?t:null}}var i=l(10856),r=l(99333),o=l(12115),s=l(67433);function a(e){let{filter:t,layoutDelegate:l}=e,a=(0,i.R)(e),u=(0,o.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),d=(0,o.useCallback)(e=>new n(t?t(e):e),[t]),c=(0,o.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),p=(0,s.G)(e,d,c),g=(0,o.useMemo)(()=>new r.Y(p,a,{layoutDelegate:l}),[p,a,l]);return function(e,t){let l=(0,o.useRef)(null);(0,o.useEffect)(()=>{if(null!=t.focusedKey&&!e.getItem(t.focusedKey)&&l.current){var n,i,r,o,s,a,u;let d=l.current.getItem(t.focusedKey),c=[...l.current.getKeys()].map(e=>{let t=l.current.getItem(e);return(null==t?void 0:t.type)==="item"?t:null}).filter(e=>null!==e),p=[...e.getKeys()].map(t=>{let l=e.getItem(t);return(null==l?void 0:l.type)==="item"?l:null}).filter(e=>null!==e),g=(null!==(n=null==c?void 0:c.length)&&void 0!==n?n:0)-(null!==(i=null==p?void 0:p.length)&&void 0!==i?i:0),v=Math.min(g>1?Math.max((null!==(r=null==d?void 0:d.index)&&void 0!==r?r:0)-g+1,0):null!==(o=null==d?void 0:d.index)&&void 0!==o?o:0,(null!==(s=null==p?void 0:p.length)&&void 0!==s?s:0)-1),h=null,f=!1;for(;v>=0;){if(!t.isDisabled(p[v].key)){h=p[v];break}v<p.length-1&&!f?v++:(f=!0,v>(null!==(a=null==d?void 0:d.index)&&void 0!==a?a:0)&&(v=null!==(u=null==d?void 0:d.index)&&void 0!==u?u:0),v--)}t.setFocusedKey(h?h.key:null)}l.current=e},[e,t])}(p,g),{collection:p,disabledKeys:u,selectionManager:g}}},16704:(e,t,l)=>{l.d(t,{y:()=>d});var n=l(48076),i=l(3284),r=l(58348),o=l(90971);class s{constructor(...e){if(1===e.length){let t=e[0];this.collection=t.collection,this.ref=t.ref,this.collator=t.collator,this.disabledKeys=t.disabledKeys||new Set,this.disabledBehavior=t.disabledBehavior||"all",this.orientation=t.orientation||"vertical",this.direction=t.direction,this.layout=t.layout||"stack",this.layoutDelegate=t.layoutDelegate||new i.K(t.ref)}else this.collection=e[0],this.disabledKeys=e[1],this.ref=e[2],this.collator=e[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new i.K(this.ref);"stack"===this.layout&&"vertical"===this.orientation&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}isDisabled(e){return"all"===this.disabledBehavior&&(e.props?.isDisabled||this.disabledKeys.has(e.key))&&e.props?.disabledBehavior!=="selection"}findNextNonDisabled(e,t,l=!1){let n=e;for(;null!=n;){let e=this.collection.getItem(n);if(e?.type==="item"&&(l||!this.isDisabled(e)))return n;n=t(n)}return null}getNextKey(e,t){let l=e;return l=this.collection.getKeyAfter(l),this.findNextNonDisabled(l,e=>this.collection.getKeyAfter(e),t?.includeDisabled)}getPreviousKey(e,t){let l=e;return l=this.collection.getKeyBefore(l),this.findNextNonDisabled(l,e=>this.collection.getKeyBefore(e),t?.includeDisabled)}findKey(e,t,l){let n=e,i=this.layoutDelegate.getItemRect(n);if(!i||null==n)return null;let r=i;do{if(null==(n=t(n)))break;i=this.layoutDelegate.getItemRect(n)}while(i&&l(r,i)&&null!=n);return n}isSameRow(e,t){return e.y===t.y||e.x!==t.x}isSameColumn(e,t){return e.x===t.x||e.y!==t.y}isReversed(e){let t=this.getNextKey(e),l=(0,r.au)(this.ref,e);if(null!=t){let e=(0,r.au)(this.ref,t);return!!l&&!!e&&l.getBoundingClientRect().top>e.getBoundingClientRect().top}let n=this.getPreviousKey(e);if(null!=n){let e=(0,r.au)(this.ref,n);return!!l&&!!e&&e.getBoundingClientRect().top>l.getBoundingClientRect().top}return!1}getKeyBelow(e,t){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getNextKey(e,t),this.isSameRow):"vertical"===this.orientation&&this.isReversed(e)?this.getPreviousKey(e,t):this.getNextKey(e,t)}
13getKeyAbove(e,t){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getPreviousKey(e,t),this.isSameRow):"vertical"===this.orientation&&this.isReversed(e)?this.getNextKey(e,t):this.getPreviousKey(e,t)}getNextColumn(e,t,l){return t?this.getPreviousKey(e,l):this.getNextKey(e,l)}getKeyRightOf(e,t){let l="ltr"===this.direction?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[l]?(e=this.layoutDelegate[l](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[l](e),t?.includeDisabled)):"grid"===this.layout?"vertical"===this.orientation?this.getNextColumn(e,"rtl"===this.direction,t):this.findKey(e,e=>this.getNextColumn(e,"rtl"===this.direction,t),this.isSameColumn):"horizontal"===this.orientation?this.getNextColumn(e,"rtl"===this.direction,t):null}getKeyLeftOf(e,t){let l="ltr"===this.direction?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[l]?(e=this.layoutDelegate[l](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[l](e),t?.includeDisabled)):"grid"===this.layout?"vertical"===this.orientation?this.getNextColumn(e,"ltr"===this.direction,t):this.findKey(e,e=>this.getNextColumn(e,"ltr"===this.direction,t),this.isSameColumn):"horizontal"===this.orientation?this.getNextColumn(e,"ltr"===this.direction,t):null}getFirstKey(){let e=this.collection.getFirstKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyAfter(e))}getLastKey(){let e=this.collection.getLastKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyBefore(e))}getKeyPageAbove(e){let t=this.ref.current,l=this.layoutDelegate.getItemRect(e);if(!l)return null;let n=this.isReversed(e);if(t&&!(0,o.o)(t))return this.getFirstKey();let i=e;if("horizontal"===this.orientation){let e=Math.max(0,l.x+l.width-this.layoutDelegate.getVisibleRect().width);for(;l&&l.x>e&&null!=i;)l=null==(i=this.getKeyAbove(i))?null:this.layoutDelegate.getItemRect(i)}
13else{let e=this.layoutDelegate.getVisibleRect(),t=n?l.y-e.height:Math.max(0,l.y+l.height-e.height);for(;l&&l.y>t&&null!=i;)l=null==(i=this.getKeyAbove(i))?null:this.layoutDelegate.getItemRect(i)}return i??(n?this.getLastKey():this.getFirstKey())}getKeyPageBelow(e){let t=this.ref.current,l=this.layoutDelegate.getItemRect(e);if(!l)return null;let n=this.isReversed(e);if(t&&!(0,o.o)(t))return this.getLastKey();let i=e;if("horizontal"===this.orientation){let e=Math.min(this.layoutDelegate.getContentSize().width,l.x-l.width+this.layoutDelegate.getVisibleRect().width);for(;l&&l.x<e&&null!=i;)l=null==(i=this.getKeyBelow(i))?null:this.layoutDelegate.getItemRect(i)}else{let e=Math.min(this.layoutDelegate.getContentSize().height,l.y-l.height+this.layoutDelegate.getVisibleRect().height);for(;l&&l.y<e&&null!=i;)l=null==(i=this.getKeyBelow(i))?null:this.layoutDelegate.getItemRect(i)}return i??(n?this.getFirstKey():this.getLastKey())}getKeyForSearch(e,t){if(!this.collator)return null;let l=this.collection,n=t||this.getFirstKey();for(;null!=n;){let t=l.getItem(n);if(!t)break;let i=t.textValue.slice(0,e.length);if(t.textValue&&0===this.collator.compare(i,e))return n;n=this.getNextKey(n)}return null}}var a=l(8464),u=l(12115);function d(e){let{selectionManager:t,collection:l,disabledKeys:i,ref:r,keyboardDelegate:o,layoutDelegate:d,orientation:c}=e,p=(0,a.Q)({usage:"search",sensitivity:"base"}),g=t.disabledBehavior,v=(0,u.useMemo)(()=>o||new s({collection:l,disabledKeys:i,disabledBehavior:g,ref:r,collator:p,layoutDelegate:d,orientation:c}),[o,d,l,i,r,p,g,c]),{collectionProps:h}=(0,n.y)({...e,ref:r,selectionManager:t,keyboardDelegate:v});return{listProps:h}}},86727:(e,t,l)=>{l.d(t,{v:()=>r});var n=l(7848);let i=new WeakMap;function r(e){let t=i.get(e);if(null!=t)return t;let l=0,r=t=>{for(let i of t)"section"===i.type?r((0,n.iQ)(i,e)):"item"===i.type&&l++};return r(e),i.set(e,l),l}}}]);

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.