prototype(Newland.CityTheme:HeroSlide) < prototype(Neos.Neos:Content) {
    buttonLink = ${q(node).property('buttonLink')}
    buttonLink.@process.convertUris = Neos.Neos:ConvertUris

    buttonOpenLinkInNewWindow = true
    buttonOpenLinkInNewWindow.@if.external = ${String.indexOf(q(node).property('buttonLink'), 'node://') == -1}

    buttonType = ${q(site).property('buttonType')}
    heroDecoration = ${q(site).property('heroDecoration')}

    focusPoint = ${q(node).property('focusPoint')}

    alternativeText = Neos.Fusion:Case {
        isImagePropertyCaption {
            condition = ${!String.isBlank(q(node).property('image').caption)}
            renderer = ${String.trim(String.stripTags(q(node).property('image').caption))}
        }
        fallback {
            condition = TRUE
            renderer = ${q(node).property('image').title}
        }
    }
}
