<?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;
/* layouts/layout_b2c.html.twig */
class __TwigTemplate_9684b28505fe2f4cbb54a69b0e0ea67840c0157aa2ceebcb20cc5748f2ea6edd extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'layout_head_meta' => [$this, 'block_layout_head_meta'],
'head_stylesheets' => [$this, 'block_head_stylesheets'],
'headscripts' => [$this, 'block_headscripts'],
'inlinescripts' => [$this, 'block_inlinescripts'],
];
$this->deferred = $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layouts/layout_b2c.html.twig"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layouts/layout_b2c.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layouts/layout_b2c.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html lang=\"";
// line 2
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "locale", [], "any", false, false, false, 2), "html", null, true);
echo "\">
<head>
<meta name=\"google-site-verification\" content=\"kGY5yRmESNV2q-G_dgN3iC98E6vRbJtj3vv0tS5pF_U\" />
<meta charset=\"UTF-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
";
// line 12
echo " ";
$this->displayBlock('layout_head_meta', $context, $blocks);
// line 21
echo "
<!-- Favicon -->
<link rel=\"icon\" type=\"image/x-icon\" href=\"/mecstore/b2c/assets/images/icons/icon-mecstore.ico\">
<!-- cookie banner -->
<script id=\"IusCookie\" src=https://js.cookietagmanager.net/www_mecstore_it_1004310691/iuscookie.min.js type=\"text/javascript\"></script>
<script>
WebFontConfig = {
google: { families: ['Open+Sans:300,400,600,700,800', 'Poppins:200,300,400,500,600,700,800', 'Oswald:300,400,500,600,700,800'] }
};
(function (d) {
var wf = d.createElement('script'), s = d.scripts[0];
wf.src = '/mecstore/b2c/assets/js/webfont.js';
wf.async = true;
s.parentNode.insertBefore(wf, s);
})(document);
</script>
<!-- Plugins CSS File -->
<link rel=\"stylesheet\" href=\"/mecstore/b2c/assets/css/bootstrap.min.css\">
<link rel=\"stylesheet\" href=\"/mecstore/b2c/assets/css/animate.min.css\">
<!-- Main CSS File -->
<link rel=\"stylesheet\" href=\"/mecstore/b2c/assets/css/demo21.min.css\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"/mecstore/b2c/assets/vendor/fontawesome-free/css/all.min.css\">
";
// line 47
$context["classtoset"] = "home";
// line 48
echo " ";
if (((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 48, $this->source); })()) != true)) {
echo "
";
// line 49
$context["currentPath"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(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.', 49, $this->source); })()), "request", [], "any", false, false, false, 49), "attributes", [], "any", false, false, false, 49), "get", ["_route"], "method", false, false, false, 49), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 50
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 50, $this->source); })()), "request", [], "any", false, false, false, 50), "attributes", [], "any", false, false, false, 50), "get", ["_route_params"], "method", false, false, false, 50));
// line 51
echo "
";
// line 52
if (((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 52, $this->source); })()) == "/collaborations")) {
// line 53
echo " ";
$context["classtoset"] = "collaborations";
// line 54
echo " ";
} elseif (((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 54, $this->source); })()) == "/about-us")) {
// line 55
echo " ";
$context["classtoset"] = "aboutus";
// line 56
echo " ";
} elseif (((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 56, $this->source); })()) == "/work-with-us")) {
// line 57
echo " ";
$context["classtoset"] = "workwithus";
// line 58
echo " ";
} elseif (((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 58, $this->source); })()) == "/en/work-with-us")) {
// line 59
echo " ";
$context["classtoset"] = "workwithus";
// line 60
echo " ";
} elseif (((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 60, $this->source); })()) == "/b2c_shops")) {
// line 61
echo " ";
$context["classtoset"] = "shop-detail-page";
// line 62
echo " ";
} elseif (((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 62, $this->source); })()) == "/contact-us")) {
// line 63
echo " ";
$context["classtoset"] = "contactus";
// line 64
echo " ";
} elseif (((isset($context["currentPath"]) || array_key_exists("currentPath", $context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.', 64, $this->source); })()) == "/catalogues")) {
// line 65
echo " ";
$context["classtoset"] = "catalogues";
// line 66
echo " ";
}
echo "
";
}
// line 71
echo "\t";
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 71, $this->source); })())) {
// line 72
echo " <link rel=\"stylesheet\" href=\"/static/css/editmode.css\">
";
}
// line 74
echo "
";
// line 75
ob_start();
// line 76
echo " ";
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.', 76, $this->source); })()))) {
// line 77
echo " ";
$context["document"] = Pimcore\Model\Document::getById(3);
// line 78
echo " ";
}
// line 79
echo "
";
// line 80
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.', 80, $this->source); })()), "\\Pimcore\\Model\\Document\\Link")) {
// line 81
echo " ";
// line 82
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.', 82, $this->source); })()), "getObject", [], "method", false, false, false, 82);
// line 83
echo " ";
}
// line 84
echo "
";
// line 85
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.', 85, $this->source); })()), "\\Pimcore\\Model\\Document\\Page")) {
// line 86
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.', 86, $this->source); })()), "getTitle", [], "method", false, false, false, 86))) {
// line 87
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.', 87, $this->source); })()), "getTitle", [], "method", false, false, false, 87)], "method", false, false, false, 87);
// line 88
echo " ";
}
// line 89
echo " ";
}
// line 90
echo "
";
// line 91
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.', 91, $this->source); })()), "getDescription", [], "method", false, false, false, 91))) {
// line 92
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.', 92, $this->source); })()), "getDescription", [], "method", false, false, false, 92)], "method", false, false, false, 92);
// line 93
echo " ";
}
// line 94
echo "
";
// line 97
echo " ";
$context["isPortal"] = (array_key_exists("isPortal", $context) && (isset($context["isPortal"]) || array_key_exists("isPortal", $context) ? $context["isPortal"] : (function () { throw new RuntimeError('Variable "isPortal" does not exist.', 97, $this->source); })()));
echo "
";
// line 98
$context["wesbiteName"] = 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.', 98, $this->source); })()), "getProperty", ["website_name"], "method", false, false, false, 98);
echo "
";
// line 100
if ((((isset($context["wesbiteName"]) || array_key_exists("wesbiteName", $context) ? $context["wesbiteName"] : (function () { throw new RuntimeError('Variable "wesbiteName" does not exist.', 100, $this->source); })()) == "b2c") && 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.', 100, $this->source); })()), "user", [], "any", false, false, false, 100))) {
echo "
";
// line 101
if ((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.', 101, $this->source); })()), "user", [], "any", false, false, false, 101), "usertype", [], "any", false, false, false, 101) != "customer")) {
// line 102
echo " <script>window.location=\"/account/logout\";</script>
";
}
// line 104
echo " ";
}
// line 105
echo "
";
$___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 75
echo twig_spaceless($___internal_parse_0_);
// line 106
echo "
";
// line 108
$this->displayBlock('head_stylesheets', $context, $blocks);
// line 111
echo "
";
// line 112
$context["mecstore_lang"] = 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.', 112, $this->source); })()), "request", [], "any", false, false, false, 112), "locale", [], "any", false, false, false, 112);
// line 113
echo " <script>
var HOST_URL = \"https://mecstore.it.local\";
</script>\t
</head>
<body>
<script type=\"text/javascript\">
(function(window, document, dataLayerName, id) {
window[dataLayerName]=window[dataLayerName]||[],window[dataLayerName].push({start:(new Date).getTime(),event:\"stg.start\"});var scripts=document.getElementsByTagName('script')[0],tags=document.createElement('script');
function stgCreateCookie(a,b,c){var d=\"\";if(c){var e=new Date;e.setTime(e.getTime()+24*c*60*60*1e3),d=\"; expires=\"+e.toUTCString()}document.cookie=a+\"=\"+b+d+\"; path=/\"}
var isStgDebug=(window.location.href.match(\"stg_debug\")||document.cookie.match(\"stg_debug\"))&&!window.location.href.match(\"stg_disable_debug\");stgCreateCookie(\"stg_debug\",isStgDebug?1:\"\",isStgDebug?14:-1);
var qP=[];dataLayerName!==\"dataLayer\"&&qP.push(\"data_layer_name=\"+dataLayerName),isStgDebug&&qP.push(\"stg_debug\");var qPString=qP.length>0?(\"?\"+qP.join(\"&\")):\"\";
tags.async=!0,tags.src=\"https://mecstore.containers.piwik.pro/\"+id+\".js\"+qPString,scripts.parentNode.insertBefore(tags,scripts);
!function(a,n,i){a[n]=a[n]||{};for(var c=0;c<i.length;c++)!function(i){a[n][i]=a[n][i]||{},a[n][i].api=a[n][i].api||function(){var a=[].slice.call(arguments,0);\"string\"==typeof a[0]&&window[dataLayerName].push({event:n+\".\"+i+\":\"+a[0],parameters:[].slice.call(arguments,1)})}}(i[c])}(window,\"ppms\",[\"tm\",\"cm\"]);
})(window, document, 'dataLayer', '4e702d43-d771-464f-90e7-572c5b7cd426');
</script>
<div class=\"page-wrapper ";
// line 130
echo twig_escape_filter($this->env, (isset($context["classtoset"]) || array_key_exists("classtoset", $context) ? $context["classtoset"] : (function () { throw new RuntimeError('Variable "classtoset" does not exist.', 130, $this->source); })()), "html", null, true);
echo "\">
";
// line 131
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 131, $this->source); })())) {
} else {
// line 133
echo " <div class=\"lang-menu gap-20 d-flex justify-content-center pt-20 mt-20 mw-70 mx-auto w-100\">
";
// line 134
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->extensions['App\Twig\Extension\LanguageSwitcherExtension']->getLocalizedLinks((isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 134, $this->source); })())));
foreach ($context['_seq'] as $context["key"] => $context["lang"]) {
// line 135
echo " <a class=\"btn\" href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["lang"], "link", [], "any", false, false, false, 135), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, twig_get_attribute($this->env, $this->source, $context["lang"], "text", [], "any", false, false, false, 135)), "html", null, true);
echo "</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['lang'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 137
echo " </div>
";
// line 138
if (((isset($context["mecstore_lang"]) || array_key_exists("mecstore_lang", $context) ? $context["mecstore_lang"] : (function () { throw new RuntimeError('Variable "mecstore_lang" does not exist.', 138, $this->source); })()) == "it_IT")) {
// line 139
echo " ";
echo $this->env->getFunction('pimcore_inc')->getCallable()("/b2c/shared/header_b2c");
echo "
";
} else {
// line 141
echo " ";
echo $this->env->getFunction('pimcore_inc')->getCallable()("/b2c/en/shared/header_b2c");
echo "
";
}
// line 143
echo "
";
}
// line 145
echo " <main class=\"main\">
";
// line 146
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(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.', 146, $this->source); })()), "flashes", [], "any", false, false, false, 146));
foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
echo "
";
// line 147
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["messages"]);
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
echo "
<div class=\"alert alert-";
// line 148
echo twig_escape_filter($this->env, $context["label"], "html", null, true);
echo " alert-dismissable\">
<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>
";
// line 150
if (($context["message"] == "Grazie per averci contattato! Vi risponderemo a breve")) {
// line 151
echo " <script>
window.addEventListener('uberflip.ctaFormSubmitSuccess', (ctaId, ctaData, ctaName) => {
window.lintrk('track', { conversion_id: 11496817 });
});
</script>
";
}
// line 157
echo " ";
echo twig_escape_filter($this->env, $context["message"], "html", null, true);
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 160
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 161
echo " ";
$this->displayBlock("content", $context, $blocks);
echo "
</main>
";
// line 165
if (((isset($context["mecstore_lang"]) || array_key_exists("mecstore_lang", $context) ? $context["mecstore_lang"] : (function () { throw new RuntimeError('Variable "mecstore_lang" does not exist.', 165, $this->source); })()) == "it_IT")) {
// line 166
echo " ";
echo $this->env->getFunction('pimcore_inc')->getCallable()("/b2c/shared/footer_b2c");
echo "
";
} else {
// line 168
echo " ";
echo $this->env->getFunction('pimcore_inc')->getCallable()("/b2c/en/shared/footer_b2c");
echo "
";
}
// line 170
echo " </div><!-- End .page-wrapper -->
<div class=\"loading-overlay\">
<div class=\"bounce-loader\">
<div class=\"bounce1\"></div>
<div class=\"bounce2\"></div>
<div class=\"bounce3\"></div>
</div>
</div>
<div class=\"chat-bot\">
<i class=\"icon-chat\"></i>
</div>
<div class=\"loading-overlay\">
<div class=\"bounce-loader\">
<div class=\"bounce1\"></div>
<div class=\"bounce2\"></div>
<div class=\"bounce3\"></div>
</div>
</div>
";
// line 191
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 191, $this->source); })())) {
} else {
// line 193
echo " <div class=\"mobile-menu-overlay\"></div><!-- End .mobil-menu-overlay -->
<div class=\"mobile-menu-container\">
<div class=\"mobile-menu-wrapper\">
<span class=\"mobile-menu-close\"><i class=\"fa fa-times\"></i></span>
<nav class=\"mobile-nav\">
<!-- menu header button -->
<ul class=\"mobile-menu\">
<li><a href=\"/\">Home</a></li>
";
// line 238
echo " <li class=\"mr-xl-5 mr-4\" >
<a class=\"page-index\">catalogo</a>
<ul class=\"submenu\">
";
// line 241
$context["count"] = 0;
// line 242
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->extensions['App\Twig\Extension\CategoryFilterExtension']->getCategories());
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
echo "
<li><a href=\"";
// line 243
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-shop-category", ["lang" => "it", "categoryname" => twig_get_attribute($this->env, $this->source, $context["category"], "key", [], "any", false, false, false, 243), "category" => twig_get_attribute($this->env, $this->source, $context["category"], "id", [], "any", false, false, false, 243)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["category"], "Name", [], "any", false, false, false, 243), "html", null, true);
echo "</a></li>
";
// line 244
$context["count"] = ((isset($context["count"]) || array_key_exists("count", $context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.', 244, $this->source); })()) + 1);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 245
echo "
</ul>
</li>
<li class=\"mr-xl-5 mr-4\" >
<a class=\"page-index\">FORNITORI</a>
<ul class=\"submenu\">
";
// line 251
$context["count"] = 0;
// line 252
echo " ";
$context["brands"] = $this->extensions['App\Twig\Extension\BrandFilterExtension']->getBrands();
// line 253
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["brands"]) || array_key_exists("brands", $context) ? $context["brands"] : (function () { throw new RuntimeError('Variable "brands" does not exist.', 253, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["brand"]) {
echo "
<li><a href=\"";
// line 254
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("b2c-shop-brand", ["brandname" => twig_get_attribute($this->env, $this->source, $context["brand"], "key", [], "any", false, false, false, 254), "brand" => twig_get_attribute($this->env, $this->source, $context["brand"], "id", [], "any", false, false, false, 254)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["brand"], "Name", [], "any", false, false, false, 254), "html", null, true);
echo "</a></li>
";
// line 255
$context["count"] = ((isset($context["count"]) || array_key_exists("count", $context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.', 255, $this->source); })()) + 1);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['brand'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 256
echo "
</ul>
</li>
<li class=\"mr-xl-5 mr-4\" >
<a href=\"/about-us\" class=\"page-index\" data-name=\" \">il gruppo</a>
</li>
<li class=\"mr-xl-5 mr-4\" >
<a href=\"/b2c_shops\" class=\"page-index\" data-name=\" \">punti vendita</a>
</li>
<li class=\"mr-xl-5 mr-4\" >
<a href=\"/b2c_news\" class=\"page-index\" data-name=\"app-news.php\">News</a>
</li>
<li class=\"mr-xl-5 mr-4\" >
<a href=\"/catalogues\" class=\"page-index\" data-name=\" \">Download</a>
</li>
<li class=\"mr-xl-5 mr-4\" >
<a href=\"#\" class=\"page-index\" data-name=\" \">contattaci</a>
<ul>
<li><a href=\"/contact-us\" class=\"page-index\" data-name=\" \">richiesta informazioni</a></li>
<li><a href=\"/collaborations\">collaborazioni</a></li>
<li><a href=\"/work-with-us\">lavora con noi</a></li>
</ul>
</li>
";
// line 279
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
// line 280
echo " <li class=\"mr-xl-5 mr-4\">
<a style=\"color:#fff\">my mecstore</a>
<ul>
<li>
<a style=\"color:#fff\"><strong>B2B</strong></a>
<ul>
<li><a href=\"";
// line 286
echo twig_escape_filter($this->env, $this->env->getFunction('pimcore_url')->getCallable()(["type" => "confirm"], "account-order-list", true, true), "html", null, true);
echo "\">Ordini inviati</a></li>
<li><a href=\"";
// line 287
echo twig_escape_filter($this->env, $this->env->getFunction('pimcore_url')->getCallable()(["type" => "pre-ordini"], "account-order-list", true, true), "html", null, true);
echo "\">Preordini</a></li>
<li><a href=\"";
// line 288
echo twig_escape_filter($this->env, $this->env->getFunction('pimcore_url')->getCallable()(["type" => "booked"], "account-order-list", true, true), "html", null, true);
echo "\">Prenotazioni</a></li>
<li><a href=\"";
// line 289
echo twig_escape_filter($this->env, $this->env->getFunction('pimcore_url')->getCallable()(["type" => "draft"], "account-order-list", true, true), "html", null, true);
echo "\">Bozze ordini</a></li>
";
// line 291
echo " </ul>
</li>
<li>
<a style=\"color:#fff\"><strong>B2C</strong></a>
<ul>
";
// line 300
echo " </ul>
</li>
";
// line 304
echo " </ul>
</li>
";
}
// line 307
echo " </ul>
</nav><!-- End .mobile-nav -->
";
// line 314
echo "
</div><!-- End .mobile-menu-wrapper -->
</div><!-- End .mobile-menu-container -->
<div class=\"modal fade\" id=\"checkModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"checkModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-body\">
</div>
<div class=\"modal-footer\">
<div class=\"inner\">
<button type=\"button\" class=\"btn btn-cancel\" data-dismiss=\"modal\">Ok</button>
</div>
</div>
</div>
</div>
</div>
<div class=\"modal fade\" id=\"chooseModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"chooseModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-body\">
<p></p>
</div>
<div class=\"modal-footer\">
<div class=\"inner\">
<button type=\"button\" class=\"btn btn-success\" data-dismiss=\"modal\">Sì</button>
<button type=\"button\" class=\"btn btn-cancel\" data-dismiss=\"modal\">No</button>
</div>
</div>
</div>
</div>
</div>
";
}
// line 351
echo "
";
// line 352
$this->displayBlock('headscripts', $context, $blocks);
// line 355
echo "
\t";
// line 356
$this->displayBlock('inlinescripts', $context, $blocks);
// line 359
echo " <!-- Plugins JS File -->
<script src=\"/mecstore/assets/js/jquery.min.js\"></script>
<script src=\"/mecstore/assets/js/bootstrap.bundle.min.js\"></script>
<script src=\"/mecstore/assets/js/plugins.min.js\"></script>
<script src=\"/mecstore/assets/js/optional/isotope.pkgd.min.js\"></script>
<script src=\"/mecstore/assets/js/jquery.appear.min.js\"></script>
<script src=\"/mecstore/assets/js/jquery.plugin.min.js\"></script>
<script src=\"/mecstore/assets/js/jquery.countdown.min.js\"></script>
<script src=\"/mecstore/assets/js/nouislider.min.js\"></script>
<script src=\"/mecstore/assets/js/custom.js\"></script>
<!-- Main JS File -->
<script src=\"/mecstore/assets/js/select2.min.js\"></script>
<script src=\"/mecstore/b2c/assets/js/main.js\"></script>
</body>
</html>";
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function block_layout_head_meta($context, array $blocks = [])
{
$this->deferred->defer($this, 'layout_head_meta');
}
// line 12
public function block_layout_head_meta_deferred($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_meta"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_meta"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_meta"));
// line 13
echo " ";
echo $this->env->getFunction('pimcore_head_title')->getCallable()();
echo "
";
// line 14
echo $this->env->getFunction('pimcore_head_meta')->getCallable()();
echo "
";
// line 16
if (twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_placeholder')->getCallable()("canonical"), "count", [], "method", false, false, false, 16)) {
// line 17
echo " <link rel=\"canonical\" href=\"";
echo $this->env->getFunction('pimcore_placeholder')->getCallable()("canonical");
echo "\"/>
";
}
// line 19
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function block_head_stylesheets($context, array $blocks = [])
{
$this->deferred->defer($this, 'head_stylesheets');
}
// line 108
public function block_head_stylesheets_deferred($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
// line 109
echo " ";
echo $this->env->getFunction('pimcore_head_link')->getCallable()();
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function block_headscripts($context, array $blocks = [])
{
$this->deferred->defer($this, 'headscripts');
}
// line 352
public function block_headscripts_deferred($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headscripts"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headscripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headscripts"));
// line 353
echo "\t ";
echo $this->env->getFunction('pimcore_head_script')->getCallable()();
echo "
\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function block_inlinescripts($context, array $blocks = [])
{
$this->deferred->defer($this, 'inlinescripts');
}
// line 356
public function block_inlinescripts_deferred($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inlinescripts"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inlinescripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inlinescripts"));
// line 357
echo "\t ";
echo $this->env->getFunction('pimcore_inline_script')->getCallable()();
echo "
\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function getTemplateName()
{
return "layouts/layout_b2c.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 786 => 357, 773 => 356, 751 => 353, 738 => 352, 716 => 109, 703 => 108, 683 => 19, 677 => 17, 675 => 16, 670 => 14, 665 => 13, 652 => 12, 617 => 359, 615 => 356, 612 => 355, 610 => 352, 607 => 351, 568 => 314, 563 => 307, 558 => 304, 554 => 300, 547 => 291, 543 => 289, 539 => 288, 535 => 287, 531 => 286, 523 => 280, 521 => 279, 496 => 256, 488 => 255, 482 => 254, 475 => 253, 472 => 252, 470 => 251, 462 => 245, 454 => 244, 448 => 243, 441 => 242, 439 => 241, 434 => 238, 424 => 193, 421 => 191, 398 => 170, 392 => 168, 386 => 166, 384 => 165, 376 => 161, 370 => 160, 360 => 157, 352 => 151, 350 => 150, 345 => 148, 339 => 147, 333 => 146, 330 => 145, 326 => 143, 320 => 141, 314 => 139, 312 => 138, 309 => 137, 298 => 135, 294 => 134, 291 => 133, 288 => 131, 284 => 130, 265 => 113, 263 => 112, 260 => 111, 258 => 108, 254 => 106, 252 => 75, 248 => 105, 245 => 104, 241 => 102, 239 => 101, 235 => 100, 230 => 98, 225 => 97, 222 => 94, 219 => 93, 216 => 92, 214 => 91, 211 => 90, 208 => 89, 205 => 88, 202 => 87, 199 => 86, 197 => 85, 194 => 84, 191 => 83, 188 => 82, 186 => 81, 184 => 80, 181 => 79, 178 => 78, 175 => 77, 172 => 76, 170 => 75, 167 => 74, 163 => 72, 160 => 71, 151 => 66, 148 => 65, 145 => 64, 142 => 63, 139 => 62, 136 => 61, 133 => 60, 130 => 59, 127 => 58, 124 => 57, 121 => 56, 118 => 55, 115 => 54, 112 => 53, 110 => 52, 107 => 51, 105 => 50, 104 => 49, 99 => 48, 97 => 47, 69 => 21, 66 => 12, 54 => 2, 51 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"{{ app.request.locale }}\">
<head>
<meta name=\"google-site-verification\" content=\"kGY5yRmESNV2q-G_dgN3iC98E6vRbJtj3vv0tS5pF_U\" />
<meta charset=\"UTF-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
{# we're using the deferred extension here to make sure this block is rendered after all helper calls #}
{% block layout_head_meta deferred %}
{{ pimcore_head_title() }}
{{ pimcore_head_meta() }}
{% if pimcore_placeholder('canonical').count() %}
<link rel=\"canonical\" href=\"{{ pimcore_placeholder('canonical') }}\"/>
{% endif %}
{% endblock %}
<!-- Favicon -->
<link rel=\"icon\" type=\"image/x-icon\" href=\"/mecstore/b2c/assets/images/icons/icon-mecstore.ico\">
<!-- cookie banner -->
<script id=\"IusCookie\" src=https://js.cookietagmanager.net/www_mecstore_it_1004310691/iuscookie.min.js type=\"text/javascript\"></script>
<script>
WebFontConfig = {
google: { families: ['Open+Sans:300,400,600,700,800', 'Poppins:200,300,400,500,600,700,800', 'Oswald:300,400,500,600,700,800'] }
};
(function (d) {
var wf = d.createElement('script'), s = d.scripts[0];
wf.src = '/mecstore/b2c/assets/js/webfont.js';
wf.async = true;
s.parentNode.insertBefore(wf, s);
})(document);
</script>
<!-- Plugins CSS File -->
<link rel=\"stylesheet\" href=\"/mecstore/b2c/assets/css/bootstrap.min.css\">
<link rel=\"stylesheet\" href=\"/mecstore/b2c/assets/css/animate.min.css\">
<!-- Main CSS File -->
<link rel=\"stylesheet\" href=\"/mecstore/b2c/assets/css/demo21.min.css\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"/mecstore/b2c/assets/vendor/fontawesome-free/css/all.min.css\">
{% set classtoset = 'home' %}
{% if editmode != true %}
{% set currentPath = path(app.request.attributes.get('_route'),
app.request.attributes.get('_route_params')) %}
{% if currentPath == '/collaborations' %}
{% set classtoset = 'collaborations' %}
{% elseif currentPath == '/about-us' %}
{% set classtoset = 'aboutus' %}
{% elseif currentPath == '/work-with-us' %}
{% set classtoset = 'workwithus' %}
{% elseif currentPath == '/en/work-with-us' %}
{% set classtoset = 'workwithus' %}
{% elseif currentPath == '/b2c_shops' %}
{% set classtoset = 'shop-detail-page' %}
{% elseif currentPath == '/contact-us' %}
{% set classtoset = 'contactus' %}
{% elseif currentPath == '/catalogues' %}
{% set classtoset = 'catalogues' %}
{% endif %}
{% endif %}
\t{% if editmode %}
<link rel=\"stylesheet\" href=\"/static/css/editmode.css\">
{% endif %}
{% apply spaceless %}
{% if not document is defined or not document %}
{% set document = pimcore_document(3) %}
{% endif %}
{% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Link') %}
{# @var document \\Pimcore\\Model\\Document\\Link #}
{% set document = document.getObject() %}
{% endif %}
{% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Page') %}
{% if document.getTitle() is not empty %}
{% do pimcore_head_title().set(document.getTitle()) %}
{% endif %}
{% endif %}
{% if document.getDescription() is not empty %}
{% do pimcore_head_meta().setDescription(document.getDescription()) %}
{% endif %}
{#{% do pimcore_head_title().append('ALEA - Ecommerce Solutions') %}
{% do pimcore_head_title().setSeparator(' : ') %}#}
{% set isPortal = ((isPortal is defined) and isPortal) %}
{% set wesbiteName = document.getProperty('website_name') %}
{% if wesbiteName == 'b2c' and app.user %}
{% if app.user.usertype != 'customer' %}
<script>window.location=\"/account/logout\";</script>
{% endif %}
{% endif %}
{% endapply %}
{% block head_stylesheets deferred %}
{{ pimcore_head_link() }}
{% endblock %}
{% set mecstore_lang = app.request.locale %}
<script>
var HOST_URL = \"https://mecstore.it.local\";
</script>\t
</head>
<body>
<script type=\"text/javascript\">
(function(window, document, dataLayerName, id) {
window[dataLayerName]=window[dataLayerName]||[],window[dataLayerName].push({start:(new Date).getTime(),event:\"stg.start\"});var scripts=document.getElementsByTagName('script')[0],tags=document.createElement('script');
function stgCreateCookie(a,b,c){var d=\"\";if(c){var e=new Date;e.setTime(e.getTime()+24*c*60*60*1e3),d=\"; expires=\"+e.toUTCString()}document.cookie=a+\"=\"+b+d+\"; path=/\"}
var isStgDebug=(window.location.href.match(\"stg_debug\")||document.cookie.match(\"stg_debug\"))&&!window.location.href.match(\"stg_disable_debug\");stgCreateCookie(\"stg_debug\",isStgDebug?1:\"\",isStgDebug?14:-1);
var qP=[];dataLayerName!==\"dataLayer\"&&qP.push(\"data_layer_name=\"+dataLayerName),isStgDebug&&qP.push(\"stg_debug\");var qPString=qP.length>0?(\"?\"+qP.join(\"&\")):\"\";
tags.async=!0,tags.src=\"https://mecstore.containers.piwik.pro/\"+id+\".js\"+qPString,scripts.parentNode.insertBefore(tags,scripts);
!function(a,n,i){a[n]=a[n]||{};for(var c=0;c<i.length;c++)!function(i){a[n][i]=a[n][i]||{},a[n][i].api=a[n][i].api||function(){var a=[].slice.call(arguments,0);\"string\"==typeof a[0]&&window[dataLayerName].push({event:n+\".\"+i+\":\"+a[0],parameters:[].slice.call(arguments,1)})}}(i[c])}(window,\"ppms\",[\"tm\",\"cm\"]);
})(window, document, 'dataLayer', '4e702d43-d771-464f-90e7-572c5b7cd426');
</script>
<div class=\"page-wrapper {{classtoset}}\">
{% if editmode %}
{% else %}
<div class=\"lang-menu gap-20 d-flex justify-content-center pt-20 mt-20 mw-70 mx-auto w-100\">
{% for key, lang in get_localized_links(document) %}
<a class=\"btn\" href=\"{{ lang.link }}\">{{ lang.text|capitalize }}</a>
{% endfor %}
</div>
{% if mecstore_lang == 'it_IT' %}
{{ pimcore_inc('/b2c/shared/header_b2c') }}
{% else %}
{{ pimcore_inc('/b2c/en/shared/header_b2c') }}
{% endif %}
{% endif %}
<main class=\"main\">
{% for label, messages in app.flashes %}
{% for message in messages %}
<div class=\"alert alert-{{ label }} alert-dismissable\">
<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>
{% if message == 'Grazie per averci contattato! Vi risponderemo a breve' %}
<script>
window.addEventListener('uberflip.ctaFormSubmitSuccess', (ctaId, ctaData, ctaName) => {
window.lintrk('track', { conversion_id: 11496817 });
});
</script>
{% endif %}
{{message}}
</div>
{% endfor %}
{% endfor %}
{{ block('content') }}
</main>
{% if mecstore_lang == 'it_IT' %}
{{ pimcore_inc('/b2c/shared/footer_b2c') }}
{% else %}
{{ pimcore_inc('/b2c/en/shared/footer_b2c') }}
{% endif %}
</div><!-- End .page-wrapper -->
<div class=\"loading-overlay\">
<div class=\"bounce-loader\">
<div class=\"bounce1\"></div>
<div class=\"bounce2\"></div>
<div class=\"bounce3\"></div>
</div>
</div>
<div class=\"chat-bot\">
<i class=\"icon-chat\"></i>
</div>
<div class=\"loading-overlay\">
<div class=\"bounce-loader\">
<div class=\"bounce1\"></div>
<div class=\"bounce2\"></div>
<div class=\"bounce3\"></div>
</div>
</div>
{% if editmode %}
{% else %}
<div class=\"mobile-menu-overlay\"></div><!-- End .mobil-menu-overlay -->
<div class=\"mobile-menu-container\">
<div class=\"mobile-menu-wrapper\">
<span class=\"mobile-menu-close\"><i class=\"fa fa-times\"></i></span>
<nav class=\"mobile-nav\">
<!-- menu header button -->
<ul class=\"mobile-menu\">
<li><a href=\"/\">Home</a></li>
{#
<li>
<a style=\"color:#fff;\" >area documentale</a>
<ul>
<li><a href=\"app-accordi-commerciali.php\">accordi commerciali</a></li>
<li><a href=\"app-area-amministrativa.php\">area amministrativa</a></li>
</ul>
</li>
<li><a href=\"app-member-market.php\">mercatino soci <span class=\"tip tip-hot\">Hot!</span></a></li>
</ul><!-- end menu header button -->
<ul class=\"mobile-menu mt-2 mb-2\">
<li class=\"border-0\">
<a href=\"#\">
my mecstore
</a>
</li>
<li class=\"border-0\">
<a href=\"#\">
ordini
</a>
</li>
<li class=\"border-0\">
<a href=\"app-favourites.php\">
preferiti
<i class=\"icon-wishlist-2\"></i>
</a>
</li>
<li class=\"border-0\">
<a href=\"app-cart.php\">
carrello
<i class=\"fas fa-shopping-cart\"></i>
</a>
</li>
<li><a href=\"app-login.php\">My Account</a></li>
<li><a href=\"app-login.php\">Contact Us</a></li>
<li><a href=\"app-login.php\" class=\"login-link\"> Log out</a></li> #}
<li class=\"mr-xl-5 mr-4\" >
<a class=\"page-index\">catalogo</a>
<ul class=\"submenu\">
{% set count = 0%}
{% for category in app_category_get_data() %}
<li><a href=\"{{ path('b2c-shop-category', {lang: 'it',categoryname: category.key,category: category.id}) }}\">{{ category.Name }}</a></li>
{% set count = count + 1 %}
{% endfor %}
</ul>
</li>
<li class=\"mr-xl-5 mr-4\" >
<a class=\"page-index\">FORNITORI</a>
<ul class=\"submenu\">
{% set count = 0 %}
{% set brands = app_brand_get_data() %}
{% for brand in brands %}
<li><a href=\"{{ path('b2c-shop-brand', {brandname: brand.key,brand: brand.id}) }}\">{{ brand.Name }}</a></li>
{% set count = count + 1 %}
{% endfor %}
</ul>
</li>
<li class=\"mr-xl-5 mr-4\" >
<a href=\"/about-us\" class=\"page-index\" data-name=\" \">il gruppo</a>
</li>
<li class=\"mr-xl-5 mr-4\" >
<a href=\"/b2c_shops\" class=\"page-index\" data-name=\" \">punti vendita</a>
</li>
<li class=\"mr-xl-5 mr-4\" >
<a href=\"/b2c_news\" class=\"page-index\" data-name=\"app-news.php\">News</a>
</li>
<li class=\"mr-xl-5 mr-4\" >
<a href=\"/catalogues\" class=\"page-index\" data-name=\" \">Download</a>
</li>
<li class=\"mr-xl-5 mr-4\" >
<a href=\"#\" class=\"page-index\" data-name=\" \">contattaci</a>
<ul>
<li><a href=\"/contact-us\" class=\"page-index\" data-name=\" \">richiesta informazioni</a></li>
<li><a href=\"/collaborations\">collaborazioni</a></li>
<li><a href=\"/work-with-us\">lavora con noi</a></li>
</ul>
</li>
{% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
<li class=\"mr-xl-5 mr-4\">
<a style=\"color:#fff\">my mecstore</a>
<ul>
<li>
<a style=\"color:#fff\"><strong>B2B</strong></a>
<ul>
<li><a href=\"{{ pimcore_url({'type': 'confirm'},'account-order-list',true,true) }}\">Ordini inviati</a></li>
<li><a href=\"{{ pimcore_url({'type': 'pre-ordini'},'account-order-list',true,true) }}\">Preordini</a></li>
<li><a href=\"{{ pimcore_url({'type': 'booked'},'account-order-list',true,true) }}\">Prenotazioni</a></li>
<li><a href=\"{{ pimcore_url({'type': 'draft'},'account-order-list',true,true) }}\">Bozze ordini</a></li>
{# <li><a href=\"\"><strong>Note</strong></a></li> #}
</ul>
</li>
<li>
<a style=\"color:#fff\"><strong>B2C</strong></a>
<ul>
{# <li><a href=\"\">Preventivi ricevuti</a></li>
<li><a href=\"\">Ordini ricevuti</a></li>
<li><a href=\"\">Contatti ricevuti</a></li>
<li><a href=\"\">Resi</a></li> #}
</ul>
</li>
{# <li><a href=\"\">Anagrafica</a></li>
<li><a href=\"\">Rubrica indirizzi</a></li> #}
</ul>
</li>
{% endif %}
</ul>
</nav><!-- End .mobile-nav -->
{# <form class=\"search-wrapper mb-2\" action=\"#\">
<input type=\"text\" class=\"form-control mb-0\" placeholder=\"Search...\" required />
<button class=\"btn icon-search text-white bg-transparent p-0\" type=\"submit\"></button>
</form> #}
</div><!-- End .mobile-menu-wrapper -->
</div><!-- End .mobile-menu-container -->
<div class=\"modal fade\" id=\"checkModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"checkModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-body\">
</div>
<div class=\"modal-footer\">
<div class=\"inner\">
<button type=\"button\" class=\"btn btn-cancel\" data-dismiss=\"modal\">Ok</button>
</div>
</div>
</div>
</div>
</div>
<div class=\"modal fade\" id=\"chooseModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"chooseModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-body\">
<p></p>
</div>
<div class=\"modal-footer\">
<div class=\"inner\">
<button type=\"button\" class=\"btn btn-success\" data-dismiss=\"modal\">Sì</button>
<button type=\"button\" class=\"btn btn-cancel\" data-dismiss=\"modal\">No</button>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% block headscripts deferred %}
\t {{ pimcore_head_script() }}
\t{% endblock %}
\t{% block inlinescripts deferred %}
\t {{ pimcore_inline_script() }}
\t{% endblock %}
<!-- Plugins JS File -->
<script src=\"/mecstore/assets/js/jquery.min.js\"></script>
<script src=\"/mecstore/assets/js/bootstrap.bundle.min.js\"></script>
<script src=\"/mecstore/assets/js/plugins.min.js\"></script>
<script src=\"/mecstore/assets/js/optional/isotope.pkgd.min.js\"></script>
<script src=\"/mecstore/assets/js/jquery.appear.min.js\"></script>
<script src=\"/mecstore/assets/js/jquery.plugin.min.js\"></script>
<script src=\"/mecstore/assets/js/jquery.countdown.min.js\"></script>
<script src=\"/mecstore/assets/js/nouislider.min.js\"></script>
<script src=\"/mecstore/assets/js/custom.js\"></script>
<!-- Main JS File -->
<script src=\"/mecstore/assets/js/select2.min.js\"></script>
<script src=\"/mecstore/b2c/assets/js/main.js\"></script>
</body>
</html>", "layouts/layout_b2c.html.twig", "/home/ubuntu/mecstore/website/templates/layouts/layout_b2c.html.twig");
}
private $deferred;
}