{#if visible}
{ if (e.key === 'Escape') handleBackdropClick(); }} role="presentation" tabindex="-1" >
e.stopPropagation()} onkeydown={(e) => e.stopPropagation()} >
Kurzlink erstellen
{#if !createdLink}
Ziel-URL
{url}
{#if title}
Titel
{title}
{/if}
Eigenen Kurzcode verwenden
{#if useCustomCode}
ulo.ad/
{/if}
(showAdvanced = !showAdvanced)} class="flex items-center gap-1.5 text-xs text-gray-400 hover:text-gray-300 transition-colors" >
▶
Erweiterte Optionen
{#if showAdvanced}
Passwortschutz
{#if usePassword}
{/if}
Ablaufdatum
{#if useExpiry}
{/if}
{/if} {#if error}
{error}
{/if}
{creating ? 'Erstelle...' : 'Kurzlink erstellen'}
{:else}
Kurzlink erstellt
{createdLink.shortUrl}
{#if showQr}
downloadQrCode(createdLink!.shortCode, getBaseUrl())} class="text-sm text-indigo-400 hover:text-indigo-300 transition-colors" > QR herunterladen
{/if}
copyToClipboard(createdLink!.shortUrl)} class="flex flex-1 items-center justify-center gap-2 rounded-lg border border-white/10 px-3 py-2.5 text-sm font-medium text-white hover:bg-white/5 transition-colors" >
{copied ? 'Kopiert!' : 'Kopieren'}
(showQr = !showQr)} class="flex items-center justify-center gap-2 rounded-lg border border-white/10 px-3 py-2.5 text-sm font-medium text-white hover:bg-white/5 transition-colors {showQr ? 'bg-white/10' : ''}" >
QR
{/if}
via
{source}
{#if createdLink && usePassword && password}
Passwortgeschützt
{/if} {#if createdLink && useExpiry && expiresAt}
Läuft ab
{/if}
Sichtbar in uLoad
{/if}