var/cache/dev/twig/61/619c4e68346555ba3b84d2558c130c2e.php line 382

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. /* @CoreShopFrontend/layout.html.twig */
  14. class __TwigTemplate_1b88b355cf1d541e5fe0b1a879356501 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.             'header' => [$this'block_header'],
  27.             'content' => [$this'block_content'],
  28.             'footer' => [$this'block_footer'],
  29.             'cookie' => [$this'block_cookie'],
  30.             'scripts' => [$this'block_scripts'],
  31.         ];
  32.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  33.         $this->checkSecurity();
  34.         $this->deferred $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CoreShopFrontend/layout.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CoreShopFrontend/layout.html.twig"));
  43.         // line 1
  44.         echo "<!DOCTYPE html>
  45. <html lang=\"hu\">
  46. <head>
  47.     <meta charset=\"utf-8\">
  48.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  49.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.png\">
  50.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicon-32x32.png\">
  51.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicon-16x16.png\">
  52.     <meta name=\"google-site-verification\" content=\"RNO92YDX_Ws3gTMyVr-AkOxVaBMXxKzhvUY8nOI0U6I\"/>
  53.     <link rel=\"manifest\" href=\"/site.webmanifest\">
  54.     ";
  55.         // line 13
  56.         $this->loadTemplate("@CoreShopFrontend/_css.html.twig""@CoreShopFrontend/layout.html.twig"13)->display($context);
  57.         // line 14
  58.         echo "    ";
  59.         $this->loadTemplate("@CoreShopFrontend/_js.html.twig""@CoreShopFrontend/layout.html.twig"14)->display($context);
  60.         // line 15
  61.         echo "
  62.     ";
  63.         // line 16
  64.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_title')->getCallable()(), "setSeparator", [" | "], "method"falsefalsetrue16);
  65.         // line 17
  66.         echo "
  67.     ";
  68.         // line 18
  69.         $this->displayBlock('layout_head_meta'$context$blocks);
  70.         // line 41
  71.         echo "
  72.     ";
  73.         // line 42
  74.         $this->displayBlock('head_stylesheets'$context$blocks);
  75.         // line 45
  76.         echo "    ";
  77.         if ((isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'45$this->source); })())) {
  78.             // line 46
  79.             echo "        ";
  80.             $context["optimonk"] = 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.'46$this->source); })()), "getProperty", ["optimonk"], "method"falsefalsetrue46);
  81.             // line 47
  82.             echo "        ";
  83.             if ((isset($context["optimonk"]) || array_key_exists("optimonk"$context) ? $context["optimonk"] : (function () { throw new RuntimeError('Variable "optimonk" does not exist.'47$this->source); })())) {
  84.                 // line 48
  85.                 echo "            ";
  86.                 echo $this->sandbox->ensureToStringAllowed((isset($context["optimonk"]) || array_key_exists("optimonk"$context) ? $context["optimonk"] : (function () { throw new RuntimeError('Variable "optimonk" does not exist.'48$this->source); })()), 48$this->source);
  87.                 echo "
  88.         ";
  89.             }
  90.             // line 50
  91.             echo "    ";
  92.         }
  93.         // line 51
  94.         echo "</head>
  95. <body>
  96. ";
  97.         // line 53
  98.         if ((isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'53$this->source); })())) {
  99.             // line 54
  100.             echo "    ";
  101.             $context["fbPixel"] = 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.'54$this->source); })()), "getProperty", ["meta_pixel_code"], "method"falsefalsetrue54);
  102.             // line 55
  103.             echo "    ";
  104.             if ((isset($context["fbPixel"]) || array_key_exists("fbPixel"$context) ? $context["fbPixel"] : (function () { throw new RuntimeError('Variable "fbPixel" does not exist.'55$this->source); })())) {
  105.                 // line 56
  106.                 echo "        <!-- Meta Pixel Code -->
  107.         <script>
  108.             !function (f, b, e, v, n, t, s) {
  109.                 if (f.fbq) return;
  110.                 n = f.fbq = function () {
  111.                     n.callMethod ?
  112.                         n.callMethod.apply(n, arguments) : n.queue.push(arguments)
  113.                 };
  114.                 if (!f._fbq) f._fbq = n;
  115.                 n.push = n;
  116.                 n.loaded = !0;
  117.                 n.version = '2.0';
  118.                 n.queue = [];
  119.                 t = b.createElement(e);
  120.                 t.async = !0;
  121.                 t.src = v;
  122.                 s = b.getElementsByTagName(e)[0];
  123.                 s.parentNode.insertBefore(t, s)
  124.             }(window, document, 'script',
  125.                 'https://connect.facebook.net/en_US/fbevents.js');
  126.             fbq('init', '";
  127.                 // line 76
  128.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["fbPixel"]) || array_key_exists("fbPixel"$context) ? $context["fbPixel"] : (function () { throw new RuntimeError('Variable "fbPixel" does not exist.'76$this->source); })()), 76$this->source), "html"nulltrue);
  129.                 echo "');
  130.             fbq('track', 'PageView');
  131.         </script>
  132.         <noscript><img height=\"1\" width=\"1\" style=\"display:none\"
  133.                        src=\"https://www.facebook.com/tr?id=";
  134.                 // line 80
  135.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["fbPixel"]) || array_key_exists("fbPixel"$context) ? $context["fbPixel"] : (function () { throw new RuntimeError('Variable "fbPixel" does not exist.'80$this->source); })()), 80$this->source), "html"nulltrue);
  136.                 echo "&ev=PageView&noscript=1\"
  137.             /></noscript>
  138.         <!-- End Meta Pixel Code -->
  139.     ";
  140.             }
  141.         }
  142.         // line 85
  143.         $this->displayBlock('header'$context$blocks);
  144.         // line 94
  145.         $this->loadTemplate("@CoreShopFrontend/Common/global_flash_messages.html.twig""@CoreShopFrontend/layout.html.twig"94)->display($context);
  146.         // line 95
  147.         echo "
  148. ";
  149.         // line 96
  150.         $this->displayBlock('content'$context$blocks);
  151.         // line 98
  152.         echo "
  153. ";
  154.         // line 99
  155.         $this->displayBlock('footer'$context$blocks);
  156.         // line 108
  157.         echo "
  158. ";
  159.         // line 109
  160.         $this->displayBlock('cookie'$context$blocks);
  161.         // line 114
  162.         echo "
  163. ";
  164.         // line 115
  165.         $this->displayBlock('scripts'$context$blocks);
  166.         // line 118
  167.         echo "</body>
  168. </html>
  169. ";
  170.         
  171.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  172.         
  173.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  174.         $this->deferred->resolve($this$context$blocks);
  175.     }
  176.     public function block_layout_head_meta($context, array $blocks = [])
  177.     {
  178.         $this->deferred->defer($this'layout_head_meta');
  179.     }
  180.     // line 18
  181.     public function block_layout_head_meta_deferred($context, array $blocks = [])
  182.     {
  183.         $macros $this->macros;
  184.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  185.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  186.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  187.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  188.         // line 19
  189.         echo "    ";
  190.         echo $this->env->getFunction('pimcore_head_title')->getCallable()($this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("default_title""Seiko Boutique"));
  191.         echo "
  192.     ";
  193.         // line 20
  194.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:locale""hu_HU"], "method"falsefalsetrue20);
  195.         // line 21
  196.         echo "    ";
  197.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:url"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.'21$this->source); })()), "request", [], "any"falsefalsetrue21), "uri", [], "any"falsefalsetrue21)], "method"falsefalsetrue21);
  198.         // line 22
  199.         echo "    ";
  200.         if (( !twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "getItem", ["property""og:description"], "method"falsefalsetrue22) && $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("default_descripton"))) {
  201.             // line 23
  202.             echo "        ";
  203.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:description"$this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("default_descripton")], "method"falsefalsetrue23);
  204.             // line 24
  205.             echo "    ";
  206.         }
  207.         // line 25
  208.         echo "
  209.     ";
  210.         // line 26
  211.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "appendName", ["description"twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "getItem", ["property""og:description"], "method"falsefalsetrue26)], "method"falsefalsetrue26);
  212.         // line 27
  213.         echo "    ";
  214.         if ( !twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "getItem", ["property""og:site_name"], "method"falsefalsetrue27)) {
  215.             // line 28
  216.             echo "        ";
  217.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:site_name""Seiko Boutique"], "method"falsefalsetrue28);
  218.             // line 29
  219.             echo "    ";
  220.         }
  221.         // line 30
  222.         echo "    ";
  223.         if ( !twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "getItem", ["property""og:type"], "method"falsefalsetrue30)) {
  224.             // line 31
  225.             echo "        ";
  226.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:type""website"], "method"falsefalsetrue31);
  227.             // line 32
  228.             echo "    ";
  229.         }
  230.         // line 33
  231.         echo "    ";
  232.         if (( !twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "getItem", ["property""og:image"], "method"falsefalsetrue33) && $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("default_image"))) {
  233.             // line 34
  234.             echo "        ";
  235.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:image", (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.'34$this->source); })()), "request", [], "any"falsefalsetrue34), "getSchemeAndHttpHost", [], "method"falsefalsetrue34) . $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("default_image"))], "method"falsefalsetrue34);
  236.             // line 35
  237.             echo "        ";
  238.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:image:width"twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("default_image"), "getWidth", [], "method"falsefalsetrue35)], "method"falsefalsetrue35);
  239.             // line 36
  240.             echo "        ";
  241.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_meta')->getCallable()(), "setProperty", ["og:image:height"twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("default_image"), "getHeight", [], "method"falsefalsetrue36)], "method"falsefalsetrue36);
  242.             // line 37
  243.             echo "    ";
  244.         }
  245.         // line 38
  246.         echo "
  247.     ";
  248.         // line 39
  249.         echo $this->env->getFunction('pimcore_head_meta')->getCallable()();
  250.         echo "
  251.     ";
  252.         
  253.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  254.         
  255.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  256.         $this->deferred->resolve($this$context$blocks);
  257.     }
  258.     public function block_head_stylesheets($context, array $blocks = [])
  259.     {
  260.         $this->deferred->defer($this'head_stylesheets');
  261.     }
  262.     // line 42
  263.     public function block_head_stylesheets_deferred($context, array $blocks = [])
  264.     {
  265.         $macros $this->macros;
  266.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  267.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  268.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  269.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  270.         // line 43
  271.         echo "    ";
  272.         echo $this->env->getFunction('pimcore_head_link')->getCallable()();
  273.         echo "
  274.     ";
  275.         
  276.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  277.         
  278.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  279.         $this->deferred->resolve($this$context$blocks);
  280.     }
  281.     // line 85
  282.     public function block_header($context, array $blocks = [])
  283.     {
  284.         $macros $this->macros;
  285.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  286.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  287.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  288.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  289.         // line 86
  290.         echo "    ";
  291.         if ((null === 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.'86$this->source); })()), "request", [], "any"falsefalsetrue86), "query", [], "any"falsefalsetrue86), "get", ["webview"], "method"falsefalsetrue86))) {
  292.             // line 87
  293.             echo "        ";
  294.             if (twig_length_filter($this->env$this->env->getFunction('pimcore_inc')->getCallable()("/shared/header"))) {
  295.                 // line 88
  296.                 echo "            ";
  297.                 echo $this->env->getFunction('pimcore_inc')->getCallable()("/shared/header", ["embedded" => "true"]);
  298.                 echo "
  299.         ";
  300.             } else {
  301.                 // line 90
  302.                 echo "            ";
  303.                 $this->loadTemplate("@CoreShopFrontend/_header.html.twig""@CoreShopFrontend/layout.html.twig"90)->display($context);
  304.                 // line 91
  305.                 echo "        ";
  306.             }
  307.             // line 92
  308.             echo "    ";
  309.         }
  310.         
  311.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  312.         
  313.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  314.     }
  315.     // line 96
  316.     public function block_content($context, array $blocks = [])
  317.     {
  318.         $macros $this->macros;
  319.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  320.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  321.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  322.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  323.         
  324.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  325.         
  326.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  327.     }
  328.     // line 99
  329.     public function block_footer($context, array $blocks = [])
  330.     {
  331.         $macros $this->macros;
  332.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  333.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  334.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  335.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  336.         // line 100
  337.         echo "    ";
  338.         if ((null === 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.'100$this->source); })()), "request", [], "any"falsefalsetrue100), "query", [], "any"falsefalsetrue100), "get", ["webview"], "method"falsefalsetrue100))) {
  339.             // line 101
  340.             echo "        ";
  341.             if (twig_length_filter($this->env$this->env->getFunction('pimcore_inc')->getCallable()("/shared/footer"))) {
  342.                 // line 102
  343.                 echo "            ";
  344.                 echo $this->env->getFunction('pimcore_inc')->getCallable()("/shared/footer", ["embedded" => "true"]);
  345.                 echo "
  346.         ";
  347.             } else {
  348.                 // line 104
  349.                 echo "            ";
  350.                 $this->loadTemplate("@CoreShopFrontend/_footer.html.twig""@CoreShopFrontend/layout.html.twig"104)->display($context);
  351.                 // line 105
  352.                 echo "        ";
  353.             }
  354.             // line 106
  355.             echo "    ";
  356.         }
  357.         
  358.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  359.         
  360.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  361.     }
  362.     // line 109
  363.     public function block_cookie($context, array $blocks = [])
  364.     {
  365.         $macros $this->macros;
  366.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  367.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cookie"));
  368.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  369.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cookie"));
  370.         // line 110
  371.         echo "    ";
  372.         if ((null === 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.'110$this->source); })()), "request", [], "any"falsefalsetrue110), "query", [], "any"falsefalsetrue110), "get", ["webview"], "method"falsefalsetrue110))) {
  373.             // line 111
  374.             echo "        ";
  375.             $this->loadTemplate("@CoreShopFrontend/_cookie_banner.html.twig""@CoreShopFrontend/layout.html.twig"111)->display($context);
  376.             // line 112
  377.             echo "    ";
  378.         }
  379.         
  380.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  381.         
  382.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  383.     }
  384.     public function block_scripts($context, array $blocks = [])
  385.     {
  386.         $this->deferred->defer($this'scripts');
  387.     }
  388.     // line 115
  389.     public function block_scripts_deferred($context, array $blocks = [])
  390.     {
  391.         $macros $this->macros;
  392.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  393.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  394.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  395.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  396.         // line 116
  397.         echo $this->env->getFunction('pimcore_head_script')->getCallable()();
  398.         echo "
  399. ";
  400.         
  401.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  402.         
  403.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  404.         $this->deferred->resolve($this$context$blocks);
  405.     }
  406.     public function getTemplateName()
  407.     {
  408.         return "@CoreShopFrontend/layout.html.twig";
  409.     }
  410.     public function isTraitable()
  411.     {
  412.         return false;
  413.     }
  414.     public function getDebugInfo()
  415.     {
  416.         return array (  446 => 116,  436 => 115,  420 => 112,  417 => 111,  414 => 110,  404 => 109,  393 => 106,  390 => 105,  387 => 104,  381 => 102,  378 => 101,  375 => 100,  365 => 99,  347 => 96,  336 => 92,  333 => 91,  330 => 90,  324 => 88,  321 => 87,  318 => 86,  308 => 85,  294 => 43,  284 => 42,  266 => 39,  263 => 38,  260 => 37,  257 => 36,  254 => 35,  251 => 34,  248 => 33,  245 => 32,  242 => 31,  239 => 30,  236 => 29,  233 => 28,  230 => 27,  228 => 26,  225 => 25,  222 => 24,  219 => 23,  216 => 22,  213 => 21,  211 => 20,  206 => 19,  196 => 18,  178 => 118,  176 => 115,  173 => 114,  171 => 109,  168 => 108,  166 => 99,  163 => 98,  161 => 96,  158 => 95,  156 => 94,  154 => 85,  146 => 80,  139 => 76,  117 => 56,  114 => 55,  111 => 54,  109 => 53,  105 => 51,  102 => 50,  96 => 48,  93 => 47,  90 => 46,  87 => 45,  85 => 42,  82 => 41,  80 => 18,  77 => 17,  75 => 16,  72 => 15,  69 => 14,  67 => 13,  53 => 1,);
  417.     }
  418.     public function getSourceContext()
  419.     {
  420.         return new Source("<!DOCTYPE html>
  421. <html lang=\"hu\">
  422. <head>
  423.     <meta charset=\"utf-8\">
  424.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  425.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.png\">
  426.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicon-32x32.png\">
  427.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicon-16x16.png\">
  428.     <meta name=\"google-site-verification\" content=\"RNO92YDX_Ws3gTMyVr-AkOxVaBMXxKzhvUY8nOI0U6I\"/>
  429.     <link rel=\"manifest\" href=\"/site.webmanifest\">
  430.     {% include '@CoreShopFrontend/_css.html.twig' %}
  431.     {% include '@CoreShopFrontend/_js.html.twig' %}
  432.     {% do pimcore_head_title().setSeparator(' | ') %}
  433.     {% block layout_head_meta deferred %}
  434.     {{ pimcore_head_title(pimcore_website_config('default_title', 'Seiko Boutique')) }}
  435.     {% do pimcore_head_meta().setProperty('og:locale', 'hu_HU') %}
  436.     {% do pimcore_head_meta().setProperty('og:url', app.request.uri) %}
  437.     {% if not pimcore_head_meta().getItem('property', 'og:description') and pimcore_website_config('default_descripton') %}
  438.         {% do pimcore_head_meta().setProperty('og:description', pimcore_website_config('default_descripton')) %}
  439.     {% endif %}
  440.     {% do pimcore_head_meta().appendName('description', pimcore_head_meta().getItem('property', 'og:description') ) %}
  441.     {% if not pimcore_head_meta().getItem('property', 'og:site_name') %}
  442.         {% do pimcore_head_meta().setProperty('og:site_name', 'Seiko Boutique') %}
  443.     {% endif %}
  444.     {% if not pimcore_head_meta().getItem('property', 'og:type') %}
  445.         {% do pimcore_head_meta().setProperty('og:type', 'website') %}
  446.     {% endif %}
  447.     {% if not pimcore_head_meta().getItem('property', 'og:image') and pimcore_website_config('default_image') %}
  448.         {% do pimcore_head_meta().setProperty('og:image', app.request.getSchemeAndHttpHost() ~ pimcore_website_config('default_image')) %}
  449.         {% do pimcore_head_meta().setProperty('og:image:width', pimcore_website_config('default_image').getWidth()) %}
  450.         {% do pimcore_head_meta().setProperty('og:image:height', pimcore_website_config('default_image').getHeight()) %}
  451.     {% endif %}
  452.     {{ pimcore_head_meta() }}
  453.     {% endblock %}
  454.     {% block head_stylesheets deferred %}
  455.     {{ pimcore_head_link() }}
  456.     {% endblock %}
  457.     {% if document %}
  458.         {% set optimonk = document.getProperty('optimonk') %}
  459.         {% if optimonk %}
  460.             {{ optimonk | raw }}
  461.         {% endif %}
  462.     {% endif %}
  463. </head>
  464. <body>
  465. {% if document %}
  466.     {% set fbPixel = document.getProperty('meta_pixel_code') %}
  467.     {% if fbPixel %}
  468.         <!-- Meta Pixel Code -->
  469.         <script>
  470.             !function (f, b, e, v, n, t, s) {
  471.                 if (f.fbq) return;
  472.                 n = f.fbq = function () {
  473.                     n.callMethod ?
  474.                         n.callMethod.apply(n, arguments) : n.queue.push(arguments)
  475.                 };
  476.                 if (!f._fbq) f._fbq = n;
  477.                 n.push = n;
  478.                 n.loaded = !0;
  479.                 n.version = '2.0';
  480.                 n.queue = [];
  481.                 t = b.createElement(e);
  482.                 t.async = !0;
  483.                 t.src = v;
  484.                 s = b.getElementsByTagName(e)[0];
  485.                 s.parentNode.insertBefore(t, s)
  486.             }(window, document, 'script',
  487.                 'https://connect.facebook.net/en_US/fbevents.js');
  488.             fbq('init', '{{ fbPixel }}');
  489.             fbq('track', 'PageView');
  490.         </script>
  491.         <noscript><img height=\"1\" width=\"1\" style=\"display:none\"
  492.                        src=\"https://www.facebook.com/tr?id={{ fbPixel }}&ev=PageView&noscript=1\"
  493.             /></noscript>
  494.         <!-- End Meta Pixel Code -->
  495.     {% endif %}
  496. {% endif %}
  497. {% block header %}
  498.     {% if app.request.query.get('webview') is null %}
  499.         {% if pimcore_inc('/shared/header')|length %}
  500.             {{ pimcore_inc('/shared/header', {'embedded':'true'}) }}
  501.         {% else %}
  502.             {% include '@CoreShopFrontend/_header.html.twig' %}
  503.         {% endif %}
  504.     {% endif %}
  505. {% endblock %}
  506. {% include '@CoreShopFrontend/Common/global_flash_messages.html.twig' %}
  507. {% block content %}
  508. {% endblock %}
  509. {% block footer %}
  510.     {% if app.request.query.get('webview') is null %}
  511.         {% if pimcore_inc('/shared/footer')|length %}
  512.             {{ pimcore_inc('/shared/footer', {'embedded':'true'}) }}
  513.         {% else %}
  514.             {% include '@CoreShopFrontend/_footer.html.twig' %}
  515.         {% endif %}
  516.     {% endif %}
  517. {% endblock %}
  518. {% block cookie %}
  519.     {% if app.request.query.get('webview') is null %}
  520.         {% include '@CoreShopFrontend/_cookie_banner.html.twig' %}
  521.     {% endif %}
  522. {% endblock %}
  523. {% block scripts deferred %}
  524. {{ pimcore_head_script() }}
  525. {% endblock %}
  526. </body>
  527. </html>
  528. ""@CoreShopFrontend/layout.html.twig""/home/zoltan/public_html/boutique-v2/templates/seikoboutique/templates/bundles/CoreShopFrontendBundle/layout.html.twig");
  529.     }
  530.     
  531.     public function checkSecurity()
  532.     {
  533.         static $tags = array("include" => 13"do" => 16"block" => 18"if" => 45"set" => 46);
  534.         static $filters = array("raw" => 48"escape" => 76"length" => 87);
  535.         static $functions = array("pimcore_head_title" => 16"pimcore_website_config" => 19"pimcore_head_meta" => 20"pimcore_head_link" => 43"pimcore_inc" => 87"pimcore_head_script" => 116);
  536.         try {
  537.             $this->sandbox->checkSecurity(
  538.                 ['include''do''block''if''set'],
  539.                 ['raw''escape''length'],
  540.                 ['pimcore_head_title''pimcore_website_config''pimcore_head_meta''pimcore_head_link''pimcore_inc''pimcore_head_script']
  541.             );
  542.         } catch (SecurityError $e) {
  543.             $e->setSourceContext($this->source);
  544.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  545.                 $e->setTemplateLine($tags[$e->getTagName()]);
  546.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  547.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  548.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  549.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  550.             }
  551.             throw $e;
  552.         }
  553.     }
  554.     private $deferred;
  555. }