import{j as r}from"./app-BBZbvTSO.js";import s from"./FieldBase-C0gzKbbb.js";import{S as l}from"./switch-9bH0NbTy.js";/* empty css            */import"./label-BPDCCRHl.js";import"./index-13DH8-b5.js";import"./utils-YhN_nlHn.js";import"./input-error-Bz7f2c6i.js";import"./index-CbDI-tXU.js";import"./index-BCYyBCUm.js";import"./index-AiAmtg3H.js";function k({field:e,value:o=!1,onChange:t,processing:m,errors:i}){return r.jsx(s,{field:e,value:o,onChange:t,processing:m,errors:i,children:r.jsxs("div",{className:"flex items-center space-x-2",children:[r.jsx(l,{id:e.name,checked:o,onCheckedChange:a=>t(e,a),disabled:m}),r.jsx("label",{htmlFor:e.name,className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:e.placeholder})]})})}export{k as default};
