var/cache/website/dev/twig/25/253cf4aff8c0e52dff092dc48f91281c0d62d6f48324a211d3997eb10a4d7626.php line 445

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* pages/fiche-thematique.html.twig */
  15. class __TwigTemplate_b1bf46f4a47939ae39dd681993395b55752e9c5f8654586b0b30f503b6a296f4 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'style' => [$this'block_style'],
  25.             'content' => [$this'block_content'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "base.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""pages/fiche-thematique.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""pages/fiche-thematique.html.twig"));
  41.         $this->parent $this->loadTemplate("base.html.twig""pages/fiche-thematique.html.twig"1);
  42.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 2
  49.     public function block_style($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  56.         // line 3
  57.         yield "\t";
  58.         yield from $this->yieldParentBlock("style"$context$blocks);
  59.         yield "
  60. \t";
  61.         // line 4
  62.         yield from         $this->loadTemplate("css/une-page-thematique-critical-css.html.twig""pages/fiche-thematique.html.twig"4)->unwrap()->yield($context);
  63.         // line 5
  64.         yield "\t";
  65.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/fiche-thematique.html.twig"5)->unwrap()->yield(CoreExtension::merge($context, ["file" => "evenementavenir_css"]));
  66.         // line 6
  67.         yield "\t";
  68.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/fiche-thematique.html.twig"6)->unwrap()->yield(CoreExtension::merge($context, ["file" => "splide_css"]));
  69.         // line 7
  70.         yield "\t";
  71.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/fiche-thematique.html.twig"7)->unwrap()->yield(CoreExtension::merge($context, ["file" => "articles_css"]));
  72.         // line 8
  73.         yield "\t";
  74.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/fiche-thematique.html.twig"8)->unwrap()->yield(CoreExtension::merge($context, ["file" => "previews_css"]));
  75.         // line 9
  76.         yield "\t";
  77.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/fiche-thematique.html.twig"9)->unwrap()->yield(CoreExtension::merge($context, ["file" => "preview_thematique_css"]));
  78.         // line 10
  79.         yield "\t";
  80.         yield from         $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/fiche-thematique.html.twig"10)->unwrap()->yield(CoreExtension::merge($context, ["file" => "sns_icons_css"]));
  81.         // line 11
  82.         yield "\t";
  83.         if ((=== CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'11$this->source); })()), "main_content", [], "any"falsefalsefalse11)), 0))) {
  84.             // line 12
  85.             yield "\t\t";
  86.             $context['_parent'] = $context;
  87.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["content"], "main_content", [], "any"falsefalsefalse12));
  88.             $context['loop'] = [
  89.               'parent' => $context['_parent'],
  90.               'index0' => 0,
  91.               'index'  => 1,
  92.               'first'  => true,
  93.             ];
  94.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  95.                 $length count($context['_seq']);
  96.                 $context['loop']['revindex0'] = $length 1;
  97.                 $context['loop']['revindex'] = $length;
  98.                 $context['loop']['length'] = $length;
  99.                 $context['loop']['last'] = === $length;
  100.             }
  101.             foreach ($context['_seq'] as $context["_key"] => $context["content"]) {
  102.                 // line 13
  103.                 yield "\t\t\t";
  104.                 if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["content"], "type", [], "any"falsefalsefalse13), "fiche_thematique_section"))) {
  105.                     // line 14
  106.                     yield "\t\t\t\t";
  107.                     if ((=== CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source$context["content"], "content", [], "any"falsefalsefalse14)), 0))) {
  108.                         // line 15
  109.                         yield "\t\t\t\t\t";
  110.                         $context['_parent'] = $context;
  111.                         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["content"], "content", [], "any"falsefalsefalse15));
  112.                         $context['loop'] = [
  113.                           'parent' => $context['_parent'],
  114.                           'index0' => 0,
  115.                           'index'  => 1,
  116.                           'first'  => true,
  117.                         ];
  118.                         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  119.                             $length count($context['_seq']);
  120.                             $context['loop']['revindex0'] = $length 1;
  121.                             $context['loop']['revindex'] = $length;
  122.                             $context['loop']['length'] = $length;
  123.                             $context['loop']['last'] = === $length;
  124.                         }
  125.                         foreach ($context['_seq'] as $context["_key"] => $context["child_content"]) {
  126.                             // line 16
  127.                             yield "\t\t\t\t\t\t";
  128.                             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["child_content"], "type", [], "any"falsefalsefalse16), "media"))) {
  129.                                 // line 17
  130.                                 yield "\t\t\t\t\t\t\t";
  131.                                 if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["child_content"], "select", [], "any"falsefalsefalse17), "youtube_link"))) {
  132.                                     // line 18
  133.                                     yield "\t\t\t\t\t\t\t\t";
  134.                                     yield from                                     $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/fiche-thematique.html.twig"18)->unwrap()->yield(CoreExtension::merge($context, ["file" => "youtube_css"]));
  135.                                     // line 19
  136.                                     yield "\t\t\t\t\t\t\t";
  137.                                 }
  138.                                 // line 20
  139.                                 yield "\t\t\t\t\t\t";
  140.                             }
  141.                             // line 21
  142.                             yield "\t\t\t\t\t\t";
  143.                             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["child_content"], "type", [], "any"falsefalsefalse21), "citation"))) {
  144.                                 // line 22
  145.                                 yield "\t\t\t\t\t\t\t";
  146.                                 yield from                                 $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig""pages/fiche-thematique.html.twig"22)->unwrap()->yield(CoreExtension::merge($context, ["file" => "citation_css"]));
  147.                                 // line 23
  148.                                 yield "\t\t\t\t\t\t";
  149.                             }
  150.                             // line 24
  151.                             yield "\t\t\t\t\t";
  152.                             ++$context['loop']['index0'];
  153.                             ++$context['loop']['index'];
  154.                             $context['loop']['first'] = false;
  155.                             if (isset($context['loop']['length'])) {
  156.                                 --$context['loop']['revindex0'];
  157.                                 --$context['loop']['revindex'];
  158.                                 $context['loop']['last'] = === $context['loop']['revindex0'];
  159.                             }
  160.                         }
  161.                         $_parent $context['_parent'];
  162.                         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child_content'], $context['_parent'], $context['loop']);
  163.                         $context array_intersect_key($context$_parent) + $_parent;
  164.                         // line 25
  165.                         yield "\t\t\t\t";
  166.                     }
  167.                     // line 26
  168.                     yield "\t\t\t";
  169.                 }
  170.                 // line 27
  171.                 yield "\t\t";
  172.                 ++$context['loop']['index0'];
  173.                 ++$context['loop']['index'];
  174.                 $context['loop']['first'] = false;
  175.                 if (isset($context['loop']['length'])) {
  176.                     --$context['loop']['revindex0'];
  177.                     --$context['loop']['revindex'];
  178.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  179.                 }
  180.             }
  181.             $_parent $context['_parent'];
  182.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content'], $context['_parent'], $context['loop']);
  183.             $context array_intersect_key($context$_parent) + $_parent;
  184.             // line 28
  185.             yield "\t";
  186.         }
  187.         // line 29
  188.         yield "\t";
  189.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"truetruefalse29) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'29$this->source); })()), "header_img", [], "any"falsefalsefalse29)))) {
  190.             // line 30
  191.             yield "\t\t<link rel=\"preload\" fetchpriority=\"high\" as=\"image\" href=\"";
  192.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'30$this->source); })()), "header_img", [], "any"falsefalsefalse30), "formats", [], "any"falsefalsefalse30), "1000x.webp", [], "array"falsefalsefalse30), "html"nulltrue);
  193.             yield "\" type=\"image/webp\">
  194. \t";
  195.         }
  196.         
  197.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  198.         
  199.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  200.         return; yield '';
  201.     }
  202.     // line 33
  203.     public function block_content($context, array $blocks = [])
  204.     {
  205.         $macros $this->macros;
  206.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  207.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  208.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  209.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  210.         // line 34
  211.         yield "\t";
  212.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "color", [], "any"truetruefalse34) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'34$this->source); })()), "color", [], "any"falsefalsefalse34)))) {
  213.             // line 35
  214.             yield "\t\t";
  215.             $context["background_color"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'35$this->source); })()), "color", [], "any"falsefalsefalse35);
  216.             // line 36
  217.             yield "\t";
  218.         } else {
  219.             // line 37
  220.             yield "\t\t";
  221.             $context["background_color"] = "#354161";
  222.             // line 38
  223.             yield "\t";
  224.         }
  225.         // line 39
  226.         yield "\t";
  227.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'39$this->source); })()), "fil_ariane", [], "any"falsefalsefalse39)) {
  228.             // line 40
  229.             yield "\t\t";
  230.             yield from             $this->loadTemplate("blocks/breadcrumb-normal.html.twig""pages/fiche-thematique.html.twig"40)->unwrap()->yield($context);
  231.             // line 41
  232.             yield "\t";
  233.         }
  234.         // line 42
  235.         yield "\t";
  236.         $context["associated_category_id"] = null;
  237.         // line 43
  238.         yield "\t";
  239.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "associated_category", [], "any"truetruefalse43) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'43$this->source); })()), "associated_category", [], "any"falsefalsefalse43)))) {
  240.             // line 44
  241.             yield "\t\t";
  242.             $context["associated_category_id"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'44$this->source); })()), "associated_category", [], "any"falsefalsefalse44), "id", [], "any"falsefalsefalse44);
  243.             // line 45
  244.             yield "\t";
  245.         }
  246.         // line 46
  247.         yield "\t<div class=\"main-container w100 plr-1em\">
  248. \t\t<div class=\"content fdc fiche-thematique\">
  249. \t\t\t<div class=\"";
  250.         // line 48
  251.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"truetruefalse48) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'48$this->source); })()), "header_img", [], "any"falsefalsefalse48)))) {
  252.             yield "main-title";
  253.         } else {
  254.             yield "small-main-title";
  255.         }
  256.         yield " dflex aic jcc prelative br8\">
  257. \t\t\t\t";
  258.         // line 49
  259.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"truetruefalse49) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'49$this->source); })()), "header_img", [], "any"falsefalsefalse49)))) {
  260.             // line 50
  261.             yield "\t\t\t\t\t";
  262.             // line 51
  263.             yield "\t\t\t\t\t<img src=\"";
  264.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'51$this->source); })()), "header_img", [], "any"falsefalsefalse51), "formats", [], "any"falsefalsefalse51), "1000x.webp", [], "array"falsefalsefalse51), "html"nulltrue);
  265.             yield "\" srcset=\"";
  266.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'51$this->source); })()), "header_img", [], "any"falsefalsefalse51), "formats", [], "any"falsefalsefalse51), "300x.webp", [], "array"falsefalsefalse51), "html"nulltrue);
  267.             yield " 300w, ";
  268.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'51$this->source); })()), "header_img", [], "any"falsefalsefalse51), "formats", [], "any"falsefalsefalse51), "600x.webp", [], "array"falsefalsefalse51), "html"nulltrue);
  269.             yield " 600w, ";
  270.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'51$this->source); })()), "header_img", [], "any"falsefalsefalse51), "formats", [], "any"falsefalsefalse51), "1000x.webp", [], "array"falsefalsefalse51), "html"nulltrue);
  271.             yield " 1000w\" sizes=\"1000px\" alt=\"";
  272.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AltImageExtension']->getCopyrightOrDescriptionOrTitle(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'51$this->source); })()), "header_img", [], "any"falsefalsefalse51)), "html"nulltrue);
  273.             yield "\" width=\"";
  274.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'51$this->source); })()), "header_img", [], "any"falsefalsefalse51), "fileVersion", [], "any"falsefalsefalse51), "properties", [], "any"falsefalsefalse51), "width", [], "any"falsefalsefalse51), "html"nulltrue);
  275.             yield "\" height=\"";
  276.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'51$this->source); })()), "header_img", [], "any"falsefalsefalse51), "fileVersion", [], "any"falsefalsefalse51), "properties", [], "any"falsefalsefalse51), "height", [], "any"falsefalsefalse51), "html"nulltrue);
  277.             yield "\">
  278. \t\t\t\t";
  279.         }
  280.         // line 53
  281.         yield "\t\t\t\t<div class=\"zi1\">
  282. \t\t\t\t\t<h1 class=\"center";
  283.         // line 54
  284.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"truetruefalse54) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'54$this->source); })()), "header_img", [], "any"falsefalsefalse54)))) {
  285.             yield " cwhite fiche-thematique-title";
  286.         }
  287.         yield "\">";
  288.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'54$this->source); })()), "page_title", [], "any"falsefalsefalse54), "html"nulltrue);
  289.         yield "</h1>
  290. \t\t\t\t</div>
  291. \t\t\t\t";
  292.         // line 56
  293.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"truetruefalse56) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'56$this->source); })()), "header_img", [], "any"falsefalsefalse56)))) {
  294.             // line 57
  295.             yield "\t\t\t\t\t<div class=\"background-color\" style=\"background: ";
  296.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["background_color"]) || array_key_exists("background_color"$context) ? $context["background_color"] : (function () { throw new RuntimeError('Variable "background_color" does not exist.'57$this->source); })()), "html"nulltrue);
  297.             yield "\"></div>
  298. \t\t\t\t";
  299.         }
  300.         // line 59
  301.         yield "\t\t\t</div>
  302. \t\t\t<div class=\"dflex jcsb lh28 fwwrap\">
  303. \t\t\t\t<div>
  304. \t\t\t\t\t";
  305.         // line 62
  306.         if ((((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"truetruefalse62) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'62$this->source); })()), "header_img", [], "any"falsefalsefalse62))) && CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "header_img", [], "any"falsetruefalse62), "credits", [], "any"truetruefalse62)) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'62$this->source); })()), "header_img", [], "any"falsefalsefalse62), "credits", [], "any"falsefalsefalse62)))) {
  307.             // line 63
  308.             yield "\t\t\t\t\t\t<div class=\"cgrey fs12 lh16 credit mt-8px\">&copy; Crédit Photo
  309. \t\t\t\t\t\t\t";
  310.             // line 64
  311.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'64$this->source); })()), "header_img", [], "any"falsefalsefalse64), "credits", [], "any"falsefalsefalse64), "html"nulltrue);
  312.             yield "</div>
  313. \t\t\t\t\t";
  314.         }
  315.         // line 66
  316.         yield "\t\t\t\t\t<div class=\"date cgrey\">
  317. \t\t\t\t\t\t";
  318.         // line 67
  319.         if ((array_key_exists("authored"$context) &&  !Twig\Extension\CoreExtension::testEmpty((isset($context["authored"]) || array_key_exists("authored"$context) ? $context["authored"] : (function () { throw new RuntimeError('Variable "authored" does not exist.'67$this->source); })())))) {
  320.             // line 68
  321.             yield "\t\t\t\t\t\t\tPublié le
  322. \t\t\t\t\t\t\t";
  323.             // line 69
  324.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, (isset($context["authored"]) || array_key_exists("authored"$context) ? $context["authored"] : (function () { throw new RuntimeError('Variable "authored" does not exist.'69$this->source); })()), "short""none"), "html"nulltrue);
  325.             yield "
  326. \t\t\t\t\t\t";
  327.         }
  328.         // line 71
  329.         yield "\t\t\t\t\t</div>
  330. \t\t\t\t</div>
  331. \t\t\t\t<div class=\"taright\">
  332. \t\t\t\t\t";
  333.         // line 74
  334.         yield from         $this->loadTemplate("articles-blocks/share-buttons.html.twig""pages/fiche-thematique.html.twig"74)->unwrap()->yield(CoreExtension::merge($context, ["url" => CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'74$this->source); })()), "url", [], "any"falsefalsefalse74)]));
  335.         // line 75
  336.         yield "\t\t\t\t</div>
  337. \t\t\t</div>
  338. \t\t\t";
  339.         // line 77
  340.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "chapo", [], "any"truetruefalse77) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'77$this->source); })()), "chapo", [], "any"falsefalsefalse77)))) {
  341.             // line 78
  342.             yield "\t\t\t\t<div class=\"mt-20px fw500 fs20 text cgrey lh24\">";
  343.             yield CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'78$this->source); })()), "chapo", [], "any"falsefalsefalse78);
  344.             yield "</div>
  345. \t\t\t";
  346.         }
  347.         // line 80
  348.         yield "\t\t\t<div class=\"blocks w100 dflex fiche-thematique jcsb\">
  349. \t\t\t\t<div class=\"main-content mb-40px pr-1em w100\">
  350. \t\t\t\t\t";
  351.         // line 82
  352.         if (((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "main_content", [], "any"truetruefalse82) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'82$this->source); })()), "main_content", [], "any"falsefalsefalse82))) && (=== CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'82$this->source); })()), "main_content", [], "any"falsefalsefalse82)), 0)))) {
  353.             // line 83
  354.             yield "\t\t\t\t\t\t";
  355.             $context['_parent'] = $context;
  356.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'83$this->source); })()), "main_content", [], "any"falsefalsefalse83));
  357.             $context['loop'] = [
  358.               'parent' => $context['_parent'],
  359.               'index0' => 0,
  360.               'index'  => 1,
  361.               'first'  => true,
  362.             ];
  363.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  364.                 $length count($context['_seq']);
  365.                 $context['loop']['revindex0'] = $length 1;
  366.                 $context['loop']['revindex'] = $length;
  367.                 $context['loop']['length'] = $length;
  368.                 $context['loop']['last'] = === $length;
  369.             }
  370.             foreach ($context['_seq'] as $context["_key"] => $context["data"]) {
  371.                 // line 84
  372.                 yield "\t\t\t\t\t\t\t";
  373.                 if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["data"], "type", [], "any"falsefalsefalse84), "fiche_thematique_section"))) {
  374.                     // line 85
  375.                     yield "\t\t\t\t\t\t\t\t";
  376.                     yield from                     $this->loadTemplate("articles-blocks/articles-content.html.twig""pages/fiche-thematique.html.twig"85)->unwrap()->yield(CoreExtension::merge($context, ["h2_in_list" => true"main_h2_title" => CoreExtension::getAttribute($this->env$this->source$context["data"], "main_title", [], "any"falsefalsefalse85), "mobile_gray_theme" => "thematique-mobile-gray"]));
  377.                     // line 86
  378.                     yield "\t\t\t\t\t\t\t";
  379.                 }
  380.                 // line 87
  381.                 yield "\t\t\t\t\t\t";
  382.                 ++$context['loop']['index0'];
  383.                 ++$context['loop']['index'];
  384.                 $context['loop']['first'] = false;
  385.                 if (isset($context['loop']['length'])) {
  386.                     --$context['loop']['revindex0'];
  387.                     --$context['loop']['revindex'];
  388.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  389.                 }
  390.             }
  391.             $_parent $context['_parent'];
  392.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['data'], $context['_parent'], $context['loop']);
  393.             $context array_intersect_key($context$_parent) + $_parent;
  394.             // line 88
  395.             yield "\t\t\t\t\t";
  396.         }
  397.         // line 89
  398.         yield "\t\t\t\t</div>
  399. \t\t\t\t<section class=\"evenementsavenir fiche-thematique mt-20px mb-40px prelative\">
  400. \t\t\t\t\t<h2 class=\"fs30 lh36 fw400\">
  401. \t\t\t\t\t\t<a href=\"/actualites/agenda?theme=";
  402.         // line 93
  403.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["associated_category_id"]) || array_key_exists("associated_category_id"$context) ? $context["associated_category_id"] : (function () { throw new RuntimeError('Variable "associated_category_id" does not exist.'93$this->source); })()), "html"nulltrue);
  404.         yield "\" class=\"nodeco cblue\">Agenda</a>
  405. \t\t\t\t\t</h2>
  406. \t\t\t\t\t";
  407.         // line 95
  408.         yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Website\\ArticlesController::getIncomingEventsForThematiques", ["id" => (isset($context["associated_category_id"]) || array_key_exists("associated_category_id"$context) ? $context["associated_category_id"] : (function () { throw new RuntimeError('Variable "associated_category_id" does not exist.'95$this->source); })())]));
  409.         yield "
  410. \t\t\t\t</section>
  411. \t\t\t</div>
  412. \t\t\t<div class=\"dflex blocks fiche-thematique\">
  413. \t\t\t\t<div class=\"thematiques-links-cont\">
  414. \t\t\t\t\t";
  415.         // line 100
  416.         yield from         $this->loadTemplate("pages/aside-fiche-thematique.html.twig""pages/fiche-thematique.html.twig"100)->unwrap()->yield($context);
  417.         // line 101
  418.         yield "\t\t\t\t</div>
  419. \t\t\t\t<section class=\"evenementsavenir fiche-thematique mt-20px mb-40px prelative\">
  420. \t\t\t\t\t<h2 class=\"fs30 lh36 fw400\">
  421. \t\t\t\t\t\t<span>Nouvelles Ressources</span>
  422. \t\t\t\t\t</h2>
  423. \t\t\t\t\t";
  424.         // line 106
  425.         yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Website\\ArticlesController::getActualitesForThematiques", ["id" => (isset($context["associated_category_id"]) || array_key_exists("associated_category_id"$context) ? $context["associated_category_id"] : (function () { throw new RuntimeError('Variable "associated_category_id" does not exist.'106$this->source); })())]));
  426.         yield "
  427. \t\t\t\t</section>
  428. \t\t\t</div>
  429. \t\t\t";
  430.         // line 109
  431.         if (((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "main_content", [], "any"truetruefalse109) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'109$this->source); })()), "main_content", [], "any"falsefalsefalse109))) && (=== CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'109$this->source); })()), "main_content", [], "any"falsefalsefalse109)), 0)))) {
  432.             // line 110
  433.             yield "\t\t\t\t";
  434.             $context['_parent'] = $context;
  435.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'110$this->source); })()), "main_content", [], "any"falsefalsefalse110));
  436.             $context['loop'] = [
  437.               'parent' => $context['_parent'],
  438.               'index0' => 0,
  439.               'index'  => 1,
  440.               'first'  => true,
  441.             ];
  442.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  443.                 $length count($context['_seq']);
  444.                 $context['loop']['revindex0'] = $length 1;
  445.                 $context['loop']['revindex'] = $length;
  446.                 $context['loop']['length'] = $length;
  447.                 $context['loop']['last'] = === $length;
  448.             }
  449.             foreach ($context['_seq'] as $context["_key"] => $context["data"]) {
  450.                 // line 111
  451.                 yield "\t\t\t\t\t";
  452.                 if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["data"], "type", [], "any"falsefalsefalse111), "linked_with"))) {
  453.                     // line 112
  454.                     yield "\t\t\t\t\t\t";
  455.                     yield from                     $this->loadTemplate("articles-blocks/linked-with-thematique.html.twig""pages/fiche-thematique.html.twig"112)->unwrap()->yield($context);
  456.                     // line 113
  457.                     yield "\t\t\t\t\t";
  458.                 }
  459.                 // line 114
  460.                 yield "\t\t\t\t";
  461.                 ++$context['loop']['index0'];
  462.                 ++$context['loop']['index'];
  463.                 $context['loop']['first'] = false;
  464.                 if (isset($context['loop']['length'])) {
  465.                     --$context['loop']['revindex0'];
  466.                     --$context['loop']['revindex'];
  467.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  468.                 }
  469.             }
  470.             $_parent $context['_parent'];
  471.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['data'], $context['_parent'], $context['loop']);
  472.             $context array_intersect_key($context$_parent) + $_parent;
  473.             // line 115
  474.             yield "\t\t\t";
  475.         }
  476.         // line 116
  477.         yield "
  478. \t\t\t";
  479.         // line 117
  480.         yield from         $this->loadTemplate("blocks/aside/referents-pqna.html.twig""pages/fiche-thematique.html.twig"117)->unwrap()->yield(CoreExtension::merge($context, ["title" => CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'117$this->source); })()), "referents_title", [], "any"falsefalsefalse117)]));
  481.         // line 118
  482.         yield "\t\t</div>
  483. \t</div>
  484. ";
  485.         
  486.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  487.         
  488.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  489.         return; yield '';
  490.     }
  491.     // line 121
  492.     public function block_javascripts($context, array $blocks = [])
  493.     {
  494.         $macros $this->macros;
  495.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  496.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  497.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  498.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  499.         // line 122
  500.         yield "\t";
  501.         if ((=== CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'122$this->source); })()), "main_content", [], "any"falsefalsefalse122)), 0))) {
  502.             // line 123
  503.             yield "\t\t";
  504.             $context['_parent'] = $context;
  505.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["content"], "main_content", [], "any"falsefalsefalse123));
  506.             foreach ($context['_seq'] as $context["_key"] => $context["content"]) {
  507.                 // line 124
  508.                 yield "\t\t\t";
  509.                 if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["content"], "type", [], "any"falsefalsefalse124), "fiche_thematique_section"))) {
  510.                     // line 125
  511.                     yield "\t\t\t\t";
  512.                     if ((=== CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source$context["content"], "content", [], "any"falsefalsefalse125)), 0))) {
  513.                         // line 126
  514.                         yield "\t\t\t\t\t";
  515.                         $context['_parent'] = $context;
  516.                         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["content"], "content", [], "any"falsefalsefalse126));
  517.                         foreach ($context['_seq'] as $context["_key"] => $context["child_content"]) {
  518.                             // line 127
  519.                             yield "\t\t\t\t\t\t";
  520.                             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["child_content"], "type", [], "any"falsefalsefalse127), "media"))) {
  521.                                 // line 128
  522.                                 yield "\t\t\t\t\t\t\t";
  523.                                 if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["child_content"], "select", [], "any"falsefalsefalse128), "youtube_link"))) {
  524.                                     // line 129
  525.                                     yield "\t\t\t\t\t\t\t\t";
  526.                                     yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("lite-youtube");
  527.                                     yield "
  528. \t\t\t\t\t\t\t\t";
  529.                                     // line 130
  530.                                     yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("youtube_defer");
  531.                                     yield "
  532. \t\t\t\t\t\t\t";
  533.                                 }
  534.                                 // line 132
  535.                                 yield "\t\t\t\t\t\t";
  536.                             }
  537.                             // line 133
  538.                             yield "\t\t\t\t\t\t";
  539.                             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["child_content"], "type", [], "any"falsefalsefalse133), "photo_report"))) {
  540.                                 // line 134
  541.                                 yield "\t\t\t\t\t\t\t";
  542.                                 yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("splide");
  543.                                 yield "
  544. \t\t\t\t\t\t";
  545.                             }
  546.                             // line 136
  547.                             yield "\t\t\t\t\t";
  548.                         }
  549.                         $_parent $context['_parent'];
  550.                         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child_content'], $context['_parent'], $context['loop']);
  551.                         $context array_intersect_key($context$_parent) + $_parent;
  552.                         // line 137
  553.                         yield "\t\t\t\t";
  554.                     }
  555.                     // line 138
  556.                     yield "\t\t\t";
  557.                 }
  558.                 // line 139
  559.                 yield "\t\t";
  560.             }
  561.             $_parent $context['_parent'];
  562.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['content'], $context['_parent'], $context['loop']);
  563.             $context array_intersect_key($context$_parent) + $_parent;
  564.             // line 140
  565.             yield "\t";
  566.         }
  567.         // line 141
  568.         yield "\t";
  569.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("open_fiche_them_section");
  570.         yield "
  571. \t";
  572.         // line 142
  573.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("splide");
  574.         yield "
  575. \t";
  576.         // line 143
  577.         yield from $this->yieldParentBlock("javascripts"$context$blocks);
  578.         yield "
  579. ";
  580.         
  581.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  582.         
  583.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  584.         return; yield '';
  585.     }
  586.     /**
  587.      * @codeCoverageIgnore
  588.      */
  589.     public function getTemplateName()
  590.     {
  591.         return "pages/fiche-thematique.html.twig";
  592.     }
  593.     /**
  594.      * @codeCoverageIgnore
  595.      */
  596.     public function isTraitable()
  597.     {
  598.         return false;
  599.     }
  600.     /**
  601.      * @codeCoverageIgnore
  602.      */
  603.     public function getDebugInfo()
  604.     {
  605.         return array (  602 => 143,  598 => 142,  593 => 141,  590 => 140,  584 => 139,  581 => 138,  578 => 137,  572 => 136,  566 => 134,  563 => 133,  560 => 132,  555 => 130,  550 => 129,  547 => 128,  544 => 127,  539 => 126,  536 => 125,  533 => 124,  528 => 123,  525 => 122,  515 => 121,  502 => 118,  500 => 117,  497 => 116,  494 => 115,  480 => 114,  477 => 113,  474 => 112,  471 => 111,  453 => 110,  451 => 109,  445 => 106,  438 => 101,  436 => 100,  428 => 95,  423 => 93,  417 => 89,  414 => 88,  400 => 87,  397 => 86,  394 => 85,  391 => 84,  373 => 83,  371 => 82,  367 => 80,  361 => 78,  359 => 77,  355 => 75,  353 => 74,  348 => 71,  343 => 69,  340 => 68,  338 => 67,  335 => 66,  330 => 64,  327 => 63,  325 => 62,  320 => 59,  314 => 57,  312 => 56,  303 => 54,  300 => 53,  282 => 51,  280 => 50,  278 => 49,  270 => 48,  266 => 46,  263 => 45,  260 => 44,  257 => 43,  254 => 42,  251 => 41,  248 => 40,  245 => 39,  242 => 38,  239 => 37,  236 => 36,  233 => 35,  230 => 34,  220 => 33,  205 => 30,  202 => 29,  199 => 28,  185 => 27,  182 => 26,  179 => 25,  165 => 24,  162 => 23,  159 => 22,  156 => 21,  153 => 20,  150 => 19,  147 => 18,  144 => 17,  141 => 16,  123 => 15,  120 => 14,  117 => 13,  99 => 12,  96 => 11,  93 => 10,  90 => 9,  87 => 8,  84 => 7,  81 => 6,  78 => 5,  76 => 4,  71 => 3,  61 => 2,  38 => 1,);
  606.     }
  607.     public function getSourceContext()
  608.     {
  609.         return new Source("{% extends \"base.html.twig\" %}
  610. {% block style %}
  611. \t{{ parent() }}
  612. \t{% include \"css/une-page-thematique-critical-css.html.twig\" %}
  613. \t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'evenementavenir_css'} %}
  614. \t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'splide_css'} %}
  615. \t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'articles_css'} %}
  616. \t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'previews_css'} %}
  617. \t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'preview_thematique_css'} %}
  618. \t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'sns_icons_css'} %}
  619. \t{% if content.main_content|length > 0 %}
  620. \t\t{% for content in content.main_content %}
  621. \t\t\t{% if content.type == \"fiche_thematique_section\" %}
  622. \t\t\t\t{% if content.content|length > 0 %}
  623. \t\t\t\t\t{% for child_content in content.content %}
  624. \t\t\t\t\t\t{% if child_content.type == \"media\" %}
  625. \t\t\t\t\t\t\t{% if child_content.select == \"youtube_link\" %}
  626. \t\t\t\t\t\t\t\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'youtube_css'} %}
  627. \t\t\t\t\t\t\t{% endif %}
  628. \t\t\t\t\t\t{% endif %}
  629. \t\t\t\t\t\t{% if child_content.type == \"citation\" %}
  630. \t\t\t\t\t\t\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'citation_css'} %}
  631. \t\t\t\t\t\t{% endif %}
  632. \t\t\t\t\t{% endfor %}
  633. \t\t\t\t{% endif %}
  634. \t\t\t{% endif %}
  635. \t\t{% endfor %}
  636. \t{% endif %}
  637. \t{% if content.header_img is defined and content.header_img is not empty %}
  638. \t\t<link rel=\"preload\" fetchpriority=\"high\" as=\"image\" href=\"{{ content.header_img.formats['1000x.webp'] }}\" type=\"image/webp\">
  639. \t{% endif %}
  640. {% endblock %}
  641. {% block content %}
  642. \t{% if content.color is defined and content.color is not empty %}
  643. \t\t{% set background_color = content.color %}
  644. \t{% else %}
  645. \t\t{% set background_color = \"#354161\" %}
  646. \t{% endif %}
  647. \t{% if content.fil_ariane %}
  648. \t\t{% include \"blocks/breadcrumb-normal.html.twig\" %}
  649. \t{% endif %}
  650. \t{% set associated_category_id = null %}
  651. \t{% if content.associated_category is defined and content.associated_category is not empty %}
  652. \t\t{% set associated_category_id = content.associated_category.id %}
  653. \t{% endif %}
  654. \t<div class=\"main-container w100 plr-1em\">
  655. \t\t<div class=\"content fdc fiche-thematique\">
  656. \t\t\t<div class=\"{% if content.header_img is defined and content.header_img is not empty %}main-title{% else %}small-main-title{% endif %} dflex aic jcc prelative br8\">
  657. \t\t\t\t{% if content.header_img is defined and content.header_img is not empty %}
  658. \t\t\t\t\t{# pas de loading=lazy ici car c'est le LPC (largest painted content) qui apparaît dès l'arrivée sur le site #}
  659. \t\t\t\t\t<img src=\"{{ content.header_img.formats['1000x.webp'] }}\" srcset=\"{{ content.header_img.formats['300x.webp'] }} 300w, {{ content.header_img.formats['600x.webp'] }} 600w, {{ content.header_img.formats['1000x.webp'] }} 1000w\" sizes=\"1000px\" alt=\"{{ content.header_img | copyright_or_description_or_title }}\" width=\"{{ content.header_img.fileVersion.properties.width }}\" height=\"{{ content.header_img.fileVersion.properties.height }}\">
  660. \t\t\t\t{% endif %}
  661. \t\t\t\t<div class=\"zi1\">
  662. \t\t\t\t\t<h1 class=\"center{% if content.header_img is defined and content.header_img is not empty %} cwhite fiche-thematique-title{% endif %}\">{{ content.page_title }}</h1>
  663. \t\t\t\t</div>
  664. \t\t\t\t{% if content.header_img is defined and content.header_img is not empty %}
  665. \t\t\t\t\t<div class=\"background-color\" style=\"background: {{ background_color }}\"></div>
  666. \t\t\t\t{% endif %}
  667. \t\t\t</div>
  668. \t\t\t<div class=\"dflex jcsb lh28 fwwrap\">
  669. \t\t\t\t<div>
  670. \t\t\t\t\t{% if content.header_img is defined and content.header_img is not empty and content.header_img.credits is defined and content.header_img.credits is not empty  %}
  671. \t\t\t\t\t\t<div class=\"cgrey fs12 lh16 credit mt-8px\">&copy; Crédit Photo
  672. \t\t\t\t\t\t\t{{ content.header_img.credits }}</div>
  673. \t\t\t\t\t{% endif %}
  674. \t\t\t\t\t<div class=\"date cgrey\">
  675. \t\t\t\t\t\t{% if authored is defined and authored is not empty %}
  676. \t\t\t\t\t\t\tPublié le
  677. \t\t\t\t\t\t\t{{ authored|format_datetime('short', 'none') }}
  678. \t\t\t\t\t\t{% endif %}
  679. \t\t\t\t\t</div>
  680. \t\t\t\t</div>
  681. \t\t\t\t<div class=\"taright\">
  682. \t\t\t\t\t{% include \"articles-blocks/share-buttons.html.twig\" with {url: content.url} %}
  683. \t\t\t\t</div>
  684. \t\t\t</div>
  685. \t\t\t{% if content.chapo is defined and content.chapo is not empty %}
  686. \t\t\t\t<div class=\"mt-20px fw500 fs20 text cgrey lh24\">{{ content.chapo|raw }}</div>
  687. \t\t\t{% endif %}
  688. \t\t\t<div class=\"blocks w100 dflex fiche-thematique jcsb\">
  689. \t\t\t\t<div class=\"main-content mb-40px pr-1em w100\">
  690. \t\t\t\t\t{% if content.main_content is defined and content.main_content is not empty and content.main_content|length > 0 %}
  691. \t\t\t\t\t\t{% for data in content.main_content %}
  692. \t\t\t\t\t\t\t{% if data.type == \"fiche_thematique_section\" %}
  693. \t\t\t\t\t\t\t\t{% include \"articles-blocks/articles-content.html.twig\" with {h2_in_list : true, main_h2_title: data.main_title, mobile_gray_theme: \"thematique-mobile-gray\"} %}
  694. \t\t\t\t\t\t\t{% endif %}
  695. \t\t\t\t\t\t{% endfor %}
  696. \t\t\t\t\t{% endif %}
  697. \t\t\t\t</div>
  698. \t\t\t\t<section class=\"evenementsavenir fiche-thematique mt-20px mb-40px prelative\">
  699. \t\t\t\t\t<h2 class=\"fs30 lh36 fw400\">
  700. \t\t\t\t\t\t<a href=\"/actualites/agenda?theme={{ associated_category_id }}\" class=\"nodeco cblue\">Agenda</a>
  701. \t\t\t\t\t</h2>
  702. \t\t\t\t\t{{ render(controller('App\\\\Controller\\\\Website\\\\ArticlesController::getIncomingEventsForThematiques', {id: associated_category_id})) }}
  703. \t\t\t\t</section>
  704. \t\t\t</div>
  705. \t\t\t<div class=\"dflex blocks fiche-thematique\">
  706. \t\t\t\t<div class=\"thematiques-links-cont\">
  707. \t\t\t\t\t{% include \"pages/aside-fiche-thematique.html.twig\" %}
  708. \t\t\t\t</div>
  709. \t\t\t\t<section class=\"evenementsavenir fiche-thematique mt-20px mb-40px prelative\">
  710. \t\t\t\t\t<h2 class=\"fs30 lh36 fw400\">
  711. \t\t\t\t\t\t<span>Nouvelles Ressources</span>
  712. \t\t\t\t\t</h2>
  713. \t\t\t\t\t{{ render(controller('App\\\\Controller\\\\Website\\\\ArticlesController::getActualitesForThematiques', {id: associated_category_id})) }}
  714. \t\t\t\t</section>
  715. \t\t\t</div>
  716. \t\t\t{% if content.main_content is defined and content.main_content is not empty and content.main_content|length > 0 %}
  717. \t\t\t\t{% for data in content.main_content %}
  718. \t\t\t\t\t{% if data.type == \"linked_with\" %}
  719. \t\t\t\t\t\t{% include \"articles-blocks/linked-with-thematique.html.twig\" %}
  720. \t\t\t\t\t{% endif %}
  721. \t\t\t\t{% endfor %}
  722. \t\t\t{% endif %}
  723. \t\t\t{% include \"blocks/aside/referents-pqna.html.twig\" with {title: content.referents_title } %}
  724. \t\t</div>
  725. \t</div>
  726. {% endblock %}
  727. {% block javascripts %}
  728. \t{% if content.main_content|length > 0 %}
  729. \t\t{% for content in content.main_content %}
  730. \t\t\t{% if content.type == \"fiche_thematique_section\" %}
  731. \t\t\t\t{% if content.content|length > 0 %}
  732. \t\t\t\t\t{% for child_content in content.content %}
  733. \t\t\t\t\t\t{% if child_content.type == \"media\" %}
  734. \t\t\t\t\t\t\t{% if child_content.select == \"youtube_link\" %}
  735. \t\t\t\t\t\t\t\t{{ encore_entry_script_tags('lite-youtube') }}
  736. \t\t\t\t\t\t\t\t{{ encore_entry_script_tags('youtube_defer') }}
  737. \t\t\t\t\t\t\t{% endif %}
  738. \t\t\t\t\t\t{% endif %}
  739. \t\t\t\t\t\t{% if child_content.type == \"photo_report\" %}
  740. \t\t\t\t\t\t\t{{ encore_entry_script_tags('splide') }}
  741. \t\t\t\t\t\t{% endif %}
  742. \t\t\t\t\t{% endfor %}
  743. \t\t\t\t{% endif %}
  744. \t\t\t{% endif %}
  745. \t\t{% endfor %}
  746. \t{% endif %}
  747. \t{{ encore_entry_script_tags('open_fiche_them_section') }}
  748. \t{{ encore_entry_script_tags('splide') }}
  749. \t{{ parent() }}
  750. {% endblock %}
  751. ""pages/fiche-thematique.html.twig""/var/www/html/templates/pages/fiche-thematique.html.twig");
  752.     }
  753. }