d?.error !== undefined)}>
Something went wrong while contacting the MapComplete Studio Server: {$layersWithErr["error"]}
The server might be offline. Please:
osmConnection.AttemptLogin()}> Please log in to use MapComplete Studio
{#if state === undefined}

MapComplete Studio

state = "edit_layer"}> Edit an existing layer createNewLayer()}> Create a new layer state = "edit_theme"}> Edit a theme {editThemeState.configuration.setData({}); state = "editing_theme"}}> Create a new theme {showIntro.setData(true)} }> Show the introduction again
{:else if state === "edit_layer"}
{state =undefined}}>MapComplete Studio

Choose a layer to edit

Your layers

Layers by other contributors

Official layers by MapComplete

{:else if state === "edit_theme"}
{state =undefined}}>MapComplete Studio

Choose a theme to edit

Your themes

Themes by other contributors

Official themes by MapComplete

{:else if state === "loading"}
{:else if state === "editing_layer"} {state =undefined}}>MapComplete Studio {:else if state === "editing_theme"} {state =undefined}}>MapComplete Studio {/if}
{#if $showIntro} {showIntro.setData(false)}}>
{showIntro.setData(false)}} />
{/if}