1import{b,g as u}from"./CuGWsV6L.js";import{a9 as m,o as g,b as w,a as h,a3 as y,n as o,e as l,w as k,B as p,ac as i}from"./CO3rmisD.js";try{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="cb5713ca-ff47-452f-968d-935a2ab9979b",e._sentryDebugIdIdentifier="sentry-dbid-cb5713ca-ff47-452f-968d-935a2ab9979b")}catch{}const B=["for"],V={__name:"Switch",props:i({id:{type:String,required:!0},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:i(["changed"],["update:modelValue"]),setup(e,{emit:a}){const n=a,s=m(e,"modelValue");return(c,t)=>{const r=b,f=u;return g(),w("div",{onClick:t[2]||(t[2]=p(()=>{},["stop"])),class:"c-switch"},[h("label",{class:o(["Label",{"cursor-not-allowed":e.disabled}]),for:e.id},[y(c.$slots,"default")],10,B),l(f,{disabled:e.disabled,id:e.id,"data-testid":e.id,checked:s.value,"onUpdate:checked":[t[0]||(t[0]=d=>s.value=d),t[1]||(t[1]=d=>n("changed",d))],class:o(["c-switch__toggle",{"opacity-70 cursor-not-allowed":e.disabled}])},{default:k(()=>[l(r,{class:"c-switch__thumb"})]),_:1},8,["disabled","id","data-testid","checked","class"])])}}};export{V as default};
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.