1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5225],{59313:function(e,t,n){n.d(t,{Ee:function(){return b},Y8:function(){return k}});var a=n(66840),r=n(69643),o=n(60859),u=n(83077),l=n(21849),i=n(76837),c=n(66832),s=(...e)=>e.filter(Boolean).join(" ");function d(e){let t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}var f=e=>e?"":void 0,p=e=>!!e||void 0;function v(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}var[h,g]=(0,u.k)({name:"RadioGroupContext",strict:!1}),b=(0,r.Gp)((e,t)=>{let{colorScheme:n,size:o,variant:u,children:i,className:c,isDisabled:f,isFocusable:p,...v}=e,{value:g,onChange:b,getRootProps:m,name:y,htmlProps:k}=function(e={}){let{onChange:t,value:n,defaultValue:r,name:o,isDisabled:u,isFocusable:i,isNative:c,...s}=e,[f,p]=(0,a.useState)(r||""),v=void 0!==n,h=v?n:f,g=(0,a.useRef)(null),b=(0,a.useCallback)(()=>{let e=g.current;if(!e)return;let t="input:not(:disabled):checked",n=e.querySelector(t);if(n){n.focus();return}t="input:not(:disabled)";let a=e.querySelector(t);null==a||a.focus()},[]),m=(0,a.useId)(),y=`radio-${m}`,k=o||y,w=(0,a.useCallback)(e=>{let n=e&&d(e)&&d(e.target)?e.target.value:e;v||p(n),null==t||t(String(n))},[t,v]);return{getRootProps:(0,a.useCallback)((e={},t=null)=>({...e,ref:(0,l.lq)(t,g),role:"radiogroup"}),[]),getRadioProps:(0,a.useCallback)((e={},t=null)=>{let n=c?"checked":"isChecked";return{...e,ref:t,name:k,[n]:null!=h?e.value===h:void 0,onChange(e){w(e)},"data-radiogroup":!0}},[c,k,w,h]),name:k,ref:g,focus:b,setValue:p,value:h,onChange:w,isDisabled:u,isFocusable:i,htmlProps:s}}(v),w=(0,a.useMemo)(()=>({name:y,size:o,onChange:b,colorScheme:n,value:g,variant:u,isDisabled:f,isFocusable:p}),[y,o,b,n,g,u,f,p]);return a.createElement(h,{value:w},a.createElement(r.m$.div,{...m(k,t),className:s("chakra-radio-group",c)},i))});b.displayName="RadioGroup";var m={border:"0px",clip:"rect(0px, 0px, 0px, 0px)",height:"1px",width:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"};function y(e){e.preventDefault(),e.stopPropagation()}(0,r.m$)("span",{baseStyle:m}).displayName="VisuallyHidden",(0,r.m$)("input",{baseStyle:m}).displayName="VisuallyHiddenInput";var k=(0,r.Gp)((e,t)=>{let n=g(),{onChange:u,value:l}=e,s=(0,r.jC)("Radio",{...n,...e}),{spacing:d="0.5rem",children:h,isDisabled:b=null==n?void 0:n.isDisabled,isFocusable:k=null==n?void 0:n.isFocusable,inputProps:w,...C}=(0,o.Lr)(e),S=e.isChecked;(null==n?void 0:n.value)!=null&&null!=l&&(S=n.value===l);let D=u;(null==n?void 0:n.onChange)&&null!=l&&(D=function(...e){return function(t){e.forEach(e=>{null==e||e(t)})}}(n.onChange,u));let x=(null==e?void 0:e.name)??(null==n?void 0:n.name),{getInputProps:E,getCheckboxProps:N,getLabelProps:_,getRootProps:R,htmlProps:M}=function(e={}){let{defaultChecked:t,isChecked:n,isFocusable:r,isDisabled:o,isReadOnly:u,isRequired:l,onChange:s,isInvalid:d,name:h,value:b,id:k,"data-radiogroup":w,"aria-describedby":C,...S}=e,D=`radio-${(0,a.useId)()}`,x=(0,i.NJ)(),E=g(),N=x&&!(E||w)?x.id:D;N=k??N;let _=o??(null==x?void 0:x.isDisabled),R=u??(null==x?void 0:x.isReadOnly),M=l??(null==x?void 0:x.isRequired),P=d??(null==x?void 0:x.isInvalid),[j,I]=(0,a.useState)(!1),[O,A]=(0,a.useState)(!1),[B,q]=(0,a.useState)(!1),[$,L]=(0,a.useState)(!1),[F,T]=(0,a.useState)(!!t),K=void 0!==n,U=K?n:F;(0,a.useEffect)(()=>(0,c.B)(I),[]);let G=(0,a.useCallback)(e=>{if(R||_){e.preventDefault();return}K||T(e.target.checked),null==s||s(e)},[K,_,R,s]),Z=(0,a.useCallback)(e=>{" "===e.key&&L(!0)},[L]),z=(0,a.useCallback)(e=>{" "===e.key&&L(!1)},[L]),H=(0,a.useCallback)((e={},t=null)=>({...e,ref:t,"data-active":f($),"data-hover":f(B),"data-disabled":f(_),"data-invalid":f(P),"data-checked":f(U),"data-focus":f(O),"data-focus-visible":f(O&&j),"data-readonly":f(R),"aria-hidden":!0,onMouseDown:v(e.onMouseDown,()=>L(!0)),onMouseUp:v(e.onMouseUp,()=>L(!1)),onMouseEnter:v(e.onMouseEnter,()=>q(!0)),onMouseLeave:v(e.onMouseLeave,()=>q(!1))}),[$,B,_,P,U,O,R,j]),{onFocus:V,onBlur:J}=x??{},Y=(0,a.useCallback)((e={},t=null)=>{let n=_&&!r;return{...e,id:N,ref:t,type:"radio",name:h,value:b,onChange:v(e.onChange,G),onBlur:v(J,e.onBlur,()=>A(!1)),onFocus:v(V,e.onFocus,()=>A(!0)),onKeyDown:v(e.onKeyDown,Z),onKeyUp:v(e.onKeyUp,z),checked:U,disabled:n,readOnly:R,required:M,"aria-invalid":p(P),"aria-disabled":p(n),"aria-required":p(M),"data-readonly":f(R),"aria-describedby":C,style:m}},[_,r,N,h,b,G,J,V,Z,z,U,R,M,P,C]);return{state:{isInvalid:P,isFocused:O,isChecked:U,isActive:$,isHovered:B,isDisabled:_,isReadOnly:R,isRequired:M},getCheckboxProps:H,getInputProps:Y,getLabelProps:(e={},t=null)=>({...e,ref:t,onMouseDown:v(e.onMouseDown,y),onTouchStart:v(e.onTouchStart,y),"data-disabled":f(_),"data-checked":f(U),"data-invalid":f(P)}),getRootProps:(e,t=null)=>({...e,ref:t,"data-disabled":f(_),"data-checked":f(U),"data-invalid":f(P)}),htmlProps:S}}({...C,isChecked:S,isFocusable:k,isDisabled:b,onChange:D,name:x}),[P,j]=function(e,t){let n={},a={};for(let[r,o]of Object.entries(e))t.includes(r)?n[r]=o:a[r]=o;return[n,a]}(M,o.oE),I=N(j),O=E(w,t),A=_(),B=Object.assign({},P,R()),q={display:"inline-flex",alignItems:"center",verticalAlign:"top",cursor:"pointer",position:"relative",...s.container},$={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,...s.control},L={userSelect:"none",marginStart:d,...s.label};return a.createElement(r.m$.label,{className:"chakra-radio",...B,__css:q},a.createElement("input",{className:"chakra-radio__input",...O}),a.createElement(r.m$.span,{className:"chakra-radio__control",...I,__css:$}),h&&a.createElement(r.m$.span,{className:"chakra-radio__label",...A,__css:L},h))});k.displayName="Radio"},5970:function(e,t,n){n.d(t,{Z:function(){return o}});var a=n(66840),r=function(e){return"object"==typeof e&&null!==e},o=function(e){var t=e.value,n=void 0===t?"":t,o=e.numInputs,u=void 0===o?4:o,l=e.onChange,i=e.onPaste,c=e.renderInput,s=e.shouldAutoFocus,d=void 0!==s&&s,f=e.inputType,p=void 0===f?"text":f,v=e.renderSeparator,h=e.placeholder,g=e.containerStyle,b=e.inputStyle,m=e.skipDefaultStyles,y=void 0!==m&&m,k=a.useState(0),w=k[0],C=k[1],S=a.useRef([]),D=function(){return n?n.toString().split(""):[]},x="number"===p||"tel"===p;a.useEffect(function(){S.current=S.current.slice(0,u)},[u]),a.useEffect(function(){var e;d&&(null===(e=S.current[0])||void 0===e||e.focus())},[d]);var E=function(){if("string"==typeof h){if(h.length===u)return h;h.length>0&&console.error("Length of the placeholder should be equal to the number of inputs.")}},N=function(e){return(x?!isNaN(Number(e)):"string"==typeof e)&&1===e.trim().length},_=function(e){var t=e.target.value;N(t)&&(I(t),j(w+1))},R=function(e){var t=e.nativeEvent,n=e.target.value;N(n)||(n.length!==u||n.split("").some(function(e){return!N(e)})||(O(n.split("")),j(u-1)),null===t.data&&"deleteContentBackward"===t.inputType&&(e.preventDefault(),I(""),j(w-1)),e.target.value="")},M=function(){C(w-1)},P=function(e){var t=D();[e.code,e.key].includes("Backspace")?(e.preventDefault(),I(""),j(w-1)):"Delete"===e.code?(e.preventDefault(),I("")):"ArrowLeft"===e.code?(e.preventDefault(),j(w-1)):"ArrowRight"===e.code?(e.preventDefault(),j(w+1)):e.key===t[w]?(e.preventDefault(),j(w+1)):("Spacebar"===e.code||"
1Space"===e.code||"ArrowUp"===e.code||"ArrowDown"===e.code)&&e.preventDefault()},j=function(e){var t,n,a=Math.max(Math.min(u-1,e),0);S.current[a]&&(null===(t=S.current[a])||void 0===t||t.focus(),null===(n=S.current[a])||void 0===n||n.select(),C(a))},I=function(e){var t=D();t[w]=e[0],O(t)},O=function(e){l(e.join(""))},A=function(e){e.preventDefault();var t,n=D(),a=w,r=e.clipboardData.getData("text/plain").slice(0,u-w).split("");if(!(x&&r.some(function(e){return isNaN(Number(e))}))){for(var o=0;o<u;++o)o>=w&&r.length>0&&(n[o]=null!==(t=r.shift())&&void 0!==t?t:"",a++);j(a),O(n)}};return a.createElement("div",{style:Object.assign({display:"flex",alignItems:"center"},r(g)&&g),className:"string"==typeof g?g:void 0,onPaste:i},Array.from({length:u},function(e,t){return t}).map(function(e){var t,n,o;return a.createElement(a.Fragment,{key:e},c({value:null!==(t=D()[e])&&void 0!==t?t:"",placeholder:null!==(o=null===(n=E())||void 0===n?void 0:n[e])&&void 0!==o?o:void 0,ref:function(t){return S.current[e]=t},onChange:_,onFocus:function(t){C(e),t.target.select()},onBlur:M,onKeyDown:P,onPaste:A,autoComplete:"off","aria-label":"Please enter OTP character ".concat(e+1),style:Object.assign(y?{}:{width:"1em",textAlign:"center"},r(b)?b:{}),className:"string"==typeof b?b:void 0,type:p,inputMode:x?"numeric":"text",onInput:R},e),e<u-1&&("function"==typeof v?v(e):v))}))}},12695:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var a=n(66840),r=n(37528).isBrowser?a.useLayoutEffect:a.useEffect;t.default=r},11676:function(e,t,n){var a=n(69601),r=n(66840),o=a.__importDefault(n(12695)),u=n(37528),l={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};t.Z=u.isBrowser&&void 0!==window.ResizeObserver?function(){var e=r.useState(null),t=e[0],n=e[1],a=r.useState(l),u=a[0],i=a[1],c=r.useMemo(function(){return new window.ResizeObserver(function(e){if(e[0]){var t=e[0].contentRect;i({x:t.x,y:t.y,width:t.width,height:t.height,top:t.top,left:t.left,bottom:t.bottom,right:t.right})}})},[]);return o.default(function(){if(t)return c.observe(t),function(){c.disconnect()}},[t]),[n,u]}:function(){return[u.noop,l]}},617:function(e,t,n){var a=n(66840);t.Z=function(){var e=a.useRef(!1),t=a.useCallback(function(){return e.current},[]);return a.useEffect(function(){return e.current=!0,function(){e.current=!1}},[]),t}},43801:function(e,t,n){n.d(t,{Z:function(){return a}});function a(e){if(null==e)throw TypeError("Cannot destructure "+e)}}}]);
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.