1import{Gs as e,Hs as t,Oo as n,es as r,jo as i}from"./braze-DVZQcBHb.js";import{c as a,l as o}from"./vue-datepicker-CDoOWuOh.js";var s=[`onKeydown`],c={class:`toggle-switch__label`},l=[`checked`,`aria-label`,`aria-checked`,`disabled`],u={class:`toggle-switch__text`},d={__name:`ToggleSwitch`,props:{value:{type:Boolean,required:!0},disabled:{type:Boolean,default:!1},text:{type:String,default:``},hasFixedHeight:{type:Boolean,default:!0}},emits:[`input`],setup(d,{emit:f}){let p=d,m=f,h=()=>m(`input`,!p.value);return(f,p)=>(r(),i(`div`,{"data-test":`toggleSwitch`,class:t([`toggle-switch noselect`,{"toggle-switch--fixed-height":d.hasFixedHeight,"toggle-switch--disabled":d.disabled}]),onClick:o(h,[`prevent`]),onKeypress:a(h,[`enter`]),onKeydown:a(o(h,[`prevent`]),[`space`])},[n(`div`,c,[n(`input`,{class:`toggle-switch__checkbox`,type:`checkbox`,checked:d.value,"aria-label":d.text,"aria-checked":d.value,"data-hj-allow":``,disabled:d.disabled},null,8,l),p[0]||=n(`span`,{class:`toggle-switch__slider`},null,-1)]),n(`span`,u,e(d.text),1)],42,s))}};export{d as t};
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.