var/cache/dev/twig/8a/8a0b3e6eb76cce3d1452f9e30f90aacf.php line 50

  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. /* prodotti/productDetailOld.html.twig */
  14. class __TwigTemplate_3761ac5b7cf86f534fb2263a0b638be1 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->blocks = [
  23.             'bodyClass' => [$this'block_bodyClass'],
  24.             'content' => [$this'block_content'],
  25.             'javascripts_body' => [$this'block_javascripts_body'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "base.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""prodotti/productDetailOld.html.twig"));
  38.         // line 3
  39.         $macros["page"] = $this->macros["page"] = $this->loadTemplate("partials/macros/_breadcrumbs.html.twig""prodotti/productDetailOld.html.twig"3)->unwrap();
  40.         // line 1
  41.         $this->parent $this->loadTemplate("base.html.twig""prodotti/productDetailOld.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.     }
  46.     // line 5
  47.     public function block_bodyClass($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyClass"));
  52.         echo twig_escape_filter($this->env, ("single-prodotto" . (((twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "productCategory", [], "any"falsefalsefalse5) && (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "productCategory", [], "any"falsefalsefalse5), "identifier", [], "any"falsefalsefalse5) == "CAMPIAMATI"))) ? (" body_app-show-category-ortofrutta") : (""))), "html"nulltrue);
  53.         
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  55.     }
  56.     // line 7
  57.     public function block_content($context, array $blocks = [])
  58.     {
  59.         $macros $this->macros;
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  62.         // line 8
  63.         echo "
  64.     ";
  65.         // line 9
  66.         $context["listBreadcrumbs"] = [=> [=> $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_show_category", ["category_slug" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 10
  67. ($context["product"] ?? null), "type", [], "any"falsefalsefalse10), "productType", [], "any"falsefalsefalse10), "slug", [], "any"falsefalsefalse10)]), => ("menu." twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "type", [], "any"falsefalsefalse10), "productType", [], "any"falsefalsefalse10), "slug", [], "any"falsefalsefalse10))], => [=> ""=> twig_get_attribute($this->env$this->source,         // line 11
  68. ($context["product"] ?? null), "name", [], "any"falsefalsefalse11)]];
  69.         // line 13
  70.         echo "
  71.     ";
  72.         // line 14
  73.         echo twig_call_macro($macros["page"], "macro_breadcrumbs", [($context["listBreadcrumbs"] ?? null)], 14$context$this->getSourceContext());
  74.         echo "
  75.     <section class=\"wow animate__fadeIn padding-100px-bottom md-padding-60px-bottom sm-padding-30px-bottom single-prodotto\">
  76.         <div class=\"container-fluid\">
  77.             <div class=\"row justify-content-center\">
  78.                 <div class=\"col-12 col-sm-6 col-lg-4 order-1 order-sm-1 order-lg-2 text-center text-sm-end\">
  79.                     <h1 class=\"margin-20px-bottom\">
  80.                         ";
  81.         // line 21
  82.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "name", [], "any"falsefalsefalse21), "html"nulltrue);
  83.         echo "
  84.                     </h1>
  85.                     <div class=\"easyadmin-output margin-40px-bottom\">
  86.                         ";
  87.         // line 24
  88.         echo twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "description", [], "any"falsefalsefalse24);
  89.         echo "
  90.                     </div>
  91.                     ";
  92.         // line 26
  93.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse26), "locale", [], "any"falsefalsefalse26) == "it")) {
  94.             // line 27
  95.             echo "                        <a class=\"button button_color_jewel button_size_medium\" href=\"";
  96.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_wheretobuy");
  97.             echo "\">
  98.                             ";
  99.             // line 28
  100.             echo twig_escape_filter($this->envtwig_upper_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("products_detail.where_to_buy", [], "pages")), "html"nulltrue);
  101.             echo "
  102.                         </a>
  103.                     ";
  104.         }
  105.         // line 31
  106.         echo "                </div>
  107.                 <div class=\"col-10 col-sm-6 col-lg-4 order-0 order-sm-0 order-lg-1 position-relative z-index-2\">
  108.                     ";
  109.         // line 33
  110.         if (( !(null === twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "imagePackName", [], "any"falsefalsefalse33)) && twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "imagePackName", [], "any"truetruefalse33))) {
  111.             // line 34
  112.             echo "                        <div class=\"\" data-js=\"product\">
  113.                             ";
  114.             // line 35
  115.             if (twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "new", [], "any"falsefalsefalse35)) {
  116.                 // line 36
  117.                 echo "                                ";
  118.                 $this->loadTemplate("partials/badge/_badge_new.html.twig""prodotti/productDetailOld.html.twig"36)->display($context);
  119.                 // line 37
  120.                 echo "                            ";
  121.             }
  122.             // line 38
  123.             echo "                            <img
  124.                                     class=\"sm-margin-30px-bottom product-png-shadow\"
  125.                                     src=\"";
  126.             // line 40
  127.             echo twig_escape_filter($this->env, ("/uploads/images/product/" twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "imagePackName", [], "any"falsefalsefalse40)), "html"nulltrue);
  128.             echo "\"
  129.                                     alt=\"";
  130.             // line 41
  131.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "name", [], "any"falsefalsefalse41), "html"nulltrue);
  132.             echo "\">
  133.                         </div>
  134.                     ";
  135.         }
  136.         // line 44
  137.         echo "                </div>
  138.                 ";
  139.         // line 47
  140.         if (twig_in_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "type", [], "any"falsefalsefalse47), "productType", [], "any"falsefalsefalse47), "slug", [], "any"falsefalsefalse47), [=> "ortofrutta"])) {
  141.             // line 48
  142.             echo "                    <div class=\"col-12 col-sm-6 col-lg-4 offset-sm-6 offset-lg-0 order-2 order-sm-2 order-lg-0 align-self-end sm-margin-30px-top sm-padding-30px-top md-padding-60px-top\">
  143.                         <div class=\"d-flex align-items-center margin-20px-right\">
  144.                             <div class=\"border-radius-50 d-flex margin-10px-right padding-10px-all Bgc(white) H(80px) W(80px) Ar(1/1)\">
  145.                                 <div class=\"\">
  146.                                     <img src=\"";
  147.             // line 53
  148.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/frontend/products/campiamati/cottura_padella.jpg"), "html"nulltrue);
  149.             echo "\" alt=\"";
  150.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "type", [], "any"falsefalsefalse53), "productType", [], "any"falsefalsefalse53), "slug", [], "any"falsefalsefalse53) . ".padella"), [], "pages"), "html"nulltrue);
  151.             echo "\">
  152.                                 </div>
  153.                             </div>
  154.                             <span class=\"text-start\">
  155.                                 ";
  156.             // line 57
  157.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "type", [], "any"falsefalsefalse57), "productType", [], "any"falsefalsefalse57), "slug", [], "any"falsefalsefalse57) . ".padella"), [], "pages"), "html"nulltrue);
  158.             echo "
  159.                             </span>
  160.                         </div>
  161.                         <div class=\"d-flex align-items-center margin-20px-right margin-20px-top\">
  162.                             <div class=\"border-radius-50 d-flex margin-10px-right padding-10px-all Bgc(white) H(80px) W(80px) Ar(1/1)\">
  163.                                 <div class=\"\">
  164.                                     <img src=\"";
  165.             // line 64
  166.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/frontend/products/campiamati/cottura_forno.jpg"), "html"nulltrue);
  167.             echo "\" alt=\"";
  168.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "type", [], "any"falsefalsefalse64), "productType", [], "any"falsefalsefalse64), "slug", [], "any"falsefalsefalse64) . ".forno"), [], "pages"), "html"nulltrue);
  169.             echo "\">
  170.                                 </div>
  171.                             </div>
  172.                             <span class=\"text-start\">
  173.                                 ";
  174.             // line 68
  175.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "type", [], "any"falsefalsefalse68), "productType", [], "any"falsefalsefalse68), "slug", [], "any"falsefalsefalse68) . ".forno"), [], "pages"), "html"nulltrue);
  176.             echo "
  177.                             </span>
  178.                         </div>
  179.                         <div class=\"d-flex align-items-center margin-20px-right margin-20px-top\">
  180.                             <div class=\"border-radius-50 d-flex margin-10px-right padding-10px-all Bgc(white) H(80px) W(80px) Ar(1/1)\">
  181.                                 <div class=\"\">
  182.                                     <img src=\"";
  183.             // line 75
  184.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/frontend/products/campiamati/cottura_friggitrice.jpg"), "html"nulltrue);
  185.             echo "\" alt=\"";
  186.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "type", [], "any"falsefalsefalse75), "productType", [], "any"falsefalsefalse75), "slug", [], "any"falsefalsefalse75) . ".friggitrice"), [], "pages"), "html"nulltrue);
  187.             echo "\">
  188.                                 </div>
  189.                             </div>
  190.                             <span class=\"text-start\">
  191.                                 ";
  192.             // line 79
  193.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "type", [], "any"falsefalsefalse79), "productType", [], "any"falsefalsefalse79), "slug", [], "any"falsefalsefalse79) . ".friggitrice"), [], "pages"), "html"nulltrue);
  194.             echo "
  195.                             </span>
  196.                         </div>
  197.                     </div>
  198.                 ";
  199.         } elseif (twig_in_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 83
  200. ($context["product"] ?? null), "type", [], "any"falsefalsefalse83), "productType", [], "any"falsefalsefalse83), "slug", [], "any"falsefalsefalse83), [=> "kroccanti"])) {
  201.             // line 84
  202.             echo "                    <div class=\"col-12 col-sm-6 col-lg-4 offset-sm-6 offset-lg-0 order-2 order-sm-2 order-lg-0 align-self-end sm-margin-30px-top sm-padding-30px-top md-padding-60px-top\">
  203.                         <div class=\"d-flex align-items-center margin-20px-right\">
  204.                             <div class=\"border-radius-50 d-flex margin-10px-right padding-10px-all Bgc(white) H(80px) W(80px) Ar(1/1)\">
  205.                                 <div class=\"\">
  206.                                     <img src=\"";
  207.             // line 89
  208.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/svg/kroccanti-padella.svg"), "html"nulltrue);
  209.             echo "\" alt=\"";
  210.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "type", [], "any"falsefalsefalse89), "productType", [], "any"falsefalsefalse89), "slug", [], "any"falsefalsefalse89) . ".padella"), [], "pages"), "html"nulltrue);
  211.             echo "\">
  212.                                 </div>
  213.                             </div>
  214.                             <span class=\"text-start\">
  215.                                 ";
  216.             // line 93
  217.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "type", [], "any"falsefalsefalse93), "productType", [], "any"falsefalsefalse93), "slug", [], "any"falsefalsefalse93) . ".padella"), [], "pages"), "html"nulltrue);
  218.             echo "
  219.                             </span>
  220.                         </div>
  221.                         <div class=\"d-flex align-items-center margin-20px-right margin-20px-top\">
  222.                             <div class=\"border-radius-50 d-flex margin-10px-right padding-10px-all Bgc(white) H(80px) W(80px) Ar(1/1)\">
  223.                                 <div class=\"\">
  224.                                     <img src=\"";
  225.             // line 100
  226.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/svg/kroccanti-forno.svg"), "html"nulltrue);
  227.             echo "\" alt=\"";
  228.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "type", [], "any"falsefalsefalse100), "productType", [], "any"falsefalsefalse100), "slug", [], "any"falsefalsefalse100) . ".forno"), [], "pages"), "html"nulltrue);
  229.             echo "\">
  230.                                 </div>
  231.                             </div>
  232.                             <span class=\"text-start\">
  233.                                 ";
  234.             // line 104
  235.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "type", [], "any"falsefalsefalse104), "productType", [], "any"falsefalsefalse104), "slug", [], "any"falsefalsefalse104) . ".forno"), [], "pages"), "html"nulltrue);
  236.             echo "
  237.                             </span>
  238.                         </div>
  239.                         <div class=\"d-flex align-items-center margin-20px-right margin-20px-top\">
  240.                             <div class=\"border-radius-50 d-flex margin-10px-right padding-10px-all Bgc(white) H(80px) W(80px) Ar(1/1)\">
  241.                                 <div class=\"\">
  242.                                     <img src=\"";
  243.             // line 111
  244.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/svg/kroccanti-friggitrice.svg"), "html"nulltrue);
  245.             echo "\" alt=\"";
  246.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "type", [], "any"falsefalsefalse111), "productType", [], "any"falsefalsefalse111), "slug", [], "any"falsefalsefalse111) . ".friggitrice"), [], "pages"), "html"nulltrue);
  247.             echo "\">
  248.                                 </div>
  249.                             </div>
  250.                             <span class=\"text-start\">
  251.                                 ";
  252.             // line 115
  253.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "type", [], "any"falsefalsefalse115), "productType", [], "any"falsefalsefalse115), "slug", [], "any"falsefalsefalse115) . ".friggitrice"), [], "pages"), "html"nulltrue);
  254.             echo "
  255.                             </span>
  256.                         </div>
  257.                     </div>
  258.                 ";
  259.         } else {
  260.             // line 120
  261.             echo "                    <div class=\"col-12 col-sm-6 col-lg-4 offset-sm-6 offset-lg-0 order-2 order-sm-2 order-lg-0 align-self-end sm-margin-30px-top sm-padding-30px-top md-padding-60px-top\">
  262.                         ";
  263.             // line 122
  264.             if (twig_in_filter("~FRESH~"twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "tagValues", [], "any"falsefalsefalse122))) {
  265.                 // line 123
  266.                 echo "
  267.                             <div class=\"typologyBadge d-flex align-items-center Mb(40px) Mb(80px)--md\">
  268.                                 <div class=\"typologyBadge__item typologyBadge__item__fresh\">
  269.                                     <img src=\"";
  270.                 // line 126
  271.                 echo twig_escape_filter($this->env$this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/images/webp/frontend/products/icona_freschi.webp"), "size_100_100"), "html"nulltrue);
  272.                 echo "\"
  273.                                          class=\"W(50px) H(50px)\"
  274.                                          alt=\"Freschi\"
  275.                                          title=\"Freschi\"
  276.                                          width=\"100\"
  277.                                          height=\"100\"
  278.                                          loading=\"lazy\">
  279.                                     <span class=\"Mstart(10px)\">Freschi</span>
  280.                                 </div>
  281.                             </div>
  282.                         ";
  283.             } elseif (twig_in_filter("~FROZEN~"twig_get_attribute($this->env$this->source,             // line 137
  284. ($context["product"] ?? null), "tagValues", [], "any"falsefalsefalse137))) {
  285.                 // line 138
  286.                 echo "
  287.                             <div class=\"typologyBadge d-flex align-items-center Mb(40px) Mb(80px)--md\">
  288.                                 <div class=\"typologyBadge__item typologyBadge__item__frozen\">
  289.                                     <img src=\"";
  290.                 // line 141
  291.                 echo twig_escape_filter($this->env$this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/images/webp/frontend/products/icona_surgelati_blu.webp"), "size_100_100"), "html"nulltrue);
  292.                 echo "\"
  293.                                          class=\"W(50px) H(50px)\"
  294.                                          alt=\"Surgelati\"
  295.                                          title=\"Surgelati\"
  296.                                          width=\"100\"
  297.                                          height=\"100\"
  298.                                          loading=\"lazy\">
  299.                                     <span class=\"Mstart(10px)\">Surgelati</span>
  300.                                 </div>
  301.                             </div>
  302.                         ";
  303.             }
  304.             // line 153
  305.             echo "
  306.                         ";
  307.             // line 154
  308.             $context['_parent'] = $context;
  309.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "generalInformations", [], "any"falsefalsefalse154));
  310.             $context['loop'] = [
  311.               'parent' => $context['_parent'],
  312.               'index0' => 0,
  313.               'index'  => 1,
  314.               'first'  => true,
  315.             ];
  316.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  317.                 $length count($context['_seq']);
  318.                 $context['loop']['revindex0'] = $length 1;
  319.                 $context['loop']['revindex'] = $length;
  320.                 $context['loop']['length'] = $length;
  321.                 $context['loop']['last'] = === $length;
  322.             }
  323.             foreach ($context['_seq'] as $context["key"] => $context["value"]) {
  324.                 // line 155
  325.                 echo "                            <div class=\"d-flex align-items-center margin-20px-right ";
  326.                 if ( !twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse155)) {
  327.                     echo "margin-20px-top";
  328.                 }
  329.                 echo "\">
  330.                                 <div class=\"border-radius-50 d-flex margin-10px-right padding-10px-all w-50px Bgc(la-rioja) H(50px)\">
  331.                                     ";
  332.                 // line 157
  333.                 if ((twig_lower_filter($this->env$context["key"]) == "proteine")) {
  334.                     // line 158
  335.                     echo "                                        ";
  336.                     $this->loadTemplate("partials/svg/_icon_muscle.svg.twig""prodotti/productDetailOld.html.twig"158)->display($context);
  337.                     // line 159
  338.                     echo "                                    ";
  339.                 } elseif ((twig_lower_filter($this->env$context["key"]) == "tipo_di_vegetale")) {
  340.                     // line 160
  341.                     echo "                                        ";
  342.                     $this->loadTemplate("partials/svg/_icon_bell_pepper_capsicum.svg.twig""prodotti/productDetailOld.html.twig"160)->display($context);
  343.                     // line 161
  344.                     echo "                                    ";
  345.                 } elseif ((twig_lower_filter($this->env$context["key"]) == "tempo")) {
  346.                     // line 162
  347.                     echo "                                        ";
  348.                     $this->loadTemplate("partials/svg/_icon_clock_time.svg.twig""prodotti/productDetailOld.html.twig"162)->display($context);
  349.                     // line 163
  350.                     echo "                                    ";
  351.                 } elseif ((twig_lower_filter($this->env$context["key"]) == "pack")) {
  352.                     // line 164
  353.                     echo "                                        ";
  354.                     $this->loadTemplate("partials/svg/_icon_box.svg.twig""prodotti/productDetailOld.html.twig"164)->display($context);
  355.                     // line 165
  356.                     echo "                                    ";
  357.                 } elseif ((twig_lower_filter($this->env$context["key"]) == "porzioni")) {
  358.                     // line 166
  359.                     echo "                                        ";
  360.                     $this->loadTemplate("partials/svg/_icon_fork_and_knife.svg.twig""prodotti/productDetailOld.html.twig"166)->display($context);
  361.                     // line 167
  362.                     echo "                                    ";
  363.                 }
  364.                 // line 168
  365.                 echo "                                </div>
  366.                                 <span class=\"text-start\">
  367.                                     ";
  368.                 // line 170
  369.                 echo twig_escape_filter($this->env$context["value"], "html"nulltrue);
  370.                 echo "
  371.                                 </span>
  372.                             </div>
  373.                         ";
  374.                 ++$context['loop']['index0'];
  375.                 ++$context['loop']['index'];
  376.                 $context['loop']['first'] = false;
  377.                 if (isset($context['loop']['length'])) {
  378.                     --$context['loop']['revindex0'];
  379.                     --$context['loop']['revindex'];
  380.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  381.                 }
  382.             }
  383.             $_parent $context['_parent'];
  384.             unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
  385.             $context array_intersect_key($context$_parent) + $_parent;
  386.             // line 174
  387.             echo "
  388.                         ";
  389.             // line 175
  390.             $context['_parent'] = $context;
  391.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "plus", [], "any"falsefalsefalse175));
  392.             $context['loop'] = [
  393.               'parent' => $context['_parent'],
  394.               'index0' => 0,
  395.               'index'  => 1,
  396.               'first'  => true,
  397.             ];
  398.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  399.                 $length count($context['_seq']);
  400.                 $context['loop']['revindex0'] = $length 1;
  401.                 $context['loop']['revindex'] = $length;
  402.                 $context['loop']['length'] = $length;
  403.                 $context['loop']['last'] = === $length;
  404.             }
  405.             foreach ($context['_seq'] as $context["_key"] => $context["value"]) {
  406.                 // line 176
  407.                 echo "                            <div class=\"d-flex align-items-center margin-20px-top margin-20px-right\">
  408.                                 <div class=\"border-radius-50 d-flex margin-10px-right padding-10px-all w-50px Bgc(la-rioja) H(50px)\">
  409.                                     ";
  410.                 // line 178
  411.                 $this->loadTemplate("partials/svg/_icon_exclamation.svg.twig""prodotti/productDetailOld.html.twig"178)->display($context);
  412.                 // line 179
  413.                 echo "                                </div>
  414.                                 <span class=\"text-start\">
  415.                                     ";
  416.                 // line 181
  417.                 echo twig_escape_filter($this->env$context["value"], "html"nulltrue);
  418.                 echo "
  419.                                 </span>
  420.                             </div>
  421.                         ";
  422.                 ++$context['loop']['index0'];
  423.                 ++$context['loop']['index'];
  424.                 $context['loop']['first'] = false;
  425.                 if (isset($context['loop']['length'])) {
  426.                     --$context['loop']['revindex0'];
  427.                     --$context['loop']['revindex'];
  428.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  429.                 }
  430.             }
  431.             $_parent $context['_parent'];
  432.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['value'], $context['_parent'], $context['loop']);
  433.             $context array_intersect_key($context$_parent) + $_parent;
  434.             // line 185
  435.             echo "                    </div>
  436.                 ";
  437.         }
  438.         // line 187
  439.         echo "
  440.             </div>
  441.         </div>
  442.     </section>
  443.     <section class=\"wow animate__fadeInUp padding-100px-bottom md-padding-60px-bottom sm-padding-30px-bottom\">
  444.         <div class=\"container-fluid\">
  445.             <div class=\"row align-items-center\">
  446.                 <div class=\"col-12 col-sm-6 col-lg-4 offset-sm-6 offset-lg-4 order-sm-1 sm-padding-30px-top md-padding-60px-top text-sm-end\">
  447.                     <h3 class=\"margin-40px-bottom\">
  448.                         ";
  449.         // line 198
  450.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("products_detail.ingredients", [], "pages"), "html"nulltrue);
  451.         echo "
  452.                     </h3>
  453.                     <div class=\"easyadmin-output\">
  454.                         ";
  455.         // line 201
  456.         echo twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "ingredients", [], "any"falsefalsefalse201);
  457.         echo "
  458.                     </div>
  459.                 </div>
  460.                 <div class=\"col-12 col-sm-6 offset-sm-6 offset-lg-0 col-lg-4 order-sm-0\">
  461.                     <div class=\"icon-large sm-margin-40px-top margin-10px-bottom w-70px C(jewel)\">
  462.                         ";
  463.         // line 206
  464.         $this->loadTemplate("partials/svg/_icon_quote_left.svg.twig""prodotti/productDetailOld.html.twig"206)->display($context);
  465.         // line 207
  466.         echo "                    </div>
  467.                     <p class=\"margin-50px-bottom md-margin-20px-bottom text-sm-end text-lg-start\">
  468.                         ";
  469.         // line 209
  470.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "type", [], "any"falsefalsefalse209), "productType", [], "any"falsefalsefalse209), "slug", [], "any"falsefalsefalse209) == "dolci")) {
  471.             // line 210
  472.             echo "                            ";
  473.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("products_detail.quote_dolci", [], "pages"), "html"nulltrue);
  474.             echo "
  475.                         ";
  476.         } else {
  477.             // line 212
  478.             echo "                            ";
  479.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("products_detail.quote", [], "pages"), "html"nulltrue);
  480.             echo "
  481.                         ";
  482.         }
  483.         // line 214
  484.         echo "                    </p>
  485.                 </div>
  486.             </div>
  487.         </div>
  488.     </section>
  489.     <section class=\"wow animate__fadeInUp sm-padding-30px-bottom\">
  490.         <div class=\"container-fluid\">
  491.             <div class=\"row\">
  492.                 <div class=\"col-12 col-sm-6 col-lg-4 offset-sm-6 offset-lg-0 padding-100px-bottom md-padding-60px-bottom\">
  493.                     ";
  494.         // line 224
  495.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "nutritionalValues", [], "any"falsefalsefalse224)) > 0)) {
  496.             // line 225
  497.             echo "                        <h3 class=\"margin-40px-bottom text-sm-end text-lg-start\">
  498.                             ";
  499.             // line 226
  500.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("products_detail.nutritional_values.title", [], "pages"), "html"nulltrue);
  501.             echo "
  502.                         </h3>
  503.                         <p class=\"margin-20px-bottom text-small text-end\">
  504.                             ";
  505.             // line 229
  506.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("products_detail.nutritional_values.average_values", [], "pages"), "html"nulltrue);
  507.             echo "
  508.                         </p>
  509.                         <table class=\"w-100\">
  510.                             <tbody>
  511.                                 ";
  512.             // line 233
  513.             $context['_parent'] = $context;
  514.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "nutritionalValues", [], "any"falsefalsefalse233));
  515.             foreach ($context['_seq'] as $context["key"] => $context["value"]) {
  516.                 // line 234
  517.                 echo "                                    <tr class=\"Bds(d) Bdbw(3px) Bdbc(la-rioja)\">
  518.                                         <td class=\"padding-10px-all text-start\">
  519.                                             ";
  520.                 // line 236
  521.                 if (twig_in_filter($context["key"], [=> "di_cui_saturi"=> "di_cui_zuccheri"])) {
  522.                 } else {
  523.                     echo "<strong>";
  524.                 }
  525.                 // line 237
  526.                 echo "                                                ";
  527.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(("products_detail.nutritional_values.table." twig_lower_filter($this->env$context["key"])), [], "pages"), "html"nulltrue);
  528.                 echo "
  529.                                             ";
  530.                 // line 238
  531.                 if (twig_in_filter($context["key"], [=> "di_cui_saturi"=> "di_cui_zuccheri"])) {
  532.                 } else {
  533.                     echo "</strong>";
  534.                 }
  535.                 // line 239
  536.                 echo "                                        </td>
  537.                                         <td class=\"padding-10px-all text-end\">
  538.                                             ";
  539.                 // line 241
  540.                 if (twig_in_filter($context["key"], [=> "di_cui_saturi"=> "di_cui_zuccheri"])) {
  541.                 } else {
  542.                     echo "<strong>";
  543.                 }
  544.                 // line 242
  545.                 echo "                                                ";
  546.                 echo twig_escape_filter($this->env$context["value"], "html"nulltrue);
  547.                 echo "
  548.                                             ";
  549.                 // line 243
  550.                 if (twig_in_filter($context["key"], [=> "di_cui_saturi"=> "di_cui_zuccheri"])) {
  551.                 } else {
  552.                     echo "</strong>";
  553.                 }
  554.                 // line 244
  555.                 echo "                                        </td>
  556.                                     </tr>
  557.                                 ";
  558.             }
  559.             $_parent $context['_parent'];
  560.             unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
  561.             $context array_intersect_key($context$_parent) + $_parent;
  562.             // line 247
  563.             echo "                            </tbody>
  564.                         </table>
  565.                     ";
  566.         }
  567.         // line 250
  568.         echo "                </div>
  569.                 <div class=\"col-12 col-sm-6 col-lg-4 offset-sm-6 offset-lg-4\">
  570.                     ";
  571.         // line 252
  572.         if (( !(null === twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "imageProductName", [], "any"falsefalsefalse252)) && twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "imageProductName", [], "any"truetruefalse252))) {
  573.             // line 253
  574.             echo "                        <img src=\"/uploads/images/product/";
  575.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "imageProductName", [], "any"falsefalsefalse253), "html"nulltrue);
  576.             echo "\" alt=\"";
  577.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "name", [], "any"falsefalsefalse253), "html"nulltrue);
  578.             echo "\">
  579.                     ";
  580.         }
  581.         // line 255
  582.         echo "                </div>
  583.             </div>
  584.         </div>
  585.     </section>
  586.     ";
  587.         // line 260
  588.         $context["recipes"] = twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "recipes", [], "any"falsefalsefalse260);
  589.         // line 261
  590.         echo "
  591.     <section class=\"row position-relative padding-100px-bottom md-padding-60px-bottom sm-padding-30px-bottom z-index-2\" style=\"background-image: url('";
  592.         // line 262
  593.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/webp/frontend/bg-texture.webp"), "html"nulltrue);
  594.         echo "')\">
  595.         <div class=\"container-fluid p-0 overflow-hidden Bdrs(30px)\">
  596.             <div class=\"row g-0\">
  597.                 ";
  598.         // line 266
  599.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "productCookings", [], "any"falsefalsefalse266)) > 0)) {
  600.             // line 267
  601.             echo "                    <div class=\"col-12 ";
  602.             if ((twig_length_filter($this->env, ($context["recipes"] ?? null)) > 0)) {
  603.                 echo "col-sm-7 col-lg-6";
  604.             }
  605.             echo " Bgc(la-rioja) overflow-hidden\" data-parallax-background-ratio=\"0.7\" style=\"background-image: url('";
  606.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/webp/frontend/recipes/bg-leaf.webp"), "html"nulltrue);
  607.             echo "')\">
  608.                         <div class=\"sm-padding-20px-lr padding-40px-all\">
  609.                             <h3 class=\"margin-40px-bottom text-white text-center ";
  610.             // line 269
  611.             if ((twig_length_filter($this->env, ($context["recipes"] ?? null)) > 0)) {
  612.                 echo "text-sm-start";
  613.             }
  614.             echo "\">
  615.                                 ";
  616.             // line 270
  617.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("products_detail.product_cookings", [], "pages"), "html"nulltrue);
  618.             echo "
  619.                             </h3>
  620.                             <div class=\"row g-0 justify-content-center\">
  621.                                 <div class=\"col-12 ";
  622.             // line 273
  623.             if ((twig_length_filter($this->env, ($context["recipes"] ?? null)) == 0)) {
  624.                 echo "col-md-10 col-lg-8";
  625.             }
  626.             echo "\">
  627.                                     ";
  628.             // line 274
  629.             $context['_parent'] = $context;
  630.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "productCookings", [], "any"falsefalsefalse274));
  631.             $context['loop'] = [
  632.               'parent' => $context['_parent'],
  633.               'index0' => 0,
  634.               'index'  => 1,
  635.               'first'  => true,
  636.             ];
  637.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  638.                 $length count($context['_seq']);
  639.                 $context['loop']['revindex0'] = $length 1;
  640.                 $context['loop']['revindex'] = $length;
  641.                 $context['loop']['length'] = $length;
  642.                 $context['loop']['last'] = === $length;
  643.             }
  644.             foreach ($context['_seq'] as $context["_key"] => $context["productCooking"]) {
  645.                 // line 275
  646.                 echo "                                        <div class=\"col margin-six-bottom md-margin-50px-bottom sm-margin-40px-bottom wow animate__fadeInUp last-paragraph-no-margin\">
  647.                                             <div class=\"feature-box-5 position-relative\">
  648.                                                 <i class=\"icon-desktop\">
  649.                                                     <div class=\"background-white border-radius-50 d-flex margin-lr-auto padding-5px-all w-60px H(60px)\">
  650.                                                         ";
  651.                 // line 279
  652.                 $this->loadTemplate((("partials/svg/_icon_" twig_lower_filter($this->envtwig_get_attribute($this->env$this->source$context["productCooking"], "type", [], "any"falsefalsefalse279))) . ".svg.twig"), "prodotti/productDetailOld.html.twig"279)->display($context);
  653.                 // line 280
  654.                 echo "                                                    </div>
  655.                                                 </i>
  656.                                                 <div class=\"feature-content\">
  657.                                                     <div class=\"margin-10px-bottom font-weight-600\">";
  658.                 // line 283
  659.                 echo twig_escape_filter($this->envtwig_upper_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(("products_detail.cooking_method." twig_lower_filter($this->envtwig_get_attribute($this->env$this->source$context["productCooking"], "type", [], "any"falsefalsefalse283))), [], "pages")), "html"nulltrue);
  660.                 echo "</div>
  661.                                                     <p class=\"d-inline-block sm-w-90\">";
  662.                 // line 284
  663.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["productCooking"], "description", [], "any"falsefalsefalse284), "html"nulltrue);
  664.                 echo "</p>
  665.                                                 </div>
  666.                                             </div>
  667.                                         </div>
  668.                                     ";
  669.                 ++$context['loop']['index0'];
  670.                 ++$context['loop']['index'];
  671.                 $context['loop']['first'] = false;
  672.                 if (isset($context['loop']['length'])) {
  673.                     --$context['loop']['revindex0'];
  674.                     --$context['loop']['revindex'];
  675.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  676.                 }
  677.             }
  678.             $_parent $context['_parent'];
  679.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['productCooking'], $context['_parent'], $context['loop']);
  680.             $context array_intersect_key($context$_parent) + $_parent;
  681.             // line 289
  682.             echo "                                </div>
  683.                             </div>
  684.                         </div>
  685.                     </div>
  686.                 ";
  687.         }
  688.         // line 294
  689.         echo "
  690.                 ";
  691.         // line 295
  692.         if ((twig_length_filter($this->env, ($context["recipes"] ?? null)) > 0)) {
  693.             // line 296
  694.             echo "                    <div class=\"col-12 ";
  695.             if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "productCookings", [], "any"falsefalsefalse296)) > 0)) {
  696.                 echo "col-sm-5 col-lg-6";
  697.             }
  698.             echo " Bgc(jewel)\">
  699.                         <div class=\"padding-40px-tb\">
  700.                             <h3 class=\"margin-40px-bottom padding-40px-lr text-white text-center text-sm-end\">
  701.                                 ";
  702.             // line 299
  703.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("products_detail.our_recipes", [], "pages"), "html"nulltrue);
  704.             echo "
  705.                             </h3>
  706.                             <div class=\"row g-0 justify-content-center\">
  707.                                 <div class=\"col-12 ";
  708.             // line 302
  709.             if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "productCookings", [], "any"falsefalsefalse302)) == 0)) {
  710.                 echo "col-md-10 col-lg-8";
  711.             }
  712.             echo "\">
  713.                                     <div class=\"swiper-container swiper-pagination-bottom white-move\" data-slider-options='{
  714.                                         ";
  715.             // line 304
  716.             if ((twig_length_filter($this->env, ($context["recipes"] ?? null)) > 2)) {
  717.                 echo "\"loop\": true,";
  718.             }
  719.             // line 305
  720.             echo "                                        \"slidesPerView\": \"auto\",
  721.                                         \"centeredSlides\": true,
  722.                                         \"spaceBetween\": 15,
  723.                                         \"loopedSlides\": ";
  724.             // line 308
  725.             (((twig_length_filter($this->env, ($context["recipes"] ?? null)) < 3)) ? (print (twig_escape_filter($this->envtwig_length_filter($this->env, ($context["recipes"] ?? null)), "html"nulltrue))) : (print (3)));
  726.             echo ",
  727.                                         \"allowTouchMove\": true,
  728.                                         \"autoplay\": {
  729.                                             \"delay\": 3000,
  730.                                             \"disableOnInteraction\": false
  731.                                         },
  732.                                         \"pagination\": {
  733.                                             \"el\": \".swiper-pagination-recipes\",
  734.                                             \"clickable\": true
  735.                                         }
  736.                                     }'>
  737.                                         <div class=\"swiper-wrapper\">
  738.                                             ";
  739.             // line 320
  740.             $context['_parent'] = $context;
  741.             $context['_seq'] = twig_ensure_traversable(($context["recipes"] ?? null));
  742.             foreach ($context['_seq'] as $context["_key"] => $context["recipe"]) {
  743.                 // line 321
  744.                 echo "                                                ";
  745.                 if ((twig_get_attribute($this->env$this->source$context["recipe"], "isEnabled", [], "any"falsefalsefalse321) == true)) {
  746.                     // line 322
  747.                     echo "                                                    ";
  748.                     if ((twig_get_attribute($this->env$this->source$context["recipe"], "locale", [], "any"falsefalsefalse322) == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse322), "locale", [], "any"falsefalsefalse322))) {
  749.                         // line 323
  750.                         echo "                                                        <div class=\"swiper-slide w-50 md-w-80 sm-w-70\">
  751.                                                             <div class=\"blog-post bg-white border-radius-10 overflow-hidden\">
  752.                                                                 <div class=\"blog-post-images border-radius-10 overflow-hidden position-relative\">
  753.                                                                     <a href=\"";
  754.                         // line 326
  755.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_recipes_detail", ["slug" => twig_get_attribute($this->env$this->source$context["recipe"], "slug", [], "any"falsefalsefalse326)]), "html"nulltrue);
  756.                         echo "\">
  757.                                                                         <img class=\"d-block\" src=\"";
  758.                         // line 327
  759.                         echo twig_escape_filter($this->env$this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter(("/uploads/images/ricette/" twig_get_attribute($this->env$this->source$context["recipe"], "image", [], "any"falsefalsefalse327)), "size_550_425"), "html"nulltrue);
  760.                         echo "\" alt=\"";
  761.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["recipe"], "title", [], "any"falsefalsefalse327), "html"nulltrue);
  762.                         echo "\">
  763.                                                                     </a>
  764.                                                                 </div>
  765.                                                                 <div class=\"post-details padding-20px-all\">
  766.                                                                     <a href=\"";
  767.                         // line 331
  768.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_recipes_detail", ["slug" => twig_get_attribute($this->env$this->source$context["recipe"], "slug", [], "any"falsefalsefalse331)]), "html"nulltrue);
  769.                         echo "\" class=\"post-title w-100 d-block lg-w-100 margin-15px-bottom C(jewel)\">
  770.                                                                         <strong>
  771.                                                                             ";
  772.                         // line 333
  773.                         echo twig_escape_filter($this->envtwig_upper_filter($this->envtwig_get_attribute($this->env$this->source$context["recipe"], "title", [], "any"falsefalsefalse333)), "html"nulltrue);
  774.                         echo "
  775.                                                                         </strong>
  776.                                                                     </a>
  777.                                                                 </div>
  778.                                                             </div>
  779.                                                         </div>
  780.                                                     ";
  781.                     }
  782.                     // line 340
  783.                     echo "                                                ";
  784.                 }
  785.                 // line 341
  786.                 echo "
  787.                                             ";
  788.             }
  789.             $_parent $context['_parent'];
  790.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['recipe'], $context['_parent'], $context['loop']);
  791.             $context array_intersect_key($context$_parent) + $_parent;
  792.             // line 343
  793.             echo "                                        </div>
  794.                                         <div class=\"swiper-pagination-recipes swiper-pagination swiper-pagination-white\"></div>
  795.                                     </div>
  796.                                 </div>
  797.                             </div>
  798.                         </div>
  799.                     </div>
  800.                 ";
  801.         }
  802.         // line 351
  803.         echo "            </div>
  804.         </div>
  805.     </section>
  806.     <section class=\"position-relative padding-100px-bottom md-padding-60px-bottom sm-padding-30px-bottom z-index-2\" style=\"background-image: url('";
  807.         // line 355
  808.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/webp/frontend/bg-texture.webp"), "html"nulltrue);
  809.         echo "')\">
  810.         <div class=\"container-fluid\">
  811.             <div class=\"row justify-content-center\">
  812.                 <div class=\"col col-md-8 text-center\">
  813.                     <h3 class=\"margin-40px-bottom\">
  814.                         ";
  815.         // line 360
  816.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("products_detail.other_products", [], "pages"), "html"nulltrue);
  817.         echo "
  818.                     </h3>
  819.                 </div>
  820.             </div>
  821.             <div class=\"row position-relative justify-content-center\">
  822.                 <div class=\"col-12 col-md-12 col-sm-9\">
  823.                     <div class=\"swiper-container swiper-pagination-bottom black-move blog-slider\"
  824.                          data-slider-options='{
  825.                             \"slidesPerView\": \"1\",
  826.                             \"allowTouchMove\": true,
  827.                             \"loop\": false,
  828.                             \"spaceBetween\": 30,
  829.                             \"autoplay\": false,
  830.                             \"keyboard\": {
  831.                                 \"enabled\": true,
  832.                                 \"onlyInViewport\": true
  833.                             },
  834.                             \"breakpoints\": {
  835.                                 \"992\": {
  836.                                     \"slidesPerView\": ";
  837.         // line 379
  838.         (((twig_length_filter($this->env, ($context["correlatedProducts"] ?? null)) < 3)) ? (print (twig_escape_filter($this->envtwig_length_filter($this->env, ($context["correlatedProducts"] ?? null)), "html"nulltrue))) : (print (3)));
  839.         echo "
  840.                                 },
  841.                                 \"768\": {
  842.                                     \"slidesPerView\": ";
  843.         // line 382
  844.         (((twig_length_filter($this->env, ($context["correlatedProducts"] ?? null)) < 3)) ? (print (twig_escape_filter($this->envtwig_length_filter($this->env, ($context["correlatedProducts"] ?? null)), "html"nulltrue))) : (print (3)));
  845.         echo "
  846.                                 }
  847.                             },
  848.                             \"pagination\": {
  849.                                 \"el\": \".swiper-pagination-products\",
  850.                                 \"clickable\": true
  851.                             }
  852.                         }'>
  853.                         <div class=\"swiper-wrapper\">
  854.                             ";
  855.         // line 391
  856.         $context['_parent'] = $context;
  857.         $context['_seq'] = twig_ensure_traversable(($context["correlatedProducts"] ?? null));
  858.         $context['loop'] = [
  859.           'parent' => $context['_parent'],
  860.           'index0' => 0,
  861.           'index'  => 1,
  862.           'first'  => true,
  863.         ];
  864.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  865.             $length count($context['_seq']);
  866.             $context['loop']['revindex0'] = $length 1;
  867.             $context['loop']['revindex'] = $length;
  868.             $context['loop']['length'] = $length;
  869.             $context['loop']['last'] = === $length;
  870.         }
  871.         foreach ($context['_seq'] as $context["_key"] => $context["correlatedProduct"]) {
  872.             // line 392
  873.             echo "                                <div class=\"swiper-slide\">
  874.                                     <div class=\"text-center\" onclick=\"track_click_item('";
  875.             // line 393
  876.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["correlatedProduct"], "id", [], "any"falsefalsefalse393), "html"nulltrue);
  877.             echo "', '";
  878.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["correlatedProduct"], "name", [], "any"falsefalsefalse393), "html"nulltrue);
  879.             echo "', '";
  880.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "type", [], "any"falsefalsefalse393), "productType", [], "any"falsefalsefalse393), "name", [], "any"falsefalsefalse393), "html"nulltrue);
  881.             echo "', 'related_products', 'Related Products')\">
  882.                                         <a class=\"d-block margin-20px-bottom\" href=\"";
  883.             // line 394
  884.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_show_product", ["category_slug" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "type", [], "any"falsefalsefalse394), "productType", [], "any"falsefalsefalse394), "slug", [], "any"falsefalsefalse394), "product_slug" => twig_get_attribute($this->env$this->source$context["correlatedProduct"], "slug", [], "any"falsefalsefalse394)]), "html"nulltrue);
  885.             echo "\">
  886.                                             <div class=\"productRelated\">
  887.                                                 ";
  888.             // line 396
  889.             if (twig_get_attribute($this->env$this->source$context["correlatedProduct"], "new", [], "any"falsefalsefalse396)) {
  890.                 // line 397
  891.                 echo "                                                    ";
  892.                 $this->loadTemplate("partials/badge/_badge_new.html.twig""prodotti/productDetailOld.html.twig"397)->display($context);
  893.                 // line 398
  894.                 echo "                                                ";
  895.             }
  896.             // line 399
  897.             echo "                                                <img class=\"sm-w-70\" src=\"";
  898.             echo twig_escape_filter($this->env$this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter(("/uploads/images/product/" twig_get_attribute($this->env$this->source$context["correlatedProduct"], "image_pack_name", [], "any"falsefalsefalse399)), "size_400_500"), "html"nulltrue);
  899.             echo "\" alt=\"";
  900.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["correlatedProduct"], "name", [], "any"falsefalsefalse399), "html"nulltrue);
  901.             echo "\">
  902.                                             </div>
  903.                                         </a>
  904.                                         <h5>
  905.                                             <a class=\"C(jewel)\" href=\"";
  906.             // line 403
  907.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_show_product", ["category_slug" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "type", [], "any"falsefalsefalse403), "productType", [], "any"falsefalsefalse403), "slug", [], "any"falsefalsefalse403), "product_slug" => twig_get_attribute($this->env$this->source$context["correlatedProduct"], "slug", [], "any"falsefalsefalse403)]), "html"nulltrue);
  908.             echo "\">
  909.                                                 ";
  910.             // line 404
  911.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["correlatedProduct"], "name", [], "any"falsefalsefalse404), "html"nulltrue);
  912.             echo "
  913.                                             </a>
  914.                                         </h5>
  915.                                     </div>
  916.                                 </div>
  917.                             ";
  918.             ++$context['loop']['index0'];
  919.             ++$context['loop']['index'];
  920.             $context['loop']['first'] = false;
  921.             if (isset($context['loop']['length'])) {
  922.                 --$context['loop']['revindex0'];
  923.                 --$context['loop']['revindex'];
  924.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  925.             }
  926.         }
  927.         $_parent $context['_parent'];
  928.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['correlatedProduct'], $context['_parent'], $context['loop']);
  929.         $context array_intersect_key($context$_parent) + $_parent;
  930.         // line 410
  931.         echo "                        </div>
  932.                         <div class=\"swiper-pagination-products swiper-pagination\"></div>
  933.                     </div>
  934.                 </div>
  935.             </div>
  936.         </div>
  937.     </section>
  938. ";
  939.         
  940.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  941.     }
  942.     // line 420
  943.     public function block_javascripts_body($context, array $blocks = [])
  944.     {
  945.         $macros $this->macros;
  946.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  947.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts_body"));
  948.         // line 421
  949.         echo "
  950.     <script>
  951.         tracking__viewcontent__title = '";
  952.         // line 423
  953.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "name", [], "any"falsefalsefalse423), "html"nulltrue);
  954.         echo "';
  955.         tracking__viewcontent__ids = '";
  956.         // line 424
  957.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "id", [], "any"falsefalsefalse424), "html"nulltrue);
  958.         echo "';
  959.         tracking__viewcontent__type = 'product';
  960.         var productTrackingObj = {
  961.             'id' : '";
  962.         // line 427
  963.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "id", [], "any"falsefalsefalse427), "html"nulltrue);
  964.         echo "',
  965.             'name' : '";
  966.         // line 428
  967.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "name", [], "any"falsefalsefalse428), "html"nulltrue);
  968.         echo "',
  969.             'brand' : 'Kioene',
  970.             'category' : '";
  971.         // line 430
  972.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["product"] ?? null), "type", [], "any"falsefalsefalse430), "productType", [], "any"falsefalsefalse430), "slug", [], "any"falsefalsefalse430), "html"nulltrue);
  973.         echo "',
  974.             'url' : '";
  975.         // line 431
  976.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse431), "uri", [], "any"falsefalsefalse431), "html"nulltrue);
  977.         echo "'
  978.         }
  979.     </script>
  980.     ";
  981.         // line 435
  982.         $this->displayParentBlock("javascripts_body"$context$blocks);
  983.         echo "
  984.     <script type=\"text/javascript\">
  985.         window.addEventListener('load', () => {
  986.             let viewportWidth = window.innerWidth || document.documentElement.clientWidth;
  987.             if(viewportWidth >= 576) {
  988.                 const animationProduct = gsap.timeline({
  989.                     scrollTrigger: {
  990.                         trigger: document.querySelector('[data-js=\"product\"]'),
  991.                         start: 'top 20%',
  992.                         end: document.body.scrollHeight + ' 10%',
  993.                         pin: true,
  994.                         pinSpacing: false,
  995.                         scrub: true
  996.                     }
  997.                 })
  998.             }
  999.         });
  1000.     </script>
  1001. ";
  1002.         
  1003.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1004.     }
  1005.     public function getTemplateName()
  1006.     {
  1007.         return "prodotti/productDetailOld.html.twig";
  1008.     }
  1009.     public function isTraitable()
  1010.     {
  1011.         return false;
  1012.     }
  1013.     public function getDebugInfo()
  1014.     {
  1015.         return array (  1019 => 435,  1012 => 431,  1008 => 430,  1003 => 428,  999 => 427,  993 => 424,  989 => 423,  985 => 421,  978 => 420,  963 => 410,  943 => 404,  939 => 403,  929 => 399,  926 => 398,  923 => 397,  921 => 396,  916 => 394,  908 => 393,  905 => 392,  888 => 391,  876 => 382,  870 => 379,  848 => 360,  840 => 355,  834 => 351,  824 => 343,  817 => 341,  814 => 340,  804 => 333,  799 => 331,  790 => 327,  786 => 326,  781 => 323,  778 => 322,  775 => 321,  771 => 320,  756 => 308,  751 => 305,  747 => 304,  740 => 302,  734 => 299,  725 => 296,  723 => 295,  720 => 294,  713 => 289,  694 => 284,  690 => 283,  685 => 280,  683 => 279,  677 => 275,  660 => 274,  654 => 273,  648 => 270,  642 => 269,  632 => 267,  630 => 266,  623 => 262,  620 => 261,  618 => 260,  611 => 255,  603 => 253,  601 => 252,  597 => 250,  592 => 247,  584 => 244,  579 => 243,  574 => 242,  569 => 241,  565 => 239,  560 => 238,  555 => 237,  550 => 236,  546 => 234,  542 => 233,  535 => 229,  529 => 226,  526 => 225,  524 => 224,  512 => 214,  506 => 212,  500 => 210,  498 => 209,  494 => 207,  492 => 206,  484 => 201,  478 => 198,  465 => 187,  461 => 185,  443 => 181,  439 => 179,  437 => 178,  433 => 176,  416 => 175,  413 => 174,  395 => 170,  391 => 168,  388 => 167,  385 => 166,  382 => 165,  379 => 164,  376 => 163,  373 => 162,  370 => 161,  367 => 160,  364 => 159,  361 => 158,  359 => 157,  351 => 155,  334 => 154,  331 => 153,  316 => 141,  311 => 138,  309 => 137,  295 => 126,  290 => 123,  288 => 122,  284 => 120,  276 => 115,  267 => 111,  257 => 104,  248 => 100,  238 => 93,  229 => 89,  222 => 84,  220 => 83,  213 => 79,  204 => 75,  194 => 68,  185 => 64,  175 => 57,  166 => 53,  159 => 48,  157 => 47,  152 => 44,  146 => 41,  142 => 40,  138 => 38,  135 => 37,  132 => 36,  130 => 35,  127 => 34,  125 => 33,  121 => 31,  115 => 28,  110 => 27,  108 => 26,  103 => 24,  97 => 21,  87 => 14,  84 => 13,  82 => 11,  81 => 10,  80 => 9,  77 => 8,  70 => 7,  57 => 5,  49 => 1,  47 => 3,  37 => 1,);
  1016.     }
  1017.     public function getSourceContext()
  1018.     {
  1019.         return new Source("""prodotti/productDetailOld.html.twig""/var/www/releases/68/templates/prodotti/productDetailOld.html.twig");
  1020.     }
  1021. }