1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[330],{519:function(e,r,t){t.d(r,{Z:function(){return n}});let n=(0,t(9205).Z)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},2095:function(e,r,t){t.d(r,{z$:function(){return en},ck:function(){return et},fC:function(){return er}});var n=t(2265),o=t(6741),a=t(8575),u=t(3966),i=t(6840),l=t(7822),s=t(9255),c=t(6606),d=t(886),f=t(9114),p=t(7437),v="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},w="RovingFocusGroup",[h,b,y]=(0,l.B)(w),[g,k]=(0,u.b)(w,[y]),[R,x]=g(w),E=n.forwardRef((e,r)=>(0,p.jsx)(h.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(h.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(j,{...e,ref:r})})}));E.displayName=w;var j=n.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,orientation:u,loop:l=!1,dir:s,currentTabStopId:w,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:y,onEntryFocus:g,preventScrollOnEntryFocus:k=!1,...x}=e,E=n.useRef(null),j=(0,a.e)(r,E),C=(0,f.gm)(s),[I=null,A]=(0,d.T)({prop:w,defaultProp:h,onChange:y}),[D,M]=n.useState(!1),T=(0,c.W)(g),L=b(t),S=n.useRef(!1),[N,P]=n.useState(0);return n.useEffect(()=>{let e=E.current;if(e)return e.addEventListener(v,T),()=>e.removeEventListener(v,T)},[T]),(0,p.jsx)(R,{scope:t,orientation:u,dir:C,loop:l,currentTabStopId:I,onItemFocus:n.useCallback(e=>A(e),[A]),onItemShiftTab:n.useCallback(()=>M(!0),[]),onFocusableItemAdd:n.useCallback(()=>P(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>P(e=>e-1),[]),children:(0,p.jsx)(i.WV.div,{tabIndex:D||0===N?-1:0,"data-orientation":u,...x,ref:j,style:{outline:"none",...e.style},onMouseDown:(0,o.M)(e.onMouseDown,()=>{S.current=!0}),onFocus:(0,o.M)(e.onFocus,e=>{let r=!S.current;if(e.target===e.currentTarget&&r&&!D){let r=new CustomEvent(v,m);if(e.currentTarget.dispatchEvent(r),!r.defaultPrevented){let e=L().filter(e=>e.focusable);F([e.find(e=>e.active),e.find(e=>e.id===I),...e].filter(Boolean).map(e=>e.ref.current),k)}}S.current=!1}),onBlur:(0,o.M)(e.onBlur,()=>M(!1))})})}),C="RovingFocusGroupItem",I=n.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,focusable:a=!0,active:u=!1,tabStopId:l,...c}=e,d=(0,s.M)(),f=l||d,v=x(C,t),m=v.currentTabStopId===f,w=b(t),{onFocusableItemAdd:y,onFocusableItemRemove:g}=v;return n.useEffect(()=>{if(a)return y(),()=>g()},[a,y,g]),(0,p.jsx)(h.ItemSlot,{scope:t,id:f,focusable:a,active:u,children:(0,p.jsx)(i.WV.span,{tabIndex:m?0:-1,"data-orientation":v.orientation,...c,ref:r,onMouseDown:(0,o.M)(e.onMouseDown,e=>{a?v.onItemFocus(f):e.preventDefault()}),onFocus:(0,o.M)(e.onFocus,()=>v.onItemFocus(f)),onKeyDown:(0,o.M)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){v.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let r=function(e,r,t){var n;let o=(n=e.key,"rtl"!==t?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===r&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===r&&["ArrowUp","ArrowDown"].includes(o)))return A[o]}(e,v.orientation,v.dir);if(void 0!==r){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=w().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===r)o.reverse();else if("prev"===r||"next"===r){var t,n;"prev"===r&&o.reverse();let a=o.indexOf(e.currentTarget);o=v.loop?(t=o,n=a+1,t.map((e,r)=>t[(n+r)%t.length])):o.slice(a+1)}setTimeout(()=>F(o))}})})})});I.displayName=C;var A={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function F(e){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=document.activeElement;for(let n of e)if(n===t||(n.focus({preventScroll:r}),document.activeElement!==t))return}var D=t(420),M=t(6718),T=t(1599),L="Radio",[S,N]=(0,u.b)(L),[P,G]=S(L),K=n.forwardRef((e,r)=>{let{__scopeRadio:t,name:u,checked:l=!1,required:s,disabled:c,value:d="on",onCheck:f,...v}=e,[m,w]=n.useState(null),h=(0,a.e)(r,e=>w(e)),b=n.useRef(!1),y=!m||!!m.closest("form");return(0,p.jsxs)(P,{scope:t,checked:l,disabled:c,children:[(0,p.jsx)(i.WV.button,{type:"button",role:"radio","aria-checked":l,"data-state":B(l),"data-disabled":c?"":void 0,disabled:c,value:d,...v,ref:h,onClick:(0,o.M)(e.onClick,e=>{l||null==f||f(),y&&(b.current=e.isPropagationStopped(),b.current||e.stopPropagation())})}),y&&(0,p.jsx)(W,{control:m,bubbles:!b.current,name:u,value:d,checked:l,required:s,disabled:c,style:{transform:"translateX(-100%)"}})]})});K.displayName=L;var _="RadioIndicator",V=n.forwardRef((e,r)=>{let{__scopeRadio:t,forceMount:n,...o}=e,a=G(_,t);return(0,p.jsx)(T.z,{present:n||a.checked,children:(0,p.jsx)(i.WV.span,{"data-state":B(a.checked),"data-disabled":a.disabled?"":void 0,...o,ref:r})})});V.displayName=_;var W=e=>{let{control:r,checked:t,bubbles:o=!0,...a}=e,u=n.useRef(null),i=(0,M.D)(t),l=(0,D.t)(r);return n.useEffect(()=>{let e=u.current,r=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(i!==t&&r){let n=new Event("click",{bubbles:o});r.call(e,t),e.dispatchEvent(n)}},[i,t,o]),(0,p.jsx)("input",{type:"radio","aria-hidden":!0,defaultChecked:t,...a,tabIndex:-1,ref:u,style:{...e.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function B(e){return e?"checked":"unchecked"}var U=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],q="RadioGroup",[z,O]=(0,u.b)(q,[k,N]),H=k(),Z=N(),[X,$]=z(q),J=n.forwardRef((e,r)=>{let{__scopeRadioGroup:t,name:n,defaultValue:o,value:a,required:u=!1,disabled:l=!1,orientation:s,dir:c,loop:v=!0,onValueChange:m,...w}=e,h=H(t),b=(0,f.gm)(c),[y,g]=(0,d.T)({prop:a,defaultProp:o,onChange:m});return(0,p.jsx)(X,{scope:t,name:n,required:u,disabled:l,value:y,onValueChange:g,children:(0,p.jsx)(E,{asChild:!0,...h,orientation:s,dir:b,loop:v,children:(0,p.jsx)(i.WV.div,{role:"radiogroup","aria-required":u,"aria-orientation":s,"data-disabled":l?"":void 0,dir:b,...w,ref:r})})})});J.displayName=q;var Q="RadioGroupItem",Y=n.forwardRef((e,r)=>{let{__scopeRadioGroup:t,disabled:u,...i}=e,l=$(Q,t),s=l.disabled||u,c=H(t),d=Z(t),f=n.useRef(null),v=(0,a.e)(r,f),m=l.value===i.value,w=n.useRef(!1);return n.useEffect(()=>{let e=e=>
1{U.includes(e.key)&&(w.current=!0)},r=()=>w.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",r),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",r)}},[]),(0,p.jsx)(I,{asChild:!0,...c,focusable:!s,active:m,children:(0,p.jsx)(K,{disabled:s,required:l.required,checked:m,...d,...i,name:l.name,ref:v,onCheck:()=>l.onValueChange(i.value),onKeyDown:(0,o.M)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,o.M)(i.onFocus,()=>{var e;w.current&&(null===(e=f.current)||void 0===e||e.click())})})})});Y.displayName=Q;var ee=n.forwardRef((e,r)=>{let{__scopeRadioGroup:t,...n}=e,o=Z(t);return(0,p.jsx)(V,{...o,...n,ref:r})});ee.displayName="RadioGroupIndicator";var er=J,et=Y,en=ee}}]);
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.