<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* base.html.twig */
class __TwigTemplate_c9a8f26e4c67e4400f6f1d1a93b2acd78733561fe27d3fd35277854386de8893 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'description' => [$this, 'block_description'],
'data_layer' => [$this, 'block_data_layer'],
'body' => [$this, 'block_body'],
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
// line 1
$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->source, twig_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", false, false, false, 1), "uri", [], "any", false, false, false, 1))) : (twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 1), "uri", [], "any", false, false, false, 1)));
// line 2
echo "<!DOCTYPE html>
<html lang=\"fr\">
<head>
";
// line 5
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); })())))) {
// line 6
echo "<meta name=\"robots\" content=\"";
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", null, true);
echo "\">
";
} elseif (( // line 7
array_key_exists("noindex", $context) && (0 === 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)))) {
// line 8
echo "<meta name=\"robots\" content=\"noindex, nofollow\">
";
} else {
// line 10
echo "<meta name=\"robots\" content=\"";
echo (($this->extensions['App\Twig\RobotsExtension']->isNoIndex()) ? ("noindex, nofollow") : ("index, follow"));
echo "\">
";
}
// line 12
echo "<meta charset=\"UTF-8\">
<title>";
// line 13
ob_start();
ob_start();
$this->displayBlock('title', $context, $blocks);
$___internal_parse_1_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_spaceless($___internal_parse_1_);
$___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_escape_filter($this->env, $this->extensions['App\Twig\SeoTwigExtension']->cleanWhitespace($___internal_parse_0_), "html", null, true);
echo "</title>
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/>
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"description\" content=\"";
// line 16
ob_start();
$this->displayBlock('description', $context, $blocks);
$___internal_parse_2_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_spaceless($___internal_parse_2_);
echo "\"/>
<meta name=\"trustpilot-one-time-domain-verification-id\" content=\"51974281-b2ee-4cb4-b89a-546e6217fa70\"/>
<link rel=\"canonical\" href=\"";
// line 20
echo twig_escape_filter($this->env, twig_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", null, true);
echo "\">
";
// line 21
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); })())))) {
// line 22
echo " <link rel=\"amphtml\" href=\"";
echo twig_escape_filter($this->env, twig_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", null, true);
echo "\">
";
}
// line 25
echo "<meta property=\"og:title\" content=\"";
ob_start();
$this->displayBlock("title", $context, $blocks);
$___internal_parse_3_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_spaceless($___internal_parse_3_);
echo "\">
<meta property=\"og:description\" content=\"";
// line 26
ob_start();
$this->displayBlock("description", $context, $blocks);
$___internal_parse_4_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
echo twig_spaceless($___internal_parse_4_);
echo "\">
<meta property=\"og:type\" content=\"website\">
<meta property=\"og:image\" content=\"";
// line 28
echo twig_escape_filter($this->env, twig_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", null, true);
echo "\">
<meta property=\"og:url\" content=\"";
// line 29
echo twig_escape_filter($this->env, twig_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", null, true);
echo "\">
<meta property=\"og:locale\" content=\"fr_FR\">
<meta property=\"og:site_name\" content=\"L'annuaire officiel de l'enseignement privé\">
<meta name=\"google-site-verification\" content=\"";
// line 32
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", null, true);
echo "\" />
<link rel=\"sitemap\" href=\"";
// line 33
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("sitemap.xml"), "html", null, true);
echo "\" />
<meta name=\"language\" content=\"fr\">
<meta name=\"viewport\" content=\"user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"msapplication-tap-highlight\" content=\"no\">
<meta name=\"format-detection\" content=\"telephone=no\">
<style type=\"text/css\">
body, html {
opacity: 0;
visibility: hidden;
transition: opacity .3s ease-in-out;
}
</style>
<link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"";
// line 48
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", null, true);
echo "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
// line 49
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", null, true);
echo "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"";
// line 50
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", null, true);
echo "\">
<link rel=\"manifest\" href=\"";
// line 51
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("manifest.json"), "html", null, true);
echo "\">
<link rel=\"mask-icon\" href=\"";
// line 52
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("safari-pinned-tab.svg"), "html", null, true);
echo "\" color=\"#5bbad5\">
<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
<meta name=\"theme-color\" content=\"#ffffff\">
<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>
";
// line 60
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); })())))) {
// line 61
echo " ";
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", false, false, false, 61)) {
// line 62
echo " ";
$context["content_group"] = "content_group5";
// line 63
echo " ";
} else {
// line 64
echo " ";
$context["content_group"] = "content_group4";
// line 65
echo " ";
}
// line 66
echo "
";
// line 67
if ((0 === 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", false, false, false, 67), "internat"))) {
// line 68
echo " ";
$context["onglet"] = "internat";
// line 69
echo " ";
} else {
// line 70
echo " ";
$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", false, false, false, 70));
// line 71
echo " ";
}
// line 72
echo " ";
}
// line 73
echo "
<script type=\"application/ld+json\">";
// line 74
echo json_encode($this->extensions['App\Twig\JsonLdExtension']->website());
echo "</script>
";
// line 75
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 76
if ((0 === twig_compare($context["item"], "etablissement"))) {
// line 77
echo "<script type=\"application/ld+json\">";
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")));
echo "</script>
<!-- #formations -->
<script type=\"application/ld+json\">";
// line 80
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); })()));
echo "</script>
<!-- #formations# -->
";
// line 83
if ((1 === twig_compare(twig_length_filter($this->env, 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.', 83, $this->source); })()), "videos", [], "any", false, false, false, 83)), 0))) {
// line 84
echo "<script type=\"application/ld+json\">";
echo json_encode($this->extensions['App\Twig\JsonLdExtension']->video(twig_get_attribute($this->env, $this->source, 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.', 84, $this->source); })()), "videos", [], "any", false, false, false, 84), 0, [], "array", false, false, false, 84)));
echo "</script>
";
}
// line 86
echo " ";
if ((1 === twig_compare(twig_length_filter($this->env, 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.', 86, $this->source); })()), "diaporamas", [], "any", false, false, false, 86)), 0))) {
// line 87
echo "<script type=\"application/ld+json\">";
echo json_encode($this->extensions['App\Twig\JsonLdExtension']->diapo(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 87, $this->source); })()), "diaporamas", [], "any", false, false, false, 87), 0, [], "array", false, false, false, 87), "photo", [], "any", false, false, false, 87), 0, [], "array", false, false, false, 87)));
echo "</script>
";
}
// line 89
echo " ";
if ((1 === twig_compare(twig_length_filter($this->env, 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.', 89, $this->source); })()), "actualites", [], "any", false, false, false, 89)), 0))) {
// line 90
$context['_parent'] = $context;
$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", false, false, false, 90));
foreach ($context['_seq'] as $context["_key"] => $context["actu"]) {
// line 91
echo " <script type=\"application/ld+json\">";
echo json_encode($this->extensions['App\Twig\JsonLdExtension']->actualite($context["actu"]));
echo "</script>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['actu'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 93
echo " ";
}
} elseif (((0 === twig_compare( // line 94
$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", false, false, false, 94))) {
// line 95
echo "<script type=\"application/ld+json\">";
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", false, false, false, 95);
echo "</script>
";
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 98
if ((array_key_exists("faqs", $context) && (1 === 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)))) {
// line 99
echo "<script type=\"application/ld+json\">";
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); })()));
echo "</script>
";
}
// line 103
echo " <script>
window.dataLayer = window.dataLayer || [];
</script>
";
// line 108
echo " ";
$this->displayBlock('data_layer', $context, $blocks);
// line 109
echo "
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PHS7FB52');</script>
<!-- End Google Tag Manager -->
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-PHS7FB52\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
";
// line 127
echo " ";
$this->loadTemplate("_includes/header.html.twig", "base.html.twig", 127)->display($context);
// line 128
echo " ";
// line 129
echo " ";
$this->loadTemplate("_includes/alerts.html.twig", "base.html.twig", 129)->display($context);
// line 130
echo " ";
$this->displayBlock('body', $context, $blocks);
// line 131
echo " ";
$this->loadTemplate("_includes/footer.html.twig", "base.html.twig", 131)->display($context);
// line 132
echo "
";
// line 134
echo "
<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'\">
<noscript><link href=\"https://fonts.googleapis.com/css?family=Open+Sans:400,600,700\" rel=\"stylesheet\"></noscript>
";
// line 142
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
echo "
";
// line 144
$this->displayBlock('stylesheets', $context, $blocks);
// line 145
echo " <script>
/*! loadCSS: load a CSS file asynchronously. [c]2016 @scottjehl, Filament Group, Inc. Licensed MIT */
!function(a) {
\"use strict\";
var b = function(b, c, d) {
function j(a) {
if (e.body)
return a();
setTimeout(function() {
j(a)
})
}
function l() {
f.addEventListener && f.removeEventListener(\"load\", l),
f.media = d || \"all\"
}
var g,
e = a.document,
f = e.createElement(\"link\");
if (c)
g = c;
else {
var h = (e.body || e.getElementsByTagName(\"head\")[0]).childNodes;
g = h[h.length - 1]
}
var i = e.styleSheets;
f.rel = \"stylesheet\",
f.href = b,
f.media = \"only x\",
j(function() {
g.parentNode.insertBefore(
f,
c
? g
: g.nextSibling
)
});
var k = function(a) {
for (var b = f.href, c = i.length; c--;)
if (i[c].href === b)
return a();
setTimeout(function() {
k(a)
})
};
return f.addEventListener && f.addEventListener(\"load\", l),
f.onloadcssdefined = k,
k(l),
f
};
\"undefined\" != typeof exports
? exports.loadCSS = b
: a.loadCSS = b
}(
\"undefined\" != typeof global
? global
: this
),
function(a) {
if (a.loadCSS) {
var b = loadCSS.relpreload = {};
if (b.support = function() {
try {
return a.document.createElement(\"link\").relList.supports(\"preload\")
} catch (a) {}
}, b.poly = function() {
for (var b = a.document.getElementsByTagName(\"link\"), c = 0; c < b.length; c++) {
var d = b[c];
\"preload\" === d.rel && \"style\" === d.getAttribute(\"as\") && (a.loadCSS(d.href, d), d.rel = null)
}
}, !b.support()) {
b.poly();
var c = a.setInterval(b.poly, 300);
a.addEventListener && a.addEventListener(\"load\", function() {
a.clearInterval(c)
})
}
}
}(this);
</script>
";
// line 227
echo " ";
// line 230
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
echo "
";
// line 232
$this->displayBlock('javascripts', $context, $blocks);
// line 233
echo " </body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 13
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "Annuaire de l'enseignement privé";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 16
public function block_description($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 108
public function block_data_layer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "data_layer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "data_layer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 130
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 144
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 232
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 561 => 232, 543 => 144, 525 => 130, 507 => 108, 489 => 16, 470 => 13, 458 => 233, 456 => 232, 450 => 230, 448 => 227, 365 => 145, 363 => 144, 357 => 142, 351 => 134, 348 => 132, 345 => 131, 342 => 130, 339 => 129, 337 => 128, 334 => 127, 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,);
}
public function getSourceContext()
{
return new Source("{%- set urlCanonical = urlCanonical | default(app.request.uri) -%}
<!DOCTYPE html>
<html lang=\"fr\">
<head>
{% if robots_tag is defined and robots_tag is not null -%}
<meta name=\"robots\" content=\"{{ robots_tag }}\">
{% elseif noindex is defined and noindex == true -%}
<meta name=\"robots\" content=\"noindex, nofollow\">
{% else -%}
<meta name=\"robots\" content=\"{{ isNoIndex() ? 'noindex, nofollow' : 'index, follow' }}\">
{% endif -%}
<meta charset=\"UTF-8\">
<title>{% apply clean_whitespace %}{% apply spaceless %}{% block title %}Annuaire de l'enseignement privé{% endblock %}{% endapply %}{% endapply %}</title>
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/>
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"description\" content=\"{% apply spaceless %}{% block description %}{% endblock %}{% endapply %}\"/>
<meta name=\"trustpilot-one-time-domain-verification-id\" content=\"51974281-b2ee-4cb4-b89a-546e6217fa70\"/>
<link rel=\"canonical\" href=\"{{ urlCanonical | replace({'http://': 'https://'}) }}\">
{% if urlAmp is defined and urlAmp is not empty %}
<link rel=\"amphtml\" href=\"{{ urlAmp | replace({'http://': 'https://'}) }}\">
{% endif -%}
<meta property=\"og:title\" content=\"{% apply spaceless %}{{ block('title') }}{% endapply %}\">
<meta property=\"og:description\" content=\"{% apply spaceless %}{{ block('description') }}{% endapply %}\">
<meta property=\"og:type\" content=\"website\">
<meta property=\"og:image\" content=\"{{ absolute_url(asset('build/images/logo.png')) | replace({'http://': 'https://'}) }}\">
<meta property=\"og:url\" content=\"{{ urlCanonical | replace({'http://': 'https://'}) }}\">
<meta property=\"og:locale\" content=\"fr_FR\">
<meta property=\"og:site_name\" content=\"L'annuaire officiel de l'enseignement privé\">
<meta name=\"google-site-verification\" content=\"{{ googleSiteVerification }}\" />
<link rel=\"sitemap\" href=\"{{ asset('sitemap.xml') }}\" />
<meta name=\"language\" content=\"fr\">
<meta name=\"viewport\" content=\"user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"msapplication-tap-highlight\" content=\"no\">
<meta name=\"format-detection\" content=\"telephone=no\">
<style type=\"text/css\">
body, html {
opacity: 0;
visibility: hidden;
transition: opacity .3s ease-in-out;
}
</style>
<link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"{{ preload(asset('apple-touch-icon.png'), {as: 'image', nopush: true}) }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ preload(asset('favicon-32x32.png'), {as: 'image', nopush: true}) }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{ preload(asset('favicon-16x16.png'), {as: 'image', nopush: true}) }}\">
<link rel=\"manifest\" href=\"{{ asset('manifest.json') }}\">
<link rel=\"mask-icon\" href=\"{{ asset('safari-pinned-tab.svg') }}\" color=\"#5bbad5\">
<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
<meta name=\"theme-color\" content=\"#ffffff\">
<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>
{% if etablissement is defined and etablissement is not null %}
{% if etablissement.isClient %}
{% set content_group = 'content_group5' %}
{% else %}
{% set content_group = 'content_group4' %}
{% endif %}
{% if etablissement.typeClient == 'internat' %}
{% set onglet = 'internat' %}
{% else %}
{% set onglet = typeOnglet(etablissement.type) %}
{% endif %}
{% endif %}
<script type=\"application/ld+json\">{{ jsonLdWebsite() | json_encode() | raw }}</script>
{% for item in siteLdJson %}
{%- if item == 'etablissement' -%}
<script type=\"application/ld+json\">{{ jsonLdEtablissement(etablissement, asset('build/images/no-logo.png')) | json_encode() | raw }}</script>
<!-- #formations -->
<script type=\"application/ld+json\">{{ jsonLdDiplomes(formations, dc, etablissement) | raw }}</script>
<!-- #formations# -->
{% if etablissement.videos|length > 0 -%}
<script type=\"application/ld+json\">{{ jsonLdVideo(etablissement.videos[0]) | json_encode() | raw }}</script>
{% endif %}
{% if etablissement.diaporamas|length > 0 -%}
<script type=\"application/ld+json\">{{ jsonLdDiapo( etablissement.diaporamas[0].photo[0]) | json_encode() | raw }}</script>
{% endif %}
{% if etablissement.actualites|length > 0 -%}
{% for actu in etablissement.actualites %}
<script type=\"application/ld+json\">{{ jsonLdActualite( actu ) | json_encode() | raw }}</script>
{% endfor %}
{% endif %}
{%- elseif item == 'offre-emploi' and offre.jsonLd -%}
<script type=\"application/ld+json\">{{ offre.jsonLd|raw }}</script>
{% endif -%}
{%- endfor -%}
{%- if faqs is defined and faqs | length > 0 -%}
<script type=\"application/ld+json\">{{ jsonLdFaq( faqs ) | raw }}</script>
{% endif -%}
{# 1. Déclaration du dataLayer #}
<script>
window.dataLayer = window.dataLayer || [];
</script>
{# 2. Les push métier (page_context, view_item, etc #}
{% block data_layer %}{% endblock %}
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PHS7FB52');</script>
<!-- End Google Tag Manager -->
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-PHS7FB52\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{# {% cache \"base;header;v1\" ttl(3600) %} #}
{% include '_includes/header.html.twig' %}
{# {% endcache %} #}
{% include '_includes/alerts.html.twig' %}
{% block body %}{% endblock %}
{% include '_includes/footer.html.twig' %}
{# ----- CSS ------------------------------------------------------- #}
<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'\">
<noscript><link href=\"https://fonts.googleapis.com/css?family=Open+Sans:400,600,700\" rel=\"stylesheet\"></noscript>
{# {% for css in encore_entry_css_files('app') %}
<link rel=\"preload\" href=\"{{ asset(css) }}\" as=\"style\" onload=\"this.onload=null;this.rel='stylesheet'\"/>
<noscript><link href=\"{{ asset(css) }}\" rel=\"stylesheet\"></noscript>
{% endfor %} #}
{{ encore_entry_link_tags('app') }}
{% block stylesheets %}{% endblock %}
<script>
/*! loadCSS: load a CSS file asynchronously. [c]2016 @scottjehl, Filament Group, Inc. Licensed MIT */
!function(a) {
\"use strict\";
var b = function(b, c, d) {
function j(a) {
if (e.body)
return a();
setTimeout(function() {
j(a)
})
}
function l() {
f.addEventListener && f.removeEventListener(\"load\", l),
f.media = d || \"all\"
}
var g,
e = a.document,
f = e.createElement(\"link\");
if (c)
g = c;
else {
var h = (e.body || e.getElementsByTagName(\"head\")[0]).childNodes;
g = h[h.length - 1]
}
var i = e.styleSheets;
f.rel = \"stylesheet\",
f.href = b,
f.media = \"only x\",
j(function() {
g.parentNode.insertBefore(
f,
c
? g
: g.nextSibling
)
});
var k = function(a) {
for (var b = f.href, c = i.length; c--;)
if (i[c].href === b)
return a();
setTimeout(function() {
k(a)
})
};
return f.addEventListener && f.addEventListener(\"load\", l),
f.onloadcssdefined = k,
k(l),
f
};
\"undefined\" != typeof exports
? exports.loadCSS = b
: a.loadCSS = b
}(
\"undefined\" != typeof global
? global
: this
),
function(a) {
if (a.loadCSS) {
var b = loadCSS.relpreload = {};
if (b.support = function() {
try {
return a.document.createElement(\"link\").relList.supports(\"preload\")
} catch (a) {}
}, b.poly = function() {
for (var b = a.document.getElementsByTagName(\"link\"), c = 0; c < b.length; c++) {
var d = b[c];
\"preload\" === d.rel && \"style\" === d.getAttribute(\"as\") && (a.loadCSS(d.href, d), d.rel = null)
}
}, !b.support()) {
b.poly();
var c = a.setInterval(b.poly, 300);
a.addEventListener && a.addEventListener(\"load\", function() {
a.clearInterval(c)
})
}
}
}(this);
</script>
{# ----- Script ----------------------------------------------------- #}
{# {% for js in encore_entry_js_files('app') %}
<script src=\"{{ asset(js) }}\" type=\"text/javascript\" defer=\"defer\"></script>
{% endfor %} #}
{{ encore_entry_script_tags('app') }}
{% block javascripts %}{% endblock %}
</body>
</html>
", "base.html.twig", "/app/templates/base.html.twig");
}
}