PageSourceSearch

https://www.azs.ai/_next/static/chunks/748-2077eb8b853f7d7c.js

js azs.ai collected 2026-10-06 12:06:00 UTC 335,797 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[748],{75224:function(e,t,r){r.d(t,{$:function(){return i}});var n=r(2265);function o(e){return null}o.getCollectionNode=function*(e){let{children:t,title:r,items:o}=e;yield{type:"section",props:e,hasChildNodes:!0,rendered:r,"aria-label":e["aria-label"],*childNodes(){if("function"==typeof t){if(!o)throw Error("props.children was a function but props.items is missing");for(let e of o)yield{type:"item",value:e,renderer:t}}else{let e=[];n.Children.forEach(t,t=>{e.push({type:"item",element:t})}),yield*e}}}};let i=o},39487:function(e,t,r){r.d(t,{f:function(){return o}});var n=r(57437),o=()=>(0,n.jsxs)("svg",{"aria-hidden":"true",fill:"none",height:"80%",role:"presentation",viewBox:"0 0 24 24",width:"80%",children:[(0,n.jsx)("path",{d:"M12 2C9.38 2 7.25 4.13 7.25 6.75C7.25 9.32 9.26 11.4 11.88 11.49C11.96 11.48 12.04 11.48 12.1 11.49C12.12 11.49 12.13 11.49 12.15 11.49C12.16 11.49 12.16 11.49 12.17 11.49C14.73 11.4 16.74 9.32 16.75 6.75C16.75 4.13 14.62 2 12 2Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M17.0809 14.1489C14.2909 12.2889 9.74094 12.2889 6.93094 14.1489C5.66094 14.9989 4.96094 16.1489 4.96094 17.3789C4.96094 18.6089 5.66094 19.7489 6.92094 20.5889C8.32094 21.5289 10.1609 21.9989 12.0009 21.9989C13.8409 21.9989 15.6809 21.5289 17.0809 20.5889C18.3409 19.7389 19.0409 18.5989 19.0409 17.3589C19.0309 16.1289 18.3409 14.9889 17.0809 14.1489Z",fill:"currentColor"})]})},59911:function(e,t,r){r.d(t,{C:function(){return o},k:function(){return n}});var[n,o]=(0,r(52106).k)({name:"AvatarGroupContext",strict:!1})},5881:function(e,t,r){r.d(t,{F:function(){return E}});var n=r(59911),o=r(65841),i=r(22450),a=r(2265);"undefined"!=typeof window&&window.document&&window.document.createElement;let l=new Map;var s=r(61994);function u(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],o=n[e];"function"==typeof r&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}(r,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof o?t[e]=(0,s.Z)(r,o):"id"===e&&r&&o?t.id=function(e,t){if(e===t)return e;let r=l.get(e);if(r)return r.forEach(e=>e(t)),t;let n=l.get(t);return n?(n.forEach(t=>t(e)),e):t}(r,o):t[e]=void 0!==o?o:r}}return t}var d=r(45280),c=r(39150),f=r(57173),p=r(16367),g=r(28262),v=r(43096),y=r(24672);let m=!1,h=0;function b(){m=!0,setTimeout(()=>{m=!1},50)}function T(e){"touch"===e.pointerType&&b()}function w(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",T):document.addEventListener("touchend",b),h++,()=>{--h>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",T):document.removeEventListener("touchend",b))}}function E(){var e,t,r,l,s,h;let b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=(0,i.w)(),E=(0,n.C)(),P=!!E,{as:K,ref:k,src:x,name:S,icon:L,classNames:M,fallback:C,alt:A=S||"avatar",imgRef:D,color:N=null!=(e=null==E?void 0:E.color)?e:"default",radius:I=null!=(t=null==E?void 0:E.radius)?t:"full",size:O=null!=(r=null==E?void 0:E.size)?r:"md",isBordered:F=null!=(l=null==E?void 0:E.isBordered)&&l,isDisabled:R=null!=(s=null==E?void 0:E.isDisabled)&&s,isFocusable:H=!1,getInitials:B=f.e,ignoreFallback:j=!1,showFallback:z=!1,ImgComponent:W="img",imgProps:U,className:V,onError:G,disableAnimation:X,..._}=b,Y=K||"span",Z=(0,d.gy)(k),J=(0,d.gy)(D),{isFocusVisible:q,isFocused:$,focusProps:Q}=(0,v.F)(),{isHovered:ee,hoverProps:et}=function(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[i,l]=(0,a.useState)(!1),s=(0,a.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,a.useEffect)(w,[]);let{hoverProps:u,triggerHoverEnd:d}=(0,a.useMemo)(()=>{let e=(e,n)=>{if(s.pointerType=n,o||"touch"===n||s.isHovered||!e.currentTarget.contains(e.target))return;s.isHovered=!0;let i=e.currentTarget;s.target=i,t&&t({type:"hoverstart",target:i,pointerType:n}),r&&r(!0),l(!0)},i=(e,t)=>{if(s.pointerType="",s.target=null,"touch"===t||!s.isHovered)return;s.isHovered=!1;let o=e.currentTarget;n&&n({type:"hoverend",target:o,pointerType:t}),r&&r(!1),l(!1)},a={};return"undefined"!=typeof PointerEvent?(a.onPointerEnter=t=>{m&&"mouse"===t.pointerType||e(t,t.pointerType)},a.onPointerLeave=e=>{!o&&e.currentTarget.contains(e.target)&&i(e,e.pointerType)}):(a.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},a.onMouseEnter=t=>{s.ignoreEmulatedMouseEvents||m||e(t,"mouse"),s.ignoreEmulatedMouseEvents=!1},a.onMouseLeave=e=>{!o&&e.currentTarget.contains(e.target)&&i(e,"mouse")}),{hoverProps:a,triggerHoverEnd:i}},[t,r,n,o,s]);return(0,a.useEffect)(()=>{o&&d({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:u,isHovered:i}}({isDisabled:R}),er=null!=(h=null!=X?X:null==T?void 0:T.disableAnimation)&&h,en="loaded"===(0,y.d)({src:x,onError:G,ignoreFallback:j}),eo="string"==typeof W,ei=(!x||!en)&&z,ea=(0,a.useMemo)(()=>{var e;return(0,o.r)({color:N,radius:I,size:O,isBordered:F,isDisabled:R,isInGroup:P,disableAnimation:er,isInGridGroup:null!=(e=null==E?void 0:E.isGrid)&&e})},[N,I,O,F,R,er,P,null==E?void 0:E.isGrid]),el=(0,p.W)(null==M?void 0:M.base,V),es=(0,a.useMemo)(()=>H||"button"===K,[H,K]),eu=(0,a.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};
1return{ref:Z,tabIndex:es?0:-1,"data-hover":(0,g.PB)(ee),"data-focus":(0,g.PB)($),"data-focus-visible":(0,g.PB)(q),className:ea.base({class:(0,p.W)(el,null==e?void 0:e.className)}),...u(_,et,es?Q:{})}},[es,ea,el,Q,_]),ed=(0,a.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:J,src:x,"data-loaded":(0,g.PB)(en),className:ea.img({class:null==M?void 0:M.img}),...u(U,e,(0,c.z)({disableAnimation:er},{enabled:eo}))}},[ea,en,U,er,x,J,eo]);return{Component:Y,ImgComponent:W,src:x,alt:A,icon:L,name:S,imgRef:J,slots:ea,classNames:M,fallback:C,isImgLoaded:en,showFallback:ei,ignoreFallback:j,getInitials:B,getAvatarProps:eu,getImageProps:ed}}},28706:function(e,t,r){r.d(t,{h:function(){return u}});var n=r(39487),o=r(5881),i=r(2265),a=r(60402),l=r(57437),s=(0,a.Gp)((e,t)=>{let{Component:r,ImgComponent:a,src:s,icon:u=(0,l.jsx)(n.f,{}),alt:d,classNames:c,slots:f,name:p,showFallback:g,fallback:v,getInitials:y,getAvatarProps:m,getImageProps:h}=(0,o.F)({...e,ref:t}),b=(0,i.useMemo)(()=>!g&&s?null:v?(0,l.jsx)("div",{"aria-label":d,className:f.fallback({class:null==c?void 0:c.fallback}),role:"img",children:v}):p?(0,l.jsx)("span",{"aria-label":d,className:f.name({class:null==c?void 0:c.name}),role:"img",children:y(p)}):(0,l.jsx)("span",{"aria-label":d,className:f.icon({class:null==c?void 0:c.icon}),role:"img",children:u}),[g,s,v,p,c]);return(0,l.jsxs)(r,{...m(),children:[s&&(0,l.jsx)(a,{...h(),alt:d}),b]})});s.displayName="HeroUI.Avatar";var u=s},45598:function(e,t,r){r.d(t,{w:function(){return u}});var n=r(15520),o=r(8434),i=r(60402),a=r(3902),l=r(57437),s=(0,i.Gp)((e,t)=>{let{children:r,context:i,Component:s,isPressable:u,disableAnimation:d,disableRipple:c,getCardProps:f,getRippleProps:p}=(0,o.n)({...e,ref:t});return(0,l.jsxs)(s,{...f(),children:[(0,l.jsx)(n.k,{value:i,children:r}),u&&!d&&!c&&(0,l.jsx)(a.L,{...p()})]})});s.displayName="HeroUI.Card";var u=s},98540:function(e,t,r){r.d(t,{u:function(){return u}});var n=r(15520),o=r(60402),i=r(45280),a=r(16367),l=r(57437),s=(0,o.Gp)((e,t)=>{var r;let{as:o,className:s,children:u,...d}=e,c=(0,i.gy)(t),{slots:f,classNames:p}=(0,n.R)(),g=(0,a.W)(null==p?void 0:p.header,s);return(0,l.jsx)(o||"div",{ref:c,className:null==(r=f.header)?void 0:r.call(f,{class:g}),...d,children:u})});s.displayName="HeroUI.CardHeader";var u=s},8434:function(e,t,r){r.d(t,{n:function(){return k}});var n=r(38353),o=r(3481),i=(0,n.tv)({slots:{base:["flex","flex-col","relative","overflow-hidden","h-auto","outline-none","text-foreground","box-border","bg-content1",...o.Dh],header:["flex","p-3","z-10","w-full","justify-start","items-center","shrink-0","overflow-inherit","color-inherit","subpixel-antialiased"],body:["relative","flex","flex-1","w-full","p-3","flex-auto","flex-col","place-content-inherit","align-items-inherit","h-auto","break-words","text-left","overflow-y-auto","subpixel-antialiased"],footer:["p-3","h-auto","flex","w-full","items-center","overflow-hidden","color-inherit","subpixel-antialiased"]},variants:{shadow:{none:{base:"shadow-none"},sm:{base:"shadow-small"},md:{base:"shadow-medium"},lg:{base:"shadow-large"}},radius:{none:{base:"rounded-none",header:"rounded-none",footer:"rounded-none"},sm:{base:"rounded-small",header:"rounded-t-small",footer:"rounded-b-small"},md:{base:"rounded-medium",header:"rounded-t-medium",footer:"rounded-b-medium"},lg:{base:"rounded-large",header:"rounded-t-large",footer:"rounded-b-large"}},fullWidth:{true:{base:"w-full"}},isHoverable:{true:{base:"data-[hover=true]:bg-content2 dark:data-[hover=true]:bg-content2"}},isPressable:{true:{base:"cursor-pointer"}},isBlurred:{true:{base:["bg-background/80","dark:bg-background/20","backdrop-blur-md","backdrop-saturate-150"]}},isFooterBlurred:{true:{footer:["bg-background/10","backdrop-blur","backdrop-saturate-150"]}},isDisabled:{true:{base:"opacity-disabled cursor-not-allowed"}},disableAnimation:{true:"",false:{base:"transition-transform-background motion-reduce:transition-none"}}},compoundVariants:[{isPressable:!0,class:"data-[pressed=true]:scale-[0.97] tap-highlight-transparent"}
1],defaultVariants:{radius:"lg",shadow:"md",fullWidth:!1,isHoverable:!1,isPressable:!1,isDisabled:!1,isFooterBlurred:!1}}),a=r(2265);function l(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}"undefined"!=typeof window&&window.document&&window.document.createElement;let s=new Map;var u=r(61994),d=r(43096);let c=!1,f=0;function p(){c=!0,setTimeout(()=>{c=!1},50)}function g(e){"touch"===e.pointerType&&p()}function v(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",g):document.addEventListener("touchend",p),f++,()=>{--f>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",g):document.removeEventListener("touchend",p))}}var y=r(51868),m=r(22450),h=r(60402),b=r(16367),T=r(16449),w=r(28262),E=r(39150),P=r(45280),K=r(70130);function k(e){var t,r,n,o;let f=(0,m.w)(),[p,g]=(0,h.oe)(e,i.variantKeys),{ref:k,as:x,children:S,onClick:L,onPress:M,autoFocus:C,className:A,classNames:D,allowTextSelectionOnPress:N=!0,...I}=p,O=(0,P.gy)(k),F=x||(e.isPressable?"button":"div"),R="string"==typeof F,H=null!=(r=null!=(t=e.disableAnimation)?t:null==f?void 0:f.disableAnimation)&&r,B=null!=(o=null!=(n=e.disableRipple)?n:null==f?void 0:f.disableRipple)&&o,j=(0,b.W)(null==D?void 0:D.base,A),{onClear:z,onPress:W,ripples:U}=(0,K.i)(),V=(0,a.useCallback)(e=>{B||H||!O.current||W(e)},[B,H,O,W]),{buttonProps:G,isPressed:X}=(0,y.j)({onPress:l(M,V),elementType:x,isDisabled:!e.isPressable,onClick:L,allowTextSelectionOnPress:N,...I},O),{hoverProps:_,isHovered:Y}=function(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[i,l]=(0,a.useState)(!1),s=(0,a.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,a.useEffect)(v,[]);let{hoverProps:u,triggerHoverEnd:d}=(0,a.useMemo)(()=>{let e=(e,n)=>{if(s.pointerType=n,o||"touch"===n||s.isHovered||!e.currentTarget.contains(e.target))return;s.isHovered=!0;let i=e.currentTarget;s.target=i,t&&t({type:"hoverstart",target:i,pointerType:n}),r&&r(!0),l(!0)},i=(e,t)=>{if(s.pointerType="",s.target=null,"touch"===t||!s.isHovered)return;s.isHovered=!1;let o=e.currentTarget;n&&n({type:"hoverend",target:o,pointerType:t}),r&&r(!1),l(!1)},a={};return"undefined"!=typeof PointerEvent?(a.onPointerEnter=t=>{c&&"mouse"===t.pointerType||e(t,t.pointerType)},a.onPointerLeave=e=>{!o&&e.currentTarget.contains(e.target)&&i(e,e.pointerType)}):(a.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},a.onMouseEnter=t=>{s.ignoreEmulatedMouseEvents||c||e(t,"mouse"),s.ignoreEmulatedMouseEvents=!1},a.onMouseLeave=e=>{!o&&e.currentTarget.contains(e.target)&&i(e,"mouse")}),{hoverProps:a,triggerHoverEnd:i}},[t,r,n,o,s]);return(0,a.useEffect)(()=>{o&&d({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:u,isHovered:i}}({isDisabled:!e.isHoverable,...I}),{isFocusVisible:Z,isFocused:J,focusProps:q}=(0,d.F)({autoFocus:C}),$=(0,a.useMemo)(()=>i({...g,disableAnimation:H}),[(0,T.Xx)(g),H]),Q=(0,a.useMemo)(()=>({slots:$,classNames:D,disableAnimation:H,isDisabled:e.isDisabled,isFooterBlurred:e.isFooterBlurred,fullWidth:e.fullWidth}),[$,D,e.isDisabled,e.isFooterBlurred,H,e.fullWidth]),ee=(0,a.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:O,className:$.base({class:j}),tabIndex:e.isPressable?0:-1,"data-hover":(0,w.PB)(Y),"data-pressed":(0,w.PB)(X),"data-focus":(0,w.PB)(J),"data-focus-visible":(0,w.PB)(Z),"data-disabled":(0,w.PB)(e.isDisabled),...function(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],o=n[e];"function"==typeof r&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=l(r,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof o?t[e]=(0,u.Z)(r,o):"id"===e&&r&&o?t.id=function(e,t){if(e===t)return e;let r=s.get(e);if(r)return r.forEach(e=>e(t)),t;let n=s.get(t);return n?(n.forEach(t=>t(e)),e):t}(r,o):t[e]=void 0!==o?o:r}}return t}(e.isPressable?{...G,...q,role:"button"}:{},e.isHoverable?_:{},(0,E.z)(I,{enabled:R}),(0,E.z)(t))}},[O,$,j,R,e.isPressable,e.isHoverable,e.isDisabled,Y,X,Z,G,q,_,I]),et=(0,a.useCallback)(()=>({ripples:U,onClear:z}),[U,z]);return{context:Q,domRef:O,Component:F,classNames:D,children:S,isHovered:Y,isPressed:X,disableAnimation:H,isPressable:e.isPressable,isHoverable:e.isHoverable,disableRipple:B,handlePress:V,isFocusVisible:Z,getCardProps:ee,getRippleProps:et}}},15520:function(e,t,r){r.d(t,{R:function(){return o},k:function(){return n}});var[n,o]=(0,r(52106).k)({name:"CardContext",strict:!0,errorMessage:"useCardContext: `
1context` is undefined. Seems you forgot to wrap component within <Card />"})},83479:function(e,t,r){r.d(t,{S:function(){return l}});var n=r(84540),o=r(82038),i=r(57437),a=e=>{let{getMenuTriggerProps:t}=(0,n.t)(),{children:r,...a}=e;return(0,i.jsx)(o.b,{...t(a),children:r})};a.displayName="HeroUI.DropdownTrigger";var l=a},84540:function(e,t,r){r.d(t,{K:function(){return n},t:function(){return o}});var[n,o]=(0,r(52106).k)({name:"DropdownContext",errorMessage:"useDropdownContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Dropdown />`"})},28986:function(e,t,r){let n;r.d(t,{x:function(){return eB}});var o=r(22450),i=r(64508),a=r(2265),l={};l={"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:`Premere a lungo o premere 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`}
1,"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}`}};let s="undefined"!=typeof document?a.useLayoutEffect:()=>{};var u=r(87365);let d=!!("undefined"!=typeof window&&window.document&&window.document.createElement),c=new Map,f=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),p=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]),g=Symbol.for("react-aria.i18n.locale");function v(){let e="undefined"!=typeof window&&window[g]||"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(),r="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(r)return"rtl"===r.direction;if(t.script)return f.has(t.script)}let t=e.split("-")[0];return p.has(t)}(e)?"ltr":"rtl"}}let y=v(),m=new Set;function h(){for(let e of(y=v(),m))e(y)}let b=a.createContext(null),T=Symbol.for("react-aria.i18n.locale"),w=Symbol.for("react-aria.i18n.strings");class E{getStringForLocale(e,t){let r=this.getStringsForLocale(t)[e];if(!r)throw Error(`Could not find intl message ${e} in ${t} locale`);return r}getStringsForLocale(e){let t=this.strings[e];return t||(t=function(e,t,r="en-US"){if(t[e])return t[e];let n=Intl.Locale?new Intl.Locale(e).language:e.split("-")[0];if(t[n])return t[n];for(let e in t)if(e.startsWith(n+"-"))return t[e];return t[r]}(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(e){if("undefined"==typeof window)return null;let t=window[T];if(void 0===n){let e=window[w];if(!e)return null;for(let r in n={},e)n[r]=new E({[t]:e[r]},t)}let r=null==n?void 0:n[e];if(!r)throw Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}constructor(e,t="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}}let P=new Map,K=new Map;class k{format(e,t){let r=this.strings.getStringForLocale(e,this.locale);return"function"==typeof r?r(t,this):r}plural(e,t,r="cardinal"){let n=t["="+e];if(n)return"function"==typeof n?n():n;let o=this.locale+":"+r,i=P.get(o);return i||(i=new Intl.PluralRules(this.locale,{type:r}),P.set(o,i)),"function"==typeof(n=t[i.select(e)]||t.other)?n():n}number(e){let t=K.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),K.set(this.locale,t)),t.format(e)}select(e,t){let r=e[t]||e.other;return"function"==typeof r?r():r}constructor(e,t){this.locale=e,this.strings=t}}let x=new WeakMap;function S(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function L(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function M(e){let t=null;return()=>(null==t&&(t=e()),t)}let C=M(function(){return L(/^Mac/i)}),A=M(function(){return L(/^iPhone/i)}),D=M(function(){return L(/^iPad/i)||C()&&navigator.maxTouchPoints>1}),N=M(function(){return A()||D()});M(function(){return C()||N()});
1let I=M(function(){return S(/AppleWebKit/i)&&!O()}),O=M(function(){return S(/Chrome/i)}),F=M(function(){return S(/Android/i)}),R=M(function(){return S(/Firefox/i)}),H=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},B=e=>e&&"window"in e&&e.window===e?e:H(e).defaultView||window,j=new Map,z=new Set;function W(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=r=>{if(!e(r)||!r.target)return;let n=j.get(r.target);if(n&&(n.delete(r.propertyName),0===n.size&&(r.target.removeEventListener("transitioncancel",t),j.delete(r.target)),0===j.size)){for(let e of z)e();z.clear()}};document.body.addEventListener("transitionrun",r=>{if(!e(r)||!r.target)return;let n=j.get(r.target);n||(n=new Set,j.set(r.target,n),r.target.addEventListener("transitioncancel",t,{once:!0})),n.add(r.propertyName)}),document.body.addEventListener("transitionend",t)}"undefined"!=typeof document&&("loading"!==document.readyState?W():document.addEventListener("DOMContentLoaded",W));let U="default",V="",G=new WeakMap;function X(e){if(N()){if("default"===U){let t=H(e);V=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}U="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(G.set(e,e.style.userSelect),e.style.userSelect="none")}function _(e){if(N())"disabled"===U&&(U="restoring",setTimeout(()=>{var t;t=()=>{if("restoring"===U){let t=H(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=V||""),V="",U="default"}},requestAnimationFrame(()=>{0===j.size?t():z.add(t)})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&G.has(e)){let t=G.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),G.delete(e)}}let Y=a.createContext({register:()=>{}});Y.displayName="PressResponderContext";var Z=r(95691),J=r(25134),q=r(11455);function $(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}"undefined"!=typeof window&&window.document&&window.document.createElement;let Q=new Map;var ee=r(61994);function et(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],o=n[e];"function"==typeof r&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=$(r,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof o?t[e]=(0,ee.Z)(r,o):"id"===e&&r&&o?t.id=function(e,t){if(e===t)return e;let r=Q.get(e);if(r)return r.forEach(e=>e(t)),t;let n=Q.get(t);return n?(n.forEach(t=>t(e)),e):t}(r,o):t[e]=void 0!==o?o:r}}return t}let er="undefined"!=typeof document?a.useLayoutEffect:()=>{};function en(){let e=(0,a.useRef)(new Map),t=(0,a.useCallback)((t,r,n,o)=>{let i=(null==o?void 0:o.once)?(...t)=>{e.current.delete(n),n(...t)}:n;e.current.set(n,{type:r,eventTarget:t,fn:i,options:o}),t.addEventListener(r,i,o)},[]),r=(0,a.useCallback)((t,r,n,o)=>{var i;let a=(null===(i=e.current.get(n))||void 0===i?void 0:i.fn)||n;t.removeEventListener(r,a,o),e.current.delete(n)},[]),n=(0,a.useCallback)(()=>{e.current.forEach((e,t)=>{r(e.eventTarget,e.type,t,e.options)})},[r]);return(0,a.useEffect)(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}function eo(e){let t=(0,a.useRef)(null);return er(()=>{t.current=e},[e]),(0,a.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}function ei(e){if(function(){if(null==ea){ea=!1;try{document.createElement("div").focus({get preventScroll(){return ea=!0,!0}})}catch{}}return ea}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}(e);e.focus(),function(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}(t)}}let ea=null;function el(e,t,r=!0){var n,o;let{metaKey:i,ctrlKey:a,altKey:l,shiftKey:s}=t;R()&&(null===(o=window.event)||void 0===o?void 0:null===(n=o.type)||void 0===n?void 0:n.startsWith("key"))&&"_blank"===e.target&&(C()?i=!0:a=!0);let u=I()&&C()&&!D()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:a,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:i,ctrlKey:a,altKey:l,shiftKey:s,bubbles:!0,cancelable:!0});el.isOpening=r,ei(e),e.dispatchEvent(u),el.isOpening=!1}function es(e){return 0===e.mozInputSource&&!!e.isTrusted||(F()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}el.isOpening=!1;var eu=new WeakMap;class ed{continuePropagation(){(0,q._)(this,eu,!1)}get shouldStopPropagation(){return(0,Z._)(this,eu)}constructor(e,t,r,n){var o;(0,J._)(this,eu,{writable:!0,value:void 0}),(0,q._)(this,eu,!0);let i=null!==(o=null==n?void 0:n.target)&&void 0!==o?o:r.currentTarget,a=null==i?void 0:i.getBoundingClientRect(),l,s=0,u,d=null;null!=r.clientX&&null!=r.clientY&&(u=r.clientX,d=r.clientY),a&&(null!=u&&null!=d?(l=u-a.left,s=d-a.top):(l=a.width/2,s=a.height/2)),this.type=e,this.pointerType=t,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=l,this.y=s}}let ec=Symbol("linkClicked");function ef(e){return"A"===e.tagName&&e.hasAttribute("href")}function ep(e,t){let{key:r,code:n}=e,o=t.getAttribute("role");return("Enter"===r||" "===r||"Spacebar"===r||"Space"===n)&&!(t instanceof B(t).HTMLInputElement&&!eE(t,r)||t instanceof B(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===o||!o&&ef(t))&&"Enter"!==r)}function eg(e,t){let r=e.changedTouches;for(let e=0;e<r.length;e++){let n=r[e];if(n.identifier===t)return n}return null}function ev(e,t){let r=0,n=0;return t.targetTouches&&1===t.targetTouches.length&&(r=t.targetTouches[0].clientX,n=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n}}function ey(e,t){let r=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n}}function em(e,t){let r,n,o=t.getBoundingClientRect(),i=(r=0,n=0,void 0!==e.width?r=e.width/2:void 0!==e.radiusX&&(r=e.radiu
1sX),void 0!==e.height?n=e.height/2:void 0!==e.radiusY&&(n=e.radiusY),{top:e.clientY-n,right:e.clientX+r,bottom:e.clientY+n,left:e.clientX-r});return!(o.left>i.right)&&!(i.left>o.right)&&!(o.top>i.bottom)&&!(i.top>o.bottom)}function eh(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function eb(e){return!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!ef(e))}function eT(e,t){return e instanceof HTMLInputElement?!eE(e,t):eb(e)}let ew=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function eE(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:ew.has(e.type)}let eP=0,eK=new Map,ek=new WeakMap,ex="undefined"!=typeof document?a.useLayoutEffect:()=>{},eS=!!("undefined"!=typeof window&&window.document&&window.document.createElement),eL=new Map;var eM=r(38353),eC=r(3481),eA=(0,eM.tv)({base:["w-full","p-1","min-w-[200px]"]});(0,eM.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",...eC.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,eM.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,eM.tv)({base:"w-full flex flex-col gap-0.5 p-1"});var eD=r(16367),eN=r(39156),eI=r(64640);"undefined"!=typeof window&&window.document&&window.document.createElement;let eO=new Map;function eF(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],o=n[e];"function"==typeof r&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}(r,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof o?t[e]=(0,ee.Z)(r,o):"id"===e&&r&&o?t.id=function(e,t){if(e===t)return e;let r=eO.get(e);
1if(r)return r.forEach(e=>e(t)),t;let n=eO.get(t);return n?(n.forEach(t=>t(e)),e):t}(r,o):t[e]=void 0!==o?o:r}}return t}var eR=(e,t)=>{if(e){let r=Array.isArray(e.children)?e.children:[...(null==e?void 0:e.items)||[]];if(r&&r.length)return r.find(e=>{if(e&&e.key===t)return e})||{}}return null},eH=(e,t,r)=>{let n=r||eR(e,t);return n&&n.props&&"closeOnSelect"in n.props?n.props.closeOnSelect:null==e?void 0:e.closeOnSelect};function eB(e){var t;let r=(0,o.w)(),{as:n,triggerRef:f,isOpen:p,defaultOpen:g,onOpenChange:v,isDisabled:T,type:w="menu",trigger:P="press",placement:K="bottom",closeOnSelect:S=!0,shouldBlockScroll:L=!0,classNames:M,disableAnimation:A=null!=(t=null==r?void 0:r.disableAnimation)&&t,onClose:D,className:N,...I}=e,O=(0,a.useRef)(null),R=f||O,j=(0,a.useRef)(null),z=(0,a.useRef)(null),W=function(e){let t=(0,i.d)(e),[r,n]=(0,a.useState)(null),[o,l]=(0,a.useState)([]),s=()=>{l([]),t.close()};return{focusStrategy:r,...t,open(e=null){n(e),t.open()},toggle(e=null){n(e),t.toggle()},close(){s()},expandedKeysStack:o,openSubmenu:(e,t)=>{l(r=>t>r.length?r:[...r.slice(0,t),e])},closeSubmenu:(e,t)=>{l(r=>r[t]===e?r.slice(0,t):r)}}}({trigger:P,isOpen:p,defaultOpen:g,onOpenChange:e=>{null==v||v(e),e||null==D||D()}}),{menuTriggerProps:U,menuProps:V}=function(e,t,r){var n;let{type:o="menu",isDisabled:i,trigger:f="press"}=e,p=function(e){let[t,r]=(0,a.useState)(void 0),n=(0,a.useRef)(null),o=(0,u.gP)(t),i=(0,a.useCallback)(e=>{n.current=e},[]);return d&&(c.has(o)&&!c.get(o).includes(i)?c.set(o,[...c.get(o),i]):c.set(o,[i])),s(()=>()=>{c.delete(o)},[o]),(0,a.useEffect)(()=>{let e=n.current;e&&(n.current=null,r(e))}),o}(),{triggerProps:g,overlayProps:v}=function(e,t,r){let n,{type:o}=e,{isOpen:i}=t;(0,a.useEffect)(()=>{r&&r.current&&ek.set(r.current,t.close)}),"menu"===o?n=!0:"listbox"===o&&(n="listbox");let l=function(e){let[t,r]=(0,a.useState)(void 0),n=(0,a.useRef)(null),o=(0,u.gP)(t),i=(0,a.useCallback)(e=>{n.current=e},[]);return eS&&(eL.has(o)&&!eL.get(o).includes(i)?eL.set(o,[...eL.get(o),i]):eL.set(o,[i])),ex(()=>()=>{eL.delete(o)},[o]),(0,a.useEffect)(()=>{let e=n.current;e&&(n.current=null,r(e))}),o}();return{triggerProps:{"aria-haspopup":n,"aria-expanded":i,"aria-controls":i?l:void 0,onPress:t.toggle},overlayProps:{id:l}}}({type:o},t,r),{longPressProps:T}=function(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:n,onLongPress:o,threshold:i=500,accessibilityDescription:l}=e,s=(0,a.useRef)(void 0),{addGlobalListener:u,removeGlobalListener:d}=en(),{pressProps:c}=function(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:i,isDisabled:l,isPressed:s,preventFocusOnPress:u,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:c,ref:f,...p}=function(e){var t;let r=(0,a.useContext)(Y);if(r){let{register:t,...n}=r;e=et(n,e),t()}return t=e.ref,er(()=>{if(r&&r.ref&&t)return r.ref.current=t.current,()=>{r.ref&&(r.ref.current=null)}}),e}(e),[g,v]=(0,a.useState)(!1),y=(0,a.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:m,removeAllGlobalListeners:h}=en(),b=eo((e,t)=>{let o=y.current;if(l||o.didFirePressStart)return!1;let i=!0;if(o.isTriggeringEvent=!0,n){let r=new ed("pressstart",t,e);n(r),i=r.shouldStopPropagation}return r&&r(!0),o.isTriggeringEvent=!1,o.didFirePressStart=!0,v(!0),i}),T=eo((e,n,i=!0)=>{let a=y.current;if(!a.didFirePressStart)return!1;a.ignoreClickAfterPress=!0,a.didFirePressStart=!1,a.isTriggeringEvent=!0;let s=!0;if(o){let t=new ed("pressend",n,e);o(t),s=t.shouldStopPropagation}if(r&&r(!1),v(!1),t&&i&&!l){let r=new ed("press",n,e);t(r),s&&(s=r.shouldStopPropagation)}return a.isTriggeringEvent=!1,s}),w=eo((e,t)=>{let r=y.current;if(l)return!1;if(i){r.isTriggeringEvent=!0;let n=new ed("pressup",t,e);return i(n),r.isTriggeringEvent=!1,n.shouldStopPropagation}return!0}),E=eo(e=>{let t=y.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&T(ey(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,h(),c||_(t.target))}),P=eo(e=>{d&&E(e)}),K=(0,a.useMemo)(()=>{let e=y.current,t={onKeyDown(t){if(ep(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var n;eT(t.target,t.key)&&t.preventDefault();let o=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,o=b(t,"keyboard");let n=t.currentTarget;m(H(t.currentTarget),"keyup",$(t=>{ep(t,n)&&!t.repeat&&n.contains(t.target)&&e.target&&w(ey(e.target,t),"keyboard")},r),!0)}o&&t.stopPropagation(),t.metaKey&&C()&&(null===(n=e.metaKeyEvents)||void 0===n||n.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!el.isOpening){let r=!0;if(l&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||es(t.nativeEvent))){l||u||ei(t.currentTarget);let e=b(t,"virtual"),n=w(t,"virtual"),o=T(t,"virtual");r=e&&n&&o}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,r&&t.stopPropagation()}}},r=t=>{var r,n,o;if(e.isPressed&&e.target&&ep(t,e.target)){eT(t.target,t.key)&&t.preventDefault();let r=t.target;T(ey(e.target,t),"keyboard",e.target.contains(r)),h(),"Enter"!==t.key&&ef(e.target)&&e.target.contains(r)&&!t[ec]&&(t[ec]=!0,el(e.target,t,!1)),e.
1isPressed=!1,null===(n=e.metaKeyEvents)||void 0===n||n.delete(t.key)}else if("Meta"===t.key&&(null===(r=e.metaKeyEvents)||void 0===r?void 0:r.size)){let t=e.metaKeyEvents;for(let r of(e.metaKeyEvents=void 0,t.values()))null===(o=e.target)||void 0===o||o.dispatchEvent(new KeyboardEvent("keyup",r))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{var n;if(0!==t.button||!t.currentTarget.contains(t.target))return;if(n=t.nativeEvent,!F()&&0===n.width&&0===n.height||1===n.width&&1===n.height&&0===n.pressure&&0===n.detail&&"mouse"===n.pointerType){e.pointerType="virtual";return}eh(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let i=!0;if(!e.isPressed){e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,l||u||ei(t.currentTarget),c||X(e.target),i=b(t,e.pointerType);let n=t.target;"releasePointerCapture"in n&&n.releasePointerCapture(t.pointerId),m(H(t.currentTarget),"pointerup",r,!1),m(H(t.currentTarget),"pointercancel",o,!1)}i&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(eh(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&w(t,e.pointerType||t.pointerType)},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!0,b(ey(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,T(ey(e.target,t),e.pointerType,!1),P(t))};let r=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(e.target.contains(t.target)&&null!=e.pointerType?T(ey(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&T(ey(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,h(),c||_(e.target),"ontouchend"in e.target&&"mouse"!==t.pointerType&&m(e.target,"touchend",n,{once:!0}))},n=e=>{eb(e.currentTarget)&&e.preventDefault()},o=e=>{E(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&E(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(eh(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=es(t.nativeEvent)?"virtual":"mouse",l||u||ei(t.currentTarget),b(t,e.pointerType)&&t.stopPropagation(),m(H(t.currentTarget),"mouseup",r,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,r=b(t,e.pointerType)),r&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,r=T(t,e.pointerType,!1),P(t)),r&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&0===t.button&&w(t,e.pointerType||"mouse")};let r=t=>{if(0===t.button){if(e.isPressed=!1,h(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&em(t,e.target)&&null!=e.pointerType?T(ey(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&T(ey(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let r=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);r&&(e.activePointerId=r.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",l||u||ei(t.currentTarget),c||X(e.target),b(ev(e.target,t),e.pointerType)&&t.stopPropagation(),m(B(t.currentTarget),"scroll",n,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=eg(t.nativeEvent,e.activePointerId),n=!0;r&&em(r,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,n=b(ev(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,n=T(ev(e.target,t),e.pointerType,!1),P(ev(e.target,t))),n&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}
1let r=eg(t.nativeEvent,e.activePointerId),n=!0;r&&em(r,t.currentTarget)&&null!=e.pointerType?(w(ev(e.target,t),e.pointerType),n=T(ev(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(n=T(ev(e.target,t),e.pointerType,!1)),n&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!c&&_(e.target),h()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&E(ev(e.target,t)))};let n=t=>{e.isPressed&&t.target.contains(e.target)&&E({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&E(e)}}return t},[m,l,u,h,c,E,P,T,b,w]);return(0,a.useEffect)(()=>()=>{var e;c||_(null!==(e=y.current.target)&&void 0!==e?e:void 0)},[c]),{isPressed:s||g,pressProps:et(p,K)}}({isDisabled:t,onPressStart(e){if(e.continuePropagation(),("mouse"===e.pointerType||"touch"===e.pointerType)&&(r&&r({...e,type:"longpressstart"}),s.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...e,type:"longpress"}),s.current=void 0},i),"touch"===e.pointerType)){let t=e=>{e.preventDefault()};u(e.target,"contextmenu",t,{once:!0}),u(window,"pointerup",()=>{setTimeout(()=>{d(e.target,"contextmenu",t)}
1,30)},{once:!0})}},onPressEnd(e){s.current&&clearTimeout(s.current),n&&("mouse"===e.pointerType||"touch"===e.pointerType)&&n({...e,type:"longpressend"})}});return{longPressProps:et(c,function(e){let[t,r]=(0,a.useState)();return er(()=>{if(!e)return;let t=eK.get(e);if(t)r(t.element.id);else{let n=`react-aria-description-${eP++}`;r(n);let o=document.createElement("div");o.id=n,o.style.display="none",o.textContent=e,document.body.appendChild(o),t={refCount:0,element:o},eK.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),eK.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}(o&&!t?l:void 0))}}({isDisabled:i||"longPress"!==f,accessibilityDescription:(function(e,t){let r,n;let{locale:o}=(r=function(){let e=(0,u.Av)(),[t,r]=(0,a.useState)(y);return((0,a.useEffect)(()=>(0===m.size&&window.addEventListener("languagechange",h),m.add(r),()=>{m.delete(r),0===m.size&&window.removeEventListener("languagechange",h)}),[]),e)?{locale:"en-US",direction:"ltr"}:t}(),(0,a.useContext)(b)||r),i=t&&E.getGlobalDictionaryForPackage(t)||((n=x.get(e))||(n=new E(e),x.set(e,n)),n);return(0,a.useMemo)(()=>new k(o,i),[o,i])})((n=l)&&n.__esModule?n.default:n,"@react-aria/menu").format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}});return delete g.onPress,{menuTriggerProps:{...g,..."press"===f?{onPressStart(e){"touch"===e.pointerType||"keyboard"===e.pointerType||i||t.open("virtual"===e.pointerType?"first":null)},onPress(e){"touch"!==e.pointerType||i||t.toggle()}}:T,id:p,onKeyDown:e=>{if(!i&&("longPress"!==f||e.altKey)&&r&&r.current)switch(e.key){case"Enter":case" ":if("longPress"===f)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:{...v,"aria-labelledby":p,autoFocus:t.focusStrategy||!0,onClose:t.close}}}({type:w,trigger:P,isDisabled:T},W,R),G=(0,a.useMemo)(()=>eA({className:N}),[N]),Z=e=>{(void 0===e||e)&&S&&W.close()};return{Component:n||"div",menuRef:j,menuProps:V,classNames:G,closeOnSelect:S,onClose:W.close,autoFocus:W.focusStrategy||!0,disableAnimation:A,getPopoverProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=eF(I,e);return{state:W,placement:K,ref:z,disableAnimation:A,shouldBlockScroll:L,scrollRef:j,triggerRef:R,...t,classNames:{...M,...e.classNames,content:(0,eD.W)(G,null==M?void 0:M.content,e.className)},shouldCloseOnInteractOutside:(null==t?void 0:t.shouldCloseOnInteractOutside)?t.shouldCloseOnInteractOutside:e=>(0,eI.J)(e,O,W)}},getMenuProps:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{ref:(0,eN.l)(t,j),menuProps:V,closeOnSelect:S,...eF(e,{onAction:(t,r)=>{Z(eH(e,t,r))},onClose:W.close})}},getMenuTriggerProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{onPress:t,onPressStart:r,...n}=U;return eF(n,{isDisabled:T},e)}}}},71475:function(e,t,r){r.d(t,{F:function(){return u}});var n=r(84540),o=r(28986),i=r(2265),a=r(63347),l=r(57437),s=e=>{let{children:t,...r}=e,s=(0,o.x)(r),[u,d]=i.Children.toArray(t);return(0,l.jsx)(n.K,{value:s,children:(0,l.jsxs)(a.j,{...s.getPopoverProps(),children:[u,d]})})};s.displayName="HeroUI.Dropdown";var u=s},15443:function(e,t,r){r.d(t,{a:function(){return N}});var n=r(84540),o=r(3649),i=r(51375),a=r(92326),l=r(67200),s=r(2265);let u=s.createContext(null),d="react-aria-focus-scope-restore",c=null;function f(e){let t,r,{children:n,contain:o,restoreFocus:i,autoFocus:f}=e,p=(0,s.useRef)(null),g=(0,s.useRef)(null),v=(0,s.useRef)([]),{parentNode:S}=(0,s.useContext)(u)||{},C=(0,s.useMemo)(()=>new L({scopeRef:v}),[v]);(0,l.b)(()=>{let e=S||M.root;if(M.getTreeNode(e.scopeRef)&&c&&!T(c,e.scopeRef)){let t=M.getTreeNode(c);t&&(e=t)}e.addChild(C),M.addNode(C)},[C,S]),(0,l.b)(()=>{let e=M.getTreeNode(v);e&&(e.contain=!!o)},[o]),(0,l.b)(()=>{var e;let t=null===(e=p.current)||void 0===e?void 0:e.nextSibling,r=[],n=e=>e.stopPropagation();for(;t&&t!==g.current;)r.push(t),t.addEventListener(d,n),t=t.nextSibling;return v.current=r,()=>{for(let e of r)e.removeEventListener(d,n)}},[n]),(0,l.b)(()=>
1{if(i||o)return;let e=v.current,t=(0,a.r)(e?e[0]:void 0),r=e=>{let t=e.target;h(t,v.current)?c=v:b(t)||(c=null)};return t.addEventListener("focusin",r,!1),null==e||e.forEach(e=>e.addEventListener("focusin",r,!1)),()=>{t.removeEventListener("focusin",r,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",r,!1))}},[v,i,o]),t=(0,s.useRef)(void 0),r=(0,s.useRef)(void 0),(0,l.b)(()=>{let e=v.current;if(!o){r.current&&(cancelAnimationFrame(r.current),r.current=void 0);return}let n=(0,a.r)(e?e[0]:void 0),i=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!m(v)||e.isComposing)return;let t=n.activeElement,r=v.current;if(!r||!h(t,r))return;let o=x(y(r),{tabbable:!0},r);if(!t)return;o.currentNode=t;let i=e.shiftKey?o.previousNode():o.nextNode();i||(o.currentNode=e.shiftKey?r[r.length-1].nextElementSibling:r[0].previousElementSibling,i=e.shiftKey?o.previousNode():o.nextNode()),e.preventDefault(),i&&w(i,!0)},l=e=>{(!c||T(c,v))&&h(e.target,v.current)?(c=v,t.current=e.target):m(v)&&!b(e.target,v)?t.current?t.current.focus():c&&c.current&&P(c.current):m(v)&&(t.current=e.target)},s=e=>{r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{if(n.activeElement&&m(v)&&!b(n.activeElement,v)){if(c=v,n.body.contains(e.target)){var r;t.current=e.target,null===(r=t.current)||void 0===r||r.focus()}else c.current&&P(c.current)}})};return n.addEventListener("keydown",i,!1),n.addEventListener("focusin",l,!1),null==e||e.forEach(e=>e.addEventListener("focusin",l,!1)),null==e||e.forEach(e=>e.addEventListener("focusout",s,!1)),()=>{n.removeEventListener("keydown",i,!1),n.removeEventListener("focusin",l,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",l,!1)),null==e||e.forEach(e=>e.removeEventListener("focusout",s,!1))}},[v,o]),(0,l.b)(()=>()=>{r.current&&cancelAnimationFrame(r.current)},[r]),function(e,t,r){let n=(0,s.useRef)("undefined"!=typeof document?(0,a.r)(e.current?e.current[0]:void 0).activeElement:null);(0,l.b)(()=>{let n=e.current,o=(0,a.r)(n?n[0]:void 0);if(!t||r)return;let i=()=>{(!c||T(c,e))&&h(o.activeElement,e.current)&&(c=e)};return o.addEventListener("focusin",i,!1),null==n||n.forEach(e=>e.addEventListener("focusin",i,!1)),()=>{o.removeEventListener("focusin",i,!1),null==n||n.forEach(e=>e.removeEventListener("focusin",i,!1))}},[e,r]),(0,l.b)(()=>{let n=(0,a.r)(e.current?e.current[0]:void 0);if(!t)return;let o=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!m(e)||t.isComposing)return;let r=n.activeElement;if(!b(r,e)||!K(e))return;let o=M.getTreeNode(e);if(!o)return;let i=o.nodeToRestore,a=x(n.body,{tabbable:!0});a.currentNode=r;let l=t.shiftKey?a.previousNode():a.nextNode();if(i&&n.body.contains(i)&&i!==n.body||(i=void 0,o.nodeToRestore=void 0),(!l||!b(l,e))&&i){a.currentNode=i;do l=t.shiftKey?a.previousNode():a.nextNode();while(b(l,e));
1(t.preventDefault(),t.stopPropagation(),l)?w(l,!0):b(i)?w(i,!0):r.blur()}};return r||n.addEventListener("keydown",o,!0),()=>{r||n.removeEventListener("keydown",o,!0)}},[e,t,r]),(0,l.b)(()=>{var r;let o=(0,a.r)(e.current?e.current[0]:void 0);if(!t)return;let i=M.getTreeNode(e);if(i)return i.nodeToRestore=null!==(r=n.current)&&void 0!==r?r:void 0,()=>{let r=M.getTreeNode(e);if(!r)return;let n=r.nodeToRestore;if(t&&n&&(o.activeElement&&b(o.activeElement,e)||o.activeElement===o.body&&K(e))){let t=M.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let r=t.getTreeNode(e);for(;r;){if(r.nodeToRestore&&r.nodeToRestore.isConnected){k(r.nodeToRestore);return}r=r.parent}for(r=t.getTreeNode(e);r;){if(r.scopeRef&&r.scopeRef.current&&M.getTreeNode(r.scopeRef)){k(E(r.scopeRef.current,!0));return}r=r.parent}}})}}},[e,t])}(v,i,o),function(e,t){let r=s.useRef(t);(0,s.useEffect)(()=>{r.current&&(c=e,!h((0,a.r)(e.current?e.current[0]:void 0).activeElement,c.current)&&e.current&&P(e.current)),r.current=!1},[e])}(v,f),(0,s.useEffect)(()=>{let e=(0,a.r)(v.current?v.current[0]:void 0).activeElement,t=null;if(h(e,v.current)){for(let r of M.traverse())r.scopeRef&&h(e,r.scopeRef.current)&&(t=r);t===M.getTreeNode(v)&&(c=t.scopeRef)}},[v]),(0,l.b)(()=>()=>{var e,t,r;let n=null!==(r=null===(t=M.getTreeNode(v))||void 0===t?void 0:null===(e=t.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==r?r:null;(v===c||T(v,c))&&(!n||M.getTreeNode(n))&&(c=n),M.removeTreeNode(v)},[v]);let A=(0,s.useMemo)(()=>({focusNext(e={}){let t=v.current,{from:r,tabbable:n,wrap:o,accept:i}=e,l=r||(0,a.r)(t[0]).activeElement,s=t[0].previousElementSibling,u=x(y(t),{tabbable:n,accept:i},t);u.currentNode=h(l,t)?l:s;let d=u.nextNode();return!d&&o&&(u.currentNode=s,d=u.nextNode()),d&&w(d,!0),d},focusPrevious(e={}){let t=v.current,{from:r,tabbable:n,wrap:o,accept:i}=e,l=r||(0,a.r)(t[0]).activeElement,s=t[t.length-1].nextElementSibling,u=x(y(t),{tabbable:n,accept:i},t);u.currentNode=h(l,t)?l:s;let d=u.previousNode();return!d&&o&&(u.currentNode=s,d=u.previousNode()),d&&w(d,!0),d},focusFirst(e={}){let t=v.current,{tabbable:r,accept:n}=e,o=x(y(t),{tabbable:r,accept:n},t);o.currentNode=t[0].previousElementSibling;let i=o.nextNode();return i&&w(i,!0),i},focusLast(e={}){let t=v.current,{tabbable:r,accept:n}=e,o=x(y(t),{tabbable:r,accept:n},t);o.currentNode=t[t.length-1].nextElementSibling;let i=o.previousNode();return i&&w(i,!0),i}}),[]),D=(0,s.useMemo)(()=>({focusManager:A,parentNode:C}),[C,A]);return s.createElement(u.Provider,{value:D},s.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:p}),n,s.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:g}))}let p=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],g=p.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";p.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let v=p.join(':not([hidden]):not([tabindex="-1"]),');function y(e){return e[0].parentElement}function m(e){let t=M.getTreeNode(c);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function h(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}function b(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of M.traverse(M.getTreeNode(t)))if(r&&h(e,r.current))return!0;return!1}function T(e,t){var r;let n=null===(r=M.getTreeNode(t))||void 0===r?void 0:r.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function w(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch{}}else try{(0,i.e)(e)}catch{}}function E(e,t=!0){let r=e[0].previousElementSibling,n=y(e),o=x(n,{tabbable:t},e);o.currentNode=r;let i=o.nextNode();return t&&!i&&((o=x(n=y(e),{tabbable:!1},e)).currentNode=r,i=o.nextNode()),i}function P(e,t=!0){w(E(e,t))}function K(e){let t=M.getTreeNode(c);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}function k(e){e.dispatchEvent(new CustomEvent(d,{bubbles:!0,cancelable:!0}))&&w(e)}function x(e,t,r){let n=(null==t?void 0:t.tabbable)?v:g,o=(0,a.r)(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(e){var o;return(null==t?void 0:null===(o=t.from)||void 0===o?void 0:o.contains(e))?NodeFilter.FILTER_REJECT:e.matches(n)&&function e(t,r){return"#comment"!==t.nodeName&&function(e){let t=(0,a.k)(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:n}
1=e.style,o="none"!==r&&"hidden"!==n&&"collapse"!==n;if(o){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n}=t(e);o="none"!==r&&"hidden"!==n&&"collapse"!==n}return o}(t)&&!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==t.nodeName||!r||"SUMMARY"===r.nodeName||t.hasAttribute("open"))&&(!t.parentElement||e(t.parentElement,t))}(e)&&(!r||h(e,r))&&(!(null==t?void 0:t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return(null==t?void 0:t.from)&&(o.currentNode=t.from),o}class S{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,r){let n=this.fastMap.get(null!=t?t:null);if(!n)return;let o=new L({scopeRef:e});n.addChild(o),o.parent=n,this.fastMap.set(e,o),r&&(o.nodeToRestore=r)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let r=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&h(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let n=t.children;r&&(r.removeChild(t),n.size>0&&n.forEach(e=>r&&r.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let r=new S;for(let n of this.traverse())r.addTreeNode(n.scopeRef,null!==(t=null===(e=n.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,n.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new L({scopeRef:null}),this.fastMap.set(null,this.root)}}class L{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let M=new S;var C=r(60402),A=r(13680),D=r(57437),N=(0,C.Gp)(function(e,t){let{getMenuProps:r}=(0,n.t)();return(0,D.jsx)(o.g,{children:(0,D.jsx)(f,{contain:!0,restoreFocus:!0,children:(0,D.jsx)(A.U,{...r(e,t)})})})})},61528:function(e,t,r){r.d(t,{n:function(){return eC}});var n=r(55718);function o(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function i(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function a(e){let t=null;return()=>(null==t&&(t=e()),t)}let l=a(function(){return i(/^Mac/i)}),s=a(function(){return i(/^iPhone/i)}),u=a(function(){return i(/^iPad/i)||l()&&navigator.maxTouchPoints>1}),d=a(function(){return s()||u()});a(function(){return l()||d()});let c=a(function(){return o(/AppleWebKit/i)&&!f()}),f=a(function(){return o(/Chrome/i)}),p=a(function(){return o(/Android/i)}),g=a(function(){return o(/Firefox/i)}),v=new Set(["id"]),y=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),m=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),h=/^(data-.*)$/;var b=r(2265);"undefined"!=typeof window&&window.document&&window.document.createElement;let T=new Map;var w=r(61994);function E(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],o=n[e];"function"==typeof r&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}(r,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof o?t[e]=(0,w.Z)(r,o):"id"===e&&r&&o?t.id=function(e,t){if(e===t)return e;let r=T.get(e);if(r)return r.forEach(e=>e(t)),t;let n=T.get(t);return n?(n.forEach(t=>t(e)),e):t}(r,o):t[e]=void 0!==o?o:r}}return t}let P=null,K=(0,b.createContext)({isNative:!0,open:function(e,t){!function(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}(e,e=>x(e,t))},useHref:e=>e});function k(){return(0,b.useContext)(K)}function x(e,t,r=!0){var n,o;let{metaKey:i,ctrlKey:a,altKey:s,shiftKey:d}=t;g()&&(null===(o=window.event)||void 0===o?void 0:null===(n=o.type)||void 0===n?void 0:n.startsWith("key"))&&"_blank"===e.target&&(l()?i=!0:a=!0);let f=c()&&l()&&!u()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:a,altKey:s,shiftKey:d}):new MouseEvent("click",{metaKey:i,ctrlKey:a,altKey:s,shiftKey:d,bubbles:!0,cancelable:!0});x.isOpening=r,function(e){if(function(){if(null==P){P=!1;try{document.createElement("div").focus({get preventScroll(){return P=!0,!0}})}catch{}}return P}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}(e);e.focus(),function(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}(t)}}(e),e.dispatchEvent(f),x.isOpening=!1}x.isOpening=!1;var S=r(93031),L=r(70317);function M(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function C(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function A(e){let t=null;return()=>(null==t&&(t=e()),t)}let D=A(function(){return C(/^Mac/i)}),N=A(function(){return C(/^iPhone/i)}),I=A(function(){return C(/^iPad/i)||D()&&navigator.maxTouchPoints>1}),O=A(function(){return N()||I()});A(function(){return D()||O()});
1let F=A(function(){return M(/AppleWebKit/i)&&!R()}),R=A(function(){return M(/Chrome/i)}),H=A(function(){return M(/Android/i)}),B=A(function(){return M(/Firefox/i)}),j=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},z=e=>e&&"window"in e&&e.window===e?e:j(e).defaultView||window,W=new Map,U=new Set;function V(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=r=>{if(!e(r)||!r.target)return;let n=W.get(r.target);if(n&&(n.delete(r.propertyName),0===n.size&&(r.target.removeEventListener("transitioncancel",t),W.delete(r.target)),0===W.size)){for(let e of U)e();U.clear()}};document.body.addEventListener("transitionrun",r=>{if(!e(r)||!r.target)return;let n=W.get(r.target);n||(n=new Set,W.set(r.target,n),r.target.addEventListener("transitioncancel",t,{once:!0})),n.add(r.propertyName)}),document.body.addEventListener("transitionend",t)}"undefined"!=typeof document&&("loading"!==document.readyState?V():document.addEventListener("DOMContentLoaded",V));let G="default",X="",_=new WeakMap;function Y(e){if(O()){if("default"===G){let t=j(e);X=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}G="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(_.set(e,e.style.userSelect),e.style.userSelect="none")}function Z(e){if(O())"disabled"===G&&(G="restoring",setTimeout(()=>{var t;t=()=>{if("restoring"===G){let t=j(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=X||""),X="",G="default"}},requestAnimationFrame(()=>{0===W.size?t():U.add(t)})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&_.has(e)){let t=_.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),_.delete(e)}}let J=b.createContext({register:()=>{}});J.displayName="PressResponderContext";var q=r(95691),$=r(25134),Q=r(11455);function ee(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}"undefined"!=typeof window&&window.document&&window.document.createElement;let et=new Map;function er(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],o=n[e];"function"==typeof r&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=ee(r,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof o?t[e]=(0,w.Z)(r,o):"id"===e&&r&&o?t.id=function(e,t){if(e===t)return e;let r=et.get(e);if(r)return r.forEach(e=>e(t)),t;let n=et.get(t);return n?(n.forEach(t=>t(e)),e):t}(r,o):t[e]=void 0!==o?o:r}}return t}let en="undefined"!=typeof document?b.useLayoutEffect:()=>{};function eo(e){let t=(0,b.useRef)(null);return en(()=>{t.current=e},[e]),(0,b.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}function ei(e){if(function(){if(null==ea){ea=!1;try{document.createElement("div").focus({get preventScroll(){return ea=!0,!0}})}catch{}}return ea}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}(e);e.focus(),function(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}(t)}}let ea=null;function el(e,t,r=!0){var n,o;let{metaKey:i,ctrlKey:a,altKey:l,shiftKey:s}=t;B()&&(null===(o=window.event)||void 0===o?void 0:null===(n=o.type)||void 0===n?void 0:n.startsWith("key"))&&"_blank"===e.target&&(D()?i=!0:a=!0);let u=F()&&D()&&!I()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:a,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:i,ctrlKey:a,altKey:l,shiftKey:s,bubbles:!0,cancelable:!0});el.isOpening=r,ei(e),e.dispatchEvent(u),el.isOpening=!1}function es(e){return 0===e.mozInputSource&&!!e.isTrusted||(H()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}el.isOpening=!1;var eu=new WeakMap;class ed{continuePropagation(){(0,Q._)(this,eu,!1)}get shouldStopPropagation(){return(0,q._)(this,eu)}constructor(e,t,r,n){var o;(0,$._)(this,eu,{writable:!0,value:void 0}),(0,Q._)(this,eu,!0);let i=null!==(o=null==n?void 0:n.target)&&void 0!==o?o:r.currentTarget,a=null==i?void 0:i.getBoundingClientRect(),l,s=0,u,d=null;null!=r.clientX&&null!=r.clientY&&(u=r.clientX,d=r.clientY),a&&(null!=u&&null!=d?(l=u-a.left,s=d-a.top):(l=a.width/2,s=a.height/2)),this.type=e,this.pointerType=t,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=l,this.y=s}}let ec=Symbol("linkClicked");function ef(e){return"A"===e.tagName&&e.hasAttribute("href")}function ep(e,t){let{key:r,code:n}=e,o=t.getAttribute("role");return("Enter"===r||" "===r||"Spacebar"===r||"Space"===n)&&!(t instanceof z(t).HTMLInputElement&&!eE(t,r)||t instanceof z(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===o||!o&&ef(t))&&"Enter"!==r)}function eg(e,t){let r=e.changedTouches;for(let e=0;e<r.length;e++){let n=r[e];if(n.identifier===t)return n}return null}function ev(e,t){let r=0,n=0;return t.targetTouches&&1===t.targetTouches.length&&(r=t.targetTouches[0].clientX,n=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n}}function ey(e,t){let r=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n}}function em(e,t){let r,n,o=t.getBoundingClientRect(),i=(r=0,n=0,void 0!==e.width?r=e.width/2:void 0!==e.radiusX&&(r=e.radiu
1sX),void 0!==e.height?n=e.height/2:void 0!==e.radiusY&&(n=e.radiusY),{top:e.clientY-n,right:e.clientX+r,bottom:e.clientY+n,left:e.clientX-r});return!(o.left>i.right)&&!(i.left>o.right)&&!(o.top>i.bottom)&&!(i.top>o.bottom)}function eh(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function eb(e){return!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!ef(e))}function eT(e,t){return e instanceof HTMLInputElement?!eE(e,t):eb(e)}let ew=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function eE(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:ew.has(e.type)}var eP=r(22450),eK=r(60402),ek=r(45280),ex=r(43096),eS=r(16449),eL=r(28262);"undefined"!=typeof window&&window.document&&window.document.createElement;let eM=new Map;function eC(e){var t,r,o,i;let a=(0,eP.w)(),[l,s]=(0,eK.oe)(e,n.p.variantKeys),{ref:u,as:c,children:f,anchorIcon:g,isExternal:T=!1,showAnchorIcon:P=!1,autoFocus:K=!1,className:x,onPress:M,onPressStart:C,onPressEnd:A,onClick:N,...I}=l,O=(0,ek.gy)(u),F=null!=(r=null!=(t=null==e?void 0:e.disableAnimation)?t:null==a?void 0:a.disableAnimation)&&r,{linkProps:R}=function(e,t){let{elementType:r="a",onPress:n,onPressStart:o,onPressEnd:i,onClick:a,role:l,isDisabled:s,...u}=e,c={};"a"!==r&&(c={role:"link",tabIndex:s?void 0:0});let f=d()||p();a&&"function"==typeof a&&"button"!==l&&(0,S.Z)("onClick is deprecated, please use onPress instead. See: https://github.com/heroui-inc/heroui/issues/4292","useLink");let{focusableProps:g}=(0,L.k)(e,t),{pressProps:T,isPressed:w}=function(e){let t,r,n,o,{onPress:i,onPressChange:a,onPressStart:l,onPressEnd:s,onPressUp:u,isDisabled:d,isPressed:c,preventFocusOnPress:f,shouldCancelOnPointerExit:p,allowTextSelectionOnPress:g,ref:v,...y}=function(e){var t;let r=(0,b.useContext)(J);if(r){let{register:t,...n}=r;e=er(n,e),t()}return t=e.ref,en(()=>{if(r&&r.ref&&t)return r.ref.current=t.current,()=>{r.ref&&(r.ref.current=null)}}),e}(e),[m,h]=(0,b.useState)(!1),T=(0,b.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:w,removeAllGlobalListeners:E}=(t=(0,b.useRef)(new Map),r=(0,b.useCallback)((e,r,n,o)=>{let i=(null==o?void 0:o.once)?(...e)=>{t.current.delete(n),n(...e)}:n;t.current.set(n,{type:r,eventTarget:e,fn:i,options:o}),e.addEventListener(r,i,o)},[]),n=(0,b.useCallback)((e,r,n,o)=>{var i;let a=(null===(i=t.current.get(n))||void 0===i?void 0:i.fn)||n;e.removeEventListener(r,a,o),t.current.delete(n)},[]),o=(0,b.useCallback)(()=>{t.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]),(0,b.useEffect)(()=>o,[o]),{addGlobalListener:r,removeGlobalListener:n,removeAllGlobalListeners:o}),P=eo((e,t)=>{let r=T.current;if(d||r.didFirePressStart)return!1;let n=!0;if(r.isTriggeringEvent=!0,l){let r=new ed("pressstart",t,e);l(r),n=r.shouldStopPropagation}return a&&a(!0),r.isTriggeringEvent=!1,r.didFirePressStart=!0,h(!0),n}),K=eo((e,t,r=!0)=>{let n=T.current;if(!n.didFirePressStart)return!1;n.ignoreClickAfterPress=!0,n.didFirePressStart=!1,n.isTriggeringEvent=!0;let o=!0;if(s){let r=new ed("pressend",t,e);s(r),o=r.shouldStopPropagation}if(a&&a(!1),h(!1),i&&r&&!d){let r=new ed("press",t,e);i(r),o&&(o=r.shouldStopPropagation)}return n.isTriggeringEvent=!1,o}),k=eo((e,t)=>{let r=T.current;if(d)return!1;if(u){r.isTriggeringEvent=!0;let n=new ed("pressup",t,e);return u(n),r.isTriggeringEvent=!1,n.shouldStopPropagation}return!0}),x=eo(e=>{let t=T.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&K(ey(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,E(),g||Z(t.target))}),S=eo(e=>{p&&x(e)}),L=(0,b.useMemo)(()=>{let e=T.current,t={onKeyDown(t){if(ep(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var n;eT(t.target,t.key)&&t.preventDefault();let o=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,o=P(t,"keyboard");let n=t.currentTarget;w(j(t.currentTarget),"keyup",ee(t=>{ep(t,n)&&!t.repeat&&n.contains(t.target)&&e.target&&k(ey(e.target,t),"keyboard")},r),!0)}o&&t.stopPropagation(),t.metaKey&&D()&&(null===(n=e.metaKeyEvents)||void 0===n||n.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!el.isOpening){let r=!0;if(d&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||es(t.nativeEvent))){d||f||ei(t.currentTarget);let e=P(t,"virtual"),n=k(t,"virtual"),o=K(t,"virtual");r=e&&n&&o}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,r&&t.stopPropagation()}}},r=t=>{var r,n,o;if(e.isPressed&&e.target&&ep(t,e.target)){eT(t.target,t.key)&&t.preventDefault();let r=t.target;K(ey(e.target,t),"keyboard",e.target.contains(r)),E(),"Enter"!==t.key&&ef(e.target)&&e.target.contains(r)&&!t[ec]&&(t[ec]=!0,el(e.target,t,!1)),e.
1isPressed=!1,null===(n=e.metaKeyEvents)||void 0===n||n.delete(t.key)}else if("Meta"===t.key&&(null===(r=e.metaKeyEvents)||void 0===r?void 0:r.size)){let t=e.metaKeyEvents;for(let r of(e.metaKeyEvents=void 0,t.values()))null===(o=e.target)||void 0===o||o.dispatchEvent(new KeyboardEvent("keyup",r))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{var o;if(0!==t.button||!t.currentTarget.contains(t.target))return;if(o=t.nativeEvent,!H()&&0===o.width&&0===o.height||1===o.width&&1===o.height&&0===o.pressure&&0===o.detail&&"mouse"===o.pointerType){e.pointerType="virtual";return}eh(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let a=!0;e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,d||f||ei(t.currentTarget),g||Y(e.target),a=P(t,e.pointerType),w(j(t.currentTarget),"pointermove",r,!1),w(j(t.currentTarget),"pointerup",n,!1),w(j(t.currentTarget),"pointercancel",i,!1)),a&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(eh(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&em(t,t.currentTarget)&&k(t,e.pointerType||t.pointerType)};let r=t=>{t.pointerId===e.activePointerId&&(e.target&&em(t,e.target)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,P(ey(e.target,t),e.pointerType)):e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,K(ey(e.target,t),e.pointerType,!1),S(t)))},n=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(em(t,e.target)&&null!=e.pointerType?K(ey(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&K(ey(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,E(),g||Z(e.target),"ontouchend"in e.target&&"mouse"!==t.pointerType&&w(e.target,"touchend",o,{once:!0}))},o=e=>{eb(e.currentTarget)&&e.preventDefault()},i=e=>{x(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&x(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(eh(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=es(t.nativeEvent)?"virtual":"mouse",d||f||ei(t.currentTarget),P(t,e.pointerType)&&t.stopPropagation(),w(j(t.currentTarget),"mouseup",r,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,r=P(t,e.pointerType)),r&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,r=K(t,e.pointerType,!1),S(t)),r&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&0===t.button&&k(t,e.pointerType||"mouse")};let r=t=>{if(0===t.button){if(e.isPressed=!1,E(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&em(t,e.target)&&null!=e.pointerType?K(ey(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&K(ey(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let r=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);r&&(e.activePointerId=r.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",d||f||ei(t.currentTarget),g||Y(e.target),P(ev(e.target,t),e.pointerType)&&t.stopPropagation(),w(z(t.currentTarget),"scroll",n,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=eg(t.nativeEvent,e.activePointerId),n=!0;r&&em(r,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,n=P(ev(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,n=K(ev(e.target,t),e.pointerType,!1),S(ev(e.target,t))),n&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}
1let r=eg(t.nativeEvent,e.activePointerId),n=!0;r&&em(r,t.currentTarget)&&null!=e.pointerType?(k(ev(e.target,t),e.pointerType),n=K(ev(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(n=K(ev(e.target,t),e.pointerType,!1)),n&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!g&&Z(e.target),E()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&x(ev(e.target,t)))};let n=t=>{e.isPressed&&t.target.contains(e.target)&&x({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&x(e)}}return t},[w,d,f,E,g,x,S,K,P,k]);return(0,b.useEffect)(()=>()=>{var e;g||Z(null!==(e=T.current.target)&&void 0!==e?e:void 0)},[g]),{isPressed:c||m,pressProps:er(y,L)}}({onPress:e=>{f&&(null==a||a(e)),null==n||n(e)},onPressStart:o,onPressEnd:i,isDisabled:s,ref:t}),P=function(e,t={}){let{labelable:r,isLink:n,propNames:o}=t,i={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(v.has(t)||r&&y.has(t)||n&&m.has(t)||(null==o?void 0:o.has(t))||h.test(t))&&(i[t]=e[t]);return i}(u,{labelable:!0,isLink:"a"===r}),K=E(g,T),x=k();return{isPressed:w,linkProps:E(P,function(e){var t;let r=k().useHref(null!==(t=null==e?void 0:e.href)&&void 0!==t?t:"");return{href:(null==e?void 0:e.href)?r:void 0,target:null==e?void 0:e.target,rel:null==e?void 0:e.rel,download:null==e?void 0:e.download,ping:null==e?void 0:e.ping,referrerPolicy:null==e?void 0:e.referrerPolicy}}(e),{...K,...c,"aria-disabled":s||void 0,"aria-current":e["aria-current"],onClick:t=>{var r,n;let o;null==(r=T.onClick)||r.call(T,t),!f&&a&&a(t),!(!x.isNative&&t.currentTarget instanceof HTMLAnchorElement)||!t.currentTarget.href||t.isDefaultPrevented()||(o=(n=t.currentTarget).getAttribute("target"))&&"_self"!==o||n.origin!==location.origin||n.hasAttribute("download")||t.metaKey||t.ctrlKey||t.altKey||t.shiftKey||!e.href||(t.preventDefault(),x.open(t.currentTarget,t,e.href,e.routerOptions))}})}}({...I,onPress:M,onPressStart:C,onPressEnd:A,onClick:N,isDisabled:e.isDisabled,elementType:"".concat(c)},O),{isFocused:B,isFocusVisible:W,focusProps:U}=(0,ex.F)({autoFocus:K});T&&(I.rel=null!=(o=I.rel)?o:"noopener noreferrer",I.target=null!=(i=I.target)?i:"_blank");let V=(0,b.useMemo)(()=>(0,n.p)({...s,disableAnimation:F,className:x}),[(0,eS.Xx)(s),F,x]);return{Component:c||"a",children:f,anchorIcon:g,showAnchorIcon:P,getLinkProps:(0,b.useCallback)(()=>({ref:O,className:V,"data-focus":(0,eL.PB)(B),"data-disabled":(0,eL.PB)(e.isDisabled),"data-focus-visible":(0,eL.PB)(W),...function(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],o=n[e];"function"==typeof r&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}(r,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof o?t[e]=(0,w.Z)(r,o):"id"===e&&r&&o?t.id=function(e,t){if(e===t)return e;let r=eM.get(e);if(r)return r.forEach(e=>e(t)),t;let n=eM.get(t);return n?(n.forEach(t=>t(e)),e):t}(r,o):t[e]=void 0!==o?o:r}}return t}(U,R,I)}),[V,B,W,U,R,I])}}},99122:function(e,t,r){r.d(t,{O:function(){return u}});var n=r(61528),o=r(60402),i=r(57437),a=e=>
1(0,i.jsxs)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",shapeRendering:"geometricPrecision",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"1em",...e,children:[(0,i.jsx)("path",{d:"M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"}),(0,i.jsx)("path",{d:"M15 3h6v6"}),(0,i.jsx)("path",{d:"M10 14L21 3"})]}),l=r(55718),s=(0,o.Gp)((e,t)=>{let{Component:r,children:o,showAnchorIcon:s,anchorIcon:u=(0,i.jsx)(a,{className:l.A}),getLinkProps:d}=(0,n.n)({ref:t,...e});return(0,i.jsx)(r,{...d(),children:(0,i.jsxs)(i.Fragment,{children:[o,s&&u]})})});s.displayName="HeroUI.Link";var u=s},13680:function(e,t,r){r.d(t,{U:function(){return tZ}});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 i=r(2265),a=r(21417),l=r(22450),s=r(60402),u=r(43096),d=r(93031),c=r(16449),f=r(16367),p=r(28262),g=r(53074);function v(e){if(function(){if(null==y){y=!1;try{document.createElement("div").focus({get preventScroll(){return y=!0,!0}})}catch{}}return y}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}(e);e.focus(),function(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}(t)}}let y=null;function m(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function h(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function b(e){let t=null;return()=>(null==t&&(t=e()),t)}let T=b(function(){return h(/^Mac/i)}),w=b(function(){return h(/^iPhone/i)}),E=b(function(){return h(/^iPad/i)||T()&&navigator.maxTouchPoints>1}),P=b(function(){return w()||E()});b(function(){return T()||P()});let K=b(function(){return m(/AppleWebKit/i)&&!k()}),k=b(function(){return m(/Chrome/i)}),x=b(function(){return m(/Android/i)}),S=b(function(){return m(/Firefox/i)}),L=(0,i.createContext)({isNative:!0,open:function(e,t){!function(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}(e,e=>C(e,t))},useHref:e=>e});function M(){return(0,i.useContext)(L)}function C(e,t,r=!0){var n,o;let{metaKey:i,ctrlKey:a,altKey:l,shiftKey:s}=t;S()&&(null===(o=window.event)||void 0===o?void 0:null===(n=o.type)||void 0===n?void 0:n.startsWith("key"))&&"_blank"===e.target&&(T()?i=!0:a=!0);let u=K()&&T()&&!E()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:a,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:i,ctrlKey:a,altKey:l,shiftKey:s,bubbles:!0,cancelable:!0});C.isOpening=r,v(e),e.dispatchEvent(u),C.isOpening=!1}C.isOpening=!1;var A=r(40632),D=r(59711),N=r(88169),I=r(98385);let O=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},F=e=>e&&"window"in e&&e.window===e?e:O(e).defaultView||window,R=new Map,H=new Set;function B(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=r=>{if(!e(r)||!r.target)return;let n=R.get(r.target);if(n&&(n.delete(r.propertyName),0===n.size&&(r.target.removeEventListener("transitioncancel",t),R.delete(r.target)),0===R.size)){for(let e of H)e();H.clear()}};document.body.addEventListener("transitionrun",r=>{if(!e(r)||!r.target)return;let n=R.get(r.target);n||(n=new Set,R.set(r.target,n),r.target.addEventListener("transitioncancel",t,{once:!0})),n.add(r.propertyName)}),document.body.addEventListener("transitionend",t)}"undefined"!=typeof document&&("loading"!==document.readyState?B():document.addEventListener("DOMContentLoaded",B));let j="default",z="",W=new WeakMap;function U(e){if(P()){if("default"===j){let t=O(e);z=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}j="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(W.set(e,e.style.userSelect),e.style.userSelect="none")}function V(e){if(P())"disabled"===j&&(j="restoring",setTimeout(()=>{var t;t=()=>{if("restoring"===j){let t=O(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=z||""),z="",j="default"}},requestAnimationFrame(()=>{0===R.size?t():H.add(t)})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&W.has(e)){let t=W.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),W.delete(e)}}let G=i.createContext({register:()=>{}});G.displayName="PressResponderContext";var X=r(95691),_=r(25134),Y=r(11455),Z=r(80683),J=r(66755),q=r(72112);function $(e){return 0===e.mozInputSource&&!!e.isTrusted||(x()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}var Q=new WeakMap;class ee{continuePropagation(){(0,Y._)(this,Q,!1)}get shouldStopPropagation(){return(0,X._)(this,Q)}constructor(e,t,r,n){var o;(0,_._)(this,Q,{writable:!0,value:void 0}),(0,Y._)(this,Q,!0);let i=null!==(o=null==n?void 0:n.target)&&void 0!==o?o:r.currentTarget,a=null==i?void 0:i.getBoundingClientRect(),l,s=0,u,d=null;null!=r.clientX&&null!=r.clientY&&(u=r.clientX,d=r.clientY),a&&(null!=u&&null!=d?(l=u-a.left,s=d-a.top):(l=a.width/2,s=a.height/2)),this.type=e,this.pointerType=t,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=l,this.y=s}}let et=Symbol("linkClicked");function er(e){return"A"===e.tagName&&e.hasAttribute("href")}function en(e,t){let{key:r,code:n}=e,o=t.getAttribute("role");return("Enter"===r||" "===r||"Spacebar"===r||"Space"===n)&&!(t instanceof F(t).HTMLInputElement&&!ef(t,r)||t instanceof F(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===o||!o&&er(t))&&"Enter"!==r)}function eo(e,t){let r=e.changedTouches;for(let e=0;e<r.length;e++){let n=r[e];if(n.identifier===t)return n}return null}function ei(e,t){let r=0,n=0;return t.targetTouches&&1===t.targetTouches.length&&(r=t.targetTouches[0].clientX,n=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n}}function ea(e,t){let r=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n}}function el(e,t){let r,n,o=t.getBoundingClientRect(),i=(r=0,n=0,void 0!==e.width?r=e.width/2:void 0!==e.radiusX&&(r=e.radiu
1sX),void 0!==e.height?n=e.height/2:void 0!==e.radiusY&&(n=e.radiusY),{top:e.clientY-n,right:e.clientX+r,bottom:e.clientY+n,left:e.clientX-r});return!(o.left>i.right)&&!(i.left>o.right)&&!(o.top>i.bottom)&&!(i.top>o.bottom)}function es(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function eu(e){return!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!er(e))}function ed(e,t){return e instanceof HTMLInputElement?!ef(e,t):eu(e)}let ec=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ef(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:ec.has(e.type)}let ep=!1,eg=0;function ev(){ep=!0,setTimeout(()=>{ep=!1},50)}function ey(e){"touch"===e.pointerType&&ev()}function em(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",ey):document.addEventListener("touchend",ev),eg++,()=>{--eg>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",ey):document.removeEventListener("touchend",ev))}}let eh=null,eb=new Set,eT=new Map,ew=!1,eE=!1;function eP(e,t){for(let r of eb)r(e,t)}function eK(e){ew=!0,e.metaKey||!T()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(eh="keyboard",eP("keyboard",e))}
1function ek(e){eh="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(ew=!0,eP("pointer",e))}function ex(e){$(e)&&(ew=!0,eh="virtual")}function eS(e){e.target!==window&&e.target!==document&&(ew||eE||(eh="virtual",eP("virtual",e)),ew=!1,eE=!1)}function eL(){ew=!1,eE=!0}function eM(e){if("undefined"==typeof window||eT.get(F(e)))return;let t=F(e),r=O(e),n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){ew=!0,n.apply(this,arguments)},r.addEventListener("keydown",eK,!0),r.addEventListener("keyup",eK,!0),r.addEventListener("click",ex,!0),t.addEventListener("focus",eS,!0),t.addEventListener("blur",eL,!1),"undefined"!=typeof PointerEvent?(r.addEventListener("pointerdown",ek,!0),r.addEventListener("pointermove",ek,!0),r.addEventListener("pointerup",ek,!0)):(r.addEventListener("mousedown",ek,!0),r.addEventListener("mousemove",ek,!0),r.addEventListener("mouseup",ek,!0)),t.addEventListener("beforeunload",()=>{eC(e)},{once:!0}),eT.set(t,{focus:n})}let eC=(e,t)=>{let r=F(e),n=O(e);t&&n.removeEventListener("DOMContentLoaded",t),eT.has(r)&&(r.HTMLElement.prototype.focus=eT.get(r).focus,n.removeEventListener("keydown",eK,!0),n.removeEventListener("keyup",eK,!0),n.removeEventListener("click",ex,!0),r.removeEventListener("focus",eS,!0),r.removeEventListener("blur",eL,!1),"undefined"!=typeof PointerEvent?(n.removeEventListener("pointerdown",ek,!0),n.removeEventListener("pointermove",ek,!0),n.removeEventListener("pointerup",ek,!0)):(n.removeEventListener("mousedown",ek,!0),n.removeEventListener("mousemove",ek,!0),n.removeEventListener("mouseup",ek,!0)),eT.delete(r))};function eA(e){if(!e)return;let t=!0;return r=>{e({...r,preventDefault(){r.preventDefault()},isDefaultPrevented:()=>r.isDefaultPrevented(),stopPropagation(){t?console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior."):t=!0},continuePropagation(){t=!1},isPropagationStopped:()=>t}),t&&r.stopPropagation()}}"undefined"!=typeof document&&function(e){let t;let r=O(void 0);"loading"!==r.readyState?eM(void 0):(t=()=>{eM(void 0)},r.addEventListener("DOMContentLoaded",t)),()=>eC(e,t)}();class eD{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}var eN=r(35241),eI=r(16378),eO=r(59431),eF=r(42494),eR=r(58880),eH=r(94806),eB=r(40869),ej=r(17901),ez=r(37670),eW=r(30629);let eU="default",eV="",eG=new WeakMap;function eX(e){if((0,ej.gn)()){if("default"===eU){let t=(0,ez.r)(e);eV=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}eU="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(eG.set(e,e.style.userSelect),e.style.userSelect="none")}function e_(e){if((0,ej.gn)())"disabled"===eU&&(eU="restoring",setTimeout(()=>{(0,eW.Q)(()=>{if("restoring"===eU){let t=(0,ez.r)(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=eV||""),eV="",eU="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&eG.has(e)){let t=eG.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),eG.delete(e)}}let eY=i.createContext({register:()=>{}});eY.displayName="PressResponderContext";var eZ=r(97103);function eJ(){let e=(0,i.useRef)(new Map),t=(0,i.useCallback)((t,r,n,o)=>{let i=(null==o?void 0:o.once)?(...t)=>{e.current.delete(n),n(...t)}:n;e.current.set(n,{type:r,eventTarget:t,fn:i,options:o}),t.addEventListener(r,i,o)},[]),r=(0,i.useCallback)((t,r,n,o)=>{var i;let a=(null===(i=e.current.get(n))||void 0===i?void 0:i.fn)||n;t.removeEventListener(r,a,o),e.current.delete(n)},[]),n=(0,i.useCallback)(()=>{e.current.forEach((e,t)=>{r(e.eventTarget,e.type,t,e.options)})},[r]);return(0,i.useEffect)(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}var eq=r(19247),e$=r(58479),eQ=r(9263),e0=r(46337),e1=new WeakMap;class e4{continuePropagation(){(0,Y._)(this,e1,!1)}get shouldStopPropagation(){return(0,X._)(this,e1)}constructor(e,t,r,n){var o;(0,_._)(this,e1,{writable:!0,value:void 0}),(0,Y._)(this,e1,!0);let i=null!==(o=null==n?void 0:n.target)&&void 0!==o?o:r.currentTarget,a=null==i?void 0:i.getBoundingClientRect(),l,s=0,u,d=null;null!=r.clientX&&null!=r.clientY&&(u=r.clientX,d=r.clientY),a&&(null!=u&&null!=d?(l=u-a.left,s=d-a.top):(l=a.width/2,s=a.height/2)),this.type=e,this.pointerType=t,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=l,this.y=s}}let e3=Symbol("linkClicked");function e2(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:a,isDisabled:l,isPressed:s,preventFocusOnPress:u,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:c,ref:f,...p}=function(e){var t;let r=(0,i.useContext)(eY);if(r){let{register:t,...n}=r;e=(0,eB.d)(n,e),t()}return t=e.ref,(0,eZ.b)(()=>
1{if(r&&r.ref&&t)return r.ref.current=t.current,()=>{r.ref&&(r.ref.current=null)}}),e}(e),[g,v]=(0,i.useState)(!1),y=(0,i.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:m,removeAllGlobalListeners:h}=eJ(),b=(0,eq.i)((e,t)=>{let o=y.current;if(l||o.didFirePressStart)return!1;let i=!0;if(o.isTriggeringEvent=!0,n){let r=new e4("pressstart",t,e);n(r),i=r.shouldStopPropagation}return r&&r(!0),o.isTriggeringEvent=!1,o.didFirePressStart=!0,v(!0),i}),T=(0,eq.i)((e,n,i=!0)=>{let a=y.current;if(!a.didFirePressStart)return!1;a.ignoreClickAfterPress=!0,a.didFirePressStart=!1,a.isTriggeringEvent=!0;let s=!0;if(o){let t=new e4("pressend",n,e);o(t),s=t.shouldStopPropagation}if(r&&r(!1),v(!1),t&&i&&!l){let r=new e4("press",n,e);t(r),s&&(s=r.shouldStopPropagation)}return a.isTriggeringEvent=!1,s}),w=(0,eq.i)((e,t)=>{let r=y.current;if(l)return!1;if(a){r.isTriggeringEvent=!0;let n=new e4("pressup",t,e);return a(n),r.isTriggeringEvent=!1,n.shouldStopPropagation}return!0}),E=(0,eq.i)(e=>{let t=y.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&T(e7(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,h(),c||e_(t.target))}),P=(0,eq.i)(e=>{d&&E(e)}),K=(0,i.useMemo)(()=>{let e=y.current,t={onKeyDown(t){if(e6(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var n;tn(t.target,t.key)&&t.preventDefault();let o=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,o=b(t,"keyboard");let n=t.currentTarget;m((0,ez.r)(t.currentTarget),"keyup",(0,e$.t)(t=>{e6(t,n)&&!t.repeat&&n.contains(t.target)&&e.target&&w(e7(e.target,t),"keyboard")},r),!0)}o&&t.stopPropagation(),t.metaKey&&(0,ej.V5)()&&(null===(n=e.metaKeyEvents)||void 0===n||n.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!eO.nG.isOpening){let r=!0;if(l&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||(0,eQ.Z)(t.nativeEvent))){l||u||(0,e0.A)(t.currentTarget);let e=b(t,"virtual"),n=w(t,"virtual"),o=T(t,"virtual");r=e&&n&&o}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,r&&t.stopPropagation()}}},r=t=>{var r,n,o;if(e.isPressed&&e.target&&e6(t,e.target)){tn(t.target,t.key)&&t.preventDefault();let r=t.target;T(e7(e.target,t),"keyboard",e.target.contains(r)),h(),"Enter"!==t.key&&e5(e.target)&&e.target.contains(r)&&!t[e3]&&(t[e3]=!0,(0,eO.nG)(e.target,t,!1)),e.isPressed=!1,null===(n=e.metaKeyEvents)||void 0===n||n.delete(t.key)}else if("Meta"===t.key&&(null===(r=e.metaKeyEvents)||void 0===r?void 0:r.size)){let t=e.metaKeyEvents;for(let r of(e.metaKeyEvents=void 0,t.values()))null===(o=e.target)||void 0===o||o.dispatchEvent(new KeyboardEvent("keyup",r))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{if(0!==t.button||!t.currentTarget.contains(t.target))return;if((0,eQ.c)(t.nativeEvent)){e.pointerType="virtual";return}tt(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let n=!0;if(!e.isPressed){e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,l||u||(0,e0.A)(t.currentTarget),c||eX(e.target),n=b(t,e.pointerType);let i=t.target;"releasePointerCapture"in i&&i.releasePointerCapture(t.pointerId),m((0,ez.r)(t.currentTarget),"pointerup",r,!1),m((0,ez.r)(t.currentTarget),"pointercancel",o,!1)}n&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(tt(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&w(t,e.pointerType||t.pointerType)},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!0,b(e7(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,T(e7(e.target,t),e.pointerType,!1),P(t))};let r=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(e.target.contains(t.target)&&null!=e.pointerType?T(e7(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&T(e7(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,h(),c||e_(e.target),"ontouchend"in e.target&&"mouse"!==t.pointerType&&m(e.target,"touchend",n,{once:!0}))},n=e=>{tr(e.currentTarget)&&e.preventDefault()},o=e=>{E(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&E(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(tt(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=(0,eQ.Z)(t.nativeEvent)?"virtual":"mouse",l||u||(0,e0.A)(t.currentTarget),b(t,e.pointerType)&&t.stopPropagation(),m((0,ez.r)(t.currentTarget),"mouseup",r,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,r=b
1(t,e.pointerType)),r&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,r=T(t,e.pointerType,!1),P(t)),r&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&0===t.button&&w(t,e.pointerType||"mouse")};let r=t=>{if(0===t.button){if(e.isPressed=!1,h(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&te(t,e.target)&&null!=e.pointerType?T(e7(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&T(e7(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let r=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);r&&(e.activePointerId=r.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",l||u||(0,e0.A)(t.currentTarget),c||eX(e.target),b(e8(e.target,t),e.pointerType)&&t.stopPropagation(),m((0,ez.k)(t.currentTarget),"scroll",n,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=e9(t.nativeEvent,e.activePointerId),n=!0;r&&te(r,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,n=b(e8(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,n=T(e8(e.target,t),e.pointerType,!1),P(e8(e.target,t))),n&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=e9(t.nativeEvent,e.activePointerId),n=!0;r&&te(r,t.currentTarget)&&null!=e.pointerType?(w(e8(e.target,t),e.pointerType),n=T(e8(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(n=T(e8(e.target,t),e.pointerType,!1)),n&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!c&&e_(e.target),h()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&E(e8(e.target,t)))};let n=t=>{e.isPressed&&t.target.contains(e.target)&&E({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&E(e)}}return t},[m,l,u,h,c,E,P,T,b,w]);return(0,i.useEffect)(()=>()=>{var e;c||e_(null!==(e=y.current.target)&&void 0!==e?e:void 0)},[c]),{isPressed:s||g,pressProps:(0,eB.d)(p,K)}}function e5(e){return"A"===e.tagName&&e.hasAttribute("href")}function e6(e,t){let{key:r,code:n}=e,o=t.getAttribute("role");return("Enter"===r||" "===r||"Spacebar"===r||"Space"===n)&&!(t instanceof(0,ez.k)(t).HTMLInputElement&&!ti(t,r)||t instanceof(0,ez.k)(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===o||!o&&e5(t))&&"Enter"!==r)}function e9(e,t){let r=e.changedTouches;for(let e=0;e<r.length;e++){let n=r[e];if(n.identifier===t)return n}return null}function e8(e,t){let r=0,n=0;return t.targetTouches&&1===t.targetTouches.length&&(r=t.targetTouches[0].clientX,n=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n}}function e7(e,t){let r=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n}}function te(e,t){let r,n,o=t.getBoundingClientRect(),i=(r=0,n=0,void 0!==e.width?r=e.width/2:void 0!==e.radiusX&&(r=e.radiusX),void 0!==e.height?n=e.height/2:void 0!==e.radiusY&&(n=e.radiusY),{top:e.clientY-n,right:e.clientX+r,bottom:e.clientY+n,left:e.clientX-r});return!(o.left>i.right)&&!(i.left>o.right)&&!(o.top>i.bottom)&&!(i.top>o.bottom)}function tt(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function tr(e){return!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!e5(e))}function tn(e,t){return e instanceof HTMLInputElement?!ti(e,t):tr(e)}let to=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ti(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:to.has(e.type)}let ta=0,tl=new Map;function ts(){let e=window.event;return(null==e?void 0:e.key)==="Enter"}function tu(){let e=window.event;return(null==e?void 0:e.key)===" "||(null==e?void 0:e.code)==="Space"}let td=!1,tc=0;function tf(){td=!0,setTimeout(()=>{td=!1},50)}function tp(e){"touch"===e.pointerType&&tf()}function tg(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",tp):document.addEventListener("touchend",tf),tc++,()=>{--tc>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",tp):document.removeEventListener("touchend",tf))}}function tv(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function ty(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function tm(e){let t=null;return()=>(null==t&&(t=e()),t)}let th=tm(function(){return ty(/^Mac/i)}),tb=tm(function(){return ty(/^iPhone/i)}),tT=tm(function(){return ty(/^iPad/i)||th()&&navigator.maxTouchPoints>1}),tw=tm(function(){return tb()||tT()});tm(function(){return th()||tw()}
1),tm(function(){return tv(/AppleWebKit/i)&&!tE()});let tE=tm(function(){return tv(/Chrome/i)}),tP=tm(function(){return tv(/Android/i)});tm(function(){return tv(/Firefox/i)});let tK=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},tk=e=>e&&"window"in e&&e.window===e?e:tK(e).defaultView||window,tx=null,tS=new Set,tL=new Map,tM=!1,tC=!1;function tA(e,t){for(let r of tS)r(e,t)}function tD(e){tM=!0,e.metaKey||!th()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(tx="keyboard",tA("keyboard",e))}function tN(e){tx="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(tM=!0,tA("pointer",e))}function tI(e){(0===e.mozInputSource&&e.isTrusted||(tP()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(tM=!0,tx="virtual")}function tO(e){e.target!==window&&e.target!==document&&(tM||tC||(tx="virtual",tA("virtual",e)),tM=!1,tC=!1)}function tF(){tM=!1,tC=!0}function tR(e){if("undefined"==typeof window||tL.get(tk(e)))return;let t=tk(e),r=tK(e),n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){tM=!0,n.apply(this,arguments)},r.addEventListener("keydown",tD,!0),r.addEventListener("keyup",tD,!0),r.addEventListener("click",tI,!0),t.addEventListener("focus",tO,!0),t.addEventListener("blur",tF,!1),"undefined"!=typeof PointerEvent?(r.addEventListener("pointerdown",tN,!0),r.addEventListener("pointermove",tN,!0),r.addEventListener("pointerup",tN,!0)):(r.addEventListener("mousedown",tN,!0),r.addEventListener("mousemove",tN,!0),r.addEventListener("mouseup",tN,!0)),t.addEventListener("beforeunload",()=>{tH(e)},{once:!0}),tL.set(t,{focus:n})}let tH=(e,t)=>{let r=tk(e),n=tK(e);t&&n.removeEventListener("DOMContentLoaded",t),tL.has(r)&&(r.HTMLElement.prototype.focus=tL.get(r).focus,n.removeEventListener("keydown",tD,!0),n.removeEventListener("keyup",tD,!0),n.removeEventListener("click",tI,!0),r.removeEventListener("focus",tO,!0),r.removeEventListener("blur",tF,!1),"undefined"!=typeof PointerEvent?(n.removeEventListener("pointerdown",tN,!0),n.removeEventListener("pointermove",tN,!0),n.removeEventListener("pointerup",tN,!0)):(n.removeEventListener("mousedown",tN,!0),n.removeEventListener("mousemove",tN,!0),n.removeEventListener("mouseup",tN,!0)),tL.delete(r))};"undefined"!=typeof document&&function(e){let t;let r=tK(void 0);"loading"!==r.readyState?tR(void 0):(t=()=>{tR(void 0)},r.addEventListener("DOMContentLoaded",t)),()=>tH(e,t)}(),"undefined"!=typeof window&&window.document&&window.document.createElement;let tB=new Map;var tj=r(61994);function tz(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],o=n[e];"function"==typeof r&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}(r,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof o?t[e]=(0,tj.Z)(r,o):"id"===e&&r&&o?t.id=function(e,t){if(e===t)return e;let r=tB.get(e);if(r)return r.forEach(e=>e(t)),t;let n=tB.get(t);return n?(n.forEach(t=>t(e)),e):t}(r,o):t[e]=void 0!==o?o:r}}return t}var tW=r(76630),tU=r(39150),tV=e=>{let{Component:t,slots:r,classNames:y,rendered:m,shortcut:h,description:b,isSelectable:w,isSelected:E,isDisabled:P,selectedIcon:K,startContent:k,endContent:S,disableAnimation:L,hideSelectedIcon:R,getItemProps:H,getLabelProps:B,getDescriptionProps:j,getKeyboardShortcutProps:z,getSelectedIconProps:W}=function(e){var t,r;let n=(0,l.w)(),[o,y]=(0,s.oe)(e,a.D9.variantKeys),{as:m,item:h,state:b,shortcut:w,description:E,startContent:P,endContent:K,isVirtualized:k,selectedIcon:S,className:L,classNames:R,onAction:H,autoFocus:B,onPress:j,onPressStart:z,onPressUp:W,onPressEnd:X,onPressChange:_,onHoverStart:Y,onHoverChange:Q,onHoverEnd:ec,hideSelectedIcon:ef=!1,isReadOnly:eg=!1,closeOnSelect:ev,onClose:ey,onClick:eb,...eT}=o,ew=null!=(r=null!=(t=e.disableAnimation)?t:null==n?void 0:n.disableAnimation)&&r,eE=(0,i.useRef)(null),eP=m||((null==eT?void 0:eT.href)?"a":"li"),eK="string"==typeof eP,{rendered:ek,key:ex}=h,eS=b.disabledKeys.has(ex)||e.isDisabled,eL="none"!==b.selectionManager.selectionMode,eM=(0,tW.d)(),{isFocusVisible:eC,focusProps:ej}=(0,u.F)({autoFocus:B});eb&&"function"==typeof eb&&(0,d.Z)("onClick is deprecated, please use onPress instead. See: https://github.com/heroui-inc/heroui/issues/4292","MenuItem");let{isPressed:ez,isFocused:eW,isSelected:eU,isDisabled:eV,menuItemProps:eG,labelProps:eX,descriptionProps:e_,keyboardShortcutProps:eY}=function(e,t,r){var n,o,a;let{id:l,key:s,closeOnSelect:u,isVirtualized:d,"aria-haspopup":c,onPressStart:f,onPressUp:p,onPress:y,onPressChange:m,onPressEnd:h,onHoverStart:b,onHoverChange:w,onHoverEnd:E,onKeyDown:P,onKeyUp:K,onFocus:k,onFocusChange:S,onBlur:L,selectionManager:R=t.selectionManager}=e,H=!!c,B=H&&"true"===e["aria-expanded"],j=null!==(n=e.isDisabled)&&void 0!==n?n:R.isDisabled(s),z=null!==(o=e.isSelected)&&void 0!==o?o:R.isSelected(s),W=(0,g.K).get(t),X=t.collection.getItem(s),_=e.onClose||W.onClose,Y=M(),Q=t=>{var r;!H&&((null==X?void 0:null===(r=X.props)||void 0===r?void 0:r.onAction)?X.props.onAction():e.onAction&&e.onAction(s),W.onAction&&(0,W.onAction)(s),t.target instanceof HTMLAnchorElement&&X&&Y.open(t.target,t,X.props.href,X.props.routerOptions))},ec="menuitem";H||("single"===R.selectionMode?ec="menuitemradio":"multiple"!==R.selectionMode||(ec="menuitemcheckbox"));let ef=(0,A.mp)(),eg=(0,A.mp)(),ev=(0,A.mp)(),ey={id:l,"aria-disabled":j||void 0,role:ec,"aria-label":e["aria-label"],"aria-labelledby":ef,"aria-describedby":[eg,ev].filter(
1Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":c,"aria-expanded":e["aria-expanded"]};"none"===R.selectionMode||H||(ey["aria-checked"]=z),d&&(ey["aria-posinset"]=null==X?void 0:X.index,ey["aria-setsize"]=(0,I.i)(t.collection));let{itemProps:eb,isFocused:eT}=function(e){let{id:t,selectionManager:r,key:n,ref:o,shouldSelectOnPressUp:a,shouldUseVirtualFocus:l,focus:s,isDisabled:u,onAction:d,allowsDifferentPressOrigin:c,linkBehavior:f="action"}=e,p=(0,eO.tv)();t=(0,eF.Me)(t);let g=e=>{if("keyboard"===e.pointerType&&(0,eN.F)(e))r.toggleSelection(n);else{if("none"===r.selectionMode)return;if(r.isLink(n)){if("selection"===f&&o.current){let t=r.getItemProps(n);p.open(o.current,e,t.href,t.routerOptions),r.setSelectedKeys(r.selectedKeys);return}if("override"===f||"none"===f)return}"single"===r.selectionMode?r.isSelected(n)&&!r.disallowEmptySelection?r.toggleSelection(n):r.replaceSelection(n):e&&e.shiftKey?r.extendSelection(n):"toggle"===r.selectionBehavior||e&&((0,eR.y)(e)||"touch"===e.pointerType||"virtual"===e.pointerType)?r.toggleSelection(n):r.replaceSelection(n)}};(0,i.useEffect)(()=>{if(n===r.focusedKey&&r.isFocused){if(l){var e;let t=new CustomEvent(eH.et,{cancelable:!0,bubbles:!0});null===(e=o.current)||void 0===e||e.dispatchEvent(t)}else s?s():document.activeElement!==o.current&&o.current&&(0,eI.e)(o.current)}},[o,n,r.focusedKey,r.childFocusStrategy,r.isFocused,l]),u=u||r.isDisabled(n);let v={};l||u?u&&(v.onMouseDown=e=>{e.preventDefault()}):v={tabIndex:n===r.focusedKey?0:-1,onFocus(e){e.target===o.current&&r.setFocusedKey(n)}};let y=r.isLink(n)&&"override"===f,m=r.isLink(n)&&"selection"!==f&&"none"!==f,h=!u&&r.canSelectItem(n)&&!y,b=(d||m)&&!u,T=b&&("replace"===r.selectionBehavior?!h:!h||r.isEmpty),w=b&&h&&"replace"===r.selectionBehavior,E=T||w,P=(0,i.useRef)(null),K=E&&h,k=(0,i.useRef)(!1),x=(0,i.useRef)(!1),S=e=>{if(d&&d(),m&&o.current){let t=r.getItemProps(n);p.open(o.current,e,t.href,t.routerOptions)}},L={};a?(L.onPressStart=e=>{P.current=e.pointerType,k.current=K,"keyboard"===e.pointerType&&(!E||tu())&&g(e)},c?(L.onPressUp=T?void 0:e=>{"mouse"===e.pointerType&&h&&g(e)},L.onPress=T?S:e=>{"keyboard"!==e.pointerType&&"mouse"!==e.pointerType&&h&&g(e)}):L.onPress=e=>{T||w&&"mouse"!==e.pointerType?("keyboard"!==e.pointerType||ts())&&S(e):"keyboard"!==e.pointerType&&h&&g(e)}):(L.onPressStart=e=>{P.current=e.pointerType,k.current=K,x.current=T,h&&("mouse"===e.pointerType&&!T||"keyboard"===e.pointerType&&(!b||tu()))&&g(e)},L.onPress=e=>{("touch"===e.pointerType||"pen"===e.pointerType||"virtual"===e.pointerType||"keyboard"===e.pointerType&&E&&ts()||"mouse"===e.pointerType&&x.current)&&(E?S(e):h&&g(e))}),v["data-key"]=n,L.preventFocusOnPress=l;let{pressProps:M,isPressed:C}=e2(L),A=w?e=>{"mouse"===P.current&&(e.stopPropagation(),e.preventDefault(),S(e))}:void 0,{longPressProps:D}=function(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:n,onLongPress:o,threshold:a=500,accessibilityDescription:l}=e,s=(0,i.useRef)(void 0),{addGlobalListener:u,removeGlobalListener:d}=eJ(),{pressProps:c}=e2({isDisabled:t,onPressStart(e){if(e.continuePropagation(),("mouse"===e.pointerType||"touch"===e.pointerType)&&(r&&r({...e,type:"longpressstart"}),s.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...e,type:"longpress"}),s.current=void 0},a),"touch"===e.pointerType)){let t=e=>{e.preventDefault()};u(e.target,"contextmenu",t,{once:!0}),u(window,"pointerup",()=>{setTimeout(()=>{d(e.target,"contextmenu",t)}
1,30)},{once:!0})}},onPressEnd(e){s.current&&clearTimeout(s.current),n&&("mouse"===e.pointerType||"touch"===e.pointerType)&&n({...e,type:"longpressend"})}}),f=function(e){let[t,r]=(0,i.useState)();return(0,eZ.b)(()=>{if(!e)return;let t=tl.get(e);if(t)r(t.element.id);else{let n=`react-aria-description-${ta++}`;r(n);let o=document.createElement("div");o.id=n,o.style.display="none",o.textContent=e,document.body.appendChild(o),t={refCount:0,element:o},tl.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),tl.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}(o&&!t?l:void 0);return{longPressProps:(0,eB.d)(c,f)}}({isDisabled:!K,onLongPress(e){"touch"===e.pointerType&&(g(e),r.setSelectionBehavior("toggle"))}}),N=r.isLink(n)?e=>{eO.nG.isOpening||e.preventDefault()}:void 0;return{itemProps:(0,eB.d)(v,h||T?M:{},K?D:{},{onDoubleClick:A,onDragStartCapture:e=>{"touch"===P.current&&k.current&&e.preventDefault()},onClick:N,id:t}),isPressed:C,isSelected:r.isSelected(n),isFocused:r.isFocused&&r.focusedKey===n,isDisabled:u,allowsSelection:h,hasAction:E}}({selectionManager:R,key:s,ref:r,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none"}),{pressProps:ew,isPressed:eE}=function(e){let t,r,n,o,{onPress:a,onPressChange:l,onPressStart:s,onPressEnd:u,onPressUp:d,isDisabled:c,isPressed:f,preventFocusOnPress:p,shouldCancelOnPointerExit:g,allowTextSelectionOnPress:y,ref:m,...h}=function(e){var t;let r=(0,i.useContext)(G);if(r){let{register:t,...n}=r;e=(0,N.d)(n,e),t()}return t=e.ref,(0,Z.b)(()=>{if(r&&r.ref&&t)return r.ref.current=t.current,()=>{r.ref&&(r.ref.current=null)}}),e}(e),[b,w]=(0,i.useState)(!1),E=(0,i.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:P,removeAllGlobalListeners:K}=(t=(0,i.useRef)(new Map),r=(0,i.useCallback)((e,r,n,o)=>{let i=(null==o?void 0:o.once)?(...e)=>{t.current.delete(n),n(...e)}:n;t.current.set(n,{type:r,eventTarget:e,fn:i,options:o}),e.addEventListener(r,i,o)},[]),n=(0,i.useCallback)((e,r,n,o)=>{var i;let a=(null===(i=t.current.get(n))||void 0===i?void 0:i.fn)||n;e.removeEventListener(r,a,o),t.current.delete(n)},[]),o=(0,i.useCallback)(()=>{t.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]),(0,i.useEffect)(()=>o,[o]),{addGlobalListener:r,removeGlobalListener:n,removeAllGlobalListeners:o}),k=(0,J.i)((e,t)=>{let r=E.current;if(c||r.didFirePressStart)return!1;let n=!0;if(r.isTriggeringEvent=!0,s){let r=new ee("pressstart",t,e);s(r),n=r.shouldStopPropagation}return l&&l(!0),r.isTriggeringEvent=!1,r.didFirePressStart=!0,w(!0),n}),S=(0,J.i)((e,t,r=!0)=>{let n=E.current;if(!n.didFirePressStart)return!1;n.ignoreClickAfterPress=!0,n.didFirePressStart=!1,n.isTriggeringEvent=!0;let o=!0;if(u){let r=new ee("pressend",t,e);u(r),o=r.shouldStopPropagation}if(l&&l(!1),w(!1),a&&r&&!c){let r=new ee("press",t,e);a(r),o&&(o=r.shouldStopPropagation)}return n.isTriggeringEvent=!1,o}),L=(0,J.i)((e,t)=>{let r=E.current;if(c)return!1;if(d){r.isTriggeringEvent=!0;let n=new ee("pressup",t,e);return d(n),r.isTriggeringEvent=!1,n.shouldStopPropagation}return!0}),M=(0,J.i)(e=>{let t=E.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&S(ea(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,K(),y||V(t.target))}),A=(0,J.i)(e=>{g&&M(e)}),D=(0,i.useMemo)(()=>{let e=E.current,t={onKeyDown(t){if(en(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var n;ed(t.target,t.key)&&t.preventDefault();let o=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,o=k(t,"keyboard");let n=t.currentTarget;P(O(t.currentTarget),"keyup",(0,q.t)(t=>{en(t,n)&&!t.repeat&&n.contains(t.target)&&e.target&&L(ea(e.target,t),"keyboard")},r),!0)}o&&t.stopPropagation(),t.metaKey&&T()&&(null===(n=e.metaKeyEvents)||void 0===n||n.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!C.isOpening){let r=!0;if(c&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||$(t.nativeEvent))){c||p||v(t.currentTarget);let e=k(t,"virtual"),n=L(t,"virtual"),o=S(t,"virtual");r=e&&n&&o}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,r&&t.stopPropagation()}}},r=t=>{var r,n,o;if(e.isPressed&&e.target&&en(t,e.target)){ed(t.target,t.key)&&t.preventDefault();let r=t.target;S(ea(e.target,t),"keyboard",e.target.contains(r)),K(),"Enter"!==t.key&&er(e.target)&&e.target.contains(r)&&!t[et]&&(t[et]=!0,C(e.target,t,!1)),e.
1isPressed=!1,null===(n=e.metaKeyEvents)||void 0===n||n.delete(t.key)}else if("Meta"===t.key&&(null===(r=e.metaKeyEvents)||void 0===r?void 0:r.size)){let t=e.metaKeyEvents;for(let r of(e.metaKeyEvents=void 0,t.values()))null===(o=e.target)||void 0===o||o.dispatchEvent(new KeyboardEvent("keyup",r))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{var n;if(0!==t.button||!t.currentTarget.contains(t.target))return;if(n=t.nativeEvent,!x()&&0===n.width&&0===n.height||1===n.width&&1===n.height&&0===n.pressure&&0===n.detail&&"mouse"===n.pointerType){e.pointerType="virtual";return}es(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let i=!0;if(!e.isPressed){e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,c||p||v(t.currentTarget),y||U(e.target),i=k(t,e.pointerType);let n=t.target;"releasePointerCapture"in n&&n.releasePointerCapture(t.pointerId),P(O(t.currentTarget),"pointerup",r,!1),P(O(t.currentTarget),"pointercancel",o,!1)}i&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(es(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&L(t,e.pointerType||t.pointerType)},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!0,k(ea(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,S(ea(e.target,t),e.pointerType,!1),A(t))};let r=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(e.target.contains(t.target)&&null!=e.pointerType?S(ea(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&S(ea(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,K(),y||V(e.target),"ontouchend"in e.target&&"mouse"!==t.pointerType&&P(e.target,"touchend",n,{once:!0}))},n=e=>{eu(e.currentTarget)&&e.preventDefault()},o=e=>{M(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&M(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(es(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=$(t.nativeEvent)?"virtual":"mouse",c||p||v(t.currentTarget),k(t,e.pointerType)&&t.stopPropagation(),P(O(t.currentTarget),"mouseup",r,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,r=k(t,e.pointerType)),r&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,r=S(t,e.pointerType,!1),A(t)),r&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&0===t.button&&L(t,e.pointerType||"mouse")};let r=t=>{if(0===t.button){if(e.isPressed=!1,K(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&el(t,e.target)&&null!=e.pointerType?S(ea(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&S(ea(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let r=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);r&&(e.activePointerId=r.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",c||p||v(t.currentTarget),y||U(e.target),k(ei(e.target,t),e.pointerType)&&t.stopPropagation(),P(F(t.currentTarget),"scroll",n,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=eo(t.nativeEvent,e.activePointerId),n=!0;r&&el(r,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,n=k(ei(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,n=S(ei(e.target,t),e.pointerType,!1),A(ei(e.target,t))),n&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=eo(t.nativeEvent,e.activePointerId),n=!0;r&&el(r,t.currentTarget)&&null!=e.pointerType?(L(ei(e.target,t),e.pointerType),n=S(ei(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(n=S(ei(e.target,t),e.pointerType,!1)),n&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!y&&V(e.target),K()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&M(ei(e.target,t)))};let n=t=>{e.isPressed&&t.target.contains(e.target)&&M({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&M(e)}}return t},[P,c,p,K,y,M,A,S,k,L]);return(0,i.useEffect)(()=>()=>{var e;y||V(null!==(e=E.current.target)&&void 0!==e?e:void 0)},[y]),{isPressed:f||b,pressProps:(0,N.d)(h,D)}}({onPressStart:e=>{"keyboard"===e.pointerType&&Q(e),null==f||f(e)},onPress:y,onPressUp:e=>{"keyboard"!==e.pointerType&&(Q(e),!H&&_&&(null!=u?u:"multiple"!==R.selectionMode||R.isLink(s))&&_()),null==p||p(e)},onPressChange:m,onPressEnd:h,isDisabled:j}),{hoverProps:eP}=function(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[a,l]=(0,i.useState)(!1),s=(0,i.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,i.useEffect)(em,[]);let{hoverProps:u,triggerHoverEnd:d}=(0,i.useMemo)(()=>
1{let e=(e,n)=>{if(s.pointerType=n,o||"touch"===n||s.isHovered||!e.currentTarget.contains(e.target))return;s.isHovered=!0;let i=e.currentTarget;s.target=i,t&&t({type:"hoverstart",target:i,pointerType:n}),r&&r(!0),l(!0)},i=(e,t)=>{if(s.pointerType="",s.target=null,"touch"===t||!s.isHovered)return;s.isHovered=!1;let o=e.currentTarget;n&&n({type:"hoverend",target:o,pointerType:t}),r&&r(!1),l(!1)},a={};return"undefined"!=typeof PointerEvent?(a.onPointerEnter=t=>{ep&&"mouse"===t.pointerType||e(t,t.pointerType)},a.onPointerLeave=e=>{!o&&e.currentTarget.contains(e.target)&&i(e,e.pointerType)}):(a.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},a.onMouseEnter=t=>{s.ignoreEmulatedMouseEvents||ep||e(t,"mouse"),s.ignoreEmulatedMouseEvents=!1},a.onMouseLeave=e=>{!o&&e.currentTarget.contains(e.target)&&i(e,"mouse")}),{hoverProps:a,triggerHoverEnd:i}},[t,r,n,o,s]);return(0,i.useEffect)(()=>{o&&d({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:u,isHovered:a}}({isDisabled:j,onHoverStart(e){"pointer"!==eh||B&&"dialog"===c||(R.setFocused(!0),R.setFocusedKey(s)),null==b||b(e)},onHoverChange:w,onHoverEnd:E}),{keyboardProps:eK}={keyboardProps:(a={onKeyDown:e=>{if(e.repeat){e.continuePropagation();return}switch(e.key){case" ":j||"none"!==R.selectionMode||H||!1===u||!_||_();break;case"Enter":j||!1===u||H||!_||_();break;default:H||e.continuePropagation(),null==P||P(e)}},onKeyUp:K}).isDisabled?{}:{onKeyDown:eA(a.onKeyDown),onKeyUp:eA(a.onKeyUp)}},{focusProps:ek}=function(e){let t,r,{isDisabled:n,onFocus:o,onBlur:a,onFocusChange:l}=e,s=(0,i.useCallback)(e=>{if(e.target===e.currentTarget)return a&&a(e),l&&l(!1),!0},[a,l]),u=(t=(0,i.useRef)({isFocused:!1,observer:null}),(0,Z.b)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),r=(0,J.i)(e=>{null==s||s(e)}),(0,i.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=e.target;n.addEventListener("focusout",e=>{t.current.isFocused=!1,n.disabled&&r(new eD("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&n.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let r=n===document.activeElement?null:document.activeElement;n.dispatchEvent(new FocusEvent("blur",{relatedTarget:r})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:r}))}}),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[r])),d=(0,i.useCallback)(e=>{let t=O(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(o&&o(e),l&&l(!0),u(e))},[l,o,u]);return{focusProps:{onFocus:!n&&(o||l||a)?d:void 0,onBlur:!n&&(a||l)?s:void 0}}}({onBlur:L,onFocus:k,onFocusChange:S}),ex=(0,D.z)(null==X?void 0:X.props);delete ex.id;let eS=function(e){var t;let r=M().useHref(null!==(t=null==e?void 0:e.href)&&void 0!==t?t:"");return{href:(null==e?void 0:e.href)?r:void 0,target:null==e?void 0:e.target,rel:null==e?void 0:e.rel,download:null==e?void 0:e.download,ping:null==e?void 0:e.ping,referrerPolicy:null==e?void 0:e.referrerPolicy}}(null==X?void 0:X.props);return{menuItemProps:{...ey,...(0,N.d)(ex,eS,H?{onFocus:eb.onFocus,"data-key":eb["data-key"]}:eb,ew,eP,eK,ek),tabIndex:null!=eb.tabIndex&&B?-1:eb.tabIndex},labelProps:{id:ef},descriptionProps:{id:eg},keyboardShortcutProps:{id:ev},isFocused:eT,isSelected:z,isPressed:eE,isDisabled:j}}({key:ex,onClose:ey,isDisabled:eS,onPress:(0,i.useCallback)(e=>{null==eb||eb(e),null==j||j(e)},[eb,j]),onPressStart:z,onPressUp:W,onPressEnd:X,onPressChange:_,"aria-label":o["aria-label"],closeOnSelect:ev,isVirtualized:k,onAction:H},b,eE),{hoverProps:eq,isHovered:e$}=function(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[a,l]=(0,i.useState)(!1),s=(0,i.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,i.useEffect)(tg,[]);let{hoverProps:u,triggerHoverEnd:d}=(0,i.useMemo)(()=>
1{let e=(e,n)=>{if(s.pointerType=n,o||"touch"===n||s.isHovered||!e.currentTarget.contains(e.target))return;s.isHovered=!0;let i=e.currentTarget;s.target=i,t&&t({type:"hoverstart",target:i,pointerType:n}),r&&r(!0),l(!0)},i=(e,t)=>{if(s.pointerType="",s.target=null,"touch"===t||!s.isHovered)return;s.isHovered=!1;let o=e.currentTarget;n&&n({type:"hoverend",target:o,pointerType:t}),r&&r(!1),l(!1)},a={};return"undefined"!=typeof PointerEvent?(a.onPointerEnter=t=>{td&&"mouse"===t.pointerType||e(t,t.pointerType)},a.onPointerLeave=e=>{!o&&e.currentTarget.contains(e.target)&&i(e,e.pointerType)}):(a.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},a.onMouseEnter=t=>{s.ignoreEmulatedMouseEvents||td||e(t,"mouse"),s.ignoreEmulatedMouseEvents=!1},a.onMouseLeave=e=>{!o&&e.currentTarget.contains(e.target)&&i(e,"mouse")}),{hoverProps:a,triggerHoverEnd:i}},[t,r,n,o,s]);return(0,i.useEffect)(()=>{o&&d({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:u,isHovered:a}}({isDisabled:eV,onHoverStart(e){"pointer"!==tx||(b.selectionManager.setFocused(!0),b.selectionManager.setFocusedKey(ex)),null==Y||Y(e)},onHoverChange:Q,onHoverEnd:ec}),eQ=eG,e0=(0,i.useMemo)(()=>(0,a.D9)({...y,isDisabled:eV,disableAnimation:ew,hasTitleTextChild:"string"==typeof ek,hasDescriptionTextChild:"string"==typeof E}),[(0,c.Xx)(y),eV,ew,ek,E]),e1=(0,f.W)(null==R?void 0:R.base,L);eg&&(eQ=(0,c.Os)(eQ));let e4=(0,i.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"aria-hidden":(0,p.PB)(!0),"data-disabled":(0,p.PB)(eV),className:e0.selectedIcon({class:null==R?void 0:R.selectedIcon}),...e}},[eV,e0,R]);return{Component:eP,domRef:eE,slots:e0,classNames:R,isSelectable:eL,isSelected:eU,isDisabled:eV,rendered:ek,shortcut:w,description:E,startContent:P,endContent:K,selectedIcon:S,disableAnimation:ew,getItemProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:eE,...tz(eg?{}:ej,(0,tU.z)(eT,{enabled:eK}),eQ,eq,e),"data-focus":(0,p.PB)(eW),"data-selectable":(0,p.PB)(eL),"data-hover":(0,p.PB)(eM?e$||ez:e$),"data-disabled":(0,p.PB)(eV),"data-selected":(0,p.PB)(eU),"data-pressed":(0,p.PB)(ez),"data-focus-visible":(0,p.PB)(eC),className:e0.base({class:(0,f.W)(e1,e.className)})}},getLabelProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...tz(eX,e),className:e0.title({class:null==R?void 0:R.title})}},hideSelectedIcon:ef,getDescriptionProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...tz(e_,e),className:e0.description({class:null==R?void 0:R.description})}},getKeyboardShortcutProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...tz(eY,e),className:e0.shortcut({class:null==R?void 0:R.shortcut})}},getSelectedIconProps:e4}}(e),X=(0,i.useMemo)(()=>{let e=(0,n.jsx)(o,{disableAnimation:L,isSelected:E});return"function"==typeof K?K({icon:e,isSelected:E,isDisabled:P}):K||e},[K,E,P,L]);return(0,n.jsxs)(t,{...H(),children:[k,b?(0,n.jsxs)("div",{className:r.wrapper({class:null==y?void 0:y.wrapper}),children:[(0,n.jsx)("span",{...B(),children:m}),(0,n.jsx)("span",{...j(),children:b})]}):(0,n.jsx)("span",{...B(),children:m}),h&&(0,n.jsx)("kbd",{...z(),children:h}),w&&!R&&(0,n.jsx)("span",{...W(),children:X}),S]})};tV.displayName="HeroUI.MenuItem";var tG=r(64959),tX=(0,s.Gp)((e,t)=>{let{item:r,state:o,as:l,variant:s,color:u,disableAnimation:d,onAction:c,closeOnSelect:p,className:g,classNames:v,showDivider:y=!1,hideSelectedIcon:m,dividerProps:h={},itemClasses:b,title:T,...w}=e,E=(0,i.useMemo)(()=>(0,a.Dk)(),[]),P=(0,f.W)(null==v?void 0:v.base,g),K=(0,f.W)(null==v?void 0:v.divider,null==h?void 0:h.className),{itemProps:k,headingProps:x,groupProps:S}=function(e){let{heading:t,"aria-label":r}=e,n=(0,A.Me)();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}({heading:r.rendered,"aria-label":r["aria-label"]});return(0,n.jsxs)(l||"li",{"data-slot":"base",...tz(k,w),className:E.base({class:P}),children:[r.rendered&&(0,n.jsx)("span",{...x,className:E.heading({class:null==v?void 0:v.heading}),"data-slot":"heading",children:r.rendered}),(0,n.jsxs)("ul",{...S,className:E.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,i=(0,n.jsx)(tV,{classNames:b,closeOnSelect:p,color:u,disableAnimation:d,hideSelectedIcon:m,item:e,state:o,variant:s,onAction:c,...r},t);return e.wrapper&&(i=e.wrapper(i)),i}),y&&(0,n.jsx)(tG.j,{as:"li",className:E.divider({class:K}
1),...h})]})]})});tX.displayName="HeroUI.MenuSection";var t_=r(86179),tY=(e,t)=>e||t?Array.from(new Set([...Object.keys(e||{}),...Object.keys(t||{})])).reduce((r,n)=>({...r,[n]:(0,f.W)(null==e?void 0:e[n],null==t?void 0:t[n])}),{}):{},tZ=(0,s.Gp)(function(e,t){let{Component:r,state:o,closeOnSelect:i,color:a,disableAnimation:l,hideSelectedIcon:s,hideEmptyContent:u,variant:d,onClose:c,topContent:f,bottomContent:p,itemClasses:g,getBaseProps:v,getListProps:y,getEmptyContentProps:m}=(0,t_.H)({...e,ref:t}),h=(0,n.jsxs)(r,{...y(),children:[!o.collection.size&&!u&&(0,n.jsx)("li",{children:(0,n.jsx)("div",{...m()})}),[...o.collection].map(e=>{let t={closeOnSelect:i,color:a,disableAnimation:l,item:e,state:o,variant:d,onClose:c,hideSelectedIcon:s,...e.props},r=tY(g,null==t?void 0:t.classNames);if("section"===e.type)return(0,n.jsx)(tX,{...t,itemClasses:r},e.key);let u=(0,n.jsx)(tV,{...t,classNames:r},e.key);return e.wrapper&&(u=e.wrapper(u)),u})]});return(0,n.jsxs)("div",{...v(),children:[f,h,p]})})},72914:function(e,t,r){r.d(t,{W:function(){return n}});var n=r(62738).c},86179:function(e,t,r){r.d(t,{H:function(){return v}});var n=r(22450),o=r(53074),i=r(21417);class a{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){var t;let r=this.keyMap.get(e);return r&&null!==(t=r.prevKey)&&void 0!==t?t:null}getKeyAfter(e){var t;let r=this.keyMap.get(e);return r&&null!==(t=r.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])}constructor(e,{expandedKeys:t}={}){var r;this.keyMap=new Map,this.firstKey=null,this.lastKey=null,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=null,i=0;for(let[e,t]of this.keyMap)o?(o.nextKey=e,t.prevKey=o.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=i++),(o=t).nextKey=void 0;this.lastKey=null!==(r=null==o?void 0:o.key)&&void 0!==r?r:null}}var l=r(88970),s=r(47834),u=r(2265),d=r(22603),c=r(45614),f=r(45280),p=r(39150),g=r(16367);function v(e){var t;let r=(0,n.w)(),{as:v,ref:y,variant:m,color:h,children:b,disableAnimation:T=null!=(t=null==r?void 0:r.disableAnimation)&&t,onAction:w,closeOnSelect:E,itemClasses:P,className:K,state:k,topContent:x,bottomContent:S,hideEmptyContent:L=!1,hideSelectedIcon:M=!1,emptyContent:C="No items.",menuProps:A,onClose:D,classNames:N,...I}=e,O=v||"ul",F=(0,f.gy)(y),R="string"==typeof O,H=function(e){let{onExpandedChange:t}=e,[r,n]=(0,c.z)(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),o=(0,l.q)(e),i=(0,u.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),f=(0,d.K)(e,(0,u.useCallback)(e=>new a(e,{expandedKeys:r}),[r]),null);return(0,u.useEffect)(()=>{null==o.focusedKey||f.getItem(o.focusedKey)||o.setFocusedKey(null)},[f,o.focusedKey]),{collection:f,expandedKeys:r,disabledKeys:i,toggleKey:e=>{let t;n(((t=new Set(r)).has(e)?t.delete(e):t.add(e),t))},setExpandedKeys:n,selectionManager:new s.Z(f,o)}}({...I,...A,children:b}),B=k||H,{menuProps:j}=(0,o.H)({...I,...A,onAction:w},B,F),z=(0,u.useMemo)(()=>(0,i.GI)({className:K}),[K]),W=(0,g.W)(null==N?void 0:N.base,K);return{Component:O,state:B,variant:m,color:h,disableAnimation:T,onClose:D,topContent:x,bottomContent:S,closeOnSelect:E,className:K,itemClasses:P,getBaseProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:F,"data-slot":"base",className:z.base({class:W}),...(0,p.z)(I,{enabled:R}),...e}},getListProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"list",className:z.list({class:null==N?void 0:N.list}),...j,...e}},hideEmptyContent:L,hideSelectedIcon:M,getEmptyContentProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{children:C,className:z.emptyContent({class:null==N?void 0:N.emptyContent}),...e}}}}},8768:function(e,t,r){r.d(t,{d:function(){return n}});var n=r(75224).$},53074:function(e,t,r){r.d(t,{K:function(){return W},H:function(){return U}});var n=r(59711),o=r(88169),i=r(35241),a=r(2265),l=r(59431),s=r(58880),u=r(46337),d=r(19247);function c(e,t,r,n){let o=(0,d.i)(r),i=null==r;(0,a.useEffect)(()=>
1{if(i||!e.current)return;let r=e.current;return r.addEventListener(t,o,n),()=>{r.removeEventListener(t,o,n)}},[e,t,n,i,o])}function f(e,t){if(!e)return!1;let r=window.getComputedStyle(e),n=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);return n&&t&&(n=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),n}function p(e,t){let r=g(e,t,"left"),n=g(e,t,"top"),o=t.offsetWidth,i=t.offsetHeight,a=e.scrollLeft,l=e.scrollTop,{borderTopWidth:s,borderLeftWidth:u,scrollPaddingTop:d,scrollPaddingRight:c,scrollPaddingBottom:f,scrollPaddingLeft:p}=getComputedStyle(e),v=a+parseInt(u,10),y=l+parseInt(s,10),m=v+e.clientWidth,h=y+e.clientHeight,b=parseInt(d,10)||0,T=parseInt(f,10)||0,w=parseInt(c,10)||0,E=parseInt(p,10)||0;r<=a+E?a=r-parseInt(u,10)-E:r+o>m-w&&(a+=r+o-m+w),n<=y+b?l=n-parseInt(s,10)-b:n+i>h-T&&(l+=n+i-h+T),e.scrollLeft=a,e.scrollTop=l}function g(e,t,r){let n="left"===r?"offsetLeft":"offsetTop",o=0;for(;t.offsetParent&&(o+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[n];break}t=t.offsetParent}return o}function v(e,t){if(e&&document.contains(e)){let a=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(a).overflow)for(let t of function(e,t){let r=[];for(;e&&e!==document.documentElement;)f(e,void 0)&&r.push(e),e=e.parentElement;return r}(e))p(t,e);else{var r,n,o,i;let{left:a,top:l}=e.getBoundingClientRect();null==e||null===(r=e.scrollIntoView)||void 0===r||r.call(e,{block:"nearest"});let{left:s,top:u}=e.getBoundingClientRect();(Math.abs(a-s)>1||Math.abs(l-u)>1)&&(null==t||null===(o=t.containingElement)||void 0===o||null===(n=o.scrollIntoView)||void 0===n||n.call(o,{block:"center",inline:"center"}),null===(i=e.scrollIntoView)||void 0===i||i.call(e,{block:"nearest"}))}}}var y=r(94806),m=r(97103);function h(e,t){let r=(0,a.useRef)(!0),n=(0,a.useRef)(null);(0,m.b)(()=>(r.current=!0,()=>{r.current=!1}),[]),(0,m.b)(()=>{r.current?r.current=!1:(!n.current||t.some((e,t)=>!Object.is(e,n[t])))&&e(),n.current=t},t)}var b=r(40869),T=r(54887),w=r(37670);let E=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])'],P=E.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";E.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let K=E.join(':not([hidden]):not([tabindex="-1"]),');class k{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,r){let n=this.fastMap.get(null!=t?t:null);if(!n)return;let o=new x({scopeRef:e});n.addChild(o),o.parent=n,this.fastMap.set(e,o),r&&(o.nodeToRestore=r)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let r=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&function(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let n=t.children;r&&(r.removeChild(t),n.size>0&&n.forEach(e=>r&&r.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let r=new k;for(let n of this.traverse())r.addTreeNode(n.scopeRef,null!==(t=null===(e=n.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,n.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new x({scopeRef:null}),this.fastMap.set(null,this.root)}}class x{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}new k;var S=r(16378),L=r(32889);let M=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),C=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);var A=r(87365);let D=Symbol.for("react-aria.i18n.locale");function N(){let e="undefined"!=typeof window&&window[D]||"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(),r="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(r)return"rtl"===r.direction;if(t.script)return M.has(t.script)}let t=e.split("-")[0];return C.has(t)}(e)?"ltr":"rtl"}}let I=N(),O=new Set;function F(){for(let e of(I=N(),O))e(I)}let R=a.createContext(null);function H(){let e=function(){let e=(0,A.Av)(),[t,r]=(0,a.useState)(I);return((0,a.useEffect)(()=>(0===O.size&&window.addEventListener("languagechange",F),O.add(r),()=>{O.delete(r),0===O.size&&window.removeEventListener("languagechange",F)}),[]),e)?{locale:"en-US",direction:"ltr"}:t}();return(0,a.useContext)(R)||e}class B{getItemRect(e){let t=this.ref.current;if(!t)return null;let r=null!=e?t.querySelector(`[data-key="${CSS.escape(e.toString())}"]`):null;if(!r)return null;let n=t.getBoundingClientRect(),o=r.getBoundingClientRect();return{x:o.left-n.left+t.scrollLeft,y:o.top-n.top+t.scrollTop,width:o.width,height:o.height}}getContentSize(){var e,t;let r=this.ref.current;return{width:null!==(e=null==r?void 0:r.scrollWidth)&&void 0!==e?e:0,height:null!==(t=null==r?void 0:r.scrollHeight)&&void 0!==t?t:0}}getVisibleRect(){var e,t,r,n;let o=this.ref.current;return{x:null!==(e=null==o?void 0:o.scrollLeft)&&void 0!==e?e:0,y:null!==(t=null==o?void 0:o.scrollTop)&&void 0!==t?t:0,width:null!==(r=null==o?void 0:o.offsetWidth)&&void 0!==r?r:0,height:null!==(n=null==o?void 0:o.offsetHeight)&&void 0!==n?n:0}}constructor(e){this.ref=e}}class j{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 r=e;for(;null!=r;){let e=this.collection.getItem(r);if((null==e?void 0:e.type)==="item"&&!this.isDisabled(e))return r;r=t(r)}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,r){let n=e,o=this.layoutDelegate.getItemRect(n);if(!o||null==n)return null;let i=o;do{if(null==(n=t(n)))break;o=this.layoutDelegate.getItemRect(n)}while(o&&r(i,o)&&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)}
1getKeyAbove(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,r=this.layoutDelegate.getItemRect(e);if(!r)return null;if(t&&!f(t))return this.getFirstKey();let n=e;if("horizontal"===this.orientation){let e=Math.max(0,r.x+r.width-this.layoutDelegate.getVisibleRect().width);for(;r&&r.x>e&&null!=n;)r=null==(n=this.getKeyAbove(n))?null:this.layoutDelegate.getItemRect(n)}else{let e=Math.max(0,r.y+r.height-this.layoutDelegate.getVisibleRect().height);for(;r&&r.y>e&&null!=n;)r=null==(n=this.getKeyAbove(n))?null:this.layoutDelegate.getItemRect(n)}return null!=n?n:this.getFirstKey()}getKeyPageBelow(e){let t=this.ref.current,r=this.layoutDelegate.getItemRect(e);if(!r)return null;if(t&&!f(t))return this.getLastKey();let n=e;if("horizontal"===this.orientation){let e=Math.min(this.layoutDelegate.getContentSize().width,r.y-r.width+this.layoutDelegate.getVisibleRect().width);for(;r&&r.x<e&&null!=n;)r=null==(n=this.getKeyBelow(n))?null:this.layoutDelegate.getItemRect(n)}else{let e=Math.min(this.layoutDelegate.getContentSize().height,r.y-r.height+this.layoutDelegate.getVisibleRect().height);for(;r&&r.y<e&&null!=n;)r=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 r=this.collection,n=t||this.getFirstKey();for(;null!=n;){let t=r.getItem(n);if(!t)break;let o=t.textValue.slice(0,e.length);if(t.textValue&&0===this.collator.compare(o,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 B(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 B(this.ref);"stack"===this.layout&&"vertical"===this.orientation&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}let z=new Map,W=new WeakMap;function U(e,t,r){let{shouldFocusWrap:f=!0,onKeyDown:g,onKeyUp:m,...E}=e;e["aria-label"]||e["aria-labelledby"]||console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let k=(0,n.z)(e,{labelable:!0}),{listProps:x}=function(e){let{selectionManager:t,collection:r,disabledKeys:n,ref:o,keyboardDelegate:f,layoutDelegate:g}=e,m=function(e){let{locale:t}=H(),r=t+(e?Object.entries(e).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(z.has(r))return z.get(r);let n=new Intl.Collator(t,e);return z.set(r,n),n}({usage:"search",sensitivity:"base"}),E=t.disabledBehavior,k=(0,a.useMemo)(()=>f||new j({collection:r,disabledKeys:n,disabledBehavior:E,ref:o,collator:m,layoutDelegate:g}
1),[f,g,r,n,o,m,E]),{collectionProps:x}=function(e){let t,{selectionManager:r,keyboardDelegate:n,ref:o,autoFocus:f=!1,shouldFocusWrap:g=!1,disallowEmptySelection:m=!1,disallowSelectAll:E=!1,selectOnFocus:k="replace"===r.selectionBehavior,disallowTypeAhead:x=!1,shouldUseVirtualFocus:M,allowsTabNavigation:C=!1,isVirtualized:A,scrollRef:D=o,linkBehavior:N="action"}=e,{direction:I}=H(),O=(0,l.tv)(),F=(0,a.useRef)({top:0,left:0});c(D,"scroll",A?void 0:()=>{var e,t,r,n;F.current={top:null!==(r=null===(e=D.current)||void 0===e?void 0:e.scrollTop)&&void 0!==r?r:0,left:null!==(n=null===(t=D.current)||void 0===t?void 0:t.scrollLeft)&&void 0!==n?n:0}});let R=(0,a.useRef)(!1);c(o,y.N4,M?e=>{let{detail:t}=e;e.stopPropagation(),r.setFocused(!0),(null==t?void 0:t.focusStrategy)==="first"&&(R.current=!0)}:void 0);let B=(0,d.i)(()=>{var e,t,i;let a=null!==(t=null===(e=n.getFirstKey)||void 0===e?void 0:e.call(n))&&void 0!==t?t:null;null==a?(null===(i=o.current)||void 0===i||i.dispatchEvent(new CustomEvent(y.et,{cancelable:!0,bubbles:!0})),r.collection.size>0&&(R.current=!1)):(r.setFocusedKey(a),R.current=!1)});h(()=>{R.current&&B()},[r.collection,B]);let j=(0,d.i)(()=>{r.collection.size>0&&(R.current=!1)});h(()=>{j()},[r.focusedKey,j]),c(o,y.os,M?e=>{e.stopPropagation(),r.setFocused(!1),r.setFocusedKey(null)}:void 0);let z=(0,a.useRef)(f);(0,a.useEffect)(()=>{if(z.current){var e,t,i,a;let l=null;"first"===f&&(l=null!==(i=null===(e=n.getFirstKey)||void 0===e?void 0:e.call(n))&&void 0!==i?i:null),"last"===f&&(l=null!==(a=null===(t=n.getLastKey)||void 0===t?void 0:t.call(n))&&void 0!==a?a:null);let s=r.selectedKeys;if(s.size){for(let e of s)if(r.canSelectItem(e)){l=e;break}}r.setFocused(!0),r.setFocusedKey(l),null==l&&!M&&o.current&&(0,S.e)(o.current)}},[]);let W=(0,a.useRef)(r.focusedKey);(0,a.useEffect)(()=>{if(r.isFocused&&null!=r.focusedKey&&(r.focusedKey!==W.current||z.current)&&D.current&&o.current){let e=(0,L.Jz)(),t=o.current.querySelector(`[data-key="${CSS.escape(r.focusedKey.toString())}"]`);if(!t)return;("keyboard"===e||z.current)&&(p(D.current,t),"virtual"!==e&&v(t,{containingElement:o.current}))}!M&&r.isFocused&&null==r.focusedKey&&null!=W.current&&o.current&&(0,S.e)(o.current),W.current=r.focusedKey,z.current=!1}),c(o,"react-aria-focus-scope-restore",e=>{e.preventDefault(),r.setFocused(!0)});let U={onKeyDown:e=>{var t,a,l,d,c,f,p,v,y,h,b,x,S,L,M;if(e.altKey&&"Tab"===e.key&&e.preventDefault(),!(null===(t=o.current)||void 0===t?void 0:t.contains(e.target)))return;let A=(t,n)=>{if(null!=t){if(r.isLink(t)&&"selection"===N&&k&&!(0,i.F)(e)){var o;(0,T.flushSync)(()=>{r.setFocusedKey(t,n)});let i=null===(o=D.current)||void 0===o?void 0:o.querySelector(`[data-key="${CSS.escape(t.toString())}"]`),a=r.getItemProps(t);i&&O.open(i,e,a.href,a.routerOptions);return}r.setFocusedKey(t,n),r.isLink(t)&&"override"===N||(e.shiftKey&&"multiple"===r.selectionMode?r.extendSelection(t):k&&!(0,i.F)(e)&&r.replaceSelection(t))}};switch(e.key){case"ArrowDown":if(n.getKeyBelow){let t=null!=r.focusedKey?null===(a=n.getKeyBelow)||void 0===a?void 0:a.call(n,r.focusedKey):null===(l=n.getFirstKey)||void 0===l?void 0:l.call(n);null==t&&g&&(t=null===(d=n.getFirstKey)||void 0===d?void 0:d.call(n,r.focusedKey)),null!=t&&(e.preventDefault(),A(t))}break;case"ArrowUp":if(n.getKeyAbove){let t=null!=r.focusedKey?null===(c=n.getKeyAbove)||void 0===c?void 0:c.call(n,r.focusedKey):null===(f=n.getLastKey)||void 0===f?void 0:f.call(n);null==t&&g&&(t=null===(p=n.getLastKey)||void 0===p?void 0:p.call(n,r.focusedKey)),null!=t&&(e.preventDefault(),A(t))}break;case"ArrowLeft":if(n.getKeyLeftOf){let t=null!=r.focusedKey?null===(v=n.getKeyLeftOf)||void 0===v?void 0:v.call(n,r.focusedKey):null;null==t&&g&&(t="rtl"===I?null===(y=n.getFirstKey)||void 0===y?void 0:y.call(n,r.focusedKey):null===(h=n.getLastKey)||void 0===h?void 0:h.call(n,r.focusedKey)),null!=t&&(e.preventDefault(),A(t,"rtl"===I?"first":"last"))}break;case"ArrowRight":if(n.getKeyRightOf){let t=null!=r.focusedKey?null===(b=n.getKeyRightOf)||void 0===b?void 0:b.call(n,r.focusedKey):null;null==t&&g&&(t="rtl"===I?null===(x=n.getLastKey)||void 0===x?void 0:x.call(n,r.focusedKey):null===(S=n.getFirstKey)||void 0===S?void 0:S.call(n,r.focusedKey)),null!=t&&(e.preventDefault(),A(t,"rtl"===I?"last":"first"))}break;case"Home":if(n.getFirstKey){if(null===r.focusedKey&&e.shiftKey)return;e.preventDefault();let t=n.getFirstKey(r.focusedKey,(0,s.y)(e));r.setFocusedKey(t),null!=t&&((0,s.y)(e)&&e.shiftKey&&"multiple"===r.selectionMode?r.extendSelection(t):k&&r.replaceSelection(t))}break;case"End":if(n.getLastKey){if(null===r.focusedKey&&e.shiftKey)return;e.preventDefault();let t=n.getLastKey(r.focusedKey,(0,s.y)(e));r.setFocusedKey(t),null!=t&&((0,s.y)(e)&&e.shiftKey&&"multiple"===r.selectionMode?r.extendSelection(t):k&&r.replaceSelection(t))}break;case"PageDown":if(n.getKeyPageBelow&&null!=r.focusedKey){let t=n.getKeyPageBelow(r.focusedKey);null!=t&&(e.preventDefault(),A(t))}break;case"PageUp":if(n.getKeyPageAbove&&null!=r.focusedKey){let t=n.getKeyPageAbove(r.focusedKey);null!=t&&(e.preventDefault(),A(t))}break;case"a":(0,s.y)(e)&&"multiple"===r.selectionMode&&!0!==E&&(e.preventDefault(),r.selectAll());break;case"Escape":m||0===r.selectedKeys.size||(e.stopPropagation(),e.preventDefault(),r.clearSelection());break;case"Tab":if(!C){if(e.shiftKey)o.current.focus();else{let e,t,r;let n,i=(L=o.current,e=(M={tabbable:!0}).tabbable?K:P,t=(0,w.r)(L).createTreeWalker(L,NodeFilter.SHOW_ELEMENT,{acceptNode(t){var r;return(null==M?void 0:null===(r=M.from)||void 0===r?void 0:r.contains(t))?NodeFilter.FILTER_REJECT:t.matches(e)&&function e(t,r){return"#comment"!==t.nodeName&&function(e){let t=(0,w.k)(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:n}
1=e.style,o="none"!==r&&"hidden"!==n&&"collapse"!==n;if(o){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n}=t(e);o="none"!==r&&"hidden"!==n&&"collapse"!==n}return o}(t)&&!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==t.nodeName||!r||"SUMMARY"===r.nodeName||t.hasAttribute("open"))&&(!t.parentElement||e(t.parentElement,t))}(t)&&(!(null==M?void 0:M.accept)||M.accept(t))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}}),(null==M?void 0:M.from)&&(t.currentNode=M.from),t);do(n=i.lastChild())&&(r=n);while(n);r&&!r.contains(document.activeElement)&&(0,u.A)(r)}}}},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,i,a,l;let o=e=>{null!=e&&(r.setFocusedKey(e),k&&r.replaceSelection(e))},s=e.relatedTarget;s&&e.currentTarget.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_FOLLOWING?o(null!==(a=r.lastSelectedKey)&&void 0!==a?a:null===(t=n.getLastKey)||void 0===t?void 0:t.call(n)):o(null!==(l=r.firstSelectedKey)&&void 0!==l?l:null===(i=n.getFirstKey)||void 0===i?void 0:i.call(n))}else!A&&D.current&&(D.current.scrollTop=F.current.top,D.current.scrollLeft=F.current.left);if(null!=r.focusedKey&&D.current){let e=D.current.querySelector(`[data-key="${CSS.escape(r.focusedKey.toString())}"]`);e&&(e.contains(document.activeElement)||(0,u.A)(e),"keyboard"===(0,L.Jz)()&&v(e,{containingElement:o.current}))}}},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||r.setFocused(!1)},onMouseDown(e){D.current===e.target&&e.preventDefault()}},{typeSelectProps:V}=function(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,o=(0,a.useRef)({search:"",timeout:void 0}).current;return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{var i;let a=1!==(i=e.key).length&&/^[A-Z]/i.test(i)?"":i;if(a&&!e.ctrlKey&&!e.metaKey&&e.currentTarget.contains(e.target)){if(" "!==a||!(o.search.trim().length>0)||(e.preventDefault(),"continuePropagation"in e||e.stopPropagation()),o.search+=a,null!=t.getKeyForSearch){let e=t.getKeyForSearch(o.search,r.focusedKey);null==e&&(e=t.getKeyForSearch(o.search)),null!=e&&(r.setFocusedKey(e),n&&n(e))}clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},1e3)}}:void 0}}}({keyboardDelegate:n,selectionManager:r});return x||(U=(0,b.d)(V,U)),t=M?-1:null==r.focusedKey?0:-1,{collectionProps:{...U,tabIndex:t}}}({...e,ref:o,selectionManager:t,keyboardDelegate:k});return{listProps:x}}({...E,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:f,linkBehavior:"override"});return W.set(t,{onClose:e.onClose,onAction:e.onAction}),{menuProps:(0,o.d)(k,{onKeyDown:g,onKeyUp:m},{role:"menu",...x,onKeyDown:e=>{var t;"Escape"!==e.key&&(null===(t=x.onKeyDown)||void 0===t||t.call(x,e))}})}}},72112:function(e,t,r){r.d(t,{t:function(){return n}});function n(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}},59711:function(e,t,r){r.d(t,{z:function(){return l}});let n=new Set(["id"]),o=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),i=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),a=/^(data-.*)$/;function l(e,t={}){let{labelable:r,isLink:l,propNames:s}=t,u={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n.has(t)||r&&o.has(t)||l&&i.has(t)||(null==s?void 0:s.has(t))||a.test(t))&&(u[t]=e[t]);return u}},88169:function(e,t,r){r.d(t,{d:function(){return a}});var n=r(72112),o=r(40632),i=r(61994);function a(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let a=e[r];for(let e in a){let r=t[e],l=a[e];"function"==typeof r&&"function"==typeof l&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=(0,n.t)(r,l):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof l?t[e]=(0,i.Z)(r,l):"id"===e&&r&&l?t.id=(0,o.ur)(r,l):t[e]=void 0!==l?l:r}}return t}},66755:function(e,t,r){r.d(t,{i:function(){return i}});var n=r(80683),o=r(2265);function i(e){let t=(0,o.useRef)(null);return(0,n.b)(()=>{t.current=e},[e]),(0,o.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}},40632:function(e,t,r){r.d(t,{ur:function(){return d},Me:function(){return u},mp:function(){return c}});var n=r(80683),o=r(66755),i=r(2265),a=r(87365);let l=!!("undefined"!=typeof window&&window.document&&window.document.createElement),s=new Map;function u(e){let[t,r]=(0,i.useState)(e),o=(0,i.useRef)(null),u=(0,a.gP)(t),d=(0,i.useCallback)(e=>{o.current=e},[]);return l&&(s.has(u)&&!s.get(u).includes(d)?s.set(u,[...s.get(u),d]):s.set(u,[d])),(0,n.b)(()=>()=>{s.delete(u)},[u]),(0,i.useEffect)(()=>{let e=o.current;e&&(o.current=null,r(e))}),u}function d(e,t){if(e===t)return e;let r=s.get(e);
1if(r)return r.forEach(e=>e(t)),t;let n=s.get(t);return n?(n.forEach(t=>t(e)),e):t}function c(e=[]){let t=u(),[r,a]=function(e){let[t,r]=(0,i.useState)(e),a=(0,i.useRef)(null),l=(0,o.i)(()=>{if(!a.current)return;let e=a.current.next();if(e.done){a.current=null;return}t===e.value?l():r(e.value)});(0,n.b)(()=>{a.current&&l()});let s=(0,o.i)(e=>{a.current=e(t),l()});return[t,s]}(t),l=(0,i.useCallback)(()=>{a(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,a]);return(0,n.b)(l,[t,l,...e]),r}},80683:function(e,t,r){r.d(t,{b:function(){return o}});var n=r(2265);let o="undefined"!=typeof document?n.useLayoutEffect:()=>{}},35241:function(e,t,r){r.d(t,{F:function(){return o}});var n=r(17901);function o(e){return(0,n.ad)()?e.altKey:e.ctrlKey}},16378:function(e,t,r){r.d(t,{e:function(){return l}});var n=r(37670),o=r(30629),i=r(46337),a=r(32889);function l(e){let t=(0,n.r)(e);if("virtual"===(0,a.Jz)()){let r=t.activeElement;(0,o.Q)(()=>{t.activeElement===r&&e.isConnected&&(0,i.A)(e)})}else(0,i.A)(e)}},32889:function(e,t,r){r.d(t,{Jz:function(){return b}});var n=r(17901),o=r(9263),i=r(37670);r(2265);let a=null,l=new Set,s=new Map,u=!1,d=!1;function c(e,t){for(let r of l)r(e,t)}function f(e){u=!0,e.metaKey||!(0,n.V5)()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(a="keyboard",c("keyboard",e))}
1function p(e){a="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(u=!0,c("pointer",e))}function g(e){(0,o.Z)(e)&&(u=!0,a="virtual")}function v(e){e.target!==window&&e.target!==document&&(u||d||(a="virtual",c("virtual",e)),u=!1,d=!1)}function y(){u=!1,d=!0}function m(e){if("undefined"==typeof window||s.get((0,i.k)(e)))return;let t=(0,i.k)(e),r=(0,i.r)(e),n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){u=!0,n.apply(this,arguments)},r.addEventListener("keydown",f,!0),r.addEventListener("keyup",f,!0),r.addEventListener("click",g,!0),t.addEventListener("focus",v,!0),t.addEventListener("blur",y,!1),"undefined"!=typeof PointerEvent?(r.addEventListener("pointerdown",p,!0),r.addEventListener("pointermove",p,!0),r.addEventListener("pointerup",p,!0)):(r.addEventListener("mousedown",p,!0),r.addEventListener("mousemove",p,!0),r.addEventListener("mouseup",p,!0)),t.addEventListener("beforeunload",()=>{h(e)},{once:!0}),s.set(t,{focus:n})}let h=(e,t)=>{let r=(0,i.k)(e),n=(0,i.r)(e);t&&n.removeEventListener("DOMContentLoaded",t),s.has(r)&&(r.HTMLElement.prototype.focus=s.get(r).focus,n.removeEventListener("keydown",f,!0),n.removeEventListener("keyup",f,!0),n.removeEventListener("click",g,!0),r.removeEventListener("focus",v,!0),r.removeEventListener("blur",y,!1),"undefined"!=typeof PointerEvent?(n.removeEventListener("pointerdown",p,!0),n.removeEventListener("pointermove",p,!0),n.removeEventListener("pointerup",p,!0)):(n.removeEventListener("mousedown",p,!0),n.removeEventListener("mousemove",p,!0),n.removeEventListener("mouseup",p,!0)),s.delete(r))};function b(){return a}"undefined"!=typeof document&&function(e){let t;let r=(0,i.r)(void 0);"loading"!==r.readyState?m(void 0):(t=()=>{m(void 0)},r.addEventListener("DOMContentLoaded",t)),()=>h(e,t)}()},58479:function(e,t,r){r.d(t,{t:function(){return n}});function n(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}},94806:function(e,t,r){r.d(t,{N4:function(){return o},et:function(){return i},os:function(){return n}});let n="react-aria-clear-focus",o="react-aria-focus",i="react-aria-update-activedescendant"},37670:function(e,t,r){r.d(t,{k:function(){return o},r:function(){return n}});let n=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},o=e=>e&&"window"in e&&e.window===e?e:n(e).defaultView||window},46337:function(e,t,r){function n(e){if(function(){if(null==o){o=!1;try{document.createElement("div").focus({get preventScroll(){return o=!0,!0}})}catch{}}return o}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}(e);e.focus(),function(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}(t)}}r.d(t,{A:function(){return n}});let o=null},9263:function(e,t,r){r.d(t,{Z:function(){return o},c:function(){return i}});var n=r(17901);function o(e){return 0===e.mozInputSource&&!!e.isTrusted||((0,n.Dt)()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function i(e){return!(0,n.Dt)()&&0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType}},58880:function(e,t,r){r.d(t,{y:function(){return o}});var n=r(17901);function o(e){return(0,n.V5)()?e.metaKey:e.ctrlKey}},40869:function(e,t,r){r.d(t,{d:function(){return a}});var n=r(58479),o=r(42494),i=r(61994);function a(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let a=e[r];for(let e in a){let r=t[e],l=a[e];"function"==typeof r&&"function"==typeof l&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=(0,n.t)(r,l):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof l?t[e]=(0,i.Z)(r,l):"id"===e&&r&&l?t.id=(0,o.ur)(r,l):t[e]=void 0!==l?l:r}}return t}},59431:function(e,t,r){r.d(t,{nG:function(){return s},tv:function(){return l}});var n=r(46337),o=r(17901),i=r(2265);let a=(0,i.createContext)({isNative:!0,open:function(e,t){!function(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}(e,e=>s(e,t))},useHref:e=>e});function l(){return(0,i.useContext)(a)}function s(e,t,r=!0){var i,a;
1let{metaKey:l,ctrlKey:u,altKey:d,shiftKey:c}=t;(0,o.vU)()&&(null===(a=window.event)||void 0===a?void 0:null===(i=a.type)||void 0===i?void 0:i.startsWith("key"))&&"_blank"===e.target&&((0,o.V5)()?l=!0:u=!0);let f=(0,o.Pf)()&&(0,o.V5)()&&!(0,o.zc)()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:l,ctrlKey:u,altKey:d,shiftKey:c}):new MouseEvent("click",{metaKey:l,ctrlKey:u,altKey:d,shiftKey:c,bubbles:!0,cancelable:!0});s.isOpening=r,(0,n.A)(e),e.dispatchEvent(f),s.isOpening=!1}s.isOpening=!1},17901:function(e,t,r){function n(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function o(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function i(e){let t=null;return()=>(null==t&&(t=e()),t)}r.d(t,{Dt:function(){return p},Pf:function(){return c},V5:function(){return a},ad:function(){return d},gn:function(){return u},vU:function(){return g},zc:function(){return s}});let a=i(function(){return o(/^Mac/i)}),l=i(function(){return o(/^iPhone/i)}),s=i(function(){return o(/^iPad/i)||a()&&navigator.maxTouchPoints>1}),u=i(function(){return l()||s()}),d=i(function(){return a()||u()}
1),c=i(function(){return n(/AppleWebKit/i)&&!f()}),f=i(function(){return n(/Chrome/i)}),p=i(function(){return n(/Android/i)}),g=i(function(){return n(/Firefox/i)})},30629:function(e,t,r){r.d(t,{Q:function(){return a}});let n=new Map,o=new Set;function i(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=r=>{if(!e(r)||!r.target)return;let i=n.get(r.target);if(i&&(i.delete(r.propertyName),0===i.size&&(r.target.removeEventListener("transitioncancel",t),n.delete(r.target)),0===n.size)){for(let e of o)e();o.clear()}};document.body.addEventListener("transitionrun",r=>{if(!e(r)||!r.target)return;let o=n.get(r.target);o||(o=new Set,n.set(r.target,o),r.target.addEventListener("transitioncancel",t,{once:!0})),o.add(r.propertyName)}),document.body.addEventListener("transitionend",t)}function a(e){requestAnimationFrame(()=>{0===n.size?e():o.add(e)})}"undefined"!=typeof document&&("loading"!==document.readyState?i():document.addEventListener("DOMContentLoaded",i))},19247:function(e,t,r){r.d(t,{i:function(){return i}});var n=r(97103),o=r(2265);function i(e){let t=(0,o.useRef)(null);return(0,n.b)(()=>{t.current=e},[e]),(0,o.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}},42494:function(e,t,r){r.d(t,{Me:function(){return s},ur:function(){return u}});var n=r(97103),o=r(2265),i=r(87365);let a=!!("undefined"!=typeof window&&window.document&&window.document.createElement),l=new Map;function s(e){let[t,r]=(0,o.useState)(e),s=(0,o.useRef)(null),u=(0,i.gP)(t),d=(0,o.useCallback)(e=>{s.current=e},[]);return a&&(l.has(u)&&!l.get(u).includes(d)?l.set(u,[...l.get(u),d]):l.set(u,[d])),(0,n.b)(()=>()=>{l.delete(u)},[u]),(0,o.useEffect)(()=>{let e=s.current;e&&(s.current=null,r(e))}),u}function u(e,t){if(e===t)return e;let r=l.get(e);if(r)return r.forEach(e=>e(t)),t;let n=l.get(t);return n?(n.forEach(t=>t(e)),e):t}},97103:function(e,t,r){r.d(t,{b:function(){return o}});var n=r(2265);let o="undefined"!=typeof document?n.useLayoutEffect:()=>{}},74260:function(e,t,r){r.d(t,{h:function(){return m}});var n=r(16449),o=r(92705),i=r(62513),a=r(2265),l=r(22450),s=r(60402),u=r(89056),d=r(96652),c=r(38353),f=r(3481),p=(0,c.tv)({slots:{base:["p-2.5","-m-2.5","overflow-x-scroll","scrollbar-hide"],wrapper:["flex","flex-nowrap","h-fit","max-w-fit","relative","gap-1","items-center","overflow-visible"],item:["tap-highlight-transparent","select-none","touch-none"],prev:"",next:"",cursor:["absolute","flex","overflow-visible","items-center","justify-center","origin-center","left-0","select-none","touch-none","pointer-events-none","z-20"],forwardIcon:["hidden","group-hover:block","group-data-[focus-visible=true]:block","data-[before=true]:rotate-180"],ellipsis:"group-hover:hidden group-data-[focus-visible=true]:hidden",chevronNext:"rotate-180"},variants:{variant:{bordered:{item:["border-medium","border-default","bg-transparent","data-[hover=true]:bg-default-100"]},light:{item:"bg-transparent"},flat:{},faded:{item:["border-medium","border-default"]}},color:{default:{cursor:d.J.solid.default},primary:{cursor:d.J.solid.primary},secondary:{cursor:d.J.solid.secondary},success:{cursor:d.J.solid.success},warning:{cursor:d.J.solid.warning},danger:{cursor:d.J.solid.danger}},size:{sm:{},md:{},lg:{}},radius:{none:{},sm:{},md:{},lg:{},full:{}},isCompact:{true:{wrapper:"gap-0 shadow-sm",item:["shadow-none","first-of-type:rounded-e-none","last-of-type:rounded-s-none","[&:not(:first-of-type):not(:last-of-type)]:rounded-none"],prev:"!rounded-e-none",next:"!rounded-s-none"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},showShadow:{true:{}},disableCursorAnimation:{true:{cursor:"hidden"}},disableAnimation:{true:{item:"transition-none",cursor:"transition-none"},false:{item:["data-[pressed=true]:scale-[0.97]","transition-transform-background"],cursor:["data-[moving=true]:transition-transform","!data-[moving=true]:duration-300","opacity-0","data-[moving]:opacity-100"]}}},defaultVariants:{variant:"flat",color:"primary",size:"md",radius:"md",isCompact:!1,isDisabled:!1,showShadow:!1,disableCursorAnimation:!1}
1,compoundVariants:[{showShadow:!0,color:"default",class:{cursor:[d.J.shadow.default,"shadow-md"]}},{showShadow:!0,color:"primary",class:{cursor:[d.J.shadow.primary,"shadow-md"]}},{showShadow:!0,color:"secondary",class:{cursor:[d.J.shadow.secondary,"shadow-md"]}},{showShadow:!0,color:"success",class:{cursor:[d.J.shadow.success,"shadow-md"]}},{showShadow:!0,color:"warning",class:{cursor:[d.J.shadow.warning,"shadow-md"]}},{showShadow:!0,color:"danger",class:{cursor:[d.J.shadow.danger,"shadow-md"]}},{isCompact:!0,variant:"bordered",class:{item:"[&:not(:first-of-type)]:ms-[calc(theme(borderWidth.2)*-1)]"}},{disableCursorAnimation:!0,color:"default",class:{item:["data-[active=true]:bg-default-400","data-[active=true]:border-default-400","data-[active=true]:text-default-foreground"]}},{disableCursorAnimation:!0,color:"primary",class:{item:["data-[active=true]:bg-primary","data-[active=true]:border-primary","data-[active=true]:text-primary-foreground"]}},{disableCursorAnimation:!0,color:"secondary",class:{item:["data-[active=true]:bg-secondary","data-[active=true]:border-secondary","data-[active=true]:text-secondary-foreground"]}},{disableCursorAnimation:!0,color:"success",class:{item:["data-[active=true]:bg-success","data-[active=true]:border-success","data-[active=true]:text-success-foreground"]}},{disableCursorAnimation:!0,color:"warning",class:{item:["data-[active=true]:bg-warning","data-[active=true]:border-warning","data-[active=true]:text-warning-foreground"]}},{disableCursorAnimation:!0,color:"danger",class:{item:["data-[active=true]:bg-danger","data-[active=true]:border-danger","data-[active=true]:text-danger-foreground"]}},{disableCursorAnimation:!0,showShadow:!0,color:"default",class:{item:["data-[active=true]:shadow-md","data-[active=true]:shadow-default/50"]}},{disableCursorAnimation:!0,showShadow:!0,color:"primary",class:{item:["data-[active=true]:shadow-md","data-[active=true]:shadow-primary/40"]}},{disableCursorAnimation:!0,showShadow:!0,color:"secondary",class:{item:["data-[active=true]:shadow-md","data-[active=true]:shadow-secondary/40"]}},{disableCursorAnimation:!0,showShadow:!0,color:"success",class:{item:["data-[active=true]:shadow-md","data-[active=true]:shadow-success/40"]}},{disableCursorAnimation:!0,showShadow:!0,color:"warning",class:{item:["data-[active=true]:shadow-md","data-[active=true]:shadow-warning/40"]}},{disableCursorAnimation:!0,showShadow:!0,color:"danger",class:{item:["data-[active=true]:shadow-md","data-[active=true]:shadow-danger/40"]}}],compoundSlots:[{slots:["item","prev","next"],class:["flex","flex-wrap","truncate","box-border","outline-none","items-center","justify-center","text-default-foreground",...f.Dh,"data-[disabled=true]:text-default-300","data-[disabled=true]:pointer-events-none"]},{slots:["item","prev","next"],variant:["flat","bordered","faded"],class:["shadow-sm"]},{slots:["item","prev","next"],variant:"flat",class:["bg-default-100","[&[data-hover=true]:not([data-active=true])]:bg-default-200","active:bg-default-300"]},{slots:["item","prev","next"],variant:"faded",class:["bg-default-50","[&[data-hover=true]:not([data-active=true])]:bg-default-100","active:bg-default-200"]},{slots:["item","prev","next"],variant:"light",class:["[&[data-hover=true]:not([data-active=true])]:bg-default-100","active:bg-default-200"]},{slots:["item","cursor","prev","next"],size:"sm",class:"min-w-8 w-8 h-8 text-tiny"},{slots:["item","cursor","prev","next"],size:"md",class:"min-w-9 w-9 h-9 text-small"},{slots:["item","cursor","prev","next"],size:"lg",class:"min-w-10 w-10 h-10 text-medium"},{slots:["wrapper","item","cursor","prev","next"],radius:"none",class:"rounded-none"},{slots:["wrapper","item","cursor","prev","next"],radius:"sm",class:"rounded-small"},{slots:["wrapper","item","cursor","prev","next"],radius:"md",class:"rounded-medium"},{slots:["wrapper","item","cursor","prev","next"],radius:"lg",class:"rounded-large"},{slots:["wrapper","item","cursor","prev","next"],radius:"full",class:"rounded-full"}]}),g=r(45280),v=r(16367),y=r(28262);function m(e){var t,r,d,c;let f=(0,l.w)(),[m,h]=(0,s.oe)(e,p.variantKeys),{as:b,ref:T,classNames:w,dotsJump:E=5,loop:P=!1,showControls:K=!1,total:k=1,initialPage:x=1,page:S,siblings:L,boundaries:M,onChange:C,className:A,renderItem:D,getItemAriaLabel:N,...I}=m,O=(0,g.gy)(T),F=(0,a.useRef)(null),R=(0,a.useRef)(),H=(0,a.useRef)(),{direction:B}=(0,o.j)(),j="rtl"===B,z=null!=(r=null!=(t=null==e?void 0:e.disableAnimation)?t:null==f?void 0:f.disableAnimation)&&r,W=null!=(c=null!=(d=null==e?void 0:e.disableCursorAnimation)?d:z)&&c;
1function U(){return R.current||(R.current=new Map),R.current}function V(e,t){let r=U();e?r.set(t,e):r.delete(t)}let{range:G,activePage:X,setPage:_,previous:Y,next:Z,first:J,last:q}=(0,i.h)({page:S,total:k,initialPage:x,siblings:L,boundaries:M,showControls:K,onChange:C}),[$,Q]=function({threshold:e=0,root:t=null,rootMargin:r="0%",isEnabled:n=!0,freezeOnceVisible:o=!1,initialIsIntersecting:i=!1,onChange:l}={}){var s;let[u,d]=(0,a.useState)(null),[c,f]=(0,a.useState)(()=>({isIntersecting:i,entry:void 0})),p=(0,a.useRef)();p.current=l;let g=(null==(s=c.entry)?void 0:s.isIntersecting)&&o;(0,a.useEffect)(()=>{let i;if(!n||!u||!("IntersectionObserver"in window)||g)return;let a=new IntersectionObserver(e=>{let t=Array.isArray(a.thresholds)?a.thresholds:[a.thresholds];e.forEach(e=>{let r=e.isIntersecting&&t.some(t=>e.intersectionRatio>=t);f({isIntersecting:r,entry:e}),p.current&&p.current(r,e),r&&o&&i&&(i(),i=void 0)})},{threshold:e,root:t,rootMargin:r});return a.observe(u),()=>{a.disconnect()}},[u,n,JSON.stringify(e),t,r,g,o]);let v=(0,a.useRef)(null);(0,a.useEffect)(()=>{var e;u||null==(e=c.entry)||!e.target||o||g||v.current===c.entry.target||(v.current=c.entry.target,f({isIntersecting:i,entry:void 0}))},[u,c.entry,o,g,i]);let y=[d,!!c.isIntersecting,c.entry];return y.ref=y[0],y.isIntersecting=y[1],y.entry=y[2],y}();(0,a.useEffect)(()=>{O.current&&$(O.current)},[O.current]);let ee=(0,a.useRef)(X);(0,a.useEffect)(()=>{X&&!z&&Q&&function(e,t){let r=U().get(e);if(!r||!F.current)return;H.current&&clearTimeout(H.current),(0,u.Z)(r,{scrollMode:"always",behavior:"smooth",block:"start",inline:"start",boundary:O.current});let{offsetLeft:n}=r;if(t){F.current.setAttribute("data-moving","false"),F.current.style.transform="translateX(".concat(n,"px) scale(1)");return}F.current.setAttribute("data-moving","true"),F.current.style.transform="translateX(".concat(n,"px) scale(1.1)"),H.current=setTimeout(()=>{F.current&&(F.current.style.transform="translateX(".concat(n,"px) scale(1)")),H.current=setTimeout(()=>{var e;null==(e=F.current)||e.setAttribute("data-moving","false"),H.current&&clearTimeout(H.current)},300)},300)}(X,X===ee.current),ee.current=X},[X,z,W,Q,e.dotsJump,e.isCompact,e.showControls]);let et=(0,a.useMemo)(()=>p({...h,disableAnimation:z,disableCursorAnimation:W}),[(0,n.Xx)(h),W,z]),er=(0,v.W)(null==w?void 0:w.base,A);return{Component:b||"nav",showControls:K,dotsJump:E,slots:et,classNames:w,loop:P,total:k,range:G,activePage:X,getItemRef:V,disableAnimation:z,disableCursorAnimation:W,setPage:_,onPrevious:()=>P&&X===(j?k:1)?q():Y(),onNext:()=>P&&X===(j?1:k)?J():Z(),renderItem:D,getBaseProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,ref:O,role:"navigation","aria-label":e["aria-label"]||"pagination navigation","data-slot":"base","data-controls":(0,y.PB)(K),"data-loop":(0,y.PB)(P),"data-dots-jump":E,"data-total":k,"data-active-page":X,className:et.base({class:(0,v.W)(er,null==e?void 0:e.className)}),...I}},getWrapperProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,"data-slot":"wrapper",className:et.wrapper({class:(0,v.W)(null==w?void 0:w.wrapper,null==e?void 0:e.className)})}},getItemProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,ref:t=>V(t,e.value),"data-slot":"item",isActive:e.value===X,className:et.item({class:(0,v.W)(null==w?void 0:w.item,null==e?void 0:e.className)}),onPress:()=>{e.value!==X&&_(e.value)}}},getCursorProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,ref:F,activePage:X,"data-slot":"cursor",className:et.cursor({class:(0,v.W)(null==w?void 0:w.cursor,null==e?void 0:e.className)})}},getItemAriaLabel:e=>{if(e){if(N)return N(e);switch(e){case i.m.DOTS:return"dots element";case i.m.PREV:return"previous page button";case i.m.NEXT:return"next page button";case"first":return"first page button";case"last":return"last page button";default:return"pagination item ".concat(e)}}}}}},51281:function(e,t,r){r.d(t,{x:function(){return l}});var n=r(3189),o=r(60402),i=r(57437),a=(0,o.Gp)((e,t)=>{let{Component:r,children:o,getItemProps:a}=(0,n.D)({...e,ref:t});return(0,i.jsx)(r,{...a(),children:o})});a.displayName="HeroUI.PaginationItem";var l=a},74476:function(e,t,r){r.d(t,{I:function(){return l}});var n=r(60402),o=r(45280),i=r(57437),a=(0,n.Gp)((e,t)=>{let{as:r,activePage:n,...a}=e,l=(0,o.gy)(t);return(0,i.jsx)(r||"span",{ref:l,"aria-hidden":!0,...a,children:n})});a.displayName="HeroUI.PaginationCursor";var l=a},3189:function(e,t,r){r.d(t,{D:function(){return eK}});var n=r(2265),o=r(28262),i=r(16367);let a=null;function l(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function s(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function u(e){let t=null;return()=>(null==t&&(t=e()),t)}let d=u(function(){return s(/^Mac/i)}),c=u(function(){return s(/^iPhone/i)}),f=u(function(){return s(/^iPad/i)||d()&&navigator.maxTouchPoints>1}),p=u(function(){return c()||f()});u(function(){return d()||p()});
1let g=u(function(){return l(/AppleWebKit/i)&&!v()}),v=u(function(){return l(/Chrome/i)});u(function(){return l(/Android/i)});let y=u(function(){return l(/Firefox/i)}),m=(0,n.createContext)({isNative:!0,open:function(e,t){!function(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}(e,e=>h(e,t))},useHref:e=>e});function h(e,t,r=!0){var n,o;let{metaKey:i,ctrlKey:l,altKey:s,shiftKey:u}=t;y()&&(null===(o=window.event)||void 0===o?void 0:null===(n=o.type)||void 0===n?void 0:n.startsWith("key"))&&"_blank"===e.target&&(d()?i=!0:l=!0);let c=g()&&d()&&!f()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:l,altKey:s,shiftKey:u}):new MouseEvent("click",{metaKey:i,ctrlKey:l,altKey:s,shiftKey:u,bubbles:!0,cancelable:!0});h.isOpening=r,function(e){if(function(){if(null==a){a=!1;try{document.createElement("div").focus({get preventScroll(){return a=!0,!0}})}catch{}}return a}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}(e);e.focus(),function(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}(t)}}(e),e.dispatchEvent(c),h.isOpening=!1}function b(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}h.isOpening=!1,"undefined"!=typeof window&&window.document&&window.document.createElement;let T=new Map;var w=r(61994),E=r(45280),P=r(39150);function K(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function k(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function x(e){let t=null;return()=>(null==t&&(t=e()),t)}let S=x(function(){return k(/^Mac/i)}),L=x(function(){return k(/^iPhone/i)}),M=x(function(){return k(/^iPad/i)||S()&&navigator.maxTouchPoints>1}),C=x(function(){return L()||M()});x(function(){return S()||C()});
1let A=x(function(){return K(/AppleWebKit/i)&&!D()}),D=x(function(){return K(/Chrome/i)}),N=x(function(){return K(/Android/i)}),I=x(function(){return K(/Firefox/i)}),O=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},F=e=>e&&"window"in e&&e.window===e?e:O(e).defaultView||window,R=new Map,H=new Set;function B(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=r=>{if(!e(r)||!r.target)return;let n=R.get(r.target);if(n&&(n.delete(r.propertyName),0===n.size&&(r.target.removeEventListener("transitioncancel",t),R.delete(r.target)),0===R.size)){for(let e of H)e();H.clear()}};document.body.addEventListener("transitionrun",r=>{if(!e(r)||!r.target)return;let n=R.get(r.target);n||(n=new Set,R.set(r.target,n),r.target.addEventListener("transitioncancel",t,{once:!0})),n.add(r.propertyName)}),document.body.addEventListener("transitionend",t)}"undefined"!=typeof document&&("loading"!==document.readyState?B():document.addEventListener("DOMContentLoaded",B));let j="default",z="",W=new WeakMap;function U(e){if(C()){if("default"===j){let t=O(e);z=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}j="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(W.set(e,e.style.userSelect),e.style.userSelect="none")}function V(e){if(C())"disabled"===j&&(j="restoring",setTimeout(()=>{var t;t=()=>{if("restoring"===j){let t=O(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=z||""),z="",j="default"}},requestAnimationFrame(()=>{0===R.size?t():H.add(t)})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&W.has(e)){let t=W.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),W.delete(e)}}let G=n.createContext({register:()=>{}});G.displayName="PressResponderContext";var X=r(95691),_=r(25134),Y=r(11455);function Z(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}"undefined"!=typeof window&&window.document&&window.document.createElement;let J=new Map;function q(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],o=n[e];"function"==typeof r&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=Z(r,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof o?t[e]=(0,w.Z)(r,o):"id"===e&&r&&o?t.id=function(e,t){if(e===t)return e;let r=J.get(e);if(r)return r.forEach(e=>e(t)),t;let n=J.get(t);return n?(n.forEach(t=>t(e)),e):t}(r,o):t[e]=void 0!==o?o:r}}return t}let $="undefined"!=typeof document?n.useLayoutEffect:()=>{};function Q(e){let t=(0,n.useRef)(null);return $(()=>{t.current=e},[e]),(0,n.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}function ee(e){if(function(){if(null==et){et=!1;try{document.createElement("div").focus({get preventScroll(){return et=!0,!0}})}catch{}}return et}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}(e);e.focus(),function(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}(t)}}let et=null;function er(e,t,r=!0){var n,o;let{metaKey:i,ctrlKey:a,altKey:l,shiftKey:s}=t;I()&&(null===(o=window.event)||void 0===o?void 0:null===(n=o.type)||void 0===n?void 0:n.startsWith("key"))&&"_blank"===e.target&&(S()?i=!0:a=!0);let u=A()&&S()&&!M()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:a,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:i,ctrlKey:a,altKey:l,shiftKey:s,bubbles:!0,cancelable:!0});er.isOpening=r,ee(e),e.dispatchEvent(u),er.isOpening=!1}function en(e){return 0===e.mozInputSource&&!!e.isTrusted||(N()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}er.isOpening=!1;var eo=new WeakMap;class ei{continuePropagation(){(0,Y._)(this,eo,!1)}get shouldStopPropagation(){return(0,X._)(this,eo)}constructor(e,t,r,n){var o;(0,_._)(this,eo,{writable:!0,value:void 0}),(0,Y._)(this,eo,!0);let i=null!==(o=null==n?void 0:n.target)&&void 0!==o?o:r.currentTarget,a=null==i?void 0:i.getBoundingClientRect(),l,s=0,u,d=null;null!=r.clientX&&null!=r.clientY&&(u=r.clientX,d=r.clientY),a&&(null!=u&&null!=d?(l=u-a.left,s=d-a.top):(l=a.width/2,s=a.height/2)),this.type=e,this.pointerType=t,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=l,this.y=s}}let ea=Symbol("linkClicked");function el(e){return"A"===e.tagName&&e.hasAttribute("href")}function es(e,t){let{key:r,code:n}=e,o=t.getAttribute("role");return("Enter"===r||" "===r||"Spacebar"===r||"Space"===n)&&!(t instanceof F(t).HTMLInputElement&&!em(t,r)||t instanceof F(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===o||!o&&el(t))&&"Enter"!==r)}function eu(e,t){let r=e.changedTouches;for(let e=0;e<r.length;e++){let n=r[e];if(n.identifier===t)return n}return null}function ed(e,t){let r=0,n=0;return t.targetTouches&&1===t.targetTouches.length&&(r=t.targetTouches[0].clientX,n=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n}}function ec(e,t){let r=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n}}function ef(e,t){let r,n,o=t.getBoundingClientRect(),i=(r=0,n=0,void 0!==e.width?r=e.width/2:void 0!==e.radiusX&&(r=e.radiu
1sX),void 0!==e.height?n=e.height/2:void 0!==e.radiusY&&(n=e.radiusY),{top:e.clientY-n,right:e.clientX+r,bottom:e.clientY+n,left:e.clientX-r});return!(o.left>i.right)&&!(i.left>o.right)&&!(o.top>i.bottom)&&!(i.top>o.bottom)}function ep(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function eg(e){return!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!el(e))}function ev(e,t){return e instanceof HTMLInputElement?!em(e,t):eg(e)}let ey=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function em(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:ey.has(e.type)}let eh=!1,eb=0;function eT(){eh=!0,setTimeout(()=>{eh=!1},50)}function ew(e){"touch"===e.pointerType&&eT()}function eE(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",ew):document.addEventListener("touchend",eT),eb++,()=>{--eb>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",ew):document.removeEventListener("touchend",eT))}}var eP=r(43096);function eK(e){let{as:t,ref:r,value:a,children:l,isActive:s,isDisabled:u,onPress:d,onClick:c,getAriaLabel:f,className:p,...g}=e,v=!!(null==e?void 0:e.href),y=t||v?"a":"li",h="string"==typeof y,K=(0,E.gy)(r),k=(0,n.useContext)(m),x=(0,n.useMemo)(()=>s?"".concat(null==f?void 0:f(a)," active"):null==f?void 0:f(a),[a,s]),{isPressed:L,pressProps:M}=function(e){let t,r,o,i,{onPress:a,onPressChange:l,onPressStart:s,onPressEnd:u,onPressUp:d,isDisabled:c,isPressed:f,preventFocusOnPress:p,shouldCancelOnPointerExit:g,allowTextSelectionOnPress:v,ref:y,...m}=function(e){var t;let r=(0,n.useContext)(G);if(r){let{register:t,...n}=r;e=q(n,e),t()}return t=e.ref,$(()=>{if(r&&r.ref&&t)return r.ref.current=t.current,()=>{r.ref&&(r.ref.current=null)}}),e}(e),[h,b]=(0,n.useState)(!1),T=(0,n.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:w,removeAllGlobalListeners:E}=(t=(0,n.useRef)(new Map),r=(0,n.useCallback)((e,r,n,o)=>{let i=(null==o?void 0:o.once)?(...e)=>{t.current.delete(n),n(...e)}:n;t.current.set(n,{type:r,eventTarget:e,fn:i,options:o}),e.addEventListener(r,i,o)},[]),o=(0,n.useCallback)((e,r,n,o)=>{var i;let a=(null===(i=t.current.get(n))||void 0===i?void 0:i.fn)||n;e.removeEventListener(r,a,o),t.current.delete(n)},[]),i=(0,n.useCallback)(()=>{t.current.forEach((e,t)=>{o(e.eventTarget,e.type,t,e.options)})},[o]),(0,n.useEffect)(()=>i,[i]),{addGlobalListener:r,removeGlobalListener:o,removeAllGlobalListeners:i}),P=Q((e,t)=>{let r=T.current;if(c||r.didFirePressStart)return!1;let n=!0;if(r.isTriggeringEvent=!0,s){let r=new ei("pressstart",t,e);s(r),n=r.shouldStopPropagation}return l&&l(!0),r.isTriggeringEvent=!1,r.didFirePressStart=!0,b(!0),n}),K=Q((e,t,r=!0)=>{let n=T.current;if(!n.didFirePressStart)return!1;n.ignoreClickAfterPress=!0,n.didFirePressStart=!1,n.isTriggeringEvent=!0;let o=!0;if(u){let r=new ei("pressend",t,e);u(r),o=r.shouldStopPropagation}if(l&&l(!1),b(!1),a&&r&&!c){let r=new ei("press",t,e);a(r),o&&(o=r.shouldStopPropagation)}return n.isTriggeringEvent=!1,o}),k=Q((e,t)=>{let r=T.current;if(c)return!1;if(d){r.isTriggeringEvent=!0;let n=new ei("pressup",t,e);return d(n),r.isTriggeringEvent=!1,n.shouldStopPropagation}return!0}),x=Q(e=>{let t=T.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&K(ec(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,E(),v||V(t.target))}),L=Q(e=>{g&&x(e)}),M=(0,n.useMemo)(()=>{let e=T.current,t={onKeyDown(t){if(es(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var n;ev(t.target,t.key)&&t.preventDefault();let o=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,o=P(t,"keyboard");let n=t.currentTarget;w(O(t.currentTarget),"keyup",Z(t=>{es(t,n)&&!t.repeat&&n.contains(t.target)&&e.target&&k(ec(e.target,t),"keyboard")},r),!0)}o&&t.stopPropagation(),t.metaKey&&S()&&(null===(n=e.metaKeyEvents)||void 0===n||n.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!er.isOpening){let r=!0;if(c&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||en(t.nativeEvent))){c||p||ee(t.currentTarget);let e=P(t,"virtual"),n=k(t,"virtual"),o=K(t,"virtual");r=e&&n&&o}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,r&&t.stopPropagation()}}},r=t=>{var r,n,o;if(e.isPressed&&e.target&&es(t,e.target)){ev(t.target,t.key)&&t.preventDefault();let r=t.target;K(ec(e.target,t),"keyboard",e.target.contains(r)),E(),"Enter"!==t.key&&el(e.target)&&e.target.contains(r)&&!t[ea]&&(t[ea]=!0,er(e.target,t,!1)),e.
1isPressed=!1,null===(n=e.metaKeyEvents)||void 0===n||n.delete(t.key)}else if("Meta"===t.key&&(null===(r=e.metaKeyEvents)||void 0===r?void 0:r.size)){let t=e.metaKeyEvents;for(let r of(e.metaKeyEvents=void 0,t.values()))null===(o=e.target)||void 0===o||o.dispatchEvent(new KeyboardEvent("keyup",r))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{var o;if(0!==t.button||!t.currentTarget.contains(t.target))return;if(o=t.nativeEvent,!N()&&0===o.width&&0===o.height||1===o.width&&1===o.height&&0===o.pressure&&0===o.detail&&"mouse"===o.pointerType){e.pointerType="virtual";return}ep(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let a=!0;e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,c||p||ee(t.currentTarget),v||U(e.target),a=P(t,e.pointerType),w(O(t.currentTarget),"pointermove",r,!1),w(O(t.currentTarget),"pointerup",n,!1),w(O(t.currentTarget),"pointercancel",i,!1)),a&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(ep(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&ef(t,t.currentTarget)&&k(t,e.pointerType||t.pointerType)};let r=t=>{t.pointerId===e.activePointerId&&(e.target&&ef(t,e.target)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,P(ec(e.target,t),e.pointerType)):e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,K(ec(e.target,t),e.pointerType,!1),L(t)))},n=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(ef(t,e.target)&&null!=e.pointerType?K(ec(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&K(ec(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,E(),v||V(e.target),"ontouchend"in e.target&&"mouse"!==t.pointerType&&w(e.target,"touchend",o,{once:!0}))},o=e=>{eg(e.currentTarget)&&e.preventDefault()},i=e=>{x(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&x(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(ep(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=en(t.nativeEvent)?"virtual":"mouse",c||p||ee(t.currentTarget),P(t,e.pointerType)&&t.stopPropagation(),w(O(t.currentTarget),"mouseup",r,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,r=P(t,e.pointerType)),r&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,r=K(t,e.pointerType,!1),L(t)),r&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&0===t.button&&k(t,e.pointerType||"mouse")};let r=t=>{if(0===t.button){if(e.isPressed=!1,E(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&ef(t,e.target)&&null!=e.pointerType?K(ec(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&K(ec(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let r=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);r&&(e.activePointerId=r.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",c||p||ee(t.currentTarget),v||U(e.target),P(ed(e.target,t),e.pointerType)&&t.stopPropagation(),w(F(t.currentTarget),"scroll",n,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=eu(t.nativeEvent,e.activePointerId),n=!0;r&&ef(r,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,n=P(ed(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,n=K(ed(e.target,t),e.pointerType,!1),L(ed(e.target,t))),n&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=eu(t.nativeEvent,e.activePointerId),n=!0;r&&ef(r,t.currentTarget)&&null!=e.pointerType?(k(ed(e.target,t),e.pointerType),n=K(ed(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(n=K(ed(e.target,t),e.pointerType,!1)),n&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!v&&V(e.target),E()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&x(ed(e.target,t)))};let n=t=>{e.isPressed&&t.target.contains(e.target)&&x({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&x(e)}}return t},[w,c,p,E,v,x,L,K,P,k]);return(0,n.useEffect)(()=>()=>{var e;v||V(null!==(e=T.current.target)&&void 0!==e?e:void 0)},[v]),{isPressed:f||h,pressProps:q(m,M)}}({isDisabled:u,onPress:d}),{focusProps:C,isFocused:A,isFocusVisible:D}=(0,eP.F)({}),{isHovered:I,hoverProps:R}=function(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:o,isDisabled:i}
1=e,[a,l]=(0,n.useState)(!1),s=(0,n.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,n.useEffect)(eE,[]);let{hoverProps:u,triggerHoverEnd:d}=(0,n.useMemo)(()=>{let e=(e,n)=>{if(s.pointerType=n,i||"touch"===n||s.isHovered||!e.currentTarget.contains(e.target))return;s.isHovered=!0;let o=e.currentTarget;s.target=o,t&&t({type:"hoverstart",target:o,pointerType:n}),r&&r(!0),l(!0)},n=(e,t)=>{if(s.pointerType="",s.target=null,"touch"===t||!s.isHovered)return;s.isHovered=!1;let n=e.currentTarget;o&&o({type:"hoverend",target:n,pointerType:t}),r&&r(!1),l(!1)},a={};return"undefined"!=typeof PointerEvent?(a.onPointerEnter=t=>{eh&&"mouse"===t.pointerType||e(t,t.pointerType)},a.onPointerLeave=e=>{!i&&e.currentTarget.contains(e.target)&&n(e,e.pointerType)}):(a.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},a.onMouseEnter=t=>{s.ignoreEmulatedMouseEvents||eh||e(t,"mouse"),s.ignoreEmulatedMouseEvents=!1},a.onMouseLeave=e=>{!i&&e.currentTarget.contains(e.target)&&n(e,"mouse")}),{hoverProps:a,triggerHoverEnd:n}},[t,r,o,i,s]);return(0,n.useEffect)(()=>{i&&d({currentTarget:s.target},s.pointerType)},[i]),{hoverProps:u,isHovered:a}}({isDisabled:u});return{Component:y,children:l,ariaLabel:x,isFocused:A,isFocusVisible:D,getItemProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:K,role:"button",tabIndex:u?-1:0,"aria-label":x,"aria-current":(0,o.PB)(s),"aria-disabled":(0,o.PB)(u),"data-disabled":(0,o.PB)(u),"data-active":(0,o.PB)(s),"data-focus":(0,o.PB)(A),"data-hover":(0,o.PB)(I),"data-pressed":(0,o.PB)(L),"data-focus-visible":(0,o.PB)(D),...function(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],o=n[e];"function"==typeof r&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=b(r,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof o?t[e]=(0,w.Z)(r,o):"id"===e&&r&&o?t.id=function(e,t){if(e===t)return e;let r=T.get(e);if(r)return r.forEach(e=>e(t)),t;let n=T.get(t);return n?(n.forEach(t=>t(e)),e):t}(r,o):t[e]=void 0!==o?o:r}}return t}(e,M,C,R,(0,P.z)(g,{enabled:h})),className:(0,i.W)(p,e.className),onClick:t=>{var r;let n;b(null==M?void 0:M.onClick,c)(t),!(!k.isNative&&t.currentTarget instanceof HTMLAnchorElement)||!t.currentTarget.href||t.isDefaultPrevented()||(n=(r=t.currentTarget).getAttribute("target"))&&"_self"!==n||r.origin!==location.origin||r.hasAttribute("download")||t.metaKey||t.ctrlKey||t.altKey||t.shiftKey||!e.href||(t.preventDefault(),k.open(t.currentTarget,t,e.href,e.routerOptions))}}}}}},40842:function(e,t,r){r.d(t,{g:function(){return m}});var n=r(74476),o=r(51281),i=r(74260),a=r(2265),l=r(92705),s=r(60402),u=r(62513),d=r(11617),c=r(76688),f=r(57437),p=e=>
1(0,f.jsxs)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",role:"presentation",shapeRendering:"geometricPrecision",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"1em",...e,children:[(0,f.jsx)("path",{d:"M13 17l5-5-5-5"}),(0,f.jsx)("path",{d:"M6 17l5-5-5-5"})]}),g=r(28262),v=r(16367),y=(0,s.Gp)((e,t)=>{let{Component:r,dotsJump:s,slots:y,classNames:m,total:h,range:b,loop:T,activePage:w,disableCursorAnimation:E,disableAnimation:P,renderItem:K,onNext:k,onPrevious:x,setPage:S,getItemAriaLabel:L,getItemRef:M,getBaseProps:C,getWrapperProps:A,getItemProps:D,getCursorProps:N}=(0,i.h)({...e,ref:t}),{direction:I}=(0,l.j)(),O="rtl"===I,F=(0,a.useCallback)((e,t)=>{let r=t<b.indexOf(w);if(K&&"function"==typeof K){let n="number"==typeof e?e:t;e===u.m.NEXT&&(n=w+1),e===u.m.PREV&&(n=w-1),e===u.m.DOTS&&(n=r?w-s>=1?w-s:1:w+s<=h?w+s:h);let o={[u.m.PREV]:(0,f.jsx)(d.D,{}),[u.m.NEXT]:(0,f.jsx)(d.D,{className:y.chevronNext({class:null==m?void 0:m.chevronNext})}),[u.m.DOTS]:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(c.w,{className:null==y?void 0:y.ellipsis({class:null==m?void 0:m.ellipsis})}),(0,f.jsx)(p,{className:null==y?void 0:y.forwardIcon({class:null==m?void 0:m.forwardIcon}),"data-before":(0,g.PB)(r)})]})};return K({value:e,index:t,key:"".concat(e,"-").concat(t),page:n,total:h,children:"number"==typeof e?e:o[e],activePage:w,dotsJump:s,isBefore:r,isActive:e===w,isPrevious:e===w-1,isNext:e===w+1,isFirst:1===e,isLast:e===h,onNext:k,onPrevious:x,setPage:S,onPress:()=>S(n),ref:"number"==typeof e?t=>M(t,e):void 0,className:y.item({class:null==m?void 0:m.item}),getAriaLabel:L})}return e===u.m.PREV?(0,f.jsx)(o.x,{className:y.prev({class:null==m?void 0:m.prev}),"data-slot":"prev",getAriaLabel:L,isDisabled:!T&&w===(O?h:1),value:e,onPress:x,children:(0,f.jsx)(d.D,{})},u.m.PREV):e===u.m.NEXT?(0,f.jsx)(o.x,{className:y.next({class:(0,v.W)(null==m?void 0:m.next)}),"data-slot":"next",getAriaLabel:L,isDisabled:!T&&w===(O?1:h),value:e,onPress:k,children:(0,f.jsx)(d.D,{className:y.chevronNext({class:null==m?void 0:m.chevronNext})})},u.m.NEXT):e===u.m.DOTS?(0,f.jsxs)(o.x,{className:y.item({class:(0,v.W)(null==m?void 0:m.item,"group")}),"data-slot":"item",getAriaLabel:L,value:e,onPress:()=>r?S(w-s>=1?w-s:1):S(w+s<=h?w+s:h),children:[(0,f.jsx)(c.w,{className:null==y?void 0:y.ellipsis({class:null==m?void 0:m.ellipsis})}),(0,f.jsx)(p,{className:null==y?void 0:y.forwardIcon({class:null==m?void 0:m.forwardIcon}),"data-before":(0,g.PB)(O?!r:r)})]},u.m.DOTS+r):(0,a.createElement)(o.x,{...D({value:e}),key:e,getAriaLabel:L},e)},[O,w,s,D,T,b,K,y,m,h]);return(0,f.jsx)(r,{...C(),children:(0,f.jsxs)("ul",{...A(),children:[!E&&!P&&(0,f.jsx)(n.I,{...N()}),b.map(F)]})})});y.displayName="HeroUI.Pagination";var m=y},92705:function(e,t,r){r.d(t,{j:function(){return p}});let n=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),o=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);var i=r(2265),a=r(87365);let l=Symbol.for("react-aria.i18n.locale");function s(){let e="undefined"!=typeof window&&window[l]||"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(),r="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(r)return"rtl"===r.direction;if(t.script)return n.has(t.script)}let t=e.split("-")[0];return o.has(t)}(e)?"ltr":"rtl"}}let u=s(),d=new Set;function c(){for(let e of(u=s(),d))e(u)}let f=i.createContext(null);function p(){let e=function(){let e=(0,a.Av)(),[t,r]=(0,i.useState)(u);return((0,i.useEffect)(()=>(0===d.size&&window.addEventListener("languagechange",c),d.add(r),()=>{d.delete(r),0===d.size&&window.removeEventListener("languagechange",c)}),[]),e)?{locale:"en-US",direction:"ltr"}:t}();return(0,i.useContext)(f)||e}},63347:function(e,t,r){r.d(t,{j:function(){return c}});var n=r(33263),o=r(8419),i=r(2265),a=r(60402),l=r(5561),s=r(48614),u=r(57437),d=(0,a.Gp)((e,t)=>{let{children:r,...a}=e,d=(0,o.S)({...a,ref:t}),[c,f]=i.Children.toArray(r),p=(0,u.jsx)(l.aV,{portalContainer:d.portalContainer,children:f});return(0,u.jsxs)(n.H,{value:d,children:[c,d.disableAnimation&&d.isOpen?p:(0,u.jsx)(s.M,{children:d.isOpen?p:null})]})});d.displayName="HeroUI.Popover";var c=d},82038:function(e,t,r){r.d(t,{b:function(){return c}});var n=r(33263),o=r(2265),i=r(40076),a=r(51868),l=r(29037),s=r(63570),u=r(57437),d=e=>{var t;let{triggerRef:r,getTriggerProps:d}=(0,n.l)(),{children:c,...f}=e,p=(0,o.useMemo)(()=>"string"==typeof c?(0,u.jsx)("p",{children:c}):o.Children.only(c),[c]),g=null!=(t=p.props.ref)?t:p.ref,{onPress:v,isDisabled:y,...m}=(0,o.useMemo)(()=>d((0,s.d)(f,p.props),g),[d,p.props,f,g]),[,h]=(0,i.N)(c,l.A),{buttonProps:b}=(0,a.j)({onPress:v,isDisabled:y},r),T=(0,o.useMemo)(()=>
1(null==h?void 0:h[0])!==void 0,[h]);return(0,o.cloneElement)(p,(0,s.d)(m,T?{onPress:v,isDisabled:y}:b))};d.displayName="HeroUI.PopoverTrigger";var c=d},33263:function(e,t,r){r.d(t,{H:function(){return n},l:function(){return o}});var[n,o]=(0,r(52106).k)({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Popover />`"})},3649:function(e,t,r){r.d(t,{g:function(){return g}});var n=r(33263),o=r(2265),i=r(72221),a=r(55101),l=r(50278),s=r(26130),u=r(34786),d=r(94196),c=r(57437),f=()=>r.e(378).then(r.bind(r,79272)).then(e=>e.default),p=e=>{let{as:t,children:r,className:p,...g}=e,{Component:v,placement:y,backdrop:m,motionProps:h,disableAnimation:b,getPopoverProps:T,getDialogProps:w,getBackdropProps:E,getContentProps:P,isNonModal:K,onClose:k}=(0,n.l)(),x=(0,o.useRef)(null),{dialogProps:S,titleProps:L}=(0,d.R)({},x),M=w({ref:x,...S,...g}),C=(0,c.jsxs)(c.Fragment,{children:[!K&&(0,c.jsx)(i.U,{onDismiss:k}),(0,c.jsx)(t||v||"div",{...M,children:(0,c.jsx)("div",{...P({className:p}),children:"function"==typeof r?r(L):r})}),(0,c.jsx)(i.U,{onDismiss:k})]}),A=(0,o.useMemo)(()=>"transparent"===m?null:b?(0,c.jsx)("div",{...E()}):(0,c.jsx)(l.X,{features:f,children:(0,c.jsx)(s.m.div,{animate:"enter",exit:"exit",initial:"exit",variants:a.y7.fade,...E()})}),[m,b,E]),D=y?(0,u.VS)("center"===y?"top":y):void 0,N=(0,c.jsx)(c.Fragment,{children:b?C:(0,c.jsx)(l.X,{features:f,children:(0,c.jsx)(s.m.div,{animate:"enter",exit:"exit",initial:"initial",style:D,variants:a.y7.scaleSpringOpacity,...h,children:C})})});return(0,c.jsxs)("div",{...T(),children:[A,N]})};p.displayName="HeroUI.PopoverContent";var g=p},26645:function(e,t,r){r.d(t,{Z:function(){return m}});var n=r(22450),o=r(60402),i=r(18624),a=r(45280),l=r(16367),s=r(16449),u=r(81405),d=r(28262),c=r(83707),f=r(2265),p=r(1450),g=r(33118),v=r(57437),y=(0,o.Gp)((e,t)=>{let{Component:r,slots:y,classNames:m,label:h,showValueLabel:b,getProgressBarProps:T,getLabelProps:w,getSvgProps:E,getIndicatorProps:P,getTrackProps:K}=function(e){var t,r,v;let y=(0,n.w)(),[m,h]=(0,o.oe)(e,i.v.variantKeys),{ref:b,as:T,id:w,className:E,classNames:P,label:K,valueLabel:k,value:x,minValue:S=0,maxValue:L=100,strokeWidth:M,showValueLabel:C=!1,formatOptions:A={style:"percent"},...D}=m,N=(0,a.gy)(b),I=(0,l.W)(null==P?void 0:P.base,E),[,O]=(0,p.t)({rerender:!0,delay:100}),F=(null==(t=e.isIndeterminate)||t)&&void 0===x,R=null!=(v=null!=(r=e.disableAnimation)?r:null==y?void 0:y.disableAnimation)&&v,{progressBarProps:H,labelProps:B}=(0,g.D)({id:w,label:K,value:x,minValue:S,maxValue:L,valueLabel:k,formatOptions:A,isIndeterminate:F,"aria-labelledby":e["aria-labelledby"],"aria-label":e["aria-label"]}),j=(0,f.useMemo)(()=>(0,i.v)({...h,disableAnimation:R,isIndeterminate:F}),[(0,s.Xx)(h),R,F]),z=!!R||O,W=M||("sm"===e.size?2:3),U=16-W,V=2*U*Math.PI,G=V-(0,f.useMemo)(()=>z?F?.25:x?(0,u.Ez)((x-S)/(L-S),1):0:0,[z,x,S,L,F])*V,X=(0,f.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:N,"data-indeterminate":(0,d.PB)(F),"data-disabled":(0,d.PB)(e.isDisabled),className:j.base({class:I}),...(0,c.d)(H,D,t)}},[N,j,F,e.isDisabled,I,H,D]),_=(0,f.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{className:j.label({class:null==P?void 0:P.label}),...(0,c.d)(B,e)}},[j,P,B]),Y=(0,f.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{viewBox:"0 0 32 32",fill:"none",strokeWidth:W,className:j.svg({class:null==P?void 0:P.svg}),...e}},[W,j,P]),Z=(0,f.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{cx:16,cy:16,r:U,role:"presentation",strokeDasharray:"".concat(V," ").concat(V),strokeDashoffset:G,transform:"rotate(-90 16 16)",strokeLinecap:"round",className:j.indicator({class:null==P?void 0:P.indicator}),...e}},[j,P,G,V,U]),J=(0,f.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{cx:16,cy:16,r:U,role:"presentation",strokeDasharray:"".concat(V," ").concat(V),strokeDashoffset:0,transform:"rotate(-90 16 16)",strokeLinecap:"round",className:j.track({class:null==P?void 0:P.track}),...e}},[j,P,V,U]);return{Component:T||"div",domRef:N,slots:j,classNames:P,label:K,showValueLabel:C,getProgressBarProps:X,getLabelProps:_,getSvgProps:Y,getIndicatorProps:Z,getTrackProps:J}}({ref:t,...e}),k=T();return(0,v.jsxs)(r,{...k,children:[(0,v.jsxs)("div",{className:y.svgWrapper({class:null==m?void 0:m.svgWrapper}),children:[(0,v.jsxs)("svg",{...E(),children:[(0,v.jsx)("circle",{...K()}),(0,v.jsx)("circle",{...P()})]}),b&&(0,v.jsx)("span",{className:y.value({class:null==m?void 0:m.value}),children:k["aria-valuetext"]})]}),h&&(0,v.jsx)("span",{...w(),children:h})]})});y.displayName="HeroUI.CircularProgress";var m=y},33118:function(e,t,r){r.d(t,{D:function(){return M}});let n=new Set(["id"]),o=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),i=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),a=/^(data-.*)$/;var l=r(1433),s=r(2265);"undefined"!=typeof window&&window.document&&window.document.createElement;let u=new Map;var d=r(61994);let c="undefined"!=typeof document?s.useLayoutEffect:()=>{};var f=r(87365);let p=!!("undefined"!=typeof window&&window.document&&window.document.createElement),g=new Map;
1function v(e){let[t,r]=(0,s.useState)(e),n=(0,s.useRef)(null),o=(0,f.gP)(t),i=(0,s.useCallback)(e=>{n.current=e},[]);return p&&(g.has(o)&&!g.get(o).includes(i)?g.set(o,[...g.get(o),i]):g.set(o,[i])),c(()=>()=>{g.delete(o)},[o]),(0,s.useEffect)(()=>{let e=n.current;e&&(n.current=null,r(e))}),o}let y=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),m=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]),h=Symbol.for("react-aria.i18n.locale");function b(){let e="undefined"!=typeof window&&window[h]||"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(),r="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(r)return"rtl"===r.direction;if(t.script)return y.has(t.script)}let t=e.split("-")[0];return m.has(t)}(e)?"ltr":"rtl"}}let T=b(),w=new Set;function E(){for(let e of(T=b(),w))e(T)}let P=s.createContext(null),K=new Map,k=!1;try{k="exceptZero"===new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay}catch{}let x=!1;try{x="unit"===new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style}catch{}let S={degree:{narrow:{default:"\xb0","ja-JP":" 度","zh-TW":"度","sl-SI":" \xb0"}}};class L{format(e){let t="";if(t=k||null==this.options.signDisplay?this.numberFormatter.format(e):function(e,t,r){if("auto"===t)return e.format(r);{if("never"===t)return e.format(Math.abs(r));let n=!1;if("always"===t?n=r>0||Object.is(r,0):"exceptZero"===t&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):n=r>0),!n)return e.format(r);{let t=e.format(-r),n=e.format(r),o=t.replace(n,"").replace(/\u200e|\u061C/,"");return 1!=[...o].length&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),t.replace(n,"!!!").replace(o,"+").replace("!!!",n)}}}(this.numberFormatter,this.options.signDisplay,e),"unit"===this.options.style&&!x){var r;let{unit:e,unitDisplay:n="short",locale:o}=this.resolvedOptions();if(!e)return t;let i=null===(r=S[e])||void 0===r?void 0:r[n];t+=i[o]||i.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.numberFormatter.formatRange)return this.numberFormatter.formatRange(e,t);if(t<e)throw RangeError("End date must be >= start date");return`${this.format(e)} \u{2013} ${this.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.numberFormatter.formatRangeToParts)return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw RangeError("End date must be >= start date");let r=this.numberFormatter.formatToParts(e),n=this.numberFormatter.formatToParts(t);return[...r.map(e=>({...e,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...n.map(e=>({...e,source:"endRange"}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return k||null==this.options.signDisplay||(e={...e,signDisplay:this.options.signDisplay}),x||"unit"!==this.options.style||(e={...e,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}constructor(e,t={}){this.numberFormatter=function(e,t={}){let{numberingSystem:r}=t;if(r&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${r}`),"unit"===t.style&&!x){var n;let{unit:e,unitDisplay:r="short"}=t;if(!e)throw Error('unit option must be provided with style: "unit"');if(!(null===(n=S[e])||void 0===n?void 0:n[r]))throw Error(`Unsupported unit ${e} with unitDisplay = ${r}`);t={...t,style:"decimal"}}let o=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(K.has(o))return K.get(o);let i=new Intl.NumberFormat(e,t);return K.set(o,i),i}(e,t),this.options=t}}function M(e){let{value:t=0,minValue:r=0,maxValue:c=100,valueLabel:p,isIndeterminate:g,formatOptions:y={style:"percent"}}=e,m=function(e,t={}){let{labelable:r,isLink:l,propNames:s}=t,u={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n.has(t)||r&&o.has(t)||l&&i.has(t)||(null==s?void 0:s.has(t))||a.test(t))&&(u[t]=e[t]);return u}(e,{labelable:!0}),{labelProps:h,fieldProps:b}=function(e){let{id:t,label:r,"aria-labelledby":n,"aria-label":o,labelElementType:i="label"}=e;t=v(t);let a=v(),l={};return r?(n=n?`${a} ${n}`:a,l={id:a,htmlFor:"label"===i?t:void 0}):n||o||console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility"),{labelProps:l,fieldProps:function(e,t){let{id:r,"aria-label":n,"aria-labelledby":o}=e;return r=v(r),o&&n?o=[...new Set([r,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),{id:r,"aria-label":n,"aria-labelledby":o}}({id:t,"aria-label":o,"aria-labelledby":n})}}({...e,labelElementType:"span"}),K=((t=(0,l.uZ)(t,r,c))-r)/(c-r),k=function(e={}){let t;let{locale:r}
1=(t=function(){let e=(0,f.Av)(),[t,r]=(0,s.useState)(T);return((0,s.useEffect)(()=>(0===w.size&&window.addEventListener("languagechange",E),w.add(r),()=>{w.delete(r),0===w.size&&window.removeEventListener("languagechange",E)}),[]),e)?{locale:"en-US",direction:"ltr"}:t}(),(0,s.useContext)(P)||t);return(0,s.useMemo)(()=>new L(r,e),[r,e])}(y);if(!g&&!p){let e="percent"===y.style?K:t;p=k.format(e)}return{progressBarProps:function(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],o=n[e];"function"==typeof r&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}(r,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof o?t[e]=(0,d.Z)(r,o):"id"===e&&r&&o?t.id=function(e,t){if(e===t)return e;let r=u.get(e);if(r)return r.forEach(e=>e(t)),t;let n=u.get(t);return n?(n.forEach(t=>t(e)),e):t}(r,o):t[e]=void 0!==o?o:r}}return t}(m,{...b,"aria-valuenow":g?void 0:t,"aria-valuemin":r,"aria-valuemax":c,"aria-valuetext":g?void 0:p,role:"progressbar"}),labelProps:h}}},83707:function(e,t,r){r.d(t,{d:function(){return i}}),r(2265),"undefined"!=typeof window&&window.document&&window.document.createElement;let n=new Map;var o=r(61994);function i(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let i=e[r];for(let e in i){let r=t[e],a=i[e];"function"==typeof r&&"function"==typeof a&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}(r,a):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof a?t[e]=(0,o.Z)(r,a):"id"===e&&r&&a?t.id=function(e,t){if(e===t)return e;let r=n.get(e);if(r)return r.forEach(e=>e(t)),t;let o=n.get(t);return o?(o.forEach(t=>t(e)),e):t}(r,a):t[e]=void 0!==a?a:r}}return t}},40076:function(e,t,r){r.d(t,{N:function(){return i},W:function(){return o}});var n=r(2265);function o(e){return n.Children.toArray(e).filter(e=>(0,n.isValidElement)(e))}var i=(e,t)=>{var r;let o=[];return[null==(r=n.Children.map(e,e=>(0,n.isValidElement)(e)&&e.type===t?(o.push(e),null):e))?void 0:r.filter(Boolean),o.length>=0?o:void 0]}},39156:function(e,t,r){r.d(t,{l:function(){return o}});var n=r(28262);function o(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>{t.forEach(t=>(function(e,t){if(null!=e){if((0,n.mf)(e)){e(t);return}try{e.current=t}catch(r){throw Error("Cannot assign value '".concat(t,"' to ref '").concat(e,"'"))}}})(t,e))}}},76688:function(e,t,r){r.d(t,{w:function(){return o}});var n=r(57437),o=e=>(0,n.jsxs)("svg",{"aria-hidden":"true",fill:"none",height:"1em",shapeRendering:"geometricPrecision",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"1em",...e,children:[(0,n.jsx)("circle",{cx:"12",cy:"12",fill:"currentColor",r:"1"}),(0,n.jsx)("circle",{cx:"19",cy:"12",fill:"currentColor",r:"1"}),(0,n.jsx)("circle",{cx:"5",cy:"12",fill:"currentColor",r:"1"})]})},31009:function(e,t,r){r.d(t,{X:function(){return l}});var n=r(33203),o=r(60402),i=r(57437),a=(0,o.Gp)((e,t)=>{let{Component:r,children:o,getSkeletonProps:a,getContentProps:l}=(0,n.q)({...e});return(0,i.jsx)(r,{ref:t,...a(),children:(0,i.jsx)("div",{...l(),children:o})})});a.displayName="HeroUI.Skeleton";var l=a},33203:function(e,t,r){r.d(t,{q:function(){return d}});var n=r(60402),o=(0,r(38353).tv)({slots:{base:["group","relative","overflow-hidden","bg-content3 dark:bg-content2","pointer-events-none","before:opacity-100","before:absolute","before:inset-0","before:-translate-x-full","before:animate-[shimmer_2s_infinite]","before:border-t","before:border-content4/30","before:bg-gradient-to-r","before:from-transparent","before:via-content4","dark:before:via-default-700/10","before:to-transparent","after:opacity-100","after:absolute","after:inset-0","after:-z-10","after:bg-content3","dark:after:bg-content2","data-[loaded=true]:pointer-events-auto","data-[loaded=true]:overflow-visible","data-[loaded=true]:!bg-transparent","data-[loaded=true]:before:opacity-0 data-[loaded=true]:before:-z-10 data-[loaded=true]:before:animate-none","data-[loaded=true]:after:opacity-0"],content:["opacity-0","group-data-[loaded=true]:opacity-100"]},variants:{disableAnimation:{true:{base:"before:animate-none before:transition-none after:transition-none",content:"transition-none"},false:{base:"transition-background !duration-300",content:"transition-opacity motion-reduce:transition-none !duration-300"}}},defaultVariants:{}}),i=r(16449),a=r(16367),l=r(28262),s=r(2265),u=r(22450);function d(e){var t,r;let d=(0,u.w)(),[c,f]=(0,n.oe)(e,o.variantKeys),{as:p,children:g,isLoaded:v=!1,className:y,classNames:m,...h}=c,b=null!=(r=null!=(t=e.disableAnimation)?t:null==d?void 0:d.disableAnimation)&&r,T=(0,s.useMemo)(()=>o({...f,disableAnimation:b}),[(0,i.Xx)(f),b,g]),w=(0,a.W)(null==m?void 0:m.base,y);return{Component:p||"div",children:g,slots:T,classNames:m,getSkeletonProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-loaded":(0,l.PB)(v),className:T.base({class:(0,a.W)(w,null==e?void 0:e.className)}),...h}},getContentProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{className:T.content({class:(0,a.W)(null==m?void 0:m.content,null==e?void 0:e.className)})}}}}},61560:function(e,t,r){r.d(t,{h:function(){return x}});
1var n=r(2265),o=r(22450),i=r(60402),a=r(39156),l=r(32400);let s=!1,u=0;function d(){s=!0,setTimeout(()=>{s=!1},50)}function c(e){"touch"===e.pointerType&&d()}function f(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",c):document.addEventListener("touchend",d),u++,()=>{--u>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",c):document.removeEventListener("touchend",d))}}var p=r(38353),g=r(3481),v=(0,p.tv)({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer touch-none tap-highlight-transparent select-none",wrapper:["px-1","relative","inline-flex","items-center","justify-start","flex-shrink-0","overflow-hidden","bg-default-200","rounded-full",...g.ID],thumb:["z-10","flex","items-center","justify-center","bg-white","shadow-small","rounded-full","origin-right","pointer-events-none"],hiddenInput:g.PZ,startContent:"z-0 absolute start-1.5 text-current",endContent:"z-0 absolute end-1.5 text-default-600",thumbIcon:"text-black",label:"relative text-foreground select-none ms-2"},variants:{color:{default:{wrapper:["group-data-[selected=true]:bg-default-400","group-data-[selected=true]:text-default-foreground"]},primary:{wrapper:["group-data-[selected=true]:bg-primary","group-data-[selected=true]:text-primary-foreground"]},secondary:{wrapper:["group-data-[selected=true]:bg-secondary","group-data-[selected=true]:text-secondary-foreground"]},success:{wrapper:["group-data-[selected=true]:bg-success","group-data-[selected=true]:text-success-foreground"]},warning:{wrapper:["group-data-[selected=true]:bg-warning","group-data-[selected=true]:text-warning-foreground"]},danger:{wrapper:["group-data-[selected=true]:bg-danger","data-[selected=true]:text-danger-foreground"]}},size:{sm:{wrapper:"w-10 h-6",thumb:["w-4 h-4 text-tiny","group-data-[selected=true]:ms-4"],endContent:"text-tiny",startContent:"text-tiny",label:"text-small"},md:{wrapper:"w-12 h-7",thumb:["w-5 h-5 text-small","group-data-[selected=true]:ms-5"],endContent:"text-small",startContent:"text-small",label:"text-medium"},lg:{wrapper:"w-14 h-8",thumb:["w-6 h-6 text-medium","group-data-[selected=true]:ms-6"],endContent:"text-medium",startContent:"text-medium",label:"text-large"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{wrapper:"transition-none",thumb:"transition-none"},false:{wrapper:"transition-background",thumb:"transition-all",startContent:["opacity-0","scale-50","transition-transform-opacity","group-data-[selected=true]:scale-100","group-data-[selected=true]:opacity-100"],endContent:["opacity-100","transition-transform-opacity","group-data-[selected=true]:translate-x-3","group-data-[selected=true]:opacity-0"]}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1},compoundVariants:[{disableAnimation:!1,size:"sm",class:{thumb:["group-data-[pressed=true]:w-5","group-data-[selected]:group-data-[pressed]:ml-3"]}},{disableAnimation:!1,size:"md",class:{thumb:["group-data-[pressed=true]:w-6","group-data-[selected]:group-data-[pressed]:ml-4"]}},{disableAnimation:!1,size:"lg",class:{thumb:["group-data-[pressed=true]:w-7","group-data-[selected]:group-data-[pressed]:ml-5"]}}]});function y(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}"undefined"!=typeof window&&window.document&&window.document.createElement;let m=new Map;var h=r(61994);function b(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],o=n[e];"function"==typeof r&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=y(r,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof o?t[e]=(0,h.Z)(r,o):"id"===e&&r&&o?t.id=function(e,t){if(e===t)return e;let r=m.get(e);if(r)return r.forEach(e=>e(t)),t;let n=m.get(t);return n?(n.forEach(t=>t(e)),e):t}(r,o):t[e]=void 0!==o?o:r}}return t}var T=r(16449),w=r(16367),E=r(28262),P=r(49494),K=r(45614),k=r(43096);function x(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=(0,o.w)(),[d,c]=(0,i.oe)(r,v.variantKeys),{ref:p,as:g,name:m,value:h="",isReadOnly:x=!1,autoFocus:S=!1,startContent:L,endContent:M,defaultSelected:C,isSelected:A,children:D,thumbIcon:N,className:I,classNames:O,onChange:F,onValueChange:R,...H}=d,B=(0,n.useRef)(null),j=(0,n.useRef)(null),z=null!=(t=null!=(e=r.disableAnimation)?e:null==u?void 0:u.disableAnimation)&&t,W=(0,n.useId)(),U=(0,n.useMemo)(()=>{let e=H["aria-label"]||"string"==typeof D?D:void 0;return{name:m,value:h,children:D,autoFocus:S,defaultSelected:C,isSelected:A,isDisabled:!!r.isDisabled,isReadOnly:x,"aria-label":e,"aria-labelledby":H["aria-labelledby"]||W,onChange:R}},[h,m,W,D,S,x,A,C,r.isDisabled,H["aria-label"],H["aria-labelledby"],R]),V=function(e={}){let{isReadOnly:t}=e,[r,n]=(0,K.z)(e.isSelected,e.defaultSelected||!1,e.onChange);return{isSelected:r,setSelected:function(e){t||n(e)},toggle:function(){t||n(!r)}}}(U);(0,l.G)(()=>
1{if(!j.current)return;let e=!!j.current.checked;V.setSelected(e)},[j.current]);let{inputProps:G,isPressed:X,isReadOnly:_}=function(e,t,r){let{labelProps:n,inputProps:o,isSelected:i,isPressed:a,isDisabled:l,isReadOnly:s}=(0,P.O)(e,t,r);return{labelProps:n,inputProps:{...o,role:"switch",checked:i},isSelected:i,isPressed:a,isDisabled:l,isReadOnly:s}}(U,V,j),{focusProps:Y,isFocused:Z,isFocusVisible:J}=(0,k.F)({autoFocus:G.autoFocus}),{hoverProps:q,isHovered:$}=function(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:o,isDisabled:i}=e,[a,l]=(0,n.useState)(!1),u=(0,n.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,n.useEffect)(f,[]);let{hoverProps:d,triggerHoverEnd:c}=(0,n.useMemo)(()=>{let e=(e,n)=>{if(u.pointerType=n,i||"touch"===n||u.isHovered||!e.currentTarget.contains(e.target))return;u.isHovered=!0;let o=e.currentTarget;u.target=o,t&&t({type:"hoverstart",target:o,pointerType:n}),r&&r(!0),l(!0)},n=(e,t)=>{if(u.pointerType="",u.target=null,"touch"===t||!u.isHovered)return;u.isHovered=!1;let n=e.currentTarget;o&&o({type:"hoverend",target:n,pointerType:t}),r&&r(!1),l(!1)},a={};return"undefined"!=typeof PointerEvent?(a.onPointerEnter=t=>{s&&"mouse"===t.pointerType||e(t,t.pointerType)},a.onPointerLeave=e=>{!i&&e.currentTarget.contains(e.target)&&n(e,e.pointerType)}):(a.onTouchStart=()=>{u.ignoreEmulatedMouseEvents=!0},a.onMouseEnter=t=>{u.ignoreEmulatedMouseEvents||s||e(t,"mouse"),u.ignoreEmulatedMouseEvents=!1},a.onMouseLeave=e=>{!i&&e.currentTarget.contains(e.target)&&n(e,"mouse")}),{hoverProps:a,triggerHoverEnd:n}},[t,r,o,i,u]);return(0,n.useEffect)(()=>{i&&c({currentTarget:u.target},u.pointerType)},[i]),{hoverProps:d,isHovered:a}}({isDisabled:G.disabled}),Q=!(U.isDisabled||_)&&X,ee=G.checked,et=G.disabled,er=(0,n.useMemo)(()=>v({...c,disableAnimation:z}),[(0,T.Xx)(c),z]),en=(0,w.W)(null==O?void 0:O.base,I),eo=(0,n.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,"aria-hidden":!0,className:(0,w.W)(er.wrapper({class:(0,w.W)(null==O?void 0:O.wrapper,null==e?void 0:e.className)}))}},[er,null==O?void 0:O.wrapper]),ei=(0,n.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,className:er.thumb({class:(0,w.W)(null==O?void 0:O.thumb,null==e?void 0:e.className)})}},[er,null==O?void 0:O.thumb]),ea=(0,n.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,id:W,className:er.label({class:(0,w.W)(null==O?void 0:O.label,null==e?void 0:e.className)})}},[er,null==O?void 0:O.label,et,ee]),el=(0,n.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{includeStateProps:!1};return b({width:"1em",height:"1em",className:er.thumbIcon({class:(0,w.W)(null==O?void 0:O.thumbIcon)})},e.includeStateProps?{isSelected:ee}:{})},[er,null==O?void 0:O.thumbIcon,ee]),es=(0,n.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{width:"1em",height:"1em",...e,className:er.startContent({class:(0,w.W)(null==O?void 0:O.startContent,null==e?void 0:e.className)})}},[er,null==O?void 0:O.startContent,ee]),eu=(0,n.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{width:"1em",height:"1em",...e,className:er.endContent({class:(0,w.W)(null==O?void 0:O.endContent,null==e?void 0:e.className)})}},[er,null==O?void 0:O.endContent,ee]);return{Component:g||"label",slots:er,classNames:O,domRef:B,children:D,thumbIcon:N,startContent:L,endContent:M,isHovered:$,isSelected:ee,isPressed:Q,isFocused:Z,isFocusVisible:J,isDisabled:et,getBaseProps:e=>({...b(q,H,e),ref:B,className:er.base({class:(0,w.W)(en,null==e?void 0:e.className)}),"data-disabled":(0,E.PB)(et),"data-selected":(0,E.PB)(ee),"data-readonly":(0,E.PB)(_),"data-focus":(0,E.PB)(Z),"data-focus-visible":(0,E.PB)(J),"data-hover":(0,E.PB)($),"data-pressed":(0,E.PB)(Q)}),getWrapperProps:eo,getInputProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...b(G,Y,e),ref:(0,a.l)(j,p),id:G.id,className:er.hiddenInput({class:null==O?void 0:O.hiddenInput}),onChange:y(F,G.onChange)}},getLabelProps:ea,getThumbProps:ei,getThumbIconProps:el,getStartContentProps:es,getEndContentProps:eu}}},118:function(e,t,r){r.d(t,{i:function(){return s}});
1var n=r(61560),o=r(2265),i=r(60402),a=r(57437),l=(0,i.Gp)((e,t)=>{let{Component:r,children:i,startContent:l,endContent:s,thumbIcon:u,getBaseProps:d,getInputProps:c,getWrapperProps:f,getThumbProps:p,getThumbIconProps:g,getLabelProps:v,getStartContentProps:y,getEndContentProps:m}=(0,n.h)({...e,ref:t}),h="function"==typeof u?u(g({includeStateProps:!0})):u&&(0,o.cloneElement)(u,g()),b=l&&(0,o.cloneElement)(l,y()),T=s&&(0,o.cloneElement)(s,m());return(0,a.jsxs)(r,{...d(),children:[(0,a.jsx)("input",{...c()}),(0,a.jsxs)("span",{...f(),children:[l&&b,(0,a.jsx)("span",{...p(),children:u&&h}),s&&T]}),i&&(0,a.jsx)("span",{...v(),children:i})]})});l.displayName="HeroUI.Switch";var s=l},72384:function(e,t,r){r.d(t,{Y:function(){return $}});var n=r(22450),o=r(60402),i=r(96652),a=r(38353),l=r(3481),s=(0,a.tv)({slots:{base:"inline-flex",tabList:["flex","p-1","h-fit","gap-2","items-center","flex-nowrap","overflow-x-scroll","scrollbar-hide","bg-default-100"],tab:["z-0","w-full","px-3","py-1","flex","group","relative","justify-center","items-center","outline-none","cursor-pointer","transition-opacity","tap-highlight-transparent","data-[disabled=true]:cursor-not-allowed","data-[disabled=true]:opacity-30","data-[hover-unselected=true]:opacity-disabled",...l.Dh],tabContent:["relative","z-10","text-inherit","whitespace-nowrap","transition-colors","text-default-500","group-data-[selected=true]:text-foreground"],cursor:["absolute","z-0","bg-white"],panel:["py-3","px-1","outline-none","data-[inert=true]:hidden",...l.Dh],wrapper:[]},variants:{variant:{solid:{cursor:"inset-0"},light:{tabList:"bg-transparent dark:bg-transparent",cursor:"inset-0"},underlined:{tabList:"bg-transparent dark:bg-transparent",cursor:"h-[2px] w-[80%] bottom-0 shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]"},bordered:{tabList:"bg-transparent dark:bg-transparent border-medium border-default-200 shadow-sm",cursor:"inset-0"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{tabList:"rounded-medium",tab:"h-7 text-tiny rounded-small",cursor:"rounded-small"},md:{tabList:"rounded-medium",tab:"h-8 text-small rounded-small",cursor:"rounded-small"},lg:{tabList:"rounded-large",tab:"h-9 text-medium rounded-medium",cursor:"rounded-medium"}},radius:{none:{tabList:"rounded-none",tab:"rounded-none",cursor:"rounded-none"},sm:{tabList:"rounded-medium",tab:"rounded-small",cursor:"rounded-small"},md:{tabList:"rounded-medium",tab:"rounded-small",cursor:"rounded-small"},lg:{tabList:"rounded-large",tab:"rounded-medium",cursor:"rounded-medium"},full:{tabList:"rounded-full",tab:"rounded-full",cursor:"rounded-full"}},fullWidth:{true:{base:"w-full",tabList:"w-full"}},isDisabled:{true:{tabList:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{tab:"transition-none",tabContent:"transition-none"}},placement:{top:{},start:{tabList:"flex-col",panel:"py-0 px-3",wrapper:"flex"},end:{tabList:"flex-col",panel:"py-0 px-3",wrapper:"flex flex-row-reverse"},bottom:{wrapper:"flex flex-col-reverse"}}},defaultVariants:{color:"default",variant:"solid",size:"md",fullWidth:!1,isDisabled:!1},compoundVariants:[{variant:["solid","bordered","light"],color:"default",class:{cursor:["bg-background","dark:bg-default","shadow-small"],tabContent:"group-data-[selected=true]:text-default-foreground"}},{variant:["solid","bordered","light"],color:"primary",class:{cursor:i.J.solid.primary,tabContent:"group-data-[selected=true]:text-primary-foreground"}},{variant:["solid","bordered","light"],color:"secondary",class:{cursor:i.J.solid.secondary,tabContent:"group-data-[selected=true]:text-secondary-foreground"}},{variant:["solid","bordered","light"],color:"success",class:{cursor:i.J.solid.success,tabContent:"group-data-[selected=true]:text-success-foreground"}},{variant:["solid","bordered","light"],color:"warning",class:{cursor:i.J.solid.warning,tabContent:"group-data-[selected=true]:text-warning-foreground"}},{variant:["solid","bordered","light"],color:"danger",class:{cursor:i.J.solid.danger,tabContent:"group-data-[selected=true]:text-danger-foreground"}}
1,{variant:"underlined",color:"default",class:{cursor:"bg-foreground",tabContent:"group-data-[selected=true]:text-foreground"}},{variant:"underlined",color:"primary",class:{cursor:"bg-primary",tabContent:"group-data-[selected=true]:text-primary"}},{variant:"underlined",color:"secondary",class:{cursor:"bg-secondary",tabContent:"group-data-[selected=true]:text-secondary"}},{variant:"underlined",color:"success",class:{cursor:"bg-success",tabContent:"group-data-[selected=true]:text-success"}},{variant:"underlined",color:"warning",class:{cursor:"bg-warning",tabContent:"group-data-[selected=true]:text-warning"}},{variant:"underlined",color:"danger",class:{cursor:"bg-danger",tabContent:"group-data-[selected=true]:text-danger"}},{disableAnimation:!0,variant:"underlined",class:{tab:["after:content-['']","after:absolute","after:bottom-0","after:h-[2px]","after:w-[80%]","after:opacity-0","after:shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]","data-[selected=true]:after:opacity-100"]}},{disableAnimation:!0,color:"default",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-default data-[selected=true]:text-default-foreground"}},{disableAnimation:!0,color:"primary",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-primary data-[selected=true]:text-primary-foreground"}},{disableAnimation:!0,color:"secondary",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-secondary data-[selected=true]:text-secondary-foreground"}},{disableAnimation:!0,color:"success",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-success data-[selected=true]:text-success-foreground"}},{disableAnimation:!0,color:"warning",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-warning data-[selected=true]:text-warning-foreground"}},{disableAnimation:!0,color:"danger",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-danger data-[selected=true]:text-danger-foreground"}},{disableAnimation:!0,color:"default",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-foreground"}},{disableAnimation:!0,color:"primary",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-primary"}},{disableAnimation:!0,color:"secondary",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-secondary"}},{disableAnimation:!0,color:"success",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-success"}},{disableAnimation:!0,color:"warning",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-warning"}},{disableAnimation:!0,color:"danger",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-danger"}}],compoundSlots:[{variant:"underlined",slots:["tab","tabList","cursor"],class:["rounded-none"]}]}),u=r(45280),d=r(16449),c=r(16367),f=r(39150),p=r(2265);class g{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){var t;let r=this.keyMap.get(e);return r&&null!==(t=r.prevKey)&&void 0!==t?t:null}getKeyAfter(e){var t;let r=this.keyMap.get(e);return r&&null!==(t=r.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 r=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&"section"===e.type)for(let t of e.childNodes)r(t)};for(let t of e)r(t);let n=null,o=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=o++),(n=t).nextKey=void 0;this.lastKey=null!==(t=null==n?void 0:n.key)&&void 0!==t?t:null}}var v=r(88970),y=r(47834),m=r(22603),h=r(45614);function b(e,t){let r=null;if(e){var n,o,i,a;for(r=e.getFirstKey();null!=r&&(t.has(r)||(null===(o=e.getItem(r))||void 0===o?void 0:null===(n=o.props)||void 0===n?void 0:n.isDisabled))&&r!==e.getLastKey();)r=e.getKeyAfter(r);null!=r&&(t.has(r)||(null===(a=e.getItem(r))||void 0===a?void 0:null===(i=a.props)||void 0===i?void 0:i.isDisabled))&&r===e.getLastKey()&&(r=e.getFirstKey())}return r}var T=r(87189);class w{getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){var t,r;return this.disabledKeys.has(e)||!!(null===(r=this.collection.getItem(e))||void 0===r?void 0:null===(t=r.props)||void 0===t?void 0:t.isDisabled)}getFirstKey(){let e=this.collection.getFirstKey();return null!=e&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return null!=e&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}
1getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){do null==(e=this.collection.getKeyAfter(e))&&(e=this.collection.getFirstKey());while(this.isDisabled(e));return e}getPreviousKey(e){do null==(e=this.collection.getKeyBefore(e))&&(e=this.collection.getLastKey());while(this.isDisabled(e));return e}constructor(e,t,r,n=new Set){this.collection=e,this.flipDirection="rtl"===t&&"horizontal"===r,this.disabledKeys=n,this.tabDirection="horizontal"===r}}var E=r(22121),P=r(57631),K=r(17048);let k=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),x=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);var S=r(87365);let L=Symbol.for("react-aria.i18n.locale");function M(){let e="undefined"!=typeof window&&window[L]||"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(),r="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(r)return"rtl"===r.direction;if(t.script)return k.has(t.script)}let t=e.split("-")[0];return x.has(t)}(e)?"ltr":"rtl"}}let C=M(),A=new Set;function D(){for(let e of(C=M(),A))e(C)}let N=p.createContext(null);function I(){let e=function(){let e=(0,S.Av)(),[t,r]=(0,p.useState)(C);return((0,p.useEffect)(()=>(0===A.size&&window.addEventListener("languagechange",D),A.add(r),()=>{A.delete(r),0===A.size&&window.removeEventListener("languagechange",D)}),[]),e)?{locale:"en-US",direction:"ltr"}:t}();return(0,p.useContext)(N)||e}var O=r(66776),F=r(39381),R=r(81938),H=r(63325),B=r(53642);function j(e,t,r,n){let o=(0,B.i)(r),i=null==r;(0,p.useEffect)(()=>{if(i||!e.current)return;let r=e.current;return r.addEventListener(t,o,n),()=>{r.removeEventListener(t,o,n)}},[e,t,n,i,o])}function z(e,t){let r=W(e,t,"left"),n=W(e,t,"top"),o=t.offsetWidth,i=t.offsetHeight,a=e.scrollLeft,l=e.scrollTop,{borderTopWidth:s,borderLeftWidth:u,scrollPaddingTop:d,scrollPaddingRight:c,scrollPaddingBottom:f,scrollPaddingLeft:p}=getComputedStyle(e),g=a+parseInt(u,10),v=l+parseInt(s,10),y=g+e.clientWidth,m=v+e.clientHeight,h=parseInt(d,10)||0,b=parseInt(f,10)||0,T=parseInt(c,10)||0,w=parseInt(p,10)||0;r<=a+w?a=r-parseInt(u,10)-w:r+o>y-T&&(a+=r+o-y+T),n<=v+h?l=n-parseInt(s,10)-h:n+i>m-b&&(l+=n+i-m+b),e.scrollLeft=a,e.scrollTop=l}function W(e,t,r){let n="left"===r?"offsetLeft":"offsetTop",o=0;for(;t.offsetParent&&(o+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[n];break}t=t.offsetParent}return o}function U(e,t){if(e&&document.contains(e)){let a=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(a).overflow)for(let t of function(e,t){let r=[];for(;e&&e!==document.documentElement;)(function(e,t){if(!e)return!1;let r=window.getComputedStyle(e),n=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);return n&&t&&(n=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),n})(e,void 0)&&r.push(e),e=e.parentElement;return r}(e))z(t,e);else{var r,n,o,i;let{left:a,top:l}=e.getBoundingClientRect();null==e||null===(r=e.scrollIntoView)||void 0===r||r.call(e,{block:"nearest"});let{left:s,top:u}=e.getBoundingClientRect();(Math.abs(a-s)>1||Math.abs(l-u)>1)&&(null==t||null===(o=t.containingElement)||void 0===o||null===(n=o.scrollIntoView)||void 0===n||n.call(o,{block:"center",inline:"center"}),null===(i=e.scrollIntoView)||void 0===i||i.call(e,{block:"nearest"}))}}}var V=r(92335),G=r(61432);function X(e,t){let r=(0,p.useRef)(!0),n=(0,p.useRef)(null);(0,G.b)(()=>(r.current=!0,()=>{r.current=!1}),[]),(0,G.b)(()=>{r.current?r.current=!1:(!n.current||t.some((e,t)=>!Object.is(e,n[t])))&&e(),n.current=t},t)}var _=r(54887),Y=r(81393),Z=r(25829),J=r(19646),q=r(31706);function $(e){var t,r,i;let a=(0,n.w)(),[l,k]=(0,o.oe)(e,s.variantKeys),{ref:x,as:S,className:L,classNames:M,children:C,disableCursorAnimation:A,motionProps:D,isVertical:N=!1,shouldSelectOnPressUp:W=!0,destroyInactiveTabPanel:G=!0,...$}=l,Q=S||"div",ee="string"==typeof Q,et=(0,u.gy)(x),er=null!=(r=null!=(t=null==e?void 0:e.disableAnimation)?t:null==a?void 0:a.disableAnimation)&&r,en=function(e){var t,r;let n=function(e){var t;let[r,n]=(0,h.z)(e.selectedKey,null!==(t=e.defaultSelectedKey)&&void 0!==t?t:null,e.onSelectionChange),o=(0,p.useMemo)(()=>null!=r?[r]:[],[r]),{collection:i,disabledKeys:a,selectionManager:l}=function(e){let{filter:t,layoutDelegate:r}=e,n=(0,v.q)(e),o=(0,p.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=(0,p.useCallback)(e=>new g(t?t(e):e),[t]),a=(0,p.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),l=(0,m.K)(e,i,a),s=(0,p.useMemo)(()=>new y.Z(l,n,{layoutDelegate:r}),[l,n,r]),u=(0,p.useRef)(null);return(0,p.useEffect)(()=>
1{if(null!=n.focusedKey&&!l.getItem(n.focusedKey)&&u.current){var e,t,r,o,i,a,d;let c=u.current.getItem(n.focusedKey),f=[...u.current.getKeys()].map(e=>{let t=u.current.getItem(e);return(null==t?void 0:t.type)==="item"?t:null}).filter(e=>null!==e),p=[...l.getKeys()].map(e=>{let t=l.getItem(e);return(null==t?void 0:t.type)==="item"?t:null}).filter(e=>null!==e),g=(null!==(e=null==f?void 0:f.length)&&void 0!==e?e:0)-(null!==(t=null==p?void 0:p.length)&&void 0!==t?t:0),v=Math.min(g>1?Math.max((null!==(r=null==c?void 0:c.index)&&void 0!==r?r:0)-g+1,0):null!==(o=null==c?void 0:c.index)&&void 0!==o?o:0,(null!==(i=null==p?void 0:p.length)&&void 0!==i?i:0)-1),y=null,m=!1;for(;v>=0;){if(!s.isDisabled(p[v].key)){y=p[v];break}v<p.length-1&&!m?v++:(m=!0,v>(null!==(a=null==c?void 0:c.index)&&void 0!==a?a:0)&&(v=null!==(d=null==c?void 0:c.index)&&void 0!==d?d:0),v--)}n.setFocusedKey(y?y.key:null)}u.current=l},[l,s,n,n.focusedKey]),{collection:l,disabledKeys:o,selectionManager:s}}({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:o,onSelectionChange:t=>{var o;if("all"===t)return;let i=null!==(o=t.values().next().value)&&void 0!==o?o:null;i===r&&e.onSelectionChange&&e.onSelectionChange(i),n(i)}}),s=null!=r?i.getItem(r):null;return{collection:i,disabledKeys:a,selectionManager:l,selectedKey:r,setSelectedKey:n,selectedItem:s}}({...e,suppressTextValueWarning:!0,defaultSelectedKey:null!==(r=null!==(t=e.defaultSelectedKey)&&void 0!==t?t:b(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set))&&void 0!==r?r:void 0}),{selectionManager:o,collection:i,selectedKey:a}=n,l=(0,p.useRef)(a);return(0,p.useEffect)(()=>{let e=a;(o.isEmpty||null==e||!i.getItem(e))&&null!=(e=b(i,n.disabledKeys))&&o.setSelectedKeys([e]),(null==e||null!=o.focusedKey)&&(o.isFocused||e===l.current)||o.setFocusedKey(e),l.current=e}),{...n,isDisabled:e.isDisabled||!1}}({children:C,...$}),{tabListProps:eo}=function(e,t,r){let{orientation:n="horizontal",keyboardActivation:o="automatic"}=e,{collection:i,selectionManager:a,disabledKeys:l}=t,{direction:s}=I(),{collectionProps:u}=function(e){let t,{selectionManager:r,keyboardDelegate:n,ref:o,autoFocus:i=!1,shouldFocusWrap:a=!1,disallowEmptySelection:l=!1,disallowSelectAll:s=!1,selectOnFocus:u="replace"===r.selectionBehavior,disallowTypeAhead:d=!1,shouldUseVirtualFocus:c,allowsTabNavigation:f=!1,isVirtualized:g,scrollRef:v=o,linkBehavior:y="action"}=e,{direction:m}=I(),h=(0,F.tv)(),b=(0,p.useRef)({top:0,left:0});j(v,"scroll",g?void 0:()=>{var e,t,r,n;b.current={top:null!==(r=null===(e=v.current)||void 0===e?void 0:e.scrollTop)&&void 0!==r?r:0,left:null!==(n=null===(t=v.current)||void 0===t?void 0:t.scrollLeft)&&void 0!==n?n:0}});let T=(0,p.useRef)(!1);j(o,V.N4,c?e=>{let{detail:t}=e;e.stopPropagation(),r.setFocused(!0),(null==t?void 0:t.focusStrategy)==="first"&&(T.current=!0)}:void 0);let w=(0,B.i)(()=>{var e,t,i;let a=null!==(t=null===(e=n.getFirstKey)||void 0===e?void 0:e.call(n))&&void 0!==t?t:null;null==a?(null===(i=o.current)||void 0===i||i.dispatchEvent(new CustomEvent(V.et,{cancelable:!0,bubbles:!0})),r.collection.size>0&&(T.current=!1)):(r.setFocusedKey(a),T.current=!1)});X(()=>{T.current&&w()},[r.collection,w]);let E=(0,B.i)(()=>{r.collection.size>0&&(T.current=!1)});X(()=>{E()},[r.focusedKey,E]),j(o,V.os,c?e=>{e.stopPropagation(),r.setFocused(!1),r.setFocusedKey(null)}:void 0);let P=(0,p.useRef)(i);(0,p.useEffect)(()=>{if(P.current){var e,t,a,l;let s=null;"first"===i&&(s=null!==(a=null===(e=n.getFirstKey)||void 0===e?void 0:e.call(n))&&void 0!==a?a:null),"last"===i&&(s=null!==(l=null===(t=n.getLastKey)||void 0===t?void 0:t.call(n))&&void 0!==l?l:null);let u=r.selectedKeys;if(u.size){for(let e of u)if(r.canSelectItem(e)){s=e;break}}r.setFocused(!0),r.setFocusedKey(s),null==s&&!c&&o.current&&(0,Z.e)(o.current)}},[]);let k=(0,p.useRef)(r.focusedKey);(0,p.useEffect)(()=>{if(r.isFocused&&null!=r.focusedKey&&(r.focusedKey!==k.current||P.current)&&v.current&&o.current){let e=(0,J.Jz)(),t=o.current.querySelector(`[data-key="${CSS.escape(r.focusedKey.toString())}"]`);if(!t)return;("keyboard"===e||P.current)&&(z(v.current,t),"virtual"!==e&&U(t,{containingElement:o.current}))}!c&&r.isFocused&&null==r.focusedKey&&null!=k.current&&o.current&&(0,Z.e)(o.current),k.current=r.focusedKey,P.current=!1}),j(o,"react-aria-focus-scope-restore",e=>{e.preventDefault(),r.setFocused(!0)});let x={onKeyDown:e=>{var t,i,d,c,p,g,b,T,w,E,P,K,k;if(e.altKey&&"Tab"===e.key&&e.preventDefault(),!(null===(t=o.current)||void 0===t?void 0:t.contains(e.target)))return;let x=(t,n)=>{if(null!=t){if(r.isLink(t)&&"selection"===y&&u&&!(0,O.F)(e)){var o;(0,_.flushSync)(()=>{r.setFocusedKey(t,n)});let i=null===(o=v.current)||void 0===o?void 0:o.querySelector(`[data-key="${CSS.escape(t.toString())}"]`),a=r.getItemProps(t);i&&h.open(i,e,a.href,a.routerOptions);return}r.setFocusedKey(t,n),r.isLink(t)&&"override"===y||(e.shiftKey&&"multiple"===r.selectionMode?r.extendSelection(t):u&&!(0,O.F)(e)&&r.replaceSelection(t))}};switch(e.key){case"ArrowDown":if(n.getKeyBelow){let t=null!=r.focusedKey?null===(i=n.getKeyBelow)||void 0===i?void 0:i.call(n,r.focusedKey):null===(d=n.getFirstKey)||void 0===d?void 0:d.call(n);null==t&&a&&(t=null===(c=n.getFirstKey)||void 0===c?void 0:c.call(n,r.focusedKey)),null!=t&&(e.preventDefault(),x(t))}break;case"ArrowUp":if(n.getKeyAbove){let t=null!=r.focusedKey?null===(p=n.getKeyAbove)||void 0===p?void 0:p.call(n,r.focusedKey):null===(g=n.getLastKey)||void 0===g?void 0:g.call(n);null==t&&a&&(t=null===(b=n.getLastKey)||void 0===b?void 0:b.call(n,r.focusedKey)),null!=t&&(e.preventDefault(),x(t))}break;case"ArrowLeft":if(n.getKeyLeftOf){let t=null!=r.focusedKey?null===(T=n.getKeyLeftOf)||void 0===T?void 0:T.call(n,r.focusedKey):null;null==t&&a&&(t="rtl"===m?null===(w=n.getFirstKey)||void 0===w?void 0:w.call(n,r.focusedKey):null===(E=n.getLastKey)||void 0===E?void 0:E.
1call(n,r.focusedKey)),null!=t&&(e.preventDefault(),x(t,"rtl"===m?"first":"last"))}break;case"ArrowRight":if(n.getKeyRightOf){let t=null!=r.focusedKey?null===(P=n.getKeyRightOf)||void 0===P?void 0:P.call(n,r.focusedKey):null;null==t&&a&&(t="rtl"===m?null===(K=n.getLastKey)||void 0===K?void 0:K.call(n,r.focusedKey):null===(k=n.getFirstKey)||void 0===k?void 0:k.call(n,r.focusedKey)),null!=t&&(e.preventDefault(),x(t,"rtl"===m?"last":"first"))}break;case"Home":if(n.getFirstKey){if(null===r.focusedKey&&e.shiftKey)return;e.preventDefault();let t=n.getFirstKey(r.focusedKey,(0,R.y)(e));r.setFocusedKey(t),null!=t&&((0,R.y)(e)&&e.shiftKey&&"multiple"===r.selectionMode?r.extendSelection(t):u&&r.replaceSelection(t))}break;case"End":if(n.getLastKey){if(null===r.focusedKey&&e.shiftKey)return;e.preventDefault();let t=n.getLastKey(r.focusedKey,(0,R.y)(e));r.setFocusedKey(t),null!=t&&((0,R.y)(e)&&e.shiftKey&&"multiple"===r.selectionMode?r.extendSelection(t):u&&r.replaceSelection(t))}break;case"PageDown":if(n.getKeyPageBelow&&null!=r.focusedKey){let t=n.getKeyPageBelow(r.focusedKey);null!=t&&(e.preventDefault(),x(t))}break;case"PageUp":if(n.getKeyPageAbove&&null!=r.focusedKey){let t=n.getKeyPageAbove(r.focusedKey);null!=t&&(e.preventDefault(),x(t))}break;case"a":(0,R.y)(e)&&"multiple"===r.selectionMode&&!0!==s&&(e.preventDefault(),r.selectAll());break;case"Escape":l||0===r.selectedKeys.size||(e.stopPropagation(),e.preventDefault(),r.clearSelection());break;case"Tab":if(!f){if(e.shiftKey)o.current.focus();else{let e,t,r=(0,Y.QL)(o.current,{tabbable:!0});do(t=r.lastChild())&&(e=t);while(t);e&&!e.contains(document.activeElement)&&(0,H.A)(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,i,a,l;let o=e=>{null!=e&&(r.setFocusedKey(e),u&&r.replaceSelection(e))},s=e.relatedTarget;s&&e.currentTarget.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_FOLLOWING?o(null!==(a=r.lastSelectedKey)&&void 0!==a?a:null===(t=n.getLastKey)||void 0===t?void 0:t.call(n)):o(null!==(l=r.firstSelectedKey)&&void 0!==l?l:null===(i=n.getFirstKey)||void 0===i?void 0:i.call(n))}else!g&&v.current&&(v.current.scrollTop=b.current.top,v.current.scrollLeft=b.current.left);if(null!=r.focusedKey&&v.current){let e=v.current.querySelector(`[data-key="${CSS.escape(r.focusedKey.toString())}"]`);e&&(e.contains(document.activeElement)||(0,H.A)(e),"keyboard"===(0,J.Jz)()&&U(e,{containingElement:o.current}))}}},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||r.setFocused(!1)},onMouseDown(e){v.current===e.target&&e.preventDefault()}},{typeSelectProps:S}=function(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,o=(0,p.useRef)({search:"",timeout:void 0}).current;return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{var i;let a=1!==(i=e.key).length&&/^[A-Z]/i.test(i)?"":i;if(a&&!e.ctrlKey&&!e.metaKey&&e.currentTarget.contains(e.target)){if(" "!==a||!(o.search.trim().length>0)||(e.preventDefault(),"continuePropagation"in e||e.stopPropagation()),o.search+=a,null!=t.getKeyForSearch){let e=t.getKeyForSearch(o.search,r.focusedKey);null==e&&(e=t.getKeyForSearch(o.search)),null!=e&&(r.setFocusedKey(e),n&&n(e))}clearTimeout(o.timeout),o.timeout=setTimeout(()=>{o.search=""},1e3)}}:void 0}}}({keyboardDelegate:n,selectionManager:r});return d||(x=(0,K.d)(S,x)),t=c?-1:null==r.focusedKey?0:-1,{collectionProps:{...x,tabIndex:t}}}({ref:r,selectionManager:a,keyboardDelegate:(0,p.useMemo)(()=>new w(i,s,n,l),[i,l,n,s]),selectOnFocus:"automatic"===o,disallowEmptySelection:!0,scrollRef:r,linkBehavior:"selection"}),d=(0,E.Me)();(0,T.p).set(t,d);let c=(0,P.b)({...e,id:d});return{tabListProps:{...(0,K.d)(u,c),role:"tablist","aria-orientation":n,tabIndex:void 0}}}($,en,et),ei=(0,p.useMemo)(()=>s({...k,className:L,disableAnimation:er,...N?{placement:"start"}:{}}),[(0,d.Xx)(k),L,er,N]),ea=(0,c.W)(null==M?void 0:M.base,L),el=(0,p.useMemo)(()=>({state:en,slots:ei,classNames:M,motionProps:D,disableAnimation:er,listRef:et,shouldSelectOnPressUp:W,disableCursorAnimation:A,isDisabled:null==e?void 0:e.isDisabled}),[en,ei,et,D,er,A,W,null==e?void 0:e.isDisabled,M]),es=(0,p.useCallback)(e=>({"data-slot":"base",className:ei.base({class:(0,c.W)(ea,null==e?void 0:e.className)}),...(0,q.d)((0,f.z)($,{enabled:ee}),e)}
1),[ea,$,ei]),eu=null!=(i=k.placement)?i:N?"start":"top",ed=(0,p.useCallback)(e=>({"data-slot":"tabWrapper",className:ei.wrapper({class:(0,c.W)(null==M?void 0:M.wrapper,null==e?void 0:e.className)}),"data-placement":eu,"data-vertical":N||"start"===eu||"end"===eu?"vertical":"horizontal"}),[M,ei,eu,N]),ec=(0,p.useCallback)(e=>({ref:et,"data-slot":"tabList",className:ei.tabList({class:(0,c.W)(null==M?void 0:M.tabList,null==e?void 0:e.className)}),...(0,q.d)(eo,e)}),[et,eo,M,ei]);return{Component:Q,domRef:et,state:en,values:el,destroyInactiveTabPanel:G,getBaseProps:es,getTabListProps:ec,getWrapperProps:ed}}},32773:function(e,t,r){r.d(t,{r:function(){return n}});var n=r(62738).c},47117:function(e,t,r){r.d(t,{n:function(){return eL}});var n=r(60402),o=r(45280),i=r(16367),a=r(16449),l=r(31706),s=r(87189),u=r(57631),d=r(17048),c=r(81393),f=r(61432),p=r(2265),g=r(43096),v=r(57437),y=(0,n.Gp)((e,t)=>{var r,n;let{as:y,tabKey:m,destroyInactiveTabPanel:h,state:b,className:T,slots:w,classNames:E,...P}=e,K=(0,o.gy)(t),{tabPanelProps:k}=function(e,t,r){var n;let o=!function(e,t){let r,[n,o]=(0,p.useState)(!1);return(0,f.b)(()=>
1{if((null==e?void 0:e.current)&&!r){let t=()=>{e.current&&o(!!(0,c.QL)(e.current,{tabbable:!0}).nextNode())};t();let r=new MutationObserver(t);return r.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{r.disconnect()}}}),!r&&n}(r)?0:void 0,i=(0,s.O)(t,null!==(n=e.id)&&void 0!==n?n:null==t?void 0:t.selectedKey,"tabpanel"),a=(0,u.b)({...e,id:i,"aria-labelledby":(0,s.O)(t,null==t?void 0:t.selectedKey,"tab")});return{tabPanelProps:(0,d.d)(a,{tabIndex:o,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}({...e,id:String(m)},b,K),{focusProps:x,isFocused:S,isFocusVisible:L}=(0,g.F)(),M=b.selectedItem,C=b.collection.getItem(m).props.children,A=(0,i.W)(null==E?void 0:E.panel,T,null==(r=null==M?void 0:M.props)?void 0:r.className),D=m===(null==M?void 0:M.key);return C&&(D||!h)?(0,v.jsx)(y||"div",{ref:K,"data-focus":S,"data-focus-visible":L,"data-inert":D?void 0:"true",inert:(0,a.UE)(!D),...D&&(0,l.d)(k,x,P),className:null==(n=w.panel)?void 0:n.call(w,{class:A}),"data-slot":"panel",children:C}):null});y.displayName="HeroUI.TabPanel";var m=r(39156),h=r(39150),b=r(28262),T=r(95813),w=r(89056);let E=new Set(["id"]),P=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),K=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),k=/^(data-.*)$/;var x=r(39381),S=r(66776),L=r(25829),M=r(22121),C=r(81938),A=r(92335),D=r(64355),N=r(5954),I=r(36450);let O="default",F="",R=new WeakMap;function H(e){if((0,D.gn)()){if("default"===O){let t=(0,N.r)(e);F=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}O="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(R.set(e,e.style.userSelect),e.style.userSelect="none")}function B(e){if((0,D.gn)())"disabled"===O&&(O="restoring",setTimeout(()=>{(0,I.Q)(()=>{if("restoring"===O){let t=(0,N.r)(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=F||""),F="",O="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&R.has(e)){let t=R.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),R.delete(e)}}let j=p.createContext({register:()=>{}});j.displayName="PressResponderContext";var z=r(95691),W=r(25134),U=r(11455);function V(){let e=(0,p.useRef)(new Map),t=(0,p.useCallback)((t,r,n,o)=>{let i=(null==o?void 0:o.once)?(...t)=>{e.current.delete(n),n(...t)}:n;e.current.set(n,{type:r,eventTarget:t,fn:i,options:o}),t.addEventListener(r,i,o)},[]),r=(0,p.useCallback)((t,r,n,o)=>{var i;let a=(null===(i=e.current.get(n))||void 0===i?void 0:i.fn)||n;t.removeEventListener(r,a,o),e.current.delete(n)},[]),n=(0,p.useCallback)(()=>{e.current.forEach((e,t)=>{r(e.eventTarget,e.type,t,e.options)})},[r]);return(0,p.useEffect)(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}var G=r(53642),X=r(71409),_=r(6786),Y=r(63325),Z=new WeakMap;class J{continuePropagation(){(0,U._)(this,Z,!1)}get shouldStopPropagation(){return(0,z._)(this,Z)}constructor(e,t,r,n){var o;(0,W._)(this,Z,{writable:!0,value:void 0}),(0,U._)(this,Z,!0);let i=null!==(o=null==n?void 0:n.target)&&void 0!==o?o:r.currentTarget,a=null==i?void 0:i.getBoundingClientRect(),l,s=0,u,d=null;null!=r.clientX&&null!=r.clientY&&(u=r.clientX,d=r.clientY),a&&(null!=u&&null!=d?(l=u-a.left,s=d-a.top):(l=a.width/2,s=a.height/2)),this.type=e,this.pointerType=t,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=l,this.y=s}}let q=Symbol("linkClicked");function $(e){let{onPress:t,onPressChange:r,onPressStart:n,onPressEnd:o,onPressUp:i,isDisabled:a,isPressed:l,preventFocusOnPress:s,shouldCancelOnPointerExit:u,allowTextSelectionOnPress:c,ref:g,...v}=function(e){var t;let r=(0,p.useContext)(j);if(r){let{register:t,...n}=r;e=(0,d.d)(n,e),t()}return t=e.ref,(0,f.b)(()=>
1{if(r&&r.ref&&t)return r.ref.current=t.current,()=>{r.ref&&(r.ref.current=null)}}),e}(e),[y,m]=(0,p.useState)(!1),h=(0,p.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:b,removeAllGlobalListeners:T}=V(),w=(0,G.i)((e,t)=>{let o=h.current;if(a||o.didFirePressStart)return!1;let i=!0;if(o.isTriggeringEvent=!0,n){let r=new J("pressstart",t,e);n(r),i=r.shouldStopPropagation}return r&&r(!0),o.isTriggeringEvent=!1,o.didFirePressStart=!0,m(!0),i}),E=(0,G.i)((e,n,i=!0)=>{let l=h.current;if(!l.didFirePressStart)return!1;l.ignoreClickAfterPress=!0,l.didFirePressStart=!1,l.isTriggeringEvent=!0;let s=!0;if(o){let t=new J("pressend",n,e);o(t),s=t.shouldStopPropagation}if(r&&r(!1),m(!1),t&&i&&!a){let r=new J("press",n,e);t(r),s&&(s=r.shouldStopPropagation)}return l.isTriggeringEvent=!1,s}),P=(0,G.i)((e,t)=>{let r=h.current;if(a)return!1;if(i){r.isTriggeringEvent=!0;let n=new J("pressup",t,e);return i(n),r.isTriggeringEvent=!1,n.shouldStopPropagation}return!0}),K=(0,G.i)(e=>{let t=h.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&E(en(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,T(),c||B(t.target))}),k=(0,G.i)(e=>{u&&K(e)}),S=(0,p.useMemo)(()=>{let e=h.current,t={onKeyDown(t){if(ee(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var n;el(t.target,t.key)&&t.preventDefault();let o=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,o=w(t,"keyboard");let n=t.currentTarget;b((0,N.r)(t.currentTarget),"keyup",(0,X.t)(t=>{ee(t,n)&&!t.repeat&&n.contains(t.target)&&e.target&&P(en(e.target,t),"keyboard")},r),!0)}o&&t.stopPropagation(),t.metaKey&&(0,D.V5)()&&(null===(n=e.metaKeyEvents)||void 0===n||n.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!x.nG.isOpening){let r=!0;if(a&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||(0,_.Z)(t.nativeEvent))){a||s||(0,Y.A)(t.currentTarget);let e=w(t,"virtual"),n=P(t,"virtual"),o=E(t,"virtual");r=e&&n&&o}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,r&&t.stopPropagation()}}},r=t=>{var r,n,o;if(e.isPressed&&e.target&&ee(t,e.target)){el(t.target,t.key)&&t.preventDefault();let r=t.target;E(en(e.target,t),"keyboard",e.target.contains(r)),T(),"Enter"!==t.key&&Q(e.target)&&e.target.contains(r)&&!t[q]&&(t[q]=!0,(0,x.nG)(e.target,t,!1)),e.isPressed=!1,null===(n=e.metaKeyEvents)||void 0===n||n.delete(t.key)}else if("Meta"===t.key&&(null===(r=e.metaKeyEvents)||void 0===r?void 0:r.size)){let t=e.metaKeyEvents;for(let r of(e.metaKeyEvents=void 0,t.values()))null===(o=e.target)||void 0===o||o.dispatchEvent(new KeyboardEvent("keyup",r))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{if(0!==t.button||!t.currentTarget.contains(t.target))return;if((0,_.c)(t.nativeEvent)){e.pointerType="virtual";return}ei(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let n=!0;if(!e.isPressed){e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,a||s||(0,Y.A)(t.currentTarget),c||H(e.target),n=w(t,e.pointerType);let i=t.target;"releasePointerCapture"in i&&i.releasePointerCapture(t.pointerId),b((0,N.r)(t.currentTarget),"pointerup",r,!1),b((0,N.r)(t.currentTarget),"pointercancel",o,!1)}n&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(ei(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&P(t,e.pointerType||t.pointerType)},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!0,w(en(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,E(en(e.target,t),e.pointerType,!1),k(t))};let r=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(e.target.contains(t.target)&&null!=e.pointerType?E(en(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&E(en(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,T(),c||B(e.target),"ontouchend"in e.target&&"mouse"!==t.pointerType&&b(e.target,"touchend",n,{once:!0}))},n=e=>{ea(e.currentTarget)&&e.preventDefault()},o=e=>{K(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&K(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(ei(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=(0,_.Z)(t.nativeEvent)?"virtual":"mouse",a||s||(0,Y.A)(t.currentTarget),w(t,e.pointerType)&&t.stopPropagation(),b((0,N.r)(t.currentTarget),"mouseup",r,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,r=w(t,e.pointerType)),r&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,r=E(t,e.pointerType,!1),k(t)),r&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&0===t.button&&P(t,e.pointerType||"mouse")};let r=t=>{if(0===t.button){if(e.isPressed=!1,T(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&eo(t,e.target)&&null!=e.pointerType?E(en(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&E(en(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let r=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);r&&(e.activePointerId=r.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",a||s||(0,Y.A)(t.currentTarget),c||H(e.target),w(er(e.target,t),e.pointerType)&&t.stopPropagation(),b((0,N.k)(t.currentTarget),"scroll",n,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=et(t.nativeEvent,e.activePointerId),n=!0;r&&eo(r,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,n=w(er(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,n=E(er(e.target,t),e.pointerType,!1),k(er(e.target,t))),n&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=et(t.nativeEvent,e.activePointerId),n=!0;r&&eo(r,t.currentTarget)&&null!=e.pointerType?(P(er(e.target,t),e.pointerType),n=E(er(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(n=E(er(e.target,t),e.pointerType,!1)),n&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!c&&B(e.target),T()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&K(er(e.target,t)))};let n=t=>{e.isPressed&&t.target.contains(e.target)&&K({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&K(e)}}return t},[b,a,s,T,c,K,k,E,w,P]);return(0,p.useEffect)(()=>()=>{var e;c||B(null!==(e=h.current.target)&&void 0!==e?e:void 0)},[c]),{isPressed:l||y,pressProps:(0,d.d)(v,S)}}function Q(e){return"A"===e.tagName&&e.hasAttribute("href")}function ee(e,t){let{key:r,code:n}=e,o=t.getAttribute("role");return("Enter"===r||" "===r||"Spacebar"===r||"Space"===n)&&!(t instanceof(0,N.k)(t).HTMLInputElement&&!eu(t,r)||t instanceof(0,N.k)(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===o||!o&&Q(t))&&"Enter"!==r)}function et(e,t){let r=e.changedTouches;for(let e=0;e<r.length;e++){let n=r[e];if(n.identifier===t)return n}return null}function er(e,t){let r=0,n=0;return t.targetTouches&&1===t.targetTouches.length&&(r=t.targetTouches[0].clientX,n=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n}}function en(e,t){let r=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n}}function eo(e,t){let r,n,o=t.getBoundingClientRect(),i=(r=0,n=0,void 0!==e.width?r=e.width/2:void 0!==e.radiusX&&(r=e.radiu
1sX),void 0!==e.height?n=e.height/2:void 0!==e.radiusY&&(n=e.radiusY),{top:e.clientY-n,right:e.clientX+r,bottom:e.clientY+n,left:e.clientX-r});return!(o.left>i.right)&&!(i.left>o.right)&&!(o.top>i.bottom)&&!(i.top>o.bottom)}function ei(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function ea(e){return!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!Q(e))}function el(e,t){return e instanceof HTMLInputElement?!eu(e,t):ea(e)}let es=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function eu(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:es.has(e.type)}let ed=0,ec=new Map;function ef(){let e=window.event;return(null==e?void 0:e.key)==="Enter"}function ep(){let e=window.event;return(null==e?void 0:e.key)===" "||(null==e?void 0:e.code)==="Space"}let eg=!1,ev=0;function ey(){eg=!0,setTimeout(()=>{eg=!1},50)}function em(e){"touch"===e.pointerType&&ey()}function eh(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",em):document.addEventListener("touchend",ey),ev++,()=>{--ev>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",em):document.removeEventListener("touchend",ey))}}var eb=r(50278),eT=r(91162),ew=r(82760);let eE={...r(30878).H,...eT.o,...ew.b};var eP=r(26130),eK=r(1450),ek=(0,n.Gp)((e,t)=>{var r;let{className:n,as:a,item:u,state:c,classNames:y,isDisabled:D,listRef:N,slots:I,motionProps:O,disableAnimation:F,disableCursorAnimation:R,shouldSelectOnPressUp:H,onClick:B,tabRef:j,...z}=e,{key:W}=u,U=(0,o.gy)(t),G=a||(e.href?"a":"button"),{tabProps:X,isSelected:_,isDisabled:Y,isPressed:Z}=function(e,t,r){let{key:n,isDisabled:o,shouldSelectOnPressUp:i}=e,{selectionManager:a,selectedKey:l}=t,u=n===l,c=o||t.isDisabled||t.selectionManager.isDisabled(n),{itemProps:g,isPressed:v}=function(e){let{id:t,selectionManager:r,key:n,ref:o,shouldSelectOnPressUp:i,shouldUseVirtualFocus:a,focus:l,isDisabled:s,onAction:u,allowsDifferentPressOrigin:c,linkBehavior:g="action"}=e,v=(0,x.tv)();t=(0,M.Me)(t);let y=e=>{if("keyboard"===e.pointerType&&(0,S.F)(e))r.toggleSelection(n);else{if("none"===r.selectionMode)return;if(r.isLink(n)){if("selection"===g&&o.current){let t=r.getItemProps(n);v.open(o.current,e,t.href,t.routerOptions),r.setSelectedKeys(r.selectedKeys);return}if("override"===g||"none"===g)return}"single"===r.selectionMode?r.isSelected(n)&&!r.disallowEmptySelection?r.toggleSelection(n):r.replaceSelection(n):e&&e.shiftKey?r.extendSelection(n):"toggle"===r.selectionBehavior||e&&((0,C.y)(e)||"touch"===e.pointerType||"virtual"===e.pointerType)?r.toggleSelection(n):r.replaceSelection(n)}};(0,p.useEffect)(()=>{if(n===r.focusedKey&&r.isFocused){if(a){var e;let t=new CustomEvent(A.et,{cancelable:!0,bubbles:!0});null===(e=o.current)||void 0===e||e.dispatchEvent(t)}else l?l():document.activeElement!==o.current&&o.current&&(0,L.e)(o.current)}},[o,n,r.focusedKey,r.childFocusStrategy,r.isFocused,a]),s=s||r.isDisabled(n);let m={};a||s?s&&(m.onMouseDown=e=>{e.preventDefault()}):m={tabIndex:n===r.focusedKey?0:-1,onFocus(e){e.target===o.current&&r.setFocusedKey(n)}};let h=r.isLink(n)&&"override"===g,b=r.isLink(n)&&"selection"!==g&&"none"!==g,T=!s&&r.canSelectItem(n)&&!h,w=(u||b)&&!s,E=w&&("replace"===r.selectionBehavior?!T:!T||r.isEmpty),P=w&&T&&"replace"===r.selectionBehavior,K=E||P,k=(0,p.useRef)(null),D=K&&T,N=(0,p.useRef)(!1),I=(0,p.useRef)(!1),O=e=>{if(u&&u(),b&&o.current){let t=r.getItemProps(n);v.open(o.current,e,t.href,t.routerOptions)}},F={};i?(F.onPressStart=e=>{k.current=e.pointerType,N.current=D,"keyboard"===e.pointerType&&(!K||ep())&&y(e)},c?(F.onPressUp=E?void 0:e=>{"mouse"===e.pointerType&&T&&y(e)},F.onPress=E?O:e=>{"keyboard"!==e.pointerType&&"mouse"!==e.pointerType&&T&&y(e)}):F.onPress=e=>{E||P&&"mouse"!==e.pointerType?("keyboard"!==e.pointerType||ef())&&O(e):"keyboard"!==e.pointerType&&T&&y(e)}):(F.onPressStart=e=>{k.current=e.pointerType,N.current=D,I.current=E,T&&("mouse"===e.pointerType&&!E||"keyboard"===e.pointerType&&(!w||ep()))&&y(e)},F.onPress=e=>{("touch"===e.pointerType||"pen"===e.pointerType||"virtual"===e.pointerType||"ke
1yboard"===e.pointerType&&K&&ef()||"mouse"===e.pointerType&&I.current)&&(K?O(e):T&&y(e))}),m["data-key"]=n,F.preventFocusOnPress=a;let{pressProps:R,isPressed:H}=$(F),B=P?e=>{"mouse"===k.current&&(e.stopPropagation(),e.preventDefault(),O(e))}:void 0,{longPressProps:j}=function(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:n,onLongPress:o,threshold:i=500,accessibilityDescription:a}=e,l=(0,p.useRef)(void 0),{addGlobalListener:s,removeGlobalListener:u}=V(),{pressProps:c}=$({isDisabled:t,onPressStart(e){if(e.continuePropagation(),("mouse"===e.pointerType||"touch"===e.pointerType)&&(r&&r({...e,type:"longpressstart"}),l.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...e,type:"longpress"}),l.current=void 0},i),"touch"===e.pointerType)){let t=e=>{e.preventDefault()};s(e.target,"contextmenu",t,{once:!0}),s(window,"pointerup",()=>{setTimeout(()=>{u(e.target,"contextmenu",t)},30)},{once:!0})}},onPressEnd(e){l.current&&clearTimeout(l.current),n&&("mouse"===e.pointerType||"touch"===e.pointerType)&&n({...e,type:"longpressend"})}}),g=function(e){let[t,r]=(0,p.useState)();return(0,f.b)(()=>
1{if(!e)return;let t=ec.get(e);if(t)r(t.element.id);else{let n=`react-aria-description-${ed++}`;r(n);let o=document.createElement("div");o.id=n,o.style.display="none",o.textContent=e,document.body.appendChild(o),t={refCount:0,element:o},ec.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),ec.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}(o&&!t?a:void 0);return{longPressProps:(0,d.d)(c,g)}}({isDisabled:!D,onLongPress(e){"touch"===e.pointerType&&(y(e),r.setSelectionBehavior("toggle"))}}),z=r.isLink(n)?e=>{x.nG.isOpening||e.preventDefault()}:void 0;return{itemProps:(0,d.d)(m,T||E?R:{},D?j:{},{onDoubleClick:B,onDragStartCapture:e=>{"touch"===k.current&&N.current&&e.preventDefault()},onClick:z,id:t}),isPressed:H,isSelected:r.isSelected(n),isFocused:r.isFocused&&r.focusedKey===n,isDisabled:s,allowsSelection:T,hasAction:K}}({selectionManager:a,key:n,ref:r,isDisabled:c,shouldSelectOnPressUp:i,linkBehavior:"selection"}),y=(0,s.O)(t,n,"tab"),m=(0,s.O)(t,n,"tabpanel"),{tabIndex:h}=g,b=t.collection.getItem(n),T=function(e,t={}){let{labelable:r,isLink:n,propNames:o}=t,i={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(E.has(t)||r&&P.has(t)||n&&K.has(t)||(null==o?void 0:o.has(t))||k.test(t))&&(i[t]=e[t]);return i}(null==b?void 0:b.props,{labelable:!0});delete T.id;let w=(0,x.eY)(null==b?void 0:b.props);return{tabProps:(0,d.d)(T,w,g,{id:y,"aria-selected":u,"aria-disabled":c||void 0,"aria-controls":u?m:void 0,tabIndex:c?void 0:h,role:"tab"}),isSelected:u,isDisabled:c,isPressed:v}}({key:W,isDisabled:D,shouldSelectOnPressUp:H},c,U);null==e.children&&delete X["aria-controls"];let J=D||Y,{focusProps:q,isFocused:Q,isFocusVisible:ee}=(0,g.F)(),{hoverProps:et,isHovered:er}=function(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:o}=e,[i,a]=(0,p.useState)(!1),l=(0,p.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,p.useEffect)(eh,[]);let{hoverProps:s,triggerHoverEnd:u}=(0,p.useMemo)(()=>{let e=(e,n)=>{if(l.pointerType=n,o||"touch"===n||l.isHovered||!e.currentTarget.contains(e.target))return;l.isHovered=!0;let i=e.currentTarget;l.target=i,t&&t({type:"hoverstart",target:i,pointerType:n}),r&&r(!0),a(!0)},i=(e,t)=>{if(l.pointerType="",l.target=null,"touch"===t||!l.isHovered)return;l.isHovered=!1;let o=e.currentTarget;n&&n({type:"hoverend",target:o,pointerType:t}),r&&r(!1),a(!1)},s={};return"undefined"!=typeof PointerEvent?(s.onPointerEnter=t=>{eg&&"mouse"===t.pointerType||e(t,t.pointerType)},s.onPointerLeave=e=>{!o&&e.currentTarget.contains(e.target)&&i(e,e.pointerType)}):(s.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},s.onMouseEnter=t=>{l.ignoreEmulatedMouseEvents||eg||e(t,"mouse"),l.ignoreEmulatedMouseEvents=!1},s.onMouseLeave=e=>{!o&&e.currentTarget.contains(e.target)&&i(e,"mouse")}),{hoverProps:s,triggerHoverEnd:i}},[t,r,n,o,l]);return(0,p.useEffect)(()=>{o&&u({currentTarget:l.target},l.pointerType)},[o]),{hoverProps:s,isHovered:i}}({isDisabled:J}),en=(0,i.W)(null==y?void 0:y.tab,n),[,eo]=(0,eK.t)({rerender:!0});return(0,v.jsxs)(G,{ref:(0,m.l)(U,j),"data-disabled":(0,b.PB)(Y),"data-focus":(0,b.PB)(Q),"data-focus-visible":(0,b.PB)(ee),"data-hover":(0,b.PB)(er),"data-hover-unselected":(0,b.PB)((er||Z)&&!_),"data-pressed":(0,b.PB)(Z),"data-selected":(0,b.PB)(_),"data-slot":"tab",...(0,l.d)(X,J?{}:{...q,...et},(0,h.z)(z,{enabled:"string"==typeof G,omitPropNames:new Set(["title"])}),{onClick:()=>{(0,T.t)(B,X.onClick),(null==U?void 0:U.current)&&(null==N?void 0:N.current)&&(0,w.Z)(U.current,{scrollMode:"if-needed",behavior:"smooth",block:"end",inline:"end",boundary:null==N?void 0:N.current})}}),className:null==(r=I.tab)?void 0:r.call(I,{class:en}),title:null==z?void 0:z.titleValue,type:"button"===G?"button":void 0,children:[_&&!F&&!R&&eo?(0,v.jsx)(eb.X,{features:eE,children:(0,v.jsx)(eP.m.span,{className:I.cursor({class:null==y?void 0:y.cursor}),"data-slot":"cursor",layoutDependency:!1,layoutId:"cursor",transition:{type:"spring",bounce:.15,duration:.5},...O})}):null,(0,v.jsx)("div",{className:I.tabContent({class:null==y?void 0:y.tabContent}),"data-slot":"tabContent",children:u.rendered})]})});ek.displayName="HeroUI.Tab";var ex=r(72384),eS=r(2645),eL=(0,n.Gp)(function(e,t){let{Component:r,values:n,state:o,destroyInactiveTabPanel:i,getBaseProps:a,getTabListProps:l,getWrapperProps:s}=(0,ex.Y)({...e,ref:t}),u=(0,p.useId)(),d=!e.disableAnimation&&!e.disableCursorAnimation,c={state:o,listRef:n.listRef,slots:n.slots,classNames:n.classNames,isDisabled:n.isDisabled,motionProps:n.motionProps,disableAnimation:n.disableAnimation,shouldSelectOnPressUp:n.shouldSelectOnPressUp,disableCursorAnimation:n.disableCursorAnimation},f=[...o.collection].map(e=>(0,v.jsx)(ek,{item:e,...c,...e.props},e.key)),g=(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("div",{...a(),children:(0,v.jsx)(r,{...l(),children:d?(0,v.jsx)(eS.S,{id:u,children:f}):f})}),[...o.collection].map(e=>(0,v.jsx)(y,{classNames:n.classNames,destroyInactiveTabPanel:i,slots:n.slots,state:n.state,tabKey:e.key},e.key))]});return"placement"in e||"isVertical"in e?(0,v.jsx)("div",{...s(),children:g}):g})},95813:function(e,t,r){r.d(t,{t:function(){return n}});function n(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}},31706:function(e,t,r){r.d(t,{d:function(){return a}});var n=r(95813);r(2265),"undefined"!=typeof window&&window.document&&window.document.createElement;let o=new Map;var i=r(61994);function a(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let a=e[r];for(let e in a){let r=t[e],l=a[e];"function"==typeof r&&"function"==typeof l&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=(0,n.t)(r,l):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof l?t[e]=(0,i.Z)(r,l):"id"===e&&r&&l?t.id=function(e,t){if(e===t)return e;let r=o.get(e);
1if(r)return r.forEach(e=>e(t)),t;let n=o.get(t);return n?(n.forEach(t=>t(e)),e):t}(r,l):t[e]=void 0!==l?l:r}}return t}},65841:function(e,t,r){r.d(t,{r:function(){return a},z:function(){return l}});var n=r(96652),o=r(38353),i=r(3481),a=(0,o.tv)({slots:{base:["flex","relative","justify-center","items-center","box-border","overflow-hidden","align-middle","text-white","z-0",...i.Dh],img:["flex","object-cover","w-full","h-full","transition-opacity","!duration-500","opacity-0","data-[loaded=true]:opacity-100"],fallback:[...i.z6,"flex","items-center","justify-center"],name:[...i.z6,"font-normal","text-center","text-inherit"],icon:[...i.z6,"flex","items-center","justify-center","text-inherit","w-full","h-full"]},variants:{size:{sm:{base:"w-8 h-8 text-tiny"},md:{base:"w-10 h-10 text-tiny"},lg:{base:"w-14 h-14 text-small"}},color:{default:{base:n.J.solid.default},primary:{base:n.J.solid.primary},secondary:{base:n.J.solid.secondary},success:{base:n.J.solid.success},warning:{base:n.J.solid.warning},danger:{base:n.J.solid.danger}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"},full:{base:"rounded-full"}},isBordered:{true:{base:"ring-2 ring-offset-2 ring-offset-background dark:ring-offset-background-dark"}},isDisabled:{true:{base:"opacity-disabled"}},isInGroup:{true:{base:["-ms-2 data-[hover=true]:-translate-x-3 rtl:data-[hover=true]:translate-x-3 transition-transform","data-[focus-visible=true]:-translate-x-3 rtl:data-[focus-visible=true]:translate-x-3"]}},isInGridGroup:{true:{base:"m-0 data-[hover=true]:translate-x-0"}},disableAnimation:{true:{base:"transition-none",img:"transition-none"},false:{}}},defaultVariants:{size:"md",color:"default",radius:"full"},compoundVariants:[{color:"default",isBordered:!0,class:{base:"ring-default"}},{color:"primary",isBordered:!0,class:{base:"ring-primary"}},{color:"secondary",isBordered:!0,class:{base:"ring-secondary"}},{color:"success",isBordered:!0,class:{base:"ring-success"}},{color:"warning",isBordered:!0,class:{base:"ring-warning"}},{color:"danger",isBordered:!0,class:{base:"ring-danger"}}]}),l=(0,o.tv)({slots:{base:"flex items-center justify-center h-auto w-max",count:"hover:-translate-x-0"},variants:{isGrid:{true:"inline-grid grid-cols-4 gap-3"}}})},18624:function(e,t,r){r.d(t,{Y:function(){return o},v:function(){return i}});var n=r(38353),o=(0,n.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-default bg-stripe-size"}},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"}},{color:"primary",isStriped:!0,class:{indicator:"bg-stripe-gradient-primary bg-stripe-size"}},{color:"secondary",isStriped:!0,class:{indicator:"bg-stripe-gradient-secondary bg-stripe-size"}},{color:"success",isStriped:!0,class:{indicator:"bg-stripe-gradient-success bg-stripe-size"}},{color:"warning",isStriped:!0,class:{indicator:"bg-stripe-gradient-warning bg-stripe-size"}},{color:"danger",isStriped:!0,class:{indicator:"bg-stripe-gradient-danger bg-stripe-size"}}]},{twMerge:!0}),i=(0,n.tv)({slots:{base:"flex flex-col justify-center gap-1 max-w-fit items-center",label:"",svgWrapper:"relative block",svg:"z-0 relative overflow-hidden",track:"h-full stroke-default-300/50",indicator:"h-full stroke-current",value:"absolute font-normal inset-0 flex items-center justify-center"},variants:{color:{default:{svg:"text-default-400"},primary:{svg:"text-primary"},secondary:{svg:"text-secondary"},success:{svg:"text-success"},warning:{svg:"text-warning"},danger:{svg:"text-danger"}},size:{sm:{svg:"w-8 h-8",label:"text-small",value:"text-[0.5rem]"},md:{svg:"w-10 h-10",label:"text-small",value:"text-[0.55rem]"},lg:{svg:"w-12 h-12",label:"text-medium",value:"text-[0.6rem]"}},isIndeterminate:{true:{svg:"animate-spinner-ease-spin"}},isDisabled:{true:{base:"opacity-disabled cursor-not-allowed"}},disableAnimation:{true:{},false:{indicator:"transition-all !duration-500"}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1},compoundVariants:[{disableAnimation:!0,isIndeterminate:!1,class:{svg:"!transition-none motion-reduce:transition-none"}}]})},55718:function(e,t,r){r.d(t,{A:function(){return a},p:function(){return i}});var n=r(38353),o=r(3481),i=(0,n.tv)({base:["relative inline-flex items-center outline-none tap-highlight-transparent",...o.Dh],variants:{size:{sm:"text-small",md:"text-medium",lg:"text-large"},color:{foreground:"text-foreground",primary:"text-primary",secondary:"text-secondary",success:"text-success",warning:"text-warning",danger:"text-danger"},underline:{none:"no-underline",hover:"hover:underline",always:"underline",active:"active:underline",focu
1s:"focus:underline"},isBlock:{true:["px-2","py-1","hover:after:opacity-100","after:content-['']","after:inset-0","after:opacity-0","after:w-full","after:h-full","after:rounded-xl","after:transition-background","after:absolute"],false:"hover:opacity-80 active:opacity-disabled transition-opacity"},isDisabled:{true:"opacity-disabled cursor-default pointer-events-none"},disableAnimation:{true:"after:transition-none transition-none"}},compoundVariants:[{isBlock:!0,color:"foreground",class:"hover:after:bg-foreground/10"},{isBlock:!0,color:"primary",class:"hover:after:bg-primary/20"},{isBlock:!0,color:"secondary",class:"hover:after:bg-secondary/20"},{isBlock:!0,color:"success",class:"hover:after:bg-success/20"},{isBlock:!0,color:"warning",class:"hover:after:bg-warning/20"},{isBlock:!0,color:"danger",class:"hover:after:bg-danger/20"},{underline:["hover","always","active","focus"],class:"underline-offset-4"}],defaultVariants:{color:"primary",size:"md",isBlock:!1,underline:"none",isDisabled:!1}}),a="flex mx-1 text-current self-center"},24672:function(e,t,r){r.d(t,{d:function(){return i}});var n=r(2265),o=r(32400);function i(e={}){let{onLoad:t,onError:r,ignoreFallback:i}=e,a=n.useSyncExternalStore(()=>()=>{},()=>!0,()=>
1!1),l=(0,n.useRef)(a?new Image:null),[s,u]=(0,n.useState)("pending");(0,n.useEffect)(()=>{l.current&&(l.current.onload=e=>{d(),u("loaded"),null==t||t(e)},l.current.onerror=e=>{d(),u("failed"),null==r||r(e)})},[l.current]);let d=()=>{l.current&&(l.current.onload=null,l.current.onerror=null,l.current=null)};return(0,o.G)(()=>{a&&u(function(e,t){let{loading:r,src:n,srcSet:o,crossOrigin:i,sizes:a,ignoreFallback:l}=e;if(!n)return"pending";if(l)return"loaded";let s=new Image;return(s.src=n,i&&(s.crossOrigin=i),o&&(s.srcset=o),a&&(s.sizes=a),r&&(s.loading=r),t.current=s,s.complete&&s.naturalWidth)?"loaded":"loading"}(e,l))},[a]),i?"loaded":s}},1450:function(e,t,r){r.d(t,{t:function(){return o}});var n=r(2265);function o(e={}){let{rerender:t=!1,delay:r=0}=e,o=(0,n.useRef)(!1),[i,a]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{o.current=!0;let e=null;return t&&(r>0?e=setTimeout(()=>{a(!0)},r):a(!0)),()=>{o.current=!1,t&&a(!1),e&&clearTimeout(e)}},[t]),[(0,n.useCallback)(()=>o.current,[]),i]}},62513:function(e,t,r){r.d(t,{m:function(){return v},h:function(){return y}});var n,o=r(2265);let i=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),a=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);var l=r(87365);let s=Symbol.for("react-aria.i18n.locale");function u(){let e="undefined"!=typeof window&&window[s]||"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(),r="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(r)return"rtl"===r.direction;if(t.script)return i.has(t.script)}let t=e.split("-")[0];return a.has(t)}(e)?"ltr":"rtl"}}let d=u(),c=new Set;function f(){for(let e of(d=u(),c))e(d)}let p=o.createContext(null);var g=r(81405),v=((n=v||{}).DOTS="dots",n.PREV="prev",n.NEXT="next",n);function y(e){let t;let{page:r,total:n,siblings:i=1,boundaries:a=1,initialPage:s=1,showControls:u=!1,onChange:v}=e,[y,m]=(0,o.useState)(r||s),{direction:h}=(t=function(){let e=(0,l.Av)(),[t,r]=(0,o.useState)(d);return((0,o.useEffect)(()=>(0===c.size&&window.addEventListener("languagechange",f),c.add(r),()=>{c.delete(r),0===c.size&&window.removeEventListener("languagechange",f)}),[]),e)?{locale:"en-US",direction:"ltr"}:t}(),(0,o.useContext)(p)||t),b="rtl"===h,T=e=>{m(e),v&&v(e)};(0,o.useEffect)(()=>{r&&r!==y&&m(r)},[r]);let w=(0,o.useCallback)(e=>{e<=0?T(1):e>n?T(n):T(e)},[n,y,T]),E=(0,o.useCallback)(e=>u?b?["next",...e,"prev"]:["prev",...e,"next"]:e,[b,u]);return{range:(0,o.useMemo)(()=>{if(2*i+3+2*a>=n)return E((0,g.w6)(1,n));let e=Math.max(y-i,a),t=Math.min(y+i,n-a),r=e>a+2,o=t<n-(a+1);if(!r&&o){let e=2*i+a+2;return E([...(0,g.w6)(1,e),"dots",...(0,g.w6)(n-(a-1),n)])}if(r&&!o){let e=a+1+2*i;return E([...(0,g.w6)(1,a),"dots",...(0,g.w6)(n-e,n)])}return E([...(0,g.w6)(1,a),"dots",...(0,g.w6)(e,t),"dots",...(0,g.w6)(n-a+1,n)])},[n,y,i,a,E]),activePage:y,setPage:w,next:()=>b?w(y-1):w(y+1),previous:()=>b?w(y+1):w(y-1),first:()=>b?w(n):w(1),last:()=>b?w(1):w(n)}}},87189:function(e,t,r){r.d(t,{O:function(){return o},p:function(){return n}});let n=new WeakMap;function o(e,t,r){if(!e)return"";"string"==typeof t&&(t=t.replace(/\s+/g,""));let o=n.get(e);return`${o}-${r}-${t}`}},81393:function(e,t,r){r.d(t,{QL:function(){return s}});var n=r(5954);r(2265);let o=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])'],i=o.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";o.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let a=o.join(':not([hidden]):not([tabindex="-1"]),');function l(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}function s(e,t,r){let o=(null==t?void 0:t.tabbable)?a:i,s=(0,n.r)(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(e){var i;return(null==t?void 0:null===(i=t.from)||void 0===i?void 0:i.contains(e))?NodeFilter.FILTER_REJECT:e.matches(o)&&function e(t,r){return"#comment"!==t.nodeName&&function(e){let t=(0,n.k)(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:o}
1=e.style,i="none"!==r&&"hidden"!==o&&"collapse"!==o;if(i){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n}=t(e);i="none"!==r&&"hidden"!==n&&"collapse"!==n}return i}(t)&&!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==t.nodeName||!r||"SUMMARY"===r.nodeName||t.hasAttribute("open"))&&(!t.parentElement||e(t.parentElement,t))}(e)&&(!r||l(e,r))&&(!(null==t?void 0:t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return(null==t?void 0:t.from)&&(s.currentNode=t.from),s}class u{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,r){let n=this.fastMap.get(null!=t?t:null);if(!n)return;let o=new d({scopeRef:e});n.addChild(o),o.parent=n,this.fastMap.set(e,o),r&&(o.nodeToRestore=r)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let r=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&l(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let n=t.children;r&&(r.removeChild(t),n.size>0&&n.forEach(e=>r&&r.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let r=new u;for(let n of this.traverse())r.addTreeNode(n.scopeRef,null!==(t=null===(e=n.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,n.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new d({scopeRef:null}),this.fastMap.set(null,this.root)}}class d{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}new u},25829:function(e,t,r){r.d(t,{e:function(){return l}});var n=r(5954),o=r(36450),i=r(63325),a=r(19646);function l(e){let t=(0,n.r)(e);if("virtual"===(0,a.Jz)()){let r=t.activeElement;(0,o.Q)(()=>{t.activeElement===r&&e.isConnected&&(0,i.A)(e)})}else(0,i.A)(e)}},19646:function(e,t,r){r.d(t,{Jz:function(){return b}});var n=r(64355),o=r(6786),i=r(5954);r(2265);let a=null,l=new Set,s=new Map,u=!1,d=!1;function c(e,t){for(let r of l)r(e,t)}function f(e){u=!0,e.metaKey||!(0,n.V5)()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(a="keyboard",c("keyboard",e))}
1function p(e){a="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(u=!0,c("pointer",e))}function g(e){(0,o.Z)(e)&&(u=!0,a="virtual")}function v(e){e.target!==window&&e.target!==document&&(u||d||(a="virtual",c("virtual",e)),u=!1,d=!1)}function y(){u=!1,d=!0}function m(e){if("undefined"==typeof window||s.get((0,i.k)(e)))return;let t=(0,i.k)(e),r=(0,i.r)(e),n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){u=!0,n.apply(this,arguments)},r.addEventListener("keydown",f,!0),r.addEventListener("keyup",f,!0),r.addEventListener("click",g,!0),t.addEventListener("focus",v,!0),t.addEventListener("blur",y,!1),"undefined"!=typeof PointerEvent?(r.addEventListener("pointerdown",p,!0),r.addEventListener("pointermove",p,!0),r.addEventListener("pointerup",p,!0)):(r.addEventListener("mousedown",p,!0),r.addEventListener("mousemove",p,!0),r.addEventListener("mouseup",p,!0)),t.addEventListener("beforeunload",()=>{h(e)},{once:!0}),s.set(t,{focus:n})}let h=(e,t)=>{let r=(0,i.k)(e),n=(0,i.r)(e);t&&n.removeEventListener("DOMContentLoaded",t),s.has(r)&&(r.HTMLElement.prototype.focus=s.get(r).focus,n.removeEventListener("keydown",f,!0),n.removeEventListener("keyup",f,!0),n.removeEventListener("click",g,!0),r.removeEventListener("focus",v,!0),r.removeEventListener("blur",y,!1),"undefined"!=typeof PointerEvent?(n.removeEventListener("pointerdown",p,!0),n.removeEventListener("pointermove",p,!0),n.removeEventListener("pointerup",p,!0)):(n.removeEventListener("mousedown",p,!0),n.removeEventListener("mousemove",p,!0),n.removeEventListener("mouseup",p,!0)),s.delete(r))};function b(){return a}"undefined"!=typeof document&&function(e){let t;let r=(0,i.r)(void 0);"loading"!==r.readyState?m(void 0):(t=()=>{m(void 0)},r.addEventListener("DOMContentLoaded",t)),()=>h(e,t)}()},66776:function(e,t,r){r.d(t,{F:function(){return o}});var n=r(64355);function o(e){return(0,n.ad)()?e.altKey:e.ctrlKey}},71409:function(e,t,r){r.d(t,{t:function(){return n}});function n(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}},92335:function(e,t,r){r.d(t,{N4:function(){return o},et:function(){return i},os:function(){return n}});let n="react-aria-clear-focus",o="react-aria-focus",i="react-aria-update-activedescendant"},5954:function(e,t,r){r.d(t,{k:function(){return o},r:function(){return n}});let n=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},o=e=>e&&"window"in e&&e.window===e?e:n(e).defaultView||window},63325:function(e,t,r){function n(e){if(function(){if(null==o){o=!1;try{document.createElement("div").focus({get preventScroll(){return o=!0,!0}})}catch{}}return o}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}(e);e.focus(),function(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}(t)}}r.d(t,{A:function(){return n}});let o=null},6786:function(e,t,r){r.d(t,{Z:function(){return o},c:function(){return i}});var n=r(64355);function o(e){return 0===e.mozInputSource&&!!e.isTrusted||((0,n.Dt)()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function i(e){return!(0,n.Dt)()&&0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType}},81938:function(e,t,r){r.d(t,{y:function(){return o}});var n=r(64355);function o(e){return(0,n.V5)()?e.metaKey:e.ctrlKey}},17048:function(e,t,r){r.d(t,{d:function(){return a}});var n=r(71409),o=r(22121),i=r(61994);function a(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let a=e[r];for(let e in a){let r=t[e],l=a[e];"function"==typeof r&&"function"==typeof l&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=(0,n.t)(r,l):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof l?t[e]=(0,i.Z)(r,l):"id"===e&&r&&l?t.id=(0,o.ur)(r,l):t[e]=void 0!==l?l:r}}return t}},39381:function(e,t,r){r.d(t,{eY:function(){return u},nG:function(){return s},tv:function(){return l}});var n=r(63325),o=r(64355),i=r(2265);let a=(0,i.createContext)({isNative:!0,open:function(e,t){!function(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}(e,e=>s(e,t))},useHref:e=>e});function l(){return(0,i.useContext)(a)}function s(e,t,r=!0){var i,a;
1let{metaKey:l,ctrlKey:u,altKey:d,shiftKey:c}=t;(0,o.vU)()&&(null===(a=window.event)||void 0===a?void 0:null===(i=a.type)||void 0===i?void 0:i.startsWith("key"))&&"_blank"===e.target&&((0,o.V5)()?l=!0:u=!0);let f=(0,o.Pf)()&&(0,o.V5)()&&!(0,o.zc)()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:l,ctrlKey:u,altKey:d,shiftKey:c}):new MouseEvent("click",{metaKey:l,ctrlKey:u,altKey:d,shiftKey:c,bubbles:!0,cancelable:!0});s.isOpening=r,(0,n.A)(e),e.dispatchEvent(f),s.isOpening=!1}function u(e){var t;let r=l().useHref(null!==(t=null==e?void 0:e.href)&&void 0!==t?t:"");return{href:(null==e?void 0:e.href)?r:void 0,target:null==e?void 0:e.target,rel:null==e?void 0:e.rel,download:null==e?void 0:e.download,ping:null==e?void 0:e.ping,referrerPolicy:null==e?void 0:e.referrerPolicy}}s.isOpening=!1},64355:function(e,t,r){function n(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function o(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function i(e){let t=null;return()=>(null==t&&(t=e()),t)}r.d(t,{Dt:function(){return p},Pf:function(){return c},V5:function(){return a},ad:function(){return d},gn:function(){return u},vU:function(){return g},zc:function(){return s}});let a=i(function(){return o(/^Mac/i)}),l=i(function(){return o(/^iPhone/i)}),s=i(function(){return o(/^iPad/i)||a()&&navigator.maxTouchPoints>1}),u=i(function(){return l()||s()}),d=i(function(){return a()||u()}
1),c=i(function(){return n(/AppleWebKit/i)&&!f()}),f=i(function(){return n(/Chrome/i)}),p=i(function(){return n(/Android/i)}),g=i(function(){return n(/Firefox/i)})},36450:function(e,t,r){r.d(t,{Q:function(){return a}});let n=new Map,o=new Set;function i(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=r=>{if(!e(r)||!r.target)return;let i=n.get(r.target);if(i&&(i.delete(r.propertyName),0===i.size&&(r.target.removeEventListener("transitioncancel",t),n.delete(r.target)),0===n.size)){for(let e of o)e();o.clear()}};document.body.addEventListener("transitionrun",r=>{if(!e(r)||!r.target)return;let o=n.get(r.target);o||(o=new Set,n.set(r.target,o),r.target.addEventListener("transitioncancel",t,{once:!0})),o.add(r.propertyName)}),document.body.addEventListener("transitionend",t)}function a(e){requestAnimationFrame(()=>{0===n.size?e():o.add(e)})}"undefined"!=typeof document&&("loading"!==document.readyState?i():document.addEventListener("DOMContentLoaded",i))},53642:function(e,t,r){r.d(t,{i:function(){return i}});var n=r(61432),o=r(2265);function i(e){let t=(0,o.useRef)(null);return(0,n.b)(()=>{t.current=e},[e]),(0,o.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}},22121:function(e,t,r){r.d(t,{Me:function(){return s},ur:function(){return u}});var n=r(61432),o=r(2265),i=r(87365);let a=!!("undefined"!=typeof window&&window.document&&window.document.createElement),l=new Map;function s(e){let[t,r]=(0,o.useState)(e),s=(0,o.useRef)(null),u=(0,i.gP)(t),d=(0,o.useCallback)(e=>{s.current=e},[]);return a&&(l.has(u)&&!l.get(u).includes(d)?l.set(u,[...l.get(u),d]):l.set(u,[d])),(0,n.b)(()=>()=>{l.delete(u)},[u]),(0,o.useEffect)(()=>{let e=s.current;e&&(s.current=null,r(e))}),u}function u(e,t){if(e===t)return e;let r=l.get(e);if(r)return r.forEach(e=>e(t)),t;let n=l.get(t);return n?(n.forEach(t=>t(e)),e):t}},57631:function(e,t,r){r.d(t,{b:function(){return o}});var n=r(22121);function o(e,t){let{id:r,"aria-label":o,"aria-labelledby":i}=e;return r=(0,n.Me)(r),i&&o?i=[...new Set([r,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),o||i||!t||(o=t),{id:r,"aria-label":o,"aria-labelledby":i}}},61432:function(e,t,r){r.d(t,{b:function(){return o}});var n=r(2265);let o="undefined"!=typeof document?n.useLayoutEffect:()=>{}},49494:function(e,t,r){function n(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}r.d(t,{O:function(){return eE}});var o=r(2265);"undefined"!=typeof window&&window.document&&window.document.createElement;let i=new Map;var a=r(61994);function l(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let o=e[r];for(let e in o){let r=t[e],l=o[e];"function"==typeof r&&"function"==typeof l&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=n(r,l):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof l?t[e]=(0,a.Z)(r,l):"id"===e&&r&&l?t.id=function(e,t){if(e===t)return e;let r=i.get(e);if(r)return r.forEach(e=>e(t)),t;let n=i.get(t);return n?(n.forEach(t=>t(e)),e):t}(r,l):t[e]=void 0!==l?l:r}}return t}let s=new Set(["id"]),u=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),d=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),c=/^(data-.*)$/,f="undefined"!=typeof document?o.useLayoutEffect:()=>{};function p(e){let t=(0,o.useRef)(null);return f(()=>{t.current=e},[e]),(0,o.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}let g=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},v=e=>e&&"window"in e&&e.window===e?e:g(e).defaultView||window,y=new Map,m=new Set;function h(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=r=>{if(!e(r)||!r.target)return;let n=y.get(r.target);if(n&&(n.delete(r.propertyName),0===n.size&&(r.target.removeEventListener("transitioncancel",t),y.delete(r.target)),0===y.size)){for(let e of m)e();m.clear()}};document.body.addEventListener("transitionrun",r=>{if(!e(r)||!r.target)return;let n=y.get(r.target);n||(n=new Set,y.set(r.target,n),r.target.addEventListener("transitioncancel",t,{once:!0})),n.add(r.propertyName)}),document.body.addEventListener("transitionend",t)}function b(e){requestAnimationFrame(()=>{0===y.size?e():m.add(e)})}function T(e){if(function(){if(null==w){w=!1;try{document.createElement("div").focus({get preventScroll(){return w=!0,!0}})}catch{}}return w}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}(e);e.focus(),function(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}(t)}}"undefined"!=typeof document&&("loading"!==document.readyState?h():document.addEventListener("DOMContentLoaded",h));let w=null;function E(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function P(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function K(e){let t=null;return()=>(null==t&&(t=e()),t)}let k=K(function(){return P(/^Mac/i)}),x=K(function(){return P(/^iPhone/i)}),S=K(function(){return P(/^iPad/i)||k()&&navigator.maxTouchPoints>1}),L=K(function(){return x()||S()});K(function(){return k()||L()});
1let M=K(function(){return E(/AppleWebKit/i)&&!C()}),C=K(function(){return E(/Chrome/i)}),A=K(function(){return E(/Android/i)}),D=K(function(){return E(/Firefox/i)});function N(e){return 0===e.mozInputSource&&!!e.isTrusted||(A()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}let I=null,O=new Set,F=new Map,R=!1,H=!1;function B(e,t){for(let r of O)r(e,t)}function j(e){R=!0,e.metaKey||!k()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(I="keyboard",B("keyboard",e))}function z(e){I="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(R=!0,B("pointer",e))}function W(e){N(e)&&(R=!0,I="virtual")}function U(e){e.target!==window&&e.target!==document&&(R||H||(I="virtual",B("virtual",e)),R=!1,H=!1)}function V(){R=!1,H=!0}function G(e){if("undefined"==typeof window||F.get(v(e)))return;let t=v(e),r=g(e),n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){R=!0,n.apply(this,arguments)},r.addEventListener("keydown",j,!0),r.addEventListener("keyup",j,!0),r.addEventListener("click",W,!0),t.addEventListener("focus",U,!0),t.addEventListener("blur",V,!1),"undefined"!=typeof PointerEvent?(r.addEventListener("pointerdown",z,!0),r.addEventListener("pointermove",z,!0),r.addEventListener("pointerup",z,!0)):(r.addEventListener("mousedown",z,!0),r.addEventListener("mousemove",z,!0),r.addEventListener("mouseup",z,!0)),t.addEventListener("beforeunload",()=>{X(e)},{once:!0}),F.set(t,{focus:n})}let X=(e,t)=>{let r=v(e),n=g(e);t&&n.removeEventListener("DOMContentLoaded",t),F.has(r)&&(r.HTMLElement.prototype.focus=F.get(r).focus,n.removeEventListener("keydown",j,!0),n.removeEventListener("keyup",j,!0),n.removeEventListener("click",W,!0),r.removeEventListener("focus",U,!0),r.removeEventListener("blur",V,!1),"undefined"!=typeof PointerEvent?(n.removeEventListener("pointerdown",z,!0),n.removeEventListener("pointermove",z,!0),n.removeEventListener("pointerup",z,!0)):(n.removeEventListener("mousedown",z,!0),n.removeEventListener("mousemove",z,!0),n.removeEventListener("mouseup",z,!0)),F.delete(r))};function _(e,t){f(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}"undefined"!=typeof document&&function(e){let t;let r=g(void 0);"loading"!==r.readyState?G(void 0):(t=()=>{G(void 0)},r.addEventListener("DOMContentLoaded",t)),()=>X(e,t)}();class Y{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function Z(e){if(!e)return;let t=!0;return r=>{e({...r,preventDefault(){r.preventDefault()},isDefaultPrevented:()=>r.isDefaultPrevented(),stopPropagation(){t?console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior."):t=!0},continuePropagation(){t=!1},isPropagationStopped:()=>t}),t&&r.stopPropagation()}}let J=o.createContext(null),q="default",$="",Q=new WeakMap;function ee(e){if(L()){if("default"===q){let t=g(e);$=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}q="disabled"}else(e instanceof HTMLElement||e instanceof SVGElement)&&(Q.set(e,e.style.userSelect),e.style.userSelect="none")}function et(e){if(L())"disabled"===q&&(q="restoring",setTimeout(()=>{b(()=>{if("restoring"===q){let t=g(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=$||""),$="",q="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Q.has(e)){let t=Q.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),Q.delete(e)}}let er=o.createContext({register:()=>{}});er.displayName="PressResponderContext";var en=r(95691),eo=r(25134),ei=r(11455);function ea(e,t,r=!0){var n,o;let{metaKey:i,ctrlKey:a,altKey:l,shiftKey:s}=t;D()&&(null===(o=window.event)||void 0===o?void 0:null===(n=o.type)||void 0===n?void 0:n.startsWith("key"))&&"_blank"===e.target&&(k()?i=!0:a=!0);let u=M()&&k()&&!S()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:a,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:i,ctrlKey:a,altKey:l,shiftKey:s,bubbles:!0,cancelable:!0});ea.isOpening=r,T(e),e.dispatchEvent(u),ea.isOpening=!1}ea.isOpening=!1;var el=new WeakMap;class es{continuePropagation(){(0,ei._)(this,el,!1)}get shouldStopPropagation(){return(0,en._)(this,el)}constructor(e,t,r,n){var o;(0,eo._)(this,el,{writable:!0,value:void 0}),(0,ei._)(this,el,!0);let i=null!==(o=null==n?void 0:n.target)&&void 0!==o?o:r.currentTarget,a=null==i?void 0:i.getBoundingClientRect(),l,s=0,u,d=null;null!=r.clientX&&null!=r.clientY&&(u=r.clientX,d=r.clientY),a&&(null!=u&&null!=d?(l=u-a.left,s=d-a.top):(l=a.width/2,s=a.height/2)),this.type=e,this.pointerType=t,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=l,this.y=s}}let eu=Symbol("linkClicked");function ed(e){let t,r,i,a,{onPress:s,onPressChange:u,onPressStart:d,onPressEnd:c,onPressUp:f,isDisabled:y,isPressed:m,preventFocusOnPress:h,shouldCancelOnPointerExit:b,allowTextSelectionOnPress:w,ref:E,...P}=function(e){let t=(0,o.useContext)(er);
1if(t){let{register:r,...n}=t;e=l(n,e),r()}return _(t,e.ref),e}(e),[K,x]=(0,o.useState)(!1),S=(0,o.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:L,removeAllGlobalListeners:M}=(t=(0,o.useRef)(new Map),r=(0,o.useCallback)((e,r,n,o)=>{let i=(null==o?void 0:o.once)?(...e)=>{t.current.delete(n),n(...e)}:n;t.current.set(n,{type:r,eventTarget:e,fn:i,options:o}),e.addEventListener(r,i,o)},[]),i=(0,o.useCallback)((e,r,n,o)=>{var i;let a=(null===(i=t.current.get(n))||void 0===i?void 0:i.fn)||n;e.removeEventListener(r,a,o),t.current.delete(n)},[]),a=(0,o.useCallback)(()=>{t.current.forEach((e,t)=>{i(e.eventTarget,e.type,t,e.options)})},[i]),(0,o.useEffect)(()=>a,[a]),{addGlobalListener:r,removeGlobalListener:i,removeAllGlobalListeners:a}),C=p((e,t)=>{let r=S.current;if(y||r.didFirePressStart)return!1;let n=!0;if(r.isTriggeringEvent=!0,d){let r=new es("pressstart",t,e);d(r),n=r.shouldStopPropagation}return u&&u(!0),r.isTriggeringEvent=!1,r.didFirePressStart=!0,x(!0),n}),D=p((e,t,r=!0)=>{let n=S.current;if(!n.didFirePressStart)return!1;n.ignoreClickAfterPress=!0,n.didFirePressStart=!1,n.isTriggeringEvent=!0;let o=!0;if(c){let r=new es("pressend",t,e);c(r),o=r.shouldStopPropagation}if(u&&u(!1),x(!1),s&&r&&!y){let r=new es("press",t,e);s(r),o&&(o=r.shouldStopPropagation)}return n.isTriggeringEvent=!1,o}),I=p((e,t)=>{let r=S.current;if(y)return!1;if(f){r.isTriggeringEvent=!0;let n=new es("pressup",t,e);return f(n),r.isTriggeringEvent=!1,n.shouldStopPropagation}return!0}),O=p(e=>{let t=S.current;t.isPressed&&t.target&&(t.isOverTarget&&null!=t.pointerType&&D(ev(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,M(),w||et(t.target))}),F=p(e=>{b&&O(e)}),R=(0,o.useMemo)(()=>{let e=S.current,t={onKeyDown(t){if(ef(t.nativeEvent,t.currentTarget)&&t.currentTarget.contains(t.target)){var o;eb(t.target,t.key)&&t.preventDefault();let i=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,i=C(t,"keyboard");let o=t.currentTarget;L(g(t.currentTarget),"keyup",n(t=>{ef(t,o)&&!t.repeat&&o.contains(t.target)&&e.target&&I(ev(e.target,t),"keyboard")},r),!0)}i&&t.stopPropagation(),t.metaKey&&k()&&(null===(o=e.metaKeyEvents)||void 0===o||o.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||t.currentTarget.contains(t.target))&&t&&0===t.button&&!e.isTriggeringEvent&&!ea.isOpening){let r=!0;if(y&&t.preventDefault(),!e.ignoreClickAfterPress&&!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||N(t.nativeEvent))){y||h||T(t.currentTarget);let e=C(t,"virtual"),n=I(t,"virtual"),o=D(t,"virtual");r=e&&n&&o}e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1,r&&t.stopPropagation()}}},r=t=>{var r,n,o;if(e.isPressed&&e.target&&ef(t,e.target)){eb(t.target,t.key)&&t.preventDefault();let r=t.target;D(ev(e.target,t),"keyboard",e.target.contains(r)),M(),"Enter"!==t.key&&ec(e.target)&&e.target.contains(r)&&!t[eu]&&(t[eu]=!0,ea(e.target,t,!1)),e.isPressed=!1,null===(n=e.metaKeyEvents)||void 0===n||n.delete(t.key)}else if("Meta"===t.key&&(null===(r=e.metaKeyEvents)||void 0===r?void 0:r.size)){let t=e.metaKeyEvents;for(let r of(e.metaKeyEvents=void 0,t.values()))null===(o=e.target)||void 0===o||o.dispatchEvent(new KeyboardEvent("keyup",r))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{var n;if(0!==t.button||!t.currentTarget.contains(t.target))return;if(n=t.nativeEvent,!A()&&0===n.width&&0===n.height||1===n.width&&1===n.height&&0===n.pressure&&0===n.detail&&"mouse"===n.pointerType){e.pointerType="virtual";return}em(t.currentTarget)&&t.preventDefault(),e.pointerType=t.pointerType;let i=!0;if(!e.isPressed){e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,y||h||T(t.currentTarget),w||ee(e.target),i=C(t,e.pointerType);let n=t.target;"releasePointerCapture"in n&&n.releasePointerCapture(t.pointerId),L(g(t.currentTarget),"pointerup",r,!1),L(g(t.currentTarget),"pointercancel",o,!1)}i&&t.stopPropagation()},t.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(em(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},t.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&I(t,e.pointerType||t.pointerType)},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!0,C(ev(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,D(ev(e.target,t),e.pointerType,!1),F(t))};let r=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target&&(e.target.contains(t.target)&&null!=e.pointerType?D(ev(e.target,t),e.pointerType):e.isOverTarget&&null!=e.pointerType&&D(ev(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,M(),w||et(e.target),"ontouchend"in e.target&&"mouse"!==t.pointerType&&L(e.target,"touchend",n,{once:!0}))},n=e=>{eh(e.currentTarget)&&e.preventDefault()},o=e=>{O(e)};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&O(e)}}else{t.onMouseDown=t=>{if(0===t.button&&t.currentTarget.contains(t.target)){if(em(t.currentTarget)&&t.preventDefault(),e.ignoreEmulatedMouseEvents){t.stopPropagation();return}e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=N(t.nativeEvent)?"virtual":"mouse",y||h||T(t.currentTarget),C(t,e.pointerType)&&t.stopPropagation(),L(g(t.currentTarget),"mouseup",r,!1)}},t.onMouseEnter=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,r=C(t,e.pointerType)),r&&t.stopPropagation()},t.onMouseLeave=t=>{if(!t.currentTarget.contains(t.target))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,r=D(t,e.pointerType,!1),F(t)),r&&t.stopPropagation()},t.onMouseUp=t=>{t.currentTarget.contains(t.target)&&!e.ignoreEmulatedMouseEvents&&0===t.button&&I(t,e.pointerType||"mouse")};let r=t=>{if(0===t.button){if(e.isPressed=!1,M(),e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&ey(t,e.target)&&null!=e.pointerType?D(ev(e.target,t),e.pointerType):e.target&&e.isOverTarget&&null!=e.pointerType&&D(ev(e.target,t),e.pointerType,!1),e.isOverTarget=!1}};t.onTouchStart=t=>{if(!t.currentTarget.contains(t.target))return;let r=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);r&&(e.activePointerId=r.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",y||h||T(t.currentTarget),w||ee(e.target),C(eg(e.target,t),e.pointerType)&&t.stopPropagation(),L(v(t.currentTarget),"scroll",n,!0))},t.onTouchMove=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=ep(t.nativeEvent,e.activePointerId),n=!0;r&&ey(r,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,n=C(eg(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,n=D(eg(e.target,t),e.pointerType,!1),F(eg(e.target,t))),n&&t.stopPropagation()},t.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(!e.isPressed){t.stopPropagation();return}let r=ep(t.nativeEvent,e.activePointerId),n=!0;r&&ey(r,t.currentTarget)&&null!=e.pointerType?(I(eg(e.target,t),e.pointerType),n=D(eg(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(n=D(eg(e.target,t),e.pointerType,!1)),n&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!w&&et(e.target),M()},t.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&O(eg(e.target,t)))};let n=t=>{e.isPressed&&t.target.contains(e.target)&&O({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{e.currentTarget.contains(e.target)&&O(e)}}return t},[L,y,h,M,w,O,F,D,C,I]);return(0,o.useEffect)(()=>()=>{var e;w||et(null!==(e=S.current.target)&&void 0!==e?e:void 0)},[w]),{isPressed:m||K,pressProps:l(P,R)}}function ec(e){return"A"===e.tagName&&e.hasAttribute("href")}function ef(e,t){let{key:r,code:n}=e,o=t.getAttribute("role");return("Enter"===r||" "===r||"Spacebar"===r||"Space"===n)&&!(t instanceof v(t).HTMLInputElement&&!ew(t,r)||t instanceof v(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===o||!o&&ec(t))&&"Enter"!==r)}function ep(e,t){let r=e.changedTouches;for(let e=0;e<r.length;e++){let n=r[e];if(n.identifier===t)return n}return null}function eg(e,t){let r=0,n=0;return t.targetTouches&&1===t.targetTouches.length&&(r=t.targetTouches[0].clientX,n=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n}}function ev(e,t){let r=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n}}function ey(e,t){let r,n,o=t.getBoundingClientRect(),i=(r=0,n=0,void 0!==e.width?r=e.width/2:void 0!==e.radiusX&&(r=e.radiu
1sX),void 0!==e.height?n=e.height/2:void 0!==e.radiusY&&(n=e.radiusY),{top:e.clientY-n,right:e.clientX+r,bottom:e.clientY+n,left:e.clientX-r});return!(o.left>i.right)&&!(i.left>o.right)&&!(o.top>i.bottom)&&!(i.top>o.bottom)}function em(e){return!(e instanceof HTMLElement)||!e.hasAttribute("draggable")}function eh(e){return!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!ec(e))}function eb(e,t){return e instanceof HTMLInputElement?!ew(e,t):eh(e)}let eT=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ew(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:eT.has(e.type)}function eE(e,t,r){var n,i;let a,v,{isDisabled:y=!1,isReadOnly:m=!1,value:h,name:w,children:E,"aria-label":P,"aria-labelledby":K,validationState:k="valid",isInvalid:x}=e;null!=E||null!=P||null!=K||console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:S,isPressed:L}=ed({isDisabled:y}),{pressProps:M,isPressed:C}=ed({isDisabled:y||m,onPress(){t.toggle()}}),{focusableProps:A}=function(e,t){let{focusProps:r}=function(e){let t,r,{isDisabled:n,onFocus:i,onBlur:a,onFocusChange:l}=e,s=(0,o.useCallback)(e=>{if(e.target===e.currentTarget)return a&&a(e),l&&l(!1),!0},[a,l]),u=(t=(0,o.useRef)({isFocused:!1,observer:null}),f(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),r=p(e=>{null==s||s(e)}),(0,o.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=e.target;n.addEventListener("focusout",e=>{t.current.isFocused=!1,n.disabled&&r(new Y("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&n.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let r=n===document.activeElement?null:document.activeElement;n.dispatchEvent(new FocusEvent("blur",{relatedTarget:r})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:r}))}}),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[r])),d=(0,o.useCallback)(e=>{let t=g(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(i&&i(e),l&&l(!0),u(e))},[l,i,u]);return{focusProps:{onFocus:!n&&(i||l||a)?d:void 0,onBlur:!n&&(a||l)?s:void 0}}}(e),{keyboardProps:n}={keyboardProps:e.isDisabled?{}:{onKeyDown:Z(e.onKeyDown),onKeyUp:Z(e.onKeyUp)}},i=l(r,n),a=function(e){let t=(0,o.useContext)(J)||{};_(t,e);let{ref:r,...n}=t;return n}(t),s=e.isDisabled?{}:a,u=(0,o.useRef)(e.autoFocus);return(0,o.useEffect)(()=>{u.current&&t.current&&function(e){let t=g(e);if("virtual"===I){let r=t.activeElement;b(()=>{t.activeElement===r&&e.isConnected&&T(e)})}else T(e)}(t.current),u.current=!1},[t]),{focusableProps:l({...i,tabIndex:e.excludeFromTabOrder&&!e.isDisabled?-1:void 0},s)}}(e,r),D=l(S,A),N=function(e,t={}){let{labelable:r,isLink:n,propNames:o}=t,i={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(s.has(t)||r&&u.has(t)||n&&d.has(t)||(null==o?void 0:o.has(t))||c.test(t))&&(i[t]=e[t]);return i}(e,{labelable:!0});return n=t.isSelected,i=t.setSelected,a=(0,o.useRef)(n),v=p(()=>{i&&i(a.current)}),(0,o.useEffect)(()=>{var e;let t=null==r?void 0:null===(e=r.current)||void 0===e?void 0:e.form;return null==t||t.addEventListener("reset",v),()=>{null==t||t.removeEventListener("reset",v)}},[r,v]),{labelProps:l(M,{onClick:e=>e.preventDefault()}),inputProps:l(N,{"aria-invalid":x||"invalid"===k||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":m||void 0,onChange:e=>{e.stopPropagation(),t.setSelected(e.target.checked)},disabled:y,...null==h?{}:{value:h},name:w,type:"checkbox",...D}),isSelected:t.isSelected,isPressed:L||C,isDisabled:y,isReadOnly:m,isInvalid:x||"invalid"===k}}},30878:function(e,t,r){r.d(t,{H:function(){return i}});var n=r(44035),o=r(77225);let i={renderer:r(86283).b,...n.s,...o.E}},89056:function(e,t,r){r.d(t,{Z:function(){return d}});let n=e=>"object"==typeof e&&null!=e&&1===e.nodeType,o=(e,t)=>
1(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,i=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let r=getComputedStyle(e,null);return o(r.overflowY,t)||o(r.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},a=(e,t,r,n,o,i,a,l)=>i<e&&a>t||i>e&&a<t?0:i<=e&&l<=r||a>=t&&l>=r?i-e-n:a>t&&l<r||i<e&&l>r?a-t+o:0,l=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},s=(e,t)=>{var r,o,s,u;if("undefined"==typeof document)return[];let{scrollMode:d,block:c,inline:f,boundary:p,skipOverflowHiddenElements:g}=t,v="function"==typeof p?p:e=>e!==p;if(!n(e))throw TypeError("Invalid target");let y=document.scrollingElement||document.documentElement,m=[],h=e;for(;n(h)&&v(h);){if((h=l(h))===y){m.push(h);break}null!=h&&h===document.body&&i(h)&&!i(document.documentElement)||null!=h&&i(h,g)&&m.push(h)}let b=null!=(o=null==(r=window.visualViewport)?void 0:r.width)?o:innerWidth,T=null!=(u=null==(s=window.visualViewport)?void 0:s.height)?u:innerHeight,{scrollX:w,scrollY:E}=window,{height:P,width:K,top:k,right:x,bottom:S,left:L}=e.getBoundingClientRect(),{top:M,right:C,bottom:A,left:D}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),N="start"===c||"nearest"===c?k-M:"end"===c?S+A:k+P/2-M+A,I="center"===f?L+K/2-D+C:"end"===f?x+C:L-D,O=[];for(let e=0;e<m.length;e++){let t=m[e],{height:r,width:n,top:o,right:i,bottom:l,left:s}=t.getBoundingClientRect();if("if-needed"===d&&k>=0&&L>=0&&S<=T&&x<=b&&k>=o&&S<=l&&L>=s&&x<=i)break;let u=getComputedStyle(t),p=parseInt(u.borderLeftWidth,10),g=parseInt(u.borderTopWidth,10),v=parseInt(u.borderRightWidth,10),h=parseInt(u.borderBottomWidth,10),M=0,C=0,A="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-v:0,D="offsetHeight"in t?t.offsetHeight-t.clientHeight-g-h:0,F="offsetWidth"in t?0===t.offsetWidth?0:n/t.offsetWidth:0,R="offsetHeight"in t?0===t.offsetHeight?0:r/t.offsetHeight:0;if(y===t)M="start"===c?N:"end"===c?N-T:"nearest"===c?a(E,E+T,T,g,h,E+N,E+N+P,P):N-T/2,C="start"===f?I:"center"===f?I-b/2:"end"===f?I-b:a(w,w+b,b,p,v,w+I,w+I+K,K),M=Math.max(0,M+E),C=Math.max(0,C+w);else{M="start"===c?N-o-g:"end"===c?N-l+h+D:"nearest"===c?a(o,l,r,g,h+D,N,N+P,P):N-(o+r/2)+D/2,C="start"===f?I-s-p:"center"===f?I-(s+n/2)+A/2:"end"===f?I-i+v+A:a(s,i,n,p,v+A,I,I+K,K);let{scrollLeft:e,scrollTop:u}=t;M=0===R?0:Math.max(0,Math.min(u+M/R,t.scrollHeight-r/R+D)),C=0===F?0:Math.max(0,Math.min(e+C/F,t.scrollWidth-n/F+A)),N+=u-M,I+=e-C}O.push({el:t,top:M,left:C})}return O},u=e=>!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"};function d(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(s(e,t));let r="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:n,top:o,left:i}of s(e,u(t)))n.scroll({top:o,left:i,behavior:r})}}}]);

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.