{#if app.renewedUntil}
(app.renewedUntil = null)}>
{#snippet title()}Renewed. The Domi intermediate certificate is now valid until {longDate(app.renewedUntil, false)}.{/snippet}
{:else if i?.renewal}
{@const r = i.renewal}
{#snippet title()}
Sign the renewal on the offline computer. The next page has the files, the command and a fingerprint to check.
{/snippet}
The request stays open for {duration(secondsLeft(r.expires_at))}. {#if problem}{problem}{/if}
{#snippet actions()}
{/snippet}
{:else if i?.banner}
{#snippet title()}{i.banner?.message}{/snippet}
{i.state === "missing" ? "Setting it up makes a request that the Domi root signs on the offline computer." : "Renewing makes a request that the Domi root signs on the offline computer."}
{#if problem} {problem}{/if}
{#snippet actions()}{/snippet}
{/if}