var/cache/website/dev/twig/0e/0ede1f16ff0a373ea468ecea1529aaac.php line 284
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* base.html.twig */
class __TwigTemplate_7cdcf8409069f65f4213d98436725e33 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'meta' => [$this, 'block_meta'],
'metaSeo' => [$this, 'block_metaSeo'],
'style' => [$this, 'block_style'],
'header' => [$this, 'block_header'],
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
// line 1
echo "<!DOCTYPE html>
";
// line 2
if (twig_in_filter("/_sulu_preview", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "requesturi", [], "any", false, false, false, 2))) {
// line 3
echo " ";
$context["class"] = "preview";
} else {
// line 5
echo " ";
$context["class"] = "no-preview";
}
// line 7
echo "<html lang=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 7, $this->source); })()), "request", [], "any", false, false, false, 7), "locale", [], "any", false, false, false, 7), "_"), 0, [], "array", false, false, false, 7), "html", null, true);
echo "\" class=\"";
echo twig_escape_filter($this->env, (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 7, $this->source); })()), "html", null, true);
echo "\">
<head>
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, user-scalable=no\">
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"";
// line 12
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/img/apple-touch-icon.png"), "html", null, true);
echo "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
// line 13
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/img/favicon-32x32.png"), "html", null, true);
echo "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"";
// line 14
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/img/favicon-16x16.png"), "html", null, true);
echo "\">
<script id=\"usercentrics-cmp\" src=\"https://app.usercentrics.eu/browser-ui/latest/loader.js\"
data-version=\"preview\" data-settings-id=\"rUzp4CflN\" async></script>
<link rel=\"preconnect\" href=\"//app.usercentrics.eu\">
<link rel=\"preconnect\" href=\"//api.usercentrics.eu\">
<link rel=\"preload\" href=\"//app.usercentrics.eu/browser-ui/latest/loader.js\" as=\"script\">
";
// line 21
echo "
";
// line 23
echo " ";
$context["socialMedia"] = $this->extensions['Sulu\Bundle\SnippetBundle\Twig\SnippetAreaTwigExtension']->loadByArea("social_media");
// line 24
echo " ";
if (( !twig_test_empty((isset($context["socialMedia"]) || array_key_exists("socialMedia", $context) ? $context["socialMedia"] : (function () { throw new RuntimeError('Variable "socialMedia" does not exist.', 24, $this->source); })())) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["socialMedia"]) || array_key_exists("socialMedia", $context) ? $context["socialMedia"] : (function () { throw new RuntimeError('Variable "socialMedia" does not exist.', 24, $this->source); })()), "content", [], "array", false, false, false, 24)))) {
// line 25
echo " ";
$context["defaultOG"] = twig_get_attribute($this->env, $this->source, (isset($context["socialMedia"]) || array_key_exists("socialMedia", $context) ? $context["socialMedia"] : (function () { throw new RuntimeError('Variable "socialMedia" does not exist.', 25, $this->source); })()), "content", [], "array", false, false, false, 25);
// line 26
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["defaultOG"]) || array_key_exists("defaultOG", $context) ? $context["defaultOG"] : (function () { throw new RuntimeError('Variable "defaultOG" does not exist.', 26, $this->source); })()), "ogImageUrlGlobal", [], "array", false, false, false, 26))) {
// line 27
echo " ";
$context["ogImage"] = twig_get_attribute($this->env, $this->source, (isset($context["defaultOG"]) || array_key_exists("defaultOG", $context) ? $context["defaultOG"] : (function () { throw new RuntimeError('Variable "defaultOG" does not exist.', 27, $this->source); })()), "ogImageUrlGlobal", [], "array", false, false, false, 27);
// line 28
echo " ";
$context["basePath"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 28, $this->source); })()), "request", [], "any", false, false, false, 28), "schemeAndHttpHost", [], "any", false, false, false, 28);
// line 29
echo " ";
$context["ogImagePath"] = ((isset($context["basePath"]) || array_key_exists("basePath", $context) ? $context["basePath"] : (function () { throw new RuntimeError('Variable "basePath" does not exist.', 29, $this->source); })()) . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ogImage"]) || array_key_exists("ogImage", $context) ? $context["ogImage"] : (function () { throw new RuntimeError('Variable "ogImage" does not exist.', 29, $this->source); })()), "thumbnails", [], "any", false, false, false, 29), "320x", [], "array", false, false, false, 29));
// line 30
echo " ";
}
// line 31
echo " ";
}
// line 32
echo "
";
// line 34
echo " ";
if (( !twig_test_empty((isset($context["extension"]) || array_key_exists("extension", $context) ? $context["extension"] : (function () { throw new RuntimeError('Variable "extension" does not exist.', 34, $this->source); })())) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["extension"]) || array_key_exists("extension", $context) ? $context["extension"] : (function () { throw new RuntimeError('Variable "extension" does not exist.', 34, $this->source); })()), "opengraph", [], "array", false, false, false, 34)))) {
// line 35
echo " ";
$context["opengraph"] = twig_get_attribute($this->env, $this->source, (isset($context["extension"]) || array_key_exists("extension", $context) ? $context["extension"] : (function () { throw new RuntimeError('Variable "extension" does not exist.', 35, $this->source); })()), "opengraph", [], "array", false, false, false, 35);
// line 36
echo "
";
// line 37
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["opengraph"]) || array_key_exists("opengraph", $context) ? $context["opengraph"] : (function () { throw new RuntimeError('Variable "opengraph" does not exist.', 37, $this->source); })()), "ogImageTitle", [], "array", false, false, false, 37))) {
// line 38
echo " <meta property=\"og:title\" content=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["opengraph"]) || array_key_exists("opengraph", $context) ? $context["opengraph"] : (function () { throw new RuntimeError('Variable "opengraph" does not exist.', 38, $this->source); })()), "ogImageTitle", [], "array", false, false, false, 38), "html", null, true);
echo "\"/>
";
}
// line 40
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["opengraph"]) || array_key_exists("opengraph", $context) ? $context["opengraph"] : (function () { throw new RuntimeError('Variable "opengraph" does not exist.', 40, $this->source); })()), "ogImageDescription", [], "array", false, false, false, 40))) {
// line 41
echo " <meta property=\"og:description\" content=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["opengraph"]) || array_key_exists("opengraph", $context) ? $context["opengraph"] : (function () { throw new RuntimeError('Variable "opengraph" does not exist.', 41, $this->source); })()), "ogImageDescription", [], "array", false, false, false, 41), "html", null, true);
echo "\"/>
";
}
// line 43
echo " ";
if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["opengraph"]) || array_key_exists("opengraph", $context) ? $context["opengraph"] : (function () { throw new RuntimeError('Variable "opengraph" does not exist.', 43, $this->source); })()), "ogImageUrl", [], "array", false, false, false, 43)) && !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["opengraph"]) || array_key_exists("opengraph", $context) ? $context["opengraph"] : (function () { throw new RuntimeError('Variable "opengraph" does not exist.', 43, $this->source); })()), "ogImageUrl", [], "array", false, false, false, 43), "id", [], "array", false, false, false, 43)))) {
// line 44
echo " ";
// line 45
echo " ";
$context["ogImageMedia"] = $this->extensions['Sulu\Bundle\MediaBundle\Twig\MediaTwigExtension']->resolveMediaFunction(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["opengraph"]) || array_key_exists("opengraph", $context) ? $context["opengraph"] : (function () { throw new RuntimeError('Variable "opengraph" does not exist.', 45, $this->source); })()), "ogImageUrl", [], "array", false, false, false, 45), "id", [], "array", false, false, false, 45), twig_get_attribute($this->env, $this->source, twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 45, $this->source); })()), "request", [], "any", false, false, false, 45), "locale", [], "any", false, false, false, 45), "_"), 0, [], "array", false, false, false, 45));
// line 46
echo " ";
if ( !twig_test_empty((isset($context["ogImageMedia"]) || array_key_exists("ogImageMedia", $context) ? $context["ogImageMedia"] : (function () { throw new RuntimeError('Variable "ogImageMedia" does not exist.', 46, $this->source); })()))) {
// line 47
echo " ";
$context["basePath"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 47, $this->source); })()), "request", [], "any", false, false, false, 47), "schemeAndHttpHost", [], "any", false, false, false, 47);
// line 48
echo " ";
$context["ogImagePath"] = ((isset($context["basePath"]) || array_key_exists("basePath", $context) ? $context["basePath"] : (function () { throw new RuntimeError('Variable "basePath" does not exist.', 48, $this->source); })()) . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ogImageMedia"]) || array_key_exists("ogImageMedia", $context) ? $context["ogImageMedia"] : (function () { throw new RuntimeError('Variable "ogImageMedia" does not exist.', 48, $this->source); })()), "thumbnails", [], "any", false, false, false, 48), "320x", [], "array", false, false, false, 48));
// line 49
echo " ";
}
// line 50
echo " ";
}
// line 51
echo " ";
if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["opengraph"]) || array_key_exists("opengraph", $context) ? $context["opengraph"] : (function () { throw new RuntimeError('Variable "opengraph" does not exist.', 51, $this->source); })()), "ogVideoUrl", [], "array", false, false, false, 51)) && !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["opengraph"]) || array_key_exists("opengraph", $context) ? $context["opengraph"] : (function () { throw new RuntimeError('Variable "opengraph" does not exist.', 51, $this->source); })()), "ogVideoUrl", [], "array", false, false, false, 51), "id", [], "array", false, false, false, 51)))) {
// line 52
echo " ";
// line 53
echo " ";
$context["ogVideoMedia"] = $this->extensions['Sulu\Bundle\MediaBundle\Twig\MediaTwigExtension']->resolveMediaFunction(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["opengraph"]) || array_key_exists("opengraph", $context) ? $context["opengraph"] : (function () { throw new RuntimeError('Variable "opengraph" does not exist.', 53, $this->source); })()), "ogVideoUrl", [], "array", false, false, false, 53), "id", [], "array", false, false, false, 53), twig_get_attribute($this->env, $this->source, twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 53, $this->source); })()), "request", [], "any", false, false, false, 53), "locale", [], "any", false, false, false, 53), "_"), 0, [], "array", false, false, false, 53));
// line 54
echo " ";
if ( !twig_test_empty((isset($context["ogImageMedia"]) || array_key_exists("ogImageMedia", $context) ? $context["ogImageMedia"] : (function () { throw new RuntimeError('Variable "ogImageMedia" does not exist.', 54, $this->source); })()))) {
// line 55
echo " ";
$context["basePath"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 55, $this->source); })()), "request", [], "any", false, false, false, 55), "schemeAndHttpHost", [], "any", false, false, false, 55);
// line 56
echo " ";
$context["ogVideoPath"] = ((isset($context["basePath"]) || array_key_exists("basePath", $context) ? $context["basePath"] : (function () { throw new RuntimeError('Variable "basePath" does not exist.', 56, $this->source); })()) . twig_get_attribute($this->env, $this->source, (isset($context["ogVideoMedia"]) || array_key_exists("ogVideoMedia", $context) ? $context["ogVideoMedia"] : (function () { throw new RuntimeError('Variable "ogVideoMedia" does not exist.', 56, $this->source); })()), "url", [], "any", false, false, false, 56));
// line 57
echo " ";
}
// line 58
echo " ";
}
// line 59
echo " ";
}
// line 60
echo "
";
// line 62
echo " ";
// line 63
echo " ";
if ((array_key_exists("ogVideoPath", $context) && !twig_test_empty((isset($context["ogVideoPath"]) || array_key_exists("ogVideoPath", $context) ? $context["ogVideoPath"] : (function () { throw new RuntimeError('Variable "ogVideoPath" does not exist.', 63, $this->source); })())))) {
// line 64
echo " <meta property=\"og:type\" content=\"video.other\">
<meta property=\"og:video\" content=\"";
// line 65
echo twig_escape_filter($this->env, twig_replace_filter((isset($context["ogVideoPath"]) || array_key_exists("ogVideoPath", $context) ? $context["ogVideoPath"] : (function () { throw new RuntimeError('Variable "ogVideoPath" does not exist.', 65, $this->source); })()), ["?v=1" => ""]), "html", null, true);
echo "\"/>
<meta property=\"og:video:url\" content=\"";
// line 66
echo twig_escape_filter($this->env, twig_replace_filter((isset($context["ogVideoPath"]) || array_key_exists("ogVideoPath", $context) ? $context["ogVideoPath"] : (function () { throw new RuntimeError('Variable "ogVideoPath" does not exist.', 66, $this->source); })()), ["?v=1" => ""]), "html", null, true);
echo "\"/>
<meta property=\"og:video:secure_url\" content=\"";
// line 67
echo twig_escape_filter($this->env, twig_replace_filter((isset($context["ogVideoPath"]) || array_key_exists("ogVideoPath", $context) ? $context["ogVideoPath"] : (function () { throw new RuntimeError('Variable "ogVideoPath" does not exist.', 67, $this->source); })()), ["?v=1" => ""]), "html", null, true);
echo "\"/>
<meta property=\"og:video:type\" content=\"application/mp4\"/>
";
} elseif (( // line 69
array_key_exists("ogImagePath", $context) && !twig_test_empty((isset($context["ogImagePath"]) || array_key_exists("ogImagePath", $context) ? $context["ogImagePath"] : (function () { throw new RuntimeError('Variable "ogImagePath" does not exist.', 69, $this->source); })())))) {
// line 70
echo " <meta property=\"og:image\" content=\"";
echo twig_escape_filter($this->env, twig_replace_filter((isset($context["ogImagePath"]) || array_key_exists("ogImagePath", $context) ? $context["ogImagePath"] : (function () { throw new RuntimeError('Variable "ogImagePath" does not exist.', 70, $this->source); })()), ["?v=1-0" => ""]), "html", null, true);
echo "\"/>
";
}
// line 72
echo "
<meta name=\"msapplication-TileColor\" content=\"#da532c\">
<meta name=\"theme-color\" content=\"#ffffff\">
";
// line 75
$this->displayBlock('meta', $context, $blocks);
// line 83
echo " ";
$this->displayBlock('metaSeo', $context, $blocks);
// line 86
echo " ";
$this->displayBlock('style', $context, $blocks);
// line 89
echo "</head>
<body>
";
// line 92
if (((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 92, $this->source); })()) != "preview")) {
// line 93
echo " <script defer src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/index.js"), "html", null, true);
echo "\"></script>
";
}
// line 95
if (((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 95, $this->source); })()) == "preview")) {
// line 96
echo " <script defer src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/modal-preview.js"), "html", null, true);
echo "\"></script>
<script> window.disableRevealAnimations = true; </script>
";
}
// line 99
echo "<div class=\"page-wrapper\" x-data=\"page\" x-cloak>
<div class=\"page\">
";
// line 102
echo " ";
$this->displayBlock('header', $context, $blocks);
// line 104
echo " ";
// line 105
echo " ";
// line 106
echo " ";
// line 107
echo " ";
// line 108
echo " <main>
";
// line 109
$this->displayBlock('content', $context, $blocks);
// line 110
echo " </main>
";
// line 111
$this->displayBlock('footer', $context, $blocks);
// line 113
echo " </div>
</div>
";
// line 115
$this->displayBlock('javascripts', $context, $blocks);
// line 116
echo "</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 75
public function block_meta($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
// line 76
echo " ";
$this->loadTemplate("@SuluWebsite/Extension/seo.html.twig", "base.html.twig", 76)->display(twig_array_merge($context, ["seo" => ((twig_get_attribute($this->env, $this->source, // line 77
($context["extension"] ?? null), "seo", [], "any", true, true, false, 77)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["extension"] ?? null), "seo", [], "any", false, false, false, 77), [])) : ([])), "content" => (( // line 78
array_key_exists("content", $context)) ? (_twig_default_filter((isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 78, $this->source); })()), [])) : ([])), "localizations" => (( // line 79
array_key_exists("localizations", $context)) ? (_twig_default_filter((isset($context["localizations"]) || array_key_exists("localizations", $context) ? $context["localizations"] : (function () { throw new RuntimeError('Variable "localizations" does not exist.', 79, $this->source); })()), [])) : ([])), "shadowBaseLocale" => (( // line 80
array_key_exists("shadowBaseLocale", $context)) ? (_twig_default_filter((isset($context["shadowBaseLocale"]) || array_key_exists("shadowBaseLocale", $context) ? $context["shadowBaseLocale"] : (function () { throw new RuntimeError('Variable "shadowBaseLocale" does not exist.', 80, $this->source); })()))) : (""))]));
// line 82
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 83
public function block_metaSeo($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaSeo"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaSeo"));
// line 84
echo " ";
// line 85
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 86
public function block_style($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "style"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "style"));
// line 87
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 102
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 103
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 109
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 111
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 112
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 115
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 437 => 115, 427 => 112, 417 => 111, 399 => 109, 389 => 103, 379 => 102, 368 => 87, 358 => 86, 348 => 85, 346 => 84, 336 => 83, 326 => 82, 324 => 80, 323 => 79, 322 => 78, 321 => 77, 319 => 76, 309 => 75, 297 => 116, 295 => 115, 291 => 113, 289 => 111, 286 => 110, 284 => 109, 281 => 108, 279 => 107, 277 => 106, 275 => 105, 273 => 104, 270 => 102, 266 => 99, 259 => 96, 257 => 95, 251 => 93, 249 => 92, 244 => 89, 241 => 86, 238 => 83, 236 => 75, 231 => 72, 225 => 70, 223 => 69, 218 => 67, 214 => 66, 210 => 65, 207 => 64, 204 => 63, 202 => 62, 199 => 60, 196 => 59, 193 => 58, 190 => 57, 187 => 56, 184 => 55, 181 => 54, 178 => 53, 176 => 52, 173 => 51, 170 => 50, 167 => 49, 164 => 48, 161 => 47, 158 => 46, 155 => 45, 153 => 44, 150 => 43, 144 => 41, 141 => 40, 135 => 38, 133 => 37, 130 => 36, 127 => 35, 124 => 34, 121 => 32, 118 => 31, 115 => 30, 112 => 29, 109 => 28, 106 => 27, 103 => 26, 100 => 25, 97 => 24, 94 => 23, 91 => 21, 82 => 14, 78 => 13, 74 => 12, 63 => 7, 59 => 5, 55 => 3, 53 => 2, 50 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
{% if '/_sulu_preview' in app.request.requesturi %}
{% set class = 'preview' %}
{% else %}
{% set class = 'no-preview' %}
{% endif %}
<html lang=\"{{ app.request.locale|split('_')[0] }}\" class=\"{{ class }}\">
<head>
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, user-scalable=no\">
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"{{ asset('/img/apple-touch-icon.png') }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ asset('/img/favicon-32x32.png') }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{ asset('/img/favicon-16x16.png') }}\">
<script id=\"usercentrics-cmp\" src=\"https://app.usercentrics.eu/browser-ui/latest/loader.js\"
data-version=\"preview\" data-settings-id=\"rUzp4CflN\" async></script>
<link rel=\"preconnect\" href=\"//app.usercentrics.eu\">
<link rel=\"preconnect\" href=\"//api.usercentrics.eu\">
<link rel=\"preload\" href=\"//app.usercentrics.eu/browser-ui/latest/loader.js\" as=\"script\">
{# <link rel=\"manifest\" href=\"/site.webmanifest\"> #}
{# OG Image Default #}
{% set socialMedia = sulu_snippet_load_by_area('social_media') %}
{% if socialMedia is not empty and socialMedia['content'] is not empty %}
{% set defaultOG = socialMedia['content'] %}
{% if defaultOG['ogImageUrlGlobal'] is not empty %}
{% set ogImage = defaultOG['ogImageUrlGlobal'] %}
{% set basePath = app.request.schemeAndHttpHost %}
{% set ogImagePath = basePath ~ ogImage.thumbnails['320x'] %}
{% endif %}
{% endif %}
{# OG Image for specific page #}
{% if extension is not empty and extension['opengraph'] is not empty %}
{% set opengraph = extension['opengraph'] %}
{% if opengraph['ogImageTitle'] is not empty %}
<meta property=\"og:title\" content=\"{{ opengraph['ogImageTitle'] }}\"/>
{% endif %}
{% if opengraph['ogImageDescription'] is not empty %}
<meta property=\"og:description\" content=\"{{ opengraph['ogImageDescription'] }}\"/>
{% endif %}
{% if opengraph['ogImageUrl'] is not empty and opengraph['ogImageUrl']['id'] is not empty %}
{# Image must be loaded separately #}
{% set ogImageMedia = sulu_resolve_media(opengraph['ogImageUrl']['id'], app.request.locale|split('_')[0]) %}
{% if ogImageMedia is not empty %}
{% set basePath = app.request.schemeAndHttpHost %}
{% set ogImagePath = basePath ~ ogImageMedia.thumbnails['320x'] %}
{% endif %}
{% endif %}
{% if opengraph['ogVideoUrl'] is not empty and opengraph['ogVideoUrl']['id'] is not empty %}
{# Video must be loaded separately #}
{% set ogVideoMedia = sulu_resolve_media(opengraph['ogVideoUrl']['id'], app.request.locale|split('_')[0]) %}
{% if ogImageMedia is not empty %}
{% set basePath = app.request.schemeAndHttpHost %}
{% set ogVideoPath = basePath ~ ogVideoMedia.url %}
{% endif %}
{% endif %}
{% endif %}
{# OG Video available --> use OG Video #}
{# Otherwise if OG Image available --> use OG Image #}
{% if ogVideoPath is defined and ogVideoPath is not empty %}
<meta property=\"og:type\" content=\"video.other\">
<meta property=\"og:video\" content=\"{{ ogVideoPath|replace({'?v=1': ''}) }}\"/>
<meta property=\"og:video:url\" content=\"{{ ogVideoPath|replace({'?v=1': ''}) }}\"/>
<meta property=\"og:video:secure_url\" content=\"{{ ogVideoPath|replace({'?v=1': ''}) }}\"/>
<meta property=\"og:video:type\" content=\"application/mp4\"/>
{% elseif ogImagePath is defined and ogImagePath is not empty %}
<meta property=\"og:image\" content=\"{{ ogImagePath|replace({'?v=1-0': ''}) }}\"/>
{% endif %}
<meta name=\"msapplication-TileColor\" content=\"#da532c\">
<meta name=\"theme-color\" content=\"#ffffff\">
{% block meta %}
{% include \"@SuluWebsite/Extension/seo.html.twig\" with {
\"seo\": extension.seo|default([]),
\"content\": content|default([]),
\"localizations\": localizations|default([]),
\"shadowBaseLocale\": shadowBaseLocale|default(),
} %}
{% endblock %}
{% block metaSeo %}
{# ... #}
{% endblock metaSeo %}
{% block style %}
{% endblock %}
</head>
<body>
{% if class != \"preview\" %}
<script defer src=\"{{ asset('assets/index.js') }}\"></script>
{% endif %}
{% if class == \"preview\" %}
<script defer src=\"{{ asset('assets/modal-preview.js') }}\"></script>
<script> window.disableRevealAnimations = true; </script>
{% endif %}
<div class=\"page-wrapper\" x-data=\"page\" x-cloak>
<div class=\"page\">
{# {{ include('/includes/header-nav.html.twig') }} #}
{% block header %}
{% endblock %}
{# <form action=\"{{ path('sulu_search.website_search') }}\" method=\"GET\"> #}
{# <input name=\"q\" type=\"text\" placeholder=\"Search\"/> #}
{# <input type=\"submit\" value=\"Go\"/> #}
{# </form> #}
<main>
{% block content %}{% endblock %}
</main>
{% block footer %}
{% endblock %}
</div>
</div>
{% block javascripts %}{% endblock %}
</body>
</html>
", "base.html.twig", "/var/www/dmz-test-pdwebsite.plan-d.cloud/templates/base.html.twig");
}
}