1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,493144,496025,174857,579890,e=>{"use strict";e.s([],493144),e.s(["Radio",()=>eS,"RadioGroup",()=>ex],174857);var t,r,n=e.i(391398),i=e.i(191788);e.i(543336);var o=e.i(345970),l=e.i(114430);function a(e,t){let{checkForDefaultPrevented:r=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(n){if(null==e||e(n),!1===r||!n.defaultPrevented)return null==t?void 0:t(n)}}function s(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function u(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>{let r=!1,n=t.map(t=>{let n=s(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<n.length;e++){let r=n[e];"function"==typeof r?r():s(t[e],null)}}}}function c(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return i.useCallback(u(...t),t)}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[],o=()=>{let t=r.map(e=>i.createContext(e));return function(r){let n=(null==r?void 0:r[e])||t;return i.useMemo(()=>({["__scope".concat(e)]:{...r,[e]:n}}),[r,n])}};return o.scopeName=e,[function(t,o){let l=i.createContext(o),a=r.length;r=[...r,o];let s=t=>{var r;let{scope:o,children:s,...u}=t,c=(null==o||null==(r=o[e])?void 0:r[a])||l,d=i.useMemo(()=>u,Object.values(u));return(0,n.jsx)(c.Provider,{value:d,children:s})};return s.displayName=t+"Provider",[s,function(r,n){var s;let u=(null==n||null==(s=n[e])?void 0:s[a])||l,c=i.useContext(u);if(c)return c;if(void 0!==o)return o;throw Error("`".concat(r,"` must be used within `").concat(t,"`"))}]},function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let n=t[0];if(1===t.length)return n;let o=()=>{let e=t.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(t){let r=e.reduce((e,r)=>{let{useScope:n,scopeName:i}=r,o=n(t)["__scope".concat(i)];return{...e,...o}},{});return i.useMemo(()=>({["__scope".concat(n.scopeName)]:r}),[r])}};return o.scopeName=n.scopeName,o}(o,...t)]}function f(e){let t=function(e){let t=i.forwardRef((e,t)=>{let{children:r,...n}=e;if(i.isValidElement(r)){var o,l,a;let e,s,c=(s=(e=null==(l=Object.getOwnPropertyDescriptor((o=r).props,"ref"))?void 0:l.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(s=(e=null==(a=Object.getOwnPropertyDescriptor(o,"ref"))?void 0:a.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref,d=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let n=o(...t);return i(...t),n}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==i.Fragment&&(d.ref=t?u(t,c):c),i.cloneElement(r,d)}return i.Children.count(r)>1?i.Children.only(null):null});return t.displayName="".concat(e,".SlotClone"),t}(e),r=i.forwardRef((e,r)=>{let{children:o,...l}=e,a=i.Children.toArray(o),s=a.find(h);if(s){let e=s.props.children,o=a.map(t=>t!==s?t:i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null);return(0,n.jsx)(t,{...l,ref:r,children:i.isValidElement(e)?i.cloneElement(e,void 0,o):null})}return(0,n.jsx)(t,{...l,ref:r,children:o})});return r.displayName="".concat(e,".Slot"),r}e.s(["Indicator",()=>eg,"Item",()=>ey,"Root",()=>em],496025),"undefined"!=typeof window&&window.document&&window.document.createElement,e.i(730943);var p=Symbol("radix.slottable");function h(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===p}var v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=f("Primitive.".concat(t)),o=i.forwardRef((e,i)=>{let{asChild:o,...l}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,n.jsx)(o?r:t,{...l,ref:i})});return o.displayName="Primitive.".concat(t),{...e,[t]:o}},{}),m=e.i(982936),y=e.i(814981),g=e.i(109488),b=new WeakMap;function w(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=function(e,t){let r=e.length,n=x(t),i=n>=0?n:r+n;return i<0||i>=r?-1:i}(e,t);return -1===r?void 0:e[r]}function x(e){return e!=e||0===e?0:Math.trunc(e)}t=new WeakMap,class e extends Map{set(e,r){return b.get(this)&&(this.has(e)?(0,m._)(this,t)[(0,m._)(this,t).indexOf(e)]=e:(0,m._)(this,t).push(e)),super.set(e,r),this}insert(e,r,n){let i,o=this.has(r),l=(0,m._)(this,t).length,a=x(e),s=a>=0?a:l+a,u=s<0||s>=l?-1:s;if(u===this.size||o&&u===this.size-1||-1===u)return this.set(r,n),this;let c=this.size+ +!o;a<0&&s++;let d=[...(0,m._)(this,t)],f=!1;for(let e=s;e<c;e++)if(s===e){let t=d[e];d[e]===r&&(t=d[e+1]),o&&this.delete(r),i=this.get(t),this.set(r,n)}else{f||d[e-1]!==r||(f=!0);let t=d[f?e:e-1],n=i;i=this.get(t),this.delete(t),this.set(t,n)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let r=(0,m._)(this,t).indexOf(e)-1;if(!(r<0))return this.entryAt(r)}setBefore(e,r,n){let i=(0,m._)(this,t).indexOf(e);return -1===i?this:this.insert(i,r,n)}after(e){let r=(0,m._)(this,t).indexOf(e);if(-1!==(r=-1===r||r===this.size-1?-1:r+1))return this.entryAt(r)}setAfter(e,r,n){let i=(0,m._)(this,t).indexOf(e);return -1===i?this:this.insert(i+1,r,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return(0,g._)(this,t,[]),super.clear()}delete(e){let r=super.delete(e);return r&&(0,m._)(this,t).splice((0,m._)(this,t).indexOf(e),1),r}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let r=w((0,m._)(this,t),e);if(void 0!==r)return this.get(r)}entryAt(e){let r=w((0,m._)(this,t),e);if(void 0!==r)return[r,this.get(r)]}indexOf(e){return(0,m._)(this,t).indexOf(e)}keyAt(e){return w((0,m._)(this,t),e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,i]=t,o=0,l=null!=i?i:this.at(0);for(let e of this)l=0===o&&1===t.length?e:Reflect.apply(n,this,[l,e,o,this]),o++;return l}reduceRight(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,i]=t,o=null!=i?i:this.at(-1);for(let e=this.size-1;e>=0;e--){let r=this.at(e);o=e===this.size-1&&1===t.length?r:Reflect.apply(n,this,[o,r,e,this])}return o}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let i=[...this.entries()];return i.splice(...r),new e(i)}
1slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}constructor(e){super(e),(0,y._)(this,t,{writable:!0,value:void 0}),(0,g._)(this,t,[...super.keys()]),b.set(this,!0)}};var R=(null==(r=globalThis)?void 0:r.document)?i.useLayoutEffect:()=>{},A=i[" useId ".trim().toString()]||(()=>void 0),S=0;e.i(619218);var k=i[" useInsertionEffect ".trim().toString()]||R;function C(e){let{prop:t,defaultProp:r,onChange:n=()=>{},caller:o}=e,[l,a,s]=function(e){let{defaultProp:t,onChange:r}=e,[n,o]=i.useState(t),l=i.useRef(n),a=i.useRef(r);return k(()=>{a.current=r},[r]),i.useEffect(()=>{if(l.current!==n){var e;null==(e=a.current)||e.call(a,n),l.current=n}},[n,l]),[n,o,a]}({defaultProp:r,onChange:n}),u=void 0!==t,c=u?t:l;{let e=i.useRef(void 0!==t);i.useEffect(()=>{let t=e.current;if(t!==u){let e=u?"controlled":"uncontrolled";console.warn("".concat(o," is changing from ").concat(t?"controlled":"uncontrolled"," to ").concat(e,". Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component."))}e.current=u},[u,o])}return[c,i.useCallback(e=>{if(u){let n="function"==typeof e?e(t):e;if(n!==t){var r;null==(r=s.current)||r.call(s,n)}}else a(e)},[u,t,a,s])]}Symbol("RADIX:SYNC_STATE");var N=i.createContext(void 0);function E(e){let t=i.useContext(N);return e||t||"ltr"}var I="rovingFocusGroup.onEntryFocus",j={bubbles:!1,cancelable:!0},O="RovingFocusGroup",[_,M,T]=function(e){let t=e+"CollectionProvider",[r,o]=d(t),[l,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:r}=e,o=i.default.useRef(null),a=i.default.useRef(new Map).current;return(0,n.jsx)(l,{scope:t,itemMap:a,collectionRef:o,children:r})};s.displayName=t;let u=e+"CollectionSlot",p=f(u),h=i.default.forwardRef((e,t)=>{let{scope:r,children:i}=e,o=c(t,a(u,r).collectionRef);return(0,n.jsx)(p,{ref:o,children:i})});h.displayName=u;let v=e+"CollectionItemSlot",m="data-radix-collection-item",y=f(v),g=i.default.forwardRef((e,t)=>{let{scope:r,children:o,...l}=e,s=i.default.useRef(null),u=c(t,s),d=a(v,r);return i.default.useEffect(()=>(d.itemMap.set(s,{ref:s,...l}),()=>void d.itemMap.delete(s))),(0,n.jsx)(y,{...{[m]:""},ref:u,children:o})});return g.displayName=v,[{Provider:s,Slot:h,ItemSlot:g},function(t){let r=a(e+"CollectionConsumer",t);return i.default.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(m,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},o]}(O),[L,z]=d(O,[T]),[P,D]=L(O),F=i.forwardRef((e,t)=>(0,n.jsx)(_.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,n.jsx)(_.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,n.jsx)($,{...e,ref:t})})}));F.displayName=O;var $=i.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:o,loop:l=!1,dir:s,currentTabStopId:u,defaultCurrentTabStopId:d,onCurrentTabStopIdChange:f,onEntryFocus:p,preventScrollOnEntryFocus:h=!1,...m}=e,y=i.useRef(null),g=c(t,y),b=E(s),[w,x]=C({prop:u,defaultProp:null!=d?d:null,onChange:f,caller:O}),[R,A]=i.useState(!1),S=function(e){let t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>function(){for(var e,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return null==(e=t.current)?void 0:e.call(t,...n)},[])}(p),k=M(r),N=i.useRef(!1),[_,T]=i.useState(0);return i.useEffect(()=>{let e=y.current;if(e)return e.addEventListener(I,S),()=>e.removeEventListener(I,S)},[S]),(0,n.jsx)(P,{scope:r,orientation:o,dir:b,loop:l,currentTabStopId:w,onItemFocus:i.useCallback(e=>x(e),[x]),onItemShiftTab:i.useCallback(()=>A(!0),[]),onFocusableItemAdd:i.useCallback(()=>T(e=>e+1),[]),onFocusableItemRemove:i.useCallback(()=>T(e=>e-1),[]),children:(0,n.jsx)(v.div,{tabIndex:R||0===_?-1:0,"data-orientation":o,...m,ref:g,style:{outline:"none",...e.style},onMouseDown:a(e.onMouseDown,()=>{N.current=!0}),onFocus:a(e.onFocus,e=>{let t=!N.current;if(e.target===e.currentTarget&&t&&!R){let t=new CustomEvent(I,j);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=k().filter(e=>
1e.focusable);B([e.find(e=>e.active),e.find(e=>e.id===w),...e].filter(Boolean).map(e=>e.ref.current),h)}}N.current=!1}),onBlur:a(e.onBlur,()=>A(!1))})})}),U="RovingFocusGroupItem",G=i.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:o=!0,active:l=!1,tabStopId:s,children:u,...c}=e,d=function(e){let[t,r]=i.useState(A());return R(()=>{r(e=>null!=e?e:String(S++))},[void 0]),e||(t?"radix-".concat(t):"")}(),f=s||d,p=D(U,r),h=p.currentTabStopId===f,m=M(r),{onFocusableItemAdd:y,onFocusableItemRemove:g,currentTabStopId:b}=p;return i.useEffect(()=>{if(o)return y(),()=>g()},[o,y,g]),(0,n.jsx)(_.ItemSlot,{scope:r,id:f,focusable:o,active:l,children:(0,n.jsx)(v.span,{tabIndex:h?0:-1,"data-orientation":p.orientation,...c,ref:t,onMouseDown:a(e.onMouseDown,e=>{o?p.onItemFocus(f):e.preventDefault()}),onFocus:a(e.onFocus,()=>p.onItemFocus(f)),onKeyDown:a(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void p.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let i=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return W[i]}(e,p.orientation,p.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=m().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=p.loop?function(e,t){return e.map((r,n)=>e[(t+n)%e.length])}(r,n+1):r.slice(n+1)}setTimeout(()=>B(r))}}),children:"function"==typeof u?u({isCurrentTabStop:h,hasTabStop:null!=b}):u})})});G.displayName=U;var W={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function B(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var K=e.i(593427),V=e=>{let{present:t,children:r}=e,n=function(e){var t,r;let[n,o]=i.useState(),l=i.useRef(null),a=i.useRef(e),s=i.useRef("none"),[u,c]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},i.useReducer((e,t)=>{let n=r[e][t];return null!=n?n:e},t));return i.useEffect(()=>{let e=H(l.current);s.current="mounted"===u?e:"none"},[u]),R(()=>{let t=l.current,r=a.current;if(r!==e){let n=s.current,i=H(t);e?c("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?c("UNMOUNT"):r&&n!==i?c("ANIMATION_OUT"):c("UNMOUNT"),a.current=e}},[e,c]),R(()=>{if(n){var e;let t,r=null!=(e=n.ownerDocument.defaultView)?e:window,i=e=>{let i=H(l.current).includes(CSS.escape(e.animationName));if(e.target===n&&i&&(c("ANIMATION_END"),!a.current)){let e=n.style.animationFillMode;n.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=e)})}},o=e=>{e.target===n&&(s.current=H(l.current))};return n.addEventListener("animationstart",o),n.addEventListener("animationcancel",i),n.addEventListener("animationend",i),()=>{r.clearTimeout(t),n.removeEventListener("animationstart",o),n.removeEventListener("animationcancel",i),n.removeEventListener("animationend",i)}}c("ANIMATION_END")},[n,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:i.useCallback(e=>{l.current=e?getComputedStyle(e):null,o(e)},[])}}(t),o="function"==typeof r?r({present:n.isPresent}):i.Children.only(r),l=c(n.ref,function(e){var t,r;let n=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,i=n&&"isReactWarning"in n&&n.isReactWarning;return i?e.ref:(i=(n=null==(r=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(o));return"function"==typeof r||n.isPresent?i.cloneElement(o,{ref:l}):null};function H(e){return(null==e?void 0:e.animationName)||"none"}V.displayName="Presence";var q="Radio",[X,Y]=d(q),[Z,J]=X(q),Q=i.forwardRef((e,t)=>
1{let{__scopeRadio:r,name:o,checked:l=!1,required:s,disabled:u,value:d="on",onCheck:f,form:p,...h}=e,[m,y]=i.useState(null),g=c(t,e=>y(e)),b=i.useRef(!1),w=!m||p||!!m.closest("form");return(0,n.jsxs)(Z,{scope:r,checked:l,disabled:u,children:[(0,n.jsx)(v.button,{type:"button",role:"radio","aria-checked":l,"data-state":en(l),"data-disabled":u?"":void 0,disabled:u,value:d,...h,ref:g,onClick:a(e.onClick,e=>{l||null==f||f(),w&&(b.current=e.isPropagationStopped(),b.current||e.stopPropagation())})}),w&&(0,n.jsx)(er,{control:m,bubbles:!b.current,name:o,value:d,checked:l,required:s,disabled:u,form:p,style:{transform:"translateX(-100%)"}})]})});Q.displayName=q;var ee="RadioIndicator",et=i.forwardRef((e,t)=>{let{__scopeRadio:r,forceMount:i,...o}=e,l=J(ee,r);return(0,n.jsx)(V,{present:i||l.checked,children:(0,n.jsx)(v.span,{"data-state":en(l.checked),"data-disabled":l.disabled?"":void 0,...o,ref:t})})});et.displayName=ee;var er=i.forwardRef((e,t)=>{let{__scopeRadio:r,control:o,checked:l,bubbles:a=!0,...s}=e,u=i.useRef(null),d=c(u,t),f=(0,K.usePrevious)(l),p=function(e){let[t,r]=i.useState(void 0);return R(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,i=t.blockSize}else n=e.offsetWidth,i=e.offsetHeight;r({width:n,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(o);return i.useEffect(()=>{let e=u.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(f!==l&&t){let r=new Event("click",{bubbles:a});t.call(e,l),e.dispatchEvent(r)}},[f,l,a]),(0,n.jsx)(v.input,{type:"radio","aria-hidden":!0,defaultChecked:l,...s,tabIndex:-1,ref:d,style:{...s.style,...p,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function en(e){return e?"checked":"unchecked"}er.displayName="RadioBubbleInput";var ei=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],eo="RadioGroup",[el,ea]=d(eo,[z,Y]),es=z(),eu=Y(),[ec,ed]=el(eo),ef=i.forwardRef((e,t)=>{let{__scopeRadioGroup:r,name:i,defaultValue:o,value:l,required:a=!1,disabled:s=!1,orientation:u,dir:c,loop:d=!0,onValueChange:f,...p}=e,h=es(r),m=E(c),[y,g]=C({prop:l,defaultProp:null!=o?o:null,onChange:f,caller:eo});return(0,n.jsx)(ec,{scope:r,name:i,required:a,disabled:s,value:y,onValueChange:g,children:(0,n.jsx)(F,{asChild:!0,...h,orientation:u,dir:m,loop:d,children:(0,n.jsx)(v.div,{role:"radiogroup","aria-required":a,"aria-orientation":u,"data-disabled":s?"":void 0,dir:m,...p,ref:t})})})});ef.displayName=eo;var ep="RadioGroupItem",eh=i.forwardRef((e,t)=>{let{__scopeRadioGroup:r,disabled:o,...l}=e,s=ed(ep,r),u=s.disabled||o,d=es(r),f=eu(r),p=i.useRef(null),h=c(t,p),v=s.value===l.value,m=i.useRef(!1);return i.useEffect(()=>{let e=e=>{ei.includes(e.key)&&(m.current=!0)},t=()=>m.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,n.jsx)(G,{asChild:!0,...d,focusable:!u,active:v,children:(0,n.jsx)(Q,{disabled:u,required:s.required,
1checked:v,...f,...l,name:s.name,ref:h,onCheck:()=>s.onValueChange(l.value),onKeyDown:a(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:a(l.onFocus,()=>{var e;m.current&&(null==(e=p.current)||e.click())})})})});eh.displayName=ep;var ev=i.forwardRef((e,t)=>{let{__scopeRadioGroup:r,...i}=e,o=eu(r);return(0,n.jsx)(et,{...o,...i,ref:t})});ev.displayName="RadioGroupIndicator";var em=ef,ey=eh,eg=ev;let eb=(0,o.css)({display:"flex",justifyContent:"center",alignItems:"center",height:"100%",width:"100%",position:"relative","&::after":{content:'""',display:"block",width:"$2-5",height:"$2-5",borderRadius:"50%",backgroundColor:"$bkgRed"},variants:{internalLabel:{true:{backgroundColor:"$bkgLightGray","&::after":{content:"none"}}}}}),ew=(0,o.css)({all:"unset",boxSizing:"border-box",userSelect:"none","&::before":{boxSizing:"border-box"},"&::after":{boxSizing:"border-box"},alignItems:"center",appearance:"none",display:"inline-flex",justifyContent:"center",lineHeight:"1",margin:"0",outline:"none",padding:"0",textDecoration:"none",WebkitTapHighlightColor:"rgba(0,0,0,0)",borderRadius:"50%",color:"$copyBlack",boxShadow:"inset 0 3px 6px 0 rgb(0 0 0 / 0.16), inset 0 0 0 1px $colors$bkgLightGray",overflow:"hidden",'&:hover, &:focus, &[data-state="checked"]':{outline:"none",boxShadow:"inset 0 3px 6px 0 rgb(0 0 0 / 0.16), inset 0 0 0 1px $colors$bkgSilverGray"},variants:{internalLabel:{true:{"&:hover, &:focus":{boxShadow:"inset 0 3px 6px 0 rgb(0 0 0 / 0.16)"}}}},width:"$5",height:"$5"}),ex=(0,o.styled)(em,{display:"flex"}),eR=(0,o.styled)(eg,eb),eA=(0,o.styled)(ey,ew),eS=i.default.forwardRef((e,t)=>{let r=(0,l.useFormControl)(e,t);return(0,n.jsx)(eA,{internalLabel:e.internalLabel,...r,children:(0,n.jsx)(eR,{internalLabel:e.internalLabel})})});e.s(["RadioCard",()=>eI,"RadioCardGroup",()=>ek],579890);let ek=(0,o.styled)(em,{variants:{direction:{vertical:{display:"block"},horizontal:{display:"flex",gap:"$4",flexWrap:"nowrap"}}},defaultVariants:{direction:"vertical"}}),eC=(0,o.styled)("div",ew,{mr:"$4",flexShrink:0,"@media (min-width: 375px) and (max-width: 425px)":{mr:"$2"}}),eN=(0,o.styled)(eg,eb),eE=(0,o.styled)(ey,{all:"unset",boxSizing:"border-box",userSelect:"none","&::before":{boxSizing:"border-box"},"&::after":{boxSizing:"border-box"},width:"100%",display:"flex",alignItems:"center",borderRadius:10,border:"1px solid $bkgLightGray",p:"$2 $5",mb:"$3","@hover":{"&:hover":{borderColor:"$bkgMediumGray"}},variants:{direction:{vertical:{width:"100%",mb:"$3",border:"1px solid $bkgLightGray"},horizontal:{width:"auto",mb:"0",border:"none",padding:"0"}}}}),eI=i.default.forwardRef((e,t)=>{let{children:r,direction:i,hideRadioButton:o,...a}=e,s=(0,l.useFormControl)(a,t);return(0,n.jsxs)(eE,{...s,direction:i,children:[!o&&(0,n.jsx)(eC,{children:(0,n.jsx)(eN,{})}),r]})})}]);
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.