1import{o as e}from"./rolldown-runtime.C_s2cVnS.js";import{t}from"./react.o0Ha7HZ1.js";import{t as n}from"./jsx-runtime.2Bc2s-6V.js";import{n as r}from"./useTranslationTool.B0FkBIdr.js";import{i,t as a}from"./utils2.BdKuIVCh.js";var o=e(t()),s=n(),c=({label:e,translatable:t,className:n=``,...i})=>{let a=r();return(0,s.jsx)(`div`,{className:`radio-control-bc ${n}`,children:(0,s.jsxs)(`label`,{className:`radio-control-content-bc`,children:[(0,s.jsx)(`input`,{type:`radio`,className:`radio-control-input-bc`,...i}),(0,s.jsx)(`span`,{className:`radio-control-input-holder-bc`}),(0,s.jsx)(`p`,{className:`radio-control-text-bc`,children:t?a(e):e})]})})},l=(0,o.memo)(({error:e,touched:t,focused:n,label:l=``,customAttrs:u,className:d,placeholder:f,onChange:p,value:m,manuallyChanged:h,options:g=[],readOnly:_,rules:v,...y})=>{let b=r(),x=typeof m==`boolean`||!i(m)?m.toString():``,S=e=>{p(e.type,e.target.name,e.target.value)},C=(0,o.useMemo)(()=>{let e=g.find(e=>e.value===x);return e?e.label:``},[x,g]);return _?(0,s.jsx)(`div`,{className:`form-control-bc default filled`,children:(0,s.jsxs)(`label`,{className:`form-control-label-bc inputs`,children:[(0,s.jsx)(`input`,{type:`text`,className:`form-control-input-bc`,defaultValue:b(C),readOnly:!0,...y}),(0,s.jsx)(`i`,{className:`form-control-input-stroke-bc`}),(0,s.jsx)(`span`,{className:`form-control-title-bc ellipsis`,children:b(l)})]})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(`div`,{className:`radio-v-bc ${d}`,children:[l&&(0,s.jsx)(`div`,{className:`form-control-title-static-bc ellipsis`,children:a(b(l),v)}),g.map(e=>(0,s.jsx)(c,{onChange:S,checked:x===e.value.toString(),translatable:!0,...e,...y},e.value))]}),e&&(0,s.jsx)(`div`,{className:`form-control-message-holder-bc`,children:(0,s.jsx)(`span`,{className:`form-control-message-bc`,children:b(e)})})]})});export{c as n,l as t};
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.