{#if quickAddedLocation}

{mode === 'lodging' ? 'Lodging added' : 'Location added'}

{quickAddedLocation.name}

{/if}
{#if searchQuery && !selectedLocation} {/if}
{#if isSearching}
{$t('adventures.searching')}...
{:else if searchResults.length > 0}
{#each searchResults as result} {/each}
{/if}
{$t('adventures.or') || 'OR'}

{$t('adventures.select_on_map') || 'Select on Map'}

{#if selectedMarker} {/if}
{#if !selectedMarker}

{#if mode === 'lodging'} Click on the map to select a lodging {:else} {$t('adventures.click_map') || 'Click on the map to select a location'} {/if}

{/if} {#if isReverseGeocoding}
{$t('adventures.getting_location_details') || 'Getting details...'}
{/if} {#if selectedMarker} {/if}
{#if selectedLocation && selectedMarker}
{#if selectedLocation.photos && selectedLocation.photos.length > 0} {selectedLocation.name} {/if}

{mode === 'lodging' ? $t('lodging.new_lodging') || 'Lodging selected' : $t('adventures.location_selected')}

{selectedLocation.name}

{selectedLocation.location}

{#if selectedLocation.rating}
{selectedLocation.rating} {#if selectedLocation.review_count} ({selectedLocation.review_count} reviews) {/if}
{/if} {#if isEnrichingDescription}
Improving description quality...
{/if}

{selectedMarker.lat.toFixed(6)}, {selectedMarker.lng.toFixed(6)}

{#if selectedLocation.types && selectedLocation.types.length > 0}
{#each selectedLocation.types.slice(0, 5) as typeName} {typeName} {/each}
{/if}
{#if googleEnabled && supportsCategory}

Optional. If not selected, backend defaults to General.

{/if} {/if}
{#if selectedLocation && selectedMarker && googleEnabled} {:else} {/if}