- {#
- /**
-  * @var \Pimcore\Templating\PhpEngine this
-  * @var \Pimcore\Templating\PhpEngine view
-  * @var \Pimcore\Templating\GlobalVariables app
-  * #
-  */ #}
- {% if templateData['venue']['detailContact']['address'] is defined %}
-     {% if event.getSystemIdentifier() is not same as "Graz" %}
-         {% set addressString = ((templateData['venue']['detailContact']['address'] | split("<br>"))| slice (-2, 2)) | join (" ") %}
-     {% else %}
-         {% set addressString = ((templateData['venue']['detailContact']['address'] | split("<br>")) | join (" ") | url_encode) %}
-     {% endif %}
- {% else %}
-     {% set availableBlocks = {
-         (constant('\\Elements\\Demi\\Deskline\\Constant\\AddressInterface::ADDRESS_ORGANIZER')) : {
-             'name' : 'organizer',
-             'inhalt' : [],
-             'detailIcon' : 'icon-kontakt'
-         },
-         (constant('\\Elements\\Demi\\Deskline\\Constant\\AddressInterface::ADDRESS_BOOKING')) : {
-             'name' : 'booking',
-             'inhalt' : [],
-             'detailIcon' : 'icon-preis'
-         },
-         (constant('\\Elements\\Demi\\Deskline\\Constant\\AddressInterface::ADDRESS_INFO')) : {
-             'name' : 'info',
-             'inhalt' : [],
-             'detailIcon' : 'icon-info '
-         },
-     } %}
-     {% set addresses = demi_parseAddressData(event, availableBlocks) %}
-     {% if addresses is not empty %}
-         {% if event.getSystemIdentifier() is not same as "Graz" %}
-             {% set addressString = (((addresses|filter((a) => a["inhalt"] is not empty)|first)['inhalt']['address'] | split("<br>"))| slice (-2, 2)) | join (" ") %}
-         {% else %}
-             {% set addressString = (((addresses|filter((a) => a["inhalt"] is not empty)|first)['inhalt']['address'] | split("<br>")) | join (" ") | url_encode) %}
-         {% endif %}
-     {% endif %}
- {% endif %}
- {% if addressString is defined or templateData['googlePlaceId'] is not null %}
-     <iframe frameborder="0" style="border:0"
-             src="https://www.google.com/maps/embed/v1/place?q={{ templateData['googlePlaceId'] ? "place_id:" ~ templateData['googlePlaceId'] : addressString }}&key={{ demi_getMapsKey() }}"
-             allowfullscreen></iframe>
- {% endif %}