{ if (e.detail === false) { onClose(); } }} >
{ await showControls.set(true); await showOverview.set(true); }} >
{$i18n.t('Overview')}
{ await copyToClipboard(await getChatAsText()).catch((e) => { console.error(e); }); }} >
{$i18n.t('Copy')}
{ shareHandler(); }} >
{$i18n.t('Share')}
{$i18n.t('Download')}
{ downloadJSONExport(); }} >
{$i18n.t('Export chat (.json)')}
{ downloadTxt(); }} >
{$i18n.t('Plain text (.txt)')}
{ downloadPdf(); }} >
{$i18n.t('PDF document (.pdf)')}