var/cache/dev/twig/60/60ddb5660d3fbcc76c64919c417102be539040b7190f29bd8737b84fd56405e0.php line 315

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* layouts/layout_b2c.html.twig */
  14. class __TwigTemplate_9684b28505fe2f4cbb54a69b0e0ea67840c0157aa2ceebcb20cc5748f2ea6edd extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'layout_head_meta' => [$this'block_layout_head_meta'],
  25.             'head_stylesheets' => [$this'block_head_stylesheets'],
  26.             'headscripts' => [$this'block_headscripts'],
  27.             'inlinescripts' => [$this'block_inlinescripts'],
  28.         ];
  29.         $this->deferred $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  35.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layouts/layout_b2c.html.twig"));
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layouts/layout_b2c.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layouts/layout_b2c.html.twig"));
  40.         // line 1
  41.         echo "<!DOCTYPE html>
  42. <html lang=\"";
  43.         // line 2
  44.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse2), "locale", [], "any"falsefalsefalse2), "html"nulltrue);
  45.         echo "\">
  46. <head>
  47.     <meta name=\"google-site-verification\" content=\"kGY5yRmESNV2q-G_dgN3iC98E6vRbJtj3vv0tS5pF_U\" />
  48.     
  49.     <meta charset=\"UTF-8\">
  50.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  51.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  52.     ";
  53.         // line 12
  54.         echo "    ";
  55.         $this->displayBlock('layout_head_meta'$context$blocks);
  56.         // line 21
  57.         echo "
  58.     <!-- Favicon -->
  59.     <link rel=\"icon\" type=\"image/x-icon\" href=\"/mecstore/b2c/assets/images/icons/icon-mecstore.ico\">
  60.     <!-- cookie banner -->
  61.     <script id=\"IusCookie\" src=https://js.cookietagmanager.net/www_mecstore_it_1004310691/iuscookie.min.js type=\"text/javascript\"></script>
  62.     <script>
  63.         WebFontConfig = {
  64.             google: { families: ['Open+Sans:300,400,600,700,800', 'Poppins:200,300,400,500,600,700,800', 'Oswald:300,400,500,600,700,800'] }
  65.         };
  66.         (function (d) {
  67.             var wf = d.createElement('script'), s = d.scripts[0];
  68.             wf.src = '/mecstore/b2c/assets/js/webfont.js';
  69.             wf.async = true;
  70.             s.parentNode.insertBefore(wf, s);
  71.         })(document);
  72.     </script>
  73.     <!-- Plugins CSS File -->
  74.     <link rel=\"stylesheet\" href=\"/mecstore/b2c/assets/css/bootstrap.min.css\">
  75.     <link rel=\"stylesheet\" href=\"/mecstore/b2c/assets/css/animate.min.css\">
  76.     <!-- Main CSS File -->
  77.     <link rel=\"stylesheet\" href=\"/mecstore/b2c/assets/css/demo21.min.css\">
  78.     <link rel=\"stylesheet\" type=\"text/css\" href=\"/mecstore/b2c/assets/vendor/fontawesome-free/css/all.min.css\">
  79.     ";
  80.         // line 47
  81.         $context["classtoset"] = "home";
  82.         // line 48
  83.         echo "     ";
  84.         if (((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'48$this->source); })()) != true)) {
  85.             echo "    
  86.         ";
  87.             // line 49
  88.             $context["currentPath"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse49), "attributes", [], "any"falsefalsefalse49), "get", ["_route"], "method"falsefalsefalse49), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 50
  89. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'50$this->source); })()), "request", [], "any"falsefalsefalse50), "attributes", [], "any"falsefalsefalse50), "get", ["_route_params"], "method"falsefalsefalse50));
  90.             // line 51
  91.             echo "        
  92.         ";
  93.             // line 52
  94.             if (((isset($context["currentPath"]) || array_key_exists("currentPath"$context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.'52$this->source); })()) == "/collaborations")) {
  95.                 // line 53
  96.                 echo "            ";
  97.                 $context["classtoset"] = "collaborations";
  98.                 // line 54
  99.                 echo "        ";
  100.             } 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")) {
  101.                 // line 55
  102.                 echo "            ";
  103.                 $context["classtoset"] = "aboutus";
  104.                 // line 56
  105.                 echo "        ";
  106.             } 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")) {
  107.                 // line 57
  108.                 echo "            ";
  109.                 $context["classtoset"] = "workwithus";
  110.                 // line 58
  111.                 echo "        ";
  112.             } 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")) {
  113.                 // line 59
  114.                 echo "            ";
  115.                 $context["classtoset"] = "workwithus";
  116.                 // line 60
  117.                 echo "        ";
  118.             } 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")) {
  119.                 // line 61
  120.                 echo "            ";
  121.                 $context["classtoset"] = "shop-detail-page";
  122.                 // line 62
  123.                 echo "        ";
  124.             } 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")) {
  125.                 // line 63
  126.                 echo "            ";
  127.                 $context["classtoset"] = "contactus";
  128.                 // line 64
  129.                 echo "        ";
  130.             } elseif (((isset($context["currentPath"]) || array_key_exists("currentPath"$context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.'64$this->source); })()) == "/catalogues")) {
  131.                 // line 65
  132.                 echo "            ";
  133.                 $context["classtoset"] = "catalogues";
  134.                 // line 66
  135.                 echo "        ";
  136.             }
  137.             echo "   
  138.         
  139.         
  140.     ";
  141.         }
  142.         // line 71
  143.         echo "\t";
  144.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'71$this->source); })())) {
  145.             // line 72
  146.             echo "        <link rel=\"stylesheet\" href=\"/static/css/editmode.css\">        
  147.     ";
  148.         }
  149.         // line 74
  150.         echo "
  151.     ";
  152.         // line 75
  153.         ob_start();
  154.         // line 76
  155.         echo "        ";
  156.         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); })()))) {
  157.             // line 77
  158.             echo "            ";
  159.             $context["document"] = Pimcore\Model\Document::getById(3);
  160.             // line 78
  161.             echo "        ";
  162.         }
  163.         // line 79
  164.         echo "
  165.         ";
  166.         // line 80
  167.         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")) {
  168.             // line 81
  169.             echo "            ";
  170.             // line 82
  171.             echo "            ";
  172.             $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"falsefalsefalse82);
  173.             // line 83
  174.             echo "        ";
  175.         }
  176.         // line 84
  177.         echo "
  178.         ";
  179.         // line 85
  180.         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")) {
  181.             // line 86
  182.             echo "            ";
  183.             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"falsefalsefalse86))) {
  184.                 // line 87
  185.                 echo "                ";
  186.                 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"falsefalsefalse87)], "method"falsefalsefalse87);
  187.                 // line 88
  188.                 echo "            ";
  189.             }
  190.             // line 89
  191.             echo "        ";
  192.         }
  193.         // line 90
  194.         echo "
  195.         ";
  196.         // line 91
  197.         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"falsefalsefalse91))) {
  198.             // line 92
  199.             echo "            ";
  200.             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"falsefalsefalse92)], "method"falsefalsefalse92);
  201.             // line 93
  202.             echo "        ";
  203.         }
  204.         // line 94
  205.         echo "
  206.         ";
  207.         // line 97
  208.         echo "        ";
  209.         $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); })()));
  210.         echo "   
  211.         ";
  212.         // line 98
  213.         $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"falsefalsefalse98);
  214.         echo "    
  215.         ";
  216.         // line 100
  217.         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"falsefalsefalse100))) {
  218.             echo "  
  219.             ";
  220.             // line 101
  221.             if ((twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse101), "usertype", [], "any"falsefalsefalse101) != "customer")) {
  222.                 // line 102
  223.                 echo "                <script>window.location=\"/account/logout\";</script>
  224.             ";
  225.             }
  226.             // line 104
  227.             echo "        ";
  228.         }
  229.         // line 105
  230.         echo "       
  231.     ";
  232.         $___internal_parse_0_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  233.         // line 75
  234.         echo twig_spaceless($___internal_parse_0_);
  235.         // line 106
  236.         echo "   
  237.     ";
  238.         // line 108
  239.         $this->displayBlock('head_stylesheets'$context$blocks);
  240.         // line 111
  241.         echo "
  242.     ";
  243.         // line 112
  244.         $context["mecstore_lang"] = twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse112), "locale", [], "any"falsefalsefalse112);
  245.         // line 113
  246.         echo "    <script>
  247.         var HOST_URL = \"https://mecstore.it.local\";
  248.     </script>\t
  249. </head>
  250. <body>
  251.     <script type=\"text/javascript\">
  252.     (function(window, document, dataLayerName, id) {
  253.     window[dataLayerName]=window[dataLayerName]||[],window[dataLayerName].push({start:(new Date).getTime(),event:\"stg.start\"});var scripts=document.getElementsByTagName('script')[0],tags=document.createElement('script');
  254.     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=/\"}
  255.     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);
  256.     var qP=[];dataLayerName!==\"dataLayer\"&&qP.push(\"data_layer_name=\"+dataLayerName),isStgDebug&&qP.push(\"stg_debug\");var qPString=qP.length>0?(\"?\"+qP.join(\"&\")):\"\";
  257.     tags.async=!0,tags.src=\"https://mecstore.containers.piwik.pro/\"+id+\".js\"+qPString,scripts.parentNode.insertBefore(tags,scripts);
  258.     !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\"]);
  259.     })(window, document, 'dataLayer', '4e702d43-d771-464f-90e7-572c5b7cd426');
  260.     </script>
  261.     <div class=\"page-wrapper ";
  262.         // line 130
  263.         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"nulltrue);
  264.         echo "\">
  265.     ";
  266.         // line 131
  267.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'131$this->source); })())) {
  268.         } else {
  269.             // line 133
  270.             echo "    <div class=\"lang-menu gap-20 d-flex justify-content-center pt-20 mt-20 mw-70 mx-auto w-100\">
  271.         ";
  272.             // line 134
  273.             $context['_parent'] = $context;
  274.             $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); })())));
  275.             foreach ($context['_seq'] as $context["key"] => $context["lang"]) {
  276.                 // line 135
  277.                 echo "            <a class=\"btn\" href=\"";
  278.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["lang"], "link", [], "any"falsefalsefalse135), "html"nulltrue);
  279.                 echo "\">";
  280.                 echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->envtwig_get_attribute($this->env$this->source$context["lang"], "text", [], "any"falsefalsefalse135)), "html"nulltrue);
  281.                 echo "</a>
  282.         ";
  283.             }
  284.             $_parent $context['_parent'];
  285.             unset($context['_seq'], $context['_iterated'], $context['key'], $context['lang'], $context['_parent'], $context['loop']);
  286.             $context array_intersect_key($context$_parent) + $_parent;
  287.             // line 137
  288.             echo "    </div>
  289.         ";
  290.             // line 138
  291.             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")) {
  292.                 // line 139
  293.                 echo "            ";
  294.                 echo $this->env->getFunction('pimcore_inc')->getCallable()("/b2c/shared/header_b2c");
  295.                 echo "
  296.         ";
  297.             } else {
  298.                 // line 141
  299.                 echo "            ";
  300.                 echo $this->env->getFunction('pimcore_inc')->getCallable()("/b2c/en/shared/header_b2c");
  301.                 echo "
  302.         ";
  303.             }
  304.             // line 143
  305.             echo "
  306. ";
  307.         }
  308.         // line 145
  309.         echo "    <main class=\"main\">        
  310.         ";
  311.         // line 146
  312.         $context['_parent'] = $context;
  313.         $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"falsefalsefalse146));
  314.         foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
  315.             echo "                     
  316.             ";
  317.             // line 147
  318.             $context['_parent'] = $context;
  319.             $context['_seq'] = twig_ensure_traversable($context["messages"]);
  320.             foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  321.                 echo "               
  322.                 <div class=\"alert alert-";
  323.                 // line 148
  324.                 echo twig_escape_filter($this->env$context["label"], "html"nulltrue);
  325.                 echo " alert-dismissable\">
  326.                     <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>
  327.                     ";
  328.                 // line 150
  329.                 if (($context["message"] == "Grazie per averci contattato! Vi risponderemo a breve")) {
  330.                     // line 151
  331.                     echo "                    <script>                    
  332.                         window.addEventListener('uberflip.ctaFormSubmitSuccess', (ctaId, ctaData, ctaName) => {
  333.                             window.lintrk('track', { conversion_id: 11496817 });
  334.                         });
  335.                     </script>
  336.                     ";
  337.                 }
  338.                 // line 157
  339.                 echo "                    ";
  340.                 echo twig_escape_filter($this->env$context["message"], "html"nulltrue);
  341.                 echo "
  342.                 </div>
  343.             ";
  344.             }
  345.             $_parent $context['_parent'];
  346.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  347.             $context array_intersect_key($context$_parent) + $_parent;
  348.             // line 160
  349.             echo "        ";
  350.         }
  351.         $_parent $context['_parent'];
  352.         unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
  353.         $context array_intersect_key($context$_parent) + $_parent;
  354.         // line 161
  355.         echo "        ";
  356.         $this->displayBlock("content"$context$blocks);
  357.         echo "
  358.     </main>
  359.         ";
  360.         // line 165
  361.         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")) {
  362.             // line 166
  363.             echo "            ";
  364.             echo $this->env->getFunction('pimcore_inc')->getCallable()("/b2c/shared/footer_b2c");
  365.             echo "
  366.         ";
  367.         } else {
  368.             // line 168
  369.             echo "            ";
  370.             echo $this->env->getFunction('pimcore_inc')->getCallable()("/b2c/en/shared/footer_b2c");
  371.             echo "
  372.         ";
  373.         }
  374.         // line 170
  375.         echo "    </div><!-- End .page-wrapper -->
  376.     <div class=\"loading-overlay\">
  377.         <div class=\"bounce-loader\">
  378.             <div class=\"bounce1\"></div>
  379.             <div class=\"bounce2\"></div>
  380.             <div class=\"bounce3\"></div>
  381.         </div>
  382.     </div>
  383.     <div class=\"chat-bot\">
  384.         <i class=\"icon-chat\"></i>
  385.     </div>
  386.     <div class=\"loading-overlay\">
  387.         <div class=\"bounce-loader\">
  388.             <div class=\"bounce1\"></div>
  389.             <div class=\"bounce2\"></div>
  390.             <div class=\"bounce3\"></div>
  391.         </div>
  392.     </div>
  393. ";
  394.         // line 191
  395.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'191$this->source); })())) {
  396.         } else {
  397.             // line 193
  398.             echo "    <div class=\"mobile-menu-overlay\"></div><!-- End .mobil-menu-overlay -->
  399.     <div class=\"mobile-menu-container\">
  400.         <div class=\"mobile-menu-wrapper\">
  401.             <span class=\"mobile-menu-close\"><i class=\"fa fa-times\"></i></span>
  402.             <nav class=\"mobile-nav\">
  403.                 <!-- menu header button -->
  404.                 <ul class=\"mobile-menu\">
  405.                     <li><a href=\"/\">Home</a></li>
  406.                     ";
  407.             // line 238
  408.             echo "                    <li class=\"mr-xl-5 mr-4\" >
  409.                         <a class=\"page-index\">catalogo</a>          
  410.                         <ul class=\"submenu\">                         
  411.                         ";
  412.             // line 241
  413.             $context["count"] = 0;
  414.             // line 242
  415.             echo "                        ";
  416.             $context['_parent'] = $context;
  417.             $context['_seq'] = twig_ensure_traversable($this->extensions['App\Twig\Extension\CategoryFilterExtension']->getCategories());
  418.             foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
  419.                 echo "  
  420.                                 <li><a href=\"";
  421.                 // line 243
  422.                 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"falsefalsefalse243), "category" => twig_get_attribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse243)]), "html"nulltrue);
  423.                 echo "\">";
  424.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "Name", [], "any"falsefalsefalse243), "html"nulltrue);
  425.                 echo "</a></li>
  426.                         ";
  427.                 // line 244
  428.                 $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);
  429.                 echo "                                        
  430.                         ";
  431.             }
  432.             $_parent $context['_parent'];
  433.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
  434.             $context array_intersect_key($context$_parent) + $_parent;
  435.             // line 245
  436.             echo "  
  437.                         </ul>              
  438.                     </li>
  439.                     <li class=\"mr-xl-5 mr-4\" >
  440.                         <a class=\"page-index\">FORNITORI</a>  
  441.                         <ul class=\"submenu\"> 
  442.                         ";
  443.             // line 251
  444.             $context["count"] = 0;
  445.             // line 252
  446.             echo "                        ";
  447.             $context["brands"] = $this->extensions['App\Twig\Extension\BrandFilterExtension']->getBrands();
  448.             // line 253
  449.             echo "                        ";
  450.             $context['_parent'] = $context;
  451.             $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); })()));
  452.             foreach ($context['_seq'] as $context["_key"] => $context["brand"]) {
  453.                 echo 
  454.                                 <li><a href=\"";
  455.                 // line 254
  456.                 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"falsefalsefalse254), "brand" => twig_get_attribute($this->env$this->source$context["brand"], "id", [], "any"falsefalsefalse254)]), "html"nulltrue);
  457.                 echo "\">";
  458.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["brand"], "Name", [], "any"falsefalsefalse254), "html"nulltrue);
  459.                 echo "</a></li>
  460.                         ";
  461.                 // line 255
  462.                 $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);
  463.                 echo "                           
  464.                         ";
  465.             }
  466.             $_parent $context['_parent'];
  467.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['brand'], $context['_parent'], $context['loop']);
  468.             $context array_intersect_key($context$_parent) + $_parent;
  469.             // line 256
  470.             echo 
  471.                         </ul> 
  472.                     </li>
  473.                      <li class=\"mr-xl-5 mr-4\" >
  474.                         <a href=\"/about-us\" class=\"page-index\" data-name=\" \">il gruppo</a>
  475.                     </li>
  476.                     <li class=\"mr-xl-5 mr-4\" >
  477.                         <a href=\"/b2c_shops\" class=\"page-index\" data-name=\" \">punti vendita</a>
  478.                     </li>
  479.                     <li class=\"mr-xl-5 mr-4\" >
  480.                         <a href=\"/b2c_news\" class=\"page-index\" data-name=\"app-news.php\">News</a>
  481.                     </li>
  482.                     <li class=\"mr-xl-5 mr-4\" >
  483.                         <a href=\"/catalogues\" class=\"page-index\" data-name=\" \">Download</a>
  484.                     </li>
  485.                     <li class=\"mr-xl-5 mr-4\" >
  486.                         <a href=\"#\" class=\"page-index\" data-name=\" \">contattaci</a>
  487.                         <ul>
  488.                             <li><a href=\"/contact-us\" class=\"page-index\" data-name=\" \">richiesta informazioni</a></li>
  489.                             <li><a href=\"/collaborations\">collaborazioni</a></li>
  490.                             <li><a href=\"/work-with-us\">lavora con noi</a></li>
  491.                         </ul>
  492.                     </li>
  493.                     ";
  494.             // line 279
  495.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  496.                 // line 280
  497.                 echo "                    <li class=\"mr-xl-5 mr-4\">
  498.                         <a style=\"color:#fff\">my mecstore</a>
  499.                         <ul>
  500.                             <li>
  501.                                 <a style=\"color:#fff\"><strong>B2B</strong></a>
  502.                                 <ul> 
  503.                                     <li><a href=\"";
  504.                 // line 286
  505.                 echo twig_escape_filter($this->env$this->env->getFunction('pimcore_url')->getCallable()(["type" => "confirm"], "account-order-list"truetrue), "html"nulltrue);
  506.                 echo "\">Ordini inviati</a></li>
  507.                                     <li><a href=\"";
  508.                 // line 287
  509.                 echo twig_escape_filter($this->env$this->env->getFunction('pimcore_url')->getCallable()(["type" => "pre-ordini"], "account-order-list"truetrue), "html"nulltrue);
  510.                 echo "\">Preordini</a></li>
  511.                                     <li><a href=\"";
  512.                 // line 288
  513.                 echo twig_escape_filter($this->env$this->env->getFunction('pimcore_url')->getCallable()(["type" => "booked"], "account-order-list"truetrue), "html"nulltrue);
  514.                 echo "\">Prenotazioni</a></li>
  515.                                     <li><a href=\"";
  516.                 // line 289
  517.                 echo twig_escape_filter($this->env$this->env->getFunction('pimcore_url')->getCallable()(["type" => "draft"], "account-order-list"truetrue), "html"nulltrue);
  518.                 echo "\">Bozze ordini</a></li>
  519.                                     ";
  520.                 // line 291
  521.                 echo "                                </ul> 
  522.                             </li>
  523.                             <li>
  524.                                 <a style=\"color:#fff\"><strong>B2C</strong></a>
  525.                                 <ul> 
  526.                                     ";
  527.                 // line 300
  528.                 echo "                                </ul> 
  529.                             </li> 
  530.                             ";
  531.                 // line 304
  532.                 echo "                        </ul>
  533.                     </li>
  534.                     ";
  535.             }
  536.             // line 307
  537.             echo "                </ul>
  538.             </nav><!-- End .mobile-nav -->
  539.            ";
  540.             // line 314
  541.             echo "
  542.         </div><!-- End .mobile-menu-wrapper -->
  543.     </div><!-- End .mobile-menu-container -->
  544.     <div class=\"modal fade\" id=\"checkModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"checkModalLabel\" aria-hidden=\"true\">
  545.         <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  546.             <div class=\"modal-content\">
  547.             <div class=\"modal-body\">
  548.                 
  549.             </div>
  550.             <div class=\"modal-footer\">
  551.                 <div class=\"inner\">
  552.                     <button type=\"button\" class=\"btn btn-cancel\" data-dismiss=\"modal\">Ok</button>
  553.                 </div>
  554.             </div>
  555.             </div>
  556.         </div>
  557.     </div>
  558.     <div class=\"modal fade\" id=\"chooseModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"chooseModalLabel\" aria-hidden=\"true\">
  559.         <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  560.             <div class=\"modal-content\">
  561.             <div class=\"modal-body\">
  562.                 <p></p>
  563.             </div>
  564.             <div class=\"modal-footer\">
  565.                 <div class=\"inner\">
  566.                     <button type=\"button\" class=\"btn btn-success\" data-dismiss=\"modal\">Sì</button>
  567.                     <button type=\"button\" class=\"btn btn-cancel\" data-dismiss=\"modal\">No</button>
  568.                 </div>
  569.             </div>
  570.             </div>
  571.         </div>
  572.     </div>
  573. ";
  574.         }
  575.         // line 351
  576.         echo "
  577.     ";
  578.         // line 352
  579.         $this->displayBlock('headscripts'$context$blocks);
  580.         // line 355
  581.         echo "
  582. \t";
  583.         // line 356
  584.         $this->displayBlock('inlinescripts'$context$blocks);
  585.         // line 359
  586.         echo "    <!-- Plugins JS File -->
  587.     <script src=\"/mecstore/assets/js/jquery.min.js\"></script>
  588.     <script src=\"/mecstore/assets/js/bootstrap.bundle.min.js\"></script>
  589.     <script src=\"/mecstore/assets/js/plugins.min.js\"></script>
  590.     <script src=\"/mecstore/assets/js/optional/isotope.pkgd.min.js\"></script>
  591.     <script src=\"/mecstore/assets/js/jquery.appear.min.js\"></script>
  592.     <script src=\"/mecstore/assets/js/jquery.plugin.min.js\"></script>
  593.     <script src=\"/mecstore/assets/js/jquery.countdown.min.js\"></script>
  594.     <script src=\"/mecstore/assets/js/nouislider.min.js\"></script>
  595.     <script src=\"/mecstore/assets/js/custom.js\"></script>
  596.     <!-- Main JS File -->
  597.     <script src=\"/mecstore/assets/js/select2.min.js\"></script>
  598.     <script src=\"/mecstore/b2c/assets/js/main.js\"></script>       
  599. </body>
  600. </html>";
  601.         
  602.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  603.         
  604.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  605.         
  606.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  607.         $this->deferred->resolve($this$context$blocks);
  608.     }
  609.     public function block_layout_head_meta($context, array $blocks = [])
  610.     {
  611.         $this->deferred->defer($this'layout_head_meta');
  612.     }
  613.     // line 12
  614.     public function block_layout_head_meta_deferred($context, array $blocks = [])
  615.     {
  616.         $macros $this->macros;
  617.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  618.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  619.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  620.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  621.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  622.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  623.         // line 13
  624.         echo "        ";
  625.         echo $this->env->getFunction('pimcore_head_title')->getCallable()();
  626.         echo "
  627.         ";
  628.         // line 14
  629.         echo $this->env->getFunction('pimcore_head_meta')->getCallable()();
  630.         echo "
  631.         ";
  632.         // line 16
  633.         if (twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_placeholder')->getCallable()("canonical"), "count", [], "method"falsefalsefalse16)) {
  634.             // line 17
  635.             echo "            <link rel=\"canonical\" href=\"";
  636.             echo $this->env->getFunction('pimcore_placeholder')->getCallable()("canonical");
  637.             echo "\"/>
  638.         ";
  639.         }
  640.         // line 19
  641.         echo "
  642.     ";
  643.         
  644.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  645.         
  646.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  647.         
  648.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  649.         $this->deferred->resolve($this$context$blocks);
  650.     }
  651.     public function block_head_stylesheets($context, array $blocks = [])
  652.     {
  653.         $this->deferred->defer($this'head_stylesheets');
  654.     }
  655.     // line 108
  656.     public function block_head_stylesheets_deferred($context, array $blocks = [])
  657.     {
  658.         $macros $this->macros;
  659.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  660.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  661.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  662.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  663.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  664.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  665.         // line 109
  666.         echo "        ";
  667.         echo $this->env->getFunction('pimcore_head_link')->getCallable()();
  668.         echo "
  669.     ";
  670.         
  671.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  672.         
  673.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  674.         
  675.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  676.         $this->deferred->resolve($this$context$blocks);
  677.     }
  678.     public function block_headscripts($context, array $blocks = [])
  679.     {
  680.         $this->deferred->defer($this'headscripts');
  681.     }
  682.     // line 352
  683.     public function block_headscripts_deferred($context, array $blocks = [])
  684.     {
  685.         $macros $this->macros;
  686.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  687.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  688.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  689.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  690.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  691.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  692.         // line 353
  693.         echo "\t    ";
  694.         echo $this->env->getFunction('pimcore_head_script')->getCallable()();
  695.         echo "
  696. \t";
  697.         
  698.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  699.         
  700.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  701.         
  702.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  703.         $this->deferred->resolve($this$context$blocks);
  704.     }
  705.     public function block_inlinescripts($context, array $blocks = [])
  706.     {
  707.         $this->deferred->defer($this'inlinescripts');
  708.     }
  709.     // line 356
  710.     public function block_inlinescripts_deferred($context, array $blocks = [])
  711.     {
  712.         $macros $this->macros;
  713.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  714.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  715.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  716.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  717.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  718.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  719.         // line 357
  720.         echo "\t    ";
  721.         echo $this->env->getFunction('pimcore_inline_script')->getCallable()();
  722.         echo "
  723. \t";
  724.         
  725.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  726.         
  727.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  728.         
  729.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  730.         $this->deferred->resolve($this$context$blocks);
  731.     }
  732.     public function getTemplateName()
  733.     {
  734.         return "layouts/layout_b2c.html.twig";
  735.     }
  736.     public function isTraitable()
  737.     {
  738.         return false;
  739.     }
  740.     public function getDebugInfo()
  741.     {
  742.         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,);
  743.     }
  744.     public function getSourceContext()
  745.     {
  746.         return new Source("<!DOCTYPE html>
  747. <html lang=\"{{ app.request.locale }}\">
  748. <head>
  749.     <meta name=\"google-site-verification\" content=\"kGY5yRmESNV2q-G_dgN3iC98E6vRbJtj3vv0tS5pF_U\" />
  750.     
  751.     <meta charset=\"UTF-8\">
  752.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  753.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  754.     {# we're using the deferred extension here to make sure this block is rendered after all helper calls #}
  755.     {% block layout_head_meta deferred %}
  756.         {{ pimcore_head_title() }}
  757.         {{ pimcore_head_meta() }}
  758.         {% if pimcore_placeholder('canonical').count() %}
  759.             <link rel=\"canonical\" href=\"{{ pimcore_placeholder('canonical') }}\"/>
  760.         {% endif %}
  761.     {% endblock %}
  762.     <!-- Favicon -->
  763.     <link rel=\"icon\" type=\"image/x-icon\" href=\"/mecstore/b2c/assets/images/icons/icon-mecstore.ico\">
  764.     <!-- cookie banner -->
  765.     <script id=\"IusCookie\" src=https://js.cookietagmanager.net/www_mecstore_it_1004310691/iuscookie.min.js type=\"text/javascript\"></script>
  766.     <script>
  767.         WebFontConfig = {
  768.             google: { families: ['Open+Sans:300,400,600,700,800', 'Poppins:200,300,400,500,600,700,800', 'Oswald:300,400,500,600,700,800'] }
  769.         };
  770.         (function (d) {
  771.             var wf = d.createElement('script'), s = d.scripts[0];
  772.             wf.src = '/mecstore/b2c/assets/js/webfont.js';
  773.             wf.async = true;
  774.             s.parentNode.insertBefore(wf, s);
  775.         })(document);
  776.     </script>
  777.     <!-- Plugins CSS File -->
  778.     <link rel=\"stylesheet\" href=\"/mecstore/b2c/assets/css/bootstrap.min.css\">
  779.     <link rel=\"stylesheet\" href=\"/mecstore/b2c/assets/css/animate.min.css\">
  780.     <!-- Main CSS File -->
  781.     <link rel=\"stylesheet\" href=\"/mecstore/b2c/assets/css/demo21.min.css\">
  782.     <link rel=\"stylesheet\" type=\"text/css\" href=\"/mecstore/b2c/assets/vendor/fontawesome-free/css/all.min.css\">
  783.     {% set classtoset = 'home' %}
  784.      {% if editmode != true %}    
  785.         {% set currentPath = path(app.request.attributes.get('_route'),
  786.                         app.request.attributes.get('_route_params')) %}
  787.         
  788.         {% if currentPath == '/collaborations' %}
  789.             {% set classtoset = 'collaborations' %}
  790.         {% elseif currentPath == '/about-us' %}
  791.             {% set classtoset = 'aboutus' %}
  792.         {% elseif currentPath == '/work-with-us' %}
  793.             {% set classtoset = 'workwithus' %}
  794.         {% elseif currentPath == '/en/work-with-us' %}
  795.             {% set classtoset = 'workwithus' %}
  796.         {% elseif currentPath == '/b2c_shops' %}
  797.             {% set classtoset = 'shop-detail-page' %}
  798.         {% elseif currentPath == '/contact-us' %}
  799.             {% set classtoset = 'contactus' %}
  800.         {% elseif currentPath == '/catalogues' %}
  801.             {% set classtoset = 'catalogues' %}
  802.         {% endif %}   
  803.         
  804.         
  805.     {% endif %}
  806. \t{% if editmode %}
  807.         <link rel=\"stylesheet\" href=\"/static/css/editmode.css\">        
  808.     {% endif %}
  809.     {% apply spaceless %}
  810.         {% if not document is defined or not document %}
  811.             {% set document = pimcore_document(3) %}
  812.         {% endif %}
  813.         {% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Link') %}
  814.             {# @var document \\Pimcore\\Model\\Document\\Link #}
  815.             {% set document = document.getObject() %}
  816.         {% endif %}
  817.         {% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Page') %}
  818.             {% if document.getTitle() is not empty %}
  819.                 {% do pimcore_head_title().set(document.getTitle()) %}
  820.             {% endif %}
  821.         {% endif %}
  822.         {% if document.getDescription() is not empty %}
  823.             {% do pimcore_head_meta().setDescription(document.getDescription()) %}
  824.         {% endif %}
  825.         {#{% do pimcore_head_title().append('ALEA - Ecommerce Solutions') %}
  826.         {% do pimcore_head_title().setSeparator(' : ') %}#}
  827.         {% set isPortal = ((isPortal is defined) and isPortal) %}   
  828.         {% set wesbiteName = document.getProperty('website_name') %}    
  829.         {% if wesbiteName == 'b2c' and app.user %}  
  830.             {% if app.user.usertype != 'customer' %}
  831.                 <script>window.location=\"/account/logout\";</script>
  832.             {% endif %}
  833.         {% endif %}
  834.        
  835.     {% endapply %}   
  836.     {% block head_stylesheets deferred %}
  837.         {{ pimcore_head_link() }}
  838.     {% endblock %}
  839.     {% set mecstore_lang = app.request.locale %}
  840.     <script>
  841.         var HOST_URL = \"https://mecstore.it.local\";
  842.     </script>\t
  843. </head>
  844. <body>
  845.     <script type=\"text/javascript\">
  846.     (function(window, document, dataLayerName, id) {
  847.     window[dataLayerName]=window[dataLayerName]||[],window[dataLayerName].push({start:(new Date).getTime(),event:\"stg.start\"});var scripts=document.getElementsByTagName('script')[0],tags=document.createElement('script');
  848.     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=/\"}
  849.     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);
  850.     var qP=[];dataLayerName!==\"dataLayer\"&&qP.push(\"data_layer_name=\"+dataLayerName),isStgDebug&&qP.push(\"stg_debug\");var qPString=qP.length>0?(\"?\"+qP.join(\"&\")):\"\";
  851.     tags.async=!0,tags.src=\"https://mecstore.containers.piwik.pro/\"+id+\".js\"+qPString,scripts.parentNode.insertBefore(tags,scripts);
  852.     !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\"]);
  853.     })(window, document, 'dataLayer', '4e702d43-d771-464f-90e7-572c5b7cd426');
  854.     </script>
  855.     <div class=\"page-wrapper {{classtoset}}\">
  856.     {% if editmode %}
  857. {% else %}
  858.     <div class=\"lang-menu gap-20 d-flex justify-content-center pt-20 mt-20 mw-70 mx-auto w-100\">
  859.         {% for key, lang in get_localized_links(document) %}
  860.             <a class=\"btn\" href=\"{{ lang.link }}\">{{ lang.text|capitalize }}</a>
  861.         {% endfor %}
  862.     </div>
  863.         {% if mecstore_lang == 'it_IT' %}
  864.             {{ pimcore_inc('/b2c/shared/header_b2c') }}
  865.         {% else %}
  866.             {{ pimcore_inc('/b2c/en/shared/header_b2c') }}
  867.         {% endif %}
  868. {% endif %}
  869.     <main class=\"main\">        
  870.         {% for label, messages in app.flashes %}                     
  871.             {% for message in messages %}               
  872.                 <div class=\"alert alert-{{ label }} alert-dismissable\">
  873.                     <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>
  874.                     {% if message == 'Grazie per averci contattato! Vi risponderemo a breve' %}
  875.                     <script>                    
  876.                         window.addEventListener('uberflip.ctaFormSubmitSuccess', (ctaId, ctaData, ctaName) => {
  877.                             window.lintrk('track', { conversion_id: 11496817 });
  878.                         });
  879.                     </script>
  880.                     {% endif %}
  881.                     {{message}}
  882.                 </div>
  883.             {% endfor %}
  884.         {% endfor %}
  885.         {{ block('content') }}
  886.     </main>
  887.         {% if mecstore_lang == 'it_IT' %}
  888.             {{ pimcore_inc('/b2c/shared/footer_b2c') }}
  889.         {% else %}
  890.             {{ pimcore_inc('/b2c/en/shared/footer_b2c') }}
  891.         {% endif %}
  892.     </div><!-- End .page-wrapper -->
  893.     <div class=\"loading-overlay\">
  894.         <div class=\"bounce-loader\">
  895.             <div class=\"bounce1\"></div>
  896.             <div class=\"bounce2\"></div>
  897.             <div class=\"bounce3\"></div>
  898.         </div>
  899.     </div>
  900.     <div class=\"chat-bot\">
  901.         <i class=\"icon-chat\"></i>
  902.     </div>
  903.     <div class=\"loading-overlay\">
  904.         <div class=\"bounce-loader\">
  905.             <div class=\"bounce1\"></div>
  906.             <div class=\"bounce2\"></div>
  907.             <div class=\"bounce3\"></div>
  908.         </div>
  909.     </div>
  910. {% if editmode %}
  911. {% else %}
  912.     <div class=\"mobile-menu-overlay\"></div><!-- End .mobil-menu-overlay -->
  913.     <div class=\"mobile-menu-container\">
  914.         <div class=\"mobile-menu-wrapper\">
  915.             <span class=\"mobile-menu-close\"><i class=\"fa fa-times\"></i></span>
  916.             <nav class=\"mobile-nav\">
  917.                 <!-- menu header button -->
  918.                 <ul class=\"mobile-menu\">
  919.                     <li><a href=\"/\">Home</a></li>
  920.                     {# 
  921.                     <li>
  922.                         <a style=\"color:#fff;\" >area documentale</a>
  923.                         <ul>
  924.                             <li><a href=\"app-accordi-commerciali.php\">accordi commerciali</a></li>
  925.                             <li><a href=\"app-area-amministrativa.php\">area amministrativa</a></li>
  926.                         </ul>
  927.                     </li>
  928.                     <li><a href=\"app-member-market.php\">mercatino soci <span class=\"tip tip-hot\">Hot!</span></a></li>
  929.                 </ul><!-- end menu header button -->
  930.                 
  931.                 <ul class=\"mobile-menu mt-2 mb-2\">
  932.                     <li class=\"border-0\">
  933.                         <a href=\"#\">
  934.                             my mecstore
  935.                         </a>
  936.                     </li>
  937.                     <li class=\"border-0\">
  938.                         <a href=\"#\">
  939.                             ordini
  940.                         </a>
  941.                     </li>
  942.                     <li class=\"border-0\">
  943.                         <a href=\"app-favourites.php\">
  944.                             preferiti
  945.                             <i class=\"icon-wishlist-2\"></i>
  946.                         </a>
  947.                     </li>
  948.                     <li class=\"border-0\">
  949.                         <a href=\"app-cart.php\">
  950.                             carrello
  951.                             <i class=\"fas fa-shopping-cart\"></i>
  952.                         </a>
  953.                     </li>                    
  954.                     <li><a href=\"app-login.php\">My Account</a></li>
  955.                     <li><a href=\"app-login.php\">Contact Us</a></li>
  956.                     <li><a href=\"app-login.php\" class=\"login-link\"> Log out</a></li> #}
  957.                     <li class=\"mr-xl-5 mr-4\" >
  958.                         <a class=\"page-index\">catalogo</a>          
  959.                         <ul class=\"submenu\">                         
  960.                         {% set count = 0%}
  961.                         {% for category in app_category_get_data() %}  
  962.                                 <li><a href=\"{{ path('b2c-shop-category', {lang: 'it',categoryname: category.key,category: category.id}) }}\">{{ category.Name }}</a></li>
  963.                         {% set count = count + 1 %}                                        
  964.                         {% endfor %}  
  965.                         </ul>              
  966.                     </li>
  967.                     <li class=\"mr-xl-5 mr-4\" >
  968.                         <a class=\"page-index\">FORNITORI</a>  
  969.                         <ul class=\"submenu\"> 
  970.                         {% set count = 0 %}
  971.                         {% set brands = app_brand_get_data() %}
  972.                         {% for brand in brands %} 
  973.                                 <li><a href=\"{{ path('b2c-shop-brand', {brandname: brand.key,brand: brand.id}) }}\">{{ brand.Name }}</a></li>
  974.                         {% set count = count + 1 %}                           
  975.                         {% endfor %} 
  976.                         </ul> 
  977.                     </li>
  978.                      <li class=\"mr-xl-5 mr-4\" >
  979.                         <a href=\"/about-us\" class=\"page-index\" data-name=\" \">il gruppo</a>
  980.                     </li>
  981.                     <li class=\"mr-xl-5 mr-4\" >
  982.                         <a href=\"/b2c_shops\" class=\"page-index\" data-name=\" \">punti vendita</a>
  983.                     </li>
  984.                     <li class=\"mr-xl-5 mr-4\" >
  985.                         <a href=\"/b2c_news\" class=\"page-index\" data-name=\"app-news.php\">News</a>
  986.                     </li>
  987.                     <li class=\"mr-xl-5 mr-4\" >
  988.                         <a href=\"/catalogues\" class=\"page-index\" data-name=\" \">Download</a>
  989.                     </li>
  990.                     <li class=\"mr-xl-5 mr-4\" >
  991.                         <a href=\"#\" class=\"page-index\" data-name=\" \">contattaci</a>
  992.                         <ul>
  993.                             <li><a href=\"/contact-us\" class=\"page-index\" data-name=\" \">richiesta informazioni</a></li>
  994.                             <li><a href=\"/collaborations\">collaborazioni</a></li>
  995.                             <li><a href=\"/work-with-us\">lavora con noi</a></li>
  996.                         </ul>
  997.                     </li>
  998.                     {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  999.                     <li class=\"mr-xl-5 mr-4\">
  1000.                         <a style=\"color:#fff\">my mecstore</a>
  1001.                         <ul>
  1002.                             <li>
  1003.                                 <a style=\"color:#fff\"><strong>B2B</strong></a>
  1004.                                 <ul> 
  1005.                                     <li><a href=\"{{  pimcore_url({'type': 'confirm'},'account-order-list',true,true) }}\">Ordini inviati</a></li>
  1006.                                     <li><a href=\"{{  pimcore_url({'type': 'pre-ordini'},'account-order-list',true,true) }}\">Preordini</a></li>
  1007.                                     <li><a href=\"{{  pimcore_url({'type': 'booked'},'account-order-list',true,true) }}\">Prenotazioni</a></li>
  1008.                                     <li><a href=\"{{  pimcore_url({'type': 'draft'},'account-order-list',true,true) }}\">Bozze ordini</a></li>
  1009.                                     {# <li><a href=\"\"><strong>Note</strong></a></li> #}
  1010.                                 </ul> 
  1011.                             </li>
  1012.                             <li>
  1013.                                 <a style=\"color:#fff\"><strong>B2C</strong></a>
  1014.                                 <ul> 
  1015.                                     {# <li><a href=\"\">Preventivi ricevuti</a></li>
  1016.                                     <li><a href=\"\">Ordini ricevuti</a></li>
  1017.                                     <li><a href=\"\">Contatti ricevuti</a></li>
  1018.                                     <li><a href=\"\">Resi</a></li> #}
  1019.                                 </ul> 
  1020.                             </li> 
  1021.                             {# <li><a href=\"\">Anagrafica</a></li>
  1022.                             <li><a href=\"\">Rubrica indirizzi</a></li> #}
  1023.                         </ul>
  1024.                     </li>
  1025.                     {% endif %}
  1026.                 </ul>
  1027.             </nav><!-- End .mobile-nav -->
  1028.            {#  <form class=\"search-wrapper mb-2\" action=\"#\">
  1029.                 <input type=\"text\" class=\"form-control mb-0\" placeholder=\"Search...\" required />
  1030.                 <button class=\"btn icon-search text-white bg-transparent p-0\" type=\"submit\"></button>
  1031.             </form> #}
  1032.         </div><!-- End .mobile-menu-wrapper -->
  1033.     </div><!-- End .mobile-menu-container -->
  1034.     <div class=\"modal fade\" id=\"checkModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"checkModalLabel\" aria-hidden=\"true\">
  1035.         <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  1036.             <div class=\"modal-content\">
  1037.             <div class=\"modal-body\">
  1038.                 
  1039.             </div>
  1040.             <div class=\"modal-footer\">
  1041.                 <div class=\"inner\">
  1042.                     <button type=\"button\" class=\"btn btn-cancel\" data-dismiss=\"modal\">Ok</button>
  1043.                 </div>
  1044.             </div>
  1045.             </div>
  1046.         </div>
  1047.     </div>
  1048.     <div class=\"modal fade\" id=\"chooseModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"chooseModalLabel\" aria-hidden=\"true\">
  1049.         <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  1050.             <div class=\"modal-content\">
  1051.             <div class=\"modal-body\">
  1052.                 <p></p>
  1053.             </div>
  1054.             <div class=\"modal-footer\">
  1055.                 <div class=\"inner\">
  1056.                     <button type=\"button\" class=\"btn btn-success\" data-dismiss=\"modal\">Sì</button>
  1057.                     <button type=\"button\" class=\"btn btn-cancel\" data-dismiss=\"modal\">No</button>
  1058.                 </div>
  1059.             </div>
  1060.             </div>
  1061.         </div>
  1062.     </div>
  1063. {% endif %}
  1064.     {% block headscripts deferred %}
  1065. \t    {{ pimcore_head_script() }}
  1066. \t{% endblock %}
  1067. \t{% block inlinescripts deferred %}
  1068. \t    {{ pimcore_inline_script() }}
  1069. \t{% endblock %}
  1070.     <!-- Plugins JS File -->
  1071.     <script src=\"/mecstore/assets/js/jquery.min.js\"></script>
  1072.     <script src=\"/mecstore/assets/js/bootstrap.bundle.min.js\"></script>
  1073.     <script src=\"/mecstore/assets/js/plugins.min.js\"></script>
  1074.     <script src=\"/mecstore/assets/js/optional/isotope.pkgd.min.js\"></script>
  1075.     <script src=\"/mecstore/assets/js/jquery.appear.min.js\"></script>
  1076.     <script src=\"/mecstore/assets/js/jquery.plugin.min.js\"></script>
  1077.     <script src=\"/mecstore/assets/js/jquery.countdown.min.js\"></script>
  1078.     <script src=\"/mecstore/assets/js/nouislider.min.js\"></script>
  1079.     <script src=\"/mecstore/assets/js/custom.js\"></script>
  1080.     <!-- Main JS File -->
  1081.     <script src=\"/mecstore/assets/js/select2.min.js\"></script>
  1082.     <script src=\"/mecstore/b2c/assets/js/main.js\"></script>       
  1083. </body>
  1084. </html>""layouts/layout_b2c.html.twig""/home/ubuntu/mecstore/website/templates/layouts/layout_b2c.html.twig");
  1085.     }
  1086.     private $deferred;
  1087. }