var/cache/dev/twig/ce/ce484f4ef477a0f74f775d46919493c7b89f946d005cc4126fe2b34acafe91cb.php line 349

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. /* base.html.twig */
  14. class __TwigTemplate_c9a8f26e4c67e4400f6f1d1a93b2acd78733561fe27d3fd35277854386de8893 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->parent false;
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'description' => [$this'block_description'],
  26.             'data_layer' => [$this'block_data_layer'],
  27.             'body' => [$this'block_body'],
  28.             'stylesheets' => [$this'block_stylesheets'],
  29.             'javascripts' => [$this'block_javascripts'],
  30.         ];
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  39.         // line 1
  40.         $context["urlCanonical"] = ((array_key_exists("urlCanonical"$context)) ? (_twig_default_filter((isset($context["urlCanonical"]) || array_key_exists("urlCanonical"$context) ? $context["urlCanonical"] : (function () { throw new RuntimeError('Variable "urlCanonical" does not exist.'1$this->source); })()), 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.'1$this->source); })()), "request", [], "any"falsefalsefalse1), "uri", [], "any"falsefalsefalse1))) : (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.'1$this->source); })()), "request", [], "any"falsefalsefalse1), "uri", [], "any"falsefalsefalse1)));
  41.         // line 2
  42.         echo "<!DOCTYPE html>
  43. <html lang=\"fr\">
  44.     <head>
  45.         ";
  46.         // line 5
  47.         if ((array_key_exists("robots_tag"$context) &&  !(null === (isset($context["robots_tag"]) || array_key_exists("robots_tag"$context) ? $context["robots_tag"] : (function () { throw new RuntimeError('Variable "robots_tag" does not exist.'5$this->source); })())))) {
  48.             // line 6
  49.             echo "<meta name=\"robots\" content=\"";
  50.             echo twig_escape_filter($this->env, (isset($context["robots_tag"]) || array_key_exists("robots_tag"$context) ? $context["robots_tag"] : (function () { throw new RuntimeError('Variable "robots_tag" does not exist.'6$this->source); })()), "html"nulltrue);
  51.             echo "\">
  52.         ";
  53.         } elseif ((        // line 7
  54. array_key_exists("noindex"$context) && (=== twig_compare((isset($context["noindex"]) || array_key_exists("noindex"$context) ? $context["noindex"] : (function () { throw new RuntimeError('Variable "noindex" does not exist.'7$this->source); })()), true)))) {
  55.             // line 8
  56.             echo "<meta name=\"robots\" content=\"noindex, nofollow\">
  57.         ";
  58.         } else {
  59.             // line 10
  60.             echo "<meta name=\"robots\" content=\"";
  61.             echo (($this->extensions['App\Twig\RobotsExtension']->isNoIndex()) ? ("noindex, nofollow") : ("index, follow"));
  62.             echo "\">
  63.         ";
  64.         }
  65.         // line 12
  66.         echo "<meta charset=\"UTF-8\">
  67.         <title>";
  68.         // line 13
  69.         ob_start();
  70.         ob_start();
  71.         $this->displayBlock('title'$context$blocks);
  72.         $___internal_parse_1_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  73.         echo twig_spaceless($___internal_parse_1_);
  74.         $___internal_parse_0_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  75.         echo twig_escape_filter($this->env$this->extensions['App\Twig\SeoTwigExtension']->cleanWhitespace($___internal_parse_0_), "html"nulltrue);
  76.         echo "</title>
  77.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/>
  78.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  79.         <meta name=\"description\" content=\"";
  80.         // line 16
  81.         ob_start();
  82.         $this->displayBlock('description'$context$blocks);
  83.         $___internal_parse_2_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  84.         echo twig_spaceless($___internal_parse_2_);
  85.         echo "\"/>
  86.         <meta name=\"trustpilot-one-time-domain-verification-id\" content=\"51974281-b2ee-4cb4-b89a-546e6217fa70\"/>
  87.         <link rel=\"canonical\" href=\"";
  88.         // line 20
  89.         echo twig_escape_filter($this->envtwig_replace_filter((isset($context["urlCanonical"]) || array_key_exists("urlCanonical"$context) ? $context["urlCanonical"] : (function () { throw new RuntimeError('Variable "urlCanonical" does not exist.'20$this->source); })()), ["http://" => "https://"]), "html"nulltrue);
  90.         echo "\">
  91.         ";
  92.         // line 21
  93.         if ((array_key_exists("urlAmp"$context) &&  !twig_test_empty((isset($context["urlAmp"]) || array_key_exists("urlAmp"$context) ? $context["urlAmp"] : (function () { throw new RuntimeError('Variable "urlAmp" does not exist.'21$this->source); })())))) {
  94.             // line 22
  95.             echo "            <link rel=\"amphtml\" href=\"";
  96.             echo twig_escape_filter($this->envtwig_replace_filter((isset($context["urlAmp"]) || array_key_exists("urlAmp"$context) ? $context["urlAmp"] : (function () { throw new RuntimeError('Variable "urlAmp" does not exist.'22$this->source); })()), ["http://" => "https://"]), "html"nulltrue);
  97.             echo "\">
  98.         ";
  99.         }
  100.         // line 25
  101.         echo "<meta property=\"og:title\" content=\"";
  102.         ob_start();
  103.         $this->displayBlock("title"$context$blocks);
  104.         $___internal_parse_3_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  105.         echo twig_spaceless($___internal_parse_3_);
  106.         echo "\">
  107.         <meta property=\"og:description\" content=\"";
  108.         // line 26
  109.         ob_start();
  110.         $this->displayBlock("description"$context$blocks);
  111.         $___internal_parse_4_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  112.         echo twig_spaceless($___internal_parse_4_);
  113.         echo "\">
  114.         <meta property=\"og:type\" content=\"website\">
  115.         <meta property=\"og:image\" content=\"";
  116.         // line 28
  117.         echo twig_escape_filter($this->envtwig_replace_filter($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logo.png")), ["http://" => "https://"]), "html"nulltrue);
  118.         echo "\">
  119.         <meta property=\"og:url\" content=\"";
  120.         // line 29
  121.         echo twig_escape_filter($this->envtwig_replace_filter((isset($context["urlCanonical"]) || array_key_exists("urlCanonical"$context) ? $context["urlCanonical"] : (function () { throw new RuntimeError('Variable "urlCanonical" does not exist.'29$this->source); })()), ["http://" => "https://"]), "html"nulltrue);
  122.         echo "\">
  123.         <meta property=\"og:locale\" content=\"fr_FR\">
  124.         <meta property=\"og:site_name\" content=\"L'annuaire officiel de l'enseignement privé\">
  125.         <meta name=\"google-site-verification\" content=\"";
  126.         // line 32
  127.         echo twig_escape_filter($this->env, (isset($context["googleSiteVerification"]) || array_key_exists("googleSiteVerification"$context) ? $context["googleSiteVerification"] : (function () { throw new RuntimeError('Variable "googleSiteVerification" does not exist.'32$this->source); })()), "html"nulltrue);
  128.         echo "\" />
  129.         <link rel=\"sitemap\" href=\"";
  130.         // line 33
  131.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("sitemap.xml"), "html"nulltrue);
  132.         echo "\" />
  133.         <meta name=\"language\" content=\"fr\">
  134.         <meta name=\"viewport\" content=\"user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1\">
  135.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  136.         <meta name=\"msapplication-tap-highlight\" content=\"no\">
  137.         <meta name=\"format-detection\" content=\"telephone=no\">
  138.         <style type=\"text/css\">
  139.             body, html {
  140.                 opacity: 0;
  141.                 visibility: hidden;
  142.                 transition: opacity .3s ease-in-out;
  143.             }
  144.         </style>
  145.         <link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"";
  146.         // line 48
  147.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\WebLinkExtension']->preload($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("apple-touch-icon.png"), ["as" => "image""nopush" => true]), "html"nulltrue);
  148.         echo "\">
  149.         <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
  150.         // line 49
  151.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\WebLinkExtension']->preload($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon-32x32.png"), ["as" => "image""nopush" => true]), "html"nulltrue);
  152.         echo "\">
  153.         <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"";
  154.         // line 50
  155.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\WebLinkExtension']->preload($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon-16x16.png"), ["as" => "image""nopush" => true]), "html"nulltrue);
  156.         echo "\">
  157.         <link rel=\"manifest\" href=\"";
  158.         // line 51
  159.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("manifest.json"), "html"nulltrue);
  160.         echo "\">
  161.         <link rel=\"mask-icon\" href=\"";
  162.         // line 52
  163.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("safari-pinned-tab.svg"), "html"nulltrue);
  164.         echo "\" color=\"#5bbad5\">
  165.         <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  166.         <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  167.         <meta name=\"theme-color\" content=\"#ffffff\">
  168.         <script>var cookie_notice = {\"cookie_notice_position\":\"bottom\",\"cookie_notice_fontfamily\":\"Helvetica, Arial, sans-serif\",\"cookie_notice_textcolor\":\"#fff\",\"cookie_notice_textsize\":\"12\",\"cookie_notice_bgcolor\":\"#2184a4\",\"cookie_notice_opacity\":\"1\",\"cookie_notice_apperance\":\"slide\",\"cookie_notice_accept_bgcolor\":\"#31b5df\",\"cookie_notice_accept_color\":\"#fff\",\"cookie_notice_accept_shape\":\"square\",\"cookie_notice_accept_radius\":\"0\"};</script>
  169.         
  170.         ";
  171.         // line 60
  172.         if ((array_key_exists("etablissement"$context) &&  !(null === (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'60$this->source); })())))) {
  173.             // line 61
  174.             echo "            ";
  175.             if (twig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'61$this->source); })()), "isClient", [], "any"falsefalsefalse61)) {
  176.                 // line 62
  177.                 echo "            ";
  178.                 $context["content_group"] = "content_group5";
  179.                 // line 63
  180.                 echo "            ";
  181.             } else {
  182.                 // line 64
  183.                 echo "            ";
  184.                 $context["content_group"] = "content_group4";
  185.                 // line 65
  186.                 echo "            ";
  187.             }
  188.             // line 66
  189.             echo "
  190.             ";
  191.             // line 67
  192.             if ((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'67$this->source); })()), "typeClient", [], "any"falsefalsefalse67), "internat"))) {
  193.                 // line 68
  194.                 echo "            ";
  195.                 $context["onglet"] = "internat";
  196.                 // line 69
  197.                 echo "            ";
  198.             } else {
  199.                 // line 70
  200.                 echo "            ";
  201.                 $context["onglet"] = $this->extensions['App\Twig\TypeOngletExtension']->type(twig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'70$this->source); })()), "type", [], "any"falsefalsefalse70));
  202.                 // line 71
  203.                 echo "            ";
  204.             }
  205.             // line 72
  206.             echo "        ";
  207.         }
  208.         // line 73
  209.         echo "
  210.         <script type=\"application/ld+json\">";
  211.         // line 74
  212.         echo json_encode($this->extensions['App\Twig\JsonLdExtension']->website());
  213.         echo "</script>
  214.         ";
  215.         // line 75
  216.         $context['_parent'] = $context;
  217.         $context['_seq'] = twig_ensure_traversable((isset($context["siteLdJson"]) || array_key_exists("siteLdJson"$context) ? $context["siteLdJson"] : (function () { throw new RuntimeError('Variable "siteLdJson" does not exist.'75$this->source); })()));
  218.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  219.             // line 76
  220.             if ((=== twig_compare($context["item"], "etablissement"))) {
  221.                 // line 77
  222.                 echo "<script type=\"application/ld+json\">";
  223.                 echo json_encode($this->extensions['App\Twig\JsonLdExtension']->etablissement((isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'77$this->source); })()), $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/no-logo.png")));
  224.                 echo "</script>
  225.                 
  226.                 <!-- #formations -->
  227.                 <script type=\"application/ld+json\">";
  228.                 // line 80
  229.                 echo $this->extensions['App\Twig\JsonLdExtension']->diplomes((isset($context["formations"]) || array_key_exists("formations"$context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.'80$this->source); })()), (isset($context["dc"]) || array_key_exists("dc"$context) ? $context["dc"] : (function () { throw new RuntimeError('Variable "dc" does not exist.'80$this->source); })()), (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'80$this->source); })()));
  230.                 echo "</script>
  231.                 <!-- #formations# -->
  232.                 ";
  233.                 // line 83
  234.                 if ((=== twig_compare(twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'83$this->source); })()), "videos", [], "any"falsefalsefalse83)), 0))) {
  235.                     // line 84
  236.                     echo "<script type=\"application/ld+json\">";
  237.                     echo json_encode($this->extensions['App\Twig\JsonLdExtension']->video(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'84$this->source); })()), "videos", [], "any"falsefalsefalse84), 0, [], "array"falsefalsefalse84)));
  238.                     echo "</script>
  239.                 ";
  240.                 }
  241.                 // line 86
  242.                 echo "                ";
  243.                 if ((=== twig_compare(twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'86$this->source); })()), "diaporamas", [], "any"falsefalsefalse86)), 0))) {
  244.                     // line 87
  245.                     echo "<script type=\"application/ld+json\">";
  246.                     echo json_encode($this->extensions['App\Twig\JsonLdExtension']->diapo(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'87$this->source); })()), "diaporamas", [], "any"falsefalsefalse87), 0, [], "array"falsefalsefalse87), "photo", [], "any"falsefalsefalse87), 0, [], "array"falsefalsefalse87)));
  247.                     echo "</script>
  248.                 ";
  249.                 }
  250.                 // line 89
  251.                 echo "                ";
  252.                 if ((=== twig_compare(twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'89$this->source); })()), "actualites", [], "any"falsefalsefalse89)), 0))) {
  253.                     // line 90
  254.                     $context['_parent'] = $context;
  255.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["etablissement"]) || array_key_exists("etablissement"$context) ? $context["etablissement"] : (function () { throw new RuntimeError('Variable "etablissement" does not exist.'90$this->source); })()), "actualites", [], "any"falsefalsefalse90));
  256.                     foreach ($context['_seq'] as $context["_key"] => $context["actu"]) {
  257.                         // line 91
  258.                         echo "                    <script type=\"application/ld+json\">";
  259.                         echo json_encode($this->extensions['App\Twig\JsonLdExtension']->actualite($context["actu"]));
  260.                         echo "</script>
  261.                 ";
  262.                     }
  263.                     $_parent $context['_parent'];
  264.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['actu'], $context['_parent'], $context['loop']);
  265.                     $context array_intersect_key($context$_parent) + $_parent;
  266.                     // line 93
  267.                     echo "                ";
  268.                 }
  269.             } elseif (((=== twig_compare(            // line 94
  270. $context["item"], "offre-emploi")) && twig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'94$this->source); })()), "jsonLd", [], "any"falsefalsefalse94))) {
  271.                 // line 95
  272.                 echo "<script type=\"application/ld+json\">";
  273.                 echo twig_get_attribute($this->env$this->source, (isset($context["offre"]) || array_key_exists("offre"$context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.'95$this->source); })()), "jsonLd", [], "any"falsefalsefalse95);
  274.                 echo "</script>
  275.             ";
  276.             }
  277.         }
  278.         $_parent $context['_parent'];
  279.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  280.         $context array_intersect_key($context$_parent) + $_parent;
  281.         // line 98
  282.         if ((array_key_exists("faqs"$context) && (=== twig_compare(twig_length_filter($this->env, (isset($context["faqs"]) || array_key_exists("faqs"$context) ? $context["faqs"] : (function () { throw new RuntimeError('Variable "faqs" does not exist.'98$this->source); })())), 0)))) {
  283.             // line 99
  284.             echo "<script type=\"application/ld+json\">";
  285.             echo $this->extensions['App\Twig\JsonLdExtension']->generateFaqJsonLd((isset($context["faqs"]) || array_key_exists("faqs"$context) ? $context["faqs"] : (function () { throw new RuntimeError('Variable "faqs" does not exist.'99$this->source); })()));
  286.             echo "</script>
  287.         ";
  288.         }
  289.         // line 103
  290.         echo "        <script>
  291.         window.dataLayer = window.dataLayer || [];
  292.         </script>
  293.         ";
  294.         // line 108
  295.         echo "        ";
  296.         $this->displayBlock('data_layer'$context$blocks);
  297.         // line 109
  298.         echo "
  299.         <!-- Google Tag Manager -->
  300.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  301.         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  302.         j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  303.         'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  304.         })(window,document,'script','dataLayer','";
  305.         // line 115
  306.         echo twig_escape_filter($this->env, (isset($context["google_tag_manager"]) || array_key_exists("google_tag_manager"$context) ? $context["google_tag_manager"] : (function () { throw new RuntimeError('Variable "google_tag_manager" does not exist.'115$this->source); })()), "html"nulltrue);
  307.         echo "');</script>
  308.         <!-- End Google Tag Manager -->
  309.     </head>
  310.     <body>
  311.         <!-- Google Tag Manager (noscript) -->
  312.         <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=";
  313.         // line 122
  314.         echo twig_escape_filter($this->env, (isset($context["google_tag_manager"]) || array_key_exists("google_tag_manager"$context) ? $context["google_tag_manager"] : (function () { throw new RuntimeError('Variable "google_tag_manager" does not exist.'122$this->source); })()), "html"nulltrue);
  315.         echo "\"
  316.         height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  317.         <!-- End Google Tag Manager (noscript) -->
  318.         ";
  319.         // line 127
  320.         echo "        ";
  321.         $this->loadTemplate("_includes/header.html.twig""base.html.twig"127)->display($context);
  322.         // line 128
  323.         echo "        ";
  324.         // line 129
  325.         echo "        ";
  326.         $this->loadTemplate("_includes/alerts.html.twig""base.html.twig"129)->display($context);
  327.         // line 130
  328.         echo "        ";
  329.         $this->displayBlock('body'$context$blocks);
  330.         // line 131
  331.         echo "        ";
  332.         $this->loadTemplate("_includes/footer.html.twig""base.html.twig"131)->display($context);
  333.         // line 132
  334.         echo "
  335.         ";
  336.         // line 134
  337.         echo "
  338.         <link rel=\"preload\" as=\"font\" href=\"https://fonts.googleapis.com/css?family=Open+Sans:400,600,700\" as=\"style\" onload=\"this.onload=null;this.rel='stylesheet'\">
  339.         <noscript><link href=\"https://fonts.googleapis.com/css?family=Open+Sans:400,600,700\" rel=\"stylesheet\"></noscript>
  340.         
  341.         ";
  342.         // line 142
  343.         echo "        ";
  344.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  345.         echo "
  346.         ";
  347.         // line 144
  348.         $this->displayBlock('stylesheets'$context$blocks);
  349.         // line 145
  350.         echo "        <script>
  351.             /*! loadCSS: load a CSS file asynchronously. [c]2016 @scottjehl, Filament Group, Inc. Licensed MIT */
  352.             !function(a) {
  353.                 \"use strict\";
  354.                 var b = function(b, c, d) {
  355.                     function j(a) {
  356.                         if (e.body)
  357.                             return a();
  358.                         setTimeout(function() {
  359.                             j(a)
  360.                         })
  361.                     }
  362.                     function l() {
  363.                         f.addEventListener && f.removeEventListener(\"load\", l),
  364.                         f.media = d || \"all\"
  365.                     }
  366.                     var g,
  367.                         e = a.document,
  368.                         f = e.createElement(\"link\");
  369.                     if (c)
  370.                         g = c;
  371.                     else {
  372.                         var h = (e.body || e.getElementsByTagName(\"head\")[0]).childNodes;
  373.                         g = h[h.length - 1]
  374.                     }
  375.                     var i = e.styleSheets;
  376.                     f.rel = \"stylesheet\",
  377.                     f.href = b,
  378.                     f.media = \"only x\",
  379.                     j(function() {
  380.                         g.parentNode.insertBefore(
  381.                             f,
  382.                             c
  383.                                 ? g
  384.                                 : g.nextSibling
  385.                         )
  386.                     });
  387.                     var k = function(a) {
  388.                         for (var b = f.href, c = i.length; c--;)
  389.                             if (i[c].href === b)
  390.                                 return a();
  391.                     setTimeout(function() {
  392.                             k(a)
  393.                         })
  394.                     };
  395.                     return f.addEventListener && f.addEventListener(\"load\", l),
  396.                     f.onloadcssdefined = k,
  397.                     k(l),
  398.                     f
  399.                 };
  400.                 \"undefined\" != typeof exports
  401.                     ? exports.loadCSS = b
  402.                     : a.loadCSS = b
  403.             }(
  404.                 \"undefined\" != typeof global
  405.                     ? global
  406.                     : this
  407.             ),
  408.             function(a) {
  409.                 if (a.loadCSS) {
  410.                     var b = loadCSS.relpreload = {};
  411.                     if (b.support = function() {
  412.                         try {
  413.                             return a.document.createElement(\"link\").relList.supports(\"preload\")
  414.                         } catch (a) {}
  415.                     }, b.poly = function() {
  416.                         for (var b = a.document.getElementsByTagName(\"link\"), c = 0; c < b.length; c++) {
  417.                             var d = b[c];
  418.                             \"preload\" === d.rel && \"style\" === d.getAttribute(\"as\") && (a.loadCSS(d.href, d), d.rel = null)
  419.                         }
  420.                     }, !b.support()) {
  421.                         b.poly();
  422.                         var c = a.setInterval(b.poly, 300);
  423.                         a.addEventListener && a.addEventListener(\"load\", function() {
  424.                             a.clearInterval(c)
  425.                         })
  426.                     }
  427.                 }
  428.             }(this);
  429.         </script>
  430.         ";
  431.         // line 227
  432.         echo "        ";
  433.         // line 230
  434.         echo "        ";
  435.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  436.         echo "
  437.         
  438.         ";
  439.         // line 232
  440.         $this->displayBlock('javascripts'$context$blocks);
  441.         // line 233
  442.         echo "    </body>
  443. </html>
  444. ";
  445.         
  446.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  447.         
  448.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  449.     }
  450.     // line 13
  451.     public function block_title($context, array $blocks = [])
  452.     {
  453.         $macros $this->macros;
  454.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  455.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  456.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  457.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  458.         echo "Annuaire de l'enseignement privé";
  459.         
  460.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  461.         
  462.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  463.     }
  464.     // line 16
  465.     public function block_description($context, array $blocks = [])
  466.     {
  467.         $macros $this->macros;
  468.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  469.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  470.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  471.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  472.         
  473.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  474.         
  475.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  476.     }
  477.     // line 108
  478.     public function block_data_layer($context, array $blocks = [])
  479.     {
  480.         $macros $this->macros;
  481.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  482.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""data_layer"));
  483.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  484.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""data_layer"));
  485.         
  486.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  487.         
  488.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  489.     }
  490.     // line 130
  491.     public function block_body($context, array $blocks = [])
  492.     {
  493.         $macros $this->macros;
  494.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  495.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  496.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  497.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  498.         
  499.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  500.         
  501.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  502.     }
  503.     // line 144
  504.     public function block_stylesheets($context, array $blocks = [])
  505.     {
  506.         $macros $this->macros;
  507.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  508.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  509.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  510.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  511.         
  512.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  513.         
  514.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  515.     }
  516.     // line 232
  517.     public function block_javascripts($context, array $blocks = [])
  518.     {
  519.         $macros $this->macros;
  520.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  521.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  522.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  523.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  524.         
  525.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  526.         
  527.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  528.     }
  529.     public function getTemplateName()
  530.     {
  531.         return "base.html.twig";
  532.     }
  533.     public function isTraitable()
  534.     {
  535.         return false;
  536.     }
  537.     public function getDebugInfo()
  538.     {
  539.         return array (  567 => 232,  549 => 144,  531 => 130,  513 => 108,  495 => 16,  476 => 13,  464 => 233,  462 => 232,  456 => 230,  454 => 227,  371 => 145,  369 => 144,  363 => 142,  357 => 134,  354 => 132,  351 => 131,  348 => 130,  345 => 129,  343 => 128,  340 => 127,  333 => 122,  323 => 115,  315 => 109,  312 => 108,  306 => 103,  300 => 99,  298 => 98,  288 => 95,  286 => 94,  283 => 93,  274 => 91,  270 => 90,  267 => 89,  261 => 87,  258 => 86,  252 => 84,  250 => 83,  244 => 80,  237 => 77,  235 => 76,  231 => 75,  227 => 74,  224 => 73,  221 => 72,  218 => 71,  215 => 70,  212 => 69,  209 => 68,  207 => 67,  204 => 66,  201 => 65,  198 => 64,  195 => 63,  192 => 62,  189 => 61,  187 => 60,  176 => 52,  172 => 51,  168 => 50,  164 => 49,  160 => 48,  142 => 33,  138 => 32,  132 => 29,  128 => 28,  120 => 26,  112 => 25,  106 => 22,  104 => 21,  100 => 20,  90 => 16,  78 => 13,  75 => 12,  69 => 10,  65 => 8,  63 => 7,  58 => 6,  56 => 5,  51 => 2,  49 => 1,);
  540.     }
  541.     public function getSourceContext()
  542.     {
  543.         return new Source("{%- set urlCanonical = urlCanonical | default(app.request.uri) -%}
  544. <!DOCTYPE html>
  545. <html lang=\"fr\">
  546.     <head>
  547.         {% if robots_tag is defined and robots_tag is not null -%}
  548.             <meta name=\"robots\" content=\"{{ robots_tag }}\">
  549.         {% elseif noindex is defined and noindex == true -%}
  550.             <meta name=\"robots\" content=\"noindex, nofollow\">
  551.         {% else -%}
  552.             <meta name=\"robots\" content=\"{{ isNoIndex() ? 'noindex, nofollow' : 'index, follow' }}\">
  553.         {% endif -%}
  554.         <meta charset=\"UTF-8\">
  555.         <title>{% apply clean_whitespace %}{% apply spaceless %}{% block title %}Annuaire de l'enseignement privé{% endblock %}{% endapply %}{% endapply %}</title>
  556.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/>
  557.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  558.         <meta name=\"description\" content=\"{% apply spaceless %}{% block description %}{% endblock %}{% endapply %}\"/>
  559.         <meta name=\"trustpilot-one-time-domain-verification-id\" content=\"51974281-b2ee-4cb4-b89a-546e6217fa70\"/>
  560.         <link rel=\"canonical\" href=\"{{ urlCanonical | replace({'http://': 'https://'}) }}\">
  561.         {% if urlAmp is defined and urlAmp is not empty %}
  562.             <link rel=\"amphtml\" href=\"{{ urlAmp | replace({'http://': 'https://'}) }}\">
  563.         {% endif -%}
  564.         <meta property=\"og:title\" content=\"{% apply spaceless %}{{ block('title')  }}{% endapply %}\">
  565.         <meta property=\"og:description\" content=\"{% apply spaceless %}{{ block('description') }}{% endapply %}\">
  566.         <meta property=\"og:type\" content=\"website\">
  567.         <meta property=\"og:image\" content=\"{{ absolute_url(asset('build/images/logo.png')) | replace({'http://': 'https://'})  }}\">
  568.         <meta property=\"og:url\" content=\"{{ urlCanonical | replace({'http://': 'https://'}) }}\">
  569.         <meta property=\"og:locale\" content=\"fr_FR\">
  570.         <meta property=\"og:site_name\" content=\"L'annuaire officiel de l'enseignement privé\">
  571.         <meta name=\"google-site-verification\" content=\"{{ googleSiteVerification }}\" />
  572.         <link rel=\"sitemap\" href=\"{{ asset('sitemap.xml') }}\" />
  573.         <meta name=\"language\" content=\"fr\">
  574.         <meta name=\"viewport\" content=\"user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1\">
  575.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  576.         <meta name=\"msapplication-tap-highlight\" content=\"no\">
  577.         <meta name=\"format-detection\" content=\"telephone=no\">
  578.         <style type=\"text/css\">
  579.             body, html {
  580.                 opacity: 0;
  581.                 visibility: hidden;
  582.                 transition: opacity .3s ease-in-out;
  583.             }
  584.         </style>
  585.         <link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"{{ preload(asset('apple-touch-icon.png'), {as: 'image', nopush: true}) }}\">
  586.         <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ preload(asset('favicon-32x32.png'), {as: 'image', nopush: true}) }}\">
  587.         <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{ preload(asset('favicon-16x16.png'), {as: 'image', nopush: true}) }}\">
  588.         <link rel=\"manifest\" href=\"{{ asset('manifest.json') }}\">
  589.         <link rel=\"mask-icon\" href=\"{{ asset('safari-pinned-tab.svg') }}\" color=\"#5bbad5\">
  590.         <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  591.         <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  592.         <meta name=\"theme-color\" content=\"#ffffff\">
  593.         <script>var cookie_notice = {\"cookie_notice_position\":\"bottom\",\"cookie_notice_fontfamily\":\"Helvetica, Arial, sans-serif\",\"cookie_notice_textcolor\":\"#fff\",\"cookie_notice_textsize\":\"12\",\"cookie_notice_bgcolor\":\"#2184a4\",\"cookie_notice_opacity\":\"1\",\"cookie_notice_apperance\":\"slide\",\"cookie_notice_accept_bgcolor\":\"#31b5df\",\"cookie_notice_accept_color\":\"#fff\",\"cookie_notice_accept_shape\":\"square\",\"cookie_notice_accept_radius\":\"0\"};</script>
  594.         
  595.         {% if etablissement is defined and etablissement is not null %}
  596.             {% if etablissement.isClient %}
  597.             {% set content_group = 'content_group5' %}
  598.             {% else %}
  599.             {% set content_group = 'content_group4' %}
  600.             {% endif %}
  601.             {% if etablissement.typeClient == 'internat' %}
  602.             {% set onglet = 'internat' %}
  603.             {% else %}
  604.             {% set onglet = typeOnglet(etablissement.type) %}
  605.             {% endif %}
  606.         {% endif %}
  607.         <script type=\"application/ld+json\">{{ jsonLdWebsite() | json_encode() | raw }}</script>
  608.         {% for item in siteLdJson %}
  609.             {%- if item == 'etablissement' -%}
  610.                 <script type=\"application/ld+json\">{{ jsonLdEtablissement(etablissement, asset('build/images/no-logo.png')) | json_encode() | raw }}</script>
  611.                 
  612.                 <!-- #formations -->
  613.                 <script type=\"application/ld+json\">{{ jsonLdDiplomes(formations, dc, etablissement)  | raw }}</script>
  614.                 <!-- #formations# -->
  615.                 {% if etablissement.videos|length > 0 -%}
  616.                     <script type=\"application/ld+json\">{{ jsonLdVideo(etablissement.videos[0]) | json_encode() | raw }}</script>
  617.                 {% endif %}
  618.                 {% if etablissement.diaporamas|length > 0 -%}
  619.                     <script type=\"application/ld+json\">{{ jsonLdDiapo( etablissement.diaporamas[0].photo[0]) | json_encode() | raw }}</script>
  620.                 {% endif %}
  621.                 {% if etablissement.actualites|length > 0 -%}
  622.                 {% for actu in etablissement.actualites %}
  623.                     <script type=\"application/ld+json\">{{ jsonLdActualite( actu ) | json_encode() | raw }}</script>
  624.                 {% endfor %}
  625.                 {% endif %}
  626.             {%- elseif item == 'offre-emploi' and offre.jsonLd -%}
  627.                 <script type=\"application/ld+json\">{{ offre.jsonLd|raw }}</script>
  628.             {% endif -%}
  629.         {%- endfor -%}
  630.         {%- if faqs is defined and faqs | length > 0 -%}
  631.             <script type=\"application/ld+json\">{{ jsonLdFaq( faqs ) | raw }}</script>
  632.         {% endif -%}
  633.         
  634.         {# 1. Déclaration du dataLayer #}
  635.         <script>
  636.         window.dataLayer = window.dataLayer || [];
  637.         </script>
  638.         {# 2. Les push métier (page_context, view_item, etc #}
  639.         {% block data_layer %}{% endblock %}
  640.         <!-- Google Tag Manager -->
  641.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  642.         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  643.         j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  644.         'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  645.         })(window,document,'script','dataLayer','{{google_tag_manager}}');</script>
  646.         <!-- End Google Tag Manager -->
  647.     </head>
  648.     <body>
  649.         <!-- Google Tag Manager (noscript) -->
  650.         <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id={{google_tag_manager}}\"
  651.         height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  652.         <!-- End Google Tag Manager (noscript) -->
  653.         {# {% cache \"base;header;v1\" ttl(3600) %} #}
  654.         {% include '_includes/header.html.twig' %}
  655.         {# {% endcache %} #}
  656.         {% include '_includes/alerts.html.twig' %}
  657.         {% block body %}{% endblock %}
  658.         {% include '_includes/footer.html.twig' %}
  659.         {# ----- CSS ------------------------------------------------------- #}
  660.         <link rel=\"preload\" as=\"font\" href=\"https://fonts.googleapis.com/css?family=Open+Sans:400,600,700\" as=\"style\" onload=\"this.onload=null;this.rel='stylesheet'\">
  661.         <noscript><link href=\"https://fonts.googleapis.com/css?family=Open+Sans:400,600,700\" rel=\"stylesheet\"></noscript>
  662.         
  663.         {# {% for css in encore_entry_css_files('app') %}
  664.             <link rel=\"preload\" href=\"{{ asset(css) }}\" as=\"style\" onload=\"this.onload=null;this.rel='stylesheet'\"/>
  665.             <noscript><link href=\"{{ asset(css) }}\" rel=\"stylesheet\"></noscript>
  666.         {% endfor %} #}
  667.         {{ encore_entry_link_tags('app') }}
  668.         {% block stylesheets %}{% endblock %}
  669.         <script>
  670.             /*! loadCSS: load a CSS file asynchronously. [c]2016 @scottjehl, Filament Group, Inc. Licensed MIT */
  671.             !function(a) {
  672.                 \"use strict\";
  673.                 var b = function(b, c, d) {
  674.                     function j(a) {
  675.                         if (e.body)
  676.                             return a();
  677.                         setTimeout(function() {
  678.                             j(a)
  679.                         })
  680.                     }
  681.                     function l() {
  682.                         f.addEventListener && f.removeEventListener(\"load\", l),
  683.                         f.media = d || \"all\"
  684.                     }
  685.                     var g,
  686.                         e = a.document,
  687.                         f = e.createElement(\"link\");
  688.                     if (c)
  689.                         g = c;
  690.                     else {
  691.                         var h = (e.body || e.getElementsByTagName(\"head\")[0]).childNodes;
  692.                         g = h[h.length - 1]
  693.                     }
  694.                     var i = e.styleSheets;
  695.                     f.rel = \"stylesheet\",
  696.                     f.href = b,
  697.                     f.media = \"only x\",
  698.                     j(function() {
  699.                         g.parentNode.insertBefore(
  700.                             f,
  701.                             c
  702.                                 ? g
  703.                                 : g.nextSibling
  704.                         )
  705.                     });
  706.                     var k = function(a) {
  707.                         for (var b = f.href, c = i.length; c--;)
  708.                             if (i[c].href === b)
  709.                                 return a();
  710.                     setTimeout(function() {
  711.                             k(a)
  712.                         })
  713.                     };
  714.                     return f.addEventListener && f.addEventListener(\"load\", l),
  715.                     f.onloadcssdefined = k,
  716.                     k(l),
  717.                     f
  718.                 };
  719.                 \"undefined\" != typeof exports
  720.                     ? exports.loadCSS = b
  721.                     : a.loadCSS = b
  722.             }(
  723.                 \"undefined\" != typeof global
  724.                     ? global
  725.                     : this
  726.             ),
  727.             function(a) {
  728.                 if (a.loadCSS) {
  729.                     var b = loadCSS.relpreload = {};
  730.                     if (b.support = function() {
  731.                         try {
  732.                             return a.document.createElement(\"link\").relList.supports(\"preload\")
  733.                         } catch (a) {}
  734.                     }, b.poly = function() {
  735.                         for (var b = a.document.getElementsByTagName(\"link\"), c = 0; c < b.length; c++) {
  736.                             var d = b[c];
  737.                             \"preload\" === d.rel && \"style\" === d.getAttribute(\"as\") && (a.loadCSS(d.href, d), d.rel = null)
  738.                         }
  739.                     }, !b.support()) {
  740.                         b.poly();
  741.                         var c = a.setInterval(b.poly, 300);
  742.                         a.addEventListener && a.addEventListener(\"load\", function() {
  743.                             a.clearInterval(c)
  744.                         })
  745.                     }
  746.                 }
  747.             }(this);
  748.         </script>
  749.         {# ----- Script ----------------------------------------------------- #}
  750.         {# {% for js in encore_entry_js_files('app') %}
  751.             <script src=\"{{ asset(js) }}\" type=\"text/javascript\" defer=\"defer\"></script>
  752.         {% endfor %} #}
  753.         {{ encore_entry_script_tags('app') }}
  754.         
  755.         {% block javascripts %}{% endblock %}
  756.     </body>
  757. </html>
  758. ""base.html.twig""/app/templates/base.html.twig");
  759.     }
  760. }