1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[439],{90439:(e,t,r)=>{r.d(t,{z6:()=>ee,CU:()=>en});var n=r(7620),o=r.t(n,2),i=r(41074),l=r(89324),a=r(3678),u=r(97509),c=Object.defineProperty,d=(e,t)=>c(e,"name",{value:t,configurable:!0});function s(e){let t=n.forwardRef((t,r)=>{let{children:o,...i}=t,a=null,u=!1,c=[];v(o)&&"function"==typeof S&&(o=S(o._payload)),n.Children.forEach(o,e=>{if(h(e)){u=!0;let t="child"in e.props?e.props.child:e.props.children;v(t)&&"function"==typeof S&&(t=S(t._payload)),a=p(e,t),c.push(a?.props?.children)}else c.push(e)}),a?a=n.cloneElement(a,void 0,c):!u&&1===n.Children.count(o)&&n.isValidElement(o)&&(a=o);let d=a?b(a):void 0,s=(0,l.s)(r,d);if(!a){if(o||0===o)throw Error(u?E(e):w(e));return o}let f=m(i,a.props??{});return a.type!==n.Fragment&&(f.ref=r?s:d),n.cloneElement(a,f)});return t.displayName=`${e}.Slot`,t}d(s,"createSlot");var f=Symbol.for("radix.slottable");d(function(e){let t=d(e=>"child"in e?e.children(e.child):e.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=f,t},"createSlottable");var p=d((e,t)=>{if("child"in e.props){let t=e.props.child;return n.isValidElement(t)?n.cloneElement(t,void 0,e.props.children(t.props.children)):null}return n.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function m(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n?r[n]=[o,i].filter(Boolean).join(" "):"aria-describedby"===n&&(r[n]=R(i,o))}return{...e,...r}}function b(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}function h(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===f}d(m,"mergeProps"),d(b,"getElementRef"),d(h,"isSlottable");var y=Symbol.for("react.lazy");function v(e){return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===y&&"_payload"in e&&g(e._payload)}function g(e){return"object"==typeof e&&null!==e&&"then"in e}function R(...e){let t=new Set;for(let r of e)if("string"==typeof r)for(let e of String(r).trim().split(/\s+/))e&&t.add(e);return t.size>0?Array.from(t).join(" "):void 0}d(v,"isLazyComponent"),d(g,"isPromiseLike"),d(R,"concatAriaDescribedby");var w=d(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),E=d(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),S=o[" use ".trim().toString()],x=r(54568),j=Object.defineProperty,k=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=s(`Primitive.${t}`),o=n.forwardRef((e,n)=>{let{asChild:o,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,x.jsx)(o?r:t,{...i,ref:n})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});j(function(e,t){e&&u.flushSync(()=>e.dispatchEvent(t))},"name",{value:"dispatchDiscreteCustomEvent",configurable:!0});var C=r(95548),_=r(1730),P=Object.defineProperty,A=n.createContext(void 0);function I(e){let t=n.useContext(A);return e||t||"ltr"}P(I,"name",{value:"useDirection",configurable:!0});var D=r(66203);function L(e){let[t,r]=n.useState(void 0);return(0,D.N)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=0,n=new ResizeObserver(n=>{if(!Array.isArray(n)||!n.length)return;let o=n[0];window.cancelAnimationFrame(t),t=window.requestAnimationFrame(()=>{let t,n;if("borderBoxSize"in o){let e=o.borderBoxSize,r=Array.isArray(e)?e[0]:e;t=r.inlineSize,n=r.blockSize}else t=e.offsetWidth,n=e.offsetHeight;r({width:t,height:n})})});return n.observe(e,{box:"border-box"}),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}r(void 0)},[e]),t}(0,Object.defineProperty)(L,"name",{value:"useSize",configurable:!0});var O=Object.defineProperty,z=(e,t)=>O(e,"name",{value:t,configurable:!0}),F="Radio",[G,$]=(0,a.A)(F),[K,B]=G(F);function N(e){let{__scopeRadio:t,checked:r=!1,children:o,disabled:i,form:l,name:a,onCheck:u,required:c,value:d="on",internal_do_not_use_render:s}=e,[f,p]=n.useState(null),[m,b]=n.useState(null),h=n.useRef(!1),[y,v]=n.useReducer(e=>e+1,0),g=!f||!!l||!!f.closest("form"),R={checked:r,disabled:i,required:c,name:a,form:l,value:d,control:f,setControl:p,hasConsumerStoppedPropagationRef:h,userInteractionCount:y,onUserInteraction:v,isFormControl:g,bubbleInput:m,setBubbleInput:b,onCheck:z(()=>u?.(),"onCheck")};return(0,x.jsx)(K,{scope:t,...R,children:W(s)?s(R):o})}z(N,"RadioProvider");var T=n.forwardRef(z(function({__scopeRadio:e,onClick:t,...r},n){let{checked:o,disabled:a,value:u,setControl:c,onCheck:d,hasConsumerStoppedPropagationRef:s,onUserInteraction:f,isFormControl:p,bubbleInput:m}=B("RadioTrigger",e),b=(0,l.s)(n,c);return(0,x.jsx)(k.button,{type:"button",role:"radio","aria-checked":o,"data-state":q(o),"data-disabled":a?"":void 0,disabled:a,value:u,...r,ref:b,onClick:(0,i.mK)(t,e=>{o||(f(),d()),m&&p&&(s.current=e.isPropagationStopped(),s.current||e.stopPropagation())})})},"RadioTrigger")),V=n.forwardRef(z(function({__scopeRadio:e,onClick:t,...r},o){let{control:a,checked:u,required:c,disabled:d,name:s,value:f,form:p,bubbleInput:m,setBubbleInput:b,hasConsumerStoppedPropagationRef:h,userInteractionCount:y}=B("RadioBubbleInput",e),v=(0,l.s)(o,b),g=L(a),R=n.useRef(!1),w=n.useRef(u),E=n.useRef(y);n.useEffect(()=>{if(!m)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=y!==E.current;E.current=y;let r=w.current!==u;w.current=u;let n=!(t&&h.current);if(r&&e){R.current=!t;let r=new Event("click",{bubbles:n});e.call(m,u),m.dispatchEvent(r),R.current=!1}},[m,u,h,y]);let S=n.useRef(u);return(0,x.jsx)(k.input,{type:"radio","aria-hidden":!0,defaultChecked:S.current,required:c,disabled:d,name:s,value:f,form:p,...r,tabIndex:-1,ref:v,onClick:(0,i.mK)(t,e=>{R.current&&e.stopPropagation()}),style:{...r.style,...g,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"RadioBubbleInput"));function W(e){return"function"==typeof e}function q(e){return e?"checked":"unchecked"}z(W,"isFunction"),z(q,"getState");var H=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],U="RadioGroup",[M,X]=(0,a.A)(U,[C.RG,$]),Z=(0,C.RG)(),J=$(),[Q,Y]=M(U),ee=n.forwardRef(z(function(e,t){let{__scopeRadioGroup:r,name:o,form:i,defaultValue:a,value:u,required:c=!1,disabled:d=!1,orientation:s,dir:f,loop:p=!0,onValueChange:m,...b}=e,h=Z(r),y=I(f),[v,g]=(0,_.i)({prop:u,defaultProp:a??null,onChange:m,caller:U}),[R,w]=n.useState(null),E=(0,l.s)(t,w),S=n.useRef(v);return n.useEffect(()=>{let e=i?R?.ownerDocument.getElementById(i):R?.closest("form");if(e instanceof HTMLFormElement){let t=z(()=>g(S.current),"reset");return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[R,i,g]),(0,x.jsx)(Q,{scope:r,name:o,form:i,required:c,disabled:d,value:v,onValueChange:g,children:(0,x.jsx)(C.bL,{asChild:!0,...h,orientation:s,dir:y,loop:p,children:(0,x.jsx)(k.div,{role:"radiogroup","aria-required":c,"aria-orientation":s,"data-disabled":d?"":void 0,dir:y,...b,ref:E})})})},"RadioGroup"));function et(e){let{__scopeRadioGroup:t,value:r,disabled:n,children:o,internal_do_not_use_render:i}=e,l=Y("RadioGroupItemProvider",t),a=J(t),u=l.disabled||n;return(0,x.jsx)(N,{...a,checked:l.value===r,disabled:u,required:l.required,name:l.name,form:l.form,value:r,onCheck:()=>l.onValueChange(r),internal_do_not_use_render:i,children:o})}z(et,"RadioGroupItemProvider");var er=n.forwardRef(z(function(e,t){let{__scopeRadioGroup:r,...o}=e,a=Z(r),u=J(r),{checked:c,disabled:d}=B("RadioGroupItemTrigger",u.__scopeRadio),s=n.useRef(null),f=(0,l.s)(t,
1s),p=n.useRef(!1);return n.useEffect(()=>{let e=z(e=>{H.includes(e.key)&&(p.current=!0)},"handleKeyDown"),t=z(()=>p.current=!1,"handleKeyUp");return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,x.jsx)(C.q7,{asChild:!0,...a,focusable:!d,active:c,children:(0,x.jsx)(T,{...u,...o,ref:f,onKeyDown:(0,i.mK)(o.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,i.mK)(o.onFocus,()=>{p.current&&s.current?.click()})})})},"RadioGroupItemTrigger")),en=n.forwardRef(z(function(e,t){let{__scopeRadioGroup:r,value:n,disabled:o,...i}=e;return(0,x.jsx)(et,{__scopeRadioGroup:r,value:n,disabled:o,internal_do_not_use_render:({isFormControl:e})=>(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(er,{...i,ref:t,__scopeRadioGroup:r}),e&&(0,x.jsx)(eo,{__scopeRadioGroup:r})]})})},"RadioGroupItem")),eo=n.forwardRef(z(function(e,t){let{__scopeRadioGroup:r,...n}=e,o=J(r);return(0,x.jsx)(V,{...o,...n,ref:t})},"RadioGroupItemBubbleInput"))}}]);
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.