{#if hasBlocks}

{reviewedCount} / {totalCount} geprüft

{#each sortedBlocks as block, i (block.id)} {#if dropTargetIdx === i}
{/if}
handleGripDown(e, block.id)} class="relative transition-all duration-150 {draggedBlockId === block.id ? 'z-10 rounded-lg shadow-xl ring-2 ring-turquoise/40' : ''}" style={draggedBlockId === block.id ? `transform: translateY(${dragOffsetY}px) scale(1.02); opacity: 0.9;` : ''} > handleTextChange(block.id, text)} onFocus={() => handleFocus(block.id)} onDeleteClick={() => handleDelete(block.id)} onRetry={() => handleRetry(block.id)} onReviewToggle={() => onReviewToggle(block.id)} onMoveUp={() => handleMoveUp(block.id)} onMoveDown={() => handleMoveDown(block.id)} isFirst={i === 0} isLast={i === sortedBlocks.length - 1} source={block.source} />
{/each} {#if dropTargetIdx === sortedBlocks.length}
{/if}
{m.transcription_next_block_cta({ number: sortedBlocks.length + 1 })}
{#if canRunOcr && onTriggerOcr}

{m.ocr_section_heading()}

{/if}
{:else}

{m.transcription_empty_draw_hint()}

{/if} {#if canWrite}

Für Training vormerken

{#each [{ label: 'KURRENT_RECOGNITION', display: m.training_chip_kurrent() }, { label: 'KURRENT_SEGMENTATION', display: m.training_chip_segmentation() }] as chip (chip.label)} {/each}
{/if}