<?phpuse Twig\Environment;use Twig\Error\LoaderError;use Twig\Error\RuntimeError;use Twig\Extension\CoreExtension;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;use Twig\TemplateWrapper;/* vitrine/en/layout.html.twig */class __TwigTemplate_e95bcb4cc2fa85d4ede5af606382f7bd extends Template{ private Source $source; /** * @var array<string, Template> */ private array $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ 'title' => [$this, 'block_title'], 'robots' => [$this, 'block_robots'], 'description' => [$this, 'block_description'], 'meta_social' => [$this, 'block_meta_social'], 'meta' => [$this, 'block_meta'], 'canonical' => [$this, 'block_canonical'], 'css' => [$this, 'block_css'], 'js' => [$this, 'block_js'], 'body' => [$this, 'block_body'], 'footerbody' => [$this, 'block_footerbody'], 'footer_body' => [$this, 'block_footer_body'], 'footer_js' => [$this, 'block_footer_js'], 'footerjs' => [$this, 'block_footerjs'], ]; } protected function doDisplay(array $context, array $blocks = []): iterable { $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", "vitrine/en/layout.html.twig")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "vitrine/en/layout.html.twig")); // line 1 $context["connectUser"] = false; // line 2 $context["connectUser2"] = false; // line 3 if ((($tmp = !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 3, $this->source); })()), "user", [], "any", false, false, false, 3))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 4 yield " "; $context["connectUser"] = true; // line 5 yield " "; $context["connectUser2"] = false; } // line 7 $context["pathAbsolute"] = (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($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), "schemeAndHttpHost", [], "any", false, false, false, 7) . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($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), "requestUri", [], "any", false, false, false, 7)); // line 8 $context["paramTool"] = $this->extensions['App\Twig\ToolsExtension']->getCoreToolsList("blog"); // line 9 $context["logo"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 9, $this->source); })()), "logo", [], "array", false, false, false, 9); // line 10 $context["logo_width"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 10, $this->source); })()), "logo_width", [], "array", false, false, false, 10); // line 11 $context["logo_height"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 11, $this->source); })()), "logo_height", [], "array", false, false, false, 11); // line 12 $context["logomobile"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 12, $this->source); })()), "logomobile", [], "array", false, false, false, 12); // line 13 $context["logomobile_width"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 13, $this->source); })()), "logomobile_width", [], "array", false, false, false, 13); // line 14 $context["logomobile_height"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 14, $this->source); })()), "logomobile_height", [], "array", false, false, false, 14); // line 15 $context["twitter"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 15, $this->source); })()), "twitter", [], "array", false, false, false, 15); // line 16 $context["facebook"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 16, $this->source); })()), "facebook", [], "array", false, false, false, 16); // line 17 $context["instagram"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 17, $this->source); })()), "instagram", [], "array", false, false, false, 17); // line 18 $context["youtube"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 18, $this->source); })()), "youtube", [], "array", false, false, false, 18); // line 19 $context["linkedin"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 19, $this->source); })()), "linkedin", [], "array", false, false, false, 19); // line 20 $context["favicon"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 20, $this->source); })()), "favicon", [], "array", false, false, false, 20); // line 21 $context["websitename"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 21, $this->source); })()), "websitename", [], "array", false, false, false, 21); // line 22 $context["htmlTrack"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 22, $this->source); })()), "htmltrack", [], "array", false, false, false, 22); // line 23 $context["htmlTrack2"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 23, $this->source); })()), "htmltrack2", [], "array", false, false, false, 23); // line 24 $context["domain"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 24, $this->source); })()), "absolute_domain", [], "array", false, false, false, 24); // line 25 yield ""; // line 26 $context["menuHeader"] = $this->extensions['App\Twig\MenuExtension']->getMenuWebsiteArray(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 26, $this->source); })()), "request", [], "any", false, false, false, 26), "locale", [], "any", false, false, false, 26), "header", (isset($context["connectUser"]) || array_key_exists("connectUser", $context) ? $context["connectUser"] : (function () { throw new RuntimeError('Variable "connectUser" does not exist.', 26, $this->source); })())); // line 27 $context["menuHeaderRight"] = $this->extensions['App\Twig\MenuExtension']->getMenuWebsiteArray(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 27, $this->source); })()), "request", [], "any", false, false, false, 27), "locale", [], "any", false, false, false, 27), "header-right", (isset($context["connectUser"]) || array_key_exists("connectUser", $context) ? $context["connectUser"] : (function () { throw new RuntimeError('Variable "connectUser" does not exist.', 27, $this->source); })())); // line 28 yield ""; // line 29 $context["vlang"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 29, $this->source); })()), "request", [], "any", false, false, false, 29), "locale", [], "any", false, false, false, 29); // line 30 if ((($tmp = !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 30, $this->source); })()), "user", [], "any", false, false, false, 30))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 31 yield " "; $context["vlang"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 31, $this->source); })()), "user", [], "any", false, false, false, 31), "language", [], "any", false, false, false, 31); } else { // line 33 yield " "; $context["vlang"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 33, $this->source); })()), "session", [], "any", false, false, false, 33), "get", ["lang"], "method", false, false, false, 33); // line 34 yield " "; if (Twig\Extension\CoreExtension::testEmpty((isset($context["vlang"]) || array_key_exists("vlang", $context) ? $context["vlang"] : (function () { throw new RuntimeError('Variable "vlang" does not exist.', 34, $this->source); })()))) { // line 35 yield " "; $context["vlang"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 35, $this->source); })()), "request", [], "any", false, false, false, 35), "locale", [], "any", false, false, false, 35); // line 36 yield " "; } } // line 38 yield ""; // line 39 $context["arrayTranslate"] = $this->extensions['App\Twig\TranslationsExtension']->getArrayTranslateLocale((isset($context["vlang"]) || array_key_exists("vlang", $context) ? $context["vlang"] : (function () { throw new RuntimeError('Variable "vlang" does not exist.', 39, $this->source); })())); // line 40 yield ""; // line 41 $context["pathHomepage"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage"); // line 42 if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 42, $this->source); })()), "request", [], "any", false, false, false, 42), "locale", [], "any", false, false, false, 42) != "en")) { // line 43 yield " "; $context["pathHomepage"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("locale_homepage", ["_locale" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 43, $this->source); })()), "request", [], "any", false, false, false, 43), "locale", [], "any", false, false, false, 43)]); } // line 45 yield "<!DOCTYPE html><html lang=\""; // line 47 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($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), "locale", [], "any", false, false, false, 47), "html", null, true); yield "\"> <head> <meta charset=\"utf-8\"> <!--[if IE]><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" /><![endif]--> <title>"; // line 51 yield from $this->unwrap()->yieldBlock('title', $context, $blocks); yield "</title> <meta http-equiv=\"Content-Language\" content=\""; // line 52 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 52, $this->source); })()), "request", [], "any", false, false, false, 52), "locale", [], "any", false, false, false, 52), "html", null, true); yield "\" /> <meta name=\"language\" content=\""; // line 53 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($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), "html", null, true); yield "\" /> <meta name=\"copyright\" content=\""; // line 54 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["websitename"]) || array_key_exists("websitename", $context) ? $context["websitename"] : (function () { throw new RuntimeError('Variable "websitename" does not exist.', 54, $this->source); })()), "html", null, true); yield "\" /> <meta name=\"robots\" content=\""; // line 55 yield from $this->unwrap()->yieldBlock('robots', $context, $blocks); yield "\" /> <meta name=\"description\" content=\""; // line 56 yield from $this->unwrap()->yieldBlock('description', $context, $blocks); yield "\" /> <meta name=\"viewport\" content=\"initial-scale=1.0\" /> <meta name=\"viewport\" content=\"width=device-width, height=device-height, initial-scale=1, maximum-scale=6, minimum-scale=1, minimal-ui\" /> <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@v3.0.1/dist/cookieconsent.css\"> "; // line 60 yield from $this->unwrap()->yieldBlock('meta_social', $context, $blocks); // line 61 yield " "; yield from $this->unwrap()->yieldBlock('meta', $context, $blocks); // line 62 yield " "; yield from $this->unwrap()->yieldBlock('canonical', $context, $blocks); // line 63 yield " "; yield from $this->load("components/dns-prefetch.html.twig", 63)->unwrap()->yield($context); // line 64 yield " "; yield from $this->load("components/favicon.html.twig", 64)->unwrap()->yield(CoreExtension::merge($context, ["favicon" => (isset($context["favicon"]) || array_key_exists("favicon", $context) ? $context["favicon"] : (function () { throw new RuntimeError('Variable "favicon" does not exist.', 64, $this->source); })())])); // line 65 yield " "; yield from $this->load("/vitrine/components/stylesheets.html.twig", 65)->unwrap()->yield($context); // line 66 yield " "; yield from $this->unwrap()->yieldBlock('css', $context, $blocks); // line 67 yield " "; yield from $this->load("/vitrine/components/scripts_header.html.twig", 67)->unwrap()->yield($context); // line 68 yield " "; yield from $this->unwrap()->yieldBlock('js', $context, $blocks); // line 69 yield " "; yield (isset($context["htmlTrack"]) || array_key_exists("htmlTrack", $context) ? $context["htmlTrack"] : (function () { throw new RuntimeError('Variable "htmlTrack" does not exist.', 69, $this->source); })()); yield " </head> <body class=\"dark-scheme section-dark\"> <div id=\"wrapper\"> <div class=\"float-text show-on-scroll\"> <span><a href=\"#\">Scroll to top</a></span> </div> <div class=\"scrollbar-v show-on-scroll\"></div> <div id=\"de-loader\"></div> "; // line 78 yield from $this->load("vitrine/en/components/header.html.twig", 78)->unwrap()->yield($context); // line 79 yield " "; yield from $this->unwrap()->yieldBlock('body', $context, $blocks); // line 80 yield " </div> "; // line 81 yield from $this->load("vitrine/en/components/footer.html.twig", 81)->unwrap()->yield($context); // line 82 yield " "; yield from $this->unwrap()->yieldBlock('footerbody', $context, $blocks); // line 83 yield " "; yield from $this->unwrap()->yieldBlock('footer_body', $context, $blocks); // line 84 yield " "; yield from $this->load("/vitrine/components/scripts_footer.html.twig", 84)->unwrap()->yield($context); // line 85 yield " "; yield from $this->load("components/flashmessage.html.twig", 85)->unwrap()->yield($context); // line 86 yield " "; yield from $this->unwrap()->yieldBlock('footer_js', $context, $blocks); // line 87 yield " "; yield from $this->unwrap()->yieldBlock('footerjs', $context, $blocks); // line 88 yield " "; yield (isset($context["htmlTrack2"]) || array_key_exists("htmlTrack2", $context) ? $context["htmlTrack2"] : (function () { throw new RuntimeError('Variable "htmlTrack2" does not exist.', 88, $this->source); })()); yield " <script defer src=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@v3.0.1/dist/cookieconsent.umd.js\"></script> <script> window.addEventListener('load', function(){ CookieConsent.run({ guiOptions: { consentModal: { layout: \"box\", position: \"bottom right\" } }, categories: { necessary: { enabled: true, readOnly: true }, analytics: {} }, language: { default: 'en', translations: { en: { consentModal: { title: '🍪 We use cookies', description: 'This website uses cookies to enhance your experience. You can choose which cookies to accept.', acceptAllBtn: 'Accept all', acceptNecessaryBtn: 'Reject all', showPreferencesBtn: 'Manage preferences' }, preferencesModal: { title: 'Cookie Preferences', acceptAllBtn: 'Accept all', acceptNecessaryBtn: 'Reject all', savePreferencesBtn: 'Save preferences', sections: [ { title: 'Necessary cookies', description: 'These cookies are essential for the website to function properly.', linkedCategory: 'necessary' }, { title: 'Analytics cookies', description: 'These cookies help us understand how you use our website.', linkedCategory: 'analytics' } ] } } } } }); }); </script> <script> window.addEventListener('load', function(){ CookieConsent.run({ guiOptions: { consentModal: { layout: \"box\", position: \"bottom right\" } }, categories: { necessary: { enabled: true, readOnly: true }, analytics: {} }, language: { default: 'en', autoDetect: 'browser', translations: { en: { consentModal: { title: '🍪 We use cookies', description: 'This website uses cookies to enhance your experience. You can choose which cookies to accept.', acceptAllBtn: 'Accept all', acceptNecessaryBtn: 'Reject all', showPreferencesBtn: 'Manage preferences' }, preferencesModal: { title: 'Cookie Preferences', acceptAllBtn: 'Accept all', acceptNecessaryBtn: 'Reject all', savePreferencesBtn: 'Save preferences', sections: [ { title: 'Necessary cookies', description: 'These cookies are essential for the website to function properly.', linkedCategory: 'necessary' }, { title: 'Analytics cookies', description: 'These cookies help us understand how you use our website.', linkedCategory: 'analytics' } ] } }, fr: { consentModal: { title: '🍪 Nous utilisons des cookies', description: 'Ce site utilise des cookies pour améliorer votre expérience. Vous pouvez choisir quels cookies accepter.', acceptAllBtn: 'Tout accepter', acceptNecessaryBtn: 'Refuser tout', showPreferencesBtn: 'Gérer les préférences' }, preferencesModal: { title: 'Préférences de cookies', acceptAllBtn: 'Tout accepter', acceptNecessaryBtn: 'Refuser tout', savePreferencesBtn: 'Enregistrer', sections: [ { title: 'Cookies nécessaires', description: 'Ces cookies sont essentiels au fonctionnement du site.', linkedCategory: 'necessary' }, { title: 'Cookies analytiques', description: 'Ces cookies nous aident à comprendre comment vous utilisez notre site.', linkedCategory: 'analytics' } ] } } } } }); }); </script> </body></html>"; $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } // line 51 /** * @return iterable<null|scalar|\Stringable> */ public function block_title(array $context, array $blocks = []): iterable { $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", "title")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); yield from []; } // line 55 /** * @return iterable<null|scalar|\Stringable> */ public function block_robots(array $context, array $blocks = []): iterable { $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", "robots")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "robots")); yield "index,follow"; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); yield from []; } // line 56 /** * @return iterable<null|scalar|\Stringable> */ public function block_description(array $context, array $blocks = []): iterable { $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", "description")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); yield from []; } // line 60 /** * @return iterable<null|scalar|\Stringable> */ public function block_meta_social(array $context, array $blocks = []): iterable { $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_social")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_social")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); yield from []; } // line 61 /** * @return iterable<null|scalar|\Stringable> */ public function block_meta(array $context, array $blocks = []): iterable { $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")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); yield from []; } // line 62 /** * @return iterable<null|scalar|\Stringable> */ public function block_canonical(array $context, array $blocks = []): iterable { $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", "canonical")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonical")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); yield from []; } // line 66 /** * @return iterable<null|scalar|\Stringable> */ public function block_css(array $context, array $blocks = []): iterable { $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", "css")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "css")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); yield from []; } // line 68 /** * @return iterable<null|scalar|\Stringable> */ public function block_js(array $context, array $blocks = []): iterable { $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", "js")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "js")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); yield from []; } // line 79 /** * @return iterable<null|scalar|\Stringable> */ public function block_body(array $context, array $blocks = []): iterable { $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", "body")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); yield from []; } // line 82 /** * @return iterable<null|scalar|\Stringable> */ public function block_footerbody(array $context, array $blocks = []): iterable { $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", "footerbody")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footerbody")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); yield from []; } // line 83 /** * @return iterable<null|scalar|\Stringable> */ public function block_footer_body(array $context, array $blocks = []): iterable { $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_body")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer_body")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); yield from []; } // line 86 /** * @return iterable<null|scalar|\Stringable> */ public function block_footer_js(array $context, array $blocks = []): iterable { $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_js")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer_js")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); yield from []; } // line 87 /** * @return iterable<null|scalar|\Stringable> */ public function block_footerjs(array $context, array $blocks = []): iterable { $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", "footerjs")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footerjs")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "vitrine/en/layout.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 674 => 87, 652 => 86, 630 => 83, 608 => 82, 586 => 79, 564 => 68, 542 => 66, 520 => 62, 498 => 61, 476 => 60, 454 => 56, 431 => 55, 409 => 51, 262 => 88, 259 => 87, 256 => 86, 253 => 85, 250 => 84, 247 => 83, 244 => 82, 242 => 81, 239 => 80, 236 => 79, 234 => 78, 221 => 69, 218 => 68, 215 => 67, 212 => 66, 209 => 65, 206 => 64, 203 => 63, 200 => 62, 197 => 61, 195 => 60, 188 => 56, 184 => 55, 180 => 54, 176 => 53, 172 => 52, 168 => 51, 161 => 47, 157 => 45, 153 => 43, 151 => 42, 149 => 41, 146 => 40, 144 => 39, 141 => 38, 137 => 36, 134 => 35, 131 => 34, 128 => 33, 124 => 31, 122 => 30, 120 => 29, 117 => 28, 115 => 27, 113 => 26, 110 => 25, 108 => 24, 106 => 23, 104 => 22, 102 => 21, 100 => 20, 98 => 19, 96 => 18, 94 => 17, 92 => 16, 90 => 15, 88 => 14, 86 => 13, 84 => 12, 82 => 11, 80 => 10, 78 => 9, 76 => 8, 74 => 7, 70 => 5, 67 => 4, 65 => 3, 63 => 2, 61 => 1,); } public function getSourceContext(): Source { return new Source("{% set connectUser = false %}{% set connectUser2 = false %}{% if app.user is not null %} {% set connectUser = true %} {% set connectUser2 = false %}{% endif %}{% set pathAbsolute = app.request.schemeAndHttpHost ~ app.request.requestUri %}{% set paramTool = getCoreToolsList(\"blog\") %}{% set logo = paramTool['logo'] %}{% set logo_width = paramTool['logo_width'] %}{% set logo_height = paramTool['logo_height'] %}{% set logomobile = paramTool['logomobile'] %}{% set logomobile_width = paramTool['logomobile_width'] %}{% set logomobile_height = paramTool['logomobile_height'] %}{% set twitter = paramTool['twitter'] %}{% set facebook = paramTool['facebook'] %}{% set instagram = paramTool['instagram'] %}{% set youtube = paramTool['youtube'] %}{% set linkedin = paramTool['linkedin'] %}{% set favicon = paramTool['favicon'] %}{% set websitename = paramTool['websitename'] %}{% set htmlTrack = paramTool['htmltrack'] %}{% set htmlTrack2 = paramTool['htmltrack2'] %}{% set domain = paramTool['absolute_domain'] %}{% set menuHeader = getMenuWebsiteArray(app.request.locale,\"header\",connectUser) %}{% set menuHeaderRight = getMenuWebsiteArray(app.request.locale,\"header-right\",connectUser) %}{% set vlang = app.request.locale %}{% if app.user is not null %} {% set vlang = app.user.language %}{% else %} {% set vlang = app.session.get('lang') %} {% if vlang is empty %} {% set vlang = app.request.locale %} {% endif %}{% endif %}{% set arrayTranslate = getArrayTranslateLocale(vlang) %}{% set pathHomepage = path('homepage') %}{% if app.request.locale != \"en\" %} {% set pathHomepage = path('locale_homepage',{'_locale':app.request.locale}) %}{% endif %}<!DOCTYPE html><html lang=\"{{ app.request.locale }}\"> <head> <meta charset=\"utf-8\"> <!--[if IE]><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" /><![endif]--> <title>{% block title %}{% endblock title %}</title> <meta http-equiv=\"Content-Language\" content=\"{{ app.request.locale }}\" /> <meta name=\"language\" content=\"{{ app.request.locale }}\" /> <meta name=\"copyright\" content=\"{{ websitename }}\" /> <meta name=\"robots\" content=\"{% block robots %}index,follow{% endblock robots %}\" /> <meta name=\"description\" content=\"{% block description %}{% endblock description %}\" /> <meta name=\"viewport\" content=\"initial-scale=1.0\" /> <meta name=\"viewport\" content=\"width=device-width, height=device-height, initial-scale=1, maximum-scale=6, minimum-scale=1, minimal-ui\" /> <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@v3.0.1/dist/cookieconsent.css\"> {% block meta_social %}{% endblock meta_social %} {% block meta %}{% endblock meta %} {% block canonical %}{% endblock canonical %} {% include \"components/dns-prefetch.html.twig\" %} {% include \"components/favicon.html.twig\" with {'favicon':favicon} %} {% include \"/vitrine/components/stylesheets.html.twig\" %} {% block css %}{% endblock css %} {% include \"/vitrine/components/scripts_header.html.twig\" %} {% block js %}{% endblock js %} {{ htmlTrack|raw }} </head> <body class=\"dark-scheme section-dark\"> <div id=\"wrapper\"> <div class=\"float-text show-on-scroll\"> <span><a href=\"#\">Scroll to top</a></span> </div> <div class=\"scrollbar-v show-on-scroll\"></div> <div id=\"de-loader\"></div> {% include \"vitrine/en/components/header.html.twig\" %} {% block body %}{% endblock body %} </div> {% include \"vitrine/en/components/footer.html.twig\" %} {% block footerbody %}{% endblock footerbody %} {% block footer_body %}{% endblock footer_body %} {% include \"/vitrine/components/scripts_footer.html.twig\" %} {% include \"components/flashmessage.html.twig\" %} {% block footer_js %}{% endblock footer_js %} {% block footerjs %}{% endblock footerjs %} {{ htmlTrack2|raw }} <script defer src=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@v3.0.1/dist/cookieconsent.umd.js\"></script> <script> window.addEventListener('load', function(){ CookieConsent.run({ guiOptions: { consentModal: { layout: \"box\", position: \"bottom right\" } }, categories: { necessary: { enabled: true, readOnly: true }, analytics: {} }, language: { default: 'en', translations: { en: { consentModal: { title: '🍪 We use cookies', description: 'This website uses cookies to enhance your experience. You can choose which cookies to accept.', acceptAllBtn: 'Accept all', acceptNecessaryBtn: 'Reject all', showPreferencesBtn: 'Manage preferences' }, preferencesModal: { title: 'Cookie Preferences', acceptAllBtn: 'Accept all', acceptNecessaryBtn: 'Reject all', savePreferencesBtn: 'Save preferences', sections: [ { title: 'Necessary cookies', description: 'These cookies are essential for the website to function properly.', linkedCategory: 'necessary' }, { title: 'Analytics cookies', description: 'These cookies help us understand how you use our website.', linkedCategory: 'analytics' } ] } } } } }); }); </script> <script> window.addEventListener('load', function(){ CookieConsent.run({ guiOptions: { consentModal: { layout: \"box\", position: \"bottom right\" } }, categories: { necessary: { enabled: true, readOnly: true }, analytics: {} }, language: { default: 'en', autoDetect: 'browser', translations: { en: { consentModal: { title: '🍪 We use cookies', description: 'This website uses cookies to enhance your experience. You can choose which cookies to accept.', acceptAllBtn: 'Accept all', acceptNecessaryBtn: 'Reject all', showPreferencesBtn: 'Manage preferences' }, preferencesModal: { title: 'Cookie Preferences', acceptAllBtn: 'Accept all', acceptNecessaryBtn: 'Reject all', savePreferencesBtn: 'Save preferences', sections: [ { title: 'Necessary cookies', description: 'These cookies are essential for the website to function properly.', linkedCategory: 'necessary' }, { title: 'Analytics cookies', description: 'These cookies help us understand how you use our website.', linkedCategory: 'analytics' } ] } }, fr: { consentModal: { title: '🍪 Nous utilisons des cookies', description: 'Ce site utilise des cookies pour améliorer votre expérience. Vous pouvez choisir quels cookies accepter.', acceptAllBtn: 'Tout accepter', acceptNecessaryBtn: 'Refuser tout', showPreferencesBtn: 'Gérer les préférences' }, preferencesModal: { title: 'Préférences de cookies', acceptAllBtn: 'Tout accepter', acceptNecessaryBtn: 'Refuser tout', savePreferencesBtn: 'Enregistrer', sections: [ { title: 'Cookies nécessaires', description: 'Ces cookies sont essentiels au fonctionnement du site.', linkedCategory: 'necessary' }, { title: 'Cookies analytiques', description: 'Ces cookies nous aident à comprendre comment vous utilisez notre site.', linkedCategory: 'analytics' } ] } } } } }); }); </script> </body></html>", "vitrine/en/layout.html.twig", "/var/www/vhosts/mirtillostudio.com/ch.mirtillostudio.com/templates/vitrine/en/layout.html.twig"); }}