-
-
-
- {t("resultCard.previewPanel")}
-
- (format = v)}
- onquality={setFormatQuality}
- onlimit={(v) => (limitKb = v)}
- />
-
-
- {#if errorText}
-
{errorText}
- {/if}
- {#each allWarnings as w (warningText(w))}
-
{warningText(w)}
- {/each}
- {#if canExtend}
-
-
addStepAt(0, id)} />
-
-
- {/if}
- {#each steps as step, i (step.key)}
- {@const input = i === 0 ? null : stepResults[i - 1]}
- {@const out = stepResults[i]}
- {#if i > 0}
-
- {/if}
-
- {@render stepCard(step, i)}
-
- {#if i === 0}
-
(textSource = v)}
- onrendertext={run}
- onupload={handleFile}
- onuploadmany={handleFiles}
- />
- {:else}
- {@const inSet = stepFileSets[i - 1] ?? []}
- 1 ? inSet.length : undefined}
- >
- {#if inSet.length > 1}
-
- {:else if input}
-
- {:else}
- {t("resultCard.noResult")}
- {/if}
-
- {/if}
- {#if i === steps.length - 1}
- toggleStepMask(steps[i].key)
- : undefined}
- oncopy={copyText}
- ondownloadtxt={downloadText}
- />
- {:else}
- {@const outSet = stepFileSets[i] ?? []}
- 1 ? outSet.length : undefined}
- >
- {#snippet actions()}
- {@render maskChip(i)}
- {/snippet}
- {#if outSet.length > 1 && !stepMaskOn[i]}
-
- {:else if out}
-
- {:else}
- {t("resultCard.noResult")}
- {/if}
-
- {/if}
-
-
- {#if canExtend}
-
-
addStepAt(i + 1, id)} />
-
-
- {/if}
- {/each}
-
+