1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6848],{91652:function(e,r,t){t.d(r,{S:function(){return l}});var a=t(82962),n=t(12685),o=t(57437),s=e=>{let{getMenuTriggerProps:r}=(0,a.t)(),{children:t,...s}=e;return(0,o.jsx)(n.b,{...r(s),children:t})};s.displayName="NextUI.DropdownTrigger";var l=s},27227:function(e,r,t){t.d(r,{F:function(){return d}});var a=t(82962),n=t(31819),o=t(2265),s=t(18832),l=t(57437),i=e=>{let{children:r,...t}=e,i=(0,n.x)(t),[d,u]=o.Children.toArray(r);return(0,l.jsx)(a.K,{value:i,children:(0,l.jsxs)(s.j,{...i.getPopoverProps(),children:[d,u]})})};i.displayName="NextUI.Dropdown";var d=i},31819:function(e,r,t){t.d(r,{x:function(){return g}});var a=t(12094),n=t(75699),o=t(91051),s=t(94405),l=t(92481),i=(0,s.tv)({base:["w-full","p-1","min-w-[200px]"]});(0,s.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",...l.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,s.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,s.tv)({base:"w-full flex flex-col gap-0.5 p-1"});var d=t(65263),u=t(65262),c=t(22947),p=t(2265),v=t(22173),h=(e,r)=>{if(e){let t=Array.isArray(e.children)?e.children:[...(null==e?void 0:e.items)||[]];if(t&&t.length)return t.find(e=>{if(e&&e.key===r)return e})||{}}return null},f=(e,r,t)=>{let a=t||h(e,r);return a&&a.props&&"closeOnSelect"in a.props?a.props.closeOnSelect:null==e?void 0:e.closeOnSelect};function g(e){var r;let t=(0,a.w)(),{as:s,triggerRef:l,isOpen:h,defaultOpen:g,onOpenChange:b,isDisabled:y,type:x="menu",trigger:m="press",placement:w="bottom",closeOnSelect:P=!0,shouldBlockScroll:k=!0,classNames:K,disableAnimation:j=null!=(r=null==t?void 0:t.disableAnimation)&&r,onClose:C,className:M,...N}=e,S=(0,p.useRef)(null),D=l||S,A=(0,p.useRef)(null),I=(0,p.useRef)(null),F=(0,n.W)({trigger:m,isOpen:h,defaultOpen:g,onOpenChange:e=>{null==b||b(e),e||null==C||C()}}),{menuTriggerProps:E,menuProps:O}=(0,o.u)({type:x,trigger:m,isDisabled:y},F,D),B=(0,p.useMemo)(()=>i({className:M}),[M]),U=e=>{(void 0===e||e)&&P&&F.close()};return{Component:s||"div",menuRef:A,menuProps:O,classNames:B,closeOnSelect:P,onClose:F.close,autoFocus:
1F.focusStrategy||!0,disableAnimation:j,getPopoverProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=(0,v.d)(N,e);return{state:F,placement:w,ref:I,disableAnimation:j,shouldBlockScroll:k,scrollRef:A,triggerRef:D,...r,classNames:{...K,...e.classNames,content:(0,d.W)(B,null==K?void 0:K.content,e.className)},shouldCloseOnInteractOutside:(null==r?void 0:r.shouldCloseOnInteractOutside)?r.shouldCloseOnInteractOutside:e=>(0,c.J)(e,S,F)}},getMenuProps:function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{ref:(0,u.l)(r,A),menuProps:O,closeOnSelect:P,...(0,v.d)(e,{onAction:(r,t)=>{U(f(e,r,t))},onClose:F.close})}},getMenuTriggerProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{onPress:r,onPressStart:t,...a}=E;return(0,v.d)(a,{isDisabled:y},e)}}}},35769:function(e,r,t){t.d(r,{a:function(){return d}});var a=t(82962),n=t(17976),o=t(27546),s=t(55971),l=t(25852),i=t(57437),d=(0,s.Gp)(function(e,r){let{getMenuProps:t}=(0,a.t)();return(0,i.jsx)(n.g,{children:(0,i.jsx)(o.MT,{contain:!0,restoreFocus:!0,children:(0,i.jsx)(l.U,{...t(e,r)})})})})},82962:function(e,r,t){t.d(r,{K:function(){return a},t:function(){return n}});var[a,n]=(0,t(37561).k)({name:"DropdownContext",errorMessage:"useDropdownContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Dropdown />`"})},25852:function(e,r,t){t.d(r,{U:function(){return F}});var a=t(57437);function n(e){let{isSelected:r,disableAnimation:t,...n}=e;return(0,a.jsx)("svg",{"aria-hidden":"true","data-selected":r,role:"presentation",viewBox:"0 0 17 18",...n,children:(0,a.jsx)("polyline",{fill:"none",points:"1 9 7 14 15 4",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:r?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,style:t?{}:{transition:"stroke-dashoffset 200ms ease"}})})}var o=t(2265),s=t(28764),l=t(12094),i=t(55971),d=t(13389),u=t(8819),c=t(2285),p=t(65263),v=t(53640),h=t(93598),f=t(46671),g=t(80612),b=t(60357),y=t(22173),x=t(61017),m=t(53948),w=t(83892),P=t(95729),k=t(98389),K=t(19747),j=t(59375),C=t(66669),M=t(75300),N=e=>{let{Component:r,slots:t,classNames:N,rendered:S,shortcut:D,description:A,isSelectable:I,isSelected:F,isDisabled:E,selectedIcon:O,startContent:B,endContent:U,disableAnimation:H,hideSelectedIcon:W,getItemProps:z,getLabelProps:T,getDescriptionProps:R,getKeyboardShortcutProps:L,getSelectedIconProps:V}=function(e){var r,t;let a=(0,l.w)(),[n,N]=(0,i.oe)(e,s.D9.variantKeys),{as:S,item:D,state:A,shortcut:I,description:F,startContent:E,endContent:O,isVirtualized:B,selectedIcon:U,className:H,classNames:W,onAction:z,autoFocus:T,onPress:R,onPressStart:L,onPressUp:V,onPressEnd:G,onPressChange:X,onHoverStart:_,onHoverChange:q,onHoverEnd:Z,hideSelectedIcon:J=!1,isReadOnly:Y=!1,closeOnSelect:Q,onClose:$,onClick:ee,...er}=n,et=null!=(t=null!=(r=e.disableAnimation)?r:null==a?void 0:a.disableAnimation)&&t,ea=(0,o.useRef)(null),en=S||((null==er?void 0:er.href)?"a":"li"),eo="string"==typeof en,{rendered:es,key:el}=D,ei=A.disabledKeys.has(el)||e.isDisabled,ed="none"!==A.selectionManager.selectionMode,eu=(0,C.d)(),{isFocusVisible:ec,focusProps:ep}=(0,d.F)({autoFocus:T});ee&&"function"==typeof ee&&(0,u.Z)("onClick is deprecated, please use onPress instead. See: https://github.com/nextui-org/nextui/issues/4292","MenuItem");let{isPressed:ev,isFocused:eh,isSelected:ef,isDisabled:eg,menuItemProps:eb,labelProps:ey,descriptionProps:ex,keyboardShortcutProps:em}=function(e,r,t){var a,n;let{id:o,key:s,closeOnSelect:l,isVirtualized:i,"aria-haspopup":d,onPressStart:u,onPressUp:c,onPress:p,onPressChange:v,onPressEnd:C,onHoverStart:M,onHoverChange:N,onHoverEnd:S,onKeyDown:D,onKeyUp:A,onFocus:I,onFocusChange:F,onBlur:E,selectionManager:O=r.selectionManager}=e,B=!!d,U=B&&"true"===e["aria-expanded"],H=null!==(a=e.isDisabled)&&void 0!==a?a:O.isDisabled(s),W=null!==(n=e.isSelected)&&void 0!==n?n:O.isSelected(s),z=(0,h.K).get(r),T=r.collection.getItem(s),R=e.onClose||z.onClose,L=(0,f.tv)(),V=r=>{var t;!B&&((null==T?void 0:null===(t=T.props)||void 0===t?void 0:t.onAction)?T.props.onAction():e.onAction&&e.onAction(s),z.onAction&&(0,z.onAction)(s),r.target instanceof HTMLAnchorElement&&T&&L.open(r.target,r,T.props.href,T.props.routerOptions))},G="menuitem";B||("single"===O.selectionMode?G="menuitemradio":"multiple"!==O.selectionMode||(G="menuitemcheckbox"));let X=(0,g.mp)(),_=(0,g.mp)(),q=(0,g.mp)(),Z={id:o,"aria-disabled":H||void 0,role:G,"aria-label":e["aria-label"],"aria-labelledby":X,"aria-describedby":[_,q].filter(
1Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":d,"aria-expanded":e["aria-expanded"]};"none"===O.selectionMode||B||(Z["aria-checked"]=W),i&&(Z["aria-posinset"]=null==T?void 0:T.index,Z["aria-setsize"]=(0,x.i)(r.collection));let{itemProps:J,isFocused:Y}=(0,j.C)({selectionManager:O,key:s,ref:t,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none"}),{pressProps:Q,isPressed:$}=(0,m.r)({onPressStart:e=>{"keyboard"===e.pointerType&&V(e),null==u||u(e)},onPress:p,onPressUp:e=>{"keyboard"!==e.pointerType&&(V(e),!B&&R&&(null!=l?l:"multiple"!==O.selectionMode||O.isLink(s))&&R()),null==c||c(e)},onPressChange:v,onPressEnd:C,isDisabled:H}),{hoverProps:ee}=(0,w.X)({isDisabled:H,onHoverStart(e){(0,P.E)()||U&&"dialog"===d||(O.setFocused(!0),O.setFocusedKey(s)),null==M||M(e)},onHoverChange:N,onHoverEnd:S}),{keyboardProps:er}=(0,k.v)({onKeyDown:e=>{if(e.repeat){e.continuePropagation();return}switch(e.key){case" ":H||"none"!==O.selectionMode||B||!1===l||!R||R();break;case"Enter":H||!1===l||B||!R||R();break;default:B||e.continuePropagation(),null==D||D(e)}},onKeyUp:A}),{focusProps:et}=(0,K.K)({onBlur:E,onFocus:I,onFocusChange:F}),ea=(0,b.z)(null==T?void 0:T.props);delete ea.id;let en=(0,f.eY)(null==T?void 0:T.props);return{menuItemProps:{...Z,...(0,y.d)(ea,en,B?{onFocus:J.onFocus,"data-key":J["data-key"]}:J,Q,ee,er,et),tabIndex:null!=J.tabIndex&&U?-1:J.tabIndex},labelProps:{id:X},descriptionProps:{id:_},keyboardShortcutProps:{id:q},isFocused:Y,isSelected:W,isPressed:$,isDisabled:H}}({key:el,onClose:$,isDisabled:ei,onPress:(0,o.useCallback)(e=>{null==ee||ee(e),null==R||R(e)},[ee,R]),onPressStart:L,onPressUp:V,onPressEnd:G,onPressChange:X,"aria-label":n["aria-label"],closeOnSelect:Q,isVirtualized:B,onAction:z},A,ea),{hoverProps:ew,isHovered:eP}=(0,w.X)({isDisabled:eg,onHoverStart(e){(0,P.E)()||(A.selectionManager.setFocused(!0),A.selectionManager.setFocusedKey(el)),null==_||_(e)},onHoverChange:q,onHoverEnd:Z}),ek=eb,eK=(0,o.useMemo)(()=>(0,s.D9)({...N,isDisabled:eg,disableAnimation:et,hasTitleTextChild:"string"==typeof es,hasDescriptionTextChild:"string"==typeof F}),[(0,c.Xx)(N),eg,et,es,F]),ej=(0,p.W)(null==W?void 0:W.base,H);Y&&(ek=(0,c.Os)(ek));let eC=(0,o.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"aria-hidden":(0,v.PB)(!0),"data-disabled":(0,v.PB)(eg),className:eK.selectedIcon({class:null==W?void 0:W.selectedIcon}),...e}},[eg,eK,W]);return{Component:en,domRef:ea,slots:eK,classNames:W,isSelectable:ed,isSelected:ef,isDisabled:eg,rendered:es,shortcut:I,description:F,startContent:E,endContent:O,selectedIcon:U,disableAnimation:et,getItemProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:ea,...(0,y.d)(Y?{}:ep,(0,M.z)(er,{enabled:eo}),ek,ew,e),"data-focus":(0,v.PB)(eh),"data-selectable":(0,v.PB)(ed),"data-hover":(0,v.PB)(eu?eP||ev:eP),"data-disabled":(0,v.PB)(eg),"data-selected":(0,v.PB)(ef),"data-pressed":(0,v.PB)(ev),"data-focus-visible":(0,v.PB)(ec),className:eK.base({class:(0,p.W)(ej,e.className)})}},getLabelProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,y.d)(ey,e),className:eK.title({class:null==W?void 0:W.title})}},hideSelectedIcon:J,getDescriptionProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,y.d)(ex,e),className:eK.description({class:null==W?void 0:W.description})}},getKeyboardShortcutProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,y.d)(em,e),className:eK.shortcut({class:null==W?void 0:W.shortcut})}},getSelectedIconProps:eC}}(e),G=(0,o.useMemo)(()=>{let e=(0,a.jsx)(n,{disableAnimation:H,isSelected:F});return"function"==typeof O?O({icon:e,isSelected:F,isDisabled:E}):O||e},[O,F,E,H]);return(0,a.jsxs)(r,{...z(),children:[B,A?(0,a.jsxs)("div",{className:t.wrapper({class:null==N?void 0:N.wrapper}),children:[(0,a.jsx)("span",{...T(),children:S}),(0,a.jsx)("span",{...R(),children:A})]}):(0,a.jsx)("span",{...T(),children:S}),D&&(0,a.jsx)("kbd",{...L(),children:D}),I&&!W&&(0,a.jsx)("span",{...V(),children:G}),U]})};N.displayName="NextUI.MenuItem";var S=t(57511),D=(0,i.Gp)((e,r)=>{let{item:t,state:n,as:l,variant:i,color:d,disableAnimation:u,onAction:c,closeOnSelect:v,className:h,classNames:f,showDivider:b=!1,hideSelectedIcon:x,dividerProps:m={},itemClasses:w,title:P,...k}=e,K=(0,o.useMemo)(()=>(0,s.Dk)(),[]),j=(0,p.W)(null==f?void 0:f.base,h),C=(0,p.W)(null==f?void 0:f.divider,null==m?void 0:m.className),{itemProps:M,headingProps:D,groupProps:A}=function(e){let{heading:r,"aria-label":t}=e,a=(0,g.Me)();return{itemProps:{role:"presentation"},headingProps:r?{id:a,role:"presentation"}:{},groupProps:{role:"group","aria-label":t,"aria-labelledby":r?a:void 0}}}({heading:t.rendered,"aria-label":t["aria-label"]});return(0,a.jsxs)(l||"li",{"data-slot":"base",...(0,y.d)(M,k),className:K.base({class:j}),children:[t.rendered&&(0,a.jsx)("span",{...D,className:K.heading({class:null==f?void 0:f.heading}),"data-slot":"heading",children:t.rendered}),(0,a.jsxs)("ul",{...A,className:K.group({class:null==f?void 0:f.group}),"data-has-title":!!t.rendered,"data-slot":"group",children:[[...t.childNodes].map(e=>{let{key:r,props:t}=e,o=(0,a.jsx)(N,{classNames:w,closeOnSelect:v,color:d,disableAnimation:u,hideSelectedIcon:x,item:e,state:n,variant:i,onAction:c,...t},r);return e.wrapper&&(o=e.wrapper(o)),o}),b&&(0,a.jsx)(S.j,{as:"li",className:K.divider({class:C}),...m})]})]})});D.displayName="NextUI.MenuSection";var A=t(23898),I=(e,r)=>e||r?Array.from(new Set([...Object.keys(e||{}),...Object.keys(r||{})])).reduce((t,a)=>({...t,[a]:(0,p.W)(null==e?void 0:e[a],null==r?void 0:r[a])}),{}):{},F=(0,i.Gp)(function(e,r){let{Component:t,state:n,closeOnSelect:o,color:s,disableAnimation:l,hideSelectedIcon:i,hideEmptyContent:d,variant:u,onClose:c,topContent:p,bottomContent:v,itemClasses:h,getBaseProps:f,getListProps:g,getEmptyContentProps:b}=(0,A.H)({...e,ref:r}),y=(0,a.jsxs)(t,{...g(),children:[!n.collection.size&&!d&&(0,a.jsx)("li",{children:(0,a.jsx)("div",{...b()})}),[...n.collection].map(e=>{let r={closeOnSelect:o,color:s,disableAnimation:l,item:e,state:n,variant:u,onClose:c,hideSelectedIcon:i,...e.props},t=I(h,null==r?void 0:r.classNames);if("section"===e.type)return(0,a.jsx)(D,{...r,itemClasses:t},e.key);let d=(0,a.jsx)(N,{...r,classNames:t},e.key);return e.wrapper&&(d=e.wrapper(d)),d})]});return(0,a.jsxs)("div",{...f(),children:[p,y,v]})})},23898:function(e,r,t){t.d(r,{H:function(){return c}});var a=t(12094),n=t(93598),o=t(28764),s=t(34553),l=t(26242),i=t(75300),d=t(2265),u=t(65263);function c(e){var r;let t=(0,a.w)(),{as:c,ref:p,variant:v,color:h,children:f,disableAnimation:g=null!=(r=null==t?void 0:t.disableAnimation)&&r,onAction:b,closeOnSelect:y,itemClasses:x,className:m,state:w,topContent:P,bottomContent:k,hideEmptyContent:K=!1,hideSelectedIcon:j=!1,emptyContent:C="No items.",menuProps:M,onClose:N,classNames:S,...D}
1=e,A=c||"ul",I=(0,l.gy)(p),F="string"==typeof A,E=(0,s.D)({...D,...M,children:f}),O=w||E,{menuProps:B}=(0,n.H)({...D,...M,onAction:b},O,I),U=(0,d.useMemo)(()=>(0,o.GI)({className:m}),[m]),H=(0,u.W)(null==S?void 0:S.base,m);return{Component:A,state:O,variant:v,color:h,disableAnimation:g,onClose:N,topContent:P,bottomContent:k,closeOnSelect:y,className:m,itemClasses:x,getBaseProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:I,"data-slot":"base",className:U.base({class:H}),...(0,i.z)(D,{enabled:F}),...e}},getListProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"list",className:U.list({class:null==S?void 0:S.list}),...B,...e}},hideEmptyContent:K,hideSelectedIcon:j,getEmptyContentProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{children:C,className:U.emptyContent({class:null==S?void 0:S.emptyContent}),...e}}}}},2428:function(e,r,t){t.d(r,{W:function(){return a}});var a=t(82563).c},12685:function(e,r,t){t.d(r,{b:function(){return c}});var a=t(43783),n=t(2265),o=t(37994),s=t(5150),l=t(84447),i=t(22173),d=t(57437),u=e=>{var r;let{triggerRef:t,getTriggerProps:u}=(0,a.l)(),{children:c,...p}=e,v=(0,n.useMemo)(()=>"string"==typeof c?(0,d.jsx)("p",{children:c}):n.Children.only(c),[c]),h=null!=(r=v.props.ref)?r:v.ref,{onPress:f,isDisabled:g,...b}=(0,n.useMemo)(()=>u((0,i.d)(p,v.props),h),[u,v.props,p,h]),[,y]=(0,o.N)(c,l.A),{buttonProps:x}=(0,s.j)({onPress:f,isDisabled:g},t),m=(0,n.useMemo)(()=>(null==y?void 0:y[0])!==void 0,[y]);return(0,n.cloneElement)(v,(0,i.d)(b,m?{onPress:f,isDisabled:g}:x))};u.displayName="NextUI.PopoverTrigger";var c=u},17976:function(e,r,t){t.d(r,{g:function(){return h}});var a=t(43783),n=t(2265),o=t(97965),s=t(79046),l=t(60980),i=t(86660),d=t(23663),u=t(6511),c=t(57437),p=()=>t.e(730).then(t.bind(t,9088)).then(e=>e.default),v=e=>{let{as:r,children:t,className:v,...h}=e,{Component:f,placement:g,backdrop:b,motionProps:y,disableAnimation:x,getPopoverProps:m,getDialogProps:w,getBackdropProps:P,getContentProps:k,isNonModal:K,onClose:j}=(0,a.l)(),C=(0,n.useRef)(null),{dialogProps:M,titleProps:N}=(0,u.R)({},C),S=w({ref:C,...M,...h}),D=(0,c.jsxs)(c.Fragment,{children:[!K&&(0,c.jsx)(o.U,{onDismiss:j}),(0,c.jsx)(r||f||"div",{...S,children:(0,c.jsx)("div",{...k({className:v}),children:"function"==typeof t?t(N):t})}),(0,c.jsx)(o.U,{onDismiss:j})]}),A=(0,n.useMemo)(()=>"transparent"===b?null:x?(0,c.jsx)("div",{...P()}):(0,c.jsx)(l.X,{features:p,children:(0,c.jsx)(i.m.div,{animate:"enter",exit:"exit",initial:"exit",variants:s.y7.fade,...P()})}),[b,x,P]),I=g?(0,d.VS)("center"===g?"top":g):void 0,F=(0,c.jsx)(c.Fragment,{children:x?D:(0,c.jsx)(l.X,{features:p,children:(0,c.jsx)(i.m.div,{animate:"enter",exit:"exit",initial:"initial",style:I,variants:s.y7.scaleSpringOpacity,...y,children:D})})});return(0,c.jsxs)("div",{...m(),children:[A,F]})};v.displayName="NextUI.PopoverContent";var h=v},18832:function(e,r,t){t.d(r,{j:function(){return c}});var a=t(43783),n=t(6345),o=t(2265),s=t(55971),l=t(71368),i=t(34446),d=t(57437),u=(0,s.Gp)((e,r)=>{let{children:t,...s}=e,u=(0,n.S)({...s,ref:r}),[c,p]=o.Children.toArray(t),v=(0,d.jsx)(l.aV,{portalContainer:u.portalContainer,children:p});return(0,d.jsxs)(a.H,{value:u,children:[c,u.disableAnimation&&u.isOpen?v:(0,d.jsx)(i.M,{children:u.isOpen?v:null})]})});u.displayName="NextUI.Popover";var c=u},43783:function(e,r,t){t.d(r,{H:function(){return a},l:function(){return n}});var[a,n]=(0,t(37561).k)({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Popover />`"})},37994:function(e,r,t){t.d(r,{N:function(){return o},W:function(){return n}});var a=t(2265);function n(e){return a.Children.toArray(e).filter(e=>(0,a.isValidElement)(e))}var o=(e,r)=>{var t;let n=[];return[null==(t=a.Children.map(e,e=>(0,a.isValidElement)(e)&&e.type===r?(n.push(e),null):e))?void 0:t.filter(Boolean),n.length>=0?n:void 0]}},93598:function(e,r,t){t.d(r,{H:function(){return l},K:function(){return s}});var a=t(60357),n=t(22173),o=t(8993);let s=new WeakMap;function l(e,r,t){let{shouldFocusWrap:l=!0,onKeyDown:i,onKeyUp:d,...u}=e;e["aria-label"]||e["aria-labelledby"]||console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let c=(0,a.z)(e,{labelable:!0}),{listProps:p}=(0,o._)({...u,ref:t,selectionManager:r.selectionManager,collection:r.collection,disabledKeys:r.disabledKeys,shouldFocusWrap:l,linkBehavior:"override"});return s.set(r,{onClose:e.onClose,onAction:e.onAction}),{menuProps:(0,n.d)(c,{onKeyDown:i,onKeyUp:d},{role:"menu",...p,onKeyDown:e=>{var r;"Escape"!==e.key&&(null===(r=p.onKeyDown)||void 0===r||r.call(p,e))}})}}},34553:function(e,r,t){t.d(r,{D:function(){return d}});class a{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){var r;let t=this.keyMap.get(e);return t&&null!==(r=t.prevKey)&&void 0!==r?r:null}getKeyAfter(e){var r;let t=this.keyMap.get(e);return t&&null!==(r=t.nextKey)&&void 0!==r?r:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){var r;return null!==(r=this.keyMap.get(e))&&void 0!==r?r:null}at(e){let r=[...this.getKeys()];return this.getItem(r[e])}constructor(e,{expandedKeys:r}={}){var t;this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e,r=r||new Set;let a=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&("section"===e.type||r.has(e.key)))for(let r of e.childNodes)a(r)};for(let r of e)a(r);let n=null,o=0;for(let[e,r]of this.keyMap)n?(n.nextKey=e,r.prevKey=n.key):(this.firstKey=e,r.prevKey=void 0),"item"===r.type&&(r.index=o++),(n=r).nextKey=void 0;this.lastKey=null!==(t=null==n?void 0:n.key)&&void 0!==t?t:null}}var n=t(18926),o=t(12187),s=t(2265),l=t(34921),i=t(41821);function d(e){let{onExpandedChange:r}=e,[t,d]=(0,i.z)(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,r),u=(0,n.q)(e),c=(0,s.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),p=(0,l.K)(e,(0,s.useCallback)(e=>new a(e,{expandedKeys:t}),[t]),null);return(0,s.useEffect)(()=>
1{null==u.focusedKey||p.getItem(u.focusedKey)||u.setFocusedKey(null)},[p,u.focusedKey]),{collection:p,expandedKeys:t,disabledKeys:c,toggleKey:e=>{let r;d(((r=new Set(t)).has(e)?r.delete(e):r.add(e),r))},setExpandedKeys:d,selectionManager:new o.Z(p,u)}}}}]);
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.