var/cache/dev/fr/vpauto/twig/8e/8eb87d2cc87818453e824a87cdba822b.php line 40

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Live/Portal/next_sales_pro.html.twig */
  14. class __TwigTemplate_50711c71bf3a648aa24dd65f4c9004a2 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.             'meta_robot' => [$this'block_meta_robot'],
  24.             'javascripts' => [$this'block_javascripts'],
  25.             'body_content' => [$this'block_body_content'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "frontend/frontend_pro.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""Live/Portal/next_sales_pro.html.twig"));
  38.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  39.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Live/Portal/next_sales_pro.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Live/Portal/next_sales_pro.html.twig"));
  42.         $this->parent $this->loadTemplate("frontend/frontend_pro.html.twig""Live/Portal/next_sales_pro.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 3
  52.     public function block_meta_robot($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_robot"));
  57.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  58.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_robot"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_robot"));
  61.         // line 4
  62.         echo "    ";
  63.         $this->displayParentBlock("meta_robot"$context$blocks);
  64.         echo "
  65.     <link rel=\"canonical\" href=\"";
  66.         // line 5
  67.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("live_portal_next_sales_pro");
  68.         echo "\"/>
  69.     ";
  70.         // line 6
  71.         echo twig_source($this->env"stubs/seo/robots_noindex_nofollow.html.twig");
  72.         echo "
  73. ";
  74.         
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  76.         
  77.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  78.         
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  80.     }
  81.     // line 9
  82.     public function block_javascripts($context, array $blocks = [])
  83.     {
  84.         $macros $this->macros;
  85.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  87.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  88.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  90.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  91.         // line 10
  92.         echo "    ";
  93.         $this->displayParentBlock("javascripts"$context$blocks);
  94.         echo "
  95.     <script type=\"text/javascript\" src=\"";
  96.         // line 11
  97.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/js/lib/jquery.countdown.live.min.js"), "html"nulltrue);
  98.         echo "\"></script>
  99.     <script type=\"text/javascript\" src=\"";
  100.         // line 12
  101.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/js/frontend/live_portal.js"), "html"nulltrue);
  102.         echo "\"></script>
  103. ";
  104.         
  105.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  106.         
  107.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  108.         
  109.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  110.     }
  111.     // line 15
  112.     public function block_body_content($context, array $blocks = [])
  113.     {
  114.         $macros $this->macros;
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  116.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_content"));
  117.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  118.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_content"));
  119.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  120.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_content"));
  121.         // line 16
  122.         echo "    <div class=\"live-prochaines-vente\">
  123.         <div class=\"landing-header\">
  124.             <h1 class=\"titre05\">
  125.             <span class=\"block\">
  126.                 ";
  127.         // line 20
  128.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'20$this->source); })()), "request", [], "any"falsefalsefalse20), "locale", [], "any"falsefalsefalse20) == twig_constant("App\\Twig\\Extension\\CountryExtension::LOCALE_PORTUGUESE"))) {
  129.             // line 21
  130.             echo "                    <img src=\"";
  131.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/icones/icon-live-pt.webp"), "html"nulltrue);
  132.             echo "\" alt=\"\">
  133.                 ";
  134.         } else {
  135.             // line 23
  136.             echo "                    <img src=\"";
  137.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/icones/icon-live-fr.webp"), "html"nulltrue);
  138.             echo "\" alt=\"\">
  139.                 ";
  140.         }
  141.         // line 25
  142.         echo "            </span>
  143.                 ";
  144.         // line 26
  145.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.header.subtitle"), "html"nulltrue);
  146.         echo "
  147.             </h1>
  148.         </div>
  149.         <div class=\"landing-content\">
  150.             <div>
  151.                 <div>
  152.                     <h2 class=\"titre01\">";
  153.         // line 32
  154.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.title01");
  155.         echo "</h2>
  156.                     <p class=\"marginT20\">";
  157.         // line 33
  158.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.text01"), "html"nulltrue);
  159.         echo " <span data-o=\"";
  160.         echo twig_escape_filter($this->env$this->extensions['App\Twig\Extension\UserExtension']->base64Encode($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("vpauto_frontend_live")), "html"nulltrue);
  161.         echo "\" class=\"obflink lien03\" role=\"link\">";
  162.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.link01"), "html"nulltrue);
  163.         echo "</span> ";
  164.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.text02"), "html"nulltrue);
  165.         echo "
  166.                     </p>
  167.                     ";
  168.         // line 35
  169.         if ( !$this->extensions['App\Twig\Extension\CountryExtension']->isCurrentCountry(twig_constant("App\\Twig\\Extension\\CountryExtension::COUNTRY_PORTUGAL"))) {
  170.             // line 36
  171.             echo "                        <p class=\"marginT10\">";
  172.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.text03"), "html"nulltrue);
  173.             echo "</p>
  174.                     ";
  175.         }
  176.         // line 38
  177.         echo "                </div>
  178.                 <div class=\"grid-container block-bg01\">
  179.                     <h2 class=\"titre04\">
  180.                         <strong>";
  181.         // line 42
  182.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.block01.title"), "html"nulltrue);
  183.         echo "</strong></h2>
  184.                     <div class=\"grid-25 tab-l-25 tab-p-50 m-100 marginT20\">
  185.                         <div>
  186.                             <img src=\"";
  187.         // line 45
  188.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/pro/img-avantage-live01.png"), "html"nulltrue);
  189.         echo "\"
  190.                                  alt=\"picto vehicules testés\">
  191.                             <p>";
  192.         // line 47
  193.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.block01.item01"), "html"nulltrue);
  194.         echo "</p>
  195.                         </div>
  196.                     </div>
  197.                     <div class=\"grid-25 tab-l-25 tab-p-50 m-100 marginT20\">
  198.                         <div>
  199.                             <img src=\"";
  200.         // line 52
  201.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/pro/img-avantage-live02.png"), "html"nulltrue);
  202.         echo "\"
  203.                                  alt=\"picto prix\">
  204.                             <p>";
  205.         // line 54
  206.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.block01.item02"), "html"nulltrue);
  207.         echo "</p>
  208.                         </div>
  209.                     </div>
  210.                     <div class=\"grid-25 tab-l-25 tab-p-50 m-100 marginT20\">
  211.                         <div>
  212.                             <img src=\"";
  213.         // line 59
  214.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/pro/img-avantage-live03.png"), "html"nulltrue);
  215.         echo "\"
  216.                                  alt=\"picto garantie\">
  217.                             <p>";
  218.         // line 61
  219.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.block01.item03", ["%href%" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_guarantee")]);
  220.         echo "</p>
  221.                         </div>
  222.                     </div>
  223.                     <div class=\"grid-25 tab-l-25 tab-p-50 m-100 marginT20\">
  224.                         <div>
  225.                             <img src=\"";
  226.         // line 66
  227.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/pro/img-avantage-live04.png"), "html"nulltrue);
  228.         echo "\"
  229.                                  alt=\"picto disponibilité\">
  230.                             <p>";
  231.         // line 68
  232.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.block01.item04"), "html"nulltrue);
  233.         echo "</p>
  234.                         </div>
  235.                     </div>
  236.                 </div>
  237.                 <h2 class=\"titre01 marginT60 txtcenter\">
  238.                     <strong>";
  239.         // line 74
  240.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.title02"), "html"nulltrue);
  241.         echo "</strong></h2>
  242.                 <div class=\"video-container\">
  243.                     ";
  244.         // line 76
  245.         $this->loadTemplate("/Frontend/pro/_movie_live.html.twig""Live/Portal/next_sales_pro.html.twig"76)->display($context);
  246.         // line 77
  247.         echo "                </div>
  248.                 <div class=\"separateur\"></div>
  249.                 <h2 class=\"titre01 marginT60 txtcenter color01\">
  250.                     <strong>";
  251.         // line 81
  252.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.next_sales"), "html"nulltrue);
  253.         echo "</strong></h2>
  254.                 ";
  255.         // line 82
  256.         $context['_parent'] = $context;
  257.         $context['_seq'] = twig_ensure_traversable((isset($context["todaysLive"]) || array_key_exists("todaysLive"$context) ? $context["todaysLive"] : (function () { throw new RuntimeError('Variable "todaysLive" does not exist.'82$this->source); })()));
  258.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  259.             // line 83
  260.             echo "                    <div class=\"block01 marginT20\">
  261.                         <p class=\"titre01\"><strong>";
  262.             // line 84
  263.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales.content.sale_ended"), "html"nulltrue);
  264.             echo "</strong>
  265.                         </p>
  266.                         <p class=\"titre03 marginT10\"><strong>";
  267.             // line 86
  268.             echo twig_escape_filter($this->envtwig_upper_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "room", [], "any"falsefalsefalse86), "code", [], "any"falsefalsefalse86)), "html"nulltrue);
  269.             echo "
  270.                                 - ";
  271.             // line 87
  272.             echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->env$this->extensions['App\Twig\Extension\IntlExtension']->localeDateFilter(twig_get_attribute($this->env$this->source$context["item"], "startDate", [], "any"falsefalsefalse87), "medium""short"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'87$this->source); })()), "request", [], "any"falsefalsefalse87), "locale", [], "any"falsefalsefalse87), "EEEE d LLLL")), "html"nulltrue);
  273.             echo "</strong>
  274.                         </p>
  275.                     </div>
  276.                     <div class=\"separateur\"></div>
  277.                 ";
  278.         }
  279.         $_parent $context['_parent'];
  280.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  281.         $context array_intersect_key($context$_parent) + $_parent;
  282.         // line 92
  283.         echo "                <div class=\"marginT20\">
  284.                     <div>
  285.                         ";
  286.         // line 94
  287.         $context['_parent'] = $context;
  288.         $context['_seq'] = twig_ensure_traversable((isset($context["sales"]) || array_key_exists("sales"$context) ? $context["sales"] : (function () { throw new RuntimeError('Variable "sales" does not exist.'94$this->source); })()));
  289.         foreach ($context['_seq'] as $context["_key"] => $context["sale"]) {
  290.             // line 95
  291.             echo "                            <div class=\"txtcenter\">
  292.                                 <h1 class=\"titre01\">
  293.                                     <strong>";
  294.             // line 97
  295.             echo twig_escape_filter($this->envtwig_upper_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["sale"], "room", [], "any"falsefalsefalse97), "code", [], "any"falsefalsefalse97)), "html"nulltrue);
  296.             echo "
  297.                                         - ";
  298.             // line 98
  299.             echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["sale"], "activeVehicles", [], "any"falsefalsefalse98)), "html"nulltrue);
  300.             echo " ";
  301.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales.content.vehicles"), "html"nulltrue);
  302.             echo "</strong>
  303.                                 </h1>
  304.                                 <h2 class=\"date\">";
  305.             // line 100
  306.             echo twig_escape_filter($this->env$this->extensions['App\Twig\Extension\IntlExtension']->localeDateFilter(twig_get_attribute($this->env$this->source$context["sale"], "startDate", [], "any"falsefalsefalse100), "medium""short"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'100$this->source); })()), "request", [], "any"falsefalsefalse100), "locale", [], "any"falsefalsefalse100), "EEEE d LLLL yyyy"), "html"nulltrue);
  307.             echo "</h2>
  308.                                 <div class=\"block01\">
  309.                                     <p class=\"titre04 opening-in\">";
  310.             // line 102
  311.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales.content.open_in"), "html"nulltrue);
  312.             echo "</p>
  313.                                     <div class=\"counter must-fade fade-title clearfix\"
  314.                                          data-end=\"";
  315.             // line 104
  316.             echo twig_escape_filter($this->env$this->extensions['App\Twig\Extension\IntlExtension']->dateFilter($this->env$this->extensions['App\Twig\Extension\LiveExtension']->getRealStartingHour($context["sale"]), "Y/m/d H:i:s"), "html"nulltrue);
  317.             echo "\">
  318.                                         <ul class=\"counter-block\">
  319.                                             <li class=\"m-hide\"><i class=\"icon-chrono01\"></i></li>
  320.                                             <li>
  321.                                                 <span class=\"number days\">00</span>
  322.                                                 <span>";
  323.             // line 109
  324.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales.content.timer.days"), "html"nulltrue);
  325.             echo "</span>
  326.                                             </li>
  327.                                             <li>
  328.                                                 <span class=\"number hours\">00</span>
  329.                                                 <span>";
  330.             // line 113
  331.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales.content.timer.hours"), "html"nulltrue);
  332.             echo "</span>
  333.                                             </li>
  334.                                             <li>
  335.                                                 <span class=\"number minutes\">00</span>
  336.                                                 <span>";
  337.             // line 117
  338.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales.content.timer.minutes"), "html"nulltrue);
  339.             echo "</span>
  340.                                             </li>
  341.                                         </ul>
  342.                                     </div>
  343.                                 </div>
  344.                                 ";
  345.             // line 122
  346.             if ((($this->extensions['App\Twig\Extension\IntlExtension']->dateFilter($this->envtwig_get_attribute($this->env$this->source$context["sale"], "endDate", [], "any"falsefalsefalse122), "U") > $this->extensions['App\Twig\Extension\IntlExtension']->dateFilter($this->env"now""U")) && ($this->extensions['App\Twig\Extension\IntlExtension']->dateFilter($this->env$this->extensions['App\Twig\Extension\LiveExtension']->getRealStartingHour($context["sale"]), "U") < $this->extensions['App\Twig\Extension\IntlExtension']->dateFilter($this->env"now""U")))) {
  347.                 // line 123
  348.                 echo "                                    <p class=\"marginT10 titre04\">
  349.                                         ";
  350.                 // line 124
  351.                 if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'124$this->source); })()), "request", [], "any"falsefalsefalse124), "locale", [], "any"falsefalsefalse124) == twig_constant("App\\Twig\\Extension\\CountryExtension::LOCALE_PORTUGUESE"))) {
  352.                     // line 125
  353.                     echo "                                            <img
  354.                                                 src=\"";
  355.                     // line 126
  356.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/icones/icon-live-pt.webp"), "html"nulltrue);
  357.                     echo "\"
  358.                                                 class=\"icon-live w-26\" alt=\"\">
  359.                                         ";
  360.                 } else {
  361.                     // line 129
  362.                     echo "                                            <img
  363.                                                 src=\"";
  364.                     // line 130
  365.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/vpauto/frontend/images/icones/icon-live-fr.webp"), "html"nulltrue);
  366.                     echo "\"
  367.                                                 class=\"icon-live w-26\" alt=\"\">
  368.                                         ";
  369.                 }
  370.                 // line 133
  371.                 echo "                                        ";
  372.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales.content.button.running"), "html"nulltrue);
  373.                 echo "
  374.                                     </p>
  375.                                 ";
  376.             }
  377.             // line 136
  378.             echo "                            </div>
  379.                             <div class=\"separateur\"></div>
  380.                         ";
  381.         }
  382.         $_parent $context['_parent'];
  383.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sale'], $context['_parent'], $context['loop']);
  384.         $context array_intersect_key($context$_parent) + $_parent;
  385.         // line 139
  386.         echo "                    </div>
  387.                     <div class=\"clearfix\"></div>
  388.                 </div>
  389.                 <p class=\"txtcenter\"><a href=\"";
  390.         // line 143
  391.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_sale_online_pro");
  392.         echo "\" class=\"lien11\"
  393.                                         title=\"\">";
  394.         // line 144
  395.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.button01.online_sale"), "html"nulltrue);
  396.         echo "</a>
  397.                 </p>
  398.                 <p class=\"marginT10\">";
  399.         // line 146
  400.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.live.next-sales-pro.content.text04"), "html"nulltrue);
  401.         echo "</p>
  402.             </div>
  403.         </div>
  404.     </div>
  405. ";
  406.         
  407.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  408.         
  409.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  410.         
  411.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  412.     }
  413.     public function getTemplateName()
  414.     {
  415.         return "Live/Portal/next_sales_pro.html.twig";
  416.     }
  417.     public function isTraitable()
  418.     {
  419.         return false;
  420.     }
  421.     public function getDebugInfo()
  422.     {
  423.         return array (  435 => 146,  430 => 144,  426 => 143,  420 => 139,  412 => 136,  405 => 133,  399 => 130,  396 => 129,  390 => 126,  387 => 125,  385 => 124,  382 => 123,  380 => 122,  372 => 117,  365 => 113,  358 => 109,  350 => 104,  345 => 102,  340 => 100,  333 => 98,  329 => 97,  325 => 95,  321 => 94,  317 => 92,  306 => 87,  302 => 86,  297 => 84,  294 => 83,  290 => 82,  286 => 81,  280 => 77,  278 => 76,  273 => 74,  264 => 68,  259 => 66,  251 => 61,  246 => 59,  238 => 54,  233 => 52,  225 => 47,  220 => 45,  214 => 42,  208 => 38,  202 => 36,  200 => 35,  189 => 33,  185 => 32,  176 => 26,  173 => 25,  167 => 23,  161 => 21,  159 => 20,  153 => 16,  140 => 15,  125 => 12,  121 => 11,  116 => 10,  103 => 9,  88 => 6,  84 => 5,  79 => 4,  66 => 3,  37 => 1,);
  424.     }
  425.     public function getSourceContext()
  426.     {
  427.         return new Source("{% extends 'frontend/frontend_pro.html.twig' %}
  428. {% block meta_robot %}
  429.     {{ parent() }}
  430.     <link rel=\"canonical\" href=\"{{ url('live_portal_next_sales_pro') }}\"/>
  431.     {{ source('stubs/seo/robots_noindex_nofollow.html.twig') }}
  432. {% endblock %}
  433. {% block javascripts %}
  434.     {{ parent() }}
  435.     <script type=\"text/javascript\" src=\"{{ asset('bundles/vpauto/js/lib/jquery.countdown.live.min.js') }}\"></script>
  436.     <script type=\"text/javascript\" src=\"{{ asset('bundles/vpauto/js/frontend/live_portal.js') }}\"></script>
  437. {% endblock %}
  438. {% block body_content %}
  439.     <div class=\"live-prochaines-vente\">
  440.         <div class=\"landing-header\">
  441.             <h1 class=\"titre05\">
  442.             <span class=\"block\">
  443.                 {% if app.request.locale == constant('App\\\\Twig\\\\Extension\\\\CountryExtension::LOCALE_PORTUGUESE') %}
  444.                     <img src=\"{{ asset('bundles/vpauto/frontend/images/icones/icon-live-pt.webp') }}\" alt=\"\">
  445.                 {% else %}
  446.                     <img src=\"{{ asset('bundles/vpauto/frontend/images/icones/icon-live-fr.webp') }}\" alt=\"\">
  447.                 {% endif %}
  448.             </span>
  449.                 {{ 'frontend.live.next-sales-pro.header.subtitle'|trans }}
  450.             </h1>
  451.         </div>
  452.         <div class=\"landing-content\">
  453.             <div>
  454.                 <div>
  455.                     <h2 class=\"titre01\">{{ 'frontend.live.next-sales-pro.content.title01'|trans|raw }}</h2>
  456.                     <p class=\"marginT20\">{{ 'frontend.live.next-sales-pro.content.text01'|trans }} <span data-o=\"{{ base64_encode(path('vpauto_frontend_live')) }}\" class=\"obflink lien03\" role=\"link\">{{ 'frontend.live.next-sales-pro.content.link01'|trans }}</span> {{ 'frontend.live.next-sales-pro.content.text02'|trans }}
  457.                     </p>
  458.                     {% if not is_current_country(constant('App\\\\Twig\\\\Extension\\\\CountryExtension::COUNTRY_PORTUGAL')) %}
  459.                         <p class=\"marginT10\">{{ 'frontend.live.next-sales-pro.content.text03'|trans }}</p>
  460.                     {% endif %}
  461.                 </div>
  462.                 <div class=\"grid-container block-bg01\">
  463.                     <h2 class=\"titre04\">
  464.                         <strong>{{ 'frontend.live.next-sales-pro.content.block01.title'|trans }}</strong></h2>
  465.                     <div class=\"grid-25 tab-l-25 tab-p-50 m-100 marginT20\">
  466.                         <div>
  467.                             <img src=\"{{ asset('bundles/vpauto/frontend/images/pro/img-avantage-live01.png') }}\"
  468.                                  alt=\"picto vehicules testés\">
  469.                             <p>{{ 'frontend.live.next-sales-pro.content.block01.item01'|trans }}</p>
  470.                         </div>
  471.                     </div>
  472.                     <div class=\"grid-25 tab-l-25 tab-p-50 m-100 marginT20\">
  473.                         <div>
  474.                             <img src=\"{{ asset('bundles/vpauto/frontend/images/pro/img-avantage-live02.png') }}\"
  475.                                  alt=\"picto prix\">
  476.                             <p>{{ 'frontend.live.next-sales-pro.content.block01.item02'|trans }}</p>
  477.                         </div>
  478.                     </div>
  479.                     <div class=\"grid-25 tab-l-25 tab-p-50 m-100 marginT20\">
  480.                         <div>
  481.                             <img src=\"{{ asset('bundles/vpauto/frontend/images/pro/img-avantage-live03.png') }}\"
  482.                                  alt=\"picto garantie\">
  483.                             <p>{{ 'frontend.live.next-sales-pro.content.block01.item03'|trans({ '%href%': path('frontend_guarantee') })|raw }}</p>
  484.                         </div>
  485.                     </div>
  486.                     <div class=\"grid-25 tab-l-25 tab-p-50 m-100 marginT20\">
  487.                         <div>
  488.                             <img src=\"{{ asset('bundles/vpauto/frontend/images/pro/img-avantage-live04.png') }}\"
  489.                                  alt=\"picto disponibilité\">
  490.                             <p>{{ 'frontend.live.next-sales-pro.content.block01.item04'|trans }}</p>
  491.                         </div>
  492.                     </div>
  493.                 </div>
  494.                 <h2 class=\"titre01 marginT60 txtcenter\">
  495.                     <strong>{{ 'frontend.live.next-sales-pro.content.title02'|trans }}</strong></h2>
  496.                 <div class=\"video-container\">
  497.                     {% include '/Frontend/pro/_movie_live.html.twig' %}
  498.                 </div>
  499.                 <div class=\"separateur\"></div>
  500.                 <h2 class=\"titre01 marginT60 txtcenter color01\">
  501.                     <strong>{{ 'frontend.live.next-sales-pro.content.next_sales'|trans }}</strong></h2>
  502.                 {% for item in todaysLive %}
  503.                     <div class=\"block01 marginT20\">
  504.                         <p class=\"titre01\"><strong>{{ 'frontend.live.next-sales.content.sale_ended'|trans }}</strong>
  505.                         </p>
  506.                         <p class=\"titre03 marginT10\"><strong>{{ item.room.code|upper }}
  507.                                 - {{ item.startDate|locale_date(pattern='EEEE d LLLL', locale=app.request.locale)|capitalize }}</strong>
  508.                         </p>
  509.                     </div>
  510.                     <div class=\"separateur\"></div>
  511.                 {% endfor %}
  512.                 <div class=\"marginT20\">
  513.                     <div>
  514.                         {% for sale in sales %}
  515.                             <div class=\"txtcenter\">
  516.                                 <h1 class=\"titre01\">
  517.                                     <strong>{{ sale.room.code|upper }}
  518.                                         - {{ sale.activeVehicles|length }} {{ 'frontend.live.next-sales.content.vehicles'|trans }}</strong>
  519.                                 </h1>
  520.                                 <h2 class=\"date\">{{ sale.startDate|locale_date(pattern='EEEE d LLLL yyyy', locale=app.request.locale) }}</h2>
  521.                                 <div class=\"block01\">
  522.                                     <p class=\"titre04 opening-in\">{{ 'frontend.live.next-sales.content.open_in'|trans }}</p>
  523.                                     <div class=\"counter must-fade fade-title clearfix\"
  524.                                          data-end=\"{{ get_real_starting_hour(sale)|date('Y/m/d H:i:s') }}\">
  525.                                         <ul class=\"counter-block\">
  526.                                             <li class=\"m-hide\"><i class=\"icon-chrono01\"></i></li>
  527.                                             <li>
  528.                                                 <span class=\"number days\">00</span>
  529.                                                 <span>{{ 'frontend.live.next-sales.content.timer.days'|trans }}</span>
  530.                                             </li>
  531.                                             <li>
  532.                                                 <span class=\"number hours\">00</span>
  533.                                                 <span>{{ 'frontend.live.next-sales.content.timer.hours'|trans }}</span>
  534.                                             </li>
  535.                                             <li>
  536.                                                 <span class=\"number minutes\">00</span>
  537.                                                 <span>{{ 'frontend.live.next-sales.content.timer.minutes'|trans }}</span>
  538.                                             </li>
  539.                                         </ul>
  540.                                     </div>
  541.                                 </div>
  542.                                 {% if sale.endDate|date('U') > 'now'|date('U') and get_real_starting_hour(sale)|date('U') < 'now'|date('U') %}
  543.                                     <p class=\"marginT10 titre04\">
  544.                                         {% if app.request.locale == constant('App\\\\Twig\\\\Extension\\\\CountryExtension::LOCALE_PORTUGUESE') %}
  545.                                             <img
  546.                                                 src=\"{{ asset('bundles/vpauto/frontend/images/icones/icon-live-pt.webp') }}\"
  547.                                                 class=\"icon-live w-26\" alt=\"\">
  548.                                         {% else %}
  549.                                             <img
  550.                                                 src=\"{{ asset('bundles/vpauto/frontend/images/icones/icon-live-fr.webp') }}\"
  551.                                                 class=\"icon-live w-26\" alt=\"\">
  552.                                         {% endif %}
  553.                                         {{ 'frontend.live.next-sales.content.button.running'|trans }}
  554.                                     </p>
  555.                                 {% endif %}
  556.                             </div>
  557.                             <div class=\"separateur\"></div>
  558.                         {% endfor %}
  559.                     </div>
  560.                     <div class=\"clearfix\"></div>
  561.                 </div>
  562.                 <p class=\"txtcenter\"><a href=\"{{ path('frontend_sale_online_pro') }}\" class=\"lien11\"
  563.                                         title=\"\">{{ 'frontend.live.next-sales-pro.content.button01.online_sale'|trans }}</a>
  564.                 </p>
  565.                 <p class=\"marginT10\">{{ 'frontend.live.next-sales-pro.content.text04'|trans }}</p>
  566.             </div>
  567.         </div>
  568.     </div>
  569. {% endblock body_content %}
  570. ""Live/Portal/next_sales_pro.html.twig""/srv/src/Resources/views/Live/Portal/next_sales_pro.html.twig");
  571.     }
  572. }