import{k as d,r as p,o as r,l as m,u as c,x as i}from"./vendor.01d0adc5.js";const f={props:{modelValue:{type:[String,Number,Boolean],default:null}},emits:["update:modelValue"],setup(t,{emit:a}){const n=t,e=d({get:()=>n.modelValue===1,set:o=>{a("update:modelValue",o?1:0)}});return(o,l)=>{const u=p("BaseSwitch");return r(),m(u,{modelValue:c(e),"onUpdate:modelValue":l[0]||(l[0]=s=>i(e)?e.value=s:null)},null,8,["modelValue"])}}};export{f as default};
