{@html question.question}

{#if question.image !== null}
Content for Question
{/if}

{timer_res}

{#if question.type === QuizQuestionType.ABCD} {#if show_results}
{#each question.answers as answer, i} {/each}
{:else}
{#each question.answers as answer, i} {/each} {#if timer_res === '0'} {/if}
{/if} {:else if question.type === QuizQuestionType.RANGE} {#if timer_res === '0'} {#await import('svelte-range-slider-pips')} {:then c}
{/await} {:else} {#await import('svelte-range-slider-pips')} {:then c}
{/await} {/if} {:else if question.type === QuizQuestionType.VOTING} {#each question.answers as answer, i} {/each} {#if timer_res === '0'}

No correct answers, since this is a poll-question

{/if} {:else if question.type === QuizQuestionType.SLIDE} {#await import('$lib/play/admin/slide.svelte')} {:then c}
{/await} {:else if question.type === QuizQuestionType.TEXT} {#if timer_res === '0'} {#each question.answers as answer, i}
{answer.answer}
{/each} {:else}
{/if} {:else if question.type === QuizQuestionType.ORDER}
{#each question.answers as answer, i (answer.id)}

{answer.answer}

{/each}
{/if}