{% do jsConfig().add({
'lang': app.request.locale,
'admin': editmode ? true : false,
'googleMapAPIKey': googleApiKey(),
}) %}
{% do jsConfig('_translations').add({
'alert-notification.generic-error': 'Oops. Something went wrong. Please try again.',
'alert-notification.close': 'Close'
}) %}
{% set host = app.request.getHost() %}
{% set path = app.request.pathinfo %}
{# Check if domain is exactly www.kuhn.at #}
{% if host == 'www.kuhn.at' or host == 'kuhn.at' %}
{# Match only specific paths #}
{% if path matches '#^/en/cranes-handling-systems/(cranes|forklifts|industries|services)(/|$)#' or
path matches '#^/de/ladetechnik/(krane|staple|branchen|services)(/|$)#' %}
<script defer="true">
(function(w,d,s,l,i){
var g=w[l] ? '&s='+w[l]:'', f=d.getElementsByTagName(s)[0], j=d.createElement(s);
j.async=true,j.src='https://dntfctn.com/stm.js?id='+i+g;
j.referrerPolicy='no-referrer-when-downgrade';
f.parentNode.insertBefore(j,f);
})(window,document,'script','name','F5H4h6m7P1H8')
</script>
{% endif %}
{% endif %}