1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[788],{40187:function(e,t,i){i.d(t,{pE:function(){return o},jn:function(){return s}});var l=i(67294),a=i(36303),n=i(37127),r=Symbol("default");function s(e,t){let i=(0,l.useContext)(e);if(null===t)return null;if(i&&"object"==typeof i&&"slots"in i&&i.slots){let e=new Intl.ListFormat().format(Object.keys(i.slots).map(e=>`"${e}"`));if(!t&&!i.slots[r])throw Error(`A slot prop is required. Valid slot names are ${e}.`);let l=t||r;if(!i.slots[l])throw Error(`Invalid slot "${t}". Valid slot names are ${e}.`);return i.slots[l]}return i}function o(e,t,i){let{ref:r,...o}=s(i,e.slot)||{},u=function(e){let t=(0,l.useRef)(null);return(0,l.useMemo)(()=>({get current(){return t.current},set current(value){t.current=value,"function"==typeof e?e(value):e&&(e.current=value)}}),[e])}((0,l.useMemo)(()=>(0,a.l)(t,r),[t,r])),d=(0,n.d)(o,e);return"style"in o&&o.style&&"style"in e&&e.style&&("function"==typeof o.style||"function"==typeof e.style?d.style=t=>{let i="function"==typeof o.style?o.style(t):o.style,l={...t.defaultStyle,...i},a="function"==typeof e.style?e.style({...t,defaultStyle:l}):e.style;return{...l,...a}}:d.style={...o.style,...e.style}),[d,u]}},92806:function(e,t,i){i.d(t,{q:function(){return o}});var l=i(40187),a=i(48750),n=i(67294),r=(0,i(10253).tv)({base:"flex flex-col gap-2 items-start"}),s=i(85893),o=(0,n.createContext)(null);(0,n.forwardRef)(function(e,t){[e,t]=(0,l.pE)(e,t,o);let{validationErrors:i,validationBehavior:u="native",children:d,className:c,...p}=e,h=(0,n.useMemo)(()=>r({className:c}),[c]);return(0,s.jsx)("form",{noValidate:"native"!==u,...p,ref:t,className:h,children:(0,s.jsx)(o.Provider,{value:{...e,validationBehavior:u},children:(0,s.jsx)(a.r7.Provider,{value:null!=i?i:{},children:d})})})})},60262:function(e,t,i){i.d(t,{Y:function(){return O}});var l=i(92853),a=i(95309),n=i(9660),r=i(98137),s=i(2459),o=i(10253),u=i(85120),d=(0,o.tv)({slots:{base:"group flex flex-col data-[hidden=true]:hidden",label:["absolute","z-10","pointer-events-none","origin-top-left","flex-shrink-0","rtl:origin-top-right","subpixel-antialiased","block","text-small","text-foreground-500"],mainWrapper:"h-full",inputWrapper:"relative w-full inline-flex tap-highlight-transparent flex-row items-center shadow-sm px-3 gap-3",innerWrapper:"inline-flex w-full items-center h-full box-border",input:["w-full font-normal bg-transparent !outline-none placeholder:text-foreground-500 focus-visible:outline-none","data-[has-start-content=true]:ps-1.5","data-[has-end-content=true]:pe-1.5","data-[type=color]:rounded-none","file:cursor-pointer file:bg-transparent file:border-0","autofill:bg-transparent bg-clip-text"],clearButton:["p-2","-m-2","z-10","absolute","end-3","start-auto","pointer-events-none","appearance-none","outline-none","select-none","opacity-0","hover:!opacity-100","cursor-pointer","active:!opacity-70","rounded-full",...u.Dh],helperWrapper:"hidden group-data-[has-helper=true]:flex p-1 relative flex-col gap-1.5",description:"text-tiny text-foreground-400",errorMessage:"text-tiny text-danger"},variants:{variant:{flat:{inputWrapper:["bg-default-100","data-[hover=true]:bg-default-200","group-data-[focus=true]:bg-default-100"]},faded:{inputWrapper:["bg-default-100","border-medium","border-default-200","data-[hover=true]:border-default-400 focus-within:border-default-400"],value:"group-data-[has-value=true]:text-default-foreground"},bordered:{inputWrapper:["border-medium","border-default-200","data-[hover=true]:border-default-400","group-data-[focus=true]:border-default-foreground"]},underlined:{inputWrapper:["!px-1","!pb-0","!gap-0","relative","box-border","border-b-medium","shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]","border-default-200","!rounded-none","hover:border-default-300","after:content-['']","after:w-0","after:origin-center","after:bg-default-foreground","after:absolute","after:left-1/2","after:-translate-x-1/2","after:-bottom-[2px]","after:h-[2px]","group-data-[focus=true]:after:w-full"],innerWrapper:"pb-1",label:"group-data-[filled-within=true]:text-foreground"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{label:"text-tiny",inputWrapper:"h-8 min-h-8 px-2 rounded-small",input:"text-small",clearButton:"text-medium"},md:{inputWrapper:"h-10 min-h-10 rounded-medium",input:"text-small",clearButton:"text-large"},lg:{label:"text-medium",inputWrapper:"h-12 min-h-12 rounded-large",input:"text-medium",clearButton:"text-large"}},radius:{none:{inputWrapper:"rounded-none"},sm:{inputWrapper:"rounded-small"},md:{inputWrapper:"rounded-medium"},lg:{inputWrapper:"rounded-large"},full:{inputWrapper:"rounded-full"}},labelPlacement:{outside:{mainWrapper:"flex flex-col"},"outside-left":{base:"flex-row items-center flex-nowrap data-[has-helper=true]:items-start",inputWrapper:"flex-1",mainWrapper:"flex flex-col",label:"relative text-foreground pe-2 ps-2 pointer-events-auto"},inside:{label:"cursor-text",inputWrapper:"flex-col items-start justify-center gap-0",innerWrapper:"group-data-[has-label=true]:items-end"}},fullWidth:{true:{base:"w-full"},false:{}},isClearable:{true:{input:"peer pe-6 input-search-cancel-button-none",clearButton:["peer-data-[filled=true]:pointer-events-auto","peer-data-[filled=true]:opacity-70 peer-data-[filled=true]:block","peer-data-[filled=true]:scale-100"]}},isDisabled:{true:{base:"opacity-disabled pointer-events-none",inputWrapper:"pointer-events-none",label:"pointer-events-none"}},isInvalid:{true:{label:"!text-danger",input:"!placeholder:text-danger !text-danger"}},isRequired:{true:{label:"after:content-['*'] after:text-danger after:ms-0.5"}},isMultiline:{true:{label:"relative",inputWrapper:"!h-auto",innerWrapper:"items-start group-data-[has-label=true]:items-start",input:"resize-none data-[hide-scroll=true]:scrollbar-hide",clearButton:"absolute top-2 right-2 rtl:right-auto rtl:left-2 z-10"}},disableAnimation:{true:{input:"transition-none",inputWrapper:"transition-none",label:"transition-none"},false:{inputWrapper:"transition-background motion-reduce:transition-none !duration-150",label:["will-change-auto","!duration-200","!ease-out","motion-reduce:transition-none","transition-[transform,color,left,opacity]"],clearButton:["scale-90","ease-out","duration-150","transition-[opacity,transform]","motion-reduce:transition-none","motion-reduce:scale-100"]}}},defaultVariants:{variant:"flat",color:"default",size:"md",fullWidth:!0,isDisabled:!1,isMultiline:!1},compoundVariants:[{variant:"flat",color:"default",class:{input:"group-data-[has-value=true]:text-default-foreground"}},{variant:"flat",color:"primary",class:{inputWrapper:["bg-primary-100","data-[hover=true]:bg-primary-50","text-primary","group-data-[focus=true]:bg-primary-50","placeholder:text-primary"],input:"placeholder:text-primary",label:"text-primary"}},{variant:"flat",color:"secondary",class:{inputWrapper:["bg-secondary-100","text-secondary","data-[hover=true]:bg-secondary-50","group-data-[focus=true]:bg-secondary-50","placeholder:text-secondary"],input:"placeholder:text-secondary",label:"text-secondary"}},{variant:"flat",color:"success",class:{inputWrapper:["bg-success-100","text-success-600","dark:text-success","placeholder:text-success-600","dark:placeholder:text-success","data-[hover=true]:bg-success-50","group-data-[focus=true]:bg-success-50"],input:"placeholder:text-success-600 dark:placeholder:text-success",label:"text-success-600 dark:text-success"}},{variant:"flat",color:"warning",class:{inputWrapper:["bg-warning-100","text-warning-600","dark:text-warning","placeholder:text-warning-600","dark:placeholder:text-warning","data-[hover=true]:bg-warning-50","group-data-[focus=true]:bg-warning-50"],input:"placeholder:text-warning-600 dar
1k:placeholder:text-warning",label:"text-warning-600 dark:text-warning"}},{variant:"flat",color:"danger",class:{inputWrapper:["bg-danger-100","text-danger","dark:text-danger-500","placeholder:text-danger","dark:placeholder:text-danger-500","data-[hover=true]:bg-danger-50","group-data-[focus=true]:bg-danger-50"],input:"placeholder:text-danger dark:placeholder:text-danger-500",label:"text-danger dark:text-danger-500"}},{variant:"faded",color:"primary",class:{label:"text-primary",inputWrapper:"data-[hover=true]:border-primary focus-within:border-primary"}},{variant:"faded",color:"secondary",class:{label:"text-secondary",inputWrapper:"data-[hover=true]:border-secondary focus-within:border-secondary"}},{variant:"faded",color:"success",class:{label:"text-success",inputWrapper:"data-[hover=true]:border-success focus-within:border-success"}},{variant:"faded",color:"warning",class:{label:"text-warning",inputWrapper:"data-[hover=true]:border-warning focus-within:border-warning"}},{variant:"faded",color:"danger",class:{label:"text-danger",inputWrapper:"data-[hover=true]:border-danger focus-within:border-danger"}},{variant:"underlined",color:"default",class:{input:"group-data-[has-value=true]:text-foreground"}},{variant:"underlined",color:"primary",class:{inputWrapper:"after:bg-primary",label:"text-primary"}},{variant:"underlined",color:"secondary",class:{inputWrapper:"after:bg-secondary",label:"text-secondary"}},{variant:"underlined",color:"success",class:{inputWrapper:"after:bg-success",label:"text-success"}},{variant:"underlined",color:"warning",class:{inputWrapper:"after:bg-warning",label:"text-warning"}},{variant:"underlined",color:"danger",class:{inputWrapper:"after:bg-danger",label:"text-danger"}},{variant:"bordered",color:"primary",class:{inputWrapper:"group-data-[focus=true]:border-primary",label:"text-primary"}},{variant:"bordered",color:"secondary",class:{inputWrapper:"group-data-[focus=true]:border-secondary",label:"text-secondary"}},{variant:"bordered",color:"success",class:{inputWrapper:"group-data-[focus=true]:border-success",label:"text-success"}},{variant:"bordered",color:"warning",class:{inputWrapper:"group-data-[focus=true]:border-warning",label:"text-warning"}},{variant:"bordered",color:"danger",class:{inputWrapper:"group-data-[focus=true]:border-danger",label:"text-danger"}},{labelPlacement:"inside",color:"default",class:{label:"group-data-[filled-within=true]:text-default-600"}},{labelPlacement:"outside",color:"default",class:{label:"group-data-[filled-within=true]:text-foreground"}},{radius:"full",size:["sm"],class:{inputWrapper:"px-3"}},{radius:"full",size:"md",class:{inputWrapper:"px-4"}},{radius:"full",size:"lg",class:{inputWrapper:"px-5"}},{disableAnimation:!1,variant:["faded","bordered"],class:{inputWrapper:"transition-colors motion-reduce:transition-none"}},{disableAnimation:!1,variant:"underlined",class:{inputWrapper:"after:transition-width motion-reduce:after:transition-none"}},{variant:["flat","faded"],class:{inputWrapper:[...u.ID]}},{isInvalid:!0,variant:"flat",class:{inputWrapper:["!bg-danger-50","data-[hover=true]:!bg-danger-100","group-data-[focus=true]:!bg-danger-50"]}},{isInvalid:!0,variant:"bordered",class:{inputWrapper:"!border-danger group-data-[focus=true]:!border-danger"}},{isInvalid:!0,variant:"underlined",class:{inputWrapper:"after:!bg-danger"}},{labelPlacement:"inside",size:"sm",class:{inputWrapper:"h-12 py-1.5 px-3"}},{labelPlacement:"inside",size:"md",class:{inputWrapper:"h-14 py-2"}},{labelPlacement:"inside",size:"lg",class:{inputWrapper:"h-16 py-2.5 gap-0"}},{labelPlacement:"inside",size:"sm",variant:["bordered","faded"],class:{inputWrapper:"py-1"}},{labelPlacement:["inside","outside"],class:{label:["group-data-[filled-within=true]:pointer-events-auto"]}},{labelPlacement:"outside",isMultiline:!1,class:{base:"relative justify-end",label:["pb-0","z-20","top-1/2","-translate-y-1/2","group-data-[filled-within=true]:start-0"]}},{labelPlacement:["inside"],class:{label:["group-data-[filled-within=true]:scale-85"]}},{labelPlacement:["inside"],variant:"flat",class:{innerWrapper:"pb-0.5"}},{variant:"underlined",size:"sm",class:{innerWrapper:"pb-1"}},{variant:"underlined",size:["md","lg"],class:{innerWrapper:"pb-1.5"}},{labelPlacement:"inside",size:["sm","md"],class:{label:"text-small"}},{labelPlacement:"inside",isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"]}},{labelPlacement:"inside",isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"]}},{labelPlacement:"inside",isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"]}},{labelPlacement:"inside",variant:"underlined",size:"lg",isMultiline:!1,class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"]}},{labelPlacement:"outside",size:"sm",isMultiline:!1,class:{label:["start-2","text-tiny","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_8px)]"}},{labelPlacement:"outside",size:"md",isMultiline:!1,class:{label:["start-3","end-auto","text-small","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_10px)]"}},{labelPlacement:"outside",size:"lg",isMultiline:!1,class:{label:["start-3","end-auto","text-medium","group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"],base:"data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"}},{labelPlacement:"outside-left",size:"sm",class:{label:"group-data-[has-helper=true]:pt-2"}},{labelPlacement:"outside-left",size:"md",class:{label:"group-data-[has-helper=true]:pt-3"}},{labelPlacement:"outside-left",size:"lg",class:{label:"group-data-[has-helper=true]:pt-4"}},{labelPlacement:["outside","outside-left"],isMultiline:!0,class:{inputWrapper:"py-2"}},{labelPlacement:"outside",isMultiline:!0,class:{label:"pb-1.5"}},{labelPlacement:"inside",isMultiline:!0,class:{label:"pb-0.5",input:"pt-0"}},{isMultiline:!0,disableAnimation:!1,class:{input:"transition-height !duration-100 motion-reduce:transition-none"}},{labelPlacement:["inside","outside"],class:{label:["pe-2","max-w-full","text-ellipsis","overflow-hidden"]}},{isMultiline:!0,radius:"full",class:{inputWrapper:"data-[has-multiple-rows=true]:rounded-large"}},{isClearable:!0,isMultiline:!0,class:{clearButton:["group-data-[has-value=true]:opacity-70 group-data-[has-value=true]:block","group-data-[has-value=true]:scale-100","group-data-[has-value=true]:pointer-events-auto"]}}]}),c=i(70199),p=i(79474),h=i(18419),f=i(44971),m=i(72774),v=i(25671),g=i(99373),b=i(67294),y=i(37127),x=i(11086),w=i(3136),M=i(85952),P=i(78837),S=i(15967),z=i(80435),C=i(14868),W=i(48750),k=i(40187),E=i(92806),I=i(85893),_=e=>(0,I.jsx)("svg",{"aria-hidden":"true",focusable:"false",height:"1em",role:"presentation",viewBox:"0 0 24 24",width:"1em",...e,children:(0,I.jsx)("path",{d:"M12 2a10 10 0 1010 10A10.016 10.016 0 0012 2zm3.36 12.3a.754.754 0 010 1.06.748.748 0 01-1.06 0l-2.3-2.3-2.3 2.3a.748.748 0 01-1.06 0 .754.754 0 010-1.06l2.3-2.3-2.3-2.3A.75.75 0 019.7 8.64l2.3 2.3 2.3-2.3a.75.75 0 011.06 1.06l-2.3 2.3z",fill:"
1currentColor"})}),B=(0,a.Gp)((e,t)=>{let{Component:i,label:o,description:u,isClearable:B,startContent:O,endContent:j,labelPlacement:V,hasHelper:A,isOutsideLeft:N,shouldLabelBeOutside:T,errorMessage:D,isInvalid:R,getBaseProps:F,getLabelProps:L,getInputProps:K,getInnerWrapperProps:U,getInputWrapperProps:$,getMainWrapperProps:H,getHelperWrapperProps:q,getDescriptionProps:X,getErrorMessageProps:G,getClearButtonProps:Q}=function(e){var t,i,o,u,I,_,B;let O=(0,l.w)(),{validationBehavior:j}=(0,k.jn)(E.q)||{},[V,A]=(0,a.oe)(e,d.variantKeys),{ref:N,as:T,type:D,label:R,baseRef:F,wrapperRef:L,description:K,className:U,classNames:$,autoFocus:H,startContent:q,endContent:X,onClear:G,onChange:Q,validationState:Y,validationBehavior:Z=null!=(t=null!=j?j:null==O?void 0:O.validationBehavior)?t:"native",innerWrapperRef:J,onValueChange:ee=()=>{},...et}=V,ei=(0,b.useCallback)(e=>{ee(null!=e?e:"")},[ee]),[el,ea]=(0,b.useState)(!1),en=null!=(o=null!=(i=e.disableAnimation)?i:null==O?void 0:O.disableAnimation)&&o,er=(0,c.gy)(N),es=(0,c.gy)(F),eo=(0,c.gy)(L),eu=(0,c.gy)(J),[ed,ec]=(0,g.z)(V.value,null!=(u=V.defaultValue)?u:"",ei),ep="file"===D,eh=(null!=(B=null==(_=null==(I=null==er?void 0:er.current)?void 0:I.files)?void 0:_.length)?B:0)>0,ef=["date","time","month","week","range"].includes(D),em=!(0,v.xb)(ed)||ef||eh,ev=em||el,eg="hidden"===D,eb=e.isMultiline,ey=(0,v.Wy)(null==$?void 0:$.base,U,em?"is-filled":""),ex=(0,b.useCallback)(()=>{var e;ep?er.current.value="":ec(""),null==G||G(),null==(e=er.current)||e.focus()},[ec,G,ep]);(0,r.G)(()=>{er.current&&ec(er.current.value)},[er.current]);let{labelProps:ew,inputProps:eM,isInvalid:eP,validationErrors:eS,validationDetails:ez,descriptionProps:eC,errorMessageProps:eW}=function(e,t){let{inputElementType:i="input",isDisabled:l=!1,isRequired:a=!1,isReadOnly:n=!1,type:r="text",validationBehavior:s="aria"}=e,[o,u]=(0,g.z)(e.value,e.defaultValue||"",e.onChange),{focusableProps:d}=(0,z.kc)(e,t),c=(0,W.Q3)({...e,value:o}),{isInvalid:p,validationErrors:h,validationDetails:f}=c.displayValidation,{labelProps:m,fieldProps:v,descriptionProps:x,errorMessageProps:k}=(0,S.U)({...e,isInvalid:p,errorMessage:e.errorMessage||h}),E=(0,w.z)(e,{labelable:!0}),I={type:r,pattern:e.pattern};return(0,M.y)(t,o,u),(0,C.Q)(e,c,t),(0,b.useEffect)(()=>{if(t.current instanceof(0,P.kR)(t.current).HTMLTextAreaElement){let e=t.current;Object.defineProperty(e,"defaultValue",{get:()=>e.value,set:()=>{},configurable:!0})}},[t]),{labelProps:m,inputProps:(0,y.d)(E,"input"===i?I:void 0,{disabled:l,readOnly:n,required:a&&"native"===s,"aria-required":a&&"aria"===s||void 0,"aria-invalid":p||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:o,onChange:e=>u(e.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt(b.version,10)>=17?"enterKeyHint":"enterkeyhint"]:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...d,...v}),descriptionProps:x,errorMessageProps:k,isInvalid:p,validationErrors:h,validationDetails:f}}({...e,validationBehavior:Z,autoCapitalize:e.autoCapitalize,value:ed,"aria-label":(0,v.xi)(e["aria-label"],e.label,e.placeholder),inputElementType:eb?"textarea":"input",onChange:ec},er);ep&&(delete eM.value,delete eM.onChange);let{isFocusVisible:ek,isFocused:eE,focusProps:eI}=(0,s.F)({autoFocus:H,isTextInput:!0}),{isHovered:e_,hoverProps:eB}=(0,h.X)({isDisabled:!!(null==e?void 0:e.isDisabled)}),{isHovered:eO,hoverProps:ej}=(0,h.X)({isDisabled:!!(null==e?void 0:e.isDisabled)}),{focusProps:eV,isFocusVisible:eA}=(0,s.F)(),{focusWithinProps:eN}=(0,f.L)({onFocusWithinChange:ea}),{pressProps:eT}=(0,m.r)({isDisabled:!!(null==e?void 0:e.isDisabled)||!!(null==e?void 0:e.isReadOnly),onPress:ex}),eD="invalid"===Y||eP,eR=(0,n.j)({labelPlacement:e.labelPlacement,label:R}),eF="function"==typeof V.errorMessage?V.errorMessage({isInvalid:eD,validationErrors:eS,validationDetail
1s:ez}):V.errorMessage||(null==eS?void 0:eS.join(" ")),eL=!!G||e.isClearable,eK=!!R||!!K||!!eF,eU=!!V.placeholder,e$=!!R,eH=!!K||!!eF,eq="outside"===eR||"outside-left"===eR,eX="inside"===eR,eG=!!er.current&&(!er.current.value||""===er.current.value||!ed||""===ed)&&eU,eQ="outside-left"===eR,eY=!!q,eZ=!!eq&&("outside-left"===eR||eU||"outside"===eR&&eY),eJ="outside"===eR&&!eU&&!eY,e0=(0,b.useMemo)(()=>d({...A,isInvalid:eD,labelPlacement:eR,isClearable:eL,disableAnimation:en}),[(0,v.Xx)(A),eD,eR,eL,eY,en]),e1=(0,b.useCallback)((t={})=>({ref:es,className:e0.base({class:ey}),"data-slot":"base","data-filled":(0,v.PB)(em||eU||eY||eG||ep),"data-filled-within":(0,v.PB)(ev||eU||eY||eG||ep),"data-focus-within":(0,v.PB)(el),"data-focus-visible":(0,v.PB)(ek),"data-readonly":(0,v.PB)(e.isReadOnly),"data-focus":(0,v.PB)(eE),"data-hover":(0,v.PB)(e_||eO),"data-required":(0,v.PB)(e.isRequired),"data-invalid":(0,v.PB)(eD),"data-disabled":(0,v.PB)(e.isDisabled),"data-has-elements":(0,v.PB)(eK),"data-has-helper":(0,v.PB)(eH),"data-has-label":(0,v.PB)(e$),"data-has-value":(0,v.PB)(!eG),"data-hidden":(0,v.PB)(eg),...eN,...t}),[e0,ey,em,eE,e_,eO,eD,eH,e$,eK,eG,eY,el,ek,ev,eU,eN,eg,e.isReadOnly,e.isRequired,e.isDisabled]),e2=(0,b.useCallback)((e={})=>({"data-slot":"label",className:e0.label({class:null==$?void 0:$.label}),...(0,y.d)(ew,ej,e)}),[e0,eO,ew,null==$?void 0:$.label]),e5=(0,b.useCallback)(t=>{"Escape"===t.key&&ed&&(eL||G)&&!e.isReadOnly&&(ec(""),null==G||G())},[ed,ec,G,eL,e.isReadOnly]),e6=(0,b.useCallback)((t={})=>({"data-slot":"input","data-filled":(0,v.PB)(em),"data-filled-within":(0,v.PB)(ev),"data-has-start-content":(0,v.PB)(eY),"data-has-end-content":(0,v.PB)(!!X),"data-type":D,className:e0.input({class:(0,v.Wy)(null==$?void 0:$.input,em?"is-filled":"",eb?"pe-0":"","password"===D?"[&::-ms-reveal]:hidden":"")}),...(0,y.d)(eI,eM,(0,p.z)(et,{enabled:!0,labelable:!0,omitEventNames:new Set(Object.keys(eM))}),t),"aria-readonly":(0,v.PB)(e.isReadOnly),onChange:(0,x.t)(eM.onChange,Q),onKeyDown:(0,x.t)(eM.onKeyDown,t.onKeyDown,e5),ref:er}),[e0,ed,eI,eM,et,em,ev,eY,X,null==$?void 0:$.input,e.isReadOnly,e.isRequired,Q,e5]),e7=(0,b.useCallback)((e={})=>({ref:eo,"data-slot":"input-wrapper","data-hover":(0,v.PB)(e_||eO),"data-focus-visible":(0,v.PB)(ek),"data-focus":(0,v.PB)(eE),className:e0.inputWrapper({class:(0,v.Wy)(null==$?void 0:$.inputWrapper,em?"is-filled":"")}),...(0,y.d)(e,eB),onClick:e=>{er.current&&e.currentTarget===e.target&&er.current.focus()},style:{cursor:"text",...e.style}}),[e0,e_,eO,ek,eE,ed,null==$?void 0:$.inputWrapper]),e3=(0,b.useCallback)((e={})=>({...e,ref:eu,"data-slot":"inner-wrapper",onClick:e=>{er.current&&e.currentTarget===e.target&&er.current.focus()},className:e0.innerWrapper({class:(0,v.Wy)(null==$?void 0:$.innerWrapper,null==e?void 0:e.className)})}),[e0,null==$?void 0:$.innerWrapper]),e9=(0,b.useCallback)((e={})=>({...e,"data-slot":"main-wrapper",className:e0.mainWrapper({class:(0,v.Wy)(null==$?void 0:$.mainWrapper,null==e?void 0:e.className)})}),[e0,null==$?void 0:$.mainWrapper]),e8=(0,b.useCallback)((e={})=>({...e,"data-slot":"helper-wrapper",className:e0.helperWrapper({class:(0,v.Wy)(null==$?void 0:$.helperWrapper,null==e?void 0:e.className)})}),[e0,null==$?void 0:$.helperWrapper]),e4=(0,b.useCallback)((e={})=>({...e,...eC,"data-slot":"description",className:e0.description({class:(0,v.Wy)(null==$?void 0:$.description,null==e?void 0:e.className)})}),[e0,null==$?void 0:$.description]),te=(0,b.useCallback)((e={})=>({...e,...eW,"data-slot":"error-message",className:e0.errorMessage({class:(0,v.Wy)(null==$?void 0:$.errorMessage,null==e?void 0:e.className)})}),[e0,eW,null==$?void 0:$.errorMessage]),tt=(0,b.useCallback)((t={})=>({...t,type:"button",tabIndex:-1,disabled:e.isDisabled,"aria-label":"clear input","data-slot":"clear-button","data-focus-visible":(0,v.PB)(eA),className:e0.clearButton({class:(0,v.Wy)(null==$?void 0:$.clearButton,null==t?void 0:t.className)}),...(0,y.d)(eT,eV)}),[e0,eA,eT,eV,null==$?void 0:$.clearButton]);return{Component:T||"div",classNames:$,domRef:er,label:R,description:K,startContent:q,endContent:X,labelPlacement:eR,isClearable:eL,hasHelper:eH,hasStartContent:eY,isLabelOutside:eZ,isOutsideLeft:eQ,isLabelOutsideAsPlaceholder:eJ,shouldLabelBeOutside:eq,shouldLabelBeInside:eX,hasPlaceholder:eU,isInvalid:eD,errorMessage:eF,getBaseProps:e1,getLabelProps:e2,getInputProps:e6,getMainWrapperProps:e9,getIn
1putWrapperProps:e7,getInnerWrapperProps:e3,getHelperWrapperProps:e8,getDescriptionProps:e4,getErrorMessageProps:te,getClearButtonProps:tt}}({...e,ref:t}),Y=o?(0,I.jsx)("label",{...L(),children:o}):null,Z=(0,b.useMemo)(()=>B?(0,I.jsx)("button",{...Q(),children:j||(0,I.jsx)(_,{})}):j,[B,Q]),J=(0,b.useMemo)(()=>{let e=R&&D,t=e||u;return A&&t?(0,I.jsx)("div",{...q(),children:e?(0,I.jsx)("div",{...G(),children:D}):(0,I.jsx)("div",{...X(),children:u})}):null},[A,R,D,u,q,G,X]),ee=(0,b.useMemo)(()=>(0,I.jsxs)("div",{...U(),children:[O,(0,I.jsx)("input",{...K()}),Z]}),[O,Z,K,U]),et=(0,b.useMemo)(()=>T?(0,I.jsxs)("div",{...H(),children:[(0,I.jsxs)("div",{...$(),children:[N?null:Y,ee]}),J]}):(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)("div",{...$(),children:[Y,ee]}),J]}),[V,J,T,Y,ee,D,u,H,$,G,X]);return(0,I.jsxs)(i,{...F(),children:[N?Y:null,et]})});B.displayName="HeroUI.Input";var O=B},4250:function(e,t,i){i.d(t,{R:function(){return l}});var l=i(11594).c},33778:function(e,t,i){i.d(t,{X:function(){return J}});let l=new WeakMap;var a=i(3136),n=i(9188),r=i(37127),s=i(44971),o=i(50912),u=i(45351),d=i(92853),c=i(29684),p=i(5935),h=i(70199),f=i(79474),m=i(67294),v=i(25671),g=i(85893);function b(e){let{isSelected:t,disableAnimation:i,...l}=e;return(0,g.jsx)("svg",{"aria-hidden":"true","data-selected":t,role:"presentation",viewBox:"0 0 17 18",...l,children:(0,g.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:i?{}:{transition:"stroke-dashoffset 200ms ease"}})})}var y=i(95309),x=i(2459),w=i(68806),M=i(11086),P=i(32433),S=i(79559),z=i(18419),C=i(9975),W=i(36400),k=i(72774),E=i(65730),I=e=>{let{Component:t,rendered:i,description:s,isSelectable:o,isSelected:u,isDisabled:p,selectedIcon:h,startContent:I,endContent:_,hideSelectedIcon:B,disableAnimation:O,getItemProps:j,getLabelProps:V,getWrapperProps:A,getDescriptionProps:N,getSelectedIconProps:T}=function(e){var t,i;let s=(0,d.w)(),[o,u]=(0,y.oe)(e,c.D9.variantKeys),{as:p,item:h,state:g,description:b,startContent:I,endContent:_,isVirtualized:B,selectedIcon:O,className:j,classNames:V,autoFocus:A,onPress:N,onPressUp:T,onPressStart:D,onPressEnd:R,onPressChange:F,onClick:L,shouldHighlightOnFocus:K,hideSelectedIcon:U=!1,isReadOnly:$=!1,...H}=o,q=null!=(i=null!=(t=e.disableAnimation)?t:null==s?void 0:s.disableAnimation)&&i,X=(0,m.useRef)(null),G=p||(e.href?"a":"li"),Q="string"==typeof G,{rendered:Y,key:Z}=h,J=g.disabledKeys.has(Z)||e.isDisabled,ee="none"!==g.selectionManager.selectionMode,et=(0,E.d)(),{pressProps:ei,isPressed:el}=(0,k.r)({ref:X,isDisabled:J,onClick:L,onPress:N,onPressUp:T,onPressStart:D,onPressEnd:R,onPressChange:F}),{isHovered:ea,hoverProps:en}=(0,z.X)({isDisabled:J}),{isFocusVisible:er,focusProps:es}=(0,x.F)({autoFocus:A}),{isFocused:eo,isSelected:eu,optionProps:ed,labelProps:ec,descriptionProps:ep}=function(e,t,i){var s,o,u,d,c,p,h,f;let{key:m}=e,v=l.get(t),g=null!==(u=e.isDisabled)&&void 0!==u?u:t.selectionManager.isDisabled(m),b=null!==(d=e.isSelected)&&void 0!==d?d:t.selectionManager.isSelected(m),y=null!==(c=e.shouldSelectOnPressUp)&&void 0!==c?c:null==v?void 0:v.shouldSelectOnPressUp,x=null!==(p=e.shouldFocusOnHover)&&void 0!==p?p:null==v?void 0:v.shouldFocusOnHover,k=null!==(h=e.shouldUseVirtualFocus)&&void 0!==h?h:null==v?void 0:v.shouldUseVirtualFocus,E=null!==(f=e.isVirtualized)&&void 0!==f?f:null==v?void 0:v.isVirtualized,I=(0,n.mp)(),_=(0,n.mp)(),B={role:"option","aria-disabled":g||void 0,"aria-selected":"none"!==t.selectionManager.selectionMode?b:void 0};(0,w.V5)()&&(0,w.Pf)()||(B["aria-label"]=e["aria-label"],B["aria-labelledby"]=I,B["aria-describedby"]=_);let O=t.collection.getItem(m);if(E){let e=Number(null==O?void 0:O.index);B["aria-posinset"]=Number.isNaN(e)?void 0:e+1,B["aria-setsize"]=(0,S.i)(t.collection)}let j=(null==v?void 0:v.onAction)?()=>{var e;return null==v?void 0:null===(e=v.onAction)||void 0===e?void 0:e.call(v,m)}:void 0,V=function(e,t){let i=l.get(e);if(!i)throw Error("Unknown list");return`${i.id}-option-${"string"==typeof t?t.replace(/\s*/g,""):""+t}`}(t,m),{itemProps:A,isPressed:N,isFocused:T,hasAction:D,allowsSelection:R}=(0,W.C)({selectionManager:t.selectionManager,key:m,ref:i,shouldSelectOnPressUp:y,allowsDifferentPressOrigin:y&&x,isVirtualized:E,shouldUseVirtualFocus:k,isDisabled:g,onAction:j||(null==O?void 0:null===(s=O.props)||void 0===s?void 0:s.onAction)?(0,M.t)(null==O?void 0:null===(o=O.props)||void 0===o?void 0:o.onAction,j):void 0,linkBehavior:null==v?void 0:v.linkBehavior,id:V}),{hoverProps:F}=(0,z.X)({isDisabled:g||!x,onHoverStart(){(0,C.E)()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(m))}}),L=(0,a.z)(null==O?void 0:O.props);delete L.id;let K=(0,P.eY)(null==O?void 0:O.props);return{optionProps:{...B,...(0,r.d)(L,A,F,K),id:V},labelProps:{id:I},descriptionProps:{id:_},isFocused:T,isFocusVisible:T&&t.selectionManager.isFocused&&(0,C.E)(),isSelected:b,isDisabled:g,isPressed:N,allowsSelection:R,hasAction:D}}({key:Z,isDisabled:J,"aria-label":o["aria-label"],isVirtualized:B},g,X),eh=ed,ef=(0,m.useMemo)(()=>(0,c.D9)({...u,isDisabled:J,disableAnimation:q,hasTitleTextChild:"string"==typeof Y,hasDescriptionTextChild:"string"==typeof b}),[(0,v.Xx)(u),J,q,Y,b]),em=(0,v.Wy)(null==V?void 0:V.base,j);$&&(eh=(0,v.Os)(eh));let ev=K&&eo||(et?ea||el:ea||eo&&!er),eg=(0,m.useCallback)((e={})=>({"aria-hidden":(0,v.PB)(!0),"data-disabled":(0,v.PB)(J),className:ef.selectedIcon({class:null==V?void 0:V.selectedIcon}),...e}),[J,ef,V]);return{Component:G,domRef:X,slots:ef,classNames:V,isSelectable:ee,isSelected:eu,isDisabled:J,rendered:Y,description:b,startContent:I,endContent:_,selectedIcon:O,hideSelectedIcon:U,disableAnimation:q,getItemProps:(e={})=>({ref:X,...(0,r.d)(eh,$?{}:(0,r.d)(es,ei),en,(0,f.z)(H,{enabled:Q}),e),"data-selectable":(0,v.PB)(ee),"data-focus":(0,v.PB)(eo),"data-hover":(0,v.PB)(ev),"data-disabled":(0,v.PB)(J),"data-selected":(0,v.PB)(eu),"data-pressed":(0,v.PB)(el),"data-focus-visible":(0,v.PB)(er),className:ef.base({class:(0,v.Wy
1)(em,e.className)})}),getLabelProps:(e={})=>({...(0,r.d)(ec,e),"data-label":(0,v.PB)(!0),className:ef.title({class:null==V?void 0:V.title})}),getWrapperProps:(e={})=>({...(0,r.d)(e),className:ef.wrapper({class:null==V?void 0:V.wrapper})}),getDescriptionProps:(e={})=>({...(0,r.d)(ep,e),className:ef.description({class:null==V?void 0:V.description})}),getSelectedIconProps:eg}}(e),D=(0,m.useMemo)(()=>{let e=(0,g.jsx)(b,{disableAnimation:O,isSelected:u});return"function"==typeof h?h({icon:e,isSelected:u,isDisabled:p}):h||e},[h,u,p,O]);return(0,g.jsxs)(t,{...j(),children:[I,s?(0,g.jsxs)("div",{...A(),children:[(0,g.jsx)("span",{...V(),children:i}),(0,g.jsx)("span",{...N(),children:s})]}):(0,g.jsx)("span",{...V(),children:i}),o&&!B&&(0,g.jsx)("span",{...T(),children:D}),_]})};I.displayName="HeroUI.ListboxItem";var _=i(3682),B=(0,y.Gp)(({item:e,state:t,as:i,variant:l,color:a,disableAnimation:s,className:o,classNames:u,hideSelectedIcon:d,showDivider:p=!1,dividerProps:h={},itemClasses:f,title:b,items:y,...x},w)=>{let M=i||"li",P=(0,m.useMemo)(()=>(0,c.Dk)(),[]),S=(0,v.Wy)(null==u?void 0:u.base,o),z=(0,v.Wy)(null==u?void 0:u.divider,null==h?void 0:h.className),{itemProps:C,headingProps:W,groupProps:k}=function(e){let{heading:t,"aria-label":i}=e,l=(0,n.Me)();return{itemProps:{role:"presentation"},headingProps:t?{id:l,role:"presentation"}:{},groupProps:{role:"group","aria-label":i,"aria-labelledby":t?l:void 0}}}({heading:e.rendered,"aria-label":e["aria-label"]});return(0,g.jsxs)(M,{"data-slot":"base",...(0,r.d)(C,x),className:P.base({class:S}),children:[e.rendered&&(0,g.jsx)("span",{...W,className:P.heading({class:null==u?void 0:u.heading}),"data-slot":"heading",children:e.rendered}),(0,g.jsxs)("ul",{...k,className:P.group({class:null==u?void 0:u.group}),"data-has-title":!!e.rendered,"data-slot":"group",children:[[...e.childNodes].map(e=>{let{key:i,props:n}=e,r=(0,g.jsx)(I,{classNames:f,color:a,disableAnimation:s,hideSelectedIcon:d,item:e,state:t,variant:l,...n},i);return e.wrapper&&(r=e.wrapper(r)),r}),p&&(0,g.jsx)(_.j,{as:"li",className:P.divider({class:z}),...h})]})]},e.key)});B.displayName="HeroUI.ListboxSection";var O=i(73935);function j(e,t,i){let l,a=i.initialDeps??[];return()=>{var n,r,s,o;let u,d;i.key&&(null==(n=i.debug)?void 0:n.call(i))&&(u=Date.now());let c=e(),p=c.length!==a.length||c.some((e,t)=>a[t]!==e);if(!p)return l;if(a=c,i.key&&(null==(r=i.debug)?void 0:r.call(i))&&(d=Date.now()),l=t(...c),i.key&&(null==(s=i.debug)?void 0:s.call(i))){let e=Math.round((Date.now()-u)*100)/100,t=Math.round((Date.now()-d)*100)/100,l=t/16,a=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%câ± ${a(t,5)} /${a(e,5)} ms`,` 2 font-size: .6rem; 3 font-weight: bold; 4 color: hsl(${Math.max(0,Math.min(120-120*l,120))}deg 100% 31%);`,null==i?void 0:i.key)}return null==(o=null==i?void 0:i.onChange)||o.call(i,l),l}}function V(e,t){if(void 0!==e)return e;throw Error(`Unexpected undefined${t?`: ${t}`:""}`)}let A=(e,t)=>1>Math.abs(e-t),N=(e,t,i)=>{let l;return function(...a){e.clearTimeout(l),l=e.setTimeout(()=>t.apply(this,a),i)}},T=e=>e,D=e=>{let t=Math.max(e.startIndex-e.overscan,0),i=Math.min(e.endIndex+e.overscan,e.count-1),l=[];for(let e=t;e<=i;e++)l.push(e);return l},R=(e,t)=>{let i=e.scrollElement;if(!i)return;let l=e.targetWindow;if(!l)return;let a=e=>{let{width:i,height:l}=e;t({width:Math.round(i),height:Math.round(l)})};if(a(i.getBoundingClientRect()),!l.ResizeObserver)return()=>{};let n=new l.ResizeObserver(e=>{let t=e[0];if(null==t?void 0:t.borderBoxSize){let e=t.borderBoxSize[0];if(e){a({width:e.inlineSize,height:e.blockSize});return}}a(i.getBoundingClientRect())});return n.observe(i,{box:"border-box"}),()=>{n.unobserve(i)}},F={passive:!0},L="undefined"==typeof window||"onscrollend"in window,K=(e,t)=>{let i=e.scrollElement;if(!i)return;let l=e.targetWindow;if(!l)return;let a=0,n=e.options.useScrollendEvent&&L?()=>void 0:N(l,()=>{t(a,!1)},e.options.isScrollingResetDelay),r=l=>()=>{let{horizontal:r,isRtl:s}=e.options;a=r?i.scrollLeft*(s&&-1||1):i.scrollTop,n(),t(a,l)},s=r(!0),o=r(!1);return o(),i.addEventListener("scroll",s,F),i.addEventListener("scrollend",o,F),()=>{i.removeEventListener("scroll",s),i.removeEventListener("scrollend",o)}},U=(e,t,i)=>{if(null==t?void 0:t.borderBoxSize){let e=t.borderBoxSize[0];
4if(e){let t=Math.round(e[i.options.horizontal?"inlineSize":"blockSize"]);return t}}return Math.round(e.getBoundingClientRect()[i.options.horizontal?"width":"height"])},$=(e,{adjustments:t=0,behavior:i},l)=>{var a,n;null==(n=null==(a=l.scrollElement)?void 0:a.scrollTo)||n.call(a,{[l.options.horizontal?"left":"top"]:e+t,behavior:i})};class H{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null,t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver(e=>{e.forEach(e=>{this._measureElement(e.target,e)})}):null);return{disconnect:()=>{var i;null==(i=t())||i.disconnect(),e=null},observe:e=>{var i;return null==(i=t())?void 0:i.observe(e,{box:"border-box"})},unobserve:e=>{var i;return null==(i=t())?void 0:i.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([t,i])=>{void 0===i&&delete e[t]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:T,rangeExtractor:D,onChange:()=>{},measureElement:U,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,...e}},this.notify=e=>{var t,i;null==(i=(t=this.options).onChange)||i.call(t,this,e)},this.maybeNotify=j(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e;let t=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==t){if(this.cleanup(),!t){this.maybeNotify();return}this.scrollElement=t,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(e=this.scrollElement)?void 0:e.window)??null,this.elementsCache.forEach(e=>{this.observer.observe(e)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,e=>{this.scrollRect=e,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?"forward":"backward":null,this.scrollOffset=e,this.isScrolling=t,this.maybeNotify()}))}}
4,this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>{let i=new Map,l=new Map;for(let a=t-1;a>=0;a--){let t=e[a];if(i.has(t.lane))continue;let n=l.get(t.lane);if(null==n||t.end>n.end?l.set(t.lane,t):t.end<n.end&&i.set(t.lane,!0),i.size===this.options.lanes)break}return l.size===this.options.lanes?Array.from(l.values()).sort((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end)[0]:void 0},this.getMeasurementOptions=j(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(e,t,i,l,a)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:i,getItemKey:l,enabled:a}),{key:!1}),this.getMeasurements=j(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:t,scrollMargin:i,getItemKey:l,enabled:a},n)=>{if(!a)return this.measurementsCache=[],this.itemSizeCache.clear(),[];0===this.measurementsCache.length&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(e=>{this.itemSizeCache.set(e.key,e.size)}));let r=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let s=this.measurementsCache.slice(0,r);for(let a=r;a<e;a++){let e=l(a),r=1===this.options.lanes?s[a-1]:this.getFurthestMeasurement(s,a),o=r?r.end+this.options.gap:t+i,u=n.get(e),d="number"==typeof u?u:this.options.estimateSize(a),c=o+d,p=r?r.lane:a%this.options.lanes;s[a]={index:a,start:o,size:d,end:c,key:e,lane:p}}return this.measurementsCache=s,s},{key:!1,debug:()=>this.options.debug}),this.calculateRange=j(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(e,t,i)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:i}){let l=e.length-1,a=q(0,l,t=>e[t].start,i),n=a;for(;n<l&&e[n].end<i+t;)n++;return{startIndex:a,endIndex:n}}({measurements:e,outerSize:t,scrollOffset:i}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=j(()=>{let e=null,t=null,i=this.calculateRange();return i&&(e=i.startIndex,t=i.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,t]},(e,t,i,l,a)=>null===l||null===a?[]:e({startIndex:l,endIndex:a,overscan:t,count:i}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let t=this.options.indexAttribute,i=e.getAttribute(t);return i?parseInt(i,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{let i=this.indexFromElement(e),l=this.measurementsCache[i];if(!l)return;let a=l.key,n=this.elementsCache.get(a);n!==e&&(n&&this.observer.unobserve(n),this.observer.observe(e),this.elementsCache.set(a,e)),e.isConnected&&this.resizeItem(i,this.options.measureElement(e,t,this))},this.resizeItem=(e,t)=>{let i=this.measurementsCache[e];if(!i)return;let l=this.itemSizeCache.get(i.key)??i.size,a=t-l;0!==a&&((void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(i,a,this):i.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=a,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(i.index),this.itemSizeCache=new Map(this.itemSizeCache.set(i.key,t)),this.notify(!1))},this.measureElement=e=>{if(!e){this.elementsCache.forEach((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))});return}this._measureElement(e,void 0)},this.getVirtualItems=j(()=>[this.getIndexes(),this.getMeasurements()],(e,t)=>{let i=[];for(let l=0,a=e.length;l<a;l++){let a=e[l],n=t[a];i.push(n)}return i},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let t=this.getMeasurements();if(0!==t.length)return V(t[q(0,t.length-1,e=>V(t[e]).start,e)])},this.getOffsetForAlignment=(e,t)=>
4{let i=this.getSize(),l=this.getScrollOffset();"auto"===t&&e>=l+i&&(t="end"),"end"===t&&(e-=i);let a=this.options.horizontal?"scrollWidth":"scrollHeight",n=this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[a]:this.scrollElement[a]:0;return Math.max(Math.min(n-i,e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));let i=this.measurementsCache[e];if(!i)return;let l=this.getSize(),a=this.getScrollOffset();if("auto"===t){if(i.end>=a+l-this.options.scrollPaddingEnd)t="end";else{if(!(i.start<=a+this.options.scrollPaddingStart))return[a,t];t="start"}}let n=i.start-this.options.scrollPaddingStart+(i.size-l)/2;switch(t){case"center":return[this.getOffsetForAlignment(n,t),t];case"end":return[this.getOffsetForAlignment(i.end+this.options.scrollPaddingEnd,t),t];default:return[this.getOffsetForAlignment(i.start-this.options.scrollPaddingStart,t),t]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{null!==this.scrollToIndexTimeoutId&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:t="start",behavior:i}={})=>{this.cancelScrollToIndex(),"smooth"===i&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,t),{adjustments:void 0,behavior:i})},this.scrollToIndex=(e,{align:t="auto",behavior:i}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),"smooth"===i&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let l=this.getOffsetForIndex(e,t);if(!l)return;let[a,n]=l;this._scrollToOffset(a,{adjustments:void 0,behavior:i}),"smooth"!==i&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{this.scrollToIndexTimeoutId=null;let t=this.elementsCache.has(this.options.getItemKey(e));if(t){let[t]=V(this.getOffsetForIndex(e,n));A(t,this.getScrollOffset())||this.scrollToIndex(e,{align:n,behavior:i})}else this.scrollToIndex(e,{align:n,behavior:i})}))},this.scrollBy=(e,{behavior:t}={})=>{this.cancelScrollToIndex(),"smooth"===t&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adju
4stments:void 0,behavior:t})},this.getTotalSize=()=>{var e;let t=this.getMeasurements();return Math.max((0===t.length?this.options.paddingStart:1===this.options.lanes?(null==(e=t[t.length-1])?void 0:e.end)??0:Math.max(...t.slice(-this.options.lanes).map(e=>e.end)))-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:t,behavior:i})=>{this.options.scrollToFn(e,{behavior:i,adjustments:t},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(e)}}let q=(e,t,i,l)=>{for(;e<=t;){let a=(e+t)/2|0,n=i(a);if(n<l)e=a+1;else{if(!(n>l))return a;t=a-1}}return e>0?e-1:0},X="undefined"!=typeof document?m.useLayoutEffect:m.useEffect;var G=i(26967),Q=(e,t)=>{let i=[];for(let l of e)"section"===l.type?i.push(([...l.childNodes].length+1)*t):i.push(t);return i},Y=e=>{if(!e||void 0===e.scrollTop||void 0===e.clientHeight||void 0===e.scrollHeight)return{isTop:!1,isBottom:!1,isMiddle:!1};let t=0===e.scrollTop,i=Math.ceil(e.scrollTop+e.clientHeight)>=e.scrollHeight;return{isTop:t,isBottom:i,isMiddle:!t&&!i}},Z=e=>{var t;let{Component:i,state:l,color:a,variant:n,itemClasses:s,getBaseProps:o,topContent:u,bottomContent:d,hideEmptyContent:c,hideSelectedIcon:p,shouldHighlightOnFocus:b,disableAnimation:x,getEmptyContentProps:w,getListProps:M,scrollShadowProps:P}=e,{virtualization:S}=e;if(!S||!(0,v.xb)(S)&&!S.maxListboxHeight&&!S.itemHeight)throw Error("You are using a virtualized listbox. VirtualizedListbox requires 'virtualization' props with 'maxListboxHeight' and 'itemHeight' properties. This error might have originated from autocomplete components that use VirtualizedListbox. Please provide these props to use the virtualized listbox.");let{maxListboxHeight:z,itemHeight:C}=S,W=Math.min(z,C*l.collection.size),k=(0,m.useRef)(null),E=(0,m.useMemo)(()=>Q([...l.collection],C),[l.collection,C]),_=function(e){let t=m.useReducer(()=>({}),{})[1],i={...e,onChange:(i,l)=>{var a;
4l?(0,O.flushSync)(t):t(),null==(a=e.onChange)||a.call(e,i,l)}},[l]=m.useState(()=>new H(i));return l.setOptions(i),X(()=>l._didMount(),[]),X(()=>l._willUpdate()),l}({observeElementRect:R,observeElementOffset:K,scrollToFn:$,count:[...l.collection].length,getScrollElement:()=>k.current,estimateSize:e=>E[e]}),j=_.getVirtualItems(),V=_.getTotalSize(),{getBaseProps:A}=function(e){var t;let[i,l]=(0,y.oe)(e,G.w.variantKeys),{ref:a,as:n,children:r,className:s,style:o,size:u=40,offset:d=0,visibility:c="auto",isEnabled:p=!0,onVisibilityChange:f,...g}=i,b=(0,h.gy)(a);!function(e={}){let{domRef:t,isEnabled:i=!0,overflowCheck:l="vertical",visibility:a="auto",offset:n=0,onVisibilityChange:r,updateDeps:s=[]}=e,o=(0,m.useRef)(a);(0,m.useEffect)(()=>{let e=null==t?void 0:t.current;if(!e||!i)return;let s=(t,i,l,n,s)=>{if("auto"===a){let t=`${n}${(0,v.kC)(s)}Scroll`;i&&l?(e.dataset[t]="true",e.removeAttribute(`data-${n}-scroll`),e.removeAttribute(`data-${s}-scroll`)):(e.dataset[`${n}Scroll`]=i.toString(),e.dataset[`${s}Scroll`]=l.toString(),e.removeAttribute(`data-${n}-${s}-scroll`))}else{let e=i&&l?"both":i?n:l?s:"none";e!==o.current&&(null==r||r(e),o.current=e)}},u=()=>{var t,i;let a=e.querySelector('ul[data-slot="list"]'),r=+(null!=(t=null==a?void 0:a.getAttribute("data-virtual-scroll-height"))?t:e.scrollHeight),o=+(null!=(i=null==a?void 0:a.getAttribute("data-virtual-scroll-top"))?i:e.scrollTop);for(let{type:t,prefix:i,suffix:a}of[{type:"vertical",prefix:"top",suffix:"bottom"},{type:"horizontal",prefix:"left",suffix:"right"}])if(l===t||"both"===l){let l="vertical"===t?o>n:e.scrollLeft>n,u="vertical"===t?o+e.clientHeight+n<r:e.scrollLeft+e.clientWidth+n<e.scrollWidth;s(t,l,u,i,a)}},d=()=>{["top","bottom","top-bottom","left","right","left-right"].forEach(t=>{e.removeAttribute(`data-${t}-scroll`)})};return u(),e.addEventListener("scroll",u,!0),"auto"!==a&&(d(),"both"===a?(e.dataset.topBottomScroll=String("vertical"===l),e.dataset.leftRightScroll=String("horizontal"===l)):(e.dataset.topBottomScroll="false",e.dataset.leftRightScroll="false",["top","bottom","left","right"].forEach(t=>{e.dataset[`${t}Scroll`]=String(a===t)}))),()=>{e.removeEventListener("scroll",u,!0),d()}},[...s,i,a,l,r,t])}({domRef:b,offset:d,visibility:c,isEnabled:p,onVisibilityChange:f,updateDeps:[r],overflowCheck:null!=(t=e.orientation)?t:"vertical"});let x=(0,m.useMemo)(()=>(0,G.w)({...l,className:s}),[(0,v.Xx)(l),s]);return{Component:n||"div",styles:x,domRef:b,children:r,getBaseProps:(t={})=>{var i;return{ref:b,className:x,"data-orientation":null!=(i=e.orientation)?i:"vertical",style:{"--scroll-shadow-size":`${u}px`,...o,...t.style},...g,...t}}}}({...P}),N=e=>{var t;let i=[...l.collection][e.index];if(!i)return null;let o={color:a,item:i,state:l,variant:n,disableAnimation:x,hideSelectedIcon:p,...i.props},u={position:"absolute",top:0,left:0,width:"100%",height:`${e.size}px`,transform:`translateY(${e.start}px)`};if("section"===i.type)return(0,g.jsx)(B,{...o,itemClasses:s,style:{...u,...o.style}},i.key);let d=(0,g.jsx)(I,{...o,classNames:(0,r.d)(s,null==(t=i.props)?void 0:t.classNames),shouldHighlightOnFocus:b,style:{...u,...o.style}},i.key);return i.wrapper&&(d=i.wrapper(d)),d},[T,D]=(0,m.useState)({isTop:!1,isBottom:!0,isMiddle:!1}),F=(0,g.jsxs)(i,{...M(),"data-virtual-scroll-height":V,"data-virtual-scroll-top":null==(t=null==k?void 0:k.current)?void 0:t.scrollTop,children:[!l.collection.size&&!c&&(0,g.jsx)("li",{children:(0,g.jsx)("div",{...w()})}),(0,g.jsx)("div",{...(0,f.z)(A()),ref:k,style:{height:z,overflow:"auto"},onScroll:e=>{D(Y(e.target))},children:W>0&&C>0&&(0,g.jsx)("div",{style:{height:`${V}px`,width:"100%",position:"relative"},children:j.map(e=>N(e))})})]});return(0,g.jsxs)("div",{...o(),children:[u,F,d]})},J=(0,y.Gp)(function(e,t){let{isVirtualized:i,...b}=e,y=function(e){var t;let i=(0,d.w)(),{ref:g,as:b,state:y,variant:x,color:w,onAction:M,children:P,onSelectionChange:S,disableAnimation:z=null!=(t=null==i?void 0:i.disableAnimation)&&t,itemClasses:C,className:W,topContent:k,bottomContent:E,emptyContent:I="No items.",hideSelectedIcon:_=!1,hideEmptyContent:B=!1,shouldHighlightOnFocus:O=!1,classNames:j,...V}=e,A=b||"ul",N="string"==typeof A,T=(0,h.gy)(g),D=(0,p.n)({...e,children:P,onSelectionChange:S}),R=y||D,{listBoxProps:F}=function(e,t,i){let d=(0,a.z)(e,{labelable:!0}),c=e.selectionBehavior||"toggle",p=e.linkBehavior||("replace"===c?"action":"override");"toggle"===c&&"action"===p&&(p="override");let{listProps:h}=(0,u._)({...e,ref:i,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:p}),{focusWithinProps:f}=(0,s.L)({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),m=(0,n.Me)(e.id);l.set(t,{id:m,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:p});let{labelProps:v,fieldProps:g}=(0,o.N)({...e,id:m,labelElementType:"span"});return{labelProps:v,listBoxProps:(0,r.d)(d,f,"multiple"===t.selectionManager.selectionMode?{"aria-multiselectable":"true"}:{},{role:"listbox",...(0,r.d)(g,h)})}}({...e,onAction:M},R,T),L=(0,m.useMemo)(()=>
4(0,c.GI)(),[]),K=(0,v.Wy)(null==j?void 0:j.base,W);return{Component:A,state:R,variant:x,color:w,slots:L,classNames:j,topContent:k,bottomContent:E,emptyContent:I,hideEmptyContent:B,shouldHighlightOnFocus:O,hideSelectedIcon:_,disableAnimation:z,className:W,itemClasses:C,getBaseProps:(e={})=>({ref:T,"data-slot":"base",className:L.base({class:K}),...(0,f.z)(V,{enabled:N}),...e}),getListProps:(e={})=>({"data-slot":"list",className:L.list({class:null==j?void 0:j.list}),...F,...e}),getEmptyContentProps:(e={})=>({"data-slot":"empty-content",children:I,className:L.emptyContent({class:null==j?void 0:j.emptyContent}),...e})}}({...b,ref:t}),{Component:x,state:w,color:M,variant:P,itemClasses:S,getBaseProps:z,topContent:C,bottomContent:W,hideEmptyContent:k,hideSelectedIcon:E,shouldHighlightOnFocus:_,disableAnimation:O,getEmptyContentProps:j,getListProps:V}=y;if(i)return(0,g.jsx)(Z,{...e,...y});let A=(0,g.jsxs)(x,{...V(),children:[!w.collection.size&&!k&&(0,g.jsx)("li",{children:(0,g.jsx)("div",{...j()})}),[...w.collection].map(e=>{var t;let i={color:M,item:e,state:w,variant:P,disableAnimation:O,hideSelectedIcon:E,...e.props};if("section"===e.type)return(0,g.jsx)(B,{...i,itemClasses:S},e.key);let l=(0,g.jsx)(I,{...i,classNames:(0,r.d)(S,null==(t=e.props)?void 0:t.classNames),shouldHighlightOnFocus:_},e.key);return e.wrapper&&(l=e.wrapper(l)),l})]});return(0,g.jsxs)("div",{...z(),children:[C,A,W]})})},9660:function(e,t,i){i.d(t,{j:function(){return n}});var l=i(92853),a=i(67294);function n(e){let t=(0,l.w)(),i=null==t?void 0:t.labelPlacement;return(0,a.useMemo)(()=>{var t,l;let a=null!=(l=null!=(t=e.labelPlacement)?t:i)?l:"inside";return"inside"!==a||e.label?a:"outside"},[e.labelPlacement,i,e.label])}},14868:function(e,t,i){i.d(t,{Q:function(){return s}});var l=i(9975),a=i(67294),n=i(69786),r=i(61718);function s(e,t,i){let{validationBehavior:s,focus:o}=e;(0,n.b)(()=>{if("native"===s&&(null==i?void 0:i.current)&&!i.current.disabled){var e;let l,a=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";i.current.setCustomValidity(a),i.current.hasAttribute("title")||(i.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation({isInvalid:!(e=i.current).validity.valid,validationDetails:{badInput:(l=e.validity).badInput,customError:l.customError,patternMismatch:l.patternMismatch,rangeOverflow:l.rangeOverflow,rangeUnderflow:l.rangeUnderflow,stepMismatch:l.stepMismatch,tooLong:l.tooLong,tooShort:l.tooShort,typeMismatch:l.typeMismatch,valueMissing:l.valueMissing,valid:l.valid},validationErrors:e.validationMessage?[e.validationMessage]:[]})}});let u=(0,r.i)(()=>{t.resetValidation()}),d=(0,r.i)(e=>{var a,n;t.displayValidation.isInvalid||t.commitValidation();let r=null==i?void 0:null===(a=i.current)||void 0===a?void 0:a.form;!e.defaultPrevented&&i&&r&&function(e){for(let t=0;t<e.elements.length;t++){let i=e.elements[t];if(!i.validity.valid)return i}return null}(r)===i.current&&(o?o():null===(n=i.current)||void 0===n||n.focus(),(0,l._w)("keyboard")),e.preventDefault()}),c=(0,r.i)(()=>{t.commitValidation()});(0,a.useEffect)(()=>{let e=null==i?void 0:i.current;if(!e)return;let t=e.form;return e.addEventListener("invalid",d),e.addEventListener("change",c),null==t||t.addEventListener("reset",u),()=>{e.removeEventListener("invalid",d),e.removeEventListener("change",c),null==t||t.removeEventListener("reset",u)}},[i,d,c,u,s])}},15967:function(e,t,i){i.d(t,{U:function(){return r}});var l=i(50912),a=i(9188),n=i(37127);function r(e){let{description:t,errorMessage:i,isInvalid:r,validationState:s}=e,{labelProps:o,fieldProps:u}=(0,l.N)(e),d=(0,a.mp)([!!t,!!i,r,s]),c=(0,a.mp)([!!t,!!i,r,s]);return{labelProps:o,fieldProps:u=(0,n.d)(u,{"aria-describedby":[d,c,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),descriptionProps:{id:d},errorMessageProps:{id:c}}}},50912:function(e,t,i){i.d(t,{N:function(){return n}});var l=i(9188),a=i(79955);function n(e){let{id:t,label:i,"aria-labelledby":n,"aria-label":r,labelElementType:s="label"}=e;t=(0,l.Me)(t);let o=(0,l.Me)(),u={};return i&&(n=n?`${o} ${n}`:o,u={id:o,htmlFor:"label"===s?t:void 0}),{labelProps:u,fieldProps:(0,a.b)({id:t,"aria-label":r,"aria-labelledby":n})}}},85952:function(e,t,i){i.d(t,{y:function(){return n}});var l=i(61718),a=i(67294);function n(e,t,i){let n=(0,a.useRef)(t),r=(0,l.i)(()=>{i&&i(n.current)});(0,a.useEffect)(()=>{var t;let i=null==e?void 0:null===(t=e.current)||void 0===t?void 0:t.form;return null==i||i.addEventListener("reset",r),()=>{null==i||i.removeEventListener("reset",r)}},[e,r])}},48750:function(e,t,i){i.d(t,{Q3:function(){return u},r7:function(){return s}});var l=i(67294);let a={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},n={...a,customError:!0,valid:!1}
4,r={isInvalid:!1,validationDetails:a,validationErrors:[]},s=(0,l.createContext)({}),o="__formValidationState"+Date.now();function u(e){if(e[o]){let{realtimeValidation:t,displayValidation:i,updateValidation:l,resetValidation:a,commitValidation:n}=e[o];return{realtimeValidation:t,displayValidation:i,updateValidation:l,resetValidation:a,commitValidation:n}}return function(e){let{isInvalid:t,validationState:i,name:a,value:o,builtinValidation:u,validate:h,validationBehavior:f="aria"}=e;i&&(t||(t="invalid"===i));let m=void 0!==t?{isInvalid:t,validationErrors:[],validationDetails:n}:null,v=(0,l.useMemo)(()=>h&&null!=o?c(function(e,t){if("function"==typeof e){let i=e(t);if(i&&"boolean"!=typeof i)return d(i)}return[]}(h,o)):null,[h,o]);(null==u?void 0:u.validationDetails.valid)&&(u=void 0);let g=(0,l.useContext)(s),b=(0,l.useMemo)(()=>a?Array.isArray(a)?a.flatMap(e=>d(g[e])):d(g[a]):[],[g,a]),[y,x]=(0,l.useState)(g),[w,M]=(0,l.useState)(!1);g!==y&&(x(g),M(!1));let P=(0,l.useMemo)(()=>c(w?[]:b),[w,b]),S=(0,l.useRef)(r),[z,C]=(0,l.useState)(r),W=(0,l.useRef)(r),[k,E]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{if(!k)return;E(!1);let e=v||u||S.current;p(e,W.current)||(W.current=e,C(e))}),{realtimeValidation:m||P||v||u||r,displayValidation:"native"===f?m||P||z:m||P||v||u||z,updateValidation(e){"aria"!==f||p(z,e)?S.current=e:C(e)},resetValidation(){p(r,W.current)||(W.current=r,C(r)),"native"===f&&E(!1),M(!0)},commitValidation(){"native"===f&&E(!0),M(!0)}}}(e)}function d(e){return e?Array.isArray(e)?e:[e]:[]}function c(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:n}:null}function p(e,t){return e===t||!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((e,i)=>e===t.validationErrors[i])&&Object.entries(e.validationDetails).every(([e,i])=>t.validationDetails[e]===i)}},5935:function(e,t,i){i.d(t,{n:function(){return o}});class l{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){var t;let i=this.keyMap.get(e);return i&&null!==(t=i.prevKey)&&void 0!==t?t:null}getKeyAfter(e){var t;let i=this.keyMap.get(e);return i&&null!==(t=i.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 i=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&"section"===e.type)for(let t of e.childNodes)i(t)};for(let t of e)i(t);let l=null,a=0;for(let[e,t]of this.keyMap)l?(l.nextKey=e,t.prevKey=l.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=a++),(l=t).nextKey=void 0;this.lastKey=null!==(t=null==l?void 0:l.key)&&void 0!==t?t:null}}var a=i(26642),n=i(21550),r=i(67294),s=i(19825);function o(e){let{filter:t,layoutDelegate:i}=e,o=(0,a.q)(e),u=(0,r.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),d=(0,r.useCallback)(e=>new l(t?t(e):e),[t]),c=(0,r.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),p=(0,s.K)(e,d,c),h=(0,r.useMemo)(()=>new n.Z(p,o,{layoutDelegate:i}),[p,o,i]);return function(e,t){let i=(0,r.useRef)(null);(0,r.useEffect)(()=>{if(null!=t.focusedKey&&!e.getItem(t.focusedKey)&&i.current){var l,a,n,r,s,o,u;let d=i.current.getItem(t.focusedKey),c=[...i.current.getKeys()].map(e=>{let t=i.current.getItem(e);return(null==t?void 0:t.type)==="item"?t:null}).filter(e=>null!==e),p=[...e.getKeys()].map(t=>{let i=e.getItem(t);return(null==i?void 0:i.type)==="item"?i:null}).filter(e=>null!==e),h=(null!==(l=null==c?void 0:c.length)&&void 0!==l?l:0)-(null!==(a=null==p?void 0:p.length)&&void 0!==a?a:0),f=Math.min(h>1?Math.max((null!==(n=null==d?void 0:d.index)&&void 0!==n?n:0)-h+1,0):null!==(r=null==d?void 0:d.index)&&void 0!==r?r:0,(null!==(s=null==p?void 0:p.length)&&void 0!==s?s:0)-1),m=null,v=!1;for(;f>=0;){if(!t.isDisabled(p[f].key)){m=p[f];break}f<p.length-1&&!v?f++:(v=!0,f>(null!==(o=null==d?void 0:d.index)&&void 0!==o?o:0)&&(f=null!==(u=null==d?void 0:d.index)&&void 0!==u?u:0),f--)}t.setFocusedKey(m?m.key:null)}i.current=e},[e,t])}(p,h),{collection:p,disabledKeys:u,selectionManager:h}}},56999:function(e,t,i){i.d(t,{t:function(){return l}});let l=new Set(["opacity","clipPath","filter","transform"])},36123:function(e,t,i){i.d(t,{S:function(){return c}});var l=i(85893),a=i(67294),n=i(25364),r=i(24982),s=i(72930);let o=e=>!e.isLayoutDirty&&e.willUpdate(!1),u=e=>!0===e,d=e=>u(!0===e)||"id"===e,c=({children:e,id:t,inherit:i=!0})=>{let c=(0,a.useContext)(n.p),p=(0,a.useContext)(r.p),[h,f]=(0,s.N)(),m=(0,a.useRef)(null),v=c.id||p;null===m.current&&(d(i)&&v&&(t=t?v+"-"+t:v),m.current={id:t,group:u(i)&&c.group||function(){let e=new Set,t=new WeakMap,i=()=>e.forEach(o);return{add:l=>{e.add(l),t.set(l,l.addEventListener("willUpdate",i))},remove:l=>{e.delete(l);let a=t.get(l);a&&(a(),t.delete(l)),i()},dirty:i}}()});let g=(0,a.useMemo)(()=>({...m.current,forceRender:h}),[f]);return(0,l.jsx)(n.p.Provider,{value:g,children:e})}},24982:function(e,t,i){i.d(t,{p:function(){return a}});var l=i(67294);let a=(0,l.createContext)(null)},1117:function(e,t,i){let l;i.d(t,{X:function(){return s}});var a=i(22081),n=i(26166);function r(){l=void 0}let s={now:()=>(void 0===l&&s.set(n.frameData.isProcessing||a.c.useManualTiming?n.frameData.timestamp:performance.now()),l),set:e=>{l=e,queueMicrotask(r)}}},10010:function(e,t,i){function l(e,t){-1===e.indexOf(t)&&e.push(t)}function a(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}function n([...e],t,i){let l=t<0?e.length+t:t;if(l>=0&&l<e.length){let l=i<0?e.length+i:i,[a]=e.splice(t,1);e.splice(l,0,a)}return e}i.d(t,{cl:function(){return a},uo:function(){return n},y4:function(){return l}})},21560:function(e,t,i){i.d(t,{L:function(){return a}});var l=i(10010);class a{constructor(){this.subscriptions=[]}add(e){return(0,l.y4)(this.subscriptions,e),()=>(0,l.cl)(this.subscriptions,e)}notify(e,t,i){let l=this.subscriptions.length;if(l){if(1===l)this.subscriptions[0](e,t,i);else for(let a=0;a<l;a++){let l=this.subscriptions[a];l&&l(e,t,i)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},72930:function(e,t,i){i.d(t,{N:function(){return r}});var l=i(67294),a=i(58868),n=i(26166);function r(){let e=function(){let e=(0,l.useRef)(!1);return(0,a.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}(),[t,i]=(0,l.useState)(0),r=(0,l.useCallback)(()=>{e.current&&i(t+1)},[t]),s=(0,l.useCallback)(()=>n.Wi.postRender(r),[r]);return[s,t]}},3038:function(e,t,i){i.d(t,{R:function(){return l}});function l(e,t){return t?e*(1e3/t):0}},33234:function(e,t,i){i.d(t,{BX:function(){return d},Hg:function(){return u},S1:function(){return o}});var l=i(1117),a=i(21560),n=i(3038),r=i(26166);let s=e=>!isNaN(parseFloat(e)),o={current:void 0};class u{constructor(e,t={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let i=l.X.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=l.X.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=s(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new a.L);let i=this.events[e].add(t);return"change"===e?()=>{i(),r.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,i){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return o.current&&o.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=l.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,n.R)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function d(e,t){return new u(e,t)}}}]);
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.