{ await tick(); dispatch('change', e); }} class="flex h-5 min-h-5 w-9 shrink-0 cursor-pointer items-center rounded-full px-[3px] transition {state ? ' bg-emerald-600' : 'bg-gray-200 dark:bg-transparent'} outline outline-gray-100 dark:outline-gray-800" >