1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[986],{94843:function(e,n,t){t.d(n,{E:function(){return v},X:function(){return c}});var o=t(85893),a=t(52110),i=t(34926),r=t(67294),u=t(8194),d=t(49381),l=t(37430);let[s,c]=(0,a.k)({name:"RadioGroupContext",strict:!1}),v=(0,d.G)((e,n)=>{let{colorScheme:t,size:a,variant:d,children:c,className:v,isDisabled:f,isFocusable:p,...b}=e,{value:y,onChange:h,getRootProps:k,name:m,htmlProps:E}=(0,u.a)(b),w=(0,r.useMemo)(()=>({name:m,size:a,onChange:h,colorScheme:t,value:y,variant:d,isDisabled:f,isFocusable:p}),[m,a,h,t,y,d,f,p]);return(0,o.jsx)(s,{value:w,children:(0,o.jsx)(l.m.div,{...k(E,n),className:(0,i.cx)("chakra-radio-group",v),children:c})})});v.displayName="RadioGroup"},8194:function(e,n,t){t.d(n,{a:function(){return useRadioGroup}});var o=t(29062),a=t(79115),i=t(67294);function useRadioGroup(e={}){let{onChange:n,value:t,defaultValue:r,name:u,isDisabled:d,isFocusable:l,isNative:s,...c}=e,[v,f]=(0,i.useState)(r||""),p=void 0!==t,b=p?t:v,y=(0,i.useRef)(null),h=(0,i.useCallback)(()=>{let e=y.current;if(!e)return;let n="input:not(:disabled):checked",t=e.querySelector(n);if(t){t.focus();return}n="input:not(:disabled)";let o=e.querySelector(n);o?.focus()},[]),k=(0,i.useId)(),m=`radio-${k}`,E=u||m,w=(0,i.useCallback)(e=>{let t=e&&(0,a.Kn)(e)&&(0,a.Kn)(e.target)?e.target.value:e;p||f(t),n?.(String(t))},[n,p]),g=(0,i.useCallback)((e={},n=null)=>({...e,ref:(0,o.lq)(n,y),role:"radiogroup"}),[]),P=(0,i.useCallback)((e={},n=null)=>{let t=s?"checked":"isChecked";return{...e,ref:n,name:E,[t]:null!=b?e.value===b:void 0,onChange(e){w(e)},"data-radiogroup":!0}},[s,E,w,b]);return{getRootProps:g,getRadioProps:P,name:E,ref:y,focus:h,setValue:f,value:b,onChange:w,isDisabled:d,isFocusable:l,htmlProps:c}}},80986:function(e,n,t){t.d(n,{x:function(){return useRadio}});var o=t(20397),a=t(68928),i=t(12934),r=t(67294),u=t(94843),d=t(54506),l=t(93007);function useRadio(e={}){let{defaultChecked:n,isChecked:t,isFocusable:s,isDisabled:c,isReadOnly:v,isRequired:f,onChange:p,isInvalid:b,name:y,value:h,id:k,"data-radiogroup":m,"aria-describedby":E,...w}=e,g=`radio-${(0,r.useId)()}`,P=(0,d.NJ)(),C=(0,u.X)(),L=P&&!(C||m)?P.id:g;L=k??L;let M=c??P?.isDisabled,R=v??P?.isReadOnly,D=f??P?.isRequired,K=b??P?.isInvalid,[S,F]=(0,r.useState)(!1),[x,q]=(0,r.useState)(!1),[N,T]=(0,r.useState)(!1),[B,A]=(0,r.useState)(!!n),G=void 0!==t,I=G?t:B,V=(0,r.useRef)(!1);(0,r.useEffect)(()=>(0,i.BT)(e=>{V.current=e}),[]);let H=(0,r.useCallback)(e=>{if(R||M){e.preventDefault();return}G||A(e.currentTarget.checked),p?.(e)},[G,M,R,p]),U=(0,r.useCallback)(e=>{" "===e.key&&T(!0)},[T]),W=(0,r.useCallback)(e=>{" "===e.key&&T(!1)},[T]),_=(0,r.useCallback)((e={},n=null)=>({...e,ref:n,"data-active":(0,o.P)(N),"data-hover":(0,o.P)(x),"data-disabled":(0,o.P)(M),"data-invalid":(0,o.P)(K),"data-checked":(0,o.P)(I),"data-focus":(0,o.P)(S),"data-focus-visible":(0,o.P)(S&&V.current),"data-readonly":(0,o.P)(R),"aria-hidden":!0,onMouseDown:(0,a.v)(e.onMouseDown,()=>T(!0)),onMouseUp:(0,a.v)(e.onMouseUp,()=>T(!1)),onMouseEnter:(0,a.v)(e.onMouseEnter,()=>q(!0)),onMouseLeave:(0,a.v)(e.onMouseLeave,()=>q(!1))}),[N,x,M,K,I,S,R]),{onFocus:O,onBlur:Q}=P??{},j=(0,r.useCallback)((e={},n=null)=>{let t=M&&!s;return{...e,id:L,ref:n,type:"radio",name:y,value:h,onChange:(0,a.v)(e.onChange,H),onBlur:(0,a.v)(Q,e.onBlur,()=>F(!1)),onFocus:(0,a.v)(O,e.onFocus,()=>F(!0)),onKeyDown:(0,a.v)(e.onKeyDown,U),onKeyUp:(0,a.v)(e.onKeyUp,W),checked:I,disabled:t,readOnly:R,required:D,"aria-invalid":(0,o.Q)(K),"aria-disabled":(0,o.Q)(t),"aria-required":(0,o.Q)(D),"data-readonly":(0,o.P)(R),"aria-describedby":E,style:l.N}},[M,s,L,y,h,H,Q,O,U,W,I,R,D,K,E]);return{state:{isInvalid:K,isFocused:S,isChecked:I,isActive:N,isHovered:x,isDisabled:M,isReadOnly:R,isRequired:D},getRadioProps:_,getInputProps:j,getLabelProps:(e={},n=null)=>({...e,ref:n,onMouseDown:(0,a.v)(e.onMouseDown,stopEvent),"data-disabled":(0,o.P)(M),"data-checked":(0,o.P)(I),"data-invalid":(0,o.P)(K)}),getRootProps:(e,n=null)=>({htmlFor:L,...e,ref:n,"data-disabled":(0,o.P)(M),"data-checked":(0,o.P)(I),"data-invalid":(0,o.P)(K)}),htmlProps:w}}function stopEvent(e){e.preventDefault(),e.stopPropagation()}},93007:function(e,n,t){t.d(n,{N:function(){return o}});let o={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",
1whiteSpace:"nowrap",position:"absolute"}},68928:function(e,n,t){function callAll(...e){return function(...n){e.forEach(e=>e?.(...n))}}function callAllHandlers(...e){return function(n){e.some(e=>(e?.(n),n?.defaultPrevented))}}t.d(n,{P:function(){return callAll},v:function(){return callAllHandlers}})},12934:function(e,n,t){t.d(n,{BT:function(){return trackFocusVisible}});var isDom=()=>"undefined"!=typeof document,o=!1,a=null,i=!1,r=!1,u=new Set;function trigger(e,n){u.forEach(t=>t(e,n))}var d="undefined"!=typeof window&&null!=window.navigator&&/^Mac/.test(window.navigator.platform);function onKeyboardEvent(e){i=!0,e.metaKey||!d&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(a="keyboard",trigger("keyboard",e))}function onPointerEvent(e){if(a="pointer","mousedown"===e.type||"pointerdown"===e.type){i=!0;let n=e.composedPath?e.composedPath()[0]:e.target,t=!1;try{t=n.matches(":focus-visible")}catch{}t||trigger("pointer",e)}}function onClickEvent(e){(0===e.mozInputSource&&e.isTrusted||0===e.detail&&!e.pointerType)&&(i=!0,a="virtual")}function onWindowFocus(e){e.target===window||e.target===document||e.target instanceof Element&&e.target.hasAttribute("tabindex")||(i||r||(a="virtual",trigger("virtual",e)),i=!1,r=!1)}function onWindowBlur(){i=!1,r=!0}function isFocusVisible(){return"pointer"!==a}function trackFocusVisible(e){!function(){if(!isDom()||o)return;let{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...n){i=!0,e.apply(this,n)},document.addEventListener("keydown",onKeyboardEvent,!0),document.addEventListener("keyup",onKeyboardEvent,!0),document.addEventListener("click",onClickEvent,!0),window.addEventListener("focus",onWindowFocus,!0),window.addEventListener("blur",onWindowBlur,!1),"undefined"!=typeof PointerEvent?(document.addEventListener("pointerdown",onPointerEvent,!0),document.addEventListener("pointermove",onPointerEvent,!0),document.addEventListener("pointerup",onPointerEvent,!0)):(document.addEventListener("mousedown",onPointerEvent,!0),document.addEventListener("mousemove",onPointerEvent,!0),document.addEventListener("mouseup",onPointerEvent,!0)),o=!0}(),e(isFocusVisible());let handler=()=>e(isFocusVisible());return u.add(handler),()=>{u.delete(handler)}}}}]);
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.