<?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;
/* layout/layout.html.twig */
class __TwigTemplate_94faa73947f6e44664465fb021c7419e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'SEO' => [$this, 'block_SEO'],
'layout_head_meta' => [$this, 'block_layout_head_meta'],
'head_stylesheets' => [$this, 'block_head_stylesheets'],
'PAGE_CSS' => [$this, 'block_PAGE_CSS'],
'CONTENT' => [$this, 'block_CONTENT'],
'PAGE_JS' => [$this, 'block_PAGE_JS'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
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", "layout/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", "layout/layout.html.twig"));
// line 1
$context["containerId"] = ((array_key_exists("containerId", $context)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed((isset($context["containerId"]) || array_key_exists("containerId", $context) ? $context["containerId"] : (function () { throw new RuntimeError('Variable "containerId" does not exist.', 1, $this->source); })()), 1, $this->source), "GTM-XXXXXXX")) : ("GTM-XXXXXXX"));
// line 2
echo "<!doctype html>
<html lang=\"";
// line 3
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(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.', 3, $this->source); })()), "request", [], "any", false, false, true, 3), "locale", [], "any", false, false, true, 3), 3, $this->source), "html", null, true);
echo "\">
<head>
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.1.0/dist/cookieconsent.css\">
<script src=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.1.0/dist/cookieconsent.umd.js\"></script>
<script type=\"module\" src=\"";
// line 7
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/js/cookieconsent-config.js"), "html", null, true);
echo "\"></script>
<script src=\"/misc/json-translation-website?language=";
// line 8
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(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.', 8, $this->source); })()), "request", [], "any", false, false, true, 8), "locale", [], "any", false, false, true, 8), 8, $this->source), "html", null, true);
echo "\" ></script>
";
// line 9
echo twig_include($this->env, $context, "layout/head/links.html.twig");
echo "
";
// line 11
if (( !array_key_exists("document", $context) || !(isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 11, $this->source); })()))) {
// line 12
echo " ";
$context["document"] = Pimcore\Model\Document::getById(1);
// line 13
echo " ";
}
// line 14
echo "
";
// line 15
if ($this->env->getTest('instanceof')->getCallable()((isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 15, $this->source); })()), "\\Pimcore\\Model\\Document\\Link")) {
// line 16
echo " ";
$context["document"] = twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 16, $this->source); })()), "getObject", [], "method", false, false, true, 16);
// line 17
echo " ";
}
// line 18
echo "
";
// line 19
$this->displayBlock('SEO', $context, $blocks);
// line 27
echo "
";
// line 28
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "append", ["Bsn Marine Supply / Bsn Yachts"], "method", false, false, true, 28);
// line 29
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "setSeparator", ["::"], "method", false, false, true, 29);
// line 30
echo "
";
// line 31
$this->displayBlock('layout_head_meta', $context, $blocks);
// line 35
echo "
";
// line 36
$this->displayBlock('head_stylesheets', $context, $blocks);
// line 39
echo "
";
// line 40
$context["is_authenticated"] = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_FULLY");
// line 41
echo "
";
// line 42
$context["api_sage"] = 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.', 42, $this->source); })()), "session", [], "any", false, false, true, 42), "get", ["_token"], "method", false, false, true, 42);
// line 43
echo "
";
// line 45
echo " ";
$context["navStartNode"] = twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 45, $this->source); })()), "getProperty", ["rootDocument"], "method", false, false, true, 45);
// line 46
echo "
";
// line 47
if ( !$this->env->getTest('instanceof')->getCallable()((isset($context["navStartNode"]) || array_key_exists("navStartNode", $context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.', 47, $this->source); })()), "\\Pimcore\\Model\\Document\\Page")) {
// line 48
echo " ";
if (Pimcore\Model\Site::isSiteRequest()) {
// line 49
echo " ";
$context["site"] = Pimcore\Model\Site::getCurrentSite();
// line 50
echo " ";
$context["navStartNode"] = twig_get_attribute($this->env, $this->source, (isset($context["site"]) || array_key_exists("site", $context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.', 50, $this->source); })()), "getRootDocument", [], "method", false, false, true, 50);
// line 51
echo " ";
} else {
// line 52
echo " ";
$context["navStartNode"] = Pimcore\Model\Document::getById(6);
// line 53
echo " ";
}
// line 54
echo " ";
}
// line 55
echo " ";
// line 56
echo " ";
$context["currentRouteName"] = twig_get_attribute($this->env, $this->source, 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.', 56, $this->source); })()), "request", [], "any", false, false, true, 56), "attributes", [], "any", false, false, true, 56), "get", ["_route"], "method", false, false, true, 56);
// line 57
echo "
";
// line 58
if (( !(null === (isset($context["currentRouteName"]) || array_key_exists("currentRouteName", $context) ? $context["currentRouteName"] : (function () { throw new RuntimeError('Variable "currentRouteName" does not exist.', 58, $this->source); })())) && (is_string($__internal_compile_0 = (isset($context["currentRouteName"]) || array_key_exists("currentRouteName", $context) ? $context["currentRouteName"] : (function () { throw new RuntimeError('Variable "currentRouteName" does not exist.', 58, $this->source); })())) && is_string($__internal_compile_1 = "new-password") && str_starts_with($__internal_compile_0, $__internal_compile_1)))) {
// line 59
echo " ";
$context["currentPath"] = "/new-password";
// line 60
echo " ";
} elseif (( !(null === (isset($context["currentRouteName"]) || array_key_exists("currentRouteName", $context) ? $context["currentRouteName"] : (function () { throw new RuntimeError('Variable "currentRouteName" does not exist.', 60, $this->source); })())) && (is_string($__internal_compile_2 = (isset($context["currentRouteName"]) || array_key_exists("currentRouteName", $context) ? $context["currentRouteName"] : (function () { throw new RuntimeError('Variable "currentRouteName" does not exist.', 60, $this->source); })())) && is_string($__internal_compile_3 = "new-user-password-setup") && str_starts_with($__internal_compile_2, $__internal_compile_3)))) {
// line 61
echo " ";
$context["currentPath"] = "/new-user-password-setup";
// line 62
echo " ";
} elseif ( !(null === (isset($context["currentRouteName"]) || array_key_exists("currentRouteName", $context) ? $context["currentRouteName"] : (function () { throw new RuntimeError('Variable "currentRouteName" does not exist.', 62, $this->source); })()))) {
// line 63
echo " ";
$context["currentPath"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath($this->sandbox->ensureToStringAllowed((isset($context["currentRouteName"]) || array_key_exists("currentRouteName", $context) ? $context["currentRouteName"] : (function () { throw new RuntimeError('Variable "currentRouteName" does not exist.', 63, $this->source); })()), 63, $this->source));
// line 64
echo " ";
} else {
// line 65
echo " ";
$context["currentPath"] = "/";
echo " ";
// line 66
echo " ";
}
// line 67
echo "
";
// line 68
if ((((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 68, $this->source); })()) == "/") || ((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 68, $this->source); })()) == "/en"))) {
// line 69
echo " ";
$context["isRoot"] = true;
// line 70
echo " ";
} else {
// line 71
echo " ";
$context["isRoot"] = false;
// line 72
echo " ";
}
// line 73
echo "
";
// line 74
if (((((((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 74, $this->source); })()) == "/") || ((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 74, $this->source); })()) == "/es")) || ((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 74, $this->source); })()) == "/en")) || ((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 74, $this->source); })()) == "/es/empresa")) || ((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 74, $this->source); })()) == "/en/about-us"))) {
// line 75
echo " ";
$context["dropDown"] = true;
// line 76
echo " ";
} else {
// line 77
echo " ";
$context["dropDown"] = false;
// line 78
echo " ";
}
// line 79
echo "
";
// line 80
$context["mainNavigation"] = $this->env->getFunction('pimcore_build_nav')->getCallable()(["active" => (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 80, $this->source); })()), "root" => (isset($context["navStartNode"]) || array_key_exists("navStartNode", $context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.', 80, $this->source); })())]);
// line 81
echo "
";
// line 82
$context["menuRenderer"] = $this->env->getFunction('pimcore_nav_renderer')->getCallable()("menu");
// line 83
echo " ";
// line 84
echo " ";
$this->displayBlock('PAGE_CSS', $context, $blocks);
// line 87
echo "
";
// line 88
$context["device"] = Pimcore\Tool\DeviceDetector::getInstance("desktop");
// line 89
echo "
<!-- Google Tag Manager (blocked by CookieConsent) -->
<script type=\"text/plain\" data-category=\"analytics\"
data-cc-src=\"https://www.googletagmanager.com/gtm.js?id=";
// line 92
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["containerId"]) || array_key_exists("containerId", $context) ? $context["containerId"] : (function () { throw new RuntimeError('Variable "containerId" does not exist.', 92, $this->source); })()), 92, $this->source), "html", null, true);
echo "\">
</script>
<!-- End Google Tag Manager -->
</head>
<body class=\"template-index template-product index-demo18 product-layout1\">
";
// line 99
if ((isset($context["dropDown"]) || array_key_exists("dropDown", $context) ? $context["dropDown"] : (function () { throw new RuntimeError('Variable "dropDown" does not exist.', 99, $this->source); })())) {
// line 100
echo " ";
// line 101
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/js/navbar/navbar-dropdown.js"), "html", null, true);
echo "\"></script>
";
}
// line 104
echo "<script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/js/navbar/navbar-search.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 105
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/js/navbar/navbar-categories.js"), "html", null, true);
echo "\"></script>
";
// line 107
echo twig_include($this->env, $context, "layout/includes/header.html.twig");
echo "
";
// line 110
echo "<div class=\"page-wrapper\">
";
// line 112
echo "
";
// line 114
echo " ";
// line 115
echo " ";
echo twig_include($this->env, $context, "layout/includes/navegation/mobile.html.twig");
echo "
";
// line 117
echo "
";
// line 119
echo " <div id=\"page-content\">
";
// line 120
$this->displayBlock('CONTENT', $context, $blocks);
// line 122
echo " </div>
";
// line 124
echo "
";
// line 126
echo " ";
// line 127
echo " ";
echo $this->env->getFunction('pimcore_inc')->getCallable()($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 127, $this->source); })()), "getProperty", ["footer"], "method", false, false, true, 127), 127, $this->source));
echo "
";
// line 129
echo "
";
// line 131
echo " <span id=\"site-scroll\" class=\"textbase\" title=\"SCROLL UP\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.scroll-up_translations"), "html", null, true);
echo " <i class=\"an an-long-arrow-alt-right\" aria-hidden=\"true\"></i></span>
";
// line 133
echo "
";
// line 135
echo " ";
echo twig_include($this->env, $context, "layout/includes/minicart/minicart-drawer.html.twig");
echo "
";
// line 137
echo " <div class=\"modalOverly\"></div>
";
// line 140
echo " ";
echo twig_include($this->env, $context, "layout/includes/quickview-popup.html.twig");
echo "
";
// line 142
echo "
";
// line 144
echo " ";
echo twig_include($this->env, $context, "layout/includes/add-to-cart-added-popup.html.twig");
echo "
";
// line 146
echo "
";
// line 147
echo twig_include($this->env, $context, "layout/javascriptCode/javascriptCode.html.twig");
echo ";
";
// line 149
echo twig_include($this->env, $context, "layout/includes/global-translations.html.twig");
echo "
</div>
";
// line 152
echo "
";
// line 153
$this->displayBlock('PAGE_JS', $context, $blocks);
// line 156
echo "<button type=\"button\" data-cc=\"show-preferencesModal\" aria-label=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("modal_cookie_manage"), "html", null, true);
echo "\" class=\"cookie-manage-btn\">
<i class=\"fas fa-cookie-bite\"></i>
</button>
";
// line 161
echo "<script
src=\"https://widgets.leadconnectorhq.com/loader.js\"
data-resources-url=\"https://widgets.leadconnectorhq.com/chat-widget/loader.js\"
data-widget-id=\"686b8ac381758bd50c3bfdff\">
</script>
</body>
</html>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 19
public function block_SEO($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", "SEO"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "SEO"));
// line 20
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 20, $this->source); })()), "getTitle", [], "method", false, false, true, 20))) {
// line 21
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "set", [twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 21, $this->source); })()), "getTitle", [], "method", false, false, true, 21)], "method", false, false, true, 21);
// line 22
echo " ";
}
// line 23
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 23, $this->source); })()), "getDescription", [], "method", false, false, true, 23))) {
// line 24
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setDescription", [twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 24, $this->source); })()), "getDescription", [], "method", false, false, true, 24)], "method", false, false, true, 24);
// line 25
echo " ";
}
// line 26
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 31
public function block_layout_head_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", "layout_head_meta"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_meta"));
// line 32
echo " ";
echo $this->env->getFunction('pimcore_head_title')->getCallable()();
echo "
";
// line 33
echo $this->env->getFunction('pimcore_head_meta')->getCallable()();
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 36
public function block_head_stylesheets($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", "head_stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
// line 37
echo " ";
echo $this->env->getFunction('pimcore_head_link')->getCallable()();
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 84
public function block_PAGE_CSS($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", "PAGE_CSS"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "PAGE_CSS"));
// line 85
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 120
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"));
// line 121
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 153
public function block_PAGE_JS($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", "PAGE_JS"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "PAGE_JS"));
// line 154
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "layout/layout.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 536 => 154, 526 => 153, 516 => 121, 506 => 120, 495 => 85, 485 => 84, 472 => 37, 462 => 36, 450 => 33, 445 => 32, 435 => 31, 425 => 26, 422 => 25, 419 => 24, 416 => 23, 413 => 22, 410 => 21, 407 => 20, 397 => 19, 380 => 161, 372 => 156, 370 => 153, 367 => 152, 362 => 149, 357 => 147, 354 => 146, 349 => 144, 346 => 142, 341 => 140, 337 => 137, 332 => 135, 329 => 133, 324 => 131, 321 => 129, 316 => 127, 314 => 126, 311 => 124, 308 => 122, 306 => 120, 303 => 119, 300 => 117, 295 => 115, 293 => 114, 290 => 112, 287 => 110, 283 => 107, 279 => 105, 274 => 104, 268 => 101, 266 => 100, 264 => 99, 254 => 92, 249 => 89, 247 => 88, 244 => 87, 241 => 84, 239 => 83, 237 => 82, 234 => 81, 232 => 80, 229 => 79, 226 => 78, 223 => 77, 220 => 76, 217 => 75, 215 => 74, 212 => 73, 209 => 72, 206 => 71, 203 => 70, 200 => 69, 198 => 68, 195 => 67, 192 => 66, 188 => 65, 185 => 64, 182 => 63, 179 => 62, 176 => 61, 173 => 60, 170 => 59, 168 => 58, 165 => 57, 162 => 56, 160 => 55, 157 => 54, 154 => 53, 151 => 52, 148 => 51, 145 => 50, 142 => 49, 139 => 48, 137 => 47, 134 => 46, 131 => 45, 128 => 43, 126 => 42, 123 => 41, 121 => 40, 118 => 39, 116 => 36, 113 => 35, 111 => 31, 108 => 30, 105 => 29, 103 => 28, 100 => 27, 98 => 19, 95 => 18, 92 => 17, 89 => 16, 87 => 15, 84 => 14, 81 => 13, 78 => 12, 76 => 11, 71 => 9, 67 => 8, 63 => 7, 56 => 3, 53 => 2, 51 => 1,);
}
public function getSourceContext()
{
return new Source("{% set containerId = containerId|default('GTM-XXXXXXX') %}
<!doctype html>
<html lang=\"{{ app.request.locale }}\">
<head>
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.1.0/dist/cookieconsent.css\">
<script src=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.1.0/dist/cookieconsent.umd.js\"></script>
<script type=\"module\" src=\"{{ asset('/assets/js/cookieconsent-config.js') }}\"></script>
<script src=\"/misc/json-translation-website?language={{ app.request.locale }}\" ></script>
{{include('layout/head/links.html.twig')}}
{% if not document is defined or not document %}
{% set document = pimcore_document(1) %}
{% endif %}
{% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Link')%}
{% set document = document.getObject() %}
{% endif %}
{% block SEO %}
{% if document.getTitle() is not empty %}
{% do pimcore_head_title().set(document.getTitle()) %}
{% endif %}
{% if document.getDescription() is not empty %}
{% do pimcore_head_meta().setDescription(document.getDescription()) %}
{% endif %}
{% endblock %}
{% do pimcore_head_title().append('Bsn Marine Supply / Bsn Yachts') %}
{% do pimcore_head_title().setSeparator('::') %}
{% block layout_head_meta %}
{{ pimcore_head_title() }}
{{ pimcore_head_meta() }}
{% endblock %}
{% block head_stylesheets %}
{{ pimcore_head_link() }}
{% endblock %}
{% set is_authenticated = is_granted('IS_AUTHENTICATED_FULLY') %}
{% set api_sage = app.session.get('_token') %}
{# document use to start in navigation | default home #}
{% set navStartNode = document.getProperty('rootDocument') %}
{% if not navStartNode is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Page') %}
{% if pimcore_site_is_request() %}
{% set site = pimcore_site_current() %}
{% set navStartNode = site.getRootDocument() %}
{% else %}
{% set navStartNode = pimcore_document(6) %}
{% endif %}
{% endif %}
{# Get current path #}
{% set currentRouteName = app.request.attributes.get('_route') %}
{% if currentRouteName is not null and currentRouteName starts with 'new-password' %}
{% set currentPath = '/new-password' %}
{% elseif currentRouteName is not null and currentRouteName starts with 'new-user-password-setup' %}
{% set currentPath = '/new-user-password-setup' %}
{% elseif currentRouteName is not null %}
{% set currentPath = path(currentRouteName) %}
{% else %}
{% set currentPath = '/' %} {# o cualquier valor predeterminado que desees usar en caso de que currentRouteName sea null #}
{% endif %}
{% if currentPath == '/' or currentPath == '/en'%}
{% set isRoot = true%}
{% else %}
{% set isRoot = false %}
{% endif %}
{% if currentPath == '/' or currentPath == '/es' or currentPath == '/en' or currentPath == '/es/empresa' or currentPath == '/en/about-us' %}
{% set dropDown = true%}
{% else %}
{% set dropDown = false %}
{% endif %}
{% set mainNavigation = pimcore_build_nav({active: document, root: navStartNode}) %}
{% set menuRenderer = pimcore_nav_renderer('menu') %}
{# end document use to start in navigation | default home #}
{% block PAGE_CSS %}
{% endblock %}
{% set device = pimcore_device('desktop') %}
<!-- Google Tag Manager (blocked by CookieConsent) -->
<script type=\"text/plain\" data-category=\"analytics\"
data-cc-src=\"https://www.googletagmanager.com/gtm.js?id={{ containerId }}\">
</script>
<!-- End Google Tag Manager -->
</head>
<body class=\"template-index template-product index-demo18 product-layout1\">
{% if dropDown %}
{# NAVBAR-DROPDOWN #}
<script src=\"{{ asset('/assets/js/navbar/navbar-dropdown.js') }}\"></script>
{# End NAVBAR-DROPDOWN #}
{% endif %}
<script src=\"{{ asset('/assets/js/navbar/navbar-search.js') }}\"></script>
<script src=\"{{ asset('/assets/js/navbar/navbar-categories.js') }}\"></script>
{# Header #}
{{ include(\"layout/includes/header.html.twig\") }}
{# End Header #}
{# Page Wrapper #}
<div class=\"page-wrapper\">
{# Header wrap #}
{# End Header wrap #}
{# Mobile Menu #}
{{ include(\"layout/includes/navegation/mobile.html.twig\") }}
{# End Mobile Menu #}
{# Page Wrapper #}
<div id=\"page-content\">
{% block CONTENT %}
{% endblock %}
</div>
{# End Body Container #}
{# Footer #}
{# {{ pimcore_inc('/es/snippets/footer') }}#}
{{ pimcore_inc(document.getProperty('footer')) }}
{# End Footer #}
{# Scoll Top #}
<span id=\"site-scroll\" class=\"textbase\" title=\"SCROLL UP\">{{ \"layout.scroll-up_translations\" | trans }} <i class=\"an an-long-arrow-alt-right\" aria-hidden=\"true\"></i></span>
{# End Scoll Top #}
{# MiniCart Drawer #}
{{ include(\"layout/includes/minicart/minicart-drawer.html.twig\") }}
{# End MiniCart Drawer #}
<div class=\"modalOverly\"></div>
{# Quickview Popup #}
{{ include(\"layout/includes/quickview-popup.html.twig\") }}
{# End Quickview Popup #}
{# Addtocart Added Popup #}
{{ include(\"layout/includes/add-to-cart-added-popup.html.twig\") }}
{# End Addtocart Added Popup #}
{{ include(\"layout/javascriptCode/javascriptCode.html.twig\")}};
{{ include('layout/includes/global-translations.html.twig') }}
</div>
{# End Page Wrapper #}
{% block PAGE_JS %}
{% endblock %}
<button type=\"button\" data-cc=\"show-preferencesModal\" aria-label=\"{{ 'modal_cookie_manage'|trans }}\" class=\"cookie-manage-btn\">
<i class=\"fas fa-cookie-bite\"></i>
</button>
{# chatbot Script #}
<script
src=\"https://widgets.leadconnectorhq.com/loader.js\"
data-resources-url=\"https://widgets.leadconnectorhq.com/chat-widget/loader.js\"
data-widget-id=\"686b8ac381758bd50c3bfdff\">
</script>
</body>
</html>", "layout/layout.html.twig", "/var/www/html/templates/layout/layout.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 1, "if" => 11, "block" => 19, "do" => 28);
static $filters = array("default" => 1, "escape" => 3, "trans" => 131);
static $functions = array("asset" => 7, "include" => 9, "pimcore_document" => 12, "pimcore_head_title" => 28, "is_granted" => 40, "pimcore_site_is_request" => 48, "pimcore_site_current" => 49, "path" => 63, "pimcore_build_nav" => 80, "pimcore_nav_renderer" => 82, "pimcore_device" => 88, "pimcore_inc" => 127, "pimcore_head_meta" => 24, "pimcore_head_link" => 37);
try {
$this->sandbox->checkSecurity(
['set', 'if', 'block', 'do'],
['default', 'escape', 'trans'],
['asset', 'include', 'pimcore_document', 'pimcore_head_title', 'is_granted', 'pimcore_site_is_request', 'pimcore_site_current', 'path', 'pimcore_build_nav', 'pimcore_nav_renderer', 'pimcore_device', 'pimcore_inc', 'pimcore_head_meta', 'pimcore_head_link']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}