1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8224],{31470:(e,r,t)=>{t.d(r,{C1:()=>en,q7:()=>et,bL:()=>er});var n=t(12115),o=t(93610),a=t(88068),l=t(18166),s=t(23360),i=t(18050),u=t(67668),c=t(41524),d=t(1488),f=t(4256),p=t(95155),v="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},h="RovingFocusGroup",[b,w,y]=(0,i.N)(h),[k,R]=(0,l.A)(h,[y]),[g,x]=k(h),j=n.forwardRef((e,r)=>(0,p.jsx)(b.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(b.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(E,{...e,ref:r})})}));j.displayName=h;var E=n.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,orientation:l,loop:i=!1,dir:u,currentTabStopId:b,defaultCurrentTabStopId:y,onCurrentTabStopIdChange:k,onEntryFocus:R,preventScrollOnEntryFocus:x=!1,...j}=e,E=n.useRef(null),C=(0,a.s)(r,E),I=(0,f.jH)(u),[A,F]=(0,d.i)({prop:b,defaultProp:null!=y?y:null,onChange:k,caller:h}),[D,G]=n.useState(!1),S=(0,c.c)(R),L=w(t),N=n.useRef(!1),[T,P]=n.useState(0);return n.useEffect(()=>{let e=E.current;if(e)return e.addEventListener(v,S),()=>e.removeEventListener(v,S)},[S]),(0,p.jsx)(g,{scope:t,orientation:l,dir:I,loop:i,currentTabStopId:A,onItemFocus:n.useCallback(e=>F(e),[F]),onItemShiftTab:n.useCallback(()=>G(!0),[]),onFocusableItemAdd:n.useCallback(()=>P(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>P(e=>e-1),[]),children:(0,p.jsx)(s.sG.div,{tabIndex:D||0===T?-1:0,"data-orientation":l,...j,ref:C,style:{outline:"none",...e.style},onMouseDown:(0,o.mK)(e.onMouseDown,()=>{N.current=!0}),onFocus:(0,o.mK)(e.onFocus,e=>{let r=!N.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);K([e.find(e=>e.active),e.find(e=>e.id===A),...e].filter(Boolean).map(e=>e.ref.current),x)}}N.current=!1}),onBlur:(0,o.mK)(e.onBlur,()=>G(!1))})})}),C="RovingFocusGroupItem",I=n.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,focusable:a=!0,active:l=!1,tabStopId:i,children:c,...d}=e,f=(0,u.B)(),v=i||f,m=x(C,t),h=m.currentTabStopId===v,y=w(t),{onFocusableItemAdd:k,onFocusableItemRemove:R,currentTabStopId:g}=m;return n.useEffect(()=>{if(a)return k(),()=>R()},[a,k,R]),(0,p.jsx)(b.ItemSlot,{scope:t,id:v,focusable:a,active:l,children:(0,p.jsx)(s.sG.span,{tabIndex:h?0:-1,"data-orientation":m.orientation,...d,ref:r,onMouseDown:(0,o.mK)(e.onMouseDown,e=>{a?m.onItemFocus(v):e.preventDefault()}),onFocus:(0,o.mK)(e.onFocus,()=>m.onItemFocus(v)),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){m.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,m.orientation,m.dir);if(void 0!==r){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let t=y().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===r)t.reverse();else if("prev"===r||"next"===r){"prev"===r&&t.reverse();let n=t.indexOf(e.currentTarget);t=m.loop?function(e,r){return e.map((t,n)=>e[(r+n)%e.length])}(t,n+1):t.slice(n+1)}setTimeout(()=>K(t))}}),children:"function"==typeof c?c({isCurrentTabStop:h,hasTabStop:null!=g}):c}
1)})});I.displayName=C;var A={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function K(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 F=t(7510),D=t(50858),G=t(17028),S="Radio",[L,N]=(0,l.A)(S),[T,P]=L(S),_=n.forwardRef((e,r)=>{let{__scopeRadio:t,name:l,checked:i=!1,required:u,disabled:c,value:d="on",onCheck:f,form:v,...m}=e,[h,b]=n.useState(null),w=(0,a.s)(r,e=>b(e)),y=n.useRef(!1),k=!h||v||!!h.closest("form");return(0,p.jsxs)(T,{scope:t,checked:i,disabled:c,children:[(0,p.jsx)(s.sG.button,{type:"button",role:"radio","aria-checked":i,"data-state":H(i),"data-disabled":c?"":void 0,disabled:c,value:d,...m,ref:w,onClick:(0,o.mK)(e.onClick,e=>{i||null==f||f(),k&&(y.current=e.isPropagationStopped(),y.current||e.stopPropagation())})}),k&&(0,p.jsx)(q,{control:h,bubbles:!y.current,name:l,value:d,checked:i,required:u,disabled:c,form:v,style:{transform:"translateX(-100%)"}})]})});_.displayName=S;var B="RadioIndicator",M=n.forwardRef((e,r)=>{let{__scopeRadio:t,forceMount:n,...o}=e,a=P(B,t);return(0,p.jsx)(G.C,{present:n||a.checked,children:(0,p.jsx)(s.sG.span,{"data-state":H(a.checked),"data-disabled":a.disabled?"":void 0,...o,ref:r})})});M.displayName=B;var q=n.forwardRef((e,r)=>{let{__scopeRadio:t,control:o,checked:l,bubbles:i=!0,...u}=e,c=n.useRef(null),d=(0,a.s)(c,r),f=(0,D.Z)(l),v=(0,F.X)(o);return n.useEffect(()=>{let e=c.current;if(!e)return;let r=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(f!==l&&r){let t=new Event("click",{bubbles:i});r.call(e,l),e.dispatchEvent(t)}},[f,l,i]),(0,p.jsx)(s.sG.input,{type:"radio","aria-hidden":!0,defaultChecked:l,...u,tabIndex:-1,ref:d,style:{...u.style,...v,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function H(e){return e?"checked":"unchecked"}q.displayName="RadioBubbleInput";var O=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],U="RadioGroup",[X,z]=(0,l.A)(U,[R,N]),V=R(),Z=N(),[J,Q]=X(U),W=n.forwardRef((e,r)=>{let{__scopeRadioGroup:t,name:n,defaultValue:o,value:a,required:l=!1,disabled:i=!1,orientation:u,dir:c,loop:v=!0,onValueChange:m,...h}=e,b=V(t),w=(0,f.jH)(c),[y,k]=(0,d.i)({prop:a,defaultProp:null!=o?o:null,onChange:m,caller:U});return(0,p.jsx)(J,{scope:t,name:n,required:l,disabled:i,value:y,onValueChange:k,children:(0,p.jsx)(j,{asChild:!0,...b,orientation:u,dir:w,loop:v,children:(0,p.jsx)(s.sG.div,{role:"radiogroup","aria-required":l,"aria-orientation":u,"data-disabled":i?"":void 0,dir:w,...h,ref:r})})})});W.displayName=U;var Y="RadioGroupItem",$=n.forwardRef((e,r)=>{let{__scopeRadioGroup:t,disabled:l,...s}=e,i=Q(Y,t),u=i.disabled||l,c=V(t),d=Z(t),f=n.useRef(null),v=(0,a.s)(r,f),m=i.value===s.value,h=n.useRef(!1);return n.useEffect(()=>{let e=e=>{O.includes(e.key)&&(h.current=!0)},r=()=>h.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:!u,active:m,children:(0,p.jsx)(_,{disabled:u,required:i.required,
1checked:m,...d,...s,name:i.name,ref:v,onCheck:()=>i.onValueChange(s.value),onKeyDown:(0,o.mK)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,o.mK)(s.onFocus,()=>{var e;h.current&&(null===(e=f.current)||void 0===e||e.click())})})})});$.displayName=Y;var ee=n.forwardRef((e,r)=>{let{__scopeRadioGroup:t,...n}=e,o=Z(t);return(0,p.jsx)(M,{...o,...n,ref:r})});ee.displayName="RadioGroupIndicator";var er=W,et=$,en=ee},12413:(e,r,t)=>{t.d(r,{bL:()=>g,zi:()=>x});var n=t(12115),o=t(93610),a=t(88068),l=t(18166),s=t(1488),i=t(50858),u=t(7510),c=t(23360),d=t(95155),f="Switch",[p,v]=(0,l.A)(f),[m,h]=p(f),b=n.forwardRef((e,r)=>{let{__scopeSwitch:t,name:l,checked:i,defaultChecked:u,required:p,disabled:v,value:h="on",onCheckedChange:b,form:w,...y}=e,[g,x]=n.useState(null),j=(0,a.s)(r,e=>x(e)),E=n.useRef(!1),C=!g||w||!!g.closest("form"),[I,A]=(0,s.i)({prop:i,defaultProp:null!=u&&u,onChange:b,caller:f});return(0,d.jsxs)(m,{scope:t,checked:I,disabled:v,children:[(0,d.jsx)(c.sG.button,{type:"button",role:"switch","aria-checked":I,"aria-required":p,"data-state":R(I),"data-disabled":v?"":void 0,disabled:v,value:h,...y,ref:j,onClick:(0,o.mK)(e.onClick,e=>{A(e=>!e),C&&(E.current=e.isPropagationStopped(),E.current||e.stopPropagation())})}),C&&(0,d.jsx)(k,{control:g,bubbles:!E.current,name:l,value:h,checked:I,required:p,disabled:v,form:w,style:{transform:"translateX(-100%)"}})]})});b.displayName=f;var w="SwitchThumb",y=n.forwardRef((e,r)=>{let{__scopeSwitch:t,...n}=e,o=h(w,t);return(0,d.jsx)(c.sG.span,{"data-state":R(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:r})});y.displayName=w;var k=n.forwardRef((e,r)=>{let{__scopeSwitch:t,control:o,checked:l,bubbles:s=!0,...c}=e,f=n.useRef(null),p=(0,a.s)(f,r),v=(0,i.Z)(l),m=(0,u.X)(o);return n.useEffect(()=>{let e=f.current;if(!e)return;let r=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(v!==l&&r){let t=new Event("click",{bubbles:s});r.call(e,l),e.dispatchEvent(t)}},[v,l,s]),(0,d.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:l,...c,tabIndex:-1,ref:p,style:{...c.style,...m,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function R(e){return e?"checked":"unchecked"}k.displayName="SwitchBubbleInput";var g=b,x=y}}]);
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.