"use strict";!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ae628cfe-aa13-4cdb-8589-1fc20e6c3d1a",e._sentryDebugIdIdentifier="sentry-dbid-ae628cfe-aa13-4cdb-8589-1fc20e6c3d1a")}catch(e){}}(),function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ae628cfe-aa13-4cdb-8589-1fc20e6c3d1a",e._sentryDebugIdIdentifier="sentry-dbid-ae628cfe-aa13-4cdb-8589-1fc20e6c3d1a")}catch(e){}}(),function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ae628cfe-aa13-4cdb-8589-1fc20e6c3d1a",e._sentryDebugIdIdentifier="sentry-dbid-ae628cfe-aa13-4cdb-8589-1fc20e6c3d1a")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1304],{41264:function(e,t,r){r.d(t,{Z:function(){return j}});var n=r(74952),o=r(2265),a=r(91087),l=r(64690),i=(0,r(94596)._)(),s=function(){},u=o.forwardRef(function(e,t){var r=o.useRef(null),a=o.useState({onScrollCapture:s,onWheelCapture:s,onTouchMoveCapture:s}),u=a[0],c=a[1],d=e.forwardProps,f=e.children,p=e.className,y=e.removeScrollBar,h=e.enabled,v=e.shards,g=e.sideCar,b=e.noIsolation,m=e.inert,x=e.allowPinchZoom,w=e.as,K=e.gapMode,k=(0,n._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=(0,l.q)([r,t]),P=(0,n.pi)((0,n.pi)({},k),u);return o.createElement(o.Fragment,null,h&&o.createElement(g,{sideCar:i,removeScrollBar:y,shards:v,noIsolation:b,inert:m,setCallbacks:c,allowPinchZoom:!!x,lockRef:r,gapMode:K}),d?o.cloneElement(o.Children.only(f),(0,n.pi)((0,n.pi)({},P),{ref:S})):o.createElement(void 0===w?"div":w,(0,n.pi)({},P,{className:p,ref:S}),f))});u.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},u.classNames={fullWidth:a.zi,zeroRight:a.pF};var c=r(84532),d=r(68416),f=r(58527),p=!1;if("undefined"!=typeof window)try{var y=Object.defineProperty({},"passive",{get:function(){return p=!0,!0}});window.addEventListener("test",y,y),window.removeEventListener("test",y,y)}catch(e){p=!1}var h=!!p&&{passive:!1},v=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&!(r.overflowY===r.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===r[t])},g=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),b(e,n)){var o=m(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},b=function(e,t){return"v"===e?v(t,"overflowY"):v(t,"overflowX")},m=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},x=function(e,t,r,n,o){var a,l=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),i=l*n,s=r.target,u=t.contains(s),c=!1,d=i>0,f=0,p=0;do{var y=m(e,s),h=y[0],v=y[1]-y[2]-l*h;(h||v)&&b(e,s)&&(f+=v,p+=h),s instanceof ShadowRoot?s=s.host:s=s.parentNode}while(!u&&s!==document.body||u&&(t.contains(s)||t===s));return d&&(o&&1>Math.abs(f)||!o&&i>f)?c=!0:!d&&(o&&1>Math.abs(p)||!o&&-i>p)&&(c=!0),c},w=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},K=function(e){return[e.deltaX,e.deltaY]},k=function(e){return e&&"current"in e?e.current:e},S=0,P=[],C=(0,c.L)(i,function(e){var t=o.useRef([]),r=o.useRef([0,0]),a=o.useRef(),l=o.useState(S++)[0],i=o.useState(f.Ws)[0],s=o.useRef(e);o.useEffect(function(){s.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(l));var t=(0,n.ev)([e.lockRef.current],(e.shards||[]).map(k),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(l))}),function(){document.body.classList.remove("block-interactivity-".concat(l)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(l))})}}},[e.inert,e.lockRef.current,e.shards]);var u=o.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var n,o=w(e),l=r.current,i="deltaX"in e?e.deltaX:l[0]-o[0],u="deltaY"in e?e.deltaY:l[1]-o[1],c=e.target,d=Math.abs(i)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=g(d,c);if(!f)return!0;if(f?n=d:(n="v"===d?"h":"v",f=g(d,c)),!f)return!1;if(!a.current&&"changedTouches"in e&&(i||u)&&(a.current=n),!n)return!0;var p=a.current||n;return x(p,t,e,"h"===p?i:u,!0)},[]),c=o.useCallback(function(e){if(P.length&&P[P.length-1]===i){var r="deltaY"in e?K(e):w(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta)[0]===r[0]&&n[1]===r[1]})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var o=(s.current.shards||[]).map(k).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),p=o.useCallback(function(e,r,n,o){var a={name:e,delta:r,target:n,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),y=o.useCallback(function(e){r.current=w(e),a.current=void 0},[]),v=o.useCallback(function(t){p(t.type,K(t),t.target,u(t,e.lockRef.current))},[]),b=o.useCallback(function(t){p(t.type,w(t),t.target,u(t,e.lockRef.current))},[]);o.useEffect(function(){return P.push(i),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:b}),document.addEventListener("wheel",c,h),document.addEventListener("touchmove",c,h),document.addEventListener("touchstart",y,h),function(){P=P.filter(function(e){return e!==i}),document.removeEventListener("wheel",c,h),document.removeEventListener("touchmove",c,h),document.removeEventListener("touchstart",y,h)}},[]);var m=e.removeScrollBar,C=e.inert;return o.createElement(o.Fragment,null,C?o.createElement(i,{styles:"\n  .block-interactivity-".concat(l," {pointer-events: none;}\n  .allow-interactivity-").concat(l," {pointer-events: all;}\n")}):null,m?o.createElement(d.jp,{gapMode:e.gapMode}):null)}),M=o.forwardRef(function(e,t){return o.createElement(u,(0,n.pi)({},e,{ref:t,sideCar:C}))});M.classNames=u.classNames;var j=M},23118:function(e,t,r){r.d(t,{F:function(){return u}});var n=r(20078),o=r(15415),a=r(2265),l=r(28421),i=r(57437),s=e=>{let{children:t,...r}=e,s=(0,o.x)(r),[u,c]=a.Children.toArray(t);return(0,i.jsx)(n.K,{value:s,children:(0,i.jsxs)(l.j,{...s.getPopoverProps(),children:[u,c]})})};s.displayName="NextUI.Dropdown";var u=s},45475:function(e,t,r){r.d(t,{S:function(){return s}});var n=r(20078),o=r(94599),a=r(24986),l=r(57437),i=(0,o.Gp)((e,t)=>{let{getMenuTriggerProps:r}=(0,n.t)(),{children:o,...i}=e;return(0,l.jsx)(a.b,{...r(i),children:o})});i.displayName="NextUI.DropdownTrigger";var s=i},15415:function(e,t,r){r.d(t,{x:function(){return y}});var n=r(57648),o=r(36119),a=r(37769),l=r(85572),i=r(34911),s=(0,l.tv)({base:["w-full","p-1","min-w-[200px]"]});(0,l.tv)({slots:{base:["flex","group","gap-2","items-center","justify-between","relative","px-2","py-1.5","w-full","h-full","box-border","rounded-small","outline-none","cursor-pointer","tap-highlight-transparent","data-[pressed=true]:opacity-70",...i.Dh,"data-[focus-visible=true]:dark:ring-offset-background-content1"],wrapper:"w-full flex flex-col items-start justify-center",title:"flex-1 text-small font-normal truncate",description:["w-full","text-tiny","text-foreground-500","group-hover:text-current"],selectedIcon:["text-inherit","w-3","h-3","flex-shrink-0"],shortcut:["px-1","py-0.5","rounded","font-sans","text-foreground-500","text-tiny","border-small","border-default-300","group-hover:border-current"]},variants:{variant:{solid:{base:""},bordered:{base:"border-medium border-transparent bg-transparent"},light:{base:"bg-transparent"},faded:{base:"border-small border-transparent hover:border-default data-[hover=true]:bg-default-100"},flat:{base:""},shadow:{base:"data-[hover=true]:shadow-lg"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{},false:{}}},defaultVariants:{variant:"solid",color:"default"},compoundVariants:[{variant:"solid",color:"default",class:{base:"data-[hover=true]:bg-default data-[hover=true]:text-default-foreground"}},{variant:"solid",color:"primary",class:{base:"data-[hover=true]:bg-primary data-[hover=true]:text-primary-foreground"}},{variant:"solid",color:"secondary",class:{base:"data-[hover=true]:bg-secondary data-[hover=true]:text-secondary-foreground"}},{variant:"solid",color:"success",class:{base:"data-[hover=true]:bg-success data-[hover=true]:text-success-foreground"}},{variant:"solid",color:"warning",class:{base:"data-[hover=true]:bg-warning data-[hover=true]:text-warning-foreground"}},{variant:"solid",color:"danger",class:{base:"data-[hover=true]:bg-danger data-[hover=true]:text-danger-foreground"}},{variant:"shadow",color:"default",class:{base:"data-[hover=true]:shadow-default/50 data-[hover=true]:bg-default data-[hover=true]:text-default-foreground"}},{variant:"shadow",color:"primary",class:{base:"data-[hover=true]:shadow-primary/30 data-[hover=true]:bg-primary data-[hover=true]:text-primary-foreground"}},{variant:"shadow",color:"secondary",class:{base:"data-[hover=true]:shadow-secondary/30 data-[hover=true]:bg-secondary data-[hover=true]:text-secondary-foreground"}},{variant:"shadow",color:"success",class:{base:"data-[hover=true]:shadow-success/30 data-[hover=true]:bg-success data-[hover=true]:text-success-foreground"}},{variant:"shadow",color:"warning",class:{base:"data-[hover=true]:shadow-warning/30 data-[hover=true]:bg-warning data-[hover=true]:text-warning-foreground"}},{variant:"shadow",color:"danger",class:{base:"data-[hover=true]:shadow-danger/30 data-[hover=true]:bg-danger data-[hover=true]:text-danger-foreground"}},{variant:"bordered",color:"default",class:{base:"data-[hover=true]:border-default"}},{variant:"bordered",color:"primary",class:{base:"data-[hover=true]:border-primary data-[hover=true]:text-primary"}},{variant:"bordered",color:"secondary",class:{base:"data-[hover=true]:border-secondary data-[hover=true]:text-secondary"}},{variant:"bordered",color:"success",class:{base:"data-[hover=true]:border-success data-[hover=true]:text-success"}},{variant:"bordered",color:"warning",class:{base:"data-[hover=true]:border-warning data-[hover=true]:text-warning"}},{variant:"bordered",color:"danger",class:{base:"data-[hover=true]:border-danger data-[hover=true]:text-danger"}},{variant:"flat",color:"default",class:{base:"data-[hover=true]:bg-default/40 data-[hover=true]:text-default-foreground"}},{variant:"flat",color:"primary",class:{base:"data-[hover=true]:bg-primary/20 data-[hover=true]:text-primary"}},{variant:"flat",color:"secondary",class:{base:"data-[hover=true]:bg-secondary/20 data-[hover=true]:text-secondary"}},{variant:"flat",color:"success",class:{base:"data-[hover=true]:bg-success/20 data-[hover=true]:text-success "}},{variant:"flat",color:"warning",class:{base:"data-[hover=true]:bg-warning/20 data-[hover=true]:text-warning"}},{variant:"flat",color:"danger",class:{base:"data-[hover=true]:bg-danger/20 data-[hover=true]:text-danger"}},{variant:"faded",color:"default",class:{base:"data-[hover=true]:text-default-foreground"}},{variant:"faded",color:"primary",class:{base:"data-[hover=true]:text-primary"}},{variant:"faded",color:"secondary",class:{base:"data-[hover=true]:text-secondary"}},{variant:"faded",color:"success",class:{base:"data-[hover=true]:text-success"}},{variant:"faded",color:"warning",class:{base:"data-[hover=true]:text-warning"}},{variant:"faded",color:"danger",class:{base:"data-[hover=true]:text-danger"}},{variant:"light",color:"default",class:{base:"data-[hover=true]:text-default-500"}},{variant:"light",color:"primary",class:{base:"data-[hover=true]:text-primary"}},{variant:"light",color:"secondary",class:{base:"data-[hover=true]:text-secondary"}},{variant:"light",color:"success",class:{base:"data-[hover=true]:text-success"}},{variant:"light",color:"warning",class:{base:"data-[hover=true]:text-warning"}},{variant:"light",color:"danger",class:{base:"data-[hover=true]:text-danger"}}]}),(0,l.tv)({slots:{base:"relative mb-2",heading:"pl-1 text-tiny text-foreground-500",group:"data-[has-title=true]:pt-1",divider:"mt-2"}}),(0,l.tv)({base:"w-full flex flex-col gap-0.5 p-1"});var u=r(133),c=r(62086),d=r(58023),f=r(2265),p=r(16644);function y(e){var t;let r=(0,n.w)(),{as:l,triggerRef:i,isOpen:y,defaultOpen:h,onOpenChange:v,isDisabled:g,type:b="menu",trigger:m="press",placement:x="bottom",closeOnSelect:w=!0,shouldBlockScroll:K=!0,classNames:k,disableAnimation:S=null!=(t=null==r?void 0:r.disableAnimation)&&t,onClose:P,className:C,...M}=e,j=(0,f.useRef)(null),D=i||j,N=(0,f.useRef)(null),E=(0,f.useRef)(null),I=(0,o.W)({trigger:m,isOpen:y,defaultOpen:h,onOpenChange:e=>{null==v||v(e),e||null==P||P()}}),{menuTriggerProps:_,menuProps:R}=(0,a.u4)({type:b,trigger:m,isDisabled:g},I,D),T=(0,f.useMemo)(()=>s({className:C}),[C]),F=e=>{(void 0===e||e)&&w&&I.close()};return{Component:l||"div",menuRef:N,menuProps:R,classNames:T,closeOnSelect:w,onClose:I.close,autoFocus:I.focusStrategy||!0,disableAnimation:S,getPopoverProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,p.dG)(M,e);return{state:I,placement:x,ref:E,disableAnimation:S,shouldBlockScroll:K,scrollRef:N,triggerRef:D,...t,classNames:{...k,...e.classNames,content:(0,u.W)(T,null==k?void 0:k.content,e.className)},shouldCloseOnInteractOutside:(null==t?void 0:t.shouldCloseOnInteractOutside)?t.shouldCloseOnInteractOutside:e=>(0,d.J)(e,j,I)}},getMenuProps:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{ref:(0,c.l)(t,N),menuProps:R,closeOnSelect:w,...(0,p.dG)(e,{onAction:()=>F(null==e?void 0:e.closeOnSelect),onClose:I.close})}},getMenuTriggerProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{onPress:r,onPressStart:n,...o}=_;return{...(0,p.dG)(o,{isDisabled:g},e),ref:(0,c.l)(t,j)}}}}},21655:function(e,t,r){r.d(t,{a:function(){return c}});var n=r(20078),o=r(81359),a=r(70410),l=r(94599),i=r(52057),s=r(57437);function u(e,t){let{getMenuProps:r}=(0,n.t)();return(0,s.jsx)(o.g,{children:(0,s.jsx)(a.MT,{contain:!0,restoreFocus:!0,children:(0,s.jsx)(i.U,{...r(e,t)})})})}var c=(0,l.Gp)(u);u.displayName="NextUI.DropdownMenu"},20078:function(e,t,r){r.d(t,{K:function(){return n},t:function(){return o}});var[n,o]=(0,r(44756).k)({name:"DropdownContext",errorMessage:"useDropdownContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Dropdown />`"})},15591:function(e,t,r){r.d(t,{H:function(){return d}});var n=r(57648),o=r(59338),a=r(6127),l=r(37353),i=r(66649),s=r(14331),u=r(2265),c=r(133);function d(e){var t;let r=(0,n.w)(),{as:d,ref:f,variant:p,color:y,children:h,disableAnimation:v=null!=(t=null==r?void 0:r.disableAnimation)&&t,onAction:g,closeOnSelect:b,itemClasses:m,className:x,state:w,topContent:K,bottomContent:k,hideEmptyContent:S=!1,hideSelectedIcon:P=!1,emptyContent:C="No items.",menuProps:M,onClose:j,classNames:D,...N}=e,E=d||"ul",I=(0,i.gy)(f),_="string"==typeof E,R=(0,l.D)({...N,...M,children:h}),T=w||R,{menuProps:F}=(0,o.H)({...N,...M},T,I),L=(0,u.useMemo)(()=>(0,a.GI)({className:x}),[x]),B=(0,c.W)(null==D?void 0:D.base,x);return{Component:E,state:T,variant:p,color:y,disableAnimation:v,onAction:g,onClose:j,topContent:K,bottomContent:k,closeOnSelect:b,className:x,itemClasses:m,getBaseProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:I,"data-slot":"base",className:L.base({class:B}),...(0,s.z)(N,{enabled:_}),...e}},getListProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"list",className:L.list({class:null==D?void 0:D.list}),...F,...e}},hideEmptyContent:S,hideSelectedIcon:P,getEmptyContentProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{children:C,className:L.emptyContent({class:null==D?void 0:D.emptyContent}),...e}}}}},40149:function(e,t,r){r.d(t,{d:function(){return n}});var n=r(87551).$0},55984:function(e,t,r){r.d(t,{W:function(){return n}});var n=r(87551).ck},52057:function(e,t,r){r.d(t,{U:function(){return C}});var n=r(57437);function o(e){let{isSelected:t,disableAnimation:r,...o}=e;return(0,n.jsx)("svg",{"aria-hidden":"true","data-selected":t,role:"presentation",viewBox:"0 0 17 18",...o,children:(0,n.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:r?{}:{transition:"stroke-dashoffset 200ms ease"}})})}var a=r(2265),l=r(6127),i=r(57648),s=r(94599),u=r(70410),c=r(32545),d=r(133),f=r(29070),p=r(59338),y=r(16644),h=r(87551),v=r(52744),g=r(87756),b=r(80067),m=r(14331),x=(0,s.Gp)((e,t)=>{let{Component:r,slots:x,classNames:w,rendered:K,shortcut:k,description:S,isSelectable:P,isSelected:C,isDisabled:M,selectedIcon:j,startContent:D,endContent:N,disableAnimation:E,hideSelectedIcon:I,getItemProps:_,getLabelProps:R,getDescriptionProps:T,getKeyboardShortcutProps:F,getSelectedIconProps:L}=function(e){var t,r;let n=(0,i.w)(),[o,x]=(0,s.oe)(e,l.D9.variantKeys),{as:w,item:K,state:k,shortcut:S,description:P,startContent:C,endContent:M,isVirtualized:j,selectedIcon:D,className:N,classNames:E,onAction:I,autoFocus:_,onClick:R,onPress:T,onPressStart:F,onPressUp:L,onPressEnd:B,onPressChange:O,hideSelectedIcon:A=!1,isReadOnly:U=!1,closeOnSelect:G,onClose:z,...$}=o,W=null!=(r=null!=(t=e.disableAnimation)?t:null==n?void 0:n.disableAnimation)&&r,V=(0,a.useRef)(null),H=w||((null==$?void 0:$.href)?"a":"li"),X="string"==typeof H,{rendered:q,key:Z}=K,Y=k.disabledKeys.has(Z)||e.isDisabled,J="none"!==k.selectionManager.selectionMode,Q=(0,b.d)(),{isFocusVisible:ee,focusProps:et}=(0,u.Fx)({autoFocus:_}),{isHovered:er,isPressed:en,isFocused:eo,isSelected:ea,menuItemProps:el,labelProps:ei,descriptionProps:es,keyboardShortcutProps:eu}=function(e,t,r){var n,o,a;let{key:l,closeOnSelect:i,isVirtualized:s,"aria-haspopup":u,onPressStart:c,onPressUp:d,onPress:f,onPressChange:b,onPressEnd:m,onHoverStart:x,onHoverChange:w,onHoverEnd:K,onKeyDown:k,onKeyUp:S,onFocus:P,onFocusChange:C,onBlur:M,onClick:j}=e,D=!!u,N=null!=(n=e.isDisabled)?n:t.disabledKeys.has(l),E=null!=(o=e.isSelected)?o:t.selectionManager.isSelected(l),I=p.K.get(t),_=e.onClose||I.onClose,R=D?()=>{}:e.onAction||I.onAction,T=(0,y.tv)(),F=e=>{R&&R(l),e.target instanceof HTMLAnchorElement&&T.open(e.target,e)},L="menuitem";D||("single"===t.selectionManager.selectionMode?L="menuitemradio":"multiple"!==t.selectionManager.selectionMode||(L="menuitemcheckbox"));let B=(0,y.mp)(),O=(0,y.mp)(),A=(0,y.mp)(),U={"aria-disabled":N||void 0,role:L,"aria-label":e["aria-label"],"aria-labelledby":B,"aria-describedby":[O,A].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":u,"aria-expanded":e["aria-expanded"]};"none"===t.selectionManager.selectionMode||D||(U["aria-checked"]=E);let G=t.collection.getItem(l);s&&(U["aria-posinset"]=null==G?void 0:G.index,U["aria-setsize"]=(0,h.is)(t.collection));let{itemProps:z,isFocused:$}=(0,g.Cs)({selectionManager:t.selectionManager,key:l,ref:r,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none"}),{pressProps:W,isPressed:V}=(0,v.r7)({onPressStart:e=>{"keyboard"===e.pointerType&&F(e),null==c||c(e)},onPress:f,onPressUp:e=>{"keyboard"!==e.pointerType&&(setTimeout(()=>{F(e)}),!D&&_&&(null!=i?i:"multiple"!==t.selectionManager.selectionMode||t.selectionManager.isLink(l))&&setTimeout(()=>{null==_||_()})),null==d||d(e)},onPressChange:b,onPressEnd:m,isDisabled:N}),{isHovered:H,hoverProps:X}=(0,v.XI)({isDisabled:N,onHoverStart(e){(0,v.E)()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(l)),null==x||x(e)},onHoverChange:w,onHoverEnd:K}),{keyboardProps:q}=(0,v.v5)({onKeyDown:e=>{if(e.repeat){e.continuePropagation();return}switch(e.key){case" ":N||"none"!==t.selectionManager.selectionMode||D||!1===i||!_||_();break;case"Enter":N||!1===i||D||!_||_();break;default:D||e.continuePropagation(),null==k||k(e)}},onKeyUp:S}),{focusProps:Z}=(0,v.KK)({onBlur:M,onFocus:P,onFocusChange:C}),Y=(0,y.zL)(G.props,{isLink:!!(null==(a=null==G?void 0:G.props)?void 0:a.href)});return delete Y.id,{menuItemProps:{...U,...(0,y.dG)(Y,D?{onFocus:z.onFocus}:z,W,X,q,Z),onClick:(0,y.tS)(j,W.onClick),tabIndex:null!=z.tabIndex?-1:void 0},labelProps:{id:B},descriptionProps:{id:O},keyboardShortcutProps:{id:A},isHovered:H,isFocused:$,isSelected:E,isPressed:V,isDisabled:N}}({key:Z,onClose:z,isDisabled:Y,onPress:T,onClick:R,onPressStart:F,onPressUp:L,onPressEnd:B,onPressChange:O,"aria-label":o["aria-label"],closeOnSelect:G,isVirtualized:j,onAction:I},k,V),ec=el,ed=(0,a.useMemo)(()=>(0,l.D9)({...x,isDisabled:Y,disableAnimation:W}),[(0,c.Xx)(x),Y,W]),ef=(0,d.W)(null==E?void 0:E.base,N);U&&(ec=(0,c.Os)(ec));let ep=(0,a.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"aria-hidden":(0,f.PB)(!0),"data-disabled":(0,f.PB)(Y),className:ed.selectedIcon({class:null==E?void 0:E.selectedIcon}),...e}},[Y,ed,E]);return{Component:H,domRef:V,slots:ed,classNames:E,isSelectable:J,isSelected:ea,isDisabled:Y,rendered:q,shortcut:S,description:P,startContent:C,endContent:M,selectedIcon:D,disableAnimation:W,getItemProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:V,...(0,y.dG)(U?{}:et,(0,m.z)($,{enabled:X}),ec,e),"data-focus":(0,f.PB)(eo),"data-selectable":(0,f.PB)(J),"data-hover":(0,f.PB)(Q?er||en:er),"data-disabled":(0,f.PB)(Y),"data-selected":(0,f.PB)(ea),"data-pressed":(0,f.PB)(en),"data-focus-visible":(0,f.PB)(ee),className:ed.base({class:(0,d.W)(ef,e.className)})}},getLabelProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,y.dG)(ei,e),className:ed.title({class:null==E?void 0:E.title})}},hideSelectedIcon:A,getDescriptionProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,y.dG)(es,e),className:ed.description({class:null==E?void 0:E.description})}},getKeyboardShortcutProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,y.dG)(eu,e),className:ed.shortcut({class:null==E?void 0:E.shortcut})}},getSelectedIconProps:ep}}(e),B=(0,a.useMemo)(()=>{let e=(0,n.jsx)(o,{disableAnimation:E,isSelected:C});return"function"==typeof j?j({icon:e,isSelected:C,isDisabled:M}):j||e},[j,C,M,E]);return(0,n.jsxs)(r,{..._(),children:[D,S?(0,n.jsxs)("div",{className:x.wrapper({class:null==w?void 0:w.wrapper}),children:[(0,n.jsx)("span",{...R(),children:K}),(0,n.jsx)("span",{...T(),children:S})]}):(0,n.jsx)("span",{...R(),children:K}),k&&(0,n.jsx)("kbd",{...F(),children:k}),P&&!I&&(0,n.jsx)("span",{...L(),children:B}),N]})});x.displayName="NextUI.MenuItem";var w=r(37769),K=r(72915),k=(0,s.Gp)((e,t)=>{let{item:r,state:o,as:i,variant:s,color:u,disableAnimation:c,onAction:f,closeOnSelect:p,className:h,classNames:v,showDivider:g=!1,hideSelectedIcon:b,dividerProps:m={},itemClasses:k,title:S,...P}=e,C=(0,a.useMemo)(()=>(0,l.Dk)(),[]),M=(0,d.W)(null==v?void 0:v.base,h),j=(0,d.W)(null==v?void 0:v.divider,null==m?void 0:m.className),{itemProps:D,headingProps:N,groupProps:E}=(0,w.x7)({heading:r.rendered,"aria-label":r["aria-label"]});return(0,n.jsxs)(i||"li",{"data-slot":"base",...(0,y.dG)(D,P),className:C.base({class:M}),children:[r.rendered&&(0,n.jsx)("span",{...N,className:C.heading({class:null==v?void 0:v.heading}),"data-slot":"heading",children:r.rendered}),(0,n.jsxs)("ul",{...E,className:C.group({class:null==v?void 0:v.group}),"data-has-title":!!r.rendered,"data-slot":"group",children:[[...r.childNodes].map(e=>{let{key:t,props:r}=e,a=(0,n.jsx)(x,{classNames:k,closeOnSelect:p,color:u,disableAnimation:c,hideSelectedIcon:b,item:e,state:o,variant:s,onAction:f,...r},t);return e.wrapper&&(a=e.wrapper(a)),a}),g&&(0,n.jsx)(K.j,{as:"li",className:C.divider({class:j}),...m})]})]})});k.displayName="NextUI.MenuSection";var S=r(15591);function P(e,t){let{Component:r,state:o,closeOnSelect:a,color:l,disableAnimation:i,hideSelectedIcon:s,hideEmptyContent:u,variant:c,onClose:d,onAction:f,topContent:p,bottomContent:y,itemClasses:h,getBaseProps:v,getListProps:g,getEmptyContentProps:b}=(0,S.H)({...e,ref:t}),m=(0,n.jsxs)(r,{...g(),children:[!o.collection.size&&!u&&(0,n.jsx)("li",{children:(0,n.jsx)("div",{...b()})}),[...o.collection].map(e=>{let t={closeOnSelect:a,color:l,disableAnimation:i,item:e,state:o,variant:c,onClose:d,onAction:f,hideSelectedIcon:s,...e.props};if("section"===e.type)return(0,n.jsx)(k,{...t,itemClasses:h},e.key);let r=(0,n.jsx)(x,{...t,classNames:h},e.key);return e.wrapper&&(r=e.wrapper(r)),r})]});return(0,n.jsxs)("div",{...v(),children:[p,m,y]})}var C=(0,s.Gp)(P);P.displayName="NextUI.Menu"},28421:function(e,t,r){r.d(t,{j:function(){return d}});var n=r(2166),o=r(77446),a=r(2265),l=r(94599),i=r(12989),s=r(74026),u=r(57437),c=(0,l.Gp)((e,t)=>{let{children:r,...l}=e,c=(0,o.S)({...l,ref:t}),[d,f]=a.Children.toArray(r),p=(0,u.jsx)(i.aV,{disableFocusManagement:!0,portalContainer:c.portalContainer,children:f});return(0,u.jsxs)(n.H,{value:c,children:[d,c.disableAnimation&&c.isOpen?p:(0,u.jsx)(s.M,{children:c.isOpen?p:null})]})});c.displayName="NextUI.Popover";var d=c},24986:function(e,t,r){r.d(t,{b:function(){return f}});var n=r(2166),o=r(2265),a=r(94599),l=r(15184),i=r(87251),s=r(51545),u=r(16644),c=r(57437),d=(0,a.Gp)((e,t)=>{let{triggerRef:r,getTriggerProps:a}=(0,n.l)(),{children:d,...f}=e,p=(0,o.useMemo)(()=>"string"==typeof d?(0,c.jsx)("p",{children:d}):o.Children.only(d),[d]),{onPress:y,isDisabled:h,...v}=(0,o.useMemo)(()=>a((0,u.dG)(f,p.props),p.ref),[a,p.props,f,p.ref]),[,g]=(0,l.N)(d,s.A),{buttonProps:b}=(0,i.j)({onPress:y,isDisabled:h},r),m=(0,o.useMemo)(()=>(null==g?void 0:g[0])!==void 0,[g]);return(0,o.cloneElement)(p,(0,u.dG)(v,m?{onPress:y,isDisabled:h}:b))});d.displayName="NextUI.PopoverTrigger";var f=d},81359:function(e,t,r){r.d(t,{g:function(){return h}});var n=r(2166),o=r(2265),a=r(94599),l=r(12989),i=r(70480),s=r(30065),u=r(95535),c=r(79097),d=r(41264),f=r(62254),p=r(57437),y=(0,a.Gp)((e,t)=>{let{as:r,children:a,className:y,...h}=e,{Component:v,isOpen:g,placement:b,backdrop:m,motionProps:x,titleProps:w,disableAnimation:K,shouldBlockScroll:k,getPopoverProps:S,getDialogProps:P,getBackdropProps:C,getContentProps:M,isNonModal:j,onClose:D}=(0,n.l)(),N=P(h);delete N.role;let E=(0,p.jsxs)(p.Fragment,{children:[!j&&(0,p.jsx)(l.U4,{onDismiss:D}),(0,p.jsx)(r||v||"div",{...N,children:(0,p.jsx)("div",{...M({className:y}),children:"function"==typeof a?a(w):a})}),(0,p.jsx)(l.U4,{onDismiss:D})]}),I=(0,o.useMemo)(()=>"transparent"===m?null:K?(0,p.jsx)("div",{...C()}):(0,p.jsx)(s.X,{features:u.H,children:(0,p.jsx)(c.m.div,{animate:"enter",exit:"exit",initial:"exit",variants:i.y7.fade,...C()})}),[m,K,C]),_=(0,o.useCallback)(e=>{let{children:t}=e;return(0,p.jsx)(d.Z,{enabled:k&&g,removeScrollBar:!1,children:t})},[k,g]),R=K?(0,p.jsx)(_,{children:E}):(0,p.jsx)(s.X,{features:u.H,children:(0,p.jsx)(c.m.div,{animate:"enter",exit:"exit",initial:"initial",style:{...(0,f.VS)("center"===b?"top":b)},variants:i.y7.scaleSpringOpacity,...x,children:(0,p.jsx)(_,{children:E})})});return(0,p.jsxs)("div",{...S(),children:[I,R]})});y.displayName="NextUI.PopoverContent";var h=y},2166:function(e,t,r){r.d(t,{H:function(){return n},l:function(){return o}});var[n,o]=(0,r(44756).k)({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Popover />`"})},55972:function(e,t,r){r.d(t,{W:function(){return i}});var n=r(10175),o=r(94599),a=r(57437),l=(0,o.Gp)((e,t)=>{let{Component:r,slots:o,classNames:l,label:i,percentage:s,showValueLabel:u,getProgressBarProps:c,getLabelProps:d}=(0,n.S)({...e,ref:t}),f=c(),p=i||u;return(0,a.jsxs)(r,{...f,children:[p?(0,a.jsxs)("div",{className:o.labelWrapper({class:null==l?void 0:l.labelWrapper}),children:[i&&(0,a.jsx)("span",{...d(),children:i}),u&&(0,a.jsx)("span",{className:o.value({class:null==l?void 0:l.value}),children:f["aria-valuetext"]})]}):null,(0,a.jsx)("div",{className:o.track({class:null==l?void 0:l.track}),children:(0,a.jsx)("div",{className:o.indicator({class:null==l?void 0:l.indicator}),style:{transform:"translateX(-".concat(100-(s||0),"%)")}})})]})});l.displayName="NextUI.Progress";var i=l},10175:function(e,t,r){r.d(t,{S:function(){return h}});var n=r(57648),o=r(94599),a=(0,r(85572).tv)({slots:{base:"flex flex-col gap-2 w-full",label:"",labelWrapper:"flex justify-between",value:"",track:"z-0 relative bg-default-300/50 overflow-hidden",indicator:"h-full"},variants:{color:{default:{indicator:"bg-default-400"},primary:{indicator:"bg-primary"},secondary:{indicator:"bg-secondary"},success:{indicator:"bg-success"},warning:{indicator:"bg-warning"},danger:{indicator:"bg-danger"}},size:{sm:{label:"text-small",value:"text-small",track:"h-1"},md:{label:"text-medium",value:"text-medium",track:"h-3"},lg:{label:"text-large",value:"text-large",track:"h-5"}},radius:{none:{track:"rounded-none",indicator:"rounded-none"},sm:{track:"rounded-small",indicator:"rounded-small"},md:{track:"rounded-medium",indicator:"rounded-medium"},lg:{track:"rounded-large",indicator:"rounded-large"},full:{track:"rounded-full",indicator:"rounded-full"}},isStriped:{true:{indicator:"bg-stripe-gradient bg-[length:1.25rem_1.25rem]"}},isIndeterminate:{true:{indicator:["absolute","w-full","origin-left","animate-indeterminate-bar"]}},isDisabled:{true:{base:"opacity-disabled cursor-not-allowed"}},disableAnimation:{true:{},false:{indicator:"transition-transform !duration-500"}}},defaultVariants:{color:"primary",size:"md",radius:"full",isStriped:!1,isIndeterminate:!1,isDisabled:!1},compoundVariants:[{disableAnimation:!0,isIndeterminate:!1,class:{indicator:"!transition-none motion-reduce:transition-none"}}]},{twMerge:!0}),l=r(66649),i=r(133),s=r(32545),u=r(27900),c=r(29070),d=r(16644),f=r(2265),p=r(69850),y=r(8861);function h(e){var t,r;let h=(0,n.w)(),[v,g]=(0,o.oe)(e,a.variantKeys),{ref:b,as:m,id:x,className:w,classNames:K,label:k,valueLabel:S,value:P=0,minValue:C=0,maxValue:M=100,showValueLabel:j=!1,formatOptions:D={style:"percent"},...N}=v,E=(0,l.gy)(b),I=(0,i.W)(null==K?void 0:K.base,w),[,_]=(0,p.t)({rerender:!0,delay:100}),R=e.isIndeterminate,T=null!=(r=null!=(t=e.disableAnimation)?t:null==h?void 0:h.disableAnimation)&&r,{progressBarProps:F,labelProps:L}=(0,y.D)({id:x,label:k,value:P,minValue:C,maxValue:M,valueLabel:S,formatOptions:D,isIndeterminate:R,"aria-labelledby":e["aria-labelledby"],"aria-label":e["aria-label"]}),B=(0,f.useMemo)(()=>a({...g,disableAnimation:T}),[(0,s.Xx)(g),T]),O=!!T||_,A=(0,f.useMemo)(()=>R||!O?void 0:(0,u.Ez)((P-C)/(M-C)*100),[O,R,P,C,M]),U=(0,f.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:E,"data-indeterminate":(0,c.PB)(R),"data-disabled":(0,c.PB)(e.isDisabled),className:B.base({class:I}),...(0,d.dG)(F,N,t)}},[E,B,R,e.isDisabled,I,F,N]),G=(0,f.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{className:B.label({class:null==K?void 0:K.label}),...(0,d.dG)(L,e)}},[B,K,L]);return{Component:m||"div",domRef:E,slots:B,classNames:K,label:k,percentage:A,showValueLabel:j,getProgressBarProps:U,getLabelProps:G}}},75514:function(e,t,r){r.d(t,{N:function(){return a}});var n=r(80564),o=(0,n.E)({"../../../node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react.production.min.js"(e){var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,h={};function v(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||p}function g(){}function b(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||p}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=v.prototype;var m=b.prototype=new g;m.constructor=b,y(m,v.prototype),m.isPureReactComponent=!0;var x=Array.isArray,w=Object.prototype.hasOwnProperty,K={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function S(e,r,n){var o,a={},l=null,i=null;if(null!=r)for(o in void 0!==r.ref&&(i=r.ref),void 0!==r.key&&(l=""+r.key),r)w.call(r,o)&&!k.hasOwnProperty(o)&&(a[o]=r[o]);var s=arguments.length-2;if(1===s)a.children=n;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];a.children=u}if(e&&e.defaultProps)for(o in s=e.defaultProps)void 0===a[o]&&(a[o]=s[o]);return{$$typeof:t,type:e,key:l,ref:i,props:a,_owner:K.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var C=/\/+/g;function M(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function j(e,n,o){if(null==e)return e;var a=[],l=0;return function e(n,o,a,l,i){var s,u,c,d=typeof n;("undefined"===d||"boolean"===d)&&(n=null);var p=!1;if(null===n)p=!0;else switch(d){case"string":case"number":p=!0;break;case"object":switch(n.$$typeof){case t:case r:p=!0}}if(p)return i=i(p=n),n=""===l?"."+M(p,0):l,x(i)?(a="",null!=n&&(a=n.replace(C,"$&/")+"/"),e(i,o,a,"",function(e){return e})):null!=i&&(P(i)&&(s=i,u=a+(!i.key||p&&p.key===i.key?"":(""+i.key).replace(C,"$&/")+"/")+n,i={$$typeof:t,type:s.type,key:u,ref:s.ref,props:s.props,_owner:s._owner}),o.push(i)),1;if(p=0,l=""===l?".":l+":",x(n))for(var y=0;y<n.length;y++){var h=l+M(d=n[y],y);p+=e(d,o,a,h,i)}else if("function"==typeof(h=null===(c=n)||"object"!=typeof c?null:"function"==typeof(c=f&&c[f]||c["@@iterator"])?c:null))for(n=h.call(n),y=0;!(d=n.next()).done;)h=l+M(d=d.value,y++),p+=e(d,o,a,h,i);else if("object"===d)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(o=String(n))?"object with keys {"+Object.keys(n).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.");return p}(e,a,"","",function(e){return n.call(o,e,l++)}),a}function D(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N={current:null},E={transition:null};e.Children={map:j,forEach:function(e,t,r){j(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return j(e,function(){t++}),t},toArray:function(e){return j(e,function(e){return e})||[]},only:function(e){if(!P(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},e.Component=v,e.Fragment=n,e.Profiler=a,e.PureComponent=b,e.StrictMode=o,e.Suspense=u,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:E,ReactCurrentOwner:K},e.cloneElement=function(e,r,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=y({},e.props),a=e.key,l=e.ref,i=e._owner;if(null!=r){if(void 0!==r.ref&&(l=r.ref,i=K.current),void 0!==r.key&&(a=""+r.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in r)w.call(r,u)&&!k.hasOwnProperty(u)&&(o[u]=void 0===r[u]&&void 0!==s?s[u]:r[u])}var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}return{$$typeof:t,type:e.type,key:a,ref:l,props:o,_owner:i}},e.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},e.createElement=S,e.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:s,render:e}},e.isValidElement=P,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:D}},e.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},e.startTransition=function(e){var t=E.transition;E.transition={};try{e()}finally{E.transition=t}},e.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},e.useCallback=function(e,t){return N.current.useCallback(e,t)},e.useContext=function(e){return N.current.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e){return N.current.useDeferredValue(e)},e.useEffect=function(e,t){return N.current.useEffect(e,t)},e.useId=function(){return N.current.useId()},e.useImperativeHandle=function(e,t,r){return N.current.useImperativeHandle(e,t,r)},e.useInsertionEffect=function(e,t){return N.current.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return N.current.useLayoutEffect(e,t)},e.useMemo=function(e,t){return N.current.useMemo(e,t)},e.useReducer=function(e,t,r){return N.current.useReducer(e,t,r)},e.useRef=function(e){return N.current.useRef(e)},e.useState=function(e){return N.current.useState(e)},e.useSyncExternalStore=function(e,t,r){return N.current.useSyncExternalStore(e,t,r)},e.useTransition=function(){return N.current.useTransition()},e.version="18.2.0"}});(0,n.E)({"../../../node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react.development.js"(e,t){}});var a=(0,n.E)({"../../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js"(e,t){t.exports=o()}});/**
 * @license React
 * react.development.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *//**
 * @license React
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */},80564:function(e,t,r){r.d(t,{E:function(){return u},v:function(){return d}});var n=Object.create,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,i=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,u=(e,t)=>function(){return t||(0,e[l(e)[0]])((t={exports:{}}).exports,t),t.exports},c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of l(t))s.call(e,i)||i===r||o(e,i,{get:()=>t[i],enumerable:!(n=a(t,i))||n.enumerable});return e},d=(e,t,r)=>(r=null!=e?n(i(e)):{},c(!t&&e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e))},15184:function(e,t,r){r.d(t,{N:function(){return l},W:function(){return a}});var n=r(75514),o=(0,r(80564).v)((0,n.N)());function a(e){return o.Children.toArray(e).filter(e=>(0,o.isValidElement)(e))}var l=(e,t)=>{var r;let n=[];return[null==(r=o.Children.map(e,e=>(0,o.isValidElement)(e)&&e.type===t?(n.push(e),null):e))?void 0:r.filter(Boolean),n.length>=0?n:void 0]}},59338:function(e,t,r){r.d(t,{H:function(){return l},K:function(){return a}});var n=r(16644),o=r(87756),a=new WeakMap;function l(e,t,r){let{shouldFocusWrap:l=!0,onKeyDown:i,onKeyUp:s,...u}=e;e["aria-label"]||e["aria-labelledby"]||console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let c=(0,n.zL)(e,{labelable:!0}),{listProps:d}=(0,o._t)({...u,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:l,linkBehavior:"override"});return a.set(t,{onClose:e.onClose,onAction:e.onAction}),{menuProps:(0,n.dG)(c,{onKeyDown:i,onKeyUp:s},{role:"menu",...d,onKeyDown:e=>{"Escape"!==e.key&&d.onKeyDown&&d.onKeyDown(e)}})}}},87756:function(e,t,r){r.d(t,{Cs:function(){return d},_t:function(){return h}});var n=r(54887),o=r(2265),a=r(70410),l=r(16644),i=r(52744),s=r(79682);function u(e){return(0,l.ad)()?e.altKey:e.ctrlKey}function c(e){return(0,l.V5)()?e.metaKey:e.ctrlKey}function d(e){let{selectionManager:t,key:r,ref:n,shouldSelectOnPressUp:s,shouldUseVirtualFocus:d,focus:y,isDisabled:h,onAction:v,allowsDifferentPressOrigin:g,linkBehavior:b="action"}=e,m=(0,l.tv)(),x=e=>{if("keyboard"===e.pointerType&&u(e))t.toggleSelection(r);else{if("none"===t.selectionMode)return;if(t.isLink(r)){if("selection"===b){m.open(n.current,e),t.setSelectedKeys(t.selectedKeys);return}if("override"===b||"none"===b)return}"single"===t.selectionMode?t.isSelected(r)&&!t.disallowEmptySelection?t.toggleSelection(r):t.replaceSelection(r):e&&e.shiftKey?t.extendSelection(r):"toggle"===t.selectionBehavior||e&&(c(e)||"touch"===e.pointerType||"virtual"===e.pointerType)?t.toggleSelection(r):t.replaceSelection(r)}};(0,o.useEffect)(()=>{r===t.focusedKey&&t.isFocused&&!d&&(y?y():document.activeElement!==n.current&&(0,a.ex)(n.current))},[n,r,t.focusedKey,t.childFocusStrategy,t.isFocused,d]),h=h||t.isDisabled(r);let w={};d||h?h&&(w.onMouseDown=e=>{e.preventDefault()}):w={tabIndex:r===t.focusedKey?0:-1,onFocus(e){e.target===n.current&&t.setFocusedKey(r)}};let K=t.isLink(r)&&"override"===b,k=t.isLink(r)&&"selection"!==b&&"none"!==b,S=!h&&t.canSelectItem(r)&&!K,P=(v||k)&&!h,C=P&&("replace"===t.selectionBehavior?!S:!S||t.isEmpty),M=P&&S&&"replace"===t.selectionBehavior,j=C||M,D=(0,o.useRef)(null),N=j&&S,E=(0,o.useRef)(!1),I=(0,o.useRef)(!1),_=e=>{v&&v(),k&&m.open(n.current,e)},R={};s?(R.onPressStart=e=>{D.current=e.pointerType,E.current=N,"keyboard"===e.pointerType&&(!j||p())&&x(e)},g?(R.onPressUp=C?null:e=>{"keyboard"!==e.pointerType&&S&&x(e)},R.onPress=C?_:null):R.onPress=e=>{C||M&&"mouse"!==e.pointerType?("keyboard"!==e.pointerType||f())&&_(e):"keyboard"!==e.pointerType&&S&&x(e)}):(R.onPressStart=e=>{D.current=e.pointerType,E.current=N,I.current=C,S&&("mouse"===e.pointerType&&!C||"keyboard"===e.pointerType&&(!P||p()))&&x(e)},R.onPress=e=>{("touch"===e.pointerType||"pen"===e.pointerType||"virtual"===e.pointerType||"keyboard"===e.pointerType&&j&&f()||"mouse"===e.pointerType&&I.current)&&(j?_(e):S&&x(e))}),w["data-key"]=r,R.preventFocusOnPress=d;let{pressProps:T,isPressed:F}=(0,i.r7)(R),L=M?e=>{"mouse"===D.current&&(e.stopPropagation(),e.preventDefault(),_(e))}:void 0,{longPressProps:B}=(0,i.TA)({isDisabled:!N,onLongPress(e){"touch"===e.pointerType&&(x(e),t.setSelectionBehavior("toggle"))}}),O=t.isLink(r)?e=>{l.nG.isOpening||e.preventDefault()}:void 0;return{itemProps:(0,l.dG)(w,S||C?T:{},N?B:{},{onDoubleClick:L,onDragStartCapture:e=>{"touch"===D.current&&E.current&&e.preventDefault()},onClick:O}),isPressed:F,isSelected:t.isSelected(r),isFocused:t.isFocused&&t.focusedKey===r,isDisabled:h,allowsSelection:S,hasAction:j}}function f(){let e=window.event;return(null==e?void 0:e.key)==="Enter"}function p(){let e=window.event;return(null==e?void 0:e.key)===" "||(null==e?void 0:e.code)==="Space"}class y{getNextKey(e){for(e=this.collection.getKeyAfter(e);null!=e;){if("item"===this.collection.getItem(e).type&&!this.disabledKeys.has(e))return e;e=this.collection.getKeyAfter(e)}return null}getPreviousKey(e){for(e=this.collection.getKeyBefore(e);null!=e;){if("item"===this.collection.getItem(e).type&&!this.disabledKeys.has(e))return e;e=this.collection.getKeyBefore(e)}return null}findKey(e,t,r){let n=this.getItem(e);if(!n)return null;let o=n.getBoundingClientRect();do e=t(e),n=this.getItem(e);while(n&&r(o,n.getBoundingClientRect()));return e}isSameRow(e,t){return e.top===t.top||e.left!==t.left}isSameColumn(e,t){return e.left===t.left||e.top!==t.top}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){return"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){return"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();for(;null!=e;){let t=this.collection.getItem(e);if((null==t?void 0:t.type)==="item"&&!this.disabledKeys.has(e))return e;e=this.collection.getKeyAfter(e)}return null}getLastKey(){let e=this.collection.getLastKey();for(;null!=e;){if("item"===this.collection.getItem(e).type&&!this.disabledKeys.has(e))return e;e=this.collection.getKeyBefore(e)}return null}getItem(e){return this.ref.current.querySelector(`[data-key="${CSS.escape(e.toString())}"]`)}getKeyPageAbove(e){let t=this.ref.current,r=this.getItem(e);if(!r)return null;if(!(0,l.a9)(t))return this.getFirstKey();let n=t.getBoundingClientRect(),o=r.getBoundingClientRect();if("horizontal"===this.orientation){let a=n.x-t.scrollLeft,l=Math.max(0,o.x-a+o.width-n.width);for(;r&&o.x-a>l;)o=null==(r=null==(e=this.getKeyAbove(e))?null:this.getItem(e))?void 0:r.getBoundingClientRect()}else{let a=n.y-t.scrollTop,l=Math.max(0,o.y-a+o.height-n.height);for(;r&&o.y-a>l;)o=null==(r=null==(e=this.getKeyAbove(e))?null:this.getItem(e))?void 0:r.getBoundingClientRect()}return null!=e?e:this.getFirstKey()}getKeyPageBelow(e){let t=this.ref.current,r=this.getItem(e);if(!r)return null;if(!(0,l.a9)(t))return this.getLastKey();let n=t.getBoundingClientRect(),o=r.getBoundingClientRect();if("horizontal"===this.orientation){let a=n.x-t.scrollLeft,l=Math.min(t.scrollWidth,o.x-a-o.width+n.width);for(;r&&o.x-a<l;)o=null==(r=null==(e=this.getKeyBelow(e))?null:this.getItem(e))?void 0:r.getBoundingClientRect()}else{let a=n.y-t.scrollTop,l=Math.min(t.scrollHeight,o.y-a-o.height+n.height);for(;r&&o.y-a<l;)o=null==(r=null==(e=this.getKeyBelow(e))?null:this.getItem(e))?void 0:r.getBoundingClientRect()}return null!=e?e:this.getLastKey()}getKeyForSearch(e,t){if(!this.collator)return null;let r=this.collection,n=t||this.getFirstKey();for(;null!=n;){let t=r.getItem(n),o=t.textValue.slice(0,e.length);if(t.textValue&&0===this.collator.compare(o,e))return n;n=this.getKeyBelow(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.orientation=t.orientation,this.direction=t.direction,this.layout=t.layout||"stack"}else this.collection=e[0],this.disabledKeys=e[1],this.ref=e[2],this.collator=e[3],this.layout="stack",this.orientation="vertical";"stack"===this.layout&&"vertical"===this.orientation&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function h(e){let{selectionManager:t,collection:r,disabledKeys:d,ref:f,keyboardDelegate:p}=e,h=(0,s.Xe)({usage:"search",sensitivity:"base"}),v=t.disabledBehavior,g=(0,o.useMemo)(()=>p||new y(r,"selection"===v?new Set:d,f,h),[p,r,d,f,h,v]),{collectionProps:b}=function(e){let t,{selectionManager:r,keyboardDelegate:d,ref:f,autoFocus:p=!1,shouldFocusWrap:y=!1,disallowEmptySelection:h=!1,disallowSelectAll:v=!1,selectOnFocus:g="replace"===r.selectionBehavior,disallowTypeAhead:b=!1,shouldUseVirtualFocus:m,allowsTabNavigation:x=!1,isVirtualized:w,scrollRef:K=f,linkBehavior:k="action"}=e,{direction:S}=(0,s.bU)(),P=(0,l.tv)(),C=(0,o.useRef)({top:0,left:0});(0,l.zX)(K,"scroll",w?null:()=>{C.current={top:K.current.scrollTop,left:K.current.scrollLeft}});let M=(0,o.useRef)(p);(0,o.useEffect)(()=>{if(M.current){let e=null;"first"===p&&(e=d.getFirstKey()),"last"===p&&(e=d.getLastKey());let t=r.selectedKeys;if(t.size){for(let n of t)if(r.canSelectItem(n)){e=n;break}}r.setFocused(!0),r.setFocusedKey(e),null!=e||m||(0,a.ex)(f.current)}},[]);let j=(0,o.useRef)(r.focusedKey);(0,o.useEffect)(()=>{let e=(0,i.Jz)();if(r.isFocused&&null!=r.focusedKey&&(null==K?void 0:K.current)){let t=K.current.querySelector(`[data-key="${CSS.escape(r.focusedKey.toString())}"]`);t&&("keyboard"===e||M.current)&&(w||(0,l.zT)(K.current,t),"virtual"!==e&&(0,l.Gt)(t,{containingElement:f.current}))}r.isFocused&&null==r.focusedKey&&null!=j.current&&(0,a.ex)(f.current),j.current=r.focusedKey,M.current=!1},[w,K,r.focusedKey,r.isFocused,f]);let D={onKeyDown:e=>{var t,o,i,s,p,b,m,w;if(e.altKey&&"Tab"===e.key&&e.preventDefault(),!f.current.contains(e.target))return;let C=(t,o)=>{if(null!=t){if(r.isLink(t)&&"selection"===k&&g&&!u(e)){(0,n.flushSync)(()=>{r.setFocusedKey(t,o)});let a=K.current.querySelector(`[data-key="${CSS.escape(t.toString())}"]`);P.open(a,e);return}r.setFocusedKey(t,o),r.isLink(t)&&"override"===k||(e.shiftKey&&"multiple"===r.selectionMode?r.extendSelection(t):g&&!u(e)&&r.replaceSelection(t))}};switch(e.key){case"ArrowDown":if(d.getKeyBelow){e.preventDefault();let n=null!=r.focusedKey?d.getKeyBelow(r.focusedKey):null===(t=d.getFirstKey)||void 0===t?void 0:t.call(d);null==n&&y&&(n=null===(o=d.getFirstKey)||void 0===o?void 0:o.call(d,r.focusedKey)),C(n)}break;case"ArrowUp":if(d.getKeyAbove){e.preventDefault();let t=null!=r.focusedKey?d.getKeyAbove(r.focusedKey):null===(i=d.getLastKey)||void 0===i?void 0:i.call(d);null==t&&y&&(t=null===(s=d.getLastKey)||void 0===s?void 0:s.call(d,r.focusedKey)),C(t)}break;case"ArrowLeft":if(d.getKeyLeftOf){e.preventDefault();let t=d.getKeyLeftOf(r.focusedKey);null==t&&y&&(t="rtl"===S?null===(p=d.getFirstKey)||void 0===p?void 0:p.call(d,r.focusedKey):null===(b=d.getLastKey)||void 0===b?void 0:b.call(d,r.focusedKey)),C(t,"rtl"===S?"first":"last")}break;case"ArrowRight":if(d.getKeyRightOf){e.preventDefault();let t=d.getKeyRightOf(r.focusedKey);null==t&&y&&(t="rtl"===S?null===(m=d.getLastKey)||void 0===m?void 0:m.call(d,r.focusedKey):null===(w=d.getFirstKey)||void 0===w?void 0:w.call(d,r.focusedKey)),C(t,"rtl"===S?"last":"first")}break;case"Home":if(d.getFirstKey){e.preventDefault();let t=d.getFirstKey(r.focusedKey,c(e));r.setFocusedKey(t),c(e)&&e.shiftKey&&"multiple"===r.selectionMode?r.extendSelection(t):g&&r.replaceSelection(t)}break;case"End":if(d.getLastKey){e.preventDefault();let t=d.getLastKey(r.focusedKey,c(e));r.setFocusedKey(t),c(e)&&e.shiftKey&&"multiple"===r.selectionMode?r.extendSelection(t):g&&r.replaceSelection(t)}break;case"PageDown":d.getKeyPageBelow&&(e.preventDefault(),C(d.getKeyPageBelow(r.focusedKey)));break;case"PageUp":d.getKeyPageAbove&&(e.preventDefault(),C(d.getKeyPageAbove(r.focusedKey)));break;case"a":c(e)&&"multiple"===r.selectionMode&&!0!==v&&(e.preventDefault(),r.selectAll());break;case"Escape":e.preventDefault(),h||r.clearSelection();break;case"Tab":if(!x){if(e.shiftKey)f.current.focus();else{let e,t,r=(0,a.QL)(f.current,{tabbable:!0});do(t=r.lastChild())&&(e=t);while(t);e&&!e.contains(document.activeElement)&&(0,l.Ao)(e)}}}},onFocus:e=>{if(r.isFocused){e.currentTarget.contains(e.target)||r.setFocused(!1);return}if(e.currentTarget.contains(e.target)){if(r.setFocused(!0),null==r.focusedKey){var t,n;let o=e=>{null!=e&&(r.setFocusedKey(e),g&&r.replaceSelection(e))},a=e.relatedTarget;a&&e.currentTarget.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_FOLLOWING?o(null!==(t=r.lastSelectedKey)&&void 0!==t?t:d.getLastKey()):o(null!==(n=r.firstSelectedKey)&&void 0!==n?n:d.getFirstKey())}else w||(K.current.scrollTop=C.current.top,K.current.scrollLeft=C.current.left);if(!w&&null!=r.focusedKey){let e=K.current.querySelector(`[data-key="${CSS.escape(r.focusedKey.toString())}"]`);e&&(e.contains(document.activeElement)||(0,l.Ao)(e),"keyboard"===(0,i.Jz)()&&(0,l.Gt)(e,{containingElement:f.current}))}}},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||r.setFocused(!1)},onMouseDown(e){K.current===e.target&&e.preventDefault()}},{typeSelectProps:N}=function(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,a=(0,o.useRef)({search:"",timeout:null}).current;return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{var o;let l=1!==(o=e.key).length&&/^[A-Z]/i.test(o)?"":o;if(!l||e.ctrlKey||e.metaKey||!e.currentTarget.contains(e.target))return;" "!==l||!(a.search.trim().length>0)||(e.preventDefault(),"continuePropagation"in e||e.stopPropagation()),a.search+=l;let i=t.getKeyForSearch(a.search,r.focusedKey);null==i&&(i=t.getKeyForSearch(a.search)),null!=i&&(r.setFocusedKey(i),n&&n(i)),clearTimeout(a.timeout),a.timeout=setTimeout(()=>{a.search=""},1e3)}:null}}}({keyboardDelegate:d,selectionManager:r});return b||(D=(0,l.dG)(N,D)),m||(t=null==r.focusedKey?0:-1),{collectionProps:{...D,tabIndex:t}}}({...e,ref:f,selectionManager:t,keyboardDelegate:g});return{listProps:b}}},8861:function(e,t,r){r.d(t,{D:function(){return i}});var n=r(16644),o=r(24626),a=r(50627),l=r(79682);function i(e){let{value:t=0,minValue:r=0,maxValue:i=100,valueLabel:s,isIndeterminate:u,formatOptions:c={style:"percent"}}=e,d=(0,n.zL)(e,{labelable:!0}),{labelProps:f,fieldProps:p}=(0,a.N)({...e,labelElementType:"span"}),y=((t=(0,o.uZ)(t,r,i))-r)/(i-r),h=(0,l.Ux)(c);if(!u&&!s){let e="percent"===c.style?y:t;s=h.format(e)}return{progressBarProps:(0,n.dG)(d,{...p,"aria-valuenow":u?void 0:t,"aria-valuemin":r,"aria-valuemax":i,"aria-valuetext":u?void 0:s,role:"progressbar"}),labelProps:f}}},37353:function(e,t,r){r.d(t,{D:function(){return u}});var n=r(82695),o=r(93281),a=r(2265),l=r(87551),i=r(24626);class s{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}constructor(e,{expandedKeys:t}={}){let r;this.keyMap=new Map,this.iterable=e,t=t||new Set;let n=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&("section"===e.type||t.has(e.key)))for(let t of e.childNodes)n(t)};for(let t of e)n(t);let o=0;for(let[e,t]of this.keyMap)r?(r.nextKey=e,t.prevKey=r.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=o++),(r=t).nextKey=void 0;this.lastKey=null==r?void 0:r.key}}function u(e){let[t,r]=(0,i.zk)(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,e.onExpandedChange),u=(0,n.q)(e),c=(0,a.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),d=(0,l.Kx)(e,(0,a.useCallback)(e=>new s(e,{expandedKeys:t}),[t]),null);return(0,a.useEffect)(()=>{null==u.focusedKey||d.getItem(u.focusedKey)||u.setFocusedKey(null)},[d,u.focusedKey]),{collection:d,expandedKeys:t,disabledKeys:c,toggleKey:e=>{let n;r(((n=new Set(t)).has(e)?n.delete(e):n.add(e),n))},setExpandedKeys:r,selectionManager:new o.Z(d,u)}}}}]);