var/cache/dev/twig/a0/a09cdc18247952c2cf7bf85fe6283528d46ccb85f5de71541d522979f48012fd.php line 41

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. /* Frontend/news/new.html.twig */
  14. class __TwigTemplate_22ae82e1d3e4aef40c1d145edcc18cabd2ca5afd694202816028273d5b4a2bbe extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'stylesheets' => [$this'block_stylesheets'],
  24.             'seo' => [$this'block_seo'],
  25.             'content' => [$this'block_content'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "Frontend/layout.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Frontend/news/new.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Frontend/news/new.html.twig"));
  41.         // line 3
  42.         $context["newsAbsPath"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("new", ["seoSlug" => $this->extensions['App\Twig\AppExtension']->makeUrlPhrase(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'3$this->source); })()), "getTranslations", [], "any"falsefalsefalse3), 0, [], "array"falsefalsefalse3), "getTitle", [], "method"falsefalsefalse3)), "id" => twig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'3$this->source); })()), "getId", [], "method"falsefalsefalse3)]);
  43.         // line 4
  44.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["new"] ?? null), "images", [], "any"falsetruefalse4), 0, [], "array"truetruefalse4)) {
  45.             // line 5
  46.             $context["imgPath"] = ((((((((isset($context["IMG_PATH"]) || array_key_exists("IMG_PATH"$context) ? $context["IMG_PATH"] : (function () { throw new RuntimeError('Variable "IMG_PATH" does not exist.'5$this->source); })()) . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'5$this->source); })()), "images", [], "any"falsefalsefalse5), 0, [], "array"falsefalsefalse5), "section", [], "any"falsefalsefalse5)) . "/") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'5$this->source); })()), "images", [], "any"falsefalsefalse5), 0, [], "array"falsefalsefalse5), "itemId", [], "any"falsefalsefalse5)) . "/resized/") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'5$this->source); })()), "images", [], "any"falsefalsefalse5), 0, [], "array"falsefalsefalse5), "id", [], "any"falsefalsefalse5)) . "_backendGallery.") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'5$this->source); })()), "images", [], "any"falsefalsefalse5), 0, [], "array"falsefalsefalse5), "extension", [], "any"falsefalsefalse5));
  47.             // line 6
  48.             $context["imgSocialMediaPath"] = ((((((((isset($context["IMG_PATH"]) || array_key_exists("IMG_PATH"$context) ? $context["IMG_PATH"] : (function () { throw new RuntimeError('Variable "IMG_PATH" does not exist.'6$this->source); })()) . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'6$this->source); })()), "images", [], "any"falsefalsefalse6), 0, [], "array"falsefalsefalse6), "section", [], "any"falsefalsefalse6)) . "/") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'6$this->source); })()), "images", [], "any"falsefalsefalse6), 0, [], "array"falsefalsefalse6), "itemId", [], "any"falsefalsefalse6)) . "/resized/") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'6$this->source); })()), "images", [], "any"falsefalsefalse6), 0, [], "array"falsefalsefalse6), "id", [], "any"falsefalsefalse6)) . "_socialmedia.") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'6$this->source); })()), "images", [], "any"falsefalsefalse6), 0, [], "array"falsefalsefalse6), "extension", [], "any"falsefalsefalse6));
  49.         } else {
  50.             // line 8
  51.             $context["imgPath"] = "";
  52.         }
  53.         // line 1
  54.         $this->parent $this->loadTemplate("Frontend/layout.html.twig""Frontend/news/new.html.twig"1);
  55.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  56.         
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  58.         
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  60.     }
  61.     // line 11
  62.     public function block_stylesheets($context, array $blocks = [])
  63.     {
  64.         $macros $this->macros;
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  69.         // line 12
  70.         echo "    ";
  71.         $this->displayParentBlock("stylesheets"$context$blocks);
  72.         echo "
  73.     <link rel=\"stylesheet\" href=\"";
  74.         // line 13
  75.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/frontend/lightgallery/lightgallery.css"), "html"nulltrue);
  76.         echo "\" />
  77.     <link rel=\"stylesheet\" href=\"";
  78.         // line 14
  79.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/frontend/lightgallery/lightgallery-bundle.css"), "html"nulltrue);
  80.         echo "\" />
  81. ";
  82.         
  83.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  84.         
  85.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  86.     }
  87.     // line 16
  88.     public function block_seo($context, array $blocks = [])
  89.     {
  90.         $macros $this->macros;
  91.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  92.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo"));
  93.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  94.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo"));
  95.         // line 17
  96.         echo "    <meta property=\"og:type\" content=\"website\" />
  97.     <meta property=\"og:title\" content=\"";
  98.         // line 18
  99.         ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'18$this->source); })()), "getTranslations", [], "method"falsefalsefalse18), 0, [], "array"falsefalsefalse18), "getSeoTitle", [], "method"falsefalsefalse18)) ? (print (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'18$this->source); })()), "getTranslations", [], "method"falsefalsefalse18), 0, [], "array"falsefalsefalse18), "getSeoTitle", [], "method"falsefalsefalse18))) : (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'18$this->source); })()), "getTranslations", [], "method"falsefalsefalse18), 0, [], "array"falsefalsefalse18), "getTitle", [], "method"falsefalsefalse18), "html"nulltrue))));
  100.         echo "\" />
  101.     <title>";
  102.         // line 19
  103.         ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'19$this->source); })()), "getTranslations", [], "method"falsefalsefalse19), 0, [], "array"falsefalsefalse19), "getSeoTitle", [], "method"falsefalsefalse19)) ? (print (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'19$this->source); })()), "getTranslations", [], "method"falsefalsefalse19), 0, [], "array"falsefalsefalse19), "getSeoTitle", [], "method"falsefalsefalse19))) : (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'19$this->source); })()), "getTranslations", [], "method"falsefalsefalse19), 0, [], "array"falsefalsefalse19), "getTitle", [], "method"falsefalsefalse19), "html"nulltrue))));
  104.         echo "</title>
  105.     <meta property=\"og:description\" content=\"";
  106.         // line 20
  107.         echo ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'20$this->source); })()), "getTranslations", [], "method"falsefalsefalse20), 0, [], "array"falsefalsefalse20), "getSeoDescription", [], "method"falsefalsefalse20)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'20$this->source); })()), "getTranslations", [], "method"falsefalsefalse20), 0, [], "array"falsefalsefalse20), "getSeoDescription", [], "method"falsefalsefalse20)) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'20$this->source); })()), "getTranslations", [], "method"falsefalsefalse20), 0, [], "array"falsefalsefalse20), "getSubtitle", [], "method"falsefalsefalse20)));
  108.         echo "\" />
  109.     <meta name=\"description\" content=\"";
  110.         // line 22
  111.         echo ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'22$this->source); })()), "getTranslations", [], "method"falsefalsefalse22), 0, [], "array"falsefalsefalse22), "getSeoDescription", [], "method"falsefalsefalse22)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'22$this->source); })()), "getTranslations", [], "method"falsefalsefalse22), 0, [], "array"falsefalsefalse22), "getSeoDescription", [], "method"falsefalsefalse22)) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'22$this->source); })()), "getTranslations", [], "method"falsefalsefalse22), 0, [], "array"falsefalsefalse22), "getSubtitle", [], "method"falsefalsefalse22)));
  112.         echo "\"/>
  113.     ";
  114.         // line 23
  115.         if ((isset($context["fileExists"]) || array_key_exists("fileExists"$context) ? $context["fileExists"] : (function () { throw new RuntimeError('Variable "fileExists" does not exist.'23$this->source); })())) {
  116.             // line 24
  117.             echo "        <meta property=\"og:image\" itemprop=\"image\" content=\"";
  118.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["imgSocialMediaPath"]) || array_key_exists("imgSocialMediaPath"$context) ? $context["imgSocialMediaPath"] : (function () { throw new RuntimeError('Variable "imgSocialMediaPath" does not exist.'24$this->source); })()))), "html"nulltrue);
  119.             echo "\" />
  120.     ";
  121.         } else {
  122.             // line 26
  123.             echo "        <meta property=\"og:image\" itemprop=\"image\" content=\"";
  124.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["imgPath"]) || array_key_exists("imgPath"$context) ? $context["imgPath"] : (function () { throw new RuntimeError('Variable "imgPath" does not exist.'26$this->source); })()))), "html"nulltrue);
  125.             echo "\" />
  126.     ";
  127.         }
  128.         // line 28
  129.         echo "    <meta name=\"twitter:site\" content=\"@RCDEspanyol\" />
  130.     ";
  131.         
  132.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  133.         
  134.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  135.     }
  136.     // line 32
  137.     public function block_content($context, array $blocks = [])
  138.     {
  139.         $macros $this->macros;
  140.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  141.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  142.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  143.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  144.         // line 33
  145.         echo "
  146.     ";
  147.         // line 35
  148.         echo "    ";
  149.         // line 36
  150.         echo "
  151. ";
  152.         // line 37
  153.         if ((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'37$this->source); })()), "id", [], "any"falsefalsefalse37), (isset($context["news_for_china_only"]) || array_key_exists("news_for_china_only"$context) ? $context["news_for_china_only"] : (function () { throw new RuntimeError('Variable "news_for_china_only" does not exist.'37$this->source); })())))) {
  154.             // line 38
  155.             echo "    ";
  156.             if ( !twig_test_empty((isset($context["fromChina"]) || array_key_exists("fromChina"$context) ? $context["fromChina"] : (function () { throw new RuntimeError('Variable "fromChina" does not exist.'38$this->source); })()))) {
  157.                 // line 39
  158.                 echo "     <section id=\"new\">
  159.         <article>
  160.             <div class=\"grid-container\">
  161.                 <div class=\"grid-x grid-margin-x\">
  162.                     <!-- News content -->
  163.                     <div id=\"content\" class=\"cell small-12 medium-8 large-7\">
  164.                         <a href=\"";
  165.                 // line 45
  166.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("news");
  167.                 echo "\" role=\"button\" tabindex=\"0\" class=\"back\">
  168.                             <img src=\"";
  169.                 // line 46
  170.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icon/chevron.svg"), "html"nulltrue);
  171.                 echo "\" alt=\"";
  172.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Atrás", [], "messages");
  173.                 echo "\" title=\"";
  174.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Atrás", [], "messages");
  175.                 echo "\"/>
  176.                             <span>";
  177.                 // line 47
  178.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Atrás", [], "messages");
  179.                 echo "</span>
  180.                         </a>
  181.                         <header>
  182.                             <h1>";
  183.                 // line 50
  184.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'50$this->source); })()), "getTranslations", [], "method"falsefalsefalse50), 0, [], "array"falsefalsefalse50), "getTitle", [], "method"falsefalsefalse50), "html"nulltrue);
  185.                 echo "</h1>
  186.                         </header>
  187.                         <header>
  188.                             <h2>";
  189.                 // line 53
  190.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'53$this->source); })()), "getTranslations", [], "method"falsefalsefalse53), 0, [], "array"falsefalsefalse53), "getSubtitle", [], "method"falsefalsefalse53), "html"nulltrue);
  191.                 echo "</h2>
  192.                         </header>
  193.                         <div class=\"tools\">
  194.                             ";
  195.                 // line 56
  196.                 $context['_parent'] = $context;
  197.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'56$this->source); })()), "getCategories", [], "method"falsefalsefalse56));
  198.                 foreach ($context['_seq'] as $context["_key"] => $context["categ"]) {
  199.                     // line 57
  200.                     echo "                                <div class=\"category\">
  201.                                     <a href=\"";
  202.                     // line 58
  203.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("newsByCateg", ["seoSlugCategory" => $this->extensions['App\Twig\AppExtension']->makeUrlPhrase(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                     // line 59
  204. $context["categ"], "getTranslations", [], "method"falsefalsefalse59), 0, [], "array"falsefalsefalse59), "getName", [], "method"falsefalsefalse59)), "id" => twig_get_attribute($this->env$this->source,                     // line 60
  205. $context["categ"], "getId", [], "method"falsefalsefalse60)]), "html"nulltrue);
  206.                     echo "\" title=\"";
  207.                     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["categ"], "getTranslations", [], "method"falsefalsefalse60), 0, [], "array"falsefalsefalse60), "getName", [], "method"falsefalsefalse60), "html"nulltrue);
  208.                     echo "\" class=\"\">";
  209.                     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["categ"], "getTranslations", [], "method"falsefalsefalse60), 0, [], "array"falsefalsefalse60), "getName", [], "method"falsefalsefalse60), "html"nulltrue);
  210.                     echo "</a>
  211.                                 </div>
  212.                             ";
  213.                 }
  214.                 $_parent $context['_parent'];
  215.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['categ'], $context['_parent'], $context['loop']);
  216.                 $context array_intersect_key($context$_parent) + $_parent;
  217.                 // line 63
  218.                 echo "                            <span class=\"dia\">";
  219.                 echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'63$this->source); })()), "getPublicationDate", [], "method"falsefalsefalse63), "d/m/Y"), "html"nulltrue);
  220.                 echo "</span>
  221.                             <span class=\"hora\">";
  222.                 // line 64
  223.                 echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'64$this->source); })()), "getPublicationDate", [], "method"falsefalsefalse64), "H:i:s"), "html"nulltrue);
  224.                 echo "</span>
  225.                             <span class=\"share\"><a href=\"https://www.facebook.com/sharer/sharer.php?u=";
  226.                 // line 65
  227.                 echo twig_escape_filter($this->env, (isset($context["newsAbsPath"]) || array_key_exists("newsAbsPath"$context) ? $context["newsAbsPath"] : (function () { throw new RuntimeError('Variable "newsAbsPath" does not exist.'65$this->source); })()), "html"nulltrue);
  228.                 echo "\" target=\"_blank\"><i class=\"fab fa-2x fa-facebook-f\"></i></a></span>
  229.                             <span class=\"share xtwitter\"><a href=\"https://twitter.com/intent/tweet?url=";
  230.                 // line 66
  231.                 echo twig_escape_filter($this->env, (isset($context["newsAbsPath"]) || array_key_exists("newsAbsPath"$context) ? $context["newsAbsPath"] : (function () { throw new RuntimeError('Variable "newsAbsPath" does not exist.'66$this->source); })()), "html"nulltrue);
  232.                 echo "\" target=\"_blank\"><img src=\"";
  233.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icon/x-twitter.svg"), "html"nulltrue);
  234.                 echo "\" alt=\"Twitter\" title=\"Twitter\"/></a></span>
  235.                             <span class=\"hide-for-small-only share\"><a href=\"https://web.whatsapp.com/send?text=";
  236.                 // line 67
  237.                 echo twig_escape_filter($this->env, (isset($context["newsAbsPath"]) || array_key_exists("newsAbsPath"$context) ? $context["newsAbsPath"] : (function () { throw new RuntimeError('Variable "newsAbsPath" does not exist.'67$this->source); })()), "html"nulltrue);
  238.                 echo "\" title=\"WhatsApp\" target=\"_blank\" data-param-url=\"";
  239.                 echo twig_escape_filter($this->env, (isset($context["newsAbsPath"]) || array_key_exists("newsAbsPath"$context) ? $context["newsAbsPath"] : (function () { throw new RuntimeError('Variable "newsAbsPath" does not exist.'67$this->source); })()), "html"nulltrue);
  240.                 echo "\" data-action=\"share/whatsapp/share\" data-param-description=\"";
  241.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'67$this->source); })()), "getTranslations", [], "method"falsefalsefalse67), 0, [], "array"falsefalsefalse67), "getSeoDescription", [], "method"falsefalsefalse67), "html"nulltrue);
  242.                 echo "\" data-param-title=\"";
  243.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'67$this->source); })()), "getTranslations", [], "method"falsefalsefalse67), 0, [], "array"falsefalsefalse67), "getTitle", [], "method"falsefalsefalse67), "html"nulltrue);
  244.                 echo "\"><i class=\"fab fa-2x fa-whatsapp\" aria-hidden=\"true\"></i></a></span>
  245.                             <span class=\"show-for-small-only share\"><a href=\"whatsapp://send?text=";
  246.                 // line 68
  247.                 echo twig_escape_filter($this->env, (isset($context["newsAbsPath"]) || array_key_exists("newsAbsPath"$context) ? $context["newsAbsPath"] : (function () { throw new RuntimeError('Variable "newsAbsPath" does not exist.'68$this->source); })()), "html"nulltrue);
  248.                 echo "\" title=\"WhatsApp\" target=\"_blank\" data-param-url=\"";
  249.                 echo twig_escape_filter($this->env, (isset($context["newsAbsPath"]) || array_key_exists("newsAbsPath"$context) ? $context["newsAbsPath"] : (function () { throw new RuntimeError('Variable "newsAbsPath" does not exist.'68$this->source); })()), "html"nulltrue);
  250.                 echo "\" data-action=\"share/whatsapp/share\" data-param-description=\"";
  251.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'68$this->source); })()), "getTranslations", [], "method"falsefalsefalse68), 0, [], "array"falsefalsefalse68), "getSeoDescription", [], "method"falsefalsefalse68), "html"nulltrue);
  252.                 echo "\" data-param-title=\"";
  253.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'68$this->source); })()), "getTranslations", [], "method"falsefalsefalse68), 0, [], "array"falsefalsefalse68), "getTitle", [], "method"falsefalsefalse68), "html"nulltrue);
  254.                 echo "\"><i class=\"fab fa-2x fa-whatsapp\" aria-hidden=\"true\"></i></a></span>
  255.                         </div>
  256.                         ";
  257.                 // line 71
  258.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'71$this->source); })()), "getKalturaId", [], "method"falsefalsefalse71))) {
  259.                     // line 72
  260.                     echo "                            <div class=\"responsive-embed\">
  261.                                 <iframe type=\"text/javascript\" src='https://cdnapisec.kaltura.com/p/4626453/embedPlaykitJs/uiconf_id/50311432?iframeembed=true&entry_id=";
  262.                     // line 73
  263.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'73$this->source); })()), "KalturaId", [], "method"falsefalsefalse73), "html"nulltrue);
  264.                     echo "' style=\"width: 100%; height: 100%;\" allowfullscreen webkitallowfullscreen mozAllowFullScreen allow=\"autoplay *; fullscreen *; encrypted-media *\" frameborder=\"0\"></iframe>
  265.                             </div>
  266.                         ";
  267.                 } else {
  268.                     // line 76
  269.                     echo "                            <figure>
  270.                                 <img src=\"";
  271.                     // line 77
  272.                     echo twig_escape_filter($this->env, (isset($context["imgPath"]) || array_key_exists("imgPath"$context) ? $context["imgPath"] : (function () { throw new RuntimeError('Variable "imgPath" does not exist.'77$this->source); })()), "html"nulltrue);
  273.                     echo "\" alt=\"";
  274.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'77$this->source); })()), "getTranslations", [], "method"falsefalsefalse77), 0, [], "array"falsefalsefalse77), "getTitle", [], "method"falsefalsefalse77), "html"nulltrue);
  275.                     echo "\" title=\"";
  276.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'77$this->source); })()), "getTranslations", [], "method"falsefalsefalse77), 0, [], "array"falsefalsefalse77), "getTitle", [], "method"falsefalsefalse77), "html"nulltrue);
  277.                     echo "\" />
  278.                             </figure>
  279.                         ";
  280.                 }
  281.                 // line 80
  282.                 echo "
  283.                         ";
  284.                 // line 81
  285.                 echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'81$this->source); })()), "getTranslations", [], "method"falsefalsefalse81), 0, [], "array"falsefalsefalse81), "getText", [], "method"falsefalsefalse81);
  286.                 echo "
  287.                         ";
  288.                 // line 82
  289.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'82$this->source); })()), "getVideo1", [], "method"falsefalsefalse82))) {
  290.                     // line 83
  291.                     echo "                            <p><a href=\"";
  292.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'83$this->source); })()), "getVideo1", [], "method"falsefalsefalse83), "html"nulltrue);
  293.                     echo "\">";
  294.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'83$this->source); })()), "getVideo1", [], "method"falsefalsefalse83), "html"nulltrue);
  295.                     echo "</a></p>
  296.                             ";
  297.                 }
  298.                 // line 85
  299.                 echo "                            ";
  300.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'85$this->source); })()), "getVideo2", [], "method"falsefalsefalse85))) {
  301.                     // line 86
  302.                     echo "                            <p><a href=\"";
  303.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'86$this->source); })()), "getVideo2", [], "method"falsefalsefalse86), "html"nulltrue);
  304.                     echo "\">";
  305.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'86$this->source); })()), "getVideo2", [], "method"falsefalsefalse86), "html"nulltrue);
  306.                     echo "</a></p>
  307.                             ";
  308.                 }
  309.                 // line 88
  310.                 echo "                            ";
  311.                 $this->loadTemplate("Frontend/news/match_stats.html.twig""Frontend/news/new.html.twig"88)->display($context);
  312.                 // line 89
  313.                 echo "
  314.                     </div>
  315.                     <!-- Sidebar -->
  316.                     <aside id=\"sidebar\" class=\"cell small-12 medium-4 large-5\">
  317.                         ";
  318.                 // line 94
  319.                 if ((((twig_get_attribute($this->env$this->source, ($context["new"] ?? null), "getBanner", [], "method"truetruefalse94)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["new"] ?? null), "getBanner", [], "method"falsefalsefalse94))) : ("")) && ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["new"] ?? null), "getBanner", [], "method"falsetruefalse94), "getImages", [], "method"falsetruefalse94), 0, [], "array"truetruefalse94)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["new"] ?? null), "getBanner", [], "method"falsetruefalse94), "getImages", [], "method"falsetruefalse94), 0, [], "array"falsefalsefalse94))) : ("")))) {
  320.                     // line 95
  321.                     echo "                            ";
  322.                     $context["bannerImg"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'95$this->source); })()), "getBanner", [], "method"falsefalsefalse95), "getImages", [], "method"falsefalsefalse95), 0, [], "array"falsefalsefalse95);
  323.                     // line 96
  324.                     echo "                            <div class=\"sponsor\">
  325.                                 <a href=\"";
  326.                     // line 97
  327.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'97$this->source); })()), "getBanner", [], "method"falsefalsefalse97), "getTranslations", [], "method"falsefalsefalse97), 0, [], "array"falsefalsefalse97), "getLink", [], "method"falsefalsefalse97), "html"nulltrue);
  328.                     echo "\" rel=\"noopener noreferrer\" target=\"_blank\" title=\"";
  329.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'97$this->source); })()), "getBanner", [], "method"falsefalsefalse97), "getTranslations", [], "method"falsefalsefalse97), 0, [], "array"falsefalsefalse97), "getTitle", [], "method"falsefalsefalse97), "html"nulltrue);
  330.                     echo "\">
  331.                                     <img src=\"";
  332.                     // line 98
  333.                     echo twig_escape_filter($this->env, ((((((((isset($context["IMG_PATH"]) || array_key_exists("IMG_PATH"$context) ? $context["IMG_PATH"] : (function () { throw new RuntimeError('Variable "IMG_PATH" does not exist.'98$this->source); })()) . twig_get_attribute($this->env$this->source, (isset($context["bannerImg"]) || array_key_exists("bannerImg"$context) ? $context["bannerImg"] : (function () { throw new RuntimeError('Variable "bannerImg" does not exist.'98$this->source); })()), "section", [], "any"falsefalsefalse98)) . "/") . twig_get_attribute($this->env$this->source, (isset($context["bannerImg"]) || array_key_exists("bannerImg"$context) ? $context["bannerImg"] : (function () { throw new RuntimeError('Variable "bannerImg" does not exist.'98$this->source); })()), "itemId", [], "any"falsefalsefalse98)) . "/resized/") . twig_get_attribute($this->env$this->source, (isset($context["bannerImg"]) || array_key_exists("bannerImg"$context) ? $context["bannerImg"] : (function () { throw new RuntimeError('Variable "bannerImg" does not exist.'98$this->source); })()), "id", [], "any"falsefalsefalse98)) . "_backendGallery.") . twig_get_attribute($this->env$this->source, (isset($context["bannerImg"]) || array_key_exists("bannerImg"$context) ? $context["bannerImg"] : (function () { throw new RuntimeError('Variable "bannerImg" does not exist.'98$this->source); })()), "extension", [], "any"falsefalsefalse98)), "html"nulltrue);
  334.                     echo "\" alt=\"";
  335.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'98$this->source); })()), "getBanner", [], "method"falsefalsefalse98), "getTranslations", [], "method"falsefalsefalse98), 0, [], "array"falsefalsefalse98), "getTitle", [], "method"falsefalsefalse98), "html"nulltrue);
  336.                     echo "\" />
  337.                                 </a>
  338.                             </div>
  339.                         ";
  340.                 }
  341.                 // line 102
  342.                 echo "                        ";
  343.                 if ((((twig_get_attribute($this->env$this->source, ($context["new"] ?? null), "getBanner2", [], "method"truetruefalse102)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["new"] ?? null), "getBanner2", [], "method"falsefalsefalse102))) : ("")) && ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["new"] ?? null), "getBanner2", [], "method"falsetruefalse102), "getImages", [], "method"falsetruefalse102), 0, [], "array"truetruefalse102)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["new"] ?? null), "getBanner2", [], "method"falsetruefalse102), "getImages", [], "method"falsetruefalse102), 0, [], "array"falsefalsefalse102))) : ("")))) {
  344.                     // line 103
  345.                     echo "                            ";
  346.                     $context["bannerImg"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'103$this->source); })()), "getBanner2", [], "method"falsefalsefalse103), "getImages", [], "method"falsefalsefalse103), 0, [], "array"falsefalsefalse103);
  347.                     // line 104
  348.                     echo "                            <div class=\"sponsor\">
  349.                                 <a href=\"";
  350.                     // line 105
  351.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'105$this->source); })()), "getBanner2", [], "method"falsefalsefalse105), "getTranslations", [], "method"falsefalsefalse105), 0, [], "array"falsefalsefalse105), "getLink", [], "method"falsefalsefalse105), "html"nulltrue);
  352.                     echo "\" rel=\"noopener noreferrer\" target=\"_blank\" title=\"";
  353.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'105$this->source); })()), "getBanner2", [], "method"falsefalsefalse105), "getTranslations", [], "method"falsefalsefalse105), 0, [], "array"falsefalsefalse105), "getTitle", [], "method"falsefalsefalse105), "html"nulltrue);
  354.                     echo "\">
  355.                                     <img src=\"";
  356.                     // line 106
  357.                     echo twig_escape_filter($this->env, ((((((((isset($context["IMG_PATH"]) || array_key_exists("IMG_PATH"$context) ? $context["IMG_PATH"] : (function () { throw new RuntimeError('Variable "IMG_PATH" does not exist.'106$this->source); })()) . twig_get_attribute($this->env$this->source, (isset($context["bannerImg"]) || array_key_exists("bannerImg"$context) ? $context["bannerImg"] : (function () { throw new RuntimeError('Variable "bannerImg" does not exist.'106$this->source); })()), "section", [], "any"falsefalsefalse106)) . "/") . twig_get_attribute($this->env$this->source, (isset($context["bannerImg"]) || array_key_exists("bannerImg"$context) ? $context["bannerImg"] : (function () { throw new RuntimeError('Variable "bannerImg" does not exist.'106$this->source); })()), "itemId", [], "any"falsefalsefalse106)) . "/resized/") . twig_get_attribute($this->env$this->source, (isset($context["bannerImg"]) || array_key_exists("bannerImg"$context) ? $context["bannerImg"] : (function () { throw new RuntimeError('Variable "bannerImg" does not exist.'106$this->source); })()), "id", [], "any"falsefalsefalse106)) . "_backendGallery.") . twig_get_attribute($this->env$this->source, (isset($context["bannerImg"]) || array_key_exists("bannerImg"$context) ? $context["bannerImg"] : (function () { throw new RuntimeError('Variable "bannerImg" does not exist.'106$this->source); })()), "extension", [], "any"falsefalsefalse106)), "html"nulltrue);
  358.                     echo "\" alt=\"";
  359.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'106$this->source); })()), "getBanner2", [], "method"falsefalsefalse106), "getTranslations", [], "method"falsefalsefalse106), 0, [], "array"falsefalsefalse106), "getTitle", [], "method"falsefalsefalse106), "html"nulltrue);
  360.                     echo "\" />
  361.                                 </a>
  362.                             </div>
  363.                         ";
  364.                 }
  365.                 // line 110
  366.                 echo "                        ";
  367.                 $this->loadTemplate("Frontend/common/nextmatch.html.twig""Frontend/news/new.html.twig"110)->display($context);
  368.                 // line 111
  369.                 echo "                        ";
  370.                 $context['_parent'] = $context;
  371.                 $context['_seq'] = twig_ensure_traversable((isset($context["banners"]) || array_key_exists("banners"$context) ? $context["banners"] : (function () { throw new RuntimeError('Variable "banners" does not exist.'111$this->source); })()));
  372.                 foreach ($context['_seq'] as $context["_key"] => $context["banner"]) {
  373.                     // line 112
  374.                     echo "                            ";
  375.                     if ((twig_get_attribute($this->env$this->source$context["banner"], "image", [], "any"truetruefalse112) &&  !twig_test_empty(twig_get_attribute($this->env$this->source$context["banner"], "image", [], "any"falsefalsefalse112)))) {
  376.                         // line 113
  377.                         echo "                                <div class=\"banner\">
  378.                                     <header>
  379.                                         <h4>";
  380.                         // line 115
  381.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["banner"], "record", [], "any"falsefalsefalse115), "title", [], "any"falsefalsefalse115), "html"nulltrue);
  382.                         echo "</h4>
  383.                                     </header>
  384.                                     <a href=\"";
  385.                         // line 117
  386.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["banner"], "record", [], "any"falsefalsefalse117), "link", [], "any"falsefalsefalse117), "html"nulltrue);
  387.                         echo "\"  target=\"_blank\" title=\"";
  388.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["banner"], "record", [], "any"falsefalsefalse117), "title", [], "any"falsefalsefalse117), "html"nulltrue);
  389.                         echo "\">
  390.                                         <img src=\"";
  391.                         // line 118
  392.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["banner"], "image", [], "any"falsefalsefalse118), "html"nulltrue);
  393.                         echo "\" alt=\"";
  394.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["banner"], "record", [], "any"falsefalsefalse118), "title", [], "any"falsefalsefalse118), "html"nulltrue);
  395.                         echo "\" />
  396.                                     </a>
  397.                                 </div>
  398.                             ";
  399.                     }
  400.                     // line 122
  401.                     echo "                        ";
  402.                 }
  403.                 $_parent $context['_parent'];
  404.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['banner'], $context['_parent'], $context['loop']);
  405.                 $context array_intersect_key($context$_parent) + $_parent;
  406.                 // line 123
  407.                 echo "                        <div class=\"download\">
  408.                             <div class=\"\" role=\"main\">
  409.                                 <header>
  410.                                     <h4>";
  411.                 // line 126
  412.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Descárgate la app", [], "messages");
  413.                 echo "</h4>
  414.                                 </header>
  415.                                 <p>";
  416.                 // line 128
  417.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Todos los detalles del partido en tu móvil", [], "messages");
  418.                 echo "</p>
  419.                                 <div class=\"\" role=\"button\">
  420.                                     <a class=\"\" href=\"https://apps.apple.com/app/rcd-espanyol-de-barcelona/id1482739348?ls=1&amp;l=\" target=\"_blank\" rel=\"noopener noreferrer\">
  421.                                         <img src=\"";
  422.                 // line 131
  423.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/tmp/download-appstore.png"), "html"nulltrue);
  424.                 echo "\" alt=\"Download it on the App Store\" title=\"Download it on the App Store\" />
  425.                                     </a>
  426.                                     <a class=\"\" href=\"https://play.google.com/store/apps/details?id=com.rcdespanyol.app&amp;hl=\" target=\"_blank\" rel=\"noopener noreferrer\">
  427.                                         <img src=\"";
  428.                 // line 134
  429.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/tmp/google-play.png"), "html"nulltrue);
  430.                 echo "\" alt=\"Get it on Google Play\" title=\"Get it on Google Play\"/>
  431.                                     </a>
  432.                                 </div>
  433.                                 <div class=\"\" role=\"figure\">
  434.                                     <img src=\"";
  435.                 // line 138
  436.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/static/rcde_banner_app.png"), "html"nulltrue);
  437.                 echo "\" alt=\"";
  438.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Descárgate la app", [], "messages");
  439.                 echo "\" title=\"";
  440.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Descárgate la app", [], "messages");
  441.                 echo "\" />
  442.                                 </div>
  443.                             </div>
  444.                         </div>
  445.                     </aside>
  446.                     <aside id=\"download\">
  447.                         <div class=\"grid-container\">
  448.                             ";
  449.                 // line 146
  450.                 if (((twig_get_attribute($this->env$this->source, ($context["new"] ?? null), "getDocuments", [], "method"truetruefalse146)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["new"] ?? null), "getDocuments", [], "method"falsefalsefalse146))) : (""))) {
  451.                     // line 147
  452.                     echo "                                <header>
  453.                                     <h3>";
  454.                     // line 148
  455.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Archivos", [], "messages");
  456.                     echo "</h3>
  457.                                 </header>
  458.                                 <ul>
  459.                                     ";
  460.                     // line 151
  461.                     $context['_parent'] = $context;
  462.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'151$this->source); })()), "getDocuments", [], "method"falsefalsefalse151));
  463.                     foreach ($context['_seq'] as $context["_key"] => $context["doc"]) {
  464.                         // line 152
  465.                         echo "                                        <li class=\"cell\">
  466.                                             <a href=\"";
  467.                         // line 153
  468.                         echo twig_escape_filter($this->env, ((((((((isset($context["DOC_PATH"]) || array_key_exists("DOC_PATH"$context) ? $context["DOC_PATH"] : (function () { throw new RuntimeError('Variable "DOC_PATH" does not exist.'153$this->source); })()) . twig_get_attribute($this->env$this->source$context["doc"], "section", [], "any"falsefalsefalse153)) . "/") . twig_get_attribute($this->env$this->source$context["doc"], "itemId", [], "any"falsefalsefalse153)) . "/") . twig_get_attribute($this->env$this->source$context["doc"], "id", [], "any"falsefalsefalse153)) . ".") . twig_get_attribute($this->env$this->source$context["doc"], "extension", [], "any"falsefalsefalse153)), "html"nulltrue);
  469.                         echo "\" title=\"";
  470.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["doc"], "fileName", [], "any"falsefalsefalse153), "html"nulltrue);
  471.                         echo "\" target=\"_blank\">
  472.                                                 <figure>
  473.                                                     <img src=\"";
  474.                         // line 155
  475.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icon/file.svg"), "html"nulltrue);
  476.                         echo "\" alt=\"";
  477.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["doc"], "extension", [], "any"falsefalsefalse155), "html"nulltrue);
  478.                         echo "\" />
  479.                                                 </figure>
  480.                                                 <span>";
  481.                         // line 157
  482.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["doc"], "fileName", [], "any"falsefalsefalse157), "html"nulltrue);
  483.                         echo "</span>
  484.                                                 <div>
  485.                                                     <span>";
  486.                         // line 159
  487.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["doc"], "extension", [], "any"falsefalsefalse159), "html"nulltrue);
  488.                         echo "</span>
  489.                                                     <span><img src=\"";
  490.                         // line 160
  491.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icon/download.svg"), "html"nulltrue);
  492.                         echo "\"></span>
  493.                                                 </div>
  494.                                             </a>
  495.                                         </li>
  496.                                     ";
  497.                     }
  498.                     $_parent $context['_parent'];
  499.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['doc'], $context['_parent'], $context['loop']);
  500.                     $context array_intersect_key($context$_parent) + $_parent;
  501.                     // line 165
  502.                     echo "                                </ul>
  503.                             ";
  504.                 }
  505.                 // line 167
  506.                 echo "                        </div>
  507.                     </aside>
  508.                 </div>
  509.             </div>
  510.             <aside class=\"fixgallery\">
  511.                 <header>
  512.                     <h2>";
  513.                 // line 173
  514.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Galería", [], "messages");
  515.                 echo "</h2>
  516.                 </header>
  517.                 <div id=\"lightgallery\" class=\"gallery-carousel\">
  518.                     ";
  519.                 // line 176
  520.                 if (((twig_get_attribute($this->env$this->source, ($context["new"] ?? null), "images", [], "any"truetruefalse176)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["new"] ?? null), "images", [], "any"falsefalsefalse176))) : (""))) {
  521.                     // line 177
  522.                     echo "                        ";
  523.                     $context['_parent'] = $context;
  524.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'177$this->source); })()), "images", [], "any"falsefalsefalse177));
  525.                     foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
  526.                         // line 178
  527.                         echo "                            <div class=\"item\" data-src=\"";
  528.                         echo twig_escape_filter($this->env, ((((((((isset($context["IMG_PATH"]) || array_key_exists("IMG_PATH"$context) ? $context["IMG_PATH"] : (function () { throw new RuntimeError('Variable "IMG_PATH" does not exist.'178$this->source); })()) . twig_get_attribute($this->env$this->source$context["image"], "section", [], "any"falsefalsefalse178)) . "/") . twig_get_attribute($this->env$this->source$context["image"], "itemId", [], "any"falsefalsefalse178)) . "/resized/") . twig_get_attribute($this->env$this->source$context["image"], "id", [], "any"falsefalsefalse178)) . "_backendGallery.") . twig_get_attribute($this->env$this->source$context["image"], "extension", [], "any"falsefalsefalse178)), "html"nulltrue);
  529.                         echo "\" title=\"\" data-index=\"0\" />
  530.                             <figure>
  531.                                 <img src=\"";
  532.                         // line 180
  533.                         echo twig_escape_filter($this->env, ((((((((isset($context["IMG_PATH"]) || array_key_exists("IMG_PATH"$context) ? $context["IMG_PATH"] : (function () { throw new RuntimeError('Variable "IMG_PATH" does not exist.'180$this->source); })()) . twig_get_attribute($this->env$this->source$context["image"], "section", [], "any"falsefalsefalse180)) . "/") . twig_get_attribute($this->env$this->source$context["image"], "itemId", [], "any"falsefalsefalse180)) . "/resized/") . twig_get_attribute($this->env$this->source$context["image"], "id", [], "any"falsefalsefalse180)) . "_backendGallery.") . twig_get_attribute($this->env$this->source$context["image"], "extension", [], "any"falsefalsefalse180)), "html"nulltrue);
  534.                         echo "\"/>
  535.                             </figure>
  536.                         </div>
  537.                     ";
  538.                     }
  539.                     $_parent $context['_parent'];
  540.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
  541.                     $context array_intersect_key($context$_parent) + $_parent;
  542.                     // line 184
  543.                     echo "                ";
  544.                 }
  545.                 // line 185
  546.                 echo "                </div>
  547.             </aside>
  548.             ";
  549.                 // line 188
  550.                 echo "            ";
  551.                 if ( !twig_test_empty((isset($context["relatedNews"]) || array_key_exists("relatedNews"$context) ? $context["relatedNews"] : (function () { throw new RuntimeError('Variable "relatedNews" does not exist.'188$this->source); })()))) {
  552.                     // line 189
  553.                     echo "                <aside id=\"related\">
  554.                     <div class=\"grid-container\">
  555.                         <div class=\"grid-x grid-margin-x\">
  556.                             <header class=\"cell small-12 medium-11 large-11\">
  557.                                 <h2>";
  558.                     // line 193
  559.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Noticias relacionadas", [], "messages");
  560.                     echo "</h2>
  561.                             </header>
  562.                         </div>
  563.                         <div class=\"related\">
  564.                             ";
  565.                     // line 197
  566.                     $context['_parent'] = $context;
  567.                     $context['_seq'] = twig_ensure_traversable((isset($context["relatedNews"]) || array_key_exists("relatedNews"$context) ? $context["relatedNews"] : (function () { throw new RuntimeError('Variable "relatedNews" does not exist.'197$this->source); })()));
  568.                     foreach ($context['_seq'] as $context["_key"] => $context["relNew"]) {
  569.                         // line 198
  570.                         echo "                                ";
  571.                         if (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["relNew"], "getTranslations", [], "method"falsetruefalse198), 0, [], "array"falsetruefalse198), "getTitle", [], "method"truetruefalse198)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["relNew"], "getTranslations", [], "method"falsetruefalse198), 0, [], "array"falsetruefalse198), "getTitle", [], "method"falsefalsefalse198))) : (""))) {
  572.                             // line 199
  573.                             echo "                                    ";
  574.                             $context["relNewPath"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("new", ["seoSlug" => $this->extensions['App\Twig\AppExtension']->makeUrlPhrase(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["relNew"], "getTranslations", [], "any"falsefalsefalse199), 0, [], "array"falsefalsefalse199), "getTitle", [], "method"falsefalsefalse199)), "id" => twig_get_attribute($this->env$this->source$context["relNew"], "getId", [], "method"falsefalsefalse199)]);
  575.                             // line 200
  576.                             echo "                                ";
  577.                         } else {
  578.                             // line 201
  579.                             echo "                                    ";
  580.                             $context["relNewPath"] = "";
  581.                             // line 202
  582.                             echo "                                ";
  583.                         }
  584.                         // line 203
  585.                         echo "                                ";
  586.                         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["relNew"], "images", [], "any"falsetruefalse203), 0, [], "array"truetruefalse203)) {
  587.                             // line 204
  588.                             echo "                                    ";
  589.                             $context["imgPath"] = ((((((((isset($context["IMG_PATH"]) || array_key_exists("IMG_PATH"$context) ? $context["IMG_PATH"] : (function () { throw new RuntimeError('Variable "IMG_PATH" does not exist.'204$this->source); })()) . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["relNew"], "images", [], "any"falsefalsefalse204), 0, [], "array"falsefalsefalse204), "section", [], "any"falsefalsefalse204)) . "/") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["relNew"], "images", [], "any"falsefalsefalse204), 0, [], "array"falsefalsefalse204), "itemId", [], "any"falsefalsefalse204)) . "/resized/") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["relNew"], "images", [], "any"falsefalsefalse204), 0, [], "array"falsefalsefalse204), "id", [], "any"falsefalsefalse204)) . "_backendGallery.") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["relNew"], "images", [], "any"falsefalsefalse204), 0, [], "array"falsefalsefalse204), "extension", [], "any"falsefalsefalse204));
  590.                             // line 205
  591.                             echo "                                ";
  592.                         } else {
  593.                             // line 206
  594.                             echo "                                    ";
  595.                             $context["imgPath"] = "";
  596.                             // line 207
  597.                             echo "                                ";
  598.                         }
  599.                         // line 208
  600.                         echo "                                <div>
  601.                                     <figure>
  602.                                         <a href=\"";
  603.                         // line 210
  604.                         echo twig_escape_filter($this->env, (isset($context["relNewPath"]) || array_key_exists("relNewPath"$context) ? $context["relNewPath"] : (function () { throw new RuntimeError('Variable "relNewPath" does not exist.'210$this->source); })()), "html"nulltrue);
  605.                         echo "\" title=\"";
  606.                         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["relNew"], "getTranslations", [], "any"falsefalsefalse210), 0, [], "array"falsefalsefalse210), "getTitle", [], "method"falsefalsefalse210), "html"nulltrue);
  607.                         echo "\">
  608.                                             <img src=\"";
  609.                         // line 211
  610.                         echo twig_escape_filter($this->env, (isset($context["imgPath"]) || array_key_exists("imgPath"$context) ? $context["imgPath"] : (function () { throw new RuntimeError('Variable "imgPath" does not exist.'211$this->source); })()), "html"nulltrue);
  611.                         echo "\" alt=\"";
  612.                         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["relNew"], "getTranslations", [], "any"falsefalsefalse211), 0, [], "array"falsefalsefalse211), "getTitle", [], "method"falsefalsefalse211), "html"nulltrue);
  613.                         echo "\" />
  614.                                         </a>
  615.                                     </figure>
  616.                                     <div class=\"description\">
  617.                                         <header>
  618.                                             <h3><a href=\"";
  619.                         // line 216
  620.                         echo twig_escape_filter($this->env, (isset($context["relNewPath"]) || array_key_exists("relNewPath"$context) ? $context["relNewPath"] : (function () { throw new RuntimeError('Variable "relNewPath" does not exist.'216$this->source); })()), "html"nulltrue);
  621.                         echo "\" title=\"";
  622.                         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["relNew"], "getTranslations", [], "any"falsefalsefalse216), 0, [], "array"falsefalsefalse216), "getTitle", [], "method"falsefalsefalse216), "html"nulltrue);
  623.                         echo "\">";
  624.                         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["relNew"], "getTranslations", [], "any"falsefalsefalse216), 0, [], "array"falsefalsefalse216), "getTitle", [], "method"falsefalsefalse216), "html"nulltrue);
  625.                         echo "</a></h3>
  626.                                         </header>
  627.                                         <p>
  628.                                             ";
  629.                         // line 219
  630.                         $context['_parent'] = $context;
  631.                         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["relNew"], "getCategories", [], "method"falsefalsefalse219));
  632.                         foreach ($context['_seq'] as $context["_key"] => $context["categ"]) {
  633.                             // line 220
  634.                             echo "                                                <a href=\"";
  635.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("newsByCateg", ["seoSlugCategory" => $this->extensions['App\Twig\AppExtension']->makeUrlPhrase(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                             // line 221
  636. $context["categ"], "getTranslations", [], "method"falsefalsefalse221), 0, [], "array"falsefalsefalse221), "getName", [], "method"falsefalsefalse221)), "id" => twig_get_attribute($this->env$this->source,                             // line 222
  637. $context["categ"], "getId", [], "method"falsefalsefalse222)]), "html"nulltrue);
  638.                             echo "\" title=\"";
  639.                             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["categ"], "getTranslations", [], "method"falsefalsefalse222), 0, [], "array"falsefalsefalse222), "getName", [], "method"falsefalsefalse222), "html"nulltrue);
  640.                             echo "\" class=\"category\">";
  641.                             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["categ"], "getTranslations", [], "method"falsefalsefalse222), 0, [], "array"falsefalsefalse222), "getName", [], "method"falsefalsefalse222), "html"nulltrue);
  642.                             echo "</a>
  643.                                             ";
  644.                         }
  645.                         $_parent $context['_parent'];
  646.                         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['categ'], $context['_parent'], $context['loop']);
  647.                         $context array_intersect_key($context$_parent) + $_parent;
  648.                         // line 224
  649.                         echo "                                            <span>";
  650.                         echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["relNew"], "getPublicationDate", [], "method"falsefalsefalse224), "d/m/Y"), "html"nulltrue);
  651.                         echo "</span>
  652.                                         </p>
  653.                                     </div>
  654.                                 </div>
  655.                             ";
  656.                     }
  657.                     $_parent $context['_parent'];
  658.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['relNew'], $context['_parent'], $context['loop']);
  659.                     $context array_intersect_key($context$_parent) + $_parent;
  660.                     // line 229
  661.                     echo "                        </div>
  662.                     </div>
  663.                 </aside>
  664.             ";
  665.                 }
  666.                 // line 233
  667.                 echo "        </article>
  668.     </section>
  669.     ";
  670.             }
  671.         } else {
  672.             // line 237
  673.             echo "
  674.  <section id=\"new\">
  675.         <article>
  676.             <div class=\"grid-container\">
  677.                 <div class=\"grid-x grid-margin-x\">
  678.                     <!-- News content -->
  679.                     <div id=\"content\" class=\"cell small-12 medium-8 large-7\">
  680.                         <a href=\"";
  681.             // line 244
  682.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("news");
  683.             echo "\" role=\"button\" tabindex=\"0\" class=\"back\">
  684.                             <img src=\"";
  685.             // line 245
  686.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icon/chevron.svg"), "html"nulltrue);
  687.             echo "\" alt=\"";
  688.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Atrás", [], "messages");
  689.             echo "\" title=\"";
  690.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Atrás", [], "messages");
  691.             echo "\"/>
  692.                             <span>";
  693.             // line 246
  694.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Atrás", [], "messages");
  695.             echo "</span>
  696.                         </a>
  697.                         <header>
  698.                             <h1>";
  699.             // line 249
  700.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'249$this->source); })()), "getTranslations", [], "method"falsefalsefalse249), 0, [], "array"falsefalsefalse249), "getTitle", [], "method"falsefalsefalse249), "html"nulltrue);
  701.             echo "</h1>
  702.                         </header>
  703.                         <header>
  704.                             <h2>";
  705.             // line 252
  706.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'252$this->source); })()), "getTranslations", [], "method"falsefalsefalse252), 0, [], "array"falsefalsefalse252), "getSubtitle", [], "method"falsefalsefalse252), "html"nulltrue);
  707.             echo "</h2>
  708.                         </header>
  709.                         <div class=\"tools\">
  710.                             ";
  711.             // line 255
  712.             $context['_parent'] = $context;
  713.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'255$this->source); })()), "getCategories", [], "method"falsefalsefalse255));
  714.             foreach ($context['_seq'] as $context["_key"] => $context["categ"]) {
  715.                 // line 256
  716.                 echo "                                <div class=\"category\">
  717.                                     <a href=\"";
  718.                 // line 257
  719.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("newsByCateg", ["seoSlugCategory" => $this->extensions['App\Twig\AppExtension']->makeUrlPhrase(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 258
  720. $context["categ"], "getTranslations", [], "method"falsefalsefalse258), 0, [], "array"falsefalsefalse258), "getName", [], "method"falsefalsefalse258)), "id" => twig_get_attribute($this->env$this->source,                 // line 259
  721. $context["categ"], "getId", [], "method"falsefalsefalse259)]), "html"nulltrue);
  722.                 echo "\" title=\"";
  723.                 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["categ"], "getTranslations", [], "method"falsefalsefalse259), 0, [], "array"falsefalsefalse259), "getName", [], "method"falsefalsefalse259), "html"nulltrue);
  724.                 echo "\" class=\"\">";
  725.                 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["categ"], "getTranslations", [], "method"falsefalsefalse259), 0, [], "array"falsefalsefalse259), "getName", [], "method"falsefalsefalse259), "html"nulltrue);
  726.                 echo "</a>
  727.                                 </div>
  728.                             ";
  729.             }
  730.             $_parent $context['_parent'];
  731.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['categ'], $context['_parent'], $context['loop']);
  732.             $context array_intersect_key($context$_parent) + $_parent;
  733.             // line 262
  734.             echo "                            <span class=\"dia\">";
  735.             echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'262$this->source); })()), "getPublicationDate", [], "method"falsefalsefalse262), "d/m/Y"), "html"nulltrue);
  736.             echo "</span>
  737.                             <span class=\"hora\">";
  738.             // line 263
  739.             echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'263$this->source); })()), "getPublicationDate", [], "method"falsefalsefalse263), "H:i:s"), "html"nulltrue);
  740.             echo "</span>
  741.                             <span class=\"share\"><a href=\"https://www.facebook.com/sharer/sharer.php?u=";
  742.             // line 264
  743.             echo twig_escape_filter($this->env, (isset($context["newsAbsPath"]) || array_key_exists("newsAbsPath"$context) ? $context["newsAbsPath"] : (function () { throw new RuntimeError('Variable "newsAbsPath" does not exist.'264$this->source); })()), "html"nulltrue);
  744.             echo "\" target=\"_blank\"><i class=\"fab fa-2x fa-facebook-f\"></i></a></span>
  745.                             <span class=\"share xtwitter\"><a href=\"https://twitter.com/intent/tweet?url=";
  746.             // line 265
  747.             echo twig_escape_filter($this->env, (isset($context["newsAbsPath"]) || array_key_exists("newsAbsPath"$context) ? $context["newsAbsPath"] : (function () { throw new RuntimeError('Variable "newsAbsPath" does not exist.'265$this->source); })()), "html"nulltrue);
  748.             echo "\" target=\"_blank\"><img src=\"";
  749.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icon/x-twitter.svg"), "html"nulltrue);
  750.             echo "\" alt=\"Twitter\" title=\"Twitter\"/></a></span>
  751.                             <span class=\"hide-for-small-only share\"><a href=\"https://web.whatsapp.com/send?text=";
  752.             // line 266
  753.             echo twig_escape_filter($this->env, (isset($context["newsAbsPath"]) || array_key_exists("newsAbsPath"$context) ? $context["newsAbsPath"] : (function () { throw new RuntimeError('Variable "newsAbsPath" does not exist.'266$this->source); })()), "html"nulltrue);
  754.             echo "\" title=\"WhatsApp\" target=\"_blank\" data-param-url=\"";
  755.             echo twig_escape_filter($this->env, (isset($context["newsAbsPath"]) || array_key_exists("newsAbsPath"$context) ? $context["newsAbsPath"] : (function () { throw new RuntimeError('Variable "newsAbsPath" does not exist.'266$this->source); })()), "html"nulltrue);
  756.             echo "\" data-action=\"share/whatsapp/share\" data-param-description=\"";
  757.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'266$this->source); })()), "getTranslations", [], "method"falsefalsefalse266), 0, [], "array"falsefalsefalse266), "getSeoDescription", [], "method"falsefalsefalse266), "html"nulltrue);
  758.             echo "\" data-param-title=\"";
  759.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'266$this->source); })()), "getTranslations", [], "method"falsefalsefalse266), 0, [], "array"falsefalsefalse266), "getTitle", [], "method"falsefalsefalse266), "html"nulltrue);
  760.             echo "\"><i class=\"fab fa-2x fa-whatsapp\" aria-hidden=\"true\"></i></a></span>
  761.                             <span class=\"show-for-small-only share\"><a href=\"whatsapp://send?text=";
  762.             // line 267
  763.             echo twig_escape_filter($this->env, (isset($context["newsAbsPath"]) || array_key_exists("newsAbsPath"$context) ? $context["newsAbsPath"] : (function () { throw new RuntimeError('Variable "newsAbsPath" does not exist.'267$this->source); })()), "html"nulltrue);
  764.             echo "\" title=\"WhatsApp\" target=\"_blank\" data-param-url=\"";
  765.             echo twig_escape_filter($this->env, (isset($context["newsAbsPath"]) || array_key_exists("newsAbsPath"$context) ? $context["newsAbsPath"] : (function () { throw new RuntimeError('Variable "newsAbsPath" does not exist.'267$this->source); })()), "html"nulltrue);
  766.             echo "\" data-action=\"share/whatsapp/share\" data-param-description=\"";
  767.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'267$this->source); })()), "getTranslations", [], "method"falsefalsefalse267), 0, [], "array"falsefalsefalse267), "getSeoDescription", [], "method"falsefalsefalse267), "html"nulltrue);
  768.             echo "\" data-param-title=\"";
  769.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'267$this->source); })()), "getTranslations", [], "method"falsefalsefalse267), 0, [], "array"falsefalsefalse267), "getTitle", [], "method"falsefalsefalse267), "html"nulltrue);
  770.             echo "\"><i class=\"fab fa-2x fa-whatsapp\" aria-hidden=\"true\"></i></a></span>
  771.                         </div>
  772.                         ";
  773.             // line 270
  774.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'270$this->source); })()), "getKalturaId", [], "method"falsefalsefalse270))) {
  775.                 // line 271
  776.                 echo "                            <div class=\"responsive-embed\">
  777.                                 <iframe type=\"text/javascript\" src='https://cdnapisec.kaltura.com/p/4626453/embedPlaykitJs/uiconf_id/50311432?iframeembed=true&entry_id=";
  778.                 // line 272
  779.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'272$this->source); })()), "KalturaId", [], "method"falsefalsefalse272), "html"nulltrue);
  780.                 echo "' style=\"width: 100%; height: 100%;\" allowfullscreen webkitallowfullscreen mozAllowFullScreen allow=\"autoplay *; fullscreen *; encrypted-media *\" frameborder=\"0\"></iframe>
  781.                             </div>
  782.                         ";
  783.             } else {
  784.                 // line 275
  785.                 echo "                            <figure>
  786.                                 <img src=\"";
  787.                 // line 276
  788.                 echo twig_escape_filter($this->env, (isset($context["imgPath"]) || array_key_exists("imgPath"$context) ? $context["imgPath"] : (function () { throw new RuntimeError('Variable "imgPath" does not exist.'276$this->source); })()), "html"nulltrue);
  789.                 echo "\" alt=\"";
  790.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'276$this->source); })()), "getTranslations", [], "method"falsefalsefalse276), 0, [], "array"falsefalsefalse276), "getTitle", [], "method"falsefalsefalse276), "html"nulltrue);
  791.                 echo "\" title=\"";
  792.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'276$this->source); })()), "getTranslations", [], "method"falsefalsefalse276), 0, [], "array"falsefalsefalse276), "getTitle", [], "method"falsefalsefalse276), "html"nulltrue);
  793.                 echo "\" />
  794.                             </figure>
  795.                         ";
  796.             }
  797.             // line 279
  798.             echo "
  799.                         ";
  800.             // line 280
  801.             echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'280$this->source); })()), "getTranslations", [], "method"falsefalsefalse280), 0, [], "array"falsefalsefalse280), "getText", [], "method"falsefalsefalse280);
  802.             echo "
  803.                         ";
  804.             // line 281
  805.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'281$this->source); })()), "getVideo1", [], "method"falsefalsefalse281))) {
  806.                 // line 282
  807.                 echo "                            <p><a href=\"";
  808.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'282$this->source); })()), "getVideo1", [], "method"falsefalsefalse282), "html"nulltrue);
  809.                 echo "\">";
  810.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'282$this->source); })()), "getVideo1", [], "method"falsefalsefalse282), "html"nulltrue);
  811.                 echo "</a></p>
  812.                             ";
  813.             }
  814.             // line 284
  815.             echo "                            ";
  816.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'284$this->source); })()), "getVideo2", [], "method"falsefalsefalse284))) {
  817.                 // line 285
  818.                 echo "                            <p><a href=\"";
  819.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'285$this->source); })()), "getVideo2", [], "method"falsefalsefalse285), "html"nulltrue);
  820.                 echo "\">";
  821.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'285$this->source); })()), "getVideo2", [], "method"falsefalsefalse285), "html"nulltrue);
  822.                 echo "</a></p>
  823.                             ";
  824.             }
  825.             // line 287
  826.             echo "                            ";
  827.             $this->loadTemplate("Frontend/news/match_stats.html.twig""Frontend/news/new.html.twig"287)->display($context);
  828.             // line 288
  829.             echo "
  830.                     </div>
  831.                     <!-- Sidebar -->
  832.                     <aside id=\"sidebar\" class=\"cell small-12 medium-4 large-5\">
  833.                         ";
  834.             // line 293
  835.             if ((((twig_get_attribute($this->env$this->source, ($context["new"] ?? null), "getBanner", [], "method"truetruefalse293)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["new"] ?? null), "getBanner", [], "method"falsefalsefalse293))) : ("")) && ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["new"] ?? null), "getBanner", [], "method"falsetruefalse293), "getImages", [], "method"falsetruefalse293), 0, [], "array"truetruefalse293)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["new"] ?? null), "getBanner", [], "method"falsetruefalse293), "getImages", [], "method"falsetruefalse293), 0, [], "array"falsefalsefalse293))) : ("")))) {
  836.                 // line 294
  837.                 echo "                            ";
  838.                 $context["bannerImg"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'294$this->source); })()), "getBanner", [], "method"falsefalsefalse294), "getImages", [], "method"falsefalsefalse294), 0, [], "array"falsefalsefalse294);
  839.                 // line 295
  840.                 echo "                            <div class=\"sponsor\">
  841.                                 <a href=\"";
  842.                 // line 296
  843.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'296$this->source); })()), "getBanner", [], "method"falsefalsefalse296), "getTranslations", [], "method"falsefalsefalse296), 0, [], "array"falsefalsefalse296), "getLink", [], "method"falsefalsefalse296), "html"nulltrue);
  844.                 echo "\" rel=\"noopener noreferrer\" target=\"_blank\" title=\"";
  845.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'296$this->source); })()), "getBanner", [], "method"falsefalsefalse296), "getTranslations", [], "method"falsefalsefalse296), 0, [], "array"falsefalsefalse296), "getTitle", [], "method"falsefalsefalse296), "html"nulltrue);
  846.                 echo "\">
  847.                                     <img src=\"";
  848.                 // line 297
  849.                 echo twig_escape_filter($this->env, ((((((((isset($context["IMG_PATH"]) || array_key_exists("IMG_PATH"$context) ? $context["IMG_PATH"] : (function () { throw new RuntimeError('Variable "IMG_PATH" does not exist.'297$this->source); })()) . twig_get_attribute($this->env$this->source, (isset($context["bannerImg"]) || array_key_exists("bannerImg"$context) ? $context["bannerImg"] : (function () { throw new RuntimeError('Variable "bannerImg" does not exist.'297$this->source); })()), "section", [], "any"falsefalsefalse297)) . "/") . twig_get_attribute($this->env$this->source, (isset($context["bannerImg"]) || array_key_exists("bannerImg"$context) ? $context["bannerImg"] : (function () { throw new RuntimeError('Variable "bannerImg" does not exist.'297$this->source); })()), "itemId", [], "any"falsefalsefalse297)) . "/resized/") . twig_get_attribute($this->env$this->source, (isset($context["bannerImg"]) || array_key_exists("bannerImg"$context) ? $context["bannerImg"] : (function () { throw new RuntimeError('Variable "bannerImg" does not exist.'297$this->source); })()), "id", [], "any"falsefalsefalse297)) . "_backendGallery.") . twig_get_attribute($this->env$this->source, (isset($context["bannerImg"]) || array_key_exists("bannerImg"$context) ? $context["bannerImg"] : (function () { throw new RuntimeError('Variable "bannerImg" does not exist.'297$this->source); })()), "extension", [], "any"falsefalsefalse297)), "html"nulltrue);
  850.                 echo "\" alt=\"";
  851.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'297$this->source); })()), "getBanner", [], "method"falsefalsefalse297), "getTranslations", [], "method"falsefalsefalse297), 0, [], "array"falsefalsefalse297), "getTitle", [], "method"falsefalsefalse297), "html"nulltrue);
  852.                 echo "\" />
  853.                                 </a>
  854.                             </div>
  855.                         ";
  856.             }
  857.             // line 301
  858.             echo "                        ";
  859.             if ((((twig_get_attribute($this->env$this->source, ($context["new"] ?? null), "getBanner2", [], "method"truetruefalse301)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["new"] ?? null), "getBanner2", [], "method"falsefalsefalse301))) : ("")) && ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["new"] ?? null), "getBanner2", [], "method"falsetruefalse301), "getImages", [], "method"falsetruefalse301), 0, [], "array"truetruefalse301)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["new"] ?? null), "getBanner2", [], "method"falsetruefalse301), "getImages", [], "method"falsetruefalse301), 0, [], "array"falsefalsefalse301))) : ("")))) {
  860.                 // line 302
  861.                 echo "                            ";
  862.                 $context["bannerImg"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'302$this->source); })()), "getBanner2", [], "method"falsefalsefalse302), "getImages", [], "method"falsefalsefalse302), 0, [], "array"falsefalsefalse302);
  863.                 // line 303
  864.                 echo "                            <div class=\"sponsor\">
  865.                                 <a href=\"";
  866.                 // line 304
  867.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'304$this->source); })()), "getBanner2", [], "method"falsefalsefalse304), "getTranslations", [], "method"falsefalsefalse304), 0, [], "array"falsefalsefalse304), "getLink", [], "method"falsefalsefalse304), "html"nulltrue);
  868.                 echo "\" rel=\"noopener noreferrer\" target=\"_blank\" title=\"";
  869.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'304$this->source); })()), "getBanner2", [], "method"falsefalsefalse304), "getTranslations", [], "method"falsefalsefalse304), 0, [], "array"falsefalsefalse304), "getTitle", [], "method"falsefalsefalse304), "html"nulltrue);
  870.                 echo "\">
  871.                                     <img src=\"";
  872.                 // line 305
  873.                 echo twig_escape_filter($this->env, ((((((((isset($context["IMG_PATH"]) || array_key_exists("IMG_PATH"$context) ? $context["IMG_PATH"] : (function () { throw new RuntimeError('Variable "IMG_PATH" does not exist.'305$this->source); })()) . twig_get_attribute($this->env$this->source, (isset($context["bannerImg"]) || array_key_exists("bannerImg"$context) ? $context["bannerImg"] : (function () { throw new RuntimeError('Variable "bannerImg" does not exist.'305$this->source); })()), "section", [], "any"falsefalsefalse305)) . "/") . twig_get_attribute($this->env$this->source, (isset($context["bannerImg"]) || array_key_exists("bannerImg"$context) ? $context["bannerImg"] : (function () { throw new RuntimeError('Variable "bannerImg" does not exist.'305$this->source); })()), "itemId", [], "any"falsefalsefalse305)) . "/resized/") . twig_get_attribute($this->env$this->source, (isset($context["bannerImg"]) || array_key_exists("bannerImg"$context) ? $context["bannerImg"] : (function () { throw new RuntimeError('Variable "bannerImg" does not exist.'305$this->source); })()), "id", [], "any"falsefalsefalse305)) . "_backendGallery.") . twig_get_attribute($this->env$this->source, (isset($context["bannerImg"]) || array_key_exists("bannerImg"$context) ? $context["bannerImg"] : (function () { throw new RuntimeError('Variable "bannerImg" does not exist.'305$this->source); })()), "extension", [], "any"falsefalsefalse305)), "html"nulltrue);
  874.                 echo "\" alt=\"";
  875.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'305$this->source); })()), "getBanner2", [], "method"falsefalsefalse305), "getTranslations", [], "method"falsefalsefalse305), 0, [], "array"falsefalsefalse305), "getTitle", [], "method"falsefalsefalse305), "html"nulltrue);
  876.                 echo "\" />
  877.                                 </a>
  878.                             </div>
  879.                         ";
  880.             }
  881.             // line 309
  882.             echo "                        ";
  883.             $this->loadTemplate("Frontend/common/nextmatch.html.twig""Frontend/news/new.html.twig"309)->display($context);
  884.             // line 310
  885.             echo "                        ";
  886.             $context['_parent'] = $context;
  887.             $context['_seq'] = twig_ensure_traversable((isset($context["banners"]) || array_key_exists("banners"$context) ? $context["banners"] : (function () { throw new RuntimeError('Variable "banners" does not exist.'310$this->source); })()));
  888.             foreach ($context['_seq'] as $context["_key"] => $context["banner"]) {
  889.                 // line 311
  890.                 echo "                            ";
  891.                 if ((twig_get_attribute($this->env$this->source$context["banner"], "image", [], "any"truetruefalse311) &&  !twig_test_empty(twig_get_attribute($this->env$this->source$context["banner"], "image", [], "any"falsefalsefalse311)))) {
  892.                     // line 312
  893.                     echo "                                <div class=\"banner\">
  894.                                     <header>
  895.                                         <h4>";
  896.                     // line 314
  897.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["banner"], "record", [], "any"falsefalsefalse314), "title", [], "any"falsefalsefalse314), "html"nulltrue);
  898.                     echo "</h4>
  899.                                     </header>
  900.                                     <a href=\"";
  901.                     // line 316
  902.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["banner"], "record", [], "any"falsefalsefalse316), "link", [], "any"falsefalsefalse316), "html"nulltrue);
  903.                     echo "\"  target=\"_blank\" title=\"";
  904.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["banner"], "record", [], "any"falsefalsefalse316), "title", [], "any"falsefalsefalse316), "html"nulltrue);
  905.                     echo "\">
  906.                                         <img src=\"";
  907.                     // line 317
  908.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["banner"], "image", [], "any"falsefalsefalse317), "html"nulltrue);
  909.                     echo "\" alt=\"";
  910.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["banner"], "record", [], "any"falsefalsefalse317), "title", [], "any"falsefalsefalse317), "html"nulltrue);
  911.                     echo "\" />
  912.                                     </a>
  913.                                 </div>
  914.                             ";
  915.                 }
  916.                 // line 321
  917.                 echo "                        ";
  918.             }
  919.             $_parent $context['_parent'];
  920.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['banner'], $context['_parent'], $context['loop']);
  921.             $context array_intersect_key($context$_parent) + $_parent;
  922.             // line 322
  923.             echo "                        <div class=\"download\">
  924.                             <div class=\"\" role=\"main\">
  925.                                 <header>
  926.                                     <h4>";
  927.             // line 325
  928.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Descárgate la app", [], "messages");
  929.             echo "</h4>
  930.                                 </header>
  931.                                 <p>";
  932.             // line 327
  933.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Todos los detalles del partido en tu móvil", [], "messages");
  934.             echo "</p>
  935.                                 <div class=\"\" role=\"button\">
  936.                                     <a class=\"\" href=\"https://apps.apple.com/app/rcd-espanyol-de-barcelona/id1482739348?ls=1&amp;l=\" target=\"_blank\" rel=\"noopener noreferrer\">
  937.                                         <img src=\"";
  938.             // line 330
  939.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/tmp/download-appstore.png"), "html"nulltrue);
  940.             echo "\" alt=\"Download it on the App Store\" title=\"Download it on the App Store\" />
  941.                                     </a>
  942.                                     <a class=\"\" href=\"https://play.google.com/store/apps/details?id=com.rcdespanyol.app&amp;hl=\" target=\"_blank\" rel=\"noopener noreferrer\">
  943.                                         <img src=\"";
  944.             // line 333
  945.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/tmp/google-play.png"), "html"nulltrue);
  946.             echo "\" alt=\"Get it on Google Play\" title=\"Get it on Google Play\"/>
  947.                                     </a>
  948.                                 </div>
  949.                                 <div class=\"\" role=\"figure\">
  950.                                     <img src=\"";
  951.             // line 337
  952.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/static/rcde_banner_app.png"), "html"nulltrue);
  953.             echo "\" alt=\"";
  954.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Descárgate la app", [], "messages");
  955.             echo "\" title=\"";
  956.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Descárgate la app", [], "messages");
  957.             echo "\" />
  958.                                 </div>
  959.                             </div>
  960.                         </div>
  961.                     </aside>
  962.                     <aside id=\"download\">
  963.                         <div class=\"grid-container\">
  964.                             ";
  965.             // line 345
  966.             if (((twig_get_attribute($this->env$this->source, ($context["new"] ?? null), "getDocuments", [], "method"truetruefalse345)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["new"] ?? null), "getDocuments", [], "method"falsefalsefalse345))) : (""))) {
  967.                 // line 346
  968.                 echo "                                <header>
  969.                                     <h3>";
  970.                 // line 347
  971.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Archivos", [], "messages");
  972.                 echo "</h3>
  973.                                 </header>
  974.                                 <ul>
  975.                                     ";
  976.                 // line 350
  977.                 $context['_parent'] = $context;
  978.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'350$this->source); })()), "getDocuments", [], "method"falsefalsefalse350));
  979.                 foreach ($context['_seq'] as $context["_key"] => $context["doc"]) {
  980.                     // line 351
  981.                     echo "                                        <li class=\"cell\">
  982.                                             <a href=\"";
  983.                     // line 352
  984.                     echo twig_escape_filter($this->env, ((((((((isset($context["DOC_PATH"]) || array_key_exists("DOC_PATH"$context) ? $context["DOC_PATH"] : (function () { throw new RuntimeError('Variable "DOC_PATH" does not exist.'352$this->source); })()) . twig_get_attribute($this->env$this->source$context["doc"], "section", [], "any"falsefalsefalse352)) . "/") . twig_get_attribute($this->env$this->source$context["doc"], "itemId", [], "any"falsefalsefalse352)) . "/") . twig_get_attribute($this->env$this->source$context["doc"], "id", [], "any"falsefalsefalse352)) . ".") . twig_get_attribute($this->env$this->source$context["doc"], "extension", [], "any"falsefalsefalse352)), "html"nulltrue);
  985.                     echo "\" title=\"";
  986.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["doc"], "fileName", [], "any"falsefalsefalse352), "html"nulltrue);
  987.                     echo "\" target=\"_blank\">
  988.                                                 <figure>
  989.                                                     <img src=\"";
  990.                     // line 354
  991.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icon/file.svg"), "html"nulltrue);
  992.                     echo "\" alt=\"";
  993.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["doc"], "extension", [], "any"falsefalsefalse354), "html"nulltrue);
  994.                     echo "\" />
  995.                                                 </figure>
  996.                                                 <span>";
  997.                     // line 356
  998.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["doc"], "fileName", [], "any"falsefalsefalse356), "html"nulltrue);
  999.                     echo "</span>
  1000.                                                 <div>
  1001.                                                     <span>";
  1002.                     // line 358
  1003.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["doc"], "extension", [], "any"falsefalsefalse358), "html"nulltrue);
  1004.                     echo "</span>
  1005.                                                     <span><img src=\"";
  1006.                     // line 359
  1007.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icon/download.svg"), "html"nulltrue);
  1008.                     echo "\"></span>
  1009.                                                 </div>
  1010.                                             </a>
  1011.                                         </li>
  1012.                                     ";
  1013.                 }
  1014.                 $_parent $context['_parent'];
  1015.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['doc'], $context['_parent'], $context['loop']);
  1016.                 $context array_intersect_key($context$_parent) + $_parent;
  1017.                 // line 364
  1018.                 echo "                                </ul>
  1019.                             ";
  1020.             }
  1021.             // line 366
  1022.             echo "                        </div>
  1023.                     </aside>
  1024.                 </div>
  1025.             </div>
  1026.             <aside class=\"fixgallery\">
  1027.                 <header>
  1028.                     <h2>";
  1029.             // line 372
  1030.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Galería", [], "messages");
  1031.             echo "</h2>
  1032.                 </header>
  1033.                 <div id=\"lightgallery\" class=\"gallery-carousel\">
  1034.                     ";
  1035.             // line 375
  1036.             if (((twig_get_attribute($this->env$this->source, ($context["new"] ?? null), "images", [], "any"truetruefalse375)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["new"] ?? null), "images", [], "any"falsefalsefalse375))) : (""))) {
  1037.                 // line 376
  1038.                 echo "                        ";
  1039.                 $context['_parent'] = $context;
  1040.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["new"]) || array_key_exists("new"$context) ? $context["new"] : (function () { throw new RuntimeError('Variable "new" does not exist.'376$this->source); })()), "images", [], "any"falsefalsefalse376));
  1041.                 foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
  1042.                     // line 377
  1043.                     echo "                            <div class=\"item\" data-src=\"";
  1044.                     echo twig_escape_filter($this->env, ((((((((isset($context["IMG_PATH"]) || array_key_exists("IMG_PATH"$context) ? $context["IMG_PATH"] : (function () { throw new RuntimeError('Variable "IMG_PATH" does not exist.'377$this->source); })()) . twig_get_attribute($this->env$this->source$context["image"], "section", [], "any"falsefalsefalse377)) . "/") . twig_get_attribute($this->env$this->source$context["image"], "itemId", [], "any"falsefalsefalse377)) . "/resized/") . twig_get_attribute($this->env$this->source$context["image"], "id", [], "any"falsefalsefalse377)) . "_backendGallery.") . twig_get_attribute($this->env$this->source$context["image"], "extension", [], "any"falsefalsefalse377)), "html"nulltrue);
  1045.                     echo "\" title=\"\" data-index=\"0\" />
  1046.                             <figure>
  1047.                                 <img src=\"";
  1048.                     // line 379
  1049.                     echo twig_escape_filter($this->env, ((((((((isset($context["IMG_PATH"]) || array_key_exists("IMG_PATH"$context) ? $context["IMG_PATH"] : (function () { throw new RuntimeError('Variable "IMG_PATH" does not exist.'379$this->source); })()) . twig_get_attribute($this->env$this->source$context["image"], "section", [], "any"falsefalsefalse379)) . "/") . twig_get_attribute($this->env$this->source$context["image"], "itemId", [], "any"falsefalsefalse379)) . "/resized/") . twig_get_attribute($this->env$this->source$context["image"], "id", [], "any"falsefalsefalse379)) . "_backendGallery.") . twig_get_attribute($this->env$this->source$context["image"], "extension", [], "any"falsefalsefalse379)), "html"nulltrue);
  1050.                     echo "\"/>
  1051.                             </figure>
  1052.                         </div>
  1053.                     ";
  1054.                 }
  1055.                 $_parent $context['_parent'];
  1056.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
  1057.                 $context array_intersect_key($context$_parent) + $_parent;
  1058.                 // line 383
  1059.                 echo "                ";
  1060.             }
  1061.             // line 384
  1062.             echo "                </div>
  1063.             </aside>
  1064.             ";
  1065.             // line 387
  1066.             echo "            ";
  1067.             if ( !twig_test_empty((isset($context["relatedNews"]) || array_key_exists("relatedNews"$context) ? $context["relatedNews"] : (function () { throw new RuntimeError('Variable "relatedNews" does not exist.'387$this->source); })()))) {
  1068.                 // line 388
  1069.                 echo "                <aside id=\"related\">
  1070.                     <div class=\"grid-container\">
  1071.                         <div class=\"grid-x grid-margin-x\">
  1072.                             <header class=\"cell small-12 medium-11 large-11\">
  1073.                                 <h2>";
  1074.                 // line 392
  1075.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Noticias relacionadas", [], "messages");
  1076.                 echo "</h2>
  1077.                             </header>
  1078.                         </div>
  1079.                         <div class=\"related\">
  1080.                             ";
  1081.                 // line 396
  1082.                 $context['_parent'] = $context;
  1083.                 $context['_seq'] = twig_ensure_traversable((isset($context["relatedNews"]) || array_key_exists("relatedNews"$context) ? $context["relatedNews"] : (function () { throw new RuntimeError('Variable "relatedNews" does not exist.'396$this->source); })()));
  1084.                 foreach ($context['_seq'] as $context["_key"] => $context["relNew"]) {
  1085.                     // line 397
  1086.                     echo "                                ";
  1087.                     if (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["relNew"], "getTranslations", [], "method"falsetruefalse397), 0, [], "array"falsetruefalse397), "getTitle", [], "method"truetruefalse397)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["relNew"], "getTranslations", [], "method"falsetruefalse397), 0, [], "array"falsetruefalse397), "getTitle", [], "method"falsefalsefalse397))) : (""))) {
  1088.                         // line 398
  1089.                         echo "                                    ";
  1090.                         $context["relNewPath"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("new", ["seoSlug" => $this->extensions['App\Twig\AppExtension']->makeUrlPhrase(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["relNew"], "getTranslations", [], "any"falsefalsefalse398), 0, [], "array"falsefalsefalse398), "getTitle", [], "method"falsefalsefalse398)), "id" => twig_get_attribute($this->env$this->source$context["relNew"], "getId", [], "method"falsefalsefalse398)]);
  1091.                         // line 399
  1092.                         echo "                                ";
  1093.                     } else {
  1094.                         // line 400
  1095.                         echo "                                    ";
  1096.                         $context["relNewPath"] = "";
  1097.                         // line 401
  1098.                         echo "                                ";
  1099.                     }
  1100.                     // line 402
  1101.                     echo "                                ";
  1102.                     if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["relNew"], "images", [], "any"falsetruefalse402), 0, [], "array"truetruefalse402)) {
  1103.                         // line 403
  1104.                         echo "                                    ";
  1105.                         $context["imgPath"] = ((((((((isset($context["IMG_PATH"]) || array_key_exists("IMG_PATH"$context) ? $context["IMG_PATH"] : (function () { throw new RuntimeError('Variable "IMG_PATH" does not exist.'403$this->source); })()) . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["relNew"], "images", [], "any"falsefalsefalse403), 0, [], "array"falsefalsefalse403), "section", [], "any"falsefalsefalse403)) . "/") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["relNew"], "images", [], "any"falsefalsefalse403), 0, [], "array"falsefalsefalse403), "itemId", [], "any"falsefalsefalse403)) . "/resized/") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["relNew"], "images", [], "any"falsefalsefalse403), 0, [], "array"falsefalsefalse403), "id", [], "any"falsefalsefalse403)) . "_backendGallery.") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["relNew"], "images", [], "any"falsefalsefalse403), 0, [], "array"falsefalsefalse403), "extension", [], "any"falsefalsefalse403));
  1106.                         // line 404
  1107.                         echo "                                ";
  1108.                     } else {
  1109.                         // line 405
  1110.                         echo "                                    ";
  1111.                         $context["imgPath"] = "";
  1112.                         // line 406
  1113.                         echo "                                ";
  1114.                     }
  1115.                     // line 407
  1116.                     echo "                                <div>
  1117.                                     <figure>
  1118.                                         <a href=\"";
  1119.                     // line 409
  1120.                     echo twig_escape_filter($this->env, (isset($context["relNewPath"]) || array_key_exists("relNewPath"$context) ? $context["relNewPath"] : (function () { throw new RuntimeError('Variable "relNewPath" does not exist.'409$this->source); })()), "html"nulltrue);
  1121.                     echo "\" title=\"";
  1122.                     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["relNew"], "getTranslations", [], "any"falsefalsefalse409), 0, [], "array"falsefalsefalse409), "getTitle", [], "method"falsefalsefalse409), "html"nulltrue);
  1123.                     echo "\">
  1124.                                             <img src=\"";
  1125.                     // line 410
  1126.                     echo twig_escape_filter($this->env, (isset($context["imgPath"]) || array_key_exists("imgPath"$context) ? $context["imgPath"] : (function () { throw new RuntimeError('Variable "imgPath" does not exist.'410$this->source); })()), "html"nulltrue);
  1127.                     echo "\" alt=\"";
  1128.                     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["relNew"], "getTranslations", [], "any"falsefalsefalse410), 0, [], "array"falsefalsefalse410), "getTitle", [], "method"falsefalsefalse410), "html"nulltrue);
  1129.                     echo "\" />
  1130.                                         </a>
  1131.                                     </figure>
  1132.                                     <div class=\"description\">
  1133.                                         <header>
  1134.                                             <h3><a href=\"";
  1135.                     // line 415
  1136.                     echo twig_escape_filter($this->env, (isset($context["relNewPath"]) || array_key_exists("relNewPath"$context) ? $context["relNewPath"] : (function () { throw new RuntimeError('Variable "relNewPath" does not exist.'415$this->source); })()), "html"nulltrue);
  1137.                     echo "\" title=\"";
  1138.                     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["relNew"], "getTranslations", [], "any"falsefalsefalse415), 0, [], "array"falsefalsefalse415), "getTitle", [], "method"falsefalsefalse415), "html"nulltrue);
  1139.                     echo "\">";
  1140.                     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["relNew"], "getTranslations", [], "any"falsefalsefalse415), 0, [], "array"falsefalsefalse415), "getTitle", [], "method"falsefalsefalse415), "html"nulltrue);
  1141.                     echo "</a></h3>
  1142.                                         </header>
  1143.                                         <p>
  1144.                                             ";
  1145.                     // line 418
  1146.                     $context['_parent'] = $context;
  1147.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["relNew"], "getCategories", [], "method"falsefalsefalse418));
  1148.                     foreach ($context['_seq'] as $context["_key"] => $context["categ"]) {
  1149.                         // line 419
  1150.                         echo "                                                <a href=\"";
  1151.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("newsByCateg", ["seoSlugCategory" => $this->extensions['App\Twig\AppExtension']->makeUrlPhrase(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                         // line 420
  1152. $context["categ"], "getTranslations", [], "method"falsefalsefalse420), 0, [], "array"falsefalsefalse420), "getName", [], "method"falsefalsefalse420)), "id" => twig_get_attribute($this->env$this->source,                         // line 421
  1153. $context["categ"], "getId", [], "method"falsefalsefalse421)]), "html"nulltrue);
  1154.                         echo "\" title=\"";
  1155.                         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["categ"], "getTranslations", [], "method"falsefalsefalse421), 0, [], "array"falsefalsefalse421), "getName", [], "method"falsefalsefalse421), "html"nulltrue);
  1156.                         echo "\" class=\"category\">";
  1157.                         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["categ"], "getTranslations", [], "method"falsefalsefalse421), 0, [], "array"falsefalsefalse421), "getName", [], "method"falsefalsefalse421), "html"nulltrue);
  1158.                         echo "</a>
  1159.                                             ";
  1160.                     }
  1161.                     $_parent $context['_parent'];
  1162.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['categ'], $context['_parent'], $context['loop']);
  1163.                     $context array_intersect_key($context$_parent) + $_parent;
  1164.                     // line 423
  1165.                     echo "                                            <span>";
  1166.                     echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["relNew"], "getPublicationDate", [], "method"falsefalsefalse423), "d/m/Y"), "html"nulltrue);
  1167.                     echo "</span>
  1168.                                         </p>
  1169.                                     </div>
  1170.                                 </div>
  1171.                             ";
  1172.                 }
  1173.                 $_parent $context['_parent'];
  1174.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['relNew'], $context['_parent'], $context['loop']);
  1175.                 $context array_intersect_key($context$_parent) + $_parent;
  1176.                 // line 428
  1177.                 echo "                        </div>
  1178.                     </div>
  1179.                 </aside>
  1180.             ";
  1181.             }
  1182.             // line 432
  1183.             echo "        </article>
  1184.     </section>
  1185. ";
  1186.         }
  1187.         
  1188.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1189.         
  1190.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1191.     }
  1192.     // line 438
  1193.     public function block_javascripts($context, array $blocks = [])
  1194.     {
  1195.         $macros $this->macros;
  1196.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1197.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1198.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1199.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1200.         // line 439
  1201.         echo "    <script src=\"";
  1202.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/frontend/lightgallery/lightgallery.min.js"), "html"nulltrue);
  1203.         echo "\"></script>
  1204.     <script type=\"text/javascript\">
  1205.         lightGallery(document.getElementById('lightgallery'), {
  1206.             speed: 500,
  1207.             animateThumb: false,
  1208.             zoomFromOrigin: false,
  1209.             allowMediaOverlap: true,
  1210.             thumbnail: true,
  1211.             mobileSettings: {
  1212.                 controls: true,
  1213.                 showCloseIcon: true,
  1214.                 download: true,
  1215.             }
  1216.         });
  1217.     </script>
  1218.     <script type=\"text/javascript\">
  1219.         lightGallery(document.getElementById('selector'), {
  1220.             selector: '.item',
  1221.         });
  1222.     </script>
  1223.     ";
  1224.         // line 459
  1225.         $this->displayParentBlock("javascripts"$context$blocks);
  1226.         echo "
  1227. ";
  1228.         
  1229.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1230.         
  1231.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1232.     }
  1233.     public function getTemplateName()
  1234.     {
  1235.         return "Frontend/news/new.html.twig";
  1236.     }
  1237.     public function isTraitable()
  1238.     {
  1239.         return false;
  1240.     }
  1241.     public function getDebugInfo()
  1242.     {
  1243.         return array (  1262 => 459,  1238 => 439,  1228 => 438,  1214 => 432,  1208 => 428,  1196 => 423,  1184 => 421,  1183 => 420,  1181 => 419,  1177 => 418,  1167 => 415,  1157 => 410,  1151 => 409,  1147 => 407,  1144 => 406,  1141 => 405,  1138 => 404,  1135 => 403,  1132 => 402,  1129 => 401,  1126 => 400,  1123 => 399,  1120 => 398,  1117 => 397,  1113 => 396,  1106 => 392,  1100 => 388,  1097 => 387,  1093 => 384,  1090 => 383,  1080 => 379,  1074 => 377,  1069 => 376,  1067 => 375,  1061 => 372,  1053 => 366,  1049 => 364,  1038 => 359,  1034 => 358,  1029 => 356,  1022 => 354,  1015 => 352,  1012 => 351,  1008 => 350,  1002 => 347,  999 => 346,  997 => 345,  982 => 337,  975 => 333,  969 => 330,  963 => 327,  958 => 325,  953 => 322,  947 => 321,  938 => 317,  932 => 316,  927 => 314,  923 => 312,  920 => 311,  915 => 310,  912 => 309,  903 => 305,  897 => 304,  894 => 303,  891 => 302,  888 => 301,  879 => 297,  873 => 296,  870 => 295,  867 => 294,  865 => 293,  858 => 288,  855 => 287,  847 => 285,  844 => 284,  836 => 282,  834 => 281,  830 => 280,  827 => 279,  817 => 276,  814 => 275,  808 => 272,  805 => 271,  803 => 270,  791 => 267,  781 => 266,  775 => 265,  771 => 264,  767 => 263,  762 => 262,  749 => 259,  748 => 258,  747 => 257,  744 => 256,  740 => 255,  734 => 252,  728 => 249,  722 => 246,  714 => 245,  710 => 244,  701 => 237,  695 => 233,  689 => 229,  677 => 224,  665 => 222,  664 => 221,  662 => 220,  658 => 219,  648 => 216,  638 => 211,  632 => 210,  628 => 208,  625 => 207,  622 => 206,  619 => 205,  616 => 204,  613 => 203,  610 => 202,  607 => 201,  604 => 200,  601 => 199,  598 => 198,  594 => 197,  587 => 193,  581 => 189,  578 => 188,  574 => 185,  571 => 184,  561 => 180,  555 => 178,  550 => 177,  548 => 176,  542 => 173,  534 => 167,  530 => 165,  519 => 160,  515 => 159,  510 => 157,  503 => 155,  496 => 153,  493 => 152,  489 => 151,  483 => 148,  480 => 147,  478 => 146,  463 => 138,  456 => 134,  450 => 131,  444 => 128,  439 => 126,  434 => 123,  428 => 122,  419 => 118,  413 => 117,  408 => 115,  404 => 113,  401 => 112,  396 => 111,  393 => 110,  384 => 106,  378 => 105,  375 => 104,  372 => 103,  369 => 102,  360 => 98,  354 => 97,  351 => 96,  348 => 95,  346 => 94,  339 => 89,  336 => 88,  328 => 86,  325 => 85,  317 => 83,  315 => 82,  311 => 81,  308 => 80,  298 => 77,  295 => 76,  289 => 73,  286 => 72,  284 => 71,  272 => 68,  262 => 67,  256 => 66,  252 => 65,  248 => 64,  243 => 63,  230 => 60,  229 => 59,  228 => 58,  225 => 57,  221 => 56,  215 => 53,  209 => 50,  203 => 47,  195 => 46,  191 => 45,  183 => 39,  180 => 38,  178 => 37,  175 => 36,  173 => 35,  170 => 33,  160 => 32,  149 => 28,  143 => 26,  137 => 24,  135 => 23,  131 => 22,  126 => 20,  122 => 19,  118 => 18,  115 => 17,  105 => 16,  93 => 14,  89 => 13,  84 => 12,  74 => 11,  63 => 1,  60 => 8,  57 => 6,  55 => 5,  53 => 4,  51 => 3,  38 => 1,);
  1244.     }
  1245.     public function getSourceContext()
  1246.     {
  1247.         return new Source("{% extends 'Frontend/layout.html.twig' %}
  1248. {% set newsAbsPath = url('new', {'seoSlug' : new.getTranslations[0].getTitle() | make_url_phrase, 'id' : new.getId() }) %}
  1249. {% if new.images[0] is defined %}
  1250.     {% set imgPath =  IMG_PATH ~ new.images[0].section ~ '/' ~ new.images[0].itemId ~ '/resized/' ~ new.images[0].id ~ '_backendGallery.' ~ new.images[0].extension %}
  1251.     {% set imgSocialMediaPath =  IMG_PATH ~ new.images[0].section ~ '/' ~ new.images[0].itemId ~ '/resized/' ~ new.images[0].id ~ '_socialmedia.' ~ new.images[0].extension %}
  1252. {% else %}
  1253.     {% set imgPath = '' %}
  1254. {% endif %}
  1255. {% block stylesheets %}
  1256.     {{ parent() }}
  1257.     <link rel=\"stylesheet\" href=\"{{ asset('css/frontend/lightgallery/lightgallery.css') }}\" />
  1258.     <link rel=\"stylesheet\" href=\"{{ asset('css/frontend/lightgallery/lightgallery-bundle.css') }}\" />
  1259. {% endblock %}
  1260. {% block seo %}
  1261.     <meta property=\"og:type\" content=\"website\" />
  1262.     <meta property=\"og:title\" content=\"{{ (new.getTranslations()[0].getSeoTitle())?new.getTranslations()[0].getSeoTitle()|raw:new.getTranslations()[0].getTitle() }}\" />
  1263.     <title>{{ (new.getTranslations()[0].getSeoTitle())?new.getTranslations()[0].getSeoTitle()|raw :new.getTranslations()[0].getTitle() }}</title>
  1264.     <meta property=\"og:description\" content=\"{{ (new.getTranslations()[0].getSeoDescription())?new.getTranslations()[0].getSeoDescription()|raw:new.getTranslations()[0].getSubtitle()|raw }}\" />
  1265.     <meta name=\"description\" content=\"{{ (new.getTranslations()[0].getSeoDescription())?new.getTranslations()[0].getSeoDescription()|raw:new.getTranslations()[0].getSubtitle()|raw}}\"/>
  1266.     {% if fileExists %}
  1267.         <meta property=\"og:image\" itemprop=\"image\" content=\"{{ absolute_url(asset(imgSocialMediaPath)) }}\" />
  1268.     {% else %}
  1269.         <meta property=\"og:image\" itemprop=\"image\" content=\"{{ absolute_url(asset(imgPath)) }}\" />
  1270.     {% endif %}
  1271.     <meta name=\"twitter:site\" content=\"@RCDEspanyol\" />
  1272.     {#    {{ dump( absolute_url(asset(imgPath) )) }}#}
  1273. {% endblock %}
  1274. {% block content %}
  1275.     {# dump(new) #}
  1276.     {#   aa {% set newsAbsPath = PATH_ABS|trim('/', 'right') ~ path('new', {'seoSlug' : new.getTranslations()[0].getTitle() | make_url_phrase, 'id' : new.getId() }) %}#}
  1277. {% if new.id == news_for_china_only %}
  1278.     {% if fromChina is not empty %}
  1279.      <section id=\"new\">
  1280.         <article>
  1281.             <div class=\"grid-container\">
  1282.                 <div class=\"grid-x grid-margin-x\">
  1283.                     <!-- News content -->
  1284.                     <div id=\"content\" class=\"cell small-12 medium-8 large-7\">
  1285.                         <a href=\"{{ path('news') }}\" role=\"button\" tabindex=\"0\" class=\"back\">
  1286.                             <img src=\"{{ asset('assets/images/icon/chevron.svg') }}\" alt=\"{% trans %}Atrás{% endtrans %}\" title=\"{% trans %}Atrás{% endtrans %}\"/>
  1287.                             <span>{% trans %}Atrás{% endtrans %}</span>
  1288.                         </a>
  1289.                         <header>
  1290.                             <h1>{{ new.getTranslations()[0].getTitle() }}</h1>
  1291.                         </header>
  1292.                         <header>
  1293.                             <h2>{{ new.getTranslations()[0].getSubtitle() }}</h2>
  1294.                         </header>
  1295.                         <div class=\"tools\">
  1296.                             {% for categ in new.getCategories() %}
  1297.                                 <div class=\"category\">
  1298.                                     <a href=\"{{ path('newsByCateg', {
  1299.                                     'seoSlugCategory' : categ.getTranslations()[0].getName() | make_url_phrase,
  1300.                                     'id' : categ.getId() }) }}\" title=\"{{ categ.getTranslations()[0].getName() }}\" class=\"\">{{ categ.getTranslations()[0].getName() }}</a>
  1301.                                 </div>
  1302.                             {% endfor %}
  1303.                             <span class=\"dia\">{{ new.getPublicationDate() | date('d/m/Y') }}</span>
  1304.                             <span class=\"hora\">{{ new.getPublicationDate() | date('H:i:s') }}</span>
  1305.                             <span class=\"share\"><a href=\"https://www.facebook.com/sharer/sharer.php?u={{ newsAbsPath }}\" target=\"_blank\"><i class=\"fab fa-2x fa-facebook-f\"></i></a></span>
  1306.                             <span class=\"share xtwitter\"><a href=\"https://twitter.com/intent/tweet?url={{ newsAbsPath }}\" target=\"_blank\"><img src=\"{{ asset('assets/images/icon/x-twitter.svg') }}\" alt=\"Twitter\" title=\"Twitter\"/></a></span>
  1307.                             <span class=\"hide-for-small-only share\"><a href=\"https://web.whatsapp.com/send?text={{ newsAbsPath }}\" title=\"WhatsApp\" target=\"_blank\" data-param-url=\"{{ newsAbsPath }}\" data-action=\"share/whatsapp/share\" data-param-description=\"{{ new.getTranslations()[0].getSeoDescription() }}\" data-param-title=\"{{ new.getTranslations()[0].getTitle() }}\"><i class=\"fab fa-2x fa-whatsapp\" aria-hidden=\"true\"></i></a></span>
  1308.                             <span class=\"show-for-small-only share\"><a href=\"whatsapp://send?text={{ newsAbsPath }}\" title=\"WhatsApp\" target=\"_blank\" data-param-url=\"{{ newsAbsPath }}\" data-action=\"share/whatsapp/share\" data-param-description=\"{{ new.getTranslations()[0].getSeoDescription() }}\" data-param-title=\"{{ new.getTranslations()[0].getTitle() }}\"><i class=\"fab fa-2x fa-whatsapp\" aria-hidden=\"true\"></i></a></span>
  1309.                         </div>
  1310.                         {% if new.getKalturaId() is not empty %}
  1311.                             <div class=\"responsive-embed\">
  1312.                                 <iframe type=\"text/javascript\" src='https://cdnapisec.kaltura.com/p/4626453/embedPlaykitJs/uiconf_id/50311432?iframeembed=true&entry_id={{ new.KalturaId() }}' style=\"width: 100%; height: 100%;\" allowfullscreen webkitallowfullscreen mozAllowFullScreen allow=\"autoplay *; fullscreen *; encrypted-media *\" frameborder=\"0\"></iframe>
  1313.                             </div>
  1314.                         {% else %}
  1315.                             <figure>
  1316.                                 <img src=\"{{ imgPath }}\" alt=\"{{ new.getTranslations()[0].getTitle() }}\" title=\"{{ new.getTranslations()[0].getTitle() }}\" />
  1317.                             </figure>
  1318.                         {% endif %}
  1319.                         {{ new.getTranslations()[0].getText() | raw }}
  1320.                         {% if new.getVideo1() is not empty %}
  1321.                             <p><a href=\"{{ new.getVideo1() }}\">{{ new.getVideo1() }}</a></p>
  1322.                             {% endif %}
  1323.                             {% if new.getVideo2() is not empty %}
  1324.                             <p><a href=\"{{ new.getVideo2() }}\">{{ new.getVideo2() }}</a></p>
  1325.                             {% endif %}
  1326.                             {% include 'Frontend/news/match_stats.html.twig' %}
  1327.                     </div>
  1328.                     <!-- Sidebar -->
  1329.                     <aside id=\"sidebar\" class=\"cell small-12 medium-4 large-5\">
  1330.                         {% if new.getBanner() | default and new.getBanner().getImages()[0] | default %}
  1331.                             {% set bannerImg = new.getBanner().getImages()[0] %}
  1332.                             <div class=\"sponsor\">
  1333.                                 <a href=\"{{ new.getBanner().getTranslations()[0].getLink() }}\" rel=\"noopener noreferrer\" target=\"_blank\" title=\"{{ new.getBanner().getTranslations()[0].getTitle() }}\">
  1334.                                     <img src=\"{{ IMG_PATH ~ bannerImg.section ~ '/' ~ bannerImg.itemId ~ '/resized/' ~ bannerImg.id ~ '_backendGallery.' ~ bannerImg.extension }}\" alt=\"{{ new.getBanner().getTranslations()[0].getTitle() }}\" />
  1335.                                 </a>
  1336.                             </div>
  1337.                         {% endif %}
  1338.                         {% if new.getBanner2() | default and new.getBanner2().getImages()[0] | default %}
  1339.                             {% set bannerImg = new.getBanner2().getImages()[0] %}
  1340.                             <div class=\"sponsor\">
  1341.                                 <a href=\"{{ new.getBanner2().getTranslations()[0].getLink() }}\" rel=\"noopener noreferrer\" target=\"_blank\" title=\"{{ new.getBanner2().getTranslations()[0].getTitle() }}\">
  1342.                                     <img src=\"{{ IMG_PATH ~ bannerImg.section ~ '/' ~ bannerImg.itemId ~ '/resized/' ~ bannerImg.id ~ '_backendGallery.' ~ bannerImg.extension }}\" alt=\"{{ new.getBanner2().getTranslations()[0].getTitle() }}\" />
  1343.                                 </a>
  1344.                             </div>
  1345.                         {% endif %}
  1346.                         {% include 'Frontend/common/nextmatch.html.twig' %}
  1347.                         {% for banner in banners %}
  1348.                             {% if banner.image is defined and banner.image is not empty %}
  1349.                                 <div class=\"banner\">
  1350.                                     <header>
  1351.                                         <h4>{{ banner.record.title }}</h4>
  1352.                                     </header>
  1353.                                     <a href=\"{{ banner.record.link }}\"  target=\"_blank\" title=\"{{ banner.record.title }}\">
  1354.                                         <img src=\"{{banner.image }}\" alt=\"{{ banner.record.title }}\" />
  1355.                                     </a>
  1356.                                 </div>
  1357.                             {% endif %}
  1358.                         {% endfor %}
  1359.                         <div class=\"download\">
  1360.                             <div class=\"\" role=\"main\">
  1361.                                 <header>
  1362.                                     <h4>{% trans %}Descárgate la app{% endtrans %}</h4>
  1363.                                 </header>
  1364.                                 <p>{% trans %}Todos los detalles del partido en tu móvil{% endtrans %}</p>
  1365.                                 <div class=\"\" role=\"button\">
  1366.                                     <a class=\"\" href=\"https://apps.apple.com/app/rcd-espanyol-de-barcelona/id1482739348?ls=1&amp;l=\" target=\"_blank\" rel=\"noopener noreferrer\">
  1367.                                         <img src=\"{{ asset('assets/images/tmp/download-appstore.png') }}\" alt=\"Download it on the App Store\" title=\"Download it on the App Store\" />
  1368.                                     </a>
  1369.                                     <a class=\"\" href=\"https://play.google.com/store/apps/details?id=com.rcdespanyol.app&amp;hl=\" target=\"_blank\" rel=\"noopener noreferrer\">
  1370.                                         <img src=\"{{ asset('assets/images/tmp/google-play.png') }}\" alt=\"Get it on Google Play\" title=\"Get it on Google Play\"/>
  1371.                                     </a>
  1372.                                 </div>
  1373.                                 <div class=\"\" role=\"figure\">
  1374.                                     <img src=\"{{ asset('assets/images/static/rcde_banner_app.png') }}\" alt=\"{% trans %}Descárgate la app{% endtrans %}\" title=\"{% trans %}Descárgate la app{% endtrans %}\" />
  1375.                                 </div>
  1376.                             </div>
  1377.                         </div>
  1378.                     </aside>
  1379.                     <aside id=\"download\">
  1380.                         <div class=\"grid-container\">
  1381.                             {% if new.getDocuments()|default %}
  1382.                                 <header>
  1383.                                     <h3>{% trans %}Archivos{% endtrans %}</h3>
  1384.                                 </header>
  1385.                                 <ul>
  1386.                                     {% for doc in new.getDocuments() %}
  1387.                                         <li class=\"cell\">
  1388.                                             <a href=\"{{ DOC_PATH ~ doc.section ~ '/' ~ doc.itemId ~ '/' ~ doc.id ~ '.' ~ doc.extension }}\" title=\"{{ doc.fileName }}\" target=\"_blank\">
  1389.                                                 <figure>
  1390.                                                     <img src=\"{{ asset('assets/images/icon/file.svg') }}\" alt=\"{{ doc.extension }}\" />
  1391.                                                 </figure>
  1392.                                                 <span>{{ doc.fileName }}</span>
  1393.                                                 <div>
  1394.                                                     <span>{{ doc.extension }}</span>
  1395.                                                     <span><img src=\"{{ asset('assets/images/icon/download.svg') }}\"></span>
  1396.                                                 </div>
  1397.                                             </a>
  1398.                                         </li>
  1399.                                     {% endfor %}
  1400.                                 </ul>
  1401.                             {% endif %}
  1402.                         </div>
  1403.                     </aside>
  1404.                 </div>
  1405.             </div>
  1406.             <aside class=\"fixgallery\">
  1407.                 <header>
  1408.                     <h2>{% trans %}Galería{% endtrans %}</h2>
  1409.                 </header>
  1410.                 <div id=\"lightgallery\" class=\"gallery-carousel\">
  1411.                     {% if new.images|default %}
  1412.                         {% for image in new.images %}
  1413.                             <div class=\"item\" data-src=\"{{ IMG_PATH ~ image.section ~ '/' ~ image.itemId ~ '/resized/' ~ image.id ~ '_backendGallery.' ~ image.extension }}\" title=\"\" data-index=\"0\" />
  1414.                             <figure>
  1415.                                 <img src=\"{{ IMG_PATH ~ image.section ~ '/' ~ image.itemId ~ '/resized/' ~ image.id ~ '_backendGallery.' ~ image.extension }}\"/>
  1416.                             </figure>
  1417.                         </div>
  1418.                     {% endfor %}
  1419.                 {% endif %}
  1420.                 </div>
  1421.             </aside>
  1422.             {# dump(relatedNews) #}
  1423.             {% if relatedNews is not empty %}
  1424.                 <aside id=\"related\">
  1425.                     <div class=\"grid-container\">
  1426.                         <div class=\"grid-x grid-margin-x\">
  1427.                             <header class=\"cell small-12 medium-11 large-11\">
  1428.                                 <h2>{% trans %}Noticias relacionadas{% endtrans %}</h2>
  1429.                             </header>
  1430.                         </div>
  1431.                         <div class=\"related\">
  1432.                             {% for relNew in relatedNews %}
  1433.                                 {% if relNew.getTranslations()[0].getTitle() | default %}
  1434.                                     {% set relNewPath = path('new', {'seoSlug' : relNew.getTranslations[0].getTitle() | make_url_phrase, 'id' : relNew.getId() }) %}
  1435.                                 {% else %}
  1436.                                     {% set relNewPath = '' %}
  1437.                                 {% endif %}
  1438.                                 {% if relNew.images[0] is defined %}
  1439.                                     {% set imgPath =  IMG_PATH ~ relNew.images[0].section ~ '/' ~ relNew.images[0].itemId ~ '/resized/' ~ relNew.images[0].id ~ '_backendGallery.' ~ relNew.images[0].extension %}
  1440.                                 {% else %}
  1441.                                     {% set imgPath = '' %}
  1442.                                 {% endif %}
  1443.                                 <div>
  1444.                                     <figure>
  1445.                                         <a href=\"{{ relNewPath }}\" title=\"{{ relNew.getTranslations[0].getTitle() }}\">
  1446.                                             <img src=\"{{ imgPath }}\" alt=\"{{ relNew.getTranslations[0].getTitle() }}\" />
  1447.                                         </a>
  1448.                                     </figure>
  1449.                                     <div class=\"description\">
  1450.                                         <header>
  1451.                                             <h3><a href=\"{{ relNewPath }}\" title=\"{{ relNew.getTranslations[0].getTitle() }}\">{{ relNew.getTranslations[0].getTitle() }}</a></h3>
  1452.                                         </header>
  1453.                                         <p>
  1454.                                             {% for categ in relNew.getCategories() %}
  1455.                                                 <a href=\"{{ path('newsByCateg', {
  1456.                                             'seoSlugCategory' : categ.getTranslations()[0].getName() | make_url_phrase,
  1457.                                             'id' : categ.getId() }) }}\" title=\"{{ categ.getTranslations()[0].getName() }}\" class=\"category\">{{ categ.getTranslations()[0].getName() }}</a>
  1458.                                             {% endfor %}
  1459.                                             <span>{{ relNew.getPublicationDate() | date('d/m/Y') }}</span>
  1460.                                         </p>
  1461.                                     </div>
  1462.                                 </div>
  1463.                             {% endfor %}
  1464.                         </div>
  1465.                     </div>
  1466.                 </aside>
  1467.             {% endif %}
  1468.         </article>
  1469.     </section>
  1470.     {% endif %}
  1471. {% else %}
  1472.  <section id=\"new\">
  1473.         <article>
  1474.             <div class=\"grid-container\">
  1475.                 <div class=\"grid-x grid-margin-x\">
  1476.                     <!-- News content -->
  1477.                     <div id=\"content\" class=\"cell small-12 medium-8 large-7\">
  1478.                         <a href=\"{{ path('news') }}\" role=\"button\" tabindex=\"0\" class=\"back\">
  1479.                             <img src=\"{{ asset('assets/images/icon/chevron.svg') }}\" alt=\"{% trans %}Atrás{% endtrans %}\" title=\"{% trans %}Atrás{% endtrans %}\"/>
  1480.                             <span>{% trans %}Atrás{% endtrans %}</span>
  1481.                         </a>
  1482.                         <header>
  1483.                             <h1>{{ new.getTranslations()[0].getTitle() }}</h1>
  1484.                         </header>
  1485.                         <header>
  1486.                             <h2>{{ new.getTranslations()[0].getSubtitle() }}</h2>
  1487.                         </header>
  1488.                         <div class=\"tools\">
  1489.                             {% for categ in new.getCategories() %}
  1490.                                 <div class=\"category\">
  1491.                                     <a href=\"{{ path('newsByCateg', {
  1492.                                     'seoSlugCategory' : categ.getTranslations()[0].getName() | make_url_phrase,
  1493.                                     'id' : categ.getId() }) }}\" title=\"{{ categ.getTranslations()[0].getName() }}\" class=\"\">{{ categ.getTranslations()[0].getName() }}</a>
  1494.                                 </div>
  1495.                             {% endfor %}
  1496.                             <span class=\"dia\">{{ new.getPublicationDate() | date('d/m/Y') }}</span>
  1497.                             <span class=\"hora\">{{ new.getPublicationDate() | date('H:i:s') }}</span>
  1498.                             <span class=\"share\"><a href=\"https://www.facebook.com/sharer/sharer.php?u={{ newsAbsPath }}\" target=\"_blank\"><i class=\"fab fa-2x fa-facebook-f\"></i></a></span>
  1499.                             <span class=\"share xtwitter\"><a href=\"https://twitter.com/intent/tweet?url={{ newsAbsPath }}\" target=\"_blank\"><img src=\"{{ asset('assets/images/icon/x-twitter.svg') }}\" alt=\"Twitter\" title=\"Twitter\"/></a></span>
  1500.                             <span class=\"hide-for-small-only share\"><a href=\"https://web.whatsapp.com/send?text={{ newsAbsPath }}\" title=\"WhatsApp\" target=\"_blank\" data-param-url=\"{{ newsAbsPath }}\" data-action=\"share/whatsapp/share\" data-param-description=\"{{ new.getTranslations()[0].getSeoDescription() }}\" data-param-title=\"{{ new.getTranslations()[0].getTitle() }}\"><i class=\"fab fa-2x fa-whatsapp\" aria-hidden=\"true\"></i></a></span>
  1501.                             <span class=\"show-for-small-only share\"><a href=\"whatsapp://send?text={{ newsAbsPath }}\" title=\"WhatsApp\" target=\"_blank\" data-param-url=\"{{ newsAbsPath }}\" data-action=\"share/whatsapp/share\" data-param-description=\"{{ new.getTranslations()[0].getSeoDescription() }}\" data-param-title=\"{{ new.getTranslations()[0].getTitle() }}\"><i class=\"fab fa-2x fa-whatsapp\" aria-hidden=\"true\"></i></a></span>
  1502.                         </div>
  1503.                         {% if new.getKalturaId() is not empty %}
  1504.                             <div class=\"responsive-embed\">
  1505.                                 <iframe type=\"text/javascript\" src='https://cdnapisec.kaltura.com/p/4626453/embedPlaykitJs/uiconf_id/50311432?iframeembed=true&entry_id={{ new.KalturaId() }}' style=\"width: 100%; height: 100%;\" allowfullscreen webkitallowfullscreen mozAllowFullScreen allow=\"autoplay *; fullscreen *; encrypted-media *\" frameborder=\"0\"></iframe>
  1506.                             </div>
  1507.                         {% else %}
  1508.                             <figure>
  1509.                                 <img src=\"{{ imgPath }}\" alt=\"{{ new.getTranslations()[0].getTitle() }}\" title=\"{{ new.getTranslations()[0].getTitle() }}\" />
  1510.                             </figure>
  1511.                         {% endif %}
  1512.                         {{ new.getTranslations()[0].getText() | raw }}
  1513.                         {% if new.getVideo1() is not empty %}
  1514.                             <p><a href=\"{{ new.getVideo1() }}\">{{ new.getVideo1() }}</a></p>
  1515.                             {% endif %}
  1516.                             {% if new.getVideo2() is not empty %}
  1517.                             <p><a href=\"{{ new.getVideo2() }}\">{{ new.getVideo2() }}</a></p>
  1518.                             {% endif %}
  1519.                             {% include 'Frontend/news/match_stats.html.twig' %}
  1520.                     </div>
  1521.                     <!-- Sidebar -->
  1522.                     <aside id=\"sidebar\" class=\"cell small-12 medium-4 large-5\">
  1523.                         {% if new.getBanner() | default and new.getBanner().getImages()[0] | default %}
  1524.                             {% set bannerImg = new.getBanner().getImages()[0] %}
  1525.                             <div class=\"sponsor\">
  1526.                                 <a href=\"{{ new.getBanner().getTranslations()[0].getLink() }}\" rel=\"noopener noreferrer\" target=\"_blank\" title=\"{{ new.getBanner().getTranslations()[0].getTitle() }}\">
  1527.                                     <img src=\"{{ IMG_PATH ~ bannerImg.section ~ '/' ~ bannerImg.itemId ~ '/resized/' ~ bannerImg.id ~ '_backendGallery.' ~ bannerImg.extension }}\" alt=\"{{ new.getBanner().getTranslations()[0].getTitle() }}\" />
  1528.                                 </a>
  1529.                             </div>
  1530.                         {% endif %}
  1531.                         {% if new.getBanner2() | default and new.getBanner2().getImages()[0] | default %}
  1532.                             {% set bannerImg = new.getBanner2().getImages()[0] %}
  1533.                             <div class=\"sponsor\">
  1534.                                 <a href=\"{{ new.getBanner2().getTranslations()[0].getLink() }}\" rel=\"noopener noreferrer\" target=\"_blank\" title=\"{{ new.getBanner2().getTranslations()[0].getTitle() }}\">
  1535.                                     <img src=\"{{ IMG_PATH ~ bannerImg.section ~ '/' ~ bannerImg.itemId ~ '/resized/' ~ bannerImg.id ~ '_backendGallery.' ~ bannerImg.extension }}\" alt=\"{{ new.getBanner2().getTranslations()[0].getTitle() }}\" />
  1536.                                 </a>
  1537.                             </div>
  1538.                         {% endif %}
  1539.                         {% include 'Frontend/common/nextmatch.html.twig' %}
  1540.                         {% for banner in banners %}
  1541.                             {% if banner.image is defined and banner.image is not empty %}
  1542.                                 <div class=\"banner\">
  1543.                                     <header>
  1544.                                         <h4>{{ banner.record.title }}</h4>
  1545.                                     </header>
  1546.                                     <a href=\"{{ banner.record.link }}\"  target=\"_blank\" title=\"{{ banner.record.title }}\">
  1547.                                         <img src=\"{{banner.image }}\" alt=\"{{ banner.record.title }}\" />
  1548.                                     </a>
  1549.                                 </div>
  1550.                             {% endif %}
  1551.                         {% endfor %}
  1552.                         <div class=\"download\">
  1553.                             <div class=\"\" role=\"main\">
  1554.                                 <header>
  1555.                                     <h4>{% trans %}Descárgate la app{% endtrans %}</h4>
  1556.                                 </header>
  1557.                                 <p>{% trans %}Todos los detalles del partido en tu móvil{% endtrans %}</p>
  1558.                                 <div class=\"\" role=\"button\">
  1559.                                     <a class=\"\" href=\"https://apps.apple.com/app/rcd-espanyol-de-barcelona/id1482739348?ls=1&amp;l=\" target=\"_blank\" rel=\"noopener noreferrer\">
  1560.                                         <img src=\"{{ asset('assets/images/tmp/download-appstore.png') }}\" alt=\"Download it on the App Store\" title=\"Download it on the App Store\" />
  1561.                                     </a>
  1562.                                     <a class=\"\" href=\"https://play.google.com/store/apps/details?id=com.rcdespanyol.app&amp;hl=\" target=\"_blank\" rel=\"noopener noreferrer\">
  1563.                                         <img src=\"{{ asset('assets/images/tmp/google-play.png') }}\" alt=\"Get it on Google Play\" title=\"Get it on Google Play\"/>
  1564.                                     </a>
  1565.                                 </div>
  1566.                                 <div class=\"\" role=\"figure\">
  1567.                                     <img src=\"{{ asset('assets/images/static/rcde_banner_app.png') }}\" alt=\"{% trans %}Descárgate la app{% endtrans %}\" title=\"{% trans %}Descárgate la app{% endtrans %}\" />
  1568.                                 </div>
  1569.                             </div>
  1570.                         </div>
  1571.                     </aside>
  1572.                     <aside id=\"download\">
  1573.                         <div class=\"grid-container\">
  1574.                             {% if new.getDocuments()|default %}
  1575.                                 <header>
  1576.                                     <h3>{% trans %}Archivos{% endtrans %}</h3>
  1577.                                 </header>
  1578.                                 <ul>
  1579.                                     {% for doc in new.getDocuments() %}
  1580.                                         <li class=\"cell\">
  1581.                                             <a href=\"{{ DOC_PATH ~ doc.section ~ '/' ~ doc.itemId ~ '/' ~ doc.id ~ '.' ~ doc.extension }}\" title=\"{{ doc.fileName }}\" target=\"_blank\">
  1582.                                                 <figure>
  1583.                                                     <img src=\"{{ asset('assets/images/icon/file.svg') }}\" alt=\"{{ doc.extension }}\" />
  1584.                                                 </figure>
  1585.                                                 <span>{{ doc.fileName }}</span>
  1586.                                                 <div>
  1587.                                                     <span>{{ doc.extension }}</span>
  1588.                                                     <span><img src=\"{{ asset('assets/images/icon/download.svg') }}\"></span>
  1589.                                                 </div>
  1590.                                             </a>
  1591.                                         </li>
  1592.                                     {% endfor %}
  1593.                                 </ul>
  1594.                             {% endif %}
  1595.                         </div>
  1596.                     </aside>
  1597.                 </div>
  1598.             </div>
  1599.             <aside class=\"fixgallery\">
  1600.                 <header>
  1601.                     <h2>{% trans %}Galería{% endtrans %}</h2>
  1602.                 </header>
  1603.                 <div id=\"lightgallery\" class=\"gallery-carousel\">
  1604.                     {% if new.images|default %}
  1605.                         {% for image in new.images %}
  1606.                             <div class=\"item\" data-src=\"{{ IMG_PATH ~ image.section ~ '/' ~ image.itemId ~ '/resized/' ~ image.id ~ '_backendGallery.' ~ image.extension }}\" title=\"\" data-index=\"0\" />
  1607.                             <figure>
  1608.                                 <img src=\"{{ IMG_PATH ~ image.section ~ '/' ~ image.itemId ~ '/resized/' ~ image.id ~ '_backendGallery.' ~ image.extension }}\"/>
  1609.                             </figure>
  1610.                         </div>
  1611.                     {% endfor %}
  1612.                 {% endif %}
  1613.                 </div>
  1614.             </aside>
  1615.             {# dump(relatedNews) #}
  1616.             {% if relatedNews is not empty %}
  1617.                 <aside id=\"related\">
  1618.                     <div class=\"grid-container\">
  1619.                         <div class=\"grid-x grid-margin-x\">
  1620.                             <header class=\"cell small-12 medium-11 large-11\">
  1621.                                 <h2>{% trans %}Noticias relacionadas{% endtrans %}</h2>
  1622.                             </header>
  1623.                         </div>
  1624.                         <div class=\"related\">
  1625.                             {% for relNew in relatedNews %}
  1626.                                 {% if relNew.getTranslations()[0].getTitle() | default %}
  1627.                                     {% set relNewPath = path('new', {'seoSlug' : relNew.getTranslations[0].getTitle() | make_url_phrase, 'id' : relNew.getId() }) %}
  1628.                                 {% else %}
  1629.                                     {% set relNewPath = '' %}
  1630.                                 {% endif %}
  1631.                                 {% if relNew.images[0] is defined %}
  1632.                                     {% set imgPath =  IMG_PATH ~ relNew.images[0].section ~ '/' ~ relNew.images[0].itemId ~ '/resized/' ~ relNew.images[0].id ~ '_backendGallery.' ~ relNew.images[0].extension %}
  1633.                                 {% else %}
  1634.                                     {% set imgPath = '' %}
  1635.                                 {% endif %}
  1636.                                 <div>
  1637.                                     <figure>
  1638.                                         <a href=\"{{ relNewPath }}\" title=\"{{ relNew.getTranslations[0].getTitle() }}\">
  1639.                                             <img src=\"{{ imgPath }}\" alt=\"{{ relNew.getTranslations[0].getTitle() }}\" />
  1640.                                         </a>
  1641.                                     </figure>
  1642.                                     <div class=\"description\">
  1643.                                         <header>
  1644.                                             <h3><a href=\"{{ relNewPath }}\" title=\"{{ relNew.getTranslations[0].getTitle() }}\">{{ relNew.getTranslations[0].getTitle() }}</a></h3>
  1645.                                         </header>
  1646.                                         <p>
  1647.                                             {% for categ in relNew.getCategories() %}
  1648.                                                 <a href=\"{{ path('newsByCateg', {
  1649.                                             'seoSlugCategory' : categ.getTranslations()[0].getName() | make_url_phrase,
  1650.                                             'id' : categ.getId() }) }}\" title=\"{{ categ.getTranslations()[0].getName() }}\" class=\"category\">{{ categ.getTranslations()[0].getName() }}</a>
  1651.                                             {% endfor %}
  1652.                                             <span>{{ relNew.getPublicationDate() | date('d/m/Y') }}</span>
  1653.                                         </p>
  1654.                                     </div>
  1655.                                 </div>
  1656.                             {% endfor %}
  1657.                         </div>
  1658.                     </div>
  1659.                 </aside>
  1660.             {% endif %}
  1661.         </article>
  1662.     </section>
  1663. {% endif %}
  1664. {% endblock %}
  1665. {% block javascripts %}
  1666.     <script src=\"{{ asset('js/frontend/lightgallery/lightgallery.min.js') }}\"></script>
  1667.     <script type=\"text/javascript\">
  1668.         lightGallery(document.getElementById('lightgallery'), {
  1669.             speed: 500,
  1670.             animateThumb: false,
  1671.             zoomFromOrigin: false,
  1672.             allowMediaOverlap: true,
  1673.             thumbnail: true,
  1674.             mobileSettings: {
  1675.                 controls: true,
  1676.                 showCloseIcon: true,
  1677.                 download: true,
  1678.             }
  1679.         });
  1680.     </script>
  1681.     <script type=\"text/javascript\">
  1682.         lightGallery(document.getElementById('selector'), {
  1683.             selector: '.item',
  1684.         });
  1685.     </script>
  1686.     {{ parent() }}
  1687. {% endblock %}
  1688. ""Frontend/news/new.html.twig""/var/www/espanyol/templates/Frontend/news/new.html.twig");
  1689.     }
  1690. }