{#if activity.distance}
{getDistance(measurementSystem, activity.distance)}
{measurementSystem === 'imperial' ? 'miles' : 'km'}
{/if}
{#if activity.moving_time}
{formatDuration(activity.moving_time)}
{$t('adventures.moving_time')}
{/if}
{#if activity.elevation_gain}
{getElevation(measurementSystem, activity.elevation_gain)}
{measurementSystem === 'imperial' ? 'ft' : 'm'} ↗
{/if}
{#if activity.average_speed}
{formatSpeed(activity.average_speed)}
{$t('adventures.average_speed')}
{/if}
{#if activity.elapsed_time || activity.rest_time}
{#if activity.elapsed_time}
{$t('adventures.total')}: {formatDuration(activity.elapsed_time)}
{/if}
{#if activity.rest_time}
{$t('adventures.rest')}: {formatDuration(activity.rest_time)}
{/if}
{/if}
{#if activity.elev_high || activity.elev_low || activity.elevation_loss}
{#if activity.elev_high}
{$t('adventures.high')}: {getElevation(
measurementSystem,
activity.elev_high
)}{measurementSystem === 'imperial' ? 'ft' : 'm'}
{/if}
{#if activity.elev_low}
{$t('adventures.low')}: {getElevation(
measurementSystem,
activity.elev_low
)}{measurementSystem === 'imperial' ? 'ft' : 'm'}
{/if}
{#if activity.elevation_loss}
↘ {getElevation(measurementSystem, activity.elevation_loss)}{measurementSystem ===
'imperial'
? 'ft'
: 'm'}
{/if}
{/if}
{#if activity.max_speed}
{$t('adventures.max_speed')}: {formatSpeed(activity.max_speed)}
{/if}
{#if activity.average_cadence || activity.calories}
{#if activity.average_cadence}
{$t('adventures.cadence')}: {activity.average_cadence} rpm
{/if}
{#if activity.calories}
{activity.calories}
{$t('adventures.calories')}
{/if}
{/if}
{#if trail}
{$t('adventures.trail')}: {trail.name}
{/if}
{#if activity.start_date}
Started: {formatDateInTimezone(
activity.start_date,
activity.timezone || Intl.DateTimeFormat().resolvedOptions().timeZone
)}
{#if activity.timezone}
{$t('adventures.timezone')}: {activity.timezone}
{/if}
{/if}
{#if activity.start_lat && activity.start_lng}
{$t('adventures.start')}: {activity.start_lat.toFixed(4)}, {activity.start_lng.toFixed(
4
)}
{#if activity.end_lat && activity.end_lng && (activity.end_lat !== activity.start_lat || activity.end_lng !== activity.start_lng)}
{$t('adventures.end')}: {activity.end_lat.toFixed(4)}, {activity.end_lng.toFixed(
4
)}
{/if}
{/if}
{#if activity.gpx_file}
{/if}