MapComplete/src/UI/ThemeViewGUI.svelte

533 lines
20 KiB
Svelte
Raw Normal View History

2023-03-24 19:21:15 +01:00
<script lang="ts">
import { Store, UIEventSource } from "../Logic/UIEventSource"
import { Map as MlMap } from "maplibre-gl"
import MaplibreMap from "./Map/MaplibreMap.svelte"
import FeatureSwitchState from "../Logic/State/FeatureSwitchState"
import MapControlButton from "./Base/MapControlButton.svelte"
import ToSvelte from "./Base/ToSvelte.svelte"
import If from "./Base/If.svelte"
import type { Feature } from "geojson"
import SelectedElementView from "./BigComponents/SelectedElementView.svelte"
import LayerConfig from "../Models/ThemeConfig/LayerConfig"
import Filterview from "./BigComponents/Filterview.svelte"
import ThemeViewState from "../Models/ThemeViewState"
import type { MapProperties } from "../Models/MapProperties"
import Geosearch from "./BigComponents/Geosearch.svelte"
import Translations from "./i18n/Translations"
import { CogIcon, EyeIcon, HeartIcon, MenuIcon, XCircleIcon } from "@rgossiaux/svelte-heroicons/solid"
import Tr from "./Base/Tr.svelte"
import CommunityIndexView from "./BigComponents/CommunityIndexView.svelte"
import FloatOver from "./Base/FloatOver.svelte"
import PrivacyPolicy from "./BigComponents/PrivacyPolicy"
import Constants from "../Models/Constants"
import TabbedGroup from "./Base/TabbedGroup.svelte"
import UserRelatedState from "../Logic/State/UserRelatedState"
import LoginToggle from "./Base/LoginToggle.svelte"
import LoginButton from "./Base/LoginButton.svelte"
import CopyrightPanel from "./BigComponents/CopyrightPanel"
import DownloadPanel from "./DownloadFlow/DownloadPanel.svelte"
import ModalRight from "./Base/ModalRight.svelte"
import { Utils } from "../Utils"
import Hotkeys from "./Base/Hotkeys"
import OverlayToggle from "./BigComponents/OverlayToggle.svelte"
import LevelSelector from "./BigComponents/LevelSelector.svelte"
import ExtraLinkButton from "./BigComponents/ExtraLinkButton"
import SelectedElementTitle from "./BigComponents/SelectedElementTitle.svelte"
import ThemeIntroPanel from "./BigComponents/ThemeIntroPanel.svelte"
import type { RasterLayerPolygon } from "../Models/RasterLayers"
import { AvailableRasterLayers } from "../Models/RasterLayers"
import RasterLayerOverview from "./Map/RasterLayerOverview.svelte"
import IfHidden from "./Base/IfHidden.svelte"
import { onDestroy } from "svelte"
import MapillaryLink from "./BigComponents/MapillaryLink.svelte"
import OpenIdEditor from "./BigComponents/OpenIdEditor.svelte"
import OpenBackgroundSelectorButton from "./BigComponents/OpenBackgroundSelectorButton.svelte"
import StateIndicator from "./BigComponents/StateIndicator.svelte"
import ShareScreen from "./BigComponents/ShareScreen.svelte"
import UploadingImageCounter from "./Image/UploadingImageCounter.svelte"
import PendingChangesIndicator from "./BigComponents/PendingChangesIndicator.svelte"
import Cross from "../assets/svg/Cross.svelte"
import LanguagePicker from "./InputElement/LanguagePicker.svelte"
import Mastodon from "../assets/svg/Mastodon.svelte"
import Bug from "../assets/svg/Bug.svelte"
import Liberapay from "../assets/svg/Liberapay.svelte"
import OpenJosm from "./Base/OpenJosm.svelte"
import Min from "../assets/svg/Min.svelte"
import Plus from "../assets/svg/Plus.svelte"
import Filter from "../assets/svg/Filter.svelte"
import Add from "../assets/svg/Add.svelte"
import Statistics from "../assets/svg/Statistics.svelte"
import Community from "../assets/svg/Community.svelte"
import Download from "../assets/svg/Download.svelte"
import Share from "../assets/svg/Share.svelte"
import Favourites from "./Favourites/Favourites.svelte"
import ImageOperations from "./Image/ImageOperations.svelte"
import VisualFeedbackPanel from "./BigComponents/VisualFeedbackPanel.svelte"
import { Orientation } from "../Sensors/Orientation"
2023-12-18 01:30:02 +01:00
import GeolocationControl from "./BigComponents/GeolocationControl.svelte"
import Compass_arrow from "../assets/svg/Compass_arrow.svelte"
2023-12-19 22:21:34 +01:00
import ReverseGeocoding from "./BigComponents/ReverseGeocoding.svelte"
import FilterPanel from "./BigComponents/FilterPanel.svelte"
export let state: ThemeViewState
let layout = state.layout
let maplibremap: UIEventSource<MlMap> = state.map
let selectedElement: UIEventSource<Feature> = new UIEventSource<Feature>(undefined)
let compass = Orientation.singleton.alpha
let compassLoaded = Orientation.singleton.gotMeasurement
2023-12-16 01:42:45 +01:00
Orientation.singleton.startMeasurements()
state.selectedElement.addCallback(selected => {
if (!selected) {
selectedElement.setData(selected)
return
}
if (selected !== selectedElement.data) {
// We first set the selected element to 'undefined' to force the popup to close...
selectedElement.setData(undefined)
}
// ... we give svelte some time to update with requestAnimationFrame ...
window.requestAnimationFrame(() => {
// ... and we force a fresh popup window
selectedElement.setData(selected)
})
})
let selectedLayer: Store<LayerConfig> = state.selectedElement.mapD(element => state.layout.getMatchingLayer(element.properties))
let currentZoom = state.mapProperties.zoom
let showCrosshair = state.userRelatedState.showCrosshair
let arrowKeysWereUsed = state.visualFeedback
let mapproperties: MapProperties = state.mapProperties
let featureSwitches: FeatureSwitchState = state.featureSwitches
let availableLayers = state.availableLayers
let currentViewLayer = layout.layers.find((l) => l.id === "current_view")
let rasterLayer: Store<RasterLayerPolygon> = state.mapProperties.rasterLayer
let rasterLayerName =
rasterLayer.data?.properties?.name ?? AvailableRasterLayers.maptilerDefaultLayer.properties.name
onDestroy(
rasterLayer.addCallbackAndRunD((l) => {
rasterLayerName = l.properties.name
}),
)
let previewedImage = state.previewedImage
function forwardEventToMap(e: KeyboardEvent) {
const mlmap = state.map.data
if (!mlmap) {
return
}
if (!mlmap.keyboard.isEnabled()) {
return
}
const animation = mlmap.keyboard?.keydown(e)
animation?.cameraAnimation(mlmap)
}
2023-03-24 19:21:15 +01:00
</script>
2023-06-14 20:44:01 +02:00
<div class="absolute top-0 left-0 h-screen w-screen overflow-hidden">
2023-06-15 16:12:46 +02:00
<MaplibreMap map={maplibremap} />
2023-03-24 19:21:15 +01:00
</div>
2023-06-14 20:44:01 +02:00
<div class="pointer-events-none absolute top-0 left-0 w-full">
2023-06-15 16:12:46 +02:00
<!-- Top components -->
<If condition={state.featureSwitches.featureSwitchSearch}>
<div class="pointer-events-auto float-right mt-1 px-1 max-[480px]:w-full sm:m-2">
<Geosearch
bounds={state.mapProperties.bounds}
on:searchCompleted={() => {state.map?.data?.getCanvas()?.focus()}}
2023-06-15 16:12:46 +02:00
perLayer={state.perLayer}
selectedElement={state.selectedElement}
2023-06-15 16:12:46 +02:00
/>
</div>
</If>
<div class="float-left m-1 flex flex-col sm:mt-2">
<MapControlButton on:click={() => state.guistate.themeIsOpened.setData(true)}
on:keydown={forwardEventToMap}>
2023-06-15 16:12:46 +02:00
<div class="m-0.5 mx-1 flex cursor-pointer items-center max-[480px]:w-full sm:mx-1 md:mx-2">
<img class="mr-0.5 block h-6 w-6 sm:mr-1 md:mr-2 md:h-8 md:w-8" src={layout.icon} />
<b class="mr-1">
<Tr t={layout.title} />
</b>
</div>
</MapControlButton>
<MapControlButton
arialabel={Translations.t.general.labels.menu}
on:click={() => state.guistate.menuIsOpened.setData(true)}
on:keydown={forwardEventToMap}
>
2023-06-15 16:12:46 +02:00
<MenuIcon class="h-8 w-8 cursor-pointer" />
</MapControlButton>
{#if currentViewLayer?.tagRenderings && currentViewLayer.defaultIcon()}
<MapControlButton
on:click={() => {
selectedElement.setData(state.currentView.features?.data?.[0])
}}
on:keydown={forwardEventToMap}
2023-06-15 16:12:46 +02:00
>
<ToSvelte
2023-06-15 16:12:46 +02:00
construct={() => currentViewLayer.defaultIcon().SetClass("w-8 h-8 cursor-pointer")}
/>
2023-06-15 16:12:46 +02:00
</MapControlButton>
{/if}
<ToSvelte
construct={() => new ExtraLinkButton(state, layout.extraLink).SetClass("pointer-events-auto")}
/>
2023-10-19 12:23:13 +02:00
<UploadingImageCounter featureId="*" showThankYou={false} {state} />
2023-10-16 14:27:05 +02:00
<PendingChangesIndicator {state} />
2023-06-15 16:12:46 +02:00
<If condition={state.featureSwitchIsTesting}>
<div class="alert w-fit">Testmode</div>
</If>
</div>
<div class="flex w-full justify-center">
<!-- Flex and w-full are needed for the positioning -->
<!-- Centermessage -->
<StateIndicator {state} />
2023-12-19 22:21:34 +01:00
<ReverseGeocoding mapProperties={mapproperties}/>
2023-06-15 16:12:46 +02:00
</div>
2023-03-24 19:21:15 +01:00
</div>
2023-06-14 20:44:01 +02:00
<div class="pointer-events-none absolute bottom-0 left-0 mb-4 w-screen">
2023-06-15 16:12:46 +02:00
<!-- bottom controls -->
<div class="flex w-full items-end justify-between px-4">
<div class="flex flex-col">
<If condition={featureSwitches.featureSwitchEnableLogin}>
{#if state.lastClickObject.hasPresets || state.lastClickObject.hasNoteLayer}
2023-10-16 14:27:05 +02:00
<button
class="pointer-events-auto w-fit"
on:click={() => {
state.openNewDialog()
}}
on:keydown={forwardEventToMap}
2023-10-16 14:27:05 +02:00
>
{#if state.lastClickObject.hasPresets}
<Tr t={Translations.t.general.add.title} />
{:else}
<Tr t={Translations.t.notes.addAComment} />
{/if}
</button>
{/if}
</If>
<div class="flex">
<!-- bottom left elements -->
<If condition={state.featureSwitches.featureSwitchFilter}>
<MapControlButton arialabel={Translations.t.general.labels.filter}
on:click={() => state.guistate.openFilterView()}
on:keydown={forwardEventToMap}
>
<Filter class="h-6 w-6" />
</MapControlButton>
</If>
<If condition={state.featureSwitches.featureSwitchBackgroundSelection}>
<OpenBackgroundSelectorButton hideTooltip={true} {state} />
</If>
<a
class="bg-black-transparent pointer-events-auto h-fit max-h-12 cursor-pointer self-end overflow-hidden rounded-2xl pl-1 pr-2 text-white opacity-50 hover:opacity-100"
on:click={() => {
2023-10-16 14:27:05 +02:00
state.guistate.themeViewTab.setData("copyright")
state.guistate.themeIsOpened.setData(true)
}}
>
© OpenStreetMap, <span class="w-24">{rasterLayerName}</span>
</a>
</div>
2023-06-15 16:12:46 +02:00
</div>
<If condition={state.visualFeedback}>
<VisualFeedbackPanel {state} />
</If>
2023-06-15 16:12:46 +02:00
<div class="flex flex-col items-end">
<!-- bottom right elements -->
<If condition={state.floors.map((f) => f.length > 1)}>
<div class="pointer-events-auto mr-0.5">
<LevelSelector
floors={state.floors}
layerState={state.layerState}
zoom={state.mapProperties.zoom}
/>
</div>
</If>
<MapControlButton arialabel={Translations.t.general.labels.zoomIn}
on:click={() => mapproperties.zoom.update((z) => z + 1)}
on:keydown={forwardEventToMap}
>
2023-12-01 15:23:28 +01:00
<Plus class="h-8 w-8" />
2023-06-15 16:12:46 +02:00
</MapControlButton>
<MapControlButton arialabel={Translations.t.general.labels.zoomOut}
on:click={() => mapproperties.zoom.update((z) => z - 1)}
on:keydown={forwardEventToMap}
>
2023-12-01 15:23:28 +01:00
<Min class="h-8 w-8" />
2023-06-15 16:12:46 +02:00
</MapControlButton>
<If condition={featureSwitches.featureSwitchGeolocation}>
2023-12-18 01:30:02 +01:00
<div class="relative m-0.5 md:m-1">
<MapControlButton arialabel={Translations.t.general.labels.jumpToLocation}
on:click={() => state.geolocationControl.handleClick()}
on:keydown={forwardEventToMap}
>
<GeolocationControl {state} /> <!-- h-8 w-8 + p-0.5 sm:p-1 + 2px border => 9 sm: 10 in total-->
</MapControlButton>
{#if $compassLoaded}
2023-12-18 01:30:02 +01:00
<div class="absolute top-0 left-0 w-0 h-0 m-0.5 sm:m-1">
2023-12-19 22:21:34 +01:00
<Compass_arrow class="compass_arrow" style={`rotate: calc(${-$compass}deg + 45deg); transform-origin: 50% 50%;`} />
</div>
{/if}
</div>
2023-12-18 01:30:02 +01:00
2023-06-15 16:12:46 +02:00
</If>
2023-05-18 15:44:54 +02:00
</div>
2023-06-15 16:12:46 +02:00
</div>
2023-03-24 19:21:15 +01:00
</div>
2023-10-30 13:44:27 +01:00
<LoginToggle ignoreLoading={true} {state}>
{#if ($showCrosshair === "yes" && $currentZoom >= 17) || $showCrosshair === "always" || $arrowKeysWereUsed}
<div
class="pointer-events-none absolute top-0 left-0 flex h-full w-full items-center justify-center"
>
<Cross class="h-4 w-4" />
</div>
{/if}
<svelte:fragment slot="error" /> <!-- Add in an empty container to remove errors -->
2023-10-15 01:05:09 +02:00
</LoginToggle>
<If condition={state.previewedImage.map(i => i!==undefined)}>
<FloatOver extraClasses="p-1" on:close={() => state.previewedImage.setData(undefined)}>
<div
class="absolute right-4 top-4 h-8 w-8 cursor-pointer rounded-full hover:bg-white bg-white/50 transition-colors duration-200"
on:click={() => previewedImage.setData(undefined)}
slot="close-button"
>
<XCircleIcon />
</div>
<ImageOperations image={$previewedImage} />
</FloatOver>
</If>
{#if $selectedElement !== undefined && $selectedLayer !== undefined && !($selectedLayer.popupInFloatover)}
2023-06-15 16:12:46 +02:00
<!-- right modal with the selected element view -->
<ModalRight
on:close={() => {
selectedElement.setData(undefined)
}}
2023-06-15 16:12:46 +02:00
>
<div slot="close-button" />
2023-06-15 16:12:46 +02:00
<div class="normal-background absolute flex h-full w-full flex-col">
<SelectedElementTitle {state} layer={$selectedLayer} selectedElement={$selectedElement} />
<SelectedElementView {state} layer={$selectedLayer} selectedElement={$selectedElement} />
2023-06-15 16:12:46 +02:00
</div>
</ModalRight>
{/if}
2023-03-28 05:13:48 +02:00
{#if $selectedElement !== undefined && $selectedLayer !== undefined && $selectedLayer.popupInFloatover}
2023-06-15 16:12:46 +02:00
<!-- Floatover with the selected element, if applicable -->
<FloatOver
on:close={() => {
selectedElement.setData(undefined)
}}
2023-06-15 16:12:46 +02:00
>
<div class="h-full w-full flex">
<SelectedElementView {state} layer={$selectedLayer} selectedElement={$selectedElement} />
</div>
2023-06-15 16:12:46 +02:00
</FloatOver>
{/if}
<If condition={state.guistate.themeIsOpened}>
2023-06-15 16:12:46 +02:00
<!-- Theme menu -->
<FloatOver on:close={() => state.guistate.themeIsOpened.setData(false)}>
2023-06-15 16:12:46 +02:00
<span slot="close-button"><!-- Disable the close button --></span>
2023-10-16 14:27:05 +02:00
<TabbedGroup
2023-10-16 14:27:05 +02:00
condition1={state.featureSwitches.featureSwitchFilter}
tab={state.guistate.themeViewTabIndex}
>
2023-06-15 16:12:46 +02:00
<div slot="post-tablist">
<XCircleIcon
class="mr-2 h-8 w-8"
on:click={() => state.guistate.themeIsOpened.setData(false)}
/>
</div>
<div class="flex" slot="title0">
<img class="block h-4 w-4" src={layout.icon} />
<Tr t={layout.title} />
</div>
<div class="m-4 h-full" slot="content0">
<ThemeIntroPanel {state} />
</div>
<div class="flex" slot="title1">
<If condition={state.featureSwitches.featureSwitchEnableExport}>
2023-12-01 15:23:28 +01:00
<Download class="h-4 w-4" />
2023-06-15 16:12:46 +02:00
<Tr t={Translations.t.general.download.title} />
</If>
</div>
2023-12-19 22:21:34 +01:00
<div class="m-4" slot="content1">
2023-06-15 16:12:46 +02:00
<DownloadPanel {state} />
</div>
2023-12-19 22:21:34 +01:00
<div slot="title2">
2023-06-15 16:12:46 +02:00
<Tr t={Translations.t.general.attribution.title} />
</div>
2023-12-19 22:21:34 +01:00
<ToSvelte construct={() => new CopyrightPanel(state)} slot="content2" />
2023-06-15 16:12:46 +02:00
2023-12-19 22:21:34 +01:00
<div class="flex" slot="title3">
2023-12-01 15:23:28 +01:00
<Share class="h-4 w-4" />
2023-06-15 16:12:46 +02:00
<Tr t={Translations.t.general.sharescreen.title} />
</div>
2023-12-19 22:21:34 +01:00
<div class="m-2" slot="content3">
2023-09-16 18:52:42 +02:00
<ShareScreen {state} />
2023-06-15 16:12:46 +02:00
</div>
</TabbedGroup>
</FloatOver>
2023-03-28 05:13:48 +02:00
</If>
2023-12-19 22:21:34 +01:00
<If condition={state.guistate.filtersPanelIsOpened}>
<FloatOver on:close={() => state.guistate.filtersPanelIsOpened.setData(false)}>
<FilterPanel {state}/>
</FloatOver>
</If>
2023-05-18 15:44:54 +02:00
<IfHidden condition={state.guistate.backgroundLayerSelectionIsOpened}>
2023-06-15 16:12:46 +02:00
<!-- background layer selector -->
2023-11-09 16:30:26 +01:00
<FloatOver
2023-10-16 14:27:05 +02:00
on:close={() => {
state.guistate.backgroundLayerSelectionIsOpened.setData(false)
}}
>
<div class="h-full p-2">
2023-06-15 16:12:46 +02:00
<RasterLayerOverview
{availableLayers}
map={state.map}
mapproperties={state.mapProperties}
userstate={state.userRelatedState}
visible={state.guistate.backgroundLayerSelectionIsOpened}
/>
</div>
</FloatOver>
2023-05-18 15:44:54 +02:00
</IfHidden>
2023-03-28 05:13:48 +02:00
<If condition={state.guistate.menuIsOpened}>
2023-06-15 16:12:46 +02:00
<!-- Menu page -->
2023-10-16 14:27:05 +02:00
<FloatOver on:close={() => state.guistate.menuIsOpened.setData(false)}>
2023-06-15 16:12:46 +02:00
<span slot="close-button"><!-- Hide the default close button --></span>
2023-10-16 14:27:05 +02:00
<TabbedGroup
condition1={featureSwitches.featureSwitchEnableLogin}
condition2={state.featureSwitches.featureSwitchCommunityIndex}
tab={state.guistate.menuViewTabIndex}
>
2023-06-15 16:12:46 +02:00
<div slot="post-tablist">
<XCircleIcon
class="mr-2 h-8 w-8"
on:click={() => state.guistate.menuIsOpened.setData(false)}
/>
</div>
<div class="flex" slot="title0">
<Tr t={Translations.t.general.menu.aboutMapComplete} />
</div>
<div class="links-as-button links-w-full m-2 flex flex-col gap-y-1" slot="content0">
<Tr t={Translations.t.general.aboutMapComplete.intro} />
<a class="flex" href={Utils.HomepageLink()}>
<Add class="h-6 w-6" />
2023-06-15 16:12:46 +02:00
<Tr t={Translations.t.general.backToIndex} />
</a>
<a class="flex" href="https://github.com/pietervdvn/MapComplete/issues" target="_blank">
<Bug class="h-6 w-6" />
2023-06-15 16:12:46 +02:00
<Tr t={Translations.t.general.attribution.openIssueTracker} />
</a>
<a class="flex" href="https://en.osm.town/@MapComplete" target="_blank">
2023-12-01 15:23:28 +01:00
<Mastodon class="h-6 w-6" />
2023-06-15 16:12:46 +02:00
<Tr t={Translations.t.general.attribution.followOnMastodon} />
</a>
<a class="flex" href="https://liberapay.com/pietervdvn/" target="_blank">
<Liberapay class="h-6 w-6" />
2023-06-15 16:12:46 +02:00
<Tr t={Translations.t.general.attribution.donate} />
</a>
<a class="flex" href={Utils.OsmChaLinkFor(7)} target="_blank">
<Statistics class="h-6 w-6" />
2023-06-15 16:12:46 +02:00
<Tr t={Translations.t.general.attribution.openOsmcha.Subs({ theme: "MapComplete" })} />
</a>
{Constants.vNumber}
</div>
<div class="flex" slot="title1">
<CogIcon class="h-6 w-6" />
<Tr t={UserRelatedState.usersettingsConfig.title.GetRenderValue({})} />
</div>
<div class="links-as-button" slot="content1">
<!-- All shown components are set by 'usersettings.json', which happily uses some special visualisations created specifically for it -->
<LoginToggle {state}>
<div class="flex flex-col" slot="not-logged-in">
<LanguagePicker availableLanguages={layout.language} />
<Tr cls="alert" t={Translations.t.userinfo.notLoggedIn} />
2023-06-15 16:12:46 +02:00
<LoginButton clss="primary" osmConnection={state.osmConnection} />
</div>
<SelectedElementView
highlightedRendering={state.guistate.highlightedUserSetting}
layer={UserRelatedState.usersettingsConfig}
selectedElement={{
type: "Feature",
properties: {},
geometry: { type: "Point", coordinates: [0, 0] },
}}
2023-06-15 16:12:46 +02:00
{state}
tags={state.userRelatedState.preferencesAsTags}
/>
</LoginToggle>
</div>
<div class="flex" slot="title2">
<HeartIcon class="h-6 w-6" />
<Tr t={Translations.t.favouritePoi.tab} />
</div>
2023-12-02 03:19:50 +01:00
<div class="flex flex-col m-2" slot="content2">
<h3>
<Tr t={Translations.t.favouritePoi.title} />
</h3>
<Favourites {state} />
</div>
<div class="flex" slot="title3">
2023-12-01 15:23:28 +01:00
<Community class="h-6 w-6" />
2023-07-28 01:02:31 +02:00
<Tr t={Translations.t.communityIndex.title} />
2023-06-15 16:12:46 +02:00
</div>
<div class="m-2" slot="content3">
2023-06-15 16:12:46 +02:00
<CommunityIndexView location={state.mapProperties.location} />
</div>
<div class="flex" slot="title4">
2023-06-15 16:12:46 +02:00
<EyeIcon class="w-6" />
<Tr t={Translations.t.privacy.title} />
</div>
<div class="m-2" slot="content4">
2023-06-15 16:12:46 +02:00
<ToSvelte construct={() => new PrivacyPolicy()} />
</div>
<Tr slot="title5" t={Translations.t.advanced.title} />
<div class="m-2 flex flex-col" slot="content5">
<If condition={featureSwitches.featureSwitchEnableLogin}>
<OpenIdEditor mapProperties={state.mapProperties} />
<OpenJosm {state} />
<MapillaryLink mapProperties={state.mapProperties} />
</If>
2023-06-15 16:12:46 +02:00
<ToSvelte construct={Hotkeys.generateDocumentationDynamic} />
</div>
</TabbedGroup>
</FloatOver>
2023-03-28 05:13:48 +02:00
</If>