var/cache/dev/twig/b3/b33a477b7569e6b5cc24bbf9c8f18c0b.php line 53

  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. /* base.html.twig */
  14. class __TwigTemplate_9dcca2d91f0bba6b5a12eb258df373e3 extends \Twig\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.             'meta_group' => [$this'block_meta_group'],
  25.             'meta_canonical' => [$this'block_meta_canonical'],
  26.             'meta_alternate' => [$this'block_meta_alternate'],
  27.             'meta_robots' => [$this'block_meta_robots'],
  28.             'stylesheets' => [$this'block_stylesheets'],
  29.             'javascripts' => [$this'block_javascripts'],
  30.             'applicationldjson' => [$this'block_applicationldjson'],
  31.             'iubenda_config' => [$this'block_iubenda_config'],
  32.             'gtm_config' => [$this'block_gtm_config'],
  33.             'bodyClass' => [$this'block_bodyClass'],
  34.             'bodyStyle' => [$this'block_bodyStyle'],
  35.             'gtm_config_noscript' => [$this'block_gtm_config_noscript'],
  36.             'body' => [$this'block_body'],
  37.             'header' => [$this'block_header'],
  38.             'content' => [$this'block_content'],
  39.             'extraContent' => [$this'block_extraContent'],
  40.             'footer' => [$this'block_footer'],
  41.             'modals' => [$this'block_modals'],
  42.             'javascripts_body' => [$this'block_javascripts_body'],
  43.             'javascripts_iubenda' => [$this'block_javascripts_iubenda'],
  44.         ];
  45.     }
  46.     protected function doDisplay(array $context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  51.         // line 1
  52.         echo "<!DOCTYPE html>
  53. <html xmlns=\"https://www.w3.org/1999/xhtml\" xmlns:fb=\"http://ogp.me/ns/fb#\" prefix=\"og: http://ogp.me/ns#\" lang=\"";
  54.         // line 2
  55.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse2), "getLocale", [], "method"falsefalsefalse2), "html"nulltrue);
  56.         echo "\">
  57.     ";
  58.         // line 3
  59.         $context["busters"] = $this->extensions['App\Twig\AppExtension']->getBustersValues();
  60.         // line 4
  61.         echo "    ";
  62.         $context["webpEnabled"] = $this->extensions['App\Twig\AppExtension']->isWebpEnabled();
  63.         // line 5
  64.         echo "    ";
  65.         $context["iubendaCookie"] = $this->extensions['App\Twig\AppExtension']->getIubendaCookie(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse5), "locale", [], "any"falsefalsefalse5));
  66.         // line 6
  67.         echo "    <head>
  68.         ";
  69.         // line 7
  70.         ob_start(function () { return ''; });
  71.         // line 8
  72.         echo "            <meta charset=\"utf-8\">
  73.             <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  74.             <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  75.             ";
  76.         // line 12
  77.         $this->displayBlock('meta_group'$context$blocks);
  78.         // line 21
  79.         echo "
  80.             ";
  81.         // line 22
  82.         $this->displayBlock('meta_canonical'$context$blocks);
  83.         // line 27
  84.         echo "
  85.             ";
  86.         // line 28
  87.         $this->displayBlock('meta_alternate'$context$blocks);
  88.         // line 39
  89.         echo "
  90.             ";
  91.         // line 40
  92.         $this->displayBlock('meta_robots'$context$blocks);
  93.         // line 49
  94.         echo "
  95.             <link rel=\"icon\" href=\"";
  96.         // line 50
  97.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/frontend/favicon.ico"), "html"nulltrue);
  98.         echo "\" sizes=\"any\">
  99.             ";
  100.         // line 52
  101.         $context["icons"] = [=> 32=> 76=> 120=> 152=> 167=> 180=> 192=> 196];
  102.         // line 53
  103.         echo "            ";
  104.         $context['_parent'] = $context;
  105.         $context['_seq'] = twig_ensure_traversable(($context["icons"] ?? null));
  106.         foreach ($context['_seq'] as $context["_key"] => $context["icon"]) {
  107.             // line 54
  108.             echo "                <link rel=\"apple-touch-icon\" sizes=\"";
  109.             echo twig_escape_filter($this->env$context["icon"], "html"nulltrue);
  110.             echo "x";
  111.             echo twig_escape_filter($this->env$context["icon"], "html"nulltrue);
  112.             echo "\" href=\"";
  113.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((((("assets/images/frontend/webpage-icons/icon-" $context["icon"]) . "x") . $context["icon"]) . ".png")), "html"nulltrue);
  114.             echo "\">
  115.             ";
  116.         }
  117.         $_parent $context['_parent'];
  118.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['icon'], $context['_parent'], $context['loop']);
  119.         $context array_intersect_key($context$_parent) + $_parent;
  120.         // line 56
  121.         echo "
  122.             <meta name=\"apple-mobile-web-app-title\" content=\"Kioene\">
  123.             <meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black-translucent\">
  124.             <meta name=\"apple-mobile-web-app-capable\" content=\"yes\">
  125.             <meta name=\"theme-color\" content=\"#166938\">
  126.             <meta name=\"msapplication-navbutton-color\" content=\"#166938\">
  127.             <meta name=\"geo.region\" content=\"IT\">
  128.             <meta name=\"geo.placename\" content=\"Villanova di Camposampiero\">
  129.             <meta name=\"geo.position\" content=\"45.491379;11.96371\">
  130.             <meta name=\"ICBM\" content=\"45.491379, 11.96371\">
  131.             <meta name=\"msapplication-config\" content=\"none\">
  132.             ";
  133.         // line 70
  134.         $this->displayBlock('stylesheets'$context$blocks);
  135.         // line 95
  136.         echo "
  137.             <script type=\"application/ld+json\">
  138.                 {
  139.                     \"@context\": \"https://schema.org\",
  140.                     \"@type\": \"Organization\",
  141.                     \"url\": \"";
  142.         // line 100
  143.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse100), "schemeAndHttpHost", [], "any"falsefalsefalse100), "html"nulltrue);
  144.         echo "\",
  145.                     \"logo\": \"";
  146.         // line 101
  147.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse101), "schemeAndHttpHost", [], "any"falsefalsefalse101), "html"nulltrue);
  148.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/svg/logo-kioene.svg"), "html"nulltrue);
  149.         echo "\"
  150.                 }
  151.             </script>
  152.             ";
  153.         // line 105
  154.         $this->displayBlock('javascripts'$context$blocks);
  155.         // line 106
  156.         echo "
  157.             ";
  158.         // line 107
  159.         $this->displayBlock('applicationldjson'$context$blocks);
  160.         // line 108
  161.         echo "
  162.         ";
  163.         $___internal_parse_0_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  164.         // line 7
  165.         echo twig_spaceless($___internal_parse_0_);
  166.         // line 110
  167.         echo "
  168.         <script type=\"text/javascript\">
  169.             var pixel_PageView__now = Math.floor(Date.now() / 1000);
  170.             var pixel_PageView__eventID = pixel_PageView__now + '_' + Math.random().toString(36).substr(2, 9);
  171.             var pixel_em = '';
  172.             var pixel_ph = '';
  173.         </script>
  174.         ";
  175.         // line 118
  176.         $this->displayBlock('iubenda_config'$context$blocks);
  177.         // line 131
  178.         echo "
  179.         <script>
  180.             var url__tracking_pixel=\"/api/tracking-pixel-api-conversion/ajax.php\";
  181.             var url__tracking_pinterest=\"/api/tracking-pinterest-api-conversion/ajax.php\";
  182.             var tracking__locale = '";
  183.         // line 135
  184.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse135), "locale", [], "any"falsefalsefalse135), "html"nulltrue);
  185.         echo "';
  186.             var tracking__viewcontent__title = '';
  187.             var tracking__viewcontent__ids = [];
  188.             var tracking__viewcontent__type = 'page';
  189.         </script>
  190.         <!-- Google Tag Manager -->
  191.         <script type=\"text/javascript\">
  192.             window.dataLayer = window.dataLayer || [];
  193.             function gtag(){dataLayer.push(arguments);}
  194.         </script>
  195.         <script type=\"text/javascript\">dataLayer.push({locale: '";
  196.         // line 146
  197.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse146), "locale", [], "any"falsefalsefalse146), "html"nulltrue);
  198.         echo "'});</script>
  199.         <script type=\"application/javascript\">
  200.             var checkPixelCallback = false;
  201.             var consent_analytics_storage = 'denied';
  202.             var consent_ad_storage = 'denied';
  203.             var consent_personalization_storage = 'denied';
  204.             var consent_functionality_storage = 'denied';
  205.             var consent_security_storage = 'denied';
  206.             var iubendaCookie = null;
  207.             var cookieName = '_iub_cs-'+iubendaIds[locale]['cookiePolicyId'] + \"=\";
  208.             var ca = document.cookie.split(';');
  209.             for(var i=0; i<ca.length; i++) {
  210.                 var c = ca[i];
  211.                 while (c.charAt(0)==' ') c = c.substring(1);
  212.                 if (c.indexOf(cookieName) == 0) {
  213.                     iubendaCookie = c.substring(cookieName.length,c.length)
  214.                 }
  215.             }
  216.             if (iubendaCookie) {
  217.                 iubendaCookie = decodeURIComponent(iubendaCookie);
  218.                 iubendaCookie = JSON.parse(iubendaCookie);
  219.                 if (iubendaCookie.purposes[5]) {
  220.                     consent_ad_storage = 'granted';
  221.                     var checkPixelCallback = true;
  222.                     dataLayer.push({
  223.                         consense_marketing: true
  224.                     });
  225.                 }
  226.                 if (iubendaCookie.purposes[4]) {
  227.                     consent_analytics_storage = 'granted';
  228.                     dataLayer.push({
  229.                         anonymizeIp: false,
  230.                     });
  231.                 }
  232.                 if (iubendaCookie.purposes[3]) {
  233.                     consent_personalization_storage = 'granted';
  234.                 }
  235.                 if (iubendaCookie.purposes[2]) {
  236.                     consent_functionality_storage = 'granted';
  237.                 }
  238.             } else {
  239.                 dataLayer.push({
  240.                     anonymizeIp: true,
  241.                     consense_marketing: false
  242.                 });
  243.             }
  244.             gtag('consent', 'default', {
  245.                 'ad_storage': consent_ad_storage,
  246.                 'ad_user_data': consent_ad_storage,
  247.                 'ad_personalization': consent_ad_storage,
  248.                 'analytics_storage': consent_analytics_storage,
  249.                 'wait_for_update': 500,
  250.                 // 'personalization_storage': consent_personalization_storage,
  251.                 // 'functionality_storage': consent_functionality_storage,
  252.                 // 'security_storage': consent_security_storage,
  253.             });
  254.         </script>
  255.         ";
  256.         // line 209
  257.         $this->displayBlock('gtm_config'$context$blocks);
  258.         // line 216
  259.         echo "        <!-- End Google Tag Manager -->
  260.     </head>
  261.     <body class=\"body body_";
  262.         // line 218
  263.         echo twig_escape_filter($this->envtwig_replace_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse218), "attributes", [], "any"falsefalsefalse218), "get", [=> "_route"], "method"falsefalsefalse218), ["_" => "-"]), "html"nulltrue);
  264.         echo " ";
  265.         ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse218), "attributes", [], "any"falsefalsefalse218), "get", [=> "category_slug"], "method"falsefalsefalse218)) ? (print (twig_escape_filter($this->env, ("body_" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse218), "attributes", [], "any"falsefalsefalse218), "get", [=> "category_slug"], "method"falsefalsefalse218)), "html"nulltrue))) : (print ("")));
  266.         echo " ";
  267.         echo ((($context["webpEnabled"] ?? null)) ? ("webp") : (""));
  268.         echo " w-100 ";
  269.         $this->displayBlock('bodyClass'$context$blocks);
  270.         echo "\" ";
  271.         $this->displayBlock('bodyStyle'$context$blocks);
  272.         echo ">
  273.     <!-- Google Tag Manager (noscript) -->
  274.     ";
  275.         // line 220
  276.         $this->displayBlock('gtm_config_noscript'$context$blocks);
  277.         // line 224
  278.         echo "    <!-- End Google Tag Manager (noscript) -->
  279.         ";
  280.         // line 225
  281.         $this->displayBlock('body'$context$blocks);
  282.         // line 287
  283.         echo "        ";
  284.         $this->displayBlock('javascripts_body'$context$blocks);
  285.         // line 446
  286.         echo "
  287.         ";
  288.         // line 447
  289.         $this->displayBlock('javascripts_iubenda'$context$blocks);
  290.         // line 488
  291.         echo "    </body>
  292. </html>
  293. ";
  294.         
  295.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  296.     }
  297.     // line 12
  298.     public function block_meta_group($context, array $blocks = [])
  299.     {
  300.         $macros $this->macros;
  301.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  302.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_group"));
  303.         // line 13
  304.         echo "
  305.                 ";
  306.         // line 14
  307.         if ((array_key_exists("metatags"$context) && ($context["metatags"] ?? null))) {
  308.             // line 15
  309.             echo "                    ";
  310.             $this->loadTemplate("partials/metatags/_custom.html.twig""base.html.twig"15)->display($context);
  311.             // line 16
  312.             echo "                ";
  313.         } else {
  314.             // line 17
  315.             echo "                    ";
  316.             $this->loadTemplate("partials/metatags/_default.html.twig""base.html.twig"17)->display($context);
  317.             // line 18
  318.             echo "                ";
  319.         }
  320.         // line 19
  321.         echo "
  322.             ";
  323.         
  324.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  325.     }
  326.     // line 22
  327.     public function block_meta_canonical($context, array $blocks = [])
  328.     {
  329.         $macros $this->macros;
  330.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  331.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_canonical"));
  332.         // line 23
  333.         echo "                ";
  334.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse23), "attributes", [], "any"falsefalsefalse23), "get", [=> "_route"], "method"falsefalsefalse23)) {
  335.             // line 24
  336.             echo "                    <link rel=\"canonical\" href=\"";
  337.             echo twig_escape_filter($this->envtwig_lower_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse24), "attributes", [], "any"falsefalsefalse24), "get", [=> "_route"], "method"falsefalsefalse24), ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruefalse24), "attributes", [], "any"falsetruefalse24), "get", [=> "_route_params"], "method"truetruefalse24)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruefalse24), "attributes", [], "any"falsetruefalse24), "get", [=> "_route_params"], "method"falsefalsefalse24), [])) : ([])))), "html"nulltrue);
  338.             echo "\" />
  339.                 ";
  340.         }
  341.         // line 26
  342.         echo "            ";
  343.         
  344.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  345.     }
  346.     // line 28
  347.     public function block_meta_alternate($context, array $blocks = [])
  348.     {
  349.         $macros $this->macros;
  350.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  351.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_alternate"));
  352.         // line 29
  353.         echo "                ";
  354.         if ((array_key_exists("hreflangs"$context) && ($context["hreflangs"] ?? null))) {
  355.             // line 30
  356.             echo "                    ";
  357.             $context['_parent'] = $context;
  358.             $context['_seq'] = twig_ensure_traversable(($context["hreflangs"] ?? null));
  359.             foreach ($context['_seq'] as $context["_key"] => $context["hreflang"]) {
  360.                 // line 31
  361.                 echo "                        <link rel=\"alternate\" hreflang=\"";
  362.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["hreflang"], "locale", [], "any"falsefalsefalse31), "html"nulltrue);
  363.                 echo "\" href=\"";
  364.                 echo twig_escape_filter($this->envtwig_lower_filter($this->envtwig_get_attribute($this->env$this->source$context["hreflang"], "href", [], "any"falsefalsefalse31)), "html"nulltrue);
  365.                 echo "\" />
  366.                     ";
  367.             }
  368.             $_parent $context['_parent'];
  369.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['hreflang'], $context['_parent'], $context['loop']);
  370.             $context array_intersect_key($context$_parent) + $_parent;
  371.             // line 33
  372.             echo "                ";
  373.         } else {
  374.             // line 34
  375.             echo "                    ";
  376.             $context['_parent'] = $context;
  377.             $context['_seq'] = twig_ensure_traversable(($context["locales"] ?? null));
  378.             foreach ($context['_seq'] as $context["_key"] => $context["locale"]) {
  379.                 // line 35
  380.                 echo "                        <link rel=\"alternate\" hreflang=\"";
  381.                 echo twig_escape_filter($this->env$context["locale"], "html"nulltrue);
  382.                 echo "\" href=\"";
  383.                 echo twig_escape_filter($this->envtwig_lower_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse35), "attributes", [], "any"falsefalsefalse35), "get", [=> "_route"], "method"falsefalsefalse35), twig_array_merge(((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruefalse35), "attributes", [], "any"falsetruefalse35), "get", [=> "_route_params"], "method"truetruefalse35)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruefalse35), "attributes", [], "any"falsetruefalse35), "get", [=> "_route_params"], "method"falsefalsefalse35), [])) : ([])), ["_locale" => $context["locale"]]))), "html"nulltrue);
  384.                 echo "\" />
  385.                     ";
  386.             }
  387.             $_parent $context['_parent'];
  388.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locale'], $context['_parent'], $context['loop']);
  389.             $context array_intersect_key($context$_parent) + $_parent;
  390.             // line 37
  391.             echo "                ";
  392.         }
  393.         // line 38
  394.         echo "            ";
  395.         
  396.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  397.     }
  398.     // line 40
  399.     public function block_meta_robots($context, array $blocks = [])
  400.     {
  401.         $macros $this->macros;
  402.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  403.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_robots"));
  404.         // line 41
  405.         echo "                ";
  406.         if (((twig_get_attribute($this->env$this->source, ($context["app"] ?? null), "environment", [], "any"falsefalsefalse41) == "dev") || (twig_get_attribute($this->env$this->source, ($context["app"] ?? null), "environment", [], "any"falsefalsefalse41) == "test"))) {
  407.             // line 42
  408.             echo "                    <meta name=\"robots\" content=\"noindex,nofollow\">
  409.                     <meta name=\"googlebot\" content=\"noindex,nofollow\">
  410.                 ";
  411.         } else {
  412.             // line 45
  413.             echo "                    <meta name=\"robots\" content=\"index,follow\">
  414.                     <meta name=\"googlebot\" content=\"index,follow\">
  415.                 ";
  416.         }
  417.         // line 48
  418.         echo "            ";
  419.         
  420.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  421.     }
  422.     // line 70
  423.     public function block_stylesheets($context, array $blocks = [])
  424.     {
  425.         $macros $this->macros;
  426.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  427.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  428.         // line 71
  429.         echo "                ";
  430.         // line 74
  431.         echo "
  432.                 <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  433.                 <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  434.                 <link href=\"https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap\" rel=\"stylesheet\">
  435.                 <link rel=\"stylesheet\" href=\"https://use.typekit.net/uil7luu.css\">
  436.                 <!-- Preload the LCP image with a high fetchpriority so it starts loading with the stylesheet. -->
  437.                 ";
  438.         // line 84
  439.         echo "                <link rel=\"preload\" as=\"image\" href=\"";
  440.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/webp/frontend/bg-land-large-mobile.webp"), "html"nulltrue);
  441.         echo "\" type=\"image/webp\">
  442.                 <link rel=\"preload\" href=\"";
  443.         // line 85
  444.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/fonts/market-fresh/market-fresh-bold.woff2"), "html"nulltrue);
  445.         echo "\" as=\"font\" type=\"font/woff2\" crossorigin>
  446.                 <link rel=\"preload\" fetchpriority=\"high\" href=\"";
  447.         // line 86
  448.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/frontend/fonts.css"), "html"nulltrue);
  449.         echo "?v=";
  450.         ((twig_get_attribute($this->env$this->source, ($context["busters"] ?? null), "css/frontend/fonts.css", [], "array"truetruefalse86)) ? (print (twig_escape_filter($this->env, (($__internal_compile_0 = ($context["busters"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["css/frontend/fonts.css"] ?? null) : null), "html"nulltrue))) : (print ("")));
  451.         echo "\" as=\"style\">
  452.                 <link rel=\"stylesheet\" href=\"";
  453.         // line 87
  454.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/frontend/fonts.css"), "html"nulltrue);
  455.         echo "?v=";
  456.         ((twig_get_attribute($this->env$this->source, ($context["busters"] ?? null), "css/frontend/fonts.css", [], "array"truetruefalse87)) ? (print (twig_escape_filter($this->env, (($__internal_compile_1 = ($context["busters"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["css/frontend/fonts.css"] ?? null) : null), "html"nulltrue))) : (print ("")));
  457.         echo "\">
  458.                 <link rel=\"preload\" href=\"";
  459.         // line 88
  460.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/frontend/pofo.css"), "html"nulltrue);
  461.         echo "?v=";
  462.         ((twig_get_attribute($this->env$this->source, ($context["busters"] ?? null), "css/frontend/pofo.css", [], "array"truetruefalse88)) ? (print (twig_escape_filter($this->env, (($__internal_compile_2 = ($context["busters"] ?? null)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["css/frontend/pofo.css"] ?? null) : null), "html"nulltrue))) : (print ("")));
  463.         echo "\" as=\"style\">
  464.                 <link rel=\"stylesheet\" href=\"";
  465.         // line 89
  466.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/frontend/pofo.css"), "html"nulltrue);
  467.         echo "?v=";
  468.         ((twig_get_attribute($this->env$this->source, ($context["busters"] ?? null), "css/frontend/pofo.css", [], "array"truetruefalse89)) ? (print (twig_escape_filter($this->env, (($__internal_compile_3 = ($context["busters"] ?? null)) && is_array($__internal_compile_3) || $__internal_compile_3 instanceof ArrayAccess ? ($__internal_compile_3["css/frontend/pofo.css"] ?? null) : null), "html"nulltrue))) : (print ("")));
  469.         echo "\">
  470.                 <link rel=\"preload\" href=\"";
  471.         // line 90
  472.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/frontend/main.css"), "html"nulltrue);
  473.         echo "?v=";
  474.         ((twig_get_attribute($this->env$this->source, ($context["busters"] ?? null), "css/frontend/main.css", [], "array"truetruefalse90)) ? (print (twig_escape_filter($this->env, (($__internal_compile_4 = ($context["busters"] ?? null)) && is_array($__internal_compile_4) || $__internal_compile_4 instanceof ArrayAccess ? ($__internal_compile_4["css/frontend/main.css"] ?? null) : null), "html"nulltrue))) : (print ("")));
  475.         echo "\" as=\"style\">
  476.                 <link rel=\"stylesheet\" href=\"";
  477.         // line 91
  478.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/frontend/main.css"), "html"nulltrue);
  479.         echo "?v=";
  480.         ((twig_get_attribute($this->env$this->source, ($context["busters"] ?? null), "css/frontend/main.css", [], "array"truetruefalse91)) ? (print (twig_escape_filter($this->env, (($__internal_compile_5 = ($context["busters"] ?? null)) && is_array($__internal_compile_5) || $__internal_compile_5 instanceof ArrayAccess ? ($__internal_compile_5["css/frontend/main.css"] ?? null) : null), "html"nulltrue))) : (print ("")));
  481.         echo "\">
  482.             ";
  483.         
  484.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  485.     }
  486.     // line 105
  487.     public function block_javascripts($context, array $blocks = [])
  488.     {
  489.         $macros $this->macros;
  490.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  491.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  492.         echo "";
  493.         
  494.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  495.     }
  496.     // line 107
  497.     public function block_applicationldjson($context, array $blocks = [])
  498.     {
  499.         $macros $this->macros;
  500.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  501.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""applicationldjson"));
  502.         echo "";
  503.         
  504.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  505.     }
  506.     // line 118
  507.     public function block_iubenda_config($context, array $blocks = [])
  508.     {
  509.         $macros $this->macros;
  510.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  511.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""iubenda_config"));
  512.         // line 119
  513.         echo "
  514.         <script type=\"text/javascript\">
  515.             var iubendaIds = [];
  516.             var locale = '";
  517.         // line 122
  518.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse122), "locale", [], "any"falsefalsefalse122), "html"nulltrue);
  519.         echo "';
  520.             iubendaIds[locale] = {
  521.                 'siteId' : '";
  522.         // line 124
  523.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (($__internal_compile_6 = ($context["iubenda"] ?? null)) && is_array($__internal_compile_6) || $__internal_compile_6 instanceof ArrayAccess ? ($__internal_compile_6[twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse124), "locale", [], "any"falsefalsefalse124)] ?? null) : null), "siteId", [], "any"falsefalsefalse124), "html"nulltrue);
  524.         echo "',
  525.                 'cookiePolicyId' : '";
  526.         // line 125
  527.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (($__internal_compile_7 = ($context["iubenda"] ?? null)) && is_array($__internal_compile_7) || $__internal_compile_7 instanceof ArrayAccess ? ($__internal_compile_7[twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse125), "locale", [], "any"falsefalsefalse125)] ?? null) : null), "cookiePolicyId", [], "any"falsefalsefalse125), "html"nulltrue);
  528.         echo "',
  529.                 'locale': '";
  530.         // line 126
  531.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (($__internal_compile_8 = ($context["iubenda"] ?? null)) && is_array($__internal_compile_8) || $__internal_compile_8 instanceof ArrayAccess ? ($__internal_compile_8[twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse126), "locale", [], "any"falsefalsefalse126)] ?? null) : null), "locale", [], "any"falsefalsefalse126), "html"nulltrue);
  532.         echo "'
  533.             };
  534.         </script>
  535.         ";
  536.         
  537.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  538.     }
  539.     // line 209
  540.     public function block_gtm_config($context, array $blocks = [])
  541.     {
  542.         $macros $this->macros;
  543.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  544.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""gtm_config"));
  545.         // line 210
  546.         echo "        <script type=\"text/javascript\">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  547.                     new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  548.                 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  549.                 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  550.             })(window,document,'script','dataLayer','GTM-MM2BS55');</script>
  551.         ";
  552.         
  553.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  554.     }
  555.     // line 218
  556.     public function block_bodyClass($context, array $blocks = [])
  557.     {
  558.         $macros $this->macros;
  559.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  560.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyClass"));
  561.         echo "";
  562.         
  563.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  564.     }
  565.     public function block_bodyStyle($context, array $blocks = [])
  566.     {
  567.         $macros $this->macros;
  568.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  569.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyStyle"));
  570.         echo "";
  571.         
  572.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  573.     }
  574.     // line 220
  575.     public function block_gtm_config_noscript($context, array $blocks = [])
  576.     {
  577.         $macros $this->macros;
  578.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  579.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""gtm_config_noscript"));
  580.         // line 221
  581.         echo "    <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-MM2BS55\"
  582.                       height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  583.     ";
  584.         
  585.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  586.     }
  587.     // line 225
  588.     public function block_body($context, array $blocks = [])
  589.     {
  590.         $macros $this->macros;
  591.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  592.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  593.         // line 226
  594.         echo "            <div class=\"body__layer-transition body__layer-transition_bg-color_jewel\" data-js=\"layer-transition-2\"></div>
  595.             <div class=\"body__layer-transition body__layer-transition_bg-color_la-riojia\" data-js=\"layer-transition-1\"></div>
  596.             <div class=\"body__layer-transition\" data-js=\"layer-loading\">
  597.                 <img src=\"";
  598.         // line 229
  599.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/svg/spin-1.1s-100px.svg"), "html"nulltrue);
  600.         echo "\" alt=\"loading\">
  601.             </div>
  602.             ";
  603.         // line 231
  604.         $this->displayBlock('header'$context$blocks);
  605.         // line 237
  606.         echo "
  607.             <div class=\"page overflow-hidden\">
  608.                 <div class=\"page__bg\"></div>
  609.                 <div class=\"page__bg-top\" data-transition=\"element-pre-enter\"></div>
  610.                 <div class=\"page__content ";
  611.         // line 241
  612.         echo (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse241), "attributes", [], "any"falsefalsefalse241), "get", [=> "_route"], "method"falsefalsefalse241) == "homepage")) ? ("page__content_home") : ("margin-lr-auto"));
  613.         echo "\">
  614.                     ";
  615.         // line 242
  616.         $this->displayBlock('content'$context$blocks);
  617.         // line 243
  618.         echo "                </div>
  619.                 ";
  620.         // line 244
  621.         $this->displayBlock('extraContent'$context$blocks);
  622.         // line 245
  623.         echo "            </div>
  624.             ";
  625.         // line 247
  626.         $this->displayBlock('footer'$context$blocks);
  627.         // line 258
  628.         echo "
  629.             ";
  630.         // line 259
  631.         $this->displayBlock('modals'$context$blocks);
  632.         // line 260
  633.         echo "
  634.             ";
  635.         // line 264
  636.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse264), "locale", [], "any"falsefalsefalse264) == "it")) {
  637.             // line 265
  638.             echo "                ";
  639.             // line 280
  640.             echo "            ";
  641.         }
  642.         // line 281
  643.         echo "
  644.         ";
  645.         
  646.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  647.     }
  648.     // line 231
  649.     public function block_header($context, array $blocks = [])
  650.     {
  651.         $macros $this->macros;
  652.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  653.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  654.         // line 232
  655.         echo "                ";
  656.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\DefaultController::headerAction", ["route" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 234
  657. ($context["app"] ?? null), "request", [], "any"falsefalsefalse234), "attributes", [], "any"falsefalsefalse234), "get", [=> "_route"], "method"falsefalsefalse234)]));
  658.         // line 235
  659.         echo "
  660.             ";
  661.         
  662.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  663.     }
  664.     // line 242
  665.     public function block_content($context, array $blocks = [])
  666.     {
  667.         $macros $this->macros;
  668.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  669.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  670.         echo "";
  671.         
  672.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  673.     }
  674.     // line 244
  675.     public function block_extraContent($context, array $blocks = [])
  676.     {
  677.         $macros $this->macros;
  678.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  679.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""extraContent"));
  680.         echo "";
  681.         
  682.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  683.     }
  684.     // line 247
  685.     public function block_footer($context, array $blocks = [])
  686.     {
  687.         $macros $this->macros;
  688.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  689.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  690.         // line 248
  691.         echo "                ";
  692.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse248), "locale", [], "any"falsefalsefalse248) == "it")) {
  693.             // line 249
  694.             echo "                    ";
  695.             $this->loadTemplate("wheretobuy/_banner.html.twig""base.html.twig"249)->display(twig_array_merge($context, ["padding" => true]));
  696.             // line 250
  697.             echo "                ";
  698.         } else {
  699.             // line 251
  700.             echo "                    <div class=\"footer-top position-relative z-index-2\"></div>
  701.                 ";
  702.         }
  703.         // line 253
  704.         echo "
  705.                 ";
  706.         // line 254
  707.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\DefaultController::footerAction", ["banner" => true"color" => "white""spalmabile" => false"currentPath" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 255
  708. ($context["app"] ?? null), "request", [], "any"falsefalsefalse255), "get", [=> "_route"], "method"falsefalsefalse255)]));
  709.         // line 256
  710.         echo "
  711.             ";
  712.         
  713.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  714.     }
  715.     // line 259
  716.     public function block_modals($context, array $blocks = [])
  717.     {
  718.         $macros $this->macros;
  719.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  720.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  721.         echo "";
  722.         
  723.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  724.     }
  725.     // line 287
  726.     public function block_javascripts_body($context, array $blocks = [])
  727.     {
  728.         $macros $this->macros;
  729.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  730.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts_body"));
  731.         // line 288
  732.         echo "            <script type=\"text/javascript\" src=\"";
  733.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/gsap/gsap.js"), "html"nulltrue);
  734.         echo "?v=";
  735.         ((twig_get_attribute($this->env$this->source, ($context["busters"] ?? null), "js/gsap/gsap.js", [], "array"truetruefalse288)) ? (print (twig_escape_filter($this->env, (($__internal_compile_9 = ($context["busters"] ?? null)) && is_array($__internal_compile_9) || $__internal_compile_9 instanceof ArrayAccess ? ($__internal_compile_9["js/gsap/gsap.js"] ?? null) : null), "html"nulltrue))) : (print ("")));
  736.         echo "\"></script>
  737.             <script type=\"text/javascript\" src=\"";
  738.         // line 289
  739.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/gsap/ScrollTrigger.js"), "html"nulltrue);
  740.         echo "?v=";
  741.         ((twig_get_attribute($this->env$this->source, ($context["busters"] ?? null), "js/gsap/ScrollTrigger.js", [], "array"truetruefalse289)) ? (print (twig_escape_filter($this->env, (($__internal_compile_10 = ($context["busters"] ?? null)) && is_array($__internal_compile_10) || $__internal_compile_10 instanceof ArrayAccess ? ($__internal_compile_10["js/gsap/ScrollTrigger.js"] ?? null) : null), "html"nulltrue))) : (print ("")));
  742.         echo "\"></script>
  743.             <script type=\"text/javascript\" src=\"";
  744.         // line 290
  745.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/frontend/main.js"), "html"nulltrue);
  746.         echo "?v=";
  747.         ((twig_get_attribute($this->env$this->source, ($context["busters"] ?? null), "js/frontend/main.js", [], "array"truetruefalse290)) ? (print (twig_escape_filter($this->env, (($__internal_compile_11 = ($context["busters"] ?? null)) && is_array($__internal_compile_11) || $__internal_compile_11 instanceof ArrayAccess ? ($__internal_compile_11["js/frontend/main.js"] ?? null) : null), "html"nulltrue))) : (print ("")));
  748.         echo "\"></script>
  749.             ";
  750.         // line 292
  751.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse292), "locale", [], "any"falsefalsefalse292) == "it")) {
  752.             // line 293
  753.             echo "                <script type=\"text/javascript\">
  754.                     // MicroModal.init();
  755.                     // // MicroModal.show('modalVideo');
  756.                     //
  757.                     //   document.addEventListener(\"DOMContentLoaded\", function() {
  758.                     //     // --- CONFIG: imposta una stringa 'YYYY-MM-DD' per testare (o lascia null)
  759.                     //     const DEBUG_DATE = null; // ex: \"2025-10-24\" oppure null per usare la data reale
  760.                     //
  761.                     //     // --- helper per formattare la data come YYYY-MM-DD
  762.                     //     function formatYYYYMMDD(d) {
  763.                     //       const yyyy = d.getFullYear();
  764.                     //       const mm = String(d.getMonth() + 1).padStart(2, \"0\");
  765.                     //       const dd = String(d.getDate()).padStart(2, \"0\");
  766.                     //       return `\${yyyy}-\${mm}-\${dd}`;
  767.                     //     }
  768.                     //
  769.                     //     // --- ottenere \"oggi\" rispettando DEBUG_DATE se presente
  770.                     //     function getTodayDateObject() {
  771.                     //       if (DEBUG_DATE) {
  772.                     //         // crea Date da DEBUG_DATE (assume formato YYYY-MM-DD)
  773.                     //         const parts = DEBUG_DATE.split(\"-\");
  774.                     //         return new Date(Number(parts[0]), Number(parts[1]) - 1, Number(parts[2]));
  775.                     //       }
  776.                     //       return new Date();
  777.                     //     }
  778.                     //
  779.                     //     // --- cookie base helpers ---
  780.                     //     function setRawCookie(name, value, expiresDate) {
  781.                     //       const expires = expiresDate ? `; expires=\${expiresDate.toUTCString()}` : \"\";
  782.                     //       document.cookie = `\${name}=\${encodeURIComponent(value)}\${expires}; path=/`;
  783.                     //     }
  784.                     //
  785.                     //     function getRawCookie(name) {
  786.                     //       const value = `; \${document.cookie}`;
  787.                     //       const parts = value.split(`; \${name}=`);
  788.                     //       if (parts.length === 2) return decodeURIComponent(parts.pop().split(\";\").shift());
  789.                     //       return null;
  790.                     //     }
  791.                     //
  792.                     //     // --- setta cookie con valore = data odierna (YYYY-MM-DD) e scadenza a mezzanotte successiva ---
  793.                     //     function setCookieWithDate(name) {
  794.                     //       const today = getTodayDateObject();
  795.                     //       const dateStr = formatYYYYMMDD(today);
  796.                     //
  797.                     //       // calcola mezzanotte del giorno successivo
  798.                     //       const midnight = new Date(today);
  799.                     //       midnight.setHours(24, 0, 0, 0); // mezzanotte successiva
  800.                     //       setRawCookie(name, dateStr, midnight);
  801.                     //
  802.                     //       console.log(`[Modal] Imposto cookie \"\${name}\" = \${dateStr} (scade: \${midnight.toString()})`);
  803.                     //     }
  804.                     //
  805.                     //     // --- ritorna la data memorizzata nel cookie solo se corrisponde alla \"data corrente\" ---
  806.                     //     function getValidCookieDate(name) {
  807.                     //       const stored = getRawCookie(name);
  808.                     //       if (!stored) return null;
  809.                     //
  810.                     //       const today = getTodayDateObject();
  811.                     //       const todayStr = formatYYYYMMDD(today);
  812.                     //
  813.                     //       if (stored === todayStr) {
  814.                     //         console.log(`[Modal] Cookie \"\${name}\" valido per oggi: \${stored}`);
  815.                     //         return stored;
  816.                     //       } else {
  817.                     //         console.log(`[Modal] Cookie \"\${name}\" presente ma non corrisponde a oggi (cookie: \${stored} - oggi: \${todayStr}) -> ignoro`);
  818.                     //         return null;
  819.                     //       }
  820.                     //     }
  821.                     //
  822.                     //     // --- configurazione principale ---
  823.                     //     const modalId = \"modalVideo\";
  824.                     //     const modalCookieName = \"modalVideoSeenDate\";
  825.                     //
  826.                     //     // se il cookie valido per oggi esiste -> non mostrare la modale
  827.                     //     if (getValidCookieDate(modalCookieName)) {
  828.                     //       console.log(\"[Modal] già visto oggi: non mostro la modale.\");
  829.                     //       return;
  830.                     //     }
  831.                     //
  832.                     //     let cookieSet = false;
  833.                     //     function markModalSeen() {
  834.                     //       if (cookieSet) return;
  835.                     //       cookieSet = true;
  836.                     //       setCookieWithDate(modalCookieName);
  837.                     //
  838.                     //       removeCloseListeners();
  839.                     //     }
  840.                     //
  841.                     //     // --- listeners fallback per garantire che il cookie venga impostato ---
  842.                     //     const closeSelectors = `[data-micromodal-close], .micromodal-close`;
  843.                     //     let closeElements = [];
  844.                     //
  845.                     //     function addCloseListeners() {
  846.                     //       const modalEl = document.getElementById(modalId);
  847.                     //       if (!modalEl) {
  848.                     //         console.warn(`[Modal] elemento con id=\"\${modalId}\" non trovato.`);
  849.                     //         return;
  850.                     //       }
  851.                     //
  852.                     //       closeElements = Array.from(modalEl.querySelectorAll(closeSelectors));
  853.                     //       closeElements.forEach(el => el.addEventListener(\"click\", markModalSeen));
  854.                     //
  855.                     //       document.addEventListener(\"keydown\", escHandler);
  856.                     //       // fallback per event custom se presente
  857.                     //       document.addEventListener(\"micromodal-close\", markModalSeen);
  858.                     //     }
  859.                     //
  860.                     //     function removeCloseListeners() {
  861.                     //       closeElements.forEach(el => {
  862.                     //         try { el.removeEventListener(\"click\", markModalSeen); } catch(e){}
  863.                     //       });
  864.                     //       document.removeEventListener(\"keydown\", escHandler);
  865.                     //       document.removeEventListener(\"micromodal-close\", markModalSeen);
  866.                     //     }
  867.                     //
  868.                     //     function escHandler(e) {
  869.                     //       if (e.key === \"Escape\" || e.key === \"Esc\") {
  870.                     //         const modalEl = document.getElementById(modalId);
  871.                     //         if (!modalEl) return;
  872.                     //
  873.                     //         const ariaHidden = modalEl.getAttribute(\"aria-hidden\");
  874.                     //         if (modalEl.classList.contains(\"is-open\") || ariaHidden === \"false\") {
  875.                     //           markModalSeen();
  876.                     //         }
  877.                     //       }
  878.                     //     }
  879.                     //
  880.                     //     // --- inizializzazione MicroModal con onClose che imposta il cookie ---
  881.                     //     MicroModal.init({
  882.                     //       onClose: () => {
  883.                     //         console.log(\"[Modal] MicroModal onClose fired\");
  884.                     //         markModalSeen();
  885.                     //       }
  886.                     //     });
  887.                     //
  888.                     //     // aggiungiamo fallback listeners e mostriamo la modale dopo load
  889.                     //     addCloseListeners();
  890.                     //     window.addEventListener(\"load\", function() {
  891.                     //       setTimeout(() => {
  892.                     //
  893.                     //         if (!getValidCookieDate(modalCookieName)) {
  894.                     //           MicroModal.show(modalId);
  895.                     //           console.log(`[Modal] Mostro la modale: \${modalId}`);
  896.                     //         } else {
  897.                     //           console.log(\"[Modal] Cookie valido trovato al momento del load: non mostro.\");
  898.                     //         }
  899.                     //       }, 2000);
  900.                     //     });
  901.                     //
  902.                     //   });
  903.                 </script>
  904.             ";
  905.         }
  906.         // line 445
  907.         echo "        ";
  908.         
  909.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  910.     }
  911.     // line 447
  912.     public function block_javascripts_iubenda($context, array $blocks = [])
  913.     {
  914.         $macros $this->macros;
  915.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  916.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts_iubenda"));
  917.         // line 448
  918.         echo "
  919.             <script>
  920.                 var _iub = _iub || [];
  921.                 _iub.csConfiguration = {
  922.                     \"invalidateConsentWithoutLog\": true,
  923.                     \"consentOnContinuedBrowsing\": false,
  924.                     \"perPurposeConsent\": true,
  925.                     \"whitelabel\": false,
  926.                     \"lang\": iubendaIds[locale].locale,
  927.                     \"siteId\": iubendaIds[locale].siteId,
  928.                     \"floatingPreferencesButtonDisplay\": \"bottom-left\",
  929.                     \"cookiePolicyId\": iubendaIds[locale].cookiePolicyId,
  930.                     \"callback\": {
  931.                         \"onPreferenceFirstExpressed\": function(event) {
  932.                             onConsent(event);
  933.                         }
  934.                     },
  935.                     \"banner\": {
  936.                         \"closeButtonRejects\": true,
  937.                         \"rejectButtonDisplay\": true,
  938.                         \"rejectButtonColor\": \"#647163\",
  939.                         \"rejectButtonCaptionColor\": \"white\",
  940.                         \"explicitWithdrawal\": true,
  941.                         \"position\": \"float-center\",
  942.                         \"textColor\": \"black\",
  943.                         \"backgroundColor\": \"white\",
  944.                         \"listPurposes\": true,
  945.                         \"acceptButtonDisplay\": true,
  946.                         \"acceptButtonColor\": \"#5b7359\",
  947.                         \"acceptButtonCaptionColor\": \"white\",
  948.                         \"customizeButtonDisplay\": true,
  949.                         \"customizeButtonColor\": \"#686868\",
  950.                         \"customizeButtonCaptionColor\": \"white\"
  951.                     }
  952.                 };
  953.             </script>
  954.             <script type=\"text/javascript\" src=\"//cdn.iubenda.com/cs/gpp/stub.js\"></script>
  955.             <script type=\"text/javascript\" src=\"//cdn.iubenda.com/cs/iubenda_cs.js\" charset=\"UTF-8\" async></script>
  956.         ";
  957.         
  958.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  959.     }
  960.     public function getTemplateName()
  961.     {
  962.         return "base.html.twig";
  963.     }
  964.     public function isTraitable()
  965.     {
  966.         return false;
  967.     }
  968.     public function getDebugInfo()
  969.     {
  970.         return array (  1015 => 448,  1008 => 447,  1001 => 445,  847 => 293,  845 => 292,  838 => 290,  832 => 289,  825 => 288,  818 => 287,  805 => 259,  797 => 256,  795 => 255,  794 => 254,  791 => 253,  787 => 251,  784 => 250,  781 => 249,  778 => 248,  771 => 247,  758 => 244,  745 => 242,  737 => 235,  735 => 234,  733 => 232,  726 => 231,  714 => 281,  711 => 280,  709 => 265,  707 => 264,  701 => 260,  699 => 259,  696 => 258,  694 => 247,  690 => 245,  688 => 244,  685 => 243,  683 => 242,  679 => 241,  673 => 237,  671 => 231,  666 => 229,  661 => 226,  654 => 225,  645 => 221,  638 => 220,  613 => 218,  601 => 210,  594 => 209,  582 => 126,  578 => 125,  574 => 124,  569 => 122,  564 => 119,  557 => 118,  544 => 107,  531 => 105,  518 => 91,  512 => 90,  506 => 89,  500 => 88,  494 => 87,  488 => 86,  484 => 85,  479 => 84,  468 => 74,  466 => 71,  459 => 70,  452 => 48,  447 => 45,  442 => 42,  439 => 41,  432 => 40,  425 => 38,  422 => 37,  411 => 35,  406 => 34,  403 => 33,  392 => 31,  387 => 30,  384 => 29,  377 => 28,  370 => 26,  364 => 24,  361 => 23,  354 => 22,  346 => 19,  343 => 18,  340 => 17,  337 => 16,  334 => 15,  332 => 14,  329 => 13,  322 => 12,  313 => 488,  311 => 447,  308 => 446,  305 => 287,  303 => 225,  300 => 224,  298 => 220,  285 => 218,  281 => 216,  279 => 209,  213 => 146,  199 => 135,  193 => 131,  191 => 118,  181 => 110,  179 => 7,  175 => 108,  173 => 107,  170 => 106,  168 => 105,  160 => 101,  156 => 100,  149 => 95,  147 => 70,  131 => 56,  118 => 54,  113 => 53,  111 => 52,  106 => 50,  103 => 49,  101 => 40,  98 => 39,  96 => 28,  93 => 27,  91 => 22,  88 => 21,  86 => 12,  80 => 8,  78 => 7,  75 => 6,  72 => 5,  69 => 4,  67 => 3,  63 => 2,  60 => 1,);
  971.     }
  972.     public function getSourceContext()
  973.     {
  974.         return new Source("""base.html.twig""/var/www/releases/78/templates/base.html.twig");
  975.     }
  976. }