var/cache/dev/twig/dc/dc2cfa3f9b9174daf1393c837b6d2ec26c64555444c3594668c8874483884691.php line 488

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. /* annuaire/liste.html.twig */
  14. class __TwigTemplate_611c959658fa6200314047b75bc1ba02d9939ddf1b08fe26ad5e92f14df5f569 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.             'title' => [$this'block_title'],
  24.             'description' => [$this'block_description'],
  25.             'body' => [$this'block_body'],
  26.             'h1' => [$this'block_h1'],
  27.             'javascripts' => [$this'block_javascripts'],
  28.             'data_layer' => [$this'block_data_layer'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 1
  34.         return "base.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""annuaire/liste.html.twig"));
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""annuaire/liste.html.twig"));
  43.         // line 3
  44.         $context["niveau"] = "";
  45.         // line 4
  46.         if (((=== twig_compare("diplome", (isset($context["sousTypeOnglet"]) || array_key_exists("sousTypeOnglet"$context) ? $context["sousTypeOnglet"] : (function () { throw new RuntimeError('Variable "sousTypeOnglet" does not exist.'4$this->source); })()))) &&  !(null === (isset($context["diplomeLibelle"]) || array_key_exists("diplomeLibelle"$context) ? $context["diplomeLibelle"] : (function () { throw new RuntimeError('Variable "diplomeLibelle" does not exist.'4$this->source); })())))) {
  47.             // line 5
  48.             $context["niveau"] = twig_get_attribute($this->env$this->source, (isset($context["diplomeLibelle"]) || array_key_exists("diplomeLibelle"$context) ? $context["diplomeLibelle"] : (function () { throw new RuntimeError('Variable "diplomeLibelle" does not exist.'5$this->source); })()), "libelle", [], "any"falsefalsefalse5);
  49.         }
  50.         // line 48
  51.         $context["checkedNiveau"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'48$this->source); })()), "request", [], "any"falsefalsefalse48), "query", [], "any"falsefalsefalse48), "get", [=> "niveau"], "method"falsefalsefalse48);
  52.         // line 49
  53.         $context["checkedAge"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'49$this->source); })()), "request", [], "any"falsefalsefalse49), "query", [], "any"falsefalsefalse49), "get", [=> "age"], "method"falsefalsefalse49);
  54.         // line 50
  55.         $context["checkedAutre"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'50$this->source); })()), "request", [], "any"falsefalsefalse50), "query", [], "any"falsefalsefalse50), "get", [=> "autre"], "method"falsefalsefalse50);
  56.         // line 51
  57.         $context["checkedStatut"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'51$this->source); })()), "request", [], "any"falsefalsefalse51), "query", [], "any"falsefalsefalse51), "get", [=> "statut"], "method"falsefalsefalse51);
  58.         // line 52
  59.         $context["checkedAlternance"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'52$this->source); })()), "request", [], "any"falsefalsefalse52), "query", [], "any"falsefalsefalse52), "get", [=> "alternance"], "method"falsefalsefalse52);
  60.         // line 53
  61.         $context["checkedFilieres"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'53$this->source); })()), "request", [], "any"falsefalsefalse53), "query", [], "any"falsefalsefalse53), "get", [=> "filiere"], "method"falsefalsefalse53);
  62.         // line 54
  63.         $context["checkedDiplomes"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'54$this->source); })()), "request", [], "any"falsefalsefalse54), "query", [], "any"falsefalsefalse54), "get", [=> "diplome"], "method"falsefalsefalse54);
  64.         // line 55
  65.         $context["checkedLVA"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'55$this->source); })()), "request", [], "any"falsefalsefalse55), "query", [], "any"falsefalsefalse55), "get", [=> "lva"], "method"falsefalsefalse55);
  66.         // line 56
  67.         $context["checkedLVB"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'56$this->source); })()), "request", [], "any"falsefalsefalse56), "query", [], "any"falsefalsefalse56), "get", [=> "lvb"], "method"falsefalsefalse56);
  68.         // line 57
  69.         $context["checkedEds"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'57$this->source); })()), "request", [], "any"falsefalsefalse57), "query", [], "any"falsefalsefalse57), "get", [=> "eds"], "method"falsefalsefalse57);
  70.         // line 1
  71.         $this->parent $this->loadTemplate("base.html.twig""annuaire/liste.html.twig"1);
  72.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  73.         
  74.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  75.         
  76.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  77.     }
  78.     // line 8
  79.     public function block_title($context, array $blocks = [])
  80.     {
  81.         $macros $this->macros;
  82.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  83.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  84.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  85.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  86.         // line 9
  87.         if (        $this->hasBlock("h1"$context$blocks)) {
  88.             // line 10
  89.             $this->displayBlock("h1"$context$blocks);
  90.             echo " - ";
  91.             echo twig_escape_filter($this->envtwig_number_format_filter($this->env, (isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'10$this->source); })()), 0" "" "), "html"nulltrue);
  92.             echo "
  93.              etablissement";
  94.             // line 11
  95.             if ((=== twig_compare((isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'11$this->source); })()), 1))) {
  96.                 echo "s";
  97.             }
  98.         } elseif (        // line 12
  99. (isset($context["seoTitre"]) || array_key_exists("seoTitre"$context) ? $context["seoTitre"] : (function () { throw new RuntimeError('Variable "seoTitre" does not exist.'12$this->source); })())) {
  100.             // line 13
  101.             echo twig_escape_filter($this->envtwig_striptags(twig_replace_filter((isset($context["seoTitre"]) || array_key_exists("seoTitre"$context) ? $context["seoTitre"] : (function () { throw new RuntimeError('Variable "seoTitre" does not exist.'13$this->source); })()), ["[region]" => twig_get_attribute($this->env$this->source, (isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'13$this->source); })()), "libelle", [], "any"falsefalsefalse13), "[dept]" => $this->extensions['App\Twig\LieuExtension']->lieuLibelle((isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'13$this->source); })())), "[ville]" => $this->extensions['App\Twig\LieuExtension']->lieuLibelle((isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'13$this->source); })()))])), "html"nulltrue);
  102.             echo "
  103.             - ";
  104.             // line 14
  105.             echo twig_escape_filter($this->envtwig_number_format_filter($this->env, (isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'14$this->source); })()), 0" "" "), "html"nulltrue);
  106.             echo "
  107.              etablissement";
  108.             // line 15
  109.             if ((=== twig_compare((isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'15$this->source); })()), 1))) {
  110.                 echo "s";
  111.             }
  112.         } else {
  113.             // line 17
  114.             if (((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'17$this->source); })()), "request", [], "any"falsefalsefalse17), "attributes", [], "any"falsefalsefalse17), "get", [=> "_route"], "method"falsefalsefalse17), "annuaire_liste")) || (=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'17$this->source); })()), "request", [], "any"falsefalsefalse17), "attributes", [], "any"falsefalsefalse17), "get", [=> "_route"], "method"falsefalsefalse17), "annuaire_quoi")))) {
  115.                 echo " ";
  116.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["quoi"]) || array_key_exists("quoi"$context) ? $context["quoi"] : (function () { throw new RuntimeError('Variable "quoi" does not exist.'17$this->source); })()), "libelle", [], "any"falsefalsefalse17), "html"nulltrue);
  117.             } elseif ((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 18
  118. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'18$this->source); })()), "request", [], "any"falsefalsefalse18), "attributes", [], "any"falsefalsefalse18), "get", [=> "_route"], "method"falsefalsefalse18), "annuaire_prive"))) {
  119.                 echo "Enseignement privé";
  120.             } elseif ((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 19
  121. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'19$this->source); })()), "request", [], "any"falsefalsefalse19), "attributes", [], "any"falsefalsefalse19), "get", [=> "_route"], "method"falsefalsefalse19), "annuaire_catho"))) {
  122.                 echo "Enseignement catholique";
  123.             } else {
  124.                 // line 20
  125.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\TypeEtablissementLibelleExtension']->typeEtablissementLibelle(twig_replace_filter(twig_get_attribute($this->env$this->source, (isset($context["quoi"]) || array_key_exists("quoi"$context) ? $context["quoi"] : (function () { throw new RuntimeError('Variable "quoi" does not exist.'20$this->source); })()), "libelle", [], "any"falsefalsefalse20), ["---" => ""])), "html"nulltrue);
  126.             }
  127.             // line 22
  128.             if ((!== twig_compare($this->extensions['App\Twig\LieuExtension']->lieuLibelle((isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'22$this->source); })())), "DEFAULT"))) {
  129.                 echo " à ";
  130.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\LieuExtension']->lieuLibelle((isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'22$this->source); })())), "html"nulltrue);
  131.             } elseif (            // line 23
  132. (isset($context["niveau"]) || array_key_exists("niveau"$context) ? $context["niveau"] : (function () { throw new RuntimeError('Variable "niveau" does not exist.'23$this->source); })())) {
  133.                 echo "- ";
  134.                 echo twig_escape_filter($this->env, (isset($context["niveau"]) || array_key_exists("niveau"$context) ? $context["niveau"] : (function () { throw new RuntimeError('Variable "niveau" does not exist.'23$this->source); })()), "html"nulltrue);
  135.             } elseif ((!== twig_compare(            // line 24
  136. (isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet"$context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.'24$this->source); })()), "tout"))) {
  137.                 echo " - ";
  138.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\NiveauLibelleExtension']->niveauLibelle((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet"$context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.'24$this->source); })())), "html"nulltrue);
  139.             }
  140.         }
  141.         // line 27
  142.         if ((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["etablissements"]) || array_key_exists("etablissements"$context) ? $context["etablissements"] : (function () { throw new RuntimeError('Variable "etablissements" does not exist.'27$this->source); })()), "currentPageNumber", [], "any"falsefalsefalse27), 1))) {
  143.             echo " - Page ";
  144.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["etablissements"]) || array_key_exists("etablissements"$context) ? $context["etablissements"] : (function () { throw new RuntimeError('Variable "etablissements" does not exist.'27$this->source); })()), "currentPageNumber", [], "any"falsefalsefalse27), "html"nulltrue);
  145.         }
  146.         
  147.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  148.         
  149.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  150.     }
  151.     // line 31
  152.     public function block_description($context, array $blocks = [])
  153.     {
  154.         $macros $this->macros;
  155.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  156.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  157.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  158.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  159.         // line 32
  160.         ob_start();
  161.         // line 33
  162.         echo "    ";
  163.         if ((isset($context["seoTextePart1"]) || array_key_exists("seoTextePart1"$context) ? $context["seoTextePart1"] : (function () { throw new RuntimeError('Variable "seoTextePart1" does not exist.'33$this->source); })())) {
  164.             // line 34
  165.             echo "        ";
  166.             echo twig_get_attribute($this->env$this->source$this->extensions['Twig\Extra\String\StringExtension']->createUnicodeString((isset($context["metadesc"]) || array_key_exists("metadesc"$context) ? $context["metadesc"] : (function () { throw new RuntimeError('Variable "metadesc" does not exist.'34$this->source); })())), "truncate", [=> 160=> "..."=> false], "method"falsefalsefalse34);
  167.             // line 35
  168.             echo "    ";
  169.         } else {
  170.             // line 36
  171.             echo "        ";
  172.             ob_start();
  173.             // line 37
  174.             echo "        ";
  175.             $this->loadTemplate([=> (("annuaire/text-desc/metadesc-" .             // line 38
  176. (isset($context["typeOnglet"]) || array_key_exists("typeOnglet"$context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.'38$this->source); })())) . ".html.twig"), => "annuaire/text-desc/metadesc-default.html.twig"], "annuaire/liste.html.twig"37)->display(twig_array_merge($context, ["lieu" => $this->extensions['App\Twig\LieuExtension']->lieuLibelle(            // line 41
  177. (isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'41$this->source); })()))]));
  178.             // line 42
  179.             echo "        ";
  180.             $context["descriptionContent"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  181.             // line 43
  182.             echo "        ";
  183.             echo twig_get_attribute($this->env$this->source$this->extensions['Twig\Extra\String\StringExtension']->createUnicodeString((isset($context["descriptionContent"]) || array_key_exists("descriptionContent"$context) ? $context["descriptionContent"] : (function () { throw new RuntimeError('Variable "descriptionContent" does not exist.'43$this->source); })())), "truncate", [=> 160=> "..."=> false], "method"falsefalsefalse43);
  184.             // line 44
  185.             echo "    ";
  186.         }
  187.         $___internal_parse_6_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  188.         // line 32
  189.         echo twig_spaceless($___internal_parse_6_);
  190.         // line 45
  191.         echo "    
  192. ";
  193.         
  194.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  195.         
  196.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  197.     }
  198.     // line 59
  199.     public function block_body($context, array $blocks = [])
  200.     {
  201.         $macros $this->macros;
  202.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  203.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  204.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  205.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  206.         // line 60
  207.         echo "    <section class=\"container page-list ";
  208.         echo twig_escape_filter($this->env, (isset($context["typeOnglet"]) || array_key_exists("typeOnglet"$context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.'60$this->source); })()), "html"nulltrue);
  209.         echo "\">
  210.         <div id=\"breadcrumb\">
  211.             ";
  212.         // line 63
  213.         $this->loadTemplate("annuaire/_includes/breadcrumb.html.twig""annuaire/liste.html.twig"63)->display(twig_to_array(["quoi" =>         // line 64
  214. (isset($context["quoi"]) || array_key_exists("quoi"$context) ? $context["quoi"] : (function () { throw new RuntimeError('Variable "quoi" does not exist.'64$this->source); })()), "lieu" =>         // line 65
  215. (isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'65$this->source); })()), "typeOnglet" =>         // line 66
  216. (isset($context["typeOnglet"]) || array_key_exists("typeOnglet"$context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.'66$this->source); })()), "niveauOnglet" =>         // line 67
  217. (isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet"$context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.'67$this->source); })()), "niveau" =>         // line 68
  218. (isset($context["niveau"]) || array_key_exists("niveau"$context) ? $context["niveau"] : (function () { throw new RuntimeError('Variable "niveau" does not exist.'68$this->source); })()), "currentURL" =>         // line 69
  219. (isset($context["currentURL"]) || array_key_exists("currentURL"$context) ? $context["currentURL"] : (function () { throw new RuntimeError('Variable "currentURL" does not exist.'69$this->source); })()), "diplomeLibelle" =>         // line 70
  220. (isset($context["diplomeLibelle"]) || array_key_exists("diplomeLibelle"$context) ? $context["diplomeLibelle"] : (function () { throw new RuntimeError('Variable "diplomeLibelle" does not exist.'70$this->source); })()), "count" =>         // line 71
  221. (isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'71$this->source); })())]));
  222.         // line 74
  223.         echo "        </div>
  224.         <ul class=\"page-topnav search-infos\">
  225.             <li class=\"title-search mb-4\">
  226. ";
  227.         // line 85
  228.         echo "                <h1>";
  229.         $this->displayBlock('h1'$context$blocks);
  230.         // line 222
  231.         echo "</h1>
  232.                 <div class=\"triangle\"></div>
  233.             </li>
  234.             ";
  235.         // line 230
  236.         echo "        </ul>
  237.         
  238.         <div class=\"wrap\">
  239.             ";
  240.         // line 234
  241.         echo "            
  242.             <section>
  243.                 ";
  244.         // line 236
  245.         if (((isset($context["pageOne"]) || array_key_exists("pageOne"$context) ? $context["pageOne"] : (function () { throw new RuntimeError('Variable "pageOne" does not exist.'236$this->source); })()) && (=== twig_compare((isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'236$this->source); })()), 15)))) {
  246.             // line 237
  247.             echo "                <div class=\"list-description\">
  248.                 <!-- #DEBUG#SEO#[ ";
  249.             // line 238
  250.             echo twig_escape_filter($this->env, (isset($context["formation"]) || array_key_exists("formation"$context) ? $context["formation"] : (function () { throw new RuntimeError('Variable "formation" does not exist.'238$this->source); })()), "html"nulltrue);
  251.             echo " ]# -->
  252.                     <div class=\"content\">
  253.                         ";
  254.             // line 242
  255.             echo "                        ";
  256.             // line 243
  257.             echo "                        ";
  258.             if (twig_in_filter((isset($context["typeOnglet"]) || array_key_exists("typeOnglet"$context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.'243$this->source); })()), [=> "ecole"=> "college"=> "lycee"=> "professionnel"=> "superieur"=> "internat"])) {
  259.                 // line 244
  260.                 echo "                            ";
  261.                 $this->loadTemplate((("annuaire/_includes/aide-au-choix-diplomes_" . (isset($context["typeOnglet"]) || array_key_exists("typeOnglet"$context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.'244$this->source); })())) . ".html.twig"), "annuaire/liste.html.twig"244)->display(twig_array_merge($context, ["position" => "header"]));
  262.                 // line 245
  263.                 echo "                        ";
  264.             }
  265.             // line 246
  266.             echo "                    </div>
  267.                 </div>
  268.                 ";
  269.         }
  270.         // line 250
  271.         echo "
  272.                 ";
  273.         // line 252
  274.         echo "                ";
  275.         $this->loadTemplate("annuaire/_includes/search-options.html.twig""annuaire/liste.html.twig"252)->display($context);
  276.         // line 253
  277.         echo "                ";
  278.         // line 254
  279.         echo "
  280.                 ";
  281.         // line 257
  282.         echo "                ";
  283.         // line 258
  284.         echo "
  285.                 <div class=\"clearfix establishments-list\">
  286.                     ";
  287.         // line 260
  288.         if ( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'260$this->source); })()), "request", [], "any"falsefalsefalse260), "query", [], "any"falsefalsefalse260))) {
  289.             // line 261
  290.             echo "                        <p class=\"options\">
  291.                             <span class=\"search\">Ma recherche :</span>
  292.                             ";
  293.             // line 263
  294.             $context['_parent'] = $context;
  295.             $context['_seq'] = twig_ensure_traversable((isset($context["checkedNiveau"]) || array_key_exists("checkedNiveau"$context) ? $context["checkedNiveau"] : (function () { throw new RuntimeError('Variable "checkedNiveau" does not exist.'263$this->source); })()));
  296.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  297.                 // line 264
  298.                 echo "                                <span class=\"option-title\">";
  299.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ItemsInsertionExtension']->itemIdLibelle($context["item"]), "html"nulltrue);
  300.                 echo "</span>
  301.                             ";
  302.             }
  303.             $_parent $context['_parent'];
  304.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  305.             $context array_intersect_key($context$_parent) + $_parent;
  306.             // line 266
  307.             echo "                            ";
  308.             $context['_parent'] = $context;
  309.             $context['_seq'] = twig_ensure_traversable((isset($context["checkedAge"]) || array_key_exists("checkedAge"$context) ? $context["checkedAge"] : (function () { throw new RuntimeError('Variable "checkedAge" does not exist.'266$this->source); })()));
  310.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  311.                 // line 267
  312.                 echo "                                <span class=\"option-title\">";
  313.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ItemsInsertionExtension']->itemIdLibelle($context["item"]), "html"nulltrue);
  314.                 echo "</span>
  315.                             ";
  316.             }
  317.             $_parent $context['_parent'];
  318.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  319.             $context array_intersect_key($context$_parent) + $_parent;
  320.             // line 269
  321.             echo "                            ";
  322.             $context['_parent'] = $context;
  323.             $context['_seq'] = twig_ensure_traversable((isset($context["checkedAutre"]) || array_key_exists("checkedAutre"$context) ? $context["checkedAutre"] : (function () { throw new RuntimeError('Variable "checkedAutre" does not exist.'269$this->source); })()));
  324.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  325.                 // line 270
  326.                 echo "                                <span data-id=\"";
  327.                 echo twig_escape_filter($this->env$context["item"], "html"nulltrue);
  328.                 echo "\" class=\"option-title\">";
  329.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ItemsInsertionExtension']->itemIdLibelle($context["item"]), "html"nulltrue);
  330.                 echo "</span>
  331.                             ";
  332.             }
  333.             $_parent $context['_parent'];
  334.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  335.             $context array_intersect_key($context$_parent) + $_parent;
  336.             // line 272
  337.             echo "                            ";
  338.             $context['_parent'] = $context;
  339.             $context['_seq'] = twig_ensure_traversable((isset($context["checkedStatut"]) || array_key_exists("checkedStatut"$context) ? $context["checkedStatut"] : (function () { throw new RuntimeError('Variable "checkedStatut" does not exist.'272$this->source); })()));
  340.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  341.                 // line 273
  342.                 echo "                                <span data-id=\"";
  343.                 echo twig_escape_filter($this->env$context["item"], "html"nulltrue);
  344.                 echo "\" class=\"option-title\">";
  345.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ItemsInsertionExtension']->itemIdLibelle($context["item"]), "html"nulltrue);
  346.                 echo "</span>
  347.                             ";
  348.             }
  349.             $_parent $context['_parent'];
  350.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  351.             $context array_intersect_key($context$_parent) + $_parent;
  352.             // line 275
  353.             echo "                            ";
  354.             $context['_parent'] = $context;
  355.             $context['_seq'] = twig_ensure_traversable((isset($context["checkedAlternance"]) || array_key_exists("checkedAlternance"$context) ? $context["checkedAlternance"] : (function () { throw new RuntimeError('Variable "checkedAlternance" does not exist.'275$this->source); })()));
  356.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  357.                 // line 276
  358.                 echo "                                <span data-id=\"";
  359.                 echo twig_escape_filter($this->env$context["item"], "html"nulltrue);
  360.                 echo "\" class=\"option-title\">";
  361.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ItemsInsertionExtension']->itemIdLibelle($context["item"]), "html"nulltrue);
  362.                 echo "</span>
  363.                             ";
  364.             }
  365.             $_parent $context['_parent'];
  366.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  367.             $context array_intersect_key($context$_parent) + $_parent;
  368.             // line 278
  369.             echo "                            ";
  370.             $context['_parent'] = $context;
  371.             $context['_seq'] = twig_ensure_traversable((isset($context["checkedFilieres"]) || array_key_exists("checkedFilieres"$context) ? $context["checkedFilieres"] : (function () { throw new RuntimeError('Variable "checkedFilieres" does not exist.'278$this->source); })()));
  372.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  373.                 // line 279
  374.                 echo "                                <span data-id=\"";
  375.                 echo twig_escape_filter($this->env$context["item"], "html"nulltrue);
  376.                 echo "\" class=\"option-title\">";
  377.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ItemsInsertionExtension']->itemIdLibelle($context["item"]), "html"nulltrue);
  378.                 echo "</span>
  379.                             ";
  380.             }
  381.             $_parent $context['_parent'];
  382.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  383.             $context array_intersect_key($context$_parent) + $_parent;
  384.             // line 281
  385.             echo "                            ";
  386.             $context['_parent'] = $context;
  387.             $context['_seq'] = twig_ensure_traversable((isset($context["checkedLVA"]) || array_key_exists("checkedLVA"$context) ? $context["checkedLVA"] : (function () { throw new RuntimeError('Variable "checkedLVA" does not exist.'281$this->source); })()));
  388.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  389.                 // line 282
  390.                 echo "                                <span data-id=\"";
  391.                 echo twig_escape_filter($this->env$context["item"], "html"nulltrue);
  392.                 echo "\" class=\"option-title lva\">";
  393.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ItemsInsertionExtension']->itemIdLibelle($context["item"]), "html"nulltrue);
  394.                 echo "</span>
  395.                             ";
  396.             }
  397.             $_parent $context['_parent'];
  398.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  399.             $context array_intersect_key($context$_parent) + $_parent;
  400.             // line 284
  401.             echo "                            ";
  402.             $context['_parent'] = $context;
  403.             $context['_seq'] = twig_ensure_traversable((isset($context["checkedLVB"]) || array_key_exists("checkedLVB"$context) ? $context["checkedLVB"] : (function () { throw new RuntimeError('Variable "checkedLVB" does not exist.'284$this->source); })()));
  404.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  405.                 // line 285
  406.                 echo "                                <span data-id=\"";
  407.                 echo twig_escape_filter($this->env$context["item"], "html"nulltrue);
  408.                 echo "\" class=\"option-title lvb\">";
  409.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ItemsInsertionExtension']->itemIdLibelle($context["item"]), "html"nulltrue);
  410.                 echo "</span>
  411.                             ";
  412.             }
  413.             $_parent $context['_parent'];
  414.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  415.             $context array_intersect_key($context$_parent) + $_parent;
  416.             // line 287
  417.             echo "                            ";
  418.             $context['_parent'] = $context;
  419.             $context['_seq'] = twig_ensure_traversable((isset($context["checkedEds"]) || array_key_exists("checkedEds"$context) ? $context["checkedEds"] : (function () { throw new RuntimeError('Variable "checkedEds" does not exist.'287$this->source); })()));
  420.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  421.                 // line 288
  422.                 echo "                                <span data-id=\"";
  423.                 echo twig_escape_filter($this->env$context["item"], "html"nulltrue);
  424.                 echo "\" class=\"option-title\">";
  425.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ItemsInsertionExtension']->itemIdLibelle($context["item"]), "html"nulltrue);
  426.                 echo "</span>
  427.                             ";
  428.             }
  429.             $_parent $context['_parent'];
  430.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  431.             $context array_intersect_key($context$_parent) + $_parent;
  432.             // line 290
  433.             echo "
  434.                             ";
  435.             // line 291
  436.             $context["diplome"] = "";
  437.             // line 292
  438.             echo "                            ";
  439.             $context['_parent'] = $context;
  440.             $context['_seq'] = twig_ensure_traversable((isset($context["checkedDiplomes"]) || array_key_exists("checkedDiplomes"$context) ? $context["checkedDiplomes"] : (function () { throw new RuntimeError('Variable "checkedDiplomes" does not exist.'292$this->source); })()));
  441.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  442.                 // line 293
  443.                 echo "                                ";
  444.                 if (twig_in_filter("--"$context["item"])) {
  445.                     // line 294
  446.                     echo "                                    ";
  447.                     $context["diplome"] = twig_upper_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_split_filter($this->env$context["item"], "--"), 1, [], "array"falsefalsefalse294));
  448.                     // line 295
  449.                     echo "                                    <span data-id=\"";
  450.                     echo twig_escape_filter($this->env$context["item"], "html"nulltrue);
  451.                     echo "\" class=\"option-title\">";
  452.                     echo twig_escape_filter($this->env, (isset($context["diplome"]) || array_key_exists("diplome"$context) ? $context["diplome"] : (function () { throw new RuntimeError('Variable "diplome" does not exist.'295$this->source); })()), "html"nulltrue);
  453.                     echo "</span>
  454.                                 ";
  455.                 } else {
  456.                     // line 297
  457.                     echo "                                    <span data-id=\"";
  458.                     echo twig_escape_filter($this->env$context["item"], "html"nulltrue);
  459.                     echo "\" class=\"option-title\">";
  460.                     echo twig_escape_filter($this->env$this->extensions['App\Twig\ItemsInsertionExtension']->itemIdLibelle($context["item"]), "html"nulltrue);
  461.                     echo "</span>
  462.                                 ";
  463.                 }
  464.                 // line 299
  465.                 echo "                            ";
  466.             }
  467.             $_parent $context['_parent'];
  468.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  469.             $context array_intersect_key($context$_parent) + $_parent;
  470.             // line 300
  471.             echo "                        </p>
  472.                     ";
  473.         }
  474.         // line 302
  475.         echo "
  476.                     ";
  477.         // line 304
  478.         echo "                    ";
  479.         $this->loadTemplate("annuaire/_includes/liste-item-list.html.twig""annuaire/liste.html.twig"304)->display($context);
  480.         // line 305
  481.         echo "
  482.                 </div>
  483.                 ";
  484.         // line 309
  485.         echo "
  486.             </section>
  487.             ";
  488.         // line 312
  489.         echo "
  490.             <aside>
  491.                 ";
  492.         // line 314
  493.         $this->loadTemplate("_includes/banners-list.html.twig""annuaire/liste.html.twig"314)->display(twig_to_array(["emplacement" => (($this->extensions['App\Twig\BanniereExtension']->onglet2emplacement(twig_get_attribute($this->env$this->source,         // line 315
  494. (isset($context["quoi"]) || array_key_exists("quoi"$context) ? $context["quoi"] : (function () { throw new RuntimeError('Variable "quoi" does not exist.'315$this->source); })()), "libelle", [], "any"falsefalsefalse315))) ? ($this->extensions['App\Twig\BanniereExtension']->onglet2emplacement(twig_get_attribute($this->env$this->source, (isset($context["quoi"]) || array_key_exists("quoi"$context) ? $context["quoi"] : (function () { throw new RuntimeError('Variable "quoi" does not exist.'315$this->source); })()), "libelle", [], "any"falsefalsefalse315))) : ($this->extensions['App\Twig\BanniereExtension']->fromEtablissements((isset($context["etablissements"]) || array_key_exists("etablissements"$context) ? $context["etablissements"] : (function () { throw new RuntimeError('Variable "etablissements" does not exist.'315$this->source); })())))), "lieu" => twig_get_attribute($this->env$this->source,         // line 316
  495. (isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'316$this->source); })()), "slug", [], "any"falsefalsefalse316)]));
  496.         // line 318
  497.         echo "
  498.                 <div class=\"d-none\">
  499.                     ";
  500.         // line 320
  501.         $this->loadTemplate("annuaire/_includes/search-options.html.twig""annuaire/liste.html.twig"320)->display($context);
  502.         // line 321
  503.         echo "                </div>
  504.                 <div class=\"last-flex\">
  505.                     <ul class=\"banners\">
  506.                         <li class=\"long banniere-container\"
  507.                             data-type=\"";
  508.         // line 327
  509.         echo twig_escape_filter($this->envtwig_constant("App\\Entity\\Banniere::MEGA_BANNIERE"), "html"nulltrue);
  510.         echo "\"
  511.                             data-emplacement=\"";
  512.         // line 328
  513.         echo twig_escape_filter($this->env, ((array_key_exists("emplacement"$context)) ? (_twig_default_filter((isset($context["emplacement"]) || array_key_exists("emplacement"$context) ? $context["emplacement"] : (function () { throw new RuntimeError('Variable "emplacement" does not exist.'328$this->source); })()), "")) : ("")), "html"nulltrue);
  514.         echo "\"
  515.                             data-lieu=\"\" data-single=\"0\"></li>
  516.                     </ul>
  517.                     ";
  518.         // line 332
  519.         if ((isset($context["internats"]) || array_key_exists("internats"$context) ? $context["internats"] : (function () { throw new RuntimeError('Variable "internats" does not exist.'332$this->source); })())) {
  520.             // line 333
  521.             echo "                        ";
  522.             $this->loadTemplate("annuaire/_includes/internats.html.twig""annuaire/liste.html.twig"333)->display($context);
  523.             // line 334
  524.             echo "                    ";
  525.         }
  526.         // line 335
  527.         echo "                    ";
  528.         $this->loadTemplate("annuaire/_includes/lien-guide.html.twig""annuaire/liste.html.twig"335)->display($context);
  529.         // line 336
  530.         echo "                    ";
  531.         $this->loadTemplate("_includes/newsletter.html.twig""annuaire/liste.html.twig"336)->display($context);
  532.         // line 337
  533.         echo "                    ";
  534.         $this->loadTemplate("_includes/last-search.html.twig""annuaire/liste.html.twig"337)->display($context);
  535.         // line 338
  536.         echo "                    ";
  537.         $this->loadTemplate("_includes/last-establishment.html.twig""annuaire/liste.html.twig"338)->display($context);
  538.         // line 339
  539.         echo "                </div>
  540.             </aside>
  541.         </div>
  542.     </section>
  543. ";
  544.         
  545.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  546.         
  547.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  548.     }
  549.     // line 85
  550.     public function block_h1($context, array $blocks = [])
  551.     {
  552.         $macros $this->macros;
  553.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  554.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""h1"));
  555.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  556.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""h1"));
  557.         // line 86
  558.         ob_start();
  559.         // line 87
  560.         if (((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'87$this->source); })()), "request", [], "any"falsefalsefalse87), "attributes", [], "any"falsefalsefalse87), "get", [=> "_route"], "method"falsefalsefalse87), "annuaire_liste")) || (=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'87$this->source); })()), "request", [], "any"falsefalsefalse87), "attributes", [], "any"falsefalsefalse87), "get", [=> "_route"], "method"falsefalsefalse87), "annuaire_quoi")))) {
  561.         } elseif ((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 88
  562. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'88$this->source); })()), "request", [], "any"falsefalsefalse88), "attributes", [], "any"falsefalsefalse88), "get", [=> "_route"], "method"falsefalsefalse88), "annuaire_prive"))) {
  563.             // line 89
  564.             echo "Enseignement privé";
  565.         } elseif ((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 90
  566. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'90$this->source); })()), "request", [], "any"falsefalsefalse90), "attributes", [], "any"falsefalsefalse90), "get", [=> "_route"], "method"falsefalsefalse90), "annuaire_catho"))) {
  567.             // line 91
  568.             echo "Enseignement catholique";
  569.         } elseif (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 92
  570. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'92$this->source); })()), "request", [], "any"falsefalsefalse92), "attributes", [], "any"falsefalsefalse92), "get", [=> "typeOnglet"], "method"falsefalsefalse92) && !twig_in_filter((isset($context["typeOnglet"]) || array_key_exists("typeOnglet"$context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.'92$this->source); })()), [=> "annuaire-enseignement-prive"=> "annuaire-enseignement-catholique"])) && (=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'92$this->source); })()), "request", [], "any"falsefalsefalse92), "attributes", [], "any"falsefalsefalse92), "get", [=> "niveauOnglet"], "method"falsefalsefalse92), "tout")))) {
  571.             // line 93
  572.             echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoTwigExtension']->seoRuleOnglet((isset($context["typeOnglet"]) || array_key_exists("typeOnglet"$context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.'93$this->source); })())), "html"nulltrue);
  573.             echo "
  574.                     ";
  575.         } elseif (((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 95
  576. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'95$this->source); })()), "request", [], "any"falsefalsefalse95), "attributes", [], "any"falsefalsefalse95), "get", [=> "_route"], "method"falsefalsefalse95), "annuaire_liste_par_onglet_sup")) && (=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'95$this->source); })()), "request", [], "any"falsefalsefalse95), "attributes", [], "any"falsefalsefalse95), "get", [=> "niveauOnglet"], "method"falsefalsefalse95), "tout")))) {
  577.             // line 96
  578.             echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoTwigExtension']->seoRuleOnglet((isset($context["typeOnglet"]) || array_key_exists("typeOnglet"$context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.'96$this->source); })())), "html"nulltrue);
  579.         } elseif (((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 97
  580. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'97$this->source); })()), "request", [], "any"falsefalsefalse97), "attributes", [], "any"falsefalsefalse97), "get", [=> "_route"], "method"falsefalsefalse97), "annuaire_liste_par_onglet_sup")) || ((((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'97$this->source); })()), "request", [], "any"falsefalsefalse97), "attributes", [], "any"falsefalsefalse97), "get", [=> "_route"], "method"falsefalsefalse97), "annuaire_liste_par_onglet_sup_localisation")) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'97$this->source); })()), "request", [], "any"falsefalsefalse97), "attributes", [], "any"falsefalsefalse97), "get", [=> "niveauOnglet"], "method"falsefalsefalse97)) && !twig_in_filter((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet"$context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.'97$this->source); })()), [=> "annuaire-enseignement-prive"=> "annuaire-enseignement-catholique"])) && (!== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'97$this->source); })()), "request", [], "any"falsefalsefalse97), "attributes", [], "any"falsefalsefalse97), "get", [=> "niveauOnglet"], "method"falsefalsefalse97), "tout"))))) {
  581.             // line 99
  582.             if ( !twig_test_empty((isset($context["checkedFilieres"]) || array_key_exists("checkedFilieres"$context) ? $context["checkedFilieres"] : (function () { throw new RuntimeError('Variable "checkedFilieres" does not exist.'99$this->source); })()))) {
  583.                 // line 100
  584.                 $context['_parent'] = $context;
  585.                 $context['_seq'] = twig_ensure_traversable((isset($context["filieres"]) || array_key_exists("filieres"$context) ? $context["filieres"] : (function () { throw new RuntimeError('Variable "filieres" does not exist.'100$this->source); })()));
  586.                 foreach ($context['_seq'] as $context["_key"] => $context["filiere"]) {
  587.                     // line 101
  588.                     if ((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["checkedFilieres"]) || array_key_exists("checkedFilieres"$context) ? $context["checkedFilieres"] : (function () { throw new RuntimeError('Variable "checkedFilieres" does not exist.'101$this->source); })()), 0, [], "array"falsefalsefalse101), twig_get_attribute($this->env$this->source$context["filiere"], "id", [], "any"falsefalsefalse101)))) {
  589.                         // line 102
  590.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoTwigExtension']->seoRuleFiliere((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet"$context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.'102$this->source); })())), "html"nulltrue);
  591.                         echo " ";
  592.                         echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->source$context["filiere"], "libelleMep", [], "any"truetruefalse102) &&  !(null === twig_get_attribute($this->env$this->source$context["filiere"], "libelleMep", [], "any"falsefalsefalse102)))) ? (twig_get_attribute($this->env$this->source$context["filiere"], "libelleMep", [], "any"falsefalsefalse102)) : (twig_get_attribute($this->env$this->source$context["filiere"], "libelle", [], "any"falsefalsefalse102))), "html"nulltrue);
  593.                     }
  594.                 }
  595.                 $_parent $context['_parent'];
  596.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['filiere'], $context['_parent'], $context['loop']);
  597.                 $context array_intersect_key($context$_parent) + $_parent;
  598.             } elseif ( !twig_test_empty(            // line 106
  599. (isset($context["checkedDiplomes"]) || array_key_exists("checkedDiplomes"$context) ? $context["checkedDiplomes"] : (function () { throw new RuntimeError('Variable "checkedDiplomes" does not exist.'106$this->source); })()))) {
  600.                 // line 107
  601.                 $context['_parent'] = $context;
  602.                 $context['_seq'] = twig_ensure_traversable((isset($context["diplomes"]) || array_key_exists("diplomes"$context) ? $context["diplomes"] : (function () { throw new RuntimeError('Variable "diplomes" does not exist.'107$this->source); })()));
  603.                 foreach ($context['_seq'] as $context["_key"] => $context["diplome"]) {
  604.                     // line 108
  605.                     if ((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["checkedDiplomes"]) || array_key_exists("checkedDiplomes"$context) ? $context["checkedDiplomes"] : (function () { throw new RuntimeError('Variable "checkedDiplomes" does not exist.'108$this->source); })()), 0, [], "array"falsefalsefalse108), twig_get_attribute($this->env$this->source$context["diplome"], "id", [], "any"falsefalsefalse108)))) {
  606.                         // line 109
  607.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoTwigExtension']->seoRuleDiplome((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet"$context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.'109$this->source); })())), "html"nulltrue);
  608.                         echo " ";
  609.                         echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->source$context["diplome"], "libelleMep", [], "any"truetruefalse109) &&  !(null === twig_get_attribute($this->env$this->source$context["diplome"], "libelleMep", [], "any"falsefalsefalse109)))) ? (twig_get_attribute($this->env$this->source$context["diplome"], "libelleMep", [], "any"falsefalsefalse109)) : (twig_get_attribute($this->env$this->source$context["diplome"], "libelle", [], "any"falsefalsefalse109))), "html"nulltrue);
  610.                     }
  611.                 }
  612.                 $_parent $context['_parent'];
  613.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['diplome'], $context['_parent'], $context['loop']);
  614.                 $context array_intersect_key($context$_parent) + $_parent;
  615.             } elseif ( !twig_test_empty(            // line 113
  616. (isset($context["diplomeLibelle"]) || array_key_exists("diplomeLibelle"$context) ? $context["diplomeLibelle"] : (function () { throw new RuntimeError('Variable "diplomeLibelle" does not exist.'113$this->source); })()))) {
  617.                 // line 114
  618.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoTwigExtension']->seoRuleOnglet((isset($context["typeOnglet"]) || array_key_exists("typeOnglet"$context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.'114$this->source); })())), "html"nulltrue);
  619.                 echo " - ";
  620.                 echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->source, ($context["diplomeLibelle"] ?? null), "libelleMep", [], "any"truetruefalse114) &&  !(null === twig_get_attribute($this->env$this->source, ($context["diplomeLibelle"] ?? null), "libelleMep", [], "any"falsefalsefalse114)))) ? (twig_get_attribute($this->env$this->source, ($context["diplomeLibelle"] ?? null), "libelleMep", [], "any"falsefalsefalse114)) : (twig_get_attribute($this->env$this->source, (isset($context["diplomeLibelle"]) || array_key_exists("diplomeLibelle"$context) ? $context["diplomeLibelle"] : (function () { throw new RuntimeError('Variable "diplomeLibelle" does not exist.'114$this->source); })()), "libelle", [], "any"falsefalsefalse114))), "html"nulltrue);
  621.             } else {
  622.                 // line 116
  623.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoTwigExtension']->seoRuleNiveauOnglet((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet"$context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.'116$this->source); })())), "html"nulltrue);
  624.             }
  625.         } elseif (((((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 120
  626. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'120$this->source); })()), "request", [], "any"falsefalsefalse120), "attributes", [], "any"falsefalsefalse120), "get", [=> "_route"], "method"falsefalsefalse120), "annuaire_liste_par_onglet")) && !twig_in_filter(        // line 121
  627. (isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet"$context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.'121$this->source); })()), [=> "annuaire-enseignement-prive"=> "annuaire-enseignement-catholique"])) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 122
  628. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'122$this->source); })()), "request", [], "any"falsefalsefalse122), "attributes", [], "any"falsefalsefalse122), "get", [=> "niveauOnglet"], "method"falsefalsefalse122)) && (!== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 123
  629. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'123$this->source); })()), "request", [], "any"falsefalsefalse123), "attributes", [], "any"falsefalsefalse123), "get", [=> "niveauOnglet"], "method"falsefalsefalse123), "tout")))) {
  630.             // line 126
  631.             if ((=== twig_compare($this->extensions['App\Twig\LieuExtension']->lieuLibelle((isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'126$this->source); })())), "DEFAULT"))) {
  632.                 // line 128
  633.                 if ( !twig_test_empty((isset($context["checkedEds"]) || array_key_exists("checkedEds"$context) ? $context["checkedEds"] : (function () { throw new RuntimeError('Variable "checkedEds" does not exist.'128$this->source); })()))) {
  634.                     // line 129
  635.                     $context['_parent'] = $context;
  636.                     $context['_seq'] = twig_ensure_traversable((isset($context["enseignementsDeSpecialite"]) || array_key_exists("enseignementsDeSpecialite"$context) ? $context["enseignementsDeSpecialite"] : (function () { throw new RuntimeError('Variable "enseignementsDeSpecialite" does not exist.'129$this->source); })()));
  637.                     foreach ($context['_seq'] as $context["_key"] => $context["specialite"]) {
  638.                         // line 130
  639.                         if ((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["checkedEds"]) || array_key_exists("checkedEds"$context) ? $context["checkedEds"] : (function () { throw new RuntimeError('Variable "checkedEds" does not exist.'130$this->source); })()), 0, [], "array"falsefalsefalse130), twig_get_attribute($this->env$this->source$context["specialite"], "id", [], "any"falsefalsefalse130)))) {
  640.                             // line 131
  641.                             echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoTwigExtension']->seoRuleFiliere((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet"$context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.'131$this->source); })())), "html"nulltrue);
  642.                             echo " ";
  643.                             echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->source$context["specialite"], "libelleMep", [], "any"truetruefalse131) &&  !(null === twig_get_attribute($this->env$this->source$context["specialite"], "libelleMep", [], "any"falsefalsefalse131)))) ? (twig_get_attribute($this->env$this->source$context["specialite"], "libelleMep", [], "any"falsefalsefalse131)) : (twig_get_attribute($this->env$this->source$context["specialite"], "libelle", [], "any"falsefalsefalse131))), "html"nulltrue);
  644.                         }
  645.                     }
  646.                     $_parent $context['_parent'];
  647.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['specialite'], $context['_parent'], $context['loop']);
  648.                     $context array_intersect_key($context$_parent) + $_parent;
  649.                 } elseif ( !twig_test_empty(                // line 135
  650. (isset($context["checkedFilieres"]) || array_key_exists("checkedFilieres"$context) ? $context["checkedFilieres"] : (function () { throw new RuntimeError('Variable "checkedFilieres" does not exist.'135$this->source); })()))) {
  651.                     // line 136
  652.                     $context["foundTitle"] = false;
  653.                     // line 137
  654.                     $context['_parent'] = $context;
  655.                     $context['_seq'] = twig_ensure_traversable((isset($context["filieres"]) || array_key_exists("filieres"$context) ? $context["filieres"] : (function () { throw new RuntimeError('Variable "filieres" does not exist.'137$this->source); })()));
  656.                     foreach ($context['_seq'] as $context["_key"] => $context["filiere"]) {
  657.                         // line 138
  658.                         if ((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["checkedFilieres"]) || array_key_exists("checkedFilieres"$context) ? $context["checkedFilieres"] : (function () { throw new RuntimeError('Variable "checkedFilieres" does not exist.'138$this->source); })()), 0, [], "array"falsefalsefalse138), twig_get_attribute($this->env$this->source$context["filiere"], "id", [], "any"falsefalsefalse138)))) {
  659.                             // line 139
  660.                             echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoTwigExtension']->seoRuleFiliere((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet"$context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.'139$this->source); })())), "html"nulltrue);
  661.                             echo " ";
  662.                             echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->source$context["filiere"], "libelleMep", [], "any"truetruefalse139) &&  !(null === twig_get_attribute($this->env$this->source$context["filiere"], "libelleMep", [], "any"falsefalsefalse139)))) ? (twig_get_attribute($this->env$this->source$context["filiere"], "libelleMep", [], "any"falsefalsefalse139)) : (twig_get_attribute($this->env$this->source$context["filiere"], "libelle", [], "any"falsefalsefalse139))), "html"nulltrue);
  663.                             echo "
  664.                                         ";
  665.                             // line 140
  666.                             $context["foundTitle"] = true;
  667.                         }
  668.                     }
  669.                     $_parent $context['_parent'];
  670.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['filiere'], $context['_parent'], $context['loop']);
  671.                     $context array_intersect_key($context$_parent) + $_parent;
  672.                     // line 143
  673.                     if ( !(isset($context["foundTitle"]) || array_key_exists("foundTitle"$context) ? $context["foundTitle"] : (function () { throw new RuntimeError('Variable "foundTitle" does not exist.'143$this->source); })())) {
  674.                         // line 144
  675.                         echo "                                    ";
  676.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoTwigExtension']->seoRuleFiliere((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet"$context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.'144$this->source); })())), "html"nulltrue);
  677.                         echo " ";
  678.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\ItemsInsertionExtension']->itemIdLibelle(twig_get_attribute($this->env$this->source, (isset($context["checkedFilieres"]) || array_key_exists("checkedFilieres"$context) ? $context["checkedFilieres"] : (function () { throw new RuntimeError('Variable "checkedFilieres" does not exist.'144$this->source); })()), 0, [], "array"falsefalsefalse144)), "html"nulltrue);
  679.                         echo "
  680.                                 ";
  681.                     }
  682.                     // line 146
  683.                     echo "                            ";
  684.                 } elseif ( !twig_test_empty(                // line 147
  685. (isset($context["checkedDiplomes"]) || array_key_exists("checkedDiplomes"$context) ? $context["checkedDiplomes"] : (function () { throw new RuntimeError('Variable "checkedDiplomes" does not exist.'147$this->source); })()))) {
  686.                     // line 148
  687.                     $context['_parent'] = $context;
  688.                     $context['_seq'] = twig_ensure_traversable((isset($context["diplomes"]) || array_key_exists("diplomes"$context) ? $context["diplomes"] : (function () { throw new RuntimeError('Variable "diplomes" does not exist.'148$this->source); })()));
  689.                     foreach ($context['_seq'] as $context["_key"] => $context["diplome"]) {
  690.                         // line 149
  691.                         if ((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["checkedDiplomes"]) || array_key_exists("checkedDiplomes"$context) ? $context["checkedDiplomes"] : (function () { throw new RuntimeError('Variable "checkedDiplomes" does not exist.'149$this->source); })()), 0, [], "array"falsefalsefalse149), twig_get_attribute($this->env$this->source$context["diplome"], "id", [], "any"falsefalsefalse149)))) {
  692.                             // line 150
  693.                             echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoTwigExtension']->seoRuleDiplome((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet"$context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.'150$this->source); })())), "html"nulltrue);
  694.                             echo " ";
  695.                             echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->source$context["diplome"], "libelleMep", [], "any"truetruefalse150) &&  !(null === twig_get_attribute($this->env$this->source$context["diplome"], "libelleMep", [], "any"falsefalsefalse150)))) ? (twig_get_attribute($this->env$this->source$context["diplome"], "libelleMep", [], "any"falsefalsefalse150)) : (twig_get_attribute($this->env$this->source$context["diplome"], "libelle", [], "any"falsefalsefalse150))), "html"nulltrue);
  696.                         }
  697.                     }
  698.                     $_parent $context['_parent'];
  699.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['diplome'], $context['_parent'], $context['loop']);
  700.                     $context array_intersect_key($context$_parent) + $_parent;
  701.                 } else {
  702.                     // line 154
  703.                     echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoTwigExtension']->seoRuleNiveauOnglet((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet"$context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.'154$this->source); })())), "html"nulltrue);
  704.                 }
  705.             } elseif ( !twig_test_empty(            // line 157
  706. (isset($context["checkedEds"]) || array_key_exists("checkedEds"$context) ? $context["checkedEds"] : (function () { throw new RuntimeError('Variable "checkedEds" does not exist.'157$this->source); })()))) {
  707.                 // line 158
  708.                 $context['_parent'] = $context;
  709.                 $context['_seq'] = twig_ensure_traversable((isset($context["enseignementsDeSpecialite"]) || array_key_exists("enseignementsDeSpecialite"$context) ? $context["enseignementsDeSpecialite"] : (function () { throw new RuntimeError('Variable "enseignementsDeSpecialite" does not exist.'158$this->source); })()));
  710.                 foreach ($context['_seq'] as $context["_key"] => $context["specialite"]) {
  711.                     // line 159
  712.                     if ((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["checkedEds"]) || array_key_exists("checkedEds"$context) ? $context["checkedEds"] : (function () { throw new RuntimeError('Variable "checkedEds" does not exist.'159$this->source); })()), 0, [], "array"falsefalsefalse159), twig_get_attribute($this->env$this->source$context["specialite"], "id", [], "any"falsefalsefalse159)))) {
  713.                         // line 160
  714.                         echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoTwigExtension']->seoRuleOnglet((isset($context["typeOnglet"]) || array_key_exists("typeOnglet"$context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.'160$this->source); })())), "html"nulltrue);
  715.                         echo " avec une spécialité ";
  716.                         echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->source$context["specialite"], "libelleMep", [], "any"truetruefalse160) &&  !(null === twig_get_attribute($this->env$this->source$context["specialite"], "libelleMep", [], "any"falsefalsefalse160)))) ? (twig_get_attribute($this->env$this->source$context["specialite"], "libelleMep", [], "any"falsefalsefalse160)) : (twig_get_attribute($this->env$this->source$context["specialite"], "libelle", [], "any"falsefalsefalse160))), "html"nulltrue);
  717.                     }
  718.                 }
  719.                 $_parent $context['_parent'];
  720.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['specialite'], $context['_parent'], $context['loop']);
  721.                 $context array_intersect_key($context$_parent) + $_parent;
  722.             } else {
  723.                 // line 164
  724.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoTwigExtension']->seoRuleOnglet((isset($context["typeOnglet"]) || array_key_exists("typeOnglet"$context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.'164$this->source); })())), "html"nulltrue);
  725.             }
  726.         } elseif ((((((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 167
  727. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'167$this->source); })()), "request", [], "any"falsefalsefalse167), "attributes", [], "any"falsefalsefalse167), "get", [=> "_route"], "method"falsefalsefalse167), "annuaire_liste_par_onglet_localisation")) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'167$this->source); })()), "request", [], "any"falsefalsefalse167), "attributes", [], "any"falsefalsefalse167), "get", [=> "niveauOnglet"], "method"falsefalsefalse167)) && !twig_in_filter((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet"$context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.'167$this->source); })()), [=> "annuaire-enseignement-prive"=> "annuaire-enseignement-catholique"])) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'167$this->source); })()), "request", [], "any"falsefalsefalse167), "attributes", [], "any"falsefalsefalse167), "get", [=> "niveauOnglet"], "method"falsefalsefalse167)) && (!== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'167$this->source); })()), "request", [], "any"falsefalsefalse167), "attributes", [], "any"falsefalsefalse167), "get", [=> "niveauOnglet"], "method"falsefalsefalse167), "tout")))) {
  728.             // line 168
  729.             echo "  
  730.                         ";
  731.             // line 169
  732.             $context["seo_h1_global"] = $this->extensions['App\Twig\SeoTwigExtension']->seoRuleGlobal();
  733.             echo " ";
  734.             // line 170
  735.             echo "                        ";
  736.             if ((isset($context["seo_h1_global"]) || array_key_exists("seo_h1_global"$context) ? $context["seo_h1_global"] : (function () { throw new RuntimeError('Variable "seo_h1_global" does not exist.'170$this->source); })())) {
  737.                 // line 171
  738.                 echo "                            ";
  739.                 echo twig_escape_filter($this->env, (isset($context["seo_h1_global"]) || array_key_exists("seo_h1_global"$context) ? $context["seo_h1_global"] : (function () { throw new RuntimeError('Variable "seo_h1_global" does not exist.'171$this->source); })()), "html"nulltrue);
  740.                 echo "
  741.                         ";
  742.             } else {
  743.                 // line 173
  744.                 if ( !twig_test_empty((isset($context["checkedEds"]) || array_key_exists("checkedEds"$context) ? $context["checkedEds"] : (function () { throw new RuntimeError('Variable "checkedEds" does not exist.'173$this->source); })()))) {
  745.                     // line 174
  746.                     $context['_parent'] = $context;
  747.                     $context['_seq'] = twig_ensure_traversable((isset($context["enseignementsDeSpecialite"]) || array_key_exists("enseignementsDeSpecialite"$context) ? $context["enseignementsDeSpecialite"] : (function () { throw new RuntimeError('Variable "enseignementsDeSpecialite" does not exist.'174$this->source); })()));
  748.                     foreach ($context['_seq'] as $context["_key"] => $context["specialite"]) {
  749.                         // line 175
  750.                         if ((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["checkedEds"]) || array_key_exists("checkedEds"$context) ? $context["checkedEds"] : (function () { throw new RuntimeError('Variable "checkedEds" does not exist.'175$this->source); })()), 0, [], "array"falsefalsefalse175), twig_get_attribute($this->env$this->source$context["specialite"], "id", [], "any"falsefalsefalse175)))) {
  751.                             // line 176
  752.                             echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoTwigExtension']->seoRuleDiplome((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet"$context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.'176$this->source); })())), "html"nulltrue);
  753.                             echo " ";
  754.                             echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->source$context["specialite"], "libelleMep", [], "any"truetruefalse176) &&  !(null === twig_get_attribute($this->env$this->source$context["specialite"], "libelleMep", [], "any"falsefalsefalse176)))) ? (twig_get_attribute($this->env$this->source$context["specialite"], "libelleMep", [], "any"falsefalsefalse176)) : (twig_get_attribute($this->env$this->source$context["specialite"], "libelle", [], "any"falsefalsefalse176))), "html"nulltrue);
  755.                         }
  756.                     }
  757.                     $_parent $context['_parent'];
  758.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['specialite'], $context['_parent'], $context['loop']);
  759.                     $context array_intersect_key($context$_parent) + $_parent;
  760.                 } elseif ( !twig_test_empty(                // line 180
  761. (isset($context["checkedFilieres"]) || array_key_exists("checkedFilieres"$context) ? $context["checkedFilieres"] : (function () { throw new RuntimeError('Variable "checkedFilieres" does not exist.'180$this->source); })()))) {
  762.                     // line 181
  763.                     $context['_parent'] = $context;
  764.                     $context['_seq'] = twig_ensure_traversable((isset($context["filieres"]) || array_key_exists("filieres"$context) ? $context["filieres"] : (function () { throw new RuntimeError('Variable "filieres" does not exist.'181$this->source); })()));
  765.                     foreach ($context['_seq'] as $context["_key"] => $context["filiere"]) {
  766.                         // line 182
  767.                         if ((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["checkedFilieres"]) || array_key_exists("checkedFilieres"$context) ? $context["checkedFilieres"] : (function () { throw new RuntimeError('Variable "checkedFilieres" does not exist.'182$this->source); })()), 0, [], "array"falsefalsefalse182), twig_get_attribute($this->env$this->source$context["filiere"], "id", [], "any"falsefalsefalse182)))) {
  768.                             // line 183
  769.                             echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoTwigExtension']->seoRuleFiliere((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet"$context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.'183$this->source); })())), "html"nulltrue);
  770.                             echo " ";
  771.                             echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->source$context["filiere"], "libelleMep", [], "any"truetruefalse183) &&  !(null === twig_get_attribute($this->env$this->source$context["filiere"], "libelleMep", [], "any"falsefalsefalse183)))) ? (twig_get_attribute($this->env$this->source$context["filiere"], "libelleMep", [], "any"falsefalsefalse183)) : (twig_get_attribute($this->env$this->source$context["filiere"], "libelle", [], "any"falsefalsefalse183))), "html"nulltrue);
  772.                         }
  773.                     }
  774.                     $_parent $context['_parent'];
  775.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['filiere'], $context['_parent'], $context['loop']);
  776.                     $context array_intersect_key($context$_parent) + $_parent;
  777.                 } elseif ( !twig_test_empty(                // line 187
  778. (isset($context["checkedDiplomes"]) || array_key_exists("checkedDiplomes"$context) ? $context["checkedDiplomes"] : (function () { throw new RuntimeError('Variable "checkedDiplomes" does not exist.'187$this->source); })()))) {
  779.                     // line 188
  780.                     $context['_parent'] = $context;
  781.                     $context['_seq'] = twig_ensure_traversable((isset($context["diplomes"]) || array_key_exists("diplomes"$context) ? $context["diplomes"] : (function () { throw new RuntimeError('Variable "diplomes" does not exist.'188$this->source); })()));
  782.                     foreach ($context['_seq'] as $context["_key"] => $context["diplome"]) {
  783.                         // line 189
  784.                         if ((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["checkedDiplomes"]) || array_key_exists("checkedDiplomes"$context) ? $context["checkedDiplomes"] : (function () { throw new RuntimeError('Variable "checkedDiplomes" does not exist.'189$this->source); })()), 0, [], "array"falsefalsefalse189), twig_get_attribute($this->env$this->source$context["diplome"], "id", [], "any"falsefalsefalse189)))) {
  785.                             // line 190
  786.                             echo "?? ";
  787.                             echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoTwigExtension']->seoRuleDiplome((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet"$context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.'190$this->source); })())), "html"nulltrue);
  788.                             echo " ";
  789.                             echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->source$context["diplome"], "libelleMep", [], "any"truetruefalse190) &&  !(null === twig_get_attribute($this->env$this->source$context["diplome"], "libelleMep", [], "any"falsefalsefalse190)))) ? (twig_get_attribute($this->env$this->source$context["diplome"], "libelleMep", [], "any"falsefalsefalse190)) : (twig_get_attribute($this->env$this->source$context["diplome"], "libelle", [], "any"falsefalsefalse190))), "html"nulltrue);
  790.                         }
  791.                     }
  792.                     $_parent $context['_parent'];
  793.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['diplome'], $context['_parent'], $context['loop']);
  794.                     $context array_intersect_key($context$_parent) + $_parent;
  795.                 } else {
  796.                     // line 194
  797.                     echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoTwigExtension']->seoRuleNiveauOnglet((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet"$context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.'194$this->source); })())), "html"nulltrue);
  798.                 }
  799.             }
  800.         }
  801.         // line 199
  802.         echo "                    ";
  803.         $context['_parent'] = $context;
  804.         $context['_seq'] = twig_ensure_traversable((isset($context["checkedLVA"]) || array_key_exists("checkedLVA"$context) ? $context["checkedLVA"] : (function () { throw new RuntimeError('Variable "checkedLVA" does not exist.'199$this->source); })()));
  805.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  806.             echo " - LVA ";
  807.             echo twig_escape_filter($this->env$this->extensions['App\Twig\ItemsInsertionExtension']->itemIdLibelle($context["item"]), "html"nulltrue);
  808.         }
  809.         $_parent $context['_parent'];
  810.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  811.         $context array_intersect_key($context$_parent) + $_parent;
  812.         // line 200
  813.         echo "                    ";
  814.         $context['_parent'] = $context;
  815.         $context['_seq'] = twig_ensure_traversable((isset($context["checkedLVB"]) || array_key_exists("checkedLVB"$context) ? $context["checkedLVB"] : (function () { throw new RuntimeError('Variable "checkedLVB" does not exist.'200$this->source); })()));
  816.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  817.             echo " - LVB ";
  818.             echo twig_escape_filter($this->env$this->extensions['App\Twig\ItemsInsertionExtension']->itemIdLibelle($context["item"]), "html"nulltrue);
  819.         }
  820.         $_parent $context['_parent'];
  821.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  822.         $context array_intersect_key($context$_parent) + $_parent;
  823.         // line 201
  824.         echo "                    ";
  825.         $context['_parent'] = $context;
  826.         $context['_seq'] = twig_ensure_traversable((isset($context["checkedAge"]) || array_key_exists("checkedAge"$context) ? $context["checkedAge"] : (function () { throw new RuntimeError('Variable "checkedAge" does not exist.'201$this->source); })()));
  827.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  828.             echo " - ";
  829.             echo twig_escape_filter($this->env$this->extensions['App\Twig\ItemsInsertionExtension']->itemIdLibelle($context["item"]), "html"nulltrue);
  830.         }
  831.         $_parent $context['_parent'];
  832.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  833.         $context array_intersect_key($context$_parent) + $_parent;
  834.         // line 202
  835.         echo "                    ";
  836.         $context['_parent'] = $context;
  837.         $context['_seq'] = twig_ensure_traversable((isset($context["checkedDiplomes"]) || array_key_exists("checkedDiplomes"$context) ? $context["checkedDiplomes"] : (function () { throw new RuntimeError('Variable "checkedDiplomes" does not exist.'202$this->source); })()));
  838.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  839.             // line 203
  840.             echo "                        ";
  841.             if (twig_in_filter("--"$context["item"])) {
  842.                 // line 204
  843.                 echo "                            ";
  844.                 $context["diplome"] = twig_upper_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_split_filter($this->env$context["item"], "--"), 1, [], "array"falsefalsefalse204));
  845.                 // line 205
  846.                 echo "                            - ";
  847.                 echo twig_escape_filter($this->env, (isset($context["diplome"]) || array_key_exists("diplome"$context) ? $context["diplome"] : (function () { throw new RuntimeError('Variable "diplome" does not exist.'205$this->source); })()), "html"nulltrue);
  848.                 echo "
  849.                         ";
  850.             } else {
  851.                 // line 207
  852.                 echo "                            - ";
  853.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ItemsInsertionExtension']->itemIdLibelle($context["item"]), "html"nulltrue);
  854.                 echo "
  855.                         ";
  856.             }
  857.             // line 209
  858.             echo "                    ";
  859.         }
  860.         $_parent $context['_parent'];
  861.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  862.         $context array_intersect_key($context$_parent) + $_parent;
  863.         // line 210
  864.         echo "                    ";
  865.         // line 211
  866.         $context["departement"] = $this->extensions['App\Twig\LieuExtension']->lieuDepartement((isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'211$this->source); })()));
  867.         // line 212
  868.         $context["ville"] = $this->extensions['App\Twig\LieuExtension']->lieuVille((isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'212$this->source); })()));
  869.         // line 213
  870.         if ((!== twig_compare($this->extensions['App\Twig\LieuExtension']->lieuLibelle((isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'213$this->source); })())), "DEFAULT"))) {
  871.             // line 214
  872.             echo "-";
  873.             // line 215
  874.             if ( !twig_test_empty((isset($context["ville"]) || array_key_exists("ville"$context) ? $context["ville"] : (function () { throw new RuntimeError('Variable "ville" does not exist.'215$this->source); })()))) {
  875.                 // line 216
  876.                 echo "&nbsp;";
  877.                 echo $this->extensions['App\Twig\LieuExtension']->lieuLibelle((isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'216$this->source); })()));
  878.                 echo " - ";
  879.                 echo twig_get_attribute($this->env$this->source, (isset($context["departement"]) || array_key_exists("departement"$context) ? $context["departement"] : (function () { throw new RuntimeError('Variable "departement" does not exist.'216$this->source); })()), "libelle", [], "any"falsefalsefalse216);
  880.             } else {
  881.                 // line 218
  882.                 echo "&nbsp;";
  883.                 echo $this->extensions['App\Twig\LieuExtension']->lieuLibelle((isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'218$this->source); })()));
  884.             }
  885.         }
  886.         $___internal_parse_7_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  887.         // line 86
  888.         echo twig_spaceless($___internal_parse_7_);
  889.         
  890.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  891.         
  892.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  893.     }
  894.     // line 345
  895.     public function block_javascripts($context, array $blocks = [])
  896.     {
  897.         $macros $this->macros;
  898.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  899.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  900.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  901.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  902.         // line 346
  903.         echo "    ";
  904.         if ((isset($context["seoTextePart2"]) || array_key_exists("seoTextePart2"$context) ? $context["seoTextePart2"] : (function () { throw new RuntimeError('Variable "seoTextePart2" does not exist.'346$this->source); })())) {
  905.             // line 347
  906.             echo "        <script>
  907.             let div = document.getElementById(\"about-part1\");
  908.             let paragraphs = div.querySelectorAll(\"p\");
  909.             let lastParagraphIndex = paragraphs.length - 1;
  910.             let lastParagraph = paragraphs[lastParagraphIndex];
  911.             ";
  912.             // line 356
  913.             echo "        </script>
  914.     ";
  915.         }
  916.         
  917.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  918.         
  919.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  920.     }
  921.     // line 360
  922.     public function block_data_layer($context, array $blocks = [])
  923.     {
  924.         $macros $this->macros;
  925.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  926.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""data_layer"));
  927.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  928.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""data_layer"));
  929.         // line 361
  930.         echo "<script>
  931. ";
  932.         // line 362
  933.         $context["lieuLibelle"] = $this->extensions['App\Twig\LieuExtension']->lieuLibelle((isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'362$this->source); })()));
  934.         // line 363
  935.         $context["region"] = (((isset($context["region"]) || array_key_exists("region"$context) ? $context["region"] : (function () { throw new RuntimeError('Variable "region" does not exist.'363$this->source); })())) ? (twig_get_attribute($this->env$this->source, (isset($context["region"]) || array_key_exists("region"$context) ? $context["region"] : (function () { throw new RuntimeError('Variable "region" does not exist.'363$this->source); })()), "libelle", [], "any"falsefalsefalse363)) : (null));
  936.         // line 364
  937.         $context["departement"] = (((isset($context["departement"]) || array_key_exists("departement"$context) ? $context["departement"] : (function () { throw new RuntimeError('Variable "departement" does not exist.'364$this->source); })())) ? (twig_get_attribute($this->env$this->source, (isset($context["departement"]) || array_key_exists("departement"$context) ? $context["departement"] : (function () { throw new RuntimeError('Variable "departement" does not exist.'364$this->source); })()), "id", [], "any"falsefalsefalse364)) : (null));
  938.         // line 365
  939.         $context["ville"] = (((isset($context["ville"]) || array_key_exists("ville"$context) ? $context["ville"] : (function () { throw new RuntimeError('Variable "ville" does not exist.'365$this->source); })())) ? (twig_get_attribute($this->env$this->source, (isset($context["ville"]) || array_key_exists("ville"$context) ? $context["ville"] : (function () { throw new RuntimeError('Variable "ville" does not exist.'365$this->source); })()), "libelle", [], "any"falsefalsefalse365)) : (null));
  940.         // line 366
  941.         $context["listItems"] = [];
  942.         // line 367
  943.         $context['_parent'] = $context;
  944.         $context['_seq'] = twig_ensure_traversable((isset($context["etablissements"]) || array_key_exists("etablissements"$context) ? $context["etablissements"] : (function () { throw new RuntimeError('Variable "etablissements" does not exist.'367$this->source); })()));
  945.         $context['loop'] = [
  946.           'parent' => $context['_parent'],
  947.           'index0' => 0,
  948.           'index'  => 1,
  949.           'first'  => true,
  950.         ];
  951.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  952.             $length count($context['_seq']);
  953.             $context['loop']['revindex0'] = $length 1;
  954.             $context['loop']['revindex'] = $length;
  955.             $context['loop']['length'] = $length;
  956.             $context['loop']['last'] = === $length;
  957.         }
  958.         foreach ($context['_seq'] as $context["_key"] => $context["etablissement"]) {
  959.             // line 368
  960.             echo "    ";
  961.             $context["listItems"] = twig_array_merge((isset($context["listItems"]) || array_key_exists("listItems"$context) ? $context["listItems"] : (function () { throw new RuntimeError('Variable "listItems" does not exist.'368$this->source); })()), [=> ["item_id" => twig_get_attribute($this->env$this->source,             // line 369
  962. $context["etablissement"], "id", [], "any"falsefalsefalse369), "item_name" => twig_get_attribute($this->env$this->source,             // line 370
  963. $context["etablissement"], "denomination", [], "any"falsefalsefalse370), "item_category" => "etablissement""item_category2" => ((            // line 372
  964. array_key_exists("typeOnglet"$context)) ? (_twig_default_filter((isset($context["typeOnglet"]) || array_key_exists("typeOnglet"$context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.'372$this->source); })()), null)) : (null)), "item_category3" => null"item_category4" => ((twig_get_attribute($this->env$this->source,             // line 374
  965. $context["etablissement"], "sousContrat", [], "any"falsefalsefalse374)) ? ("sous_contrat") : ("hors_contrat")), "location_id" => ((((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 375
  966. $context["etablissement"], "ville", [], "any"falsefalsefalse375), "departement", [], "any"falsefalsefalse375), "id", [], "any"falsefalsefalse375) . "_") . twig_get_attribute($this->env$this->source$context["etablissement"], "codePostal", [], "any"falsefalsefalse375)) . "_") . twig_replace_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["etablissement"], "ville", [], "any"falsefalsefalse375), "slug", [], "any"falsefalsefalse375), ["-" => "_"])), "etablissement_segment" => ((twig_get_attribute($this->env$this->source,             // line 376
  967. $context["etablissement"], "isClient", [], "any"falsefalsefalse376)) ? ("client") : ("prospect")), "index" => (twig_get_attribute($this->env$this->source,             // line 377
  968. $context["loop"], "index", [], "any"falsefalsefalse377) + ((((twig_get_attribute($this->env$this->source, ($context["etablissements"] ?? null), "currentPageNumber", [], "any"truetruefalse377)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["etablissements"] ?? null), "currentPageNumber", [], "any"falsefalsefalse377), 1)) : (1)) - 1) * ((twig_get_attribute($this->env$this->source, ($context["etablissements"] ?? null), "getItemNumberPerPage", [], "method"truetruefalse377)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["etablissements"] ?? null), "getItemNumberPerPage", [], "method"falsefalsefalse377), 0)) : (0))))]]);
  969.             ++$context['loop']['index0'];
  970.             ++$context['loop']['index'];
  971.             $context['loop']['first'] = false;
  972.             if (isset($context['loop']['length'])) {
  973.                 --$context['loop']['revindex0'];
  974.                 --$context['loop']['revindex'];
  975.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  976.             }
  977.         }
  978.         $_parent $context['_parent'];
  979.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['etablissement'], $context['_parent'], $context['loop']);
  980.         $context array_intersect_key($context$_parent) + $_parent;
  981.         // line 380
  982.         echo "
  983. // 1. Contexte global de la page liste
  984. dataLayer.push({
  985.     event: \"page_context\",
  986.     page_type: \"liste_etablissements\",
  987.     liste_type: ";
  988.         // line 385
  989.         echo json_encode(((array_key_exists("liste_type"$context)) ? (_twig_default_filter((isset($context["liste_type"]) || array_key_exists("liste_type"$context) ? $context["liste_type"] : (function () { throw new RuntimeError('Variable "liste_type" does not exist.'385$this->source); })()), null)) : (null)));
  990.         echo ",
  991.     site_section: \"annuaire\",
  992.     education_niveau: ";
  993.         // line 388
  994.         echo json_encode(((array_key_exists("typeOnglet"$context)) ? (_twig_default_filter((isset($context["typeOnglet"]) || array_key_exists("typeOnglet"$context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.'388$this->source); })()), null)) : (null)));
  995.         echo ",
  996.     education_sous_niveau: ";
  997.         // line 389
  998.         echo json_encode(((array_key_exists("niveauOnglet"$context)) ? (_twig_default_filter((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet"$context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.'389$this->source); })()), null)) : (null)));
  999.         echo ",
  1000.     region: ";
  1001.         // line 391
  1002.         echo json_encode((($context["region"]) ?? (null)), twig_constant("JSON_UNESCAPED_UNICODE"));
  1003.         echo ",
  1004.     departement: ";
  1005.         // line 392
  1006.         echo json_encode((($context["departement"]) ?? (null)), twig_constant("JSON_UNESCAPED_UNICODE"));
  1007.         echo ",
  1008.     ville: ";
  1009.         // line 393
  1010.         echo json_encode(((array_key_exists("ville"$context)) ? (_twig_default_filter((isset($context["ville"]) || array_key_exists("ville"$context) ? $context["ville"] : (function () { throw new RuntimeError('Variable "ville" does not exist.'393$this->source); })()), null)) : (null)), twig_constant("JSON_UNESCAPED_UNICODE"));
  1011.         echo ",
  1012.     code_postal: ";
  1013.         // line 394
  1014.         echo json_encode((((twig_get_attribute($this->env$this->source, ($context["lieu"] ?? null), "codePostal", [], "any"truetruefalse394) &&  !(null === twig_get_attribute($this->env$this->source, ($context["lieu"] ?? null), "codePostal", [], "any"falsefalsefalse394)))) ? (twig_get_attribute($this->env$this->source, ($context["lieu"] ?? null), "codePostal", [], "any"falsefalsefalse394)) : (null)));
  1015.         echo ",
  1016.     recherche_type: ";
  1017.         // line 396
  1018.         echo json_encode(((array_key_exists("recherche_type"$context)) ? (_twig_default_filter((isset($context["recherche_type"]) || array_key_exists("recherche_type"$context) ? $context["recherche_type"] : (function () { throw new RuntimeError('Variable "recherche_type" does not exist.'396$this->source); })()), null)) : (null)));
  1019.         echo ",
  1020.     total_resultats: ";
  1021.         // line 397
  1022.         echo twig_escape_filter($this->env, ((array_key_exists("count"$context)) ? (_twig_default_filter((isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'397$this->source); })()), 0)) : (0)), "html"nulltrue);
  1023.         echo ",
  1024.     numero_pagination: ";
  1025.         // line 398
  1026.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["etablissements"] ?? null), "currentPageNumber", [], "any"truetruefalse398)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["etablissements"] ?? null), "currentPageNumber", [], "any"falsefalsefalse398), 1)) : (1)), "html"nulltrue);
  1027.         echo "
  1028. });
  1029. // 2. Événement métier : affichage des établissements réellement présents dans la liste
  1030. dataLayer.push({ ecommerce: null });
  1031. dataLayer.push({
  1032.   event: \"view_item_list\",
  1033.   ecommerce: {
  1034.     item_list_id: ";
  1035.         // line 406
  1036.         echo json_encode(twig_replace_filter(twig_lower_filter($this->env, ((((("annuaire_" . ((array_key_exists("typeOnglet"$context)) ? (_twig_default_filter((isset($context["typeOnglet"]) || array_key_exists("typeOnglet"$context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.'406$this->source); })()), "")) : (""))) . "_") . ((array_key_exists("niveauOnglet"$context)) ? (_twig_default_filter((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet"$context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.'406$this->source); })()), "")) : (""))) . "_") . (((!== twig_compare((isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'406$this->source); })()), "DEFAULT"))) ? (twig_replace_filter(twig_get_attribute($this->env$this->source, (isset($context["lieu"]) || array_key_exists("lieu"$context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.'406$this->source); })()), "id", [], "any"falsefalsefalse406), ["-" => "_"])) : ("tous")))), ["-" => "_"]));
  1037.         echo ",
  1038.     item_list_name: ";
  1039.         // line 407
  1040.         echo json_encode(((((("Annuaire - " . ((array_key_exists("typeOnglet"$context)) ? (_twig_default_filter((isset($context["typeOnglet"]) || array_key_exists("typeOnglet"$context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.'407$this->source); })()), "")) : (""))) . " - ") . ((array_key_exists("niveauOnglet"$context)) ? (_twig_default_filter((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet"$context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.'407$this->source); })()), "")) : (""))) . " - ") . (((!== twig_compare((isset($context["lieuLibelle"]) || array_key_exists("lieuLibelle"$context) ? $context["lieuLibelle"] : (function () { throw new RuntimeError('Variable "lieuLibelle" does not exist.'407$this->source); })()), "DEFAULT"))) ? ((isset($context["lieuLibelle"]) || array_key_exists("lieuLibelle"$context) ? $context["lieuLibelle"] : (function () { throw new RuntimeError('Variable "lieuLibelle" does not exist.'407$this->source); })())) : ("tous"))), twig_constant("JSON_UNESCAPED_UNICODE"));
  1041.         echo ",
  1042.     items: ";
  1043.         // line 408
  1044.         echo json_encode((isset($context["listItems"]) || array_key_exists("listItems"$context) ? $context["listItems"] : (function () { throw new RuntimeError('Variable "listItems" does not exist.'408$this->source); })()), twig_constant("JSON_UNESCAPED_UNICODE"));
  1045.         echo "
  1046.   }
  1047. });
  1048. console.log(dataLayer);
  1049. </script>
  1050. ";
  1051.         
  1052.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1053.         
  1054.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1055.     }
  1056.     public function getTemplateName()
  1057.     {
  1058.         return "annuaire/liste.html.twig";
  1059.     }
  1060.     public function isTraitable()
  1061.     {
  1062.         return false;
  1063.     }
  1064.     public function getDebugInfo()
  1065.     {
  1066.         return array (  1095 => 408,  1091 => 407,  1087 => 406,  1076 => 398,  1072 => 397,  1068 => 396,  1063 => 394,  1059 => 393,  1055 => 392,  1051 => 391,  1046 => 389,  1042 => 388,  1036 => 385,  1029 => 380,  1015 => 377,  1014 => 376,  1013 => 375,  1012 => 374,  1011 => 372,  1010 => 370,  1009 => 369,  1007 => 368,  990 => 367,  988 => 366,  986 => 365,  984 => 364,  982 => 363,  980 => 362,  977 => 361,  967 => 360,  955 => 356,  947 => 347,  944 => 346,  934 => 345,  924 => 86,  918 => 218,  912 => 216,  910 => 215,  908 => 214,  906 => 213,  904 => 212,  902 => 211,  900 => 210,  894 => 209,  888 => 207,  882 => 205,  879 => 204,  876 => 203,  871 => 202,  860 => 201,  849 => 200,  838 => 199,  833 => 194,  822 => 190,  820 => 189,  816 => 188,  814 => 187,  805 => 183,  803 => 182,  799 => 181,  797 => 180,  788 => 176,  786 => 175,  782 => 174,  780 => 173,  774 => 171,  771 => 170,  768 => 169,  765 => 168,  763 => 167,  760 => 164,  750 => 160,  748 => 159,  744 => 158,  742 => 157,  739 => 154,  729 => 150,  727 => 149,  723 => 148,  721 => 147,  719 => 146,  711 => 144,  709 => 143,  702 => 140,  696 => 139,  694 => 138,  690 => 137,  688 => 136,  686 => 135,  677 => 131,  675 => 130,  671 => 129,  669 => 128,  667 => 126,  665 => 123,  664 => 122,  663 => 121,  662 => 120,  659 => 116,  654 => 114,  652 => 113,  643 => 109,  641 => 108,  637 => 107,  635 => 106,  626 => 102,  624 => 101,  620 => 100,  618 => 99,  616 => 97,  614 => 96,  612 => 95,  608 => 93,  606 => 92,  604 => 91,  602 => 90,  600 => 89,  598 => 88,  596 => 87,  594 => 86,  584 => 85,  570 => 339,  567 => 338,  564 => 337,  561 => 336,  558 => 335,  555 => 334,  552 => 333,  550 => 332,  543 => 328,  539 => 327,  531 => 321,  529 => 320,  525 => 318,  523 => 316,  522 => 315,  521 => 314,  517 => 312,  513 => 309,  509 => 305,  506 => 304,  503 => 302,  499 => 300,  493 => 299,  485 => 297,  477 => 295,  474 => 294,  471 => 293,  466 => 292,  464 => 291,  461 => 290,  450 => 288,  445 => 287,  434 => 285,  429 => 284,  418 => 282,  413 => 281,  402 => 279,  397 => 278,  386 => 276,  381 => 275,  370 => 273,  365 => 272,  354 => 270,  349 => 269,  340 => 267,  335 => 266,  326 => 264,  322 => 263,  318 => 261,  316 => 260,  312 => 258,  310 => 257,  306 => 254,  304 => 253,  301 => 252,  298 => 250,  292 => 246,  289 => 245,  286 => 244,  283 => 243,  281 => 242,  275 => 238,  272 => 237,  270 => 236,  266 => 234,  261 => 230,  256 => 222,  253 => 85,  248 => 74,  246 => 71,  245 => 70,  244 => 69,  243 => 68,  242 => 67,  241 => 66,  240 => 65,  239 => 64,  238 => 63,  231 => 60,  221 => 59,  210 => 45,  208 => 32,  204 => 44,  201 => 43,  198 => 42,  196 => 41,  195 => 38,  193 => 37,  190 => 36,  187 => 35,  184 => 34,  181 => 33,  179 => 32,  169 => 31,  156 => 27,  150 => 24,  146 => 23,  142 => 22,  139 => 20,  135 => 19,  132 => 18,  128 => 17,  123 => 15,  119 => 14,  115 => 13,  113 => 12,  109 => 11,  103 => 10,  101 => 9,  91 => 8,  80 => 1,  78 => 57,  76 => 56,  74 => 55,  72 => 54,  70 => 53,  68 => 52,  66 => 51,  64 => 50,  62 => 49,  60 => 48,  57 => 5,  55 => 4,  53 => 3,  40 => 1,);
  1067.     }
  1068.     public function getSourceContext()
  1069.     {
  1070.         return new Source("{% extends 'base.html.twig' %}
  1071. {% set niveau = '' %}
  1072. {% if 'diplome' == sousTypeOnglet and diplomeLibelle is not null %}
  1073.     {% set niveau = diplomeLibelle.libelle %}
  1074. {% endif %}
  1075. {%- block title -%}
  1076.     {%- if block('h1') is defined-%}
  1077.         {{ block('h1') }} - {{ count | number_format(0, ' ', ' ') }}
  1078.              etablissement{%- if count > 1 -%}s{%- endif -%}
  1079.     {%- elseif seoTitre -%}
  1080.         {{ seoTitre | replace({'[region]': lieu.libelle, '[dept]': lieu | lieuLibelle, '[ville]': lieu | lieuLibelle }) | striptags }}
  1081.             - {{ count | number_format(0, ' ', ' ') }}
  1082.              etablissement{%- if count > 1 -%}s{%- endif -%}
  1083.     {%- else -%}
  1084.         {%- if app.request.attributes.get('_route') == \"annuaire_liste\" or app.request.attributes.get('_route') == \"annuaire_quoi\" %} {{ quoi.libelle }}
  1085.         {%- elseif app.request.attributes.get('_route') ==  \"annuaire_prive\" -%} Enseignement privé
  1086.         {%- elseif app.request.attributes.get('_route') ==  \"annuaire_catho\" -%} Enseignement catholique
  1087.         {%- else -%}{{ quoi.libelle | replace({'---': ''}) | typeEtablissementLibelle -}}
  1088.         {%- endif -%}
  1089.         {%- if lieu | lieuLibelle != 'DEFAULT' %} à {{ lieu | lieuLibelle -}}
  1090.         {%- elseif niveau -%} - {{ niveau }}
  1091.         {%- elseif niveauOnglet != 'tout' %} - {{ niveauOnglet | niveauLibelle -}}
  1092.         {%- endif -%}
  1093.     {%- endif -%}
  1094.     {%- if etablissements.currentPageNumber > 1 %} - Page {{ etablissements.currentPageNumber -}}
  1095. \t{%- endif -%}
  1096. {%- endblock %}
  1097. {% block description %}
  1098. {% apply spaceless %}
  1099.     {% if seoTextePart1 %}
  1100.         {% autoescape false %}{{ metadesc | u.truncate(160, '...', false)  }}{% endautoescape %}
  1101.     {% else %}
  1102.         {% set descriptionContent %}
  1103.         {% include  [
  1104.             ('annuaire/text-desc/metadesc-' ~ typeOnglet ~ '.html.twig'),
  1105.             'annuaire/text-desc/metadesc-default.html.twig'
  1106.             ]
  1107.         with {'lieu' : lieu | lieuLibelle }  %}
  1108.         {% endset %}
  1109.         {% autoescape false %}{{ descriptionContent | u.truncate(160, '...', false)  }}{% endautoescape %}
  1110.     {% endif %}
  1111. {% endapply %}    
  1112. {% endblock %}
  1113. {% set checkedNiveau = app.request.query.get('niveau') %}
  1114. {% set checkedAge = app.request.query.get('age') %}
  1115. {% set checkedAutre = app.request.query.get('autre') %}
  1116. {% set checkedStatut = app.request.query.get('statut') %}
  1117. {% set checkedAlternance = app.request.query.get('alternance') %}
  1118. {% set checkedFilieres = app.request.query.get('filiere') %}
  1119. {% set checkedDiplomes = app.request.query.get('diplome') %}
  1120. {% set checkedLVA = app.request.query.get('lva') %}
  1121. {% set checkedLVB = app.request.query.get('lvb') %}
  1122. {% set checkedEds = app.request.query.get('eds') %}
  1123. {% block body %}
  1124.     <section class=\"container page-list {{ typeOnglet }}\">
  1125.         <div id=\"breadcrumb\">
  1126.             {% include 'annuaire/_includes/breadcrumb.html.twig' with {
  1127.                 'quoi' : quoi,
  1128.                 'lieu' : lieu,
  1129.                 'typeOnglet' : typeOnglet,
  1130.                 'niveauOnglet' : niveauOnglet,
  1131.                 'niveau' : niveau,
  1132.                 'currentURL' : currentURL,
  1133.                 'diplomeLibelle' : diplomeLibelle,
  1134.                 'count': count,
  1135.             }
  1136.             only %}
  1137.         </div>
  1138.         <ul class=\"page-topnav search-infos\">
  1139.             <li class=\"title-search mb-4\">
  1140. {#
  1141. {{ app.request.attributes.get('_route') }} | annuaire_liste_par_onglet
  1142. {{ app.request.attributes.get('typeOnglet') }} | lycee
  1143. {{ app.request.attributes.get('niveauOnglet') }} | technologique
  1144. {{ app.request.attributes.get('niveau') }} |
  1145. {{ app.request.attributes.get('sousTypeOnglet') }} |
  1146. {{ niveauOnglet}} | technologique
  1147. #}
  1148.                 <h1>{%- block h1 -%}
  1149. {%- apply spaceless -%}
  1150.                     {%- if app.request.attributes.get('_route') == \"annuaire_liste\" or app.request.attributes.get('_route') == \"annuaire_quoi\" -%}
  1151.                     {%- elseif app.request.attributes.get('_route') ==  \"annuaire_prive\" -%}
  1152.                         Enseignement privé
  1153.                     {%- elseif app.request.attributes.get('_route') ==  \"annuaire_catho\" -%}
  1154.                         Enseignement catholique
  1155.                     {%- elseif app.request.attributes.get('typeOnglet') and typeOnglet not in [ 'annuaire-enseignement-prive', 'annuaire-enseignement-catholique'] and app.request.attributes.get('niveauOnglet') == 'tout' -%}
  1156.                         {{ seoTypeOnglet(typeOnglet) }}
  1157.                     {# ----- Supérieur ----------------------------------------------------------- #}    
  1158.                     {%- elseif app.request.attributes.get('_route') == \"annuaire_liste_par_onglet_sup\" and app.request.attributes.get('niveauOnglet') == 'tout' -%}
  1159.                         {{ seoTypeOnglet(typeOnglet) }}
  1160.                     {%- elseif app.request.attributes.get('_route') == \"annuaire_liste_par_onglet_sup\" or app.request.attributes.get('_route') == \"annuaire_liste_par_onglet_sup_localisation\" and app.request.attributes.get('niveauOnglet') and niveauOnglet not in [ 'annuaire-enseignement-prive', 'annuaire-enseignement-catholique'] and app.request.attributes.get('niveauOnglet') != 'tout' -%}
  1161.                         {# ----- Filtres Avec filière ----------------------------------------- #}  
  1162.                         {%- if checkedFilieres is not empty -%}
  1163.                             {%- for filiere in filieres -%}
  1164.                                 {%- if checkedFilieres[0] == filiere.id -%}
  1165.                                     {{ seoFiliere(niveauOnglet) }} {{  filiere.libelleMep ?? filiere.libelle }}
  1166.                                 {%- endif -%}
  1167.                             {%- endfor -%}
  1168.                         {# ----- Filtres Avec diplôme ----------------------------------------- #}  
  1169.                         {%- elseif checkedDiplomes is not empty  -%}
  1170.                             {%- for diplome in diplomes -%}
  1171.                                 {%- if checkedDiplomes[0] == diplome.id -%}
  1172.                                     {{ seoDiplome(niveauOnglet) }} {{ diplome.libelleMep ?? diplome.libelle }}
  1173.                                 {%- endif -%}
  1174.                             {%- endfor -%}
  1175.                         {# ----- Items Menu Avec Diplôme ----------------------------------------- #}  
  1176.                         {%- elseif diplomeLibelle is not empty -%}
  1177.                             {{ seoTypeOnglet(typeOnglet) }} - {{ diplomeLibelle.libelleMep ?? diplomeLibelle.libelle }}
  1178.                         {%- else -%}
  1179.                             {{ seoNiveauOnglet(niveauOnglet) }} 
  1180.                         {%- endif -%}
  1181.                     {# ----- Sous-Onglet ----------------------------------------------------------- #}  
  1182.                     {%- elseif 
  1183.                             app.request.attributes.get('_route') == \"annuaire_liste_par_onglet\" and 
  1184.                             niveauOnglet not in [ 'annuaire-enseignement-prive', 'annuaire-enseignement-catholique'] and 
  1185.                             app.request.attributes.get('niveauOnglet') and 
  1186.                             app.request.attributes.get('niveauOnglet') != 'tout'-%}
  1187.                         {# ----- Condition Type Onglet + pas de Localisation ----------------------------------------- #}  
  1188.                         {%- if lieu | lieuLibelle == 'DEFAULT' -%}
  1189.                             {# ----- Filtres Avec spécialité (lycée général) ----------------------------------------- #}  
  1190.                             {%- if checkedEds is not empty -%}
  1191.                                 {%- for specialite in enseignementsDeSpecialite -%}
  1192.                                     {%- if checkedEds[0] == specialite.id -%}
  1193.                                         {{ seoFiliere(niveauOnglet) }} {{ specialite.libelleMep ?? specialite.libelle  }}
  1194.                                     {%- endif -%}
  1195.                                 {%- endfor -%}
  1196.                             {# ----- Filtres Avec filière ----------------------------------------- #}  
  1197.                             {%- elseif checkedFilieres is not empty -%}
  1198.                                 {% set foundTitle = false %}
  1199.                                 {%- for filiere in filieres -%}
  1200.                                     {%- if checkedFilieres[0] == filiere.id -%}
  1201.                                         {{ seoFiliere(niveauOnglet) }} {{ filiere.libelleMep ?? filiere.libelle }}
  1202.                                         {% set foundTitle = true %}
  1203.                                     {%- endif -%}
  1204.                                 {%- endfor -%}
  1205.                                 {% if not foundTitle %}
  1206.                                     {{ seoFiliere(niveauOnglet) }} {{ checkedFilieres[0] | itemIdLibelle }}
  1207.                                 {% endif %}
  1208.                             {# ----- Filtres Avec diplôme ----------------------------------------- #}  
  1209.                             {%- elseif checkedDiplomes is not empty -%}
  1210.                                 {%- for diplome in diplomes -%}
  1211.                                     {%- if checkedDiplomes[0] == diplome.id -%}
  1212.                                         {{ seoDiplome(niveauOnglet) }} {{ diplome.libelleMep ?? diplome.libelle }}
  1213.                                     {%- endif -%}
  1214.                                 {%- endfor -%}
  1215.                             {%- else -%}
  1216.                                 {{ seoNiveauOnglet(niveauOnglet) }} 
  1217.                             {%- endif -%}
  1218.                         {# ----- Filtres Avec spécialité (lycée général) si localisation ----------------------------------------- #}  
  1219.                         {%- elseif checkedEds is not empty -%}
  1220.                             {%- for specialite in enseignementsDeSpecialite -%}
  1221.                                 {%- if checkedEds[0] == specialite.id -%}
  1222.                                     {{ seoTypeOnglet(typeOnglet) }} avec une spécialité {{ specialite.libelleMep ?? specialite.libelle }}
  1223.                                 {%- endif -%}
  1224.                             {%- endfor -%}
  1225.                         {%- else -%}
  1226.                             {{ seoTypeOnglet(typeOnglet) }} 
  1227.                         {%- endif -%}
  1228.                     {# ----- Sous-Onglet + Localisation ----------------------------------------- #}  
  1229.                     {%- elseif app.request.attributes.get('_route') == \"annuaire_liste_par_onglet_localisation\" and app.request.attributes.get('niveauOnglet') and niveauOnglet not in [ 'annuaire-enseignement-prive', 'annuaire-enseignement-catholique'] and app.request.attributes.get('niveauOnglet') and app.request.attributes.get('niveauOnglet') != 'tout' -%}
  1230.                         {# ----- Filtres Avec spécialité (lycée général) ----------------------------------------- #}  
  1231.                         {% set seo_h1_global = seo_h1() %} {# ceci fusionne les 3 IF ci-dessous car on peut trouver - par exp - une checkedFilieres dans diplomes ! #}
  1232.                         {% if seo_h1_global %}
  1233.                             {{ seo_h1_global }}
  1234.                         {% else %}
  1235.                             {%- if checkedEds is not empty -%}
  1236.                                 {%- for specialite in enseignementsDeSpecialite -%}
  1237.                                     {%- if checkedEds[0] == specialite.id -%}
  1238.                                         {{ seoDiplome(niveauOnglet) }} {{ specialite.libelleMep ?? specialite.libelle }}
  1239.                                     {%- endif -%}
  1240.                                 {%- endfor -%}
  1241.                             {# ----- Filtres Avec filière ----------------------------------------- #}  
  1242.                             {%- elseif checkedFilieres is not empty -%}
  1243.                                 {%- for filiere in filieres -%}
  1244.                                     {%- if checkedFilieres[0] == filiere.id -%}
  1245.                                         {{ seoFiliere(niveauOnglet) }} {{ filiere.libelleMep ?? filiere.libelle }}
  1246.                                     {%- endif -%}
  1247.                                 {%- endfor -%}
  1248.                             {# ----- Filtres Avec diplôme ----------------------------------------- #}  
  1249.                             {%- elseif checkedDiplomes is not empty -%}
  1250.                                 {%- for diplome in diplomes -%}
  1251.                                     {%- if checkedDiplomes[0] == diplome.id -%}
  1252.                                     ?? {{ seoDiplome(niveauOnglet) }} {{ diplome.libelleMep ?? diplome.libelle }}
  1253.                                     {%- endif -%}
  1254.                                 {%- endfor -%}
  1255.                             {%- else -%}
  1256.                                 {{ seoNiveauOnglet(niveauOnglet) }} 
  1257.                             {%- endif -%}
  1258.                         {% endif %}
  1259.                     {%- endif -%}  
  1260.                     {# ----- Les filtres ---------------------------------------------------- #}
  1261.                     {% for item in checkedLVA %} - LVA {{ item | itemIdLibelle }}{% endfor %}
  1262.                     {% for item in checkedLVB %} - LVB {{ item | itemIdLibelle }}{% endfor %}
  1263.                     {% for item in checkedAge %} - {{ item | itemIdLibelle }}{% endfor %}
  1264.                     {% for item in checkedDiplomes %}
  1265.                         {% if '--' in item %}
  1266.                             {% set diplome = item | split('--')[1] | upper %}
  1267.                             - {{ diplome }}
  1268.                         {% else %}
  1269.                             - {{ item | itemIdLibelle }}
  1270.                         {% endif %}
  1271.                     {% endfor %}
  1272.                     {# ----- Lieu ----------------------------------------------------------- #}
  1273.                     {%- set departement = lieu | lieuDepartement -%}
  1274.                     {%- set ville = lieu | lieuVille -%}
  1275.                     {%- if lieu | lieuLibelle != 'DEFAULT' -%}
  1276.                         -
  1277.                         {%- if ville is not empty -%}
  1278.                             &nbsp;{{ lieu | lieuLibelle | raw }} - {{ departement.libelle | raw }}
  1279.                         {%- else -%}   
  1280.                             &nbsp;{{ lieu | lieuLibelle | raw  }} 
  1281.                         {%- endif -%}
  1282.                     {%- endif -%}
  1283. {%- endapply -%}
  1284.                 {% endblock %}</h1>
  1285.                 <div class=\"triangle\"></div>
  1286.             </li>
  1287.             {#<li>
  1288.                 <span>{{ count | number_format(0, ' ', ' ') }}
  1289.                     résultat{% if count > 1 %}s{% endif %}
  1290.                 </span>
  1291.             </li>#}
  1292.         </ul>
  1293.         
  1294.         <div class=\"wrap\">
  1295.             {# {% cache \"annuaire_liste_par_onglet;section;v1;\" ~ cache_id %} #}
  1296.             
  1297.             <section>
  1298.                 {% if pageOne and count > 15 %}
  1299.                 <div class=\"list-description\">
  1300.                 <!-- #DEBUG#SEO#[ {{formation}} ]# -->
  1301.                     <div class=\"content\">
  1302.                         {# SEO - Aide au choix Diplômes #}
  1303.                         {# {% if currentRoute in ['annuaire_liste_par_onglet', 'annuaire_liste_par_onglet_sup'] and typeOnglet in ['lycee', 'professionnel', 'superieur'] %} #}
  1304.                         {% if typeOnglet in ['ecole','college','lycee', 'professionnel', 'superieur','internat'] %}
  1305.                             {% include \"annuaire/_includes/aide-au-choix-diplomes_\"~typeOnglet~\".html.twig\" with {'position': 'header'}%}
  1306.                         {% endif %}
  1307.                     </div>
  1308.                 </div>
  1309.                 {% endif %}
  1310.                 {#<div class=\"d-lg-none\">#}
  1311.                 {% include 'annuaire/_includes/search-options.html.twig' %}
  1312.                 {#</div>#}
  1313.                 {# SEO - maillage - Liste niveau d’enseignement Vs Liste tous niveaux #}
  1314.                 {#{% include \"annuaire/_includes/autres-etablissements.html.twig\" %}#}
  1315.                 <div class=\"clearfix establishments-list\">
  1316.                     {% if app.request.query is not empty %}
  1317.                         <p class=\"options\">
  1318.                             <span class=\"search\">Ma recherche :</span>
  1319.                             {% for item in checkedNiveau %}
  1320.                                 <span class=\"option-title\">{{ item | itemIdLibelle }}</span>
  1321.                             {% endfor %}
  1322.                             {% for item in checkedAge %}
  1323.                                 <span class=\"option-title\">{{ item | itemIdLibelle }}</span>
  1324.                             {% endfor %}
  1325.                             {% for item in checkedAutre %}
  1326.                                 <span data-id=\"{{item}}\" class=\"option-title\">{{ item | itemIdLibelle }}</span>
  1327.                             {% endfor %}
  1328.                             {% for item in checkedStatut %}
  1329.                                 <span data-id=\"{{item}}\" class=\"option-title\">{{ item | itemIdLibelle }}</span>
  1330.                             {% endfor %}
  1331.                             {% for item in checkedAlternance %}
  1332.                                 <span data-id=\"{{item}}\" class=\"option-title\">{{ item | itemIdLibelle }}</span>
  1333.                             {% endfor %}
  1334.                             {% for item in checkedFilieres %}
  1335.                                 <span data-id=\"{{item}}\" class=\"option-title\">{{ item | itemIdLibelle }}</span>
  1336.                             {% endfor %}
  1337.                             {% for item in checkedLVA %}
  1338.                                 <span data-id=\"{{item}}\" class=\"option-title lva\">{{ item | itemIdLibelle }}</span>
  1339.                             {% endfor %}
  1340.                             {% for item in checkedLVB %}
  1341.                                 <span data-id=\"{{item}}\" class=\"option-title lvb\">{{ item | itemIdLibelle }}</span>
  1342.                             {% endfor %}
  1343.                             {% for item in checkedEds %}
  1344.                                 <span data-id=\"{{item}}\" class=\"option-title\">{{ item | itemIdLibelle }}</span>
  1345.                             {% endfor %}
  1346.                             {% set diplome = '' %}
  1347.                             {% for item in checkedDiplomes %}
  1348.                                 {% if '--' in item %}
  1349.                                     {% set diplome = item | split('--')[1] | upper %}
  1350.                                     <span data-id=\"{{item}}\" class=\"option-title\">{{ diplome }}</span>
  1351.                                 {% else %}
  1352.                                     <span data-id=\"{{item}}\" class=\"option-title\">{{ item | itemIdLibelle }}</span>
  1353.                                 {% endif %}
  1354.                             {% endfor %}
  1355.                         </p>
  1356.                     {% endif %}
  1357.                     {# TODO : optimiz : 130 SQL ici #}
  1358.                     {% include 'annuaire/_includes/liste-item-list.html.twig' %}
  1359.                 </div>
  1360.                 {# SEO - maillage - Liste niveau d’enseignement Vs Liste tous niveaux #}{#
  1361.                 {% include \"annuaire/_includes/autres-etablissements.html.twig\" %}#}
  1362.             </section>
  1363.             {# {% endcache %} #}
  1364.             <aside>
  1365.                 {% include '_includes/banners-list.html.twig' with {
  1366.                 'emplacement': onglet2banniereEmplacement(quoi.libelle) ?: etablissements2banniereEmplacement(etablissements),
  1367.                 'lieu': lieu.slug,
  1368.             } only %}
  1369.                 <div class=\"d-none\">
  1370.                     {% include 'annuaire/_includes/search-options.html.twig' %}
  1371.                 </div>
  1372.                 <div class=\"last-flex\">
  1373.                     <ul class=\"banners\">
  1374.                         <li class=\"long banniere-container\"
  1375.                             data-type=\"{{ constant('App\\\\Entity\\\\Banniere::MEGA_BANNIERE') }}\"
  1376.                             data-emplacement=\"{{ emplacement | default('') }}\"
  1377.                             data-lieu=\"\" data-single=\"0\"></li>
  1378.                     </ul>
  1379.                     {% if internats %}
  1380.                         {% include 'annuaire/_includes/internats.html.twig' %}
  1381.                     {% endif %}
  1382.                     {% include 'annuaire/_includes/lien-guide.html.twig' %}
  1383.                     {% include '_includes/newsletter.html.twig' %}
  1384.                     {% include '_includes/last-search.html.twig' %}
  1385.                     {% include '_includes/last-establishment.html.twig' %}
  1386.                 </div>
  1387.             </aside>
  1388.         </div>
  1389.     </section>
  1390. {% endblock %}
  1391. {% block javascripts %}
  1392.     {% if seoTextePart2 %}
  1393.         <script>
  1394.             let div = document.getElementById(\"about-part1\");
  1395.             let paragraphs = div.querySelectorAll(\"p\");
  1396.             let lastParagraphIndex = paragraphs.length - 1;
  1397.             let lastParagraph = paragraphs[lastParagraphIndex];
  1398.             {# let newElement = document.createElement(\"span\");
  1399.             newElement.innerHTML = \" <span class='show-more'><a href='javascript:void(0)'><u>Lire plus</u></a></span>\";
  1400.             lastParagraph.appendChild(newElement); #}
  1401.         </script>
  1402.     {% endif %}
  1403. {% endblock %}
  1404. {% block data_layer %}
  1405. <script>
  1406. {% set lieuLibelle = lieu | lieuLibelle %}
  1407. {% set region = region ? region.libelle : null %}
  1408. {% set departement = departement ? departement.id : null %}
  1409. {% set ville = ville ? ville.libelle : null %}
  1410. {% set listItems = [] %}
  1411. {% for etablissement in etablissements %}
  1412.     {% set listItems = listItems | merge([{
  1413.         item_id: etablissement.id,
  1414.         item_name: etablissement.denomination,
  1415.         item_category: 'etablissement',
  1416.         item_category2: typeOnglet | default(null),
  1417.         item_category3: null,
  1418.         item_category4: etablissement.sousContrat ? 'sous_contrat' : 'hors_contrat',
  1419.         location_id: etablissement.ville.departement.id ~ \"_\" ~ etablissement.codePostal ~ \"_\" ~ etablissement.ville.slug | replace({'-': '_'}),
  1420.         etablissement_segment: etablissement.isClient ? 'client' : 'prospect',
  1421.         index: loop.index + ((etablissements.currentPageNumber | default(1) - 1) * (etablissements.getItemNumberPerPage() | default(0)))
  1422.     }]) %}
  1423. {% endfor %}
  1424. // 1. Contexte global de la page liste
  1425. dataLayer.push({
  1426.     event: \"page_context\",
  1427.     page_type: \"liste_etablissements\",
  1428.     liste_type: {{ liste_type | default(null) | json_encode | raw }},
  1429.     site_section: \"annuaire\",
  1430.     education_niveau: {{ typeOnglet | default(null) | json_encode | raw }},
  1431.     education_sous_niveau: {{ niveauOnglet | default(null) | json_encode | raw }},
  1432.     region: {{ (region ?? null) | json_encode(constant('JSON_UNESCAPED_UNICODE')) | raw }},
  1433.     departement: {{ (departement ?? null) | json_encode(constant('JSON_UNESCAPED_UNICODE')) | raw }},
  1434.     ville: {{ ville | default(null) | json_encode(constant('JSON_UNESCAPED_UNICODE')) | raw }},
  1435.     code_postal: {{ (lieu.codePostal ?? null) | json_encode | raw }},
  1436.     recherche_type: {{ recherche_type | default(null) | json_encode | raw }},
  1437.     total_resultats: {{ count | default(0) }},
  1438.     numero_pagination: {{ etablissements.currentPageNumber | default(1) }}
  1439. });
  1440. // 2. Événement métier : affichage des établissements réellement présents dans la liste
  1441. dataLayer.push({ ecommerce: null });
  1442. dataLayer.push({
  1443.   event: \"view_item_list\",
  1444.   ecommerce: {
  1445.     item_list_id: {{ ('annuaire_' ~ (typeOnglet | default('')) ~ '_' ~ (niveauOnglet | default('')) ~ '_' ~ (lieu != 'DEFAULT' ? lieu.id | replace({'-': '_'}) : 'tous')) | lower | replace({'-': '_'}) | json_encode | raw }},
  1446.     item_list_name: {{ ('Annuaire - ' ~ (typeOnglet | default('')) ~ ' - ' ~ (niveauOnglet | default('')) ~ ' - ' ~ (lieuLibelle != 'DEFAULT' ? lieuLibelle : 'tous')) | json_encode(constant('JSON_UNESCAPED_UNICODE')) | raw }},
  1447.     items: {{ listItems | json_encode(constant('JSON_UNESCAPED_UNICODE')) | raw }}
  1448.   }
  1449. });
  1450. console.log(dataLayer);
  1451. </script>
  1452. {% endblock %}""annuaire/liste.html.twig""/app/templates/annuaire/liste.html.twig");
  1453.     }
  1454. }