1import{i as e}from"./bundle-mjs-C77yRssA.js";import{c as t}from"./i18n-Uclp8k7f.js";import{n}from"./Button-Cl7lg8gb.js";var r=e();function i({checked:e,onChange:i,label:a,disabled:o,fullWidth:s,className:c}){return(0,r.jsxs)(`button`,{type:`button`,role:`checkbox`,"aria-checked":e,disabled:o,onClick:()=>i(!e),className:t(`flex items-center gap-4 py-2 text-left outline-none disabled:pointer-events-none disabled:opacity-50`,s&&`w-full`,c),children:[(0,r.jsx)(`span`,{className:t(`grid size-[22px] shrink-0 place-items-center rounded-control transition-colors`,e?`bg-foreground`:`border border-line bg-white`),children:e?(0,r.jsx)(n,{name:`tool-check`,className:`size-4 text-white`}):null}),a==null?null:(0,r.jsx)(`span`,{className:`text-body font-medium text-foreground`,children:a})]})}export{i 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.