import{w as s}from"./runtime-dom.esm-bundler.36191dca.js";import{_ as r}from"./_plugin-vue_export-helper.eefbdd86.js";import{o as u,a3 as i,a4 as o,a6 as c,ae as d}from"./runtime-core.esm-bundler.50cb9e6d.js";const p={props:{modelValue:Boolean,disabled:{type:Boolean,default(){return!1}}},methods:{labelToggle(){this.$refs.input.click()}}},g={class:"toggle-content"},f=["disabled","checked"],m=o("span",{class:"toggle-switch"},null,-1);function _(a,e,t,b,y,l){return u(),i("label",{class:d(["aioseo-toggle",{disabled:t.disabled}]),tabindex:"0",onKeydown:[e[1]||(e[1]=s((...n)=>l.labelToggle&&l.labelToggle(...n),["enter"])),e[2]||(e[2]=s((...n)=>l.labelToggle&&l.labelToggle(...n),["space"]))]},[o("div",g,[o("input",{disabled:t.disabled,type:"checkbox",checked:t.modelValue,onInput:e[0]||(e[0]=n=>a.$emit("update:modelValue",n.target.checked)),ref:"input"},null,40,f),m]),c(a.$slots,"default")],34)}const x=r(p,[["render",_]]);export{x as B};
