<?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_55bb8236c2debb5e2e851929f2fa76f6 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
echo "<!doctype html>
<html lang=\"";
// line 2
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.', 2, $this->source); })()), "request", [], "any", false, false, true, 2), "locale", [], "any", false, false, true, 2), 2, $this->source), "html", null, true);
echo "\">
<head>
<script src=\"/misc/json-translation-website?language=";
// line 4
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.', 4, $this->source); })()), "request", [], "any", false, false, true, 4), "locale", [], "any", false, false, true, 4), 4, $this->source), "html", null, true);
echo "\" ></script>
";
// line 5
echo twig_include($this->env, $context, "layout/head/links.html.twig");
echo "
";
// line 7
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.', 7, $this->source); })()))) {
// line 8
echo " ";
$context["document"] = Pimcore\Model\Document::getById(1);
// line 9
echo " ";
}
// line 10
echo "
";
// line 11
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.', 11, $this->source); })()), "\\Pimcore\\Model\\Document\\Link")) {
// line 12
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.', 12, $this->source); })()), "getObject", [], "method", false, false, true, 12);
// line 13
echo " ";
}
// line 14
echo "
";
// line 15
$this->displayBlock('SEO', $context, $blocks);
// line 23
echo "
";
// line 24
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "append", ["Bsn Marine Supply / Bsn Yachts"], "method", false, false, true, 24);
// line 25
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "setSeparator", ["::"], "method", false, false, true, 25);
// line 26
echo "
";
// line 27
$this->displayBlock('layout_head_meta', $context, $blocks);
// line 31
echo "
";
// line 32
$this->displayBlock('head_stylesheets', $context, $blocks);
// line 35
echo "
";
// line 36
$context["is_authenticated"] = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_FULLY");
// line 37
echo "
";
// line 38
$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.', 38, $this->source); })()), "session", [], "any", false, false, true, 38), "get", ["_token"], "method", false, false, true, 38);
// line 39
echo "
";
// line 41
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.', 41, $this->source); })()), "getProperty", ["rootDocument"], "method", false, false, true, 41);
// line 42
echo "
";
// line 43
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.', 43, $this->source); })()), "\\Pimcore\\Model\\Document\\Page")) {
// line 44
echo " ";
if (Pimcore\Model\Site::isSiteRequest()) {
// line 45
echo " ";
$context["site"] = Pimcore\Model\Site::getCurrentSite();
// line 46
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.', 46, $this->source); })()), "getRootDocument", [], "method", false, false, true, 46);
// line 47
echo " ";
} else {
// line 48
echo " ";
$context["navStartNode"] = Pimcore\Model\Document::getById(6);
// line 49
echo " ";
}
// line 50
echo " ";
}
// line 51
echo " ";
// line 52
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.', 52, $this->source); })()), "request", [], "any", false, false, true, 52), "attributes", [], "any", false, false, true, 52), "get", ["_route"], "method", false, false, true, 52);
// line 53
echo "
";
// line 54
if (( !(null === (isset($context["currentRouteName"]) || array_key_exists("currentRouteName", $context) ? $context["currentRouteName"] : (function () { throw new RuntimeError('Variable "currentRouteName" does not exist.', 54, $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.', 54, $this->source); })())) && is_string($__internal_compile_1 = "new-password") && str_starts_with($__internal_compile_0, $__internal_compile_1)))) {
// line 55
echo " ";
$context["currentPath"] = "/new-password";
// line 56
echo " ";
} elseif (( !(null === (isset($context["currentRouteName"]) || array_key_exists("currentRouteName", $context) ? $context["currentRouteName"] : (function () { throw new RuntimeError('Variable "currentRouteName" does not exist.', 56, $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.', 56, $this->source); })())) && is_string($__internal_compile_3 = "new-user-password-setup") && str_starts_with($__internal_compile_2, $__internal_compile_3)))) {
// line 57
echo " ";
$context["currentPath"] = "/new-user-password-setup";
// line 58
echo " ";
} elseif ( !(null === (isset($context["currentRouteName"]) || array_key_exists("currentRouteName", $context) ? $context["currentRouteName"] : (function () { throw new RuntimeError('Variable "currentRouteName" does not exist.', 58, $this->source); })()))) {
// line 59
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.', 59, $this->source); })()), 59, $this->source));
// line 60
echo " ";
} else {
// line 61
echo " ";
$context["currentPath"] = "/";
echo " ";
// line 62
echo " ";
}
// line 63
echo "
";
// line 64
if ((((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 64, $this->source); })()) == "/") || ((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 64, $this->source); })()) == "/en"))) {
// line 65
echo " ";
$context["isRoot"] = true;
// line 66
echo " ";
} else {
// line 67
echo " ";
$context["isRoot"] = false;
// line 68
echo " ";
}
// line 69
echo "
";
// line 70
if (((((((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 70, $this->source); })()) == "/") || ((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 70, $this->source); })()) == "/es")) || ((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 70, $this->source); })()) == "/en")) || ((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 70, $this->source); })()) == "/es/empresa")) || ((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 70, $this->source); })()) == "/en/about-us"))) {
// line 71
echo " ";
$context["dropDown"] = true;
// line 72
echo " ";
} else {
// line 73
echo " ";
$context["dropDown"] = false;
// line 74
echo " ";
}
// line 75
echo "
";
// line 76
$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.', 76, $this->source); })()), "root" => (isset($context["navStartNode"]) || array_key_exists("navStartNode", $context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.', 76, $this->source); })())]);
// line 77
echo "
";
// line 78
$context["menuRenderer"] = $this->env->getFunction('pimcore_nav_renderer')->getCallable()("menu");
// line 79
echo " ";
// line 80
echo " ";
$this->displayBlock('PAGE_CSS', $context, $blocks);
// line 83
echo "
</head>
<body class=\"template-index template-product index-demo18 product-layout1\">
";
// line 88
if ((isset($context["dropDown"]) || array_key_exists("dropDown", $context) ? $context["dropDown"] : (function () { throw new RuntimeError('Variable "dropDown" does not exist.', 88, $this->source); })())) {
// line 89
echo " ";
// line 90
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 92
echo " ";
}
// line 93
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 94
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 96
echo " ";
echo twig_include($this->env, $context, "layout/includes/header.html.twig");
echo "
";
// line 98
echo " ";
// line 99
echo " <div class=\"page-wrapper\">
";
// line 101
echo "
";
// line 103
echo " ";
// line 104
echo " ";
echo twig_include($this->env, $context, "layout/includes/navegation/mobile.html.twig");
echo "
";
// line 106
echo "
";
// line 108
echo " <div id=\"page-content\">
";
// line 109
$this->displayBlock('CONTENT', $context, $blocks);
// line 111
echo " </div>
";
// line 113
echo "
";
// line 116
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.', 116, $this->source); })()), "getProperty", ["footer"], "method", false, false, true, 116), 116, $this->source));
echo "
";
// line 118
echo "
";
// line 120
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 122
echo "
";
// line 124
echo " ";
echo twig_include($this->env, $context, "layout/includes/minicart/minicart-drawer.html.twig");
echo "
";
// line 126
echo " <div class=\"modalOverly\"></div>
";
// line 129
echo " ";
echo twig_include($this->env, $context, "layout/includes/quickview-popup.html.twig");
echo "
";
// line 131
echo "
";
// line 133
echo " ";
echo twig_include($this->env, $context, "layout/includes/add-to-cart-added-popup.html.twig");
echo "
";
// line 135
echo "
";
// line 136
echo twig_include($this->env, $context, "layout/javascriptCode/javascriptCode.html.twig");
echo ";
</div>
";
// line 139
echo "
";
// line 140
$this->displayBlock('PAGE_JS', $context, $blocks);
// line 143
echo "
</body>
</html>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 15
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 16
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.', 16, $this->source); })()), "getTitle", [], "method", false, false, true, 16))) {
// line 17
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.', 17, $this->source); })()), "getTitle", [], "method", false, false, true, 17)], "method", false, false, true, 17);
// line 18
echo " ";
}
// line 19
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.', 19, $this->source); })()), "getDescription", [], "method", false, false, true, 19))) {
// line 20
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.', 20, $this->source); })()), "getDescription", [], "method", false, false, true, 20)], "method", false, false, true, 20);
// line 21
echo " ";
}
// line 22
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 27
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 28
echo " ";
echo $this->env->getFunction('pimcore_head_title')->getCallable()();
echo "
";
// line 29
echo $this->env->getFunction('pimcore_head_meta')->getCallable()();
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 32
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 33
echo " ";
echo $this->env->getFunction('pimcore_head_link')->getCallable()();
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 80
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 81
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"));
// line 110
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 140
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 141
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 ( 500 => 141, 490 => 140, 480 => 110, 470 => 109, 459 => 81, 449 => 80, 436 => 33, 426 => 32, 414 => 29, 409 => 28, 399 => 27, 389 => 22, 386 => 21, 383 => 20, 380 => 19, 377 => 18, 374 => 17, 371 => 16, 361 => 15, 349 => 143, 347 => 140, 344 => 139, 339 => 136, 336 => 135, 331 => 133, 328 => 131, 323 => 129, 319 => 126, 314 => 124, 311 => 122, 306 => 120, 303 => 118, 298 => 116, 295 => 113, 292 => 111, 290 => 109, 287 => 108, 284 => 106, 279 => 104, 277 => 103, 274 => 101, 271 => 99, 269 => 98, 264 => 96, 260 => 94, 255 => 93, 252 => 92, 247 => 90, 245 => 89, 243 => 88, 236 => 83, 233 => 80, 231 => 79, 229 => 78, 226 => 77, 224 => 76, 221 => 75, 218 => 74, 215 => 73, 212 => 72, 209 => 71, 207 => 70, 204 => 69, 201 => 68, 198 => 67, 195 => 66, 192 => 65, 190 => 64, 187 => 63, 184 => 62, 180 => 61, 177 => 60, 174 => 59, 171 => 58, 168 => 57, 165 => 56, 162 => 55, 160 => 54, 157 => 53, 154 => 52, 152 => 51, 149 => 50, 146 => 49, 143 => 48, 140 => 47, 137 => 46, 134 => 45, 131 => 44, 129 => 43, 126 => 42, 123 => 41, 120 => 39, 118 => 38, 115 => 37, 113 => 36, 110 => 35, 108 => 32, 105 => 31, 103 => 27, 100 => 26, 97 => 25, 95 => 24, 92 => 23, 90 => 15, 87 => 14, 84 => 13, 81 => 12, 79 => 11, 76 => 10, 73 => 9, 70 => 8, 68 => 7, 63 => 5, 59 => 4, 54 => 2, 51 => 1,);
}
public function getSourceContext()
{
return new Source("<!doctype html>
<html lang=\"{{ app.request.locale }}\">
<head>
<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 %}
</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\")}};
</div>
{# End Page Wrapper #}
{% block PAGE_JS %}
{% endblock %}
</body>
</html>", "layout/layout.html.twig", "/var/www/html/templates/layout/layout.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 7, "set" => 8, "block" => 15, "do" => 24);
static $filters = array("escape" => 2, "trans" => 120);
static $functions = array("include" => 5, "pimcore_document" => 8, "pimcore_head_title" => 24, "is_granted" => 36, "pimcore_site_is_request" => 44, "pimcore_site_current" => 45, "path" => 59, "pimcore_build_nav" => 76, "pimcore_nav_renderer" => 78, "asset" => 90, "pimcore_inc" => 116, "pimcore_head_meta" => 20, "pimcore_head_link" => 33);
try {
$this->sandbox->checkSecurity(
['if', 'set', 'block', 'do'],
['escape', 'trans'],
['include', 'pimcore_document', 'pimcore_head_title', 'is_granted', 'pimcore_site_is_request', 'pimcore_site_current', 'path', 'pimcore_build_nav', 'pimcore_nav_renderer', 'asset', '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;
}
}
}