"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[1648],{1648(e,a,l){l.r(a),l.d(a,{default:()=>n});var t=l(1609),c=l(3666),s=l(9668);const n=({name:e,componentId:a,label:l,className:n,defaultValue:o,updateField:d,...h})=>{const u=(0,c.e)(a);return(0,t.createElement)(s.default,{label:l,className:`og-field--checkbox ${n}`,htmlFor:a,...h},(0,t.createElement)("label",{className:"og-toggle"},(0,t.createElement)("input",{type:"checkbox",id:a,onChange:a=>{u(),d(e,a.target.checked)},defaultChecked:o}),(0,t.createElement)("div",{className:"og-toggle__switch"})))}}}]);