<?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;
/* front/theme1/bloc/bloc.html.twig */
class __TwigTemplate_651b017cf689d1180a973f444b7873a67636f7ed9be85d9523411580174cf70d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
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", "front/theme1/bloc/bloc.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/theme1/bloc/bloc.html.twig"));
// line 1
if ((array_key_exists("bloc", $context) && !twig_test_empty((isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 1, $this->source); })())))) {
// line 2
echo "
";
// line 3
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 3, $this->source); })()), "type", [], "any", false, false, false, 3) == "template")) {
// line 4
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["bloc"] ?? null), "template", [], "any", true, true, false, 4)) {
// line 5
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 5, $this->source); })()), "template", [], "any", false, false, false, 5);
echo "
";
}
// line 7
echo " ";
}
// line 8
echo "
";
// line 9
if (((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 9, $this->source); })()), "type", [], "any", false, false, false, 9) == "bloc-service") && (twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 9, $this->source); })()), "data", [], "any", false, false, false, 9) != null))) {
// line 10
echo " ";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 10, $this->source); })()), "data", [], "any", false, false, false, 10), "alias", [], "any", false, false, false, 10) == "bloc_travaux")) {
// line 11
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $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.', 11, $this->source); })()), "request", [], "any", false, false, false, 11), "server", [], "any", false, false, false, 11), "get", [0 => "APP_THEME"], "method", false, false, false, 11)) . "/bloc/bloc_travaux.html.twig"), ["bloc" => twig_get_attribute($this->env, $this->source, // line 12
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 12, $this->source); })()), "data", [], "any", false, false, false, 12)], false);
// line 13
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 14
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 14, $this->source); })()), "data", [], "any", false, false, false, 14), "alias", [], "any", false, false, false, 14) == "bloc_raisons")) {
// line 15
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $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.', 15, $this->source); })()), "request", [], "any", false, false, false, 15), "server", [], "any", false, false, false, 15), "get", [0 => "APP_THEME"], "method", false, false, false, 15)) . "/bloc/bloc_raisons.html.twig"), ["bloc" => twig_get_attribute($this->env, $this->source, // line 16
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 16, $this->source); })()), "data", [], "any", false, false, false, 16)], false);
// line 17
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 18
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 18, $this->source); })()), "data", [], "any", false, false, false, 18), "alias", [], "any", false, false, false, 18) == "chiffres")) {
// line 19
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $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.', 19, $this->source); })()), "request", [], "any", false, false, false, 19), "server", [], "any", false, false, false, 19), "get", [0 => "APP_THEME"], "method", false, false, false, 19)) . "/bloc/chiffres.html.twig"), ["bloc" => twig_get_attribute($this->env, $this->source, // line 20
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 20, $this->source); })()), "data", [], "any", false, false, false, 20)], false);
// line 21
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 22
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 22, $this->source); })()), "data", [], "any", false, false, false, 22), "alias", [], "any", false, false, false, 22) == "avantages")) {
// line 23
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $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.', 23, $this->source); })()), "request", [], "any", false, false, false, 23), "server", [], "any", false, false, false, 23), "get", [0 => "APP_THEME"], "method", false, false, false, 23)) . "/bloc/chiffres.html.twig"), ["bloc" => twig_get_attribute($this->env, $this->source, // line 24
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 24, $this->source); })()), "data", [], "any", false, false, false, 24)], false);
// line 25
echo "
";
}
// line 26
echo "
";
}
// line 28
echo "
";
// line 29
if (((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 29, $this->source); })()), "type", [], "any", false, false, false, 29) == "bloc-partenaire") && (twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 29, $this->source); })()), "data", [], "any", false, false, false, 29) != null))) {
// line 30
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $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.', 30, $this->source); })()), "request", [], "any", false, false, false, 30), "server", [], "any", false, false, false, 30), "get", [0 => "APP_THEME"], "method", false, false, false, 30)) . "/bloc/bloc_partenaire.html.twig"), ["bloc" => twig_get_attribute($this->env, $this->source, // line 31
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 31, $this->source); })()), "data", [], "any", false, false, false, 31)], false);
// line 32
echo "
";
}
// line 34
echo "
";
// line 36
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 36, $this->source); })()), "type", [], "any", false, false, false, 36) == "titre")) {
// line 37
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["bloc"] ?? null), "title", [], "any", true, true, false, 37)) {
// line 38
echo " <div id=\"bloc-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 38, $this->source); })()), "id", [], "any", false, false, false, 38), "html", null, true);
echo "\" class=\"text-widget\">
";
// line 39
echo twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 39, $this->source); })()), "title", [], "any", false, false, false, 39);
echo "
</div>
";
}
// line 42
echo " ";
}
// line 43
echo "
";
// line 44
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 44, $this->source); })()), "type", [], "any", false, false, false, 44) == "bloc-activite")) {
// line 45
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $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.', 45, $this->source); })()), "request", [], "any", false, false, false, 45), "server", [], "any", false, false, false, 45), "get", [0 => "APP_THEME"], "method", false, false, false, 45)) . "/bloc/bloc_activite.html.twig"), ["bloc" => // line 46
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 46, $this->source); })())], false);
// line 47
echo "
";
}
// line 49
echo "
";
// line 50
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 50, $this->source); })()), "type", [], "any", false, false, false, 50) == "bloc-secteur")) {
// line 51
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $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.', 51, $this->source); })()), "request", [], "any", false, false, false, 51), "server", [], "any", false, false, false, 51), "get", [0 => "APP_THEME"], "method", false, false, false, 51)) . "/bloc/bloc_localite.html.twig"), ["bloc" => // line 52
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 52, $this->source); })())], false);
// line 53
echo "
";
}
// line 55
echo "
";
// line 56
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 56, $this->source); })()), "type", [], "any", false, false, false, 56) == "bloc-sous-activite")) {
// line 57
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $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.', 57, $this->source); })()), "request", [], "any", false, false, false, 57), "server", [], "any", false, false, false, 57), "get", [0 => "APP_THEME"], "method", false, false, false, 57)) . "/bloc/bloc_sous_activite.html.twig"), ["bloc" => // line 58
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 58, $this->source); })())], false);
// line 59
echo "
";
}
// line 61
echo "
";
// line 62
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 62, $this->source); })()), "type", [], "any", false, false, false, 62) == "text")) {
// line 63
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $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.', 63, $this->source); })()), "request", [], "any", false, false, false, 63), "server", [], "any", false, false, false, 63), "get", [0 => "APP_THEME"], "method", false, false, false, 63)) . "/bloc/bloc_titre_text.html.twig"), ["bloc" => // line 64
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 64, $this->source); })())], false);
// line 65
echo "
";
}
// line 67
echo "
";
// line 68
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 68, $this->source); })()), "type", [], "any", false, false, false, 68) == "text2")) {
// line 69
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $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.', 69, $this->source); })()), "request", [], "any", false, false, false, 69), "server", [], "any", false, false, false, 69), "get", [0 => "APP_THEME"], "method", false, false, false, 69)) . "/bloc/bloc_image_text.html.twig"), ["bloc" => // line 70
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 70, $this->source); })())], false);
// line 71
echo "
";
}
// line 73
echo "
";
// line 74
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 74, $this->source); })()), "type", [], "any", false, false, false, 74) == "form")) {
// line 75
echo " ";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 75, $this->source); })()), "form", [], "any", false, false, false, 75), "identifier", [], "any", false, false, false, 75) == "form-footer")) {
// line 76
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $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.', 76, $this->source); })()), "request", [], "any", false, false, false, 76), "server", [], "any", false, false, false, 76), "get", [0 => "APP_THEME"], "method", false, false, false, 76)) . "/form/form_footer.html.twig"), ["bloc" => // line 77
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 77, $this->source); })())], false);
// line 78
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 79
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 79, $this->source); })()), "form", [], "any", false, false, false, 79), "identifier", [], "any", false, false, false, 79) == "form-contact")) {
// line 80
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $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.', 80, $this->source); })()), "request", [], "any", false, false, false, 80), "server", [], "any", false, false, false, 80), "get", [0 => "APP_THEME"], "method", false, false, false, 80)) . "/form/contact_form.html.twig"), ["bloc" => // line 81
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 81, $this->source); })()), "product_interesse" => // line 82
(isset($context["product_interesse"]) || array_key_exists("product_interesse", $context) ? $context["product_interesse"] : (function () { throw new RuntimeError('Variable "product_interesse" does not exist.', 82, $this->source); })())], false);
// line 83
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 84
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 84, $this->source); })()), "form", [], "any", false, false, false, 84), "identifier", [], "any", false, false, false, 84) == "form-devis")) {
// line 85
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $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.', 85, $this->source); })()), "request", [], "any", false, false, false, 85), "server", [], "any", false, false, false, 85), "get", [0 => "APP_THEME"], "method", false, false, false, 85)) . "/form/devis_form.html.twig"), ["bloc" => // line 86
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 86, $this->source); })())], false);
// line 87
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 88
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 88, $this->source); })()), "form", [], "any", false, false, false, 88), "identifier", [], "any", false, false, false, 88) == "form-faq")) {
// line 89
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $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.', 89, $this->source); })()), "request", [], "any", false, false, false, 89), "server", [], "any", false, false, false, 89), "get", [0 => "APP_THEME"], "method", false, false, false, 89)) . "/form/form_faq.html.twig"), ["bloc" => // line 90
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 90, $this->source); })())], false);
// line 91
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 92
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 92, $this->source); })()), "form", [], "any", false, false, false, 92), "identifier", [], "any", false, false, false, 92) == "postuler")) {
// line 93
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $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.', 93, $this->source); })()), "request", [], "any", false, false, false, 93), "server", [], "any", false, false, false, 93), "get", [0 => "APP_THEME"], "method", false, false, false, 93)) . "/form/postuler_form.html.twig"), ["bloc" => // line 94
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 94, $this->source); })()), "annonce_interesse" => // line 95
(isset($context["annonce_interesse"]) || array_key_exists("annonce_interesse", $context) ? $context["annonce_interesse"] : (function () { throw new RuntimeError('Variable "annonce_interesse" does not exist.', 95, $this->source); })())], false);
// line 96
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 97
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 97, $this->source); })()), "form", [], "any", false, false, false, 97), "identifier", [], "any", false, false, false, 97) == "newsletter")) {
// line 98
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $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.', 98, $this->source); })()), "request", [], "any", false, false, false, 98), "server", [], "any", false, false, false, 98), "get", [0 => "APP_THEME"], "method", false, false, false, 98)) . "/form/newsletter_form.html.twig"), ["bloc" => // line 99
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 99, $this->source); })())], false);
// line 100
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 101
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 101, $this->source); })()), "form", [], "any", false, false, false, 101), "identifier", [], "any", false, false, false, 101) == "form_lp")) {
// line 102
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $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.', 102, $this->source); })()), "request", [], "any", false, false, false, 102), "server", [], "any", false, false, false, 102), "get", [0 => "APP_THEME"], "method", false, false, false, 102)) . "/form/form_landing.html.twig"), ["bloc" => // line 103
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 103, $this->source); })())], false);
// line 104
echo "
";
} else {
// line 106
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $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.', 106, $this->source); })()), "request", [], "any", false, false, false, 106), "server", [], "any", false, false, false, 106), "get", [0 => "APP_THEME"], "method", false, false, false, 106)) . "/form/form.html.twig"), ["bloc" => // line 107
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 107, $this->source); })())], false);
// line 108
echo "
";
}
// line 110
echo " ";
}
// line 111
echo "
";
// line 113
if (((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 113, $this->source); })()), "type", [], "any", false, false, false, 113) == "slider") && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 113, $this->source); })()), "images", [], "any", false, false, false, 113)))) {
// line 114
echo " <div id=\"carouselDefaultIndicators\" class=\"carousel slide slider-home\" data-ride=\"carousel\">
";
// line 115
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 115, $this->source); })()), "images", [], "any", false, false, false, 115)) > 1)) {
// line 116
echo " <ol class=\"carousel-indicators\">
";
// line 117
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 117, $this->source); })()), "images", [], "any", false, false, false, 117));
foreach ($context['_seq'] as $context["key"] => $context["image"]) {
// line 118
echo " <li data-target=\"#carouselDefaultIndicators\" data-slide-to=\"";
echo twig_escape_filter($this->env, $context["key"], "html", null, true);
echo "\" ";
if (($context["key"] == "0")) {
echo "class=\"active\"";
}
echo "></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['image'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 120
echo " </ol>
";
}
// line 122
echo " </div>
";
}
// line 124
echo "
";
// line 126
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 126, $this->source); })()), "type", [], "any", false, false, false, 126) == "video")) {
// line 127
echo " <section id=\"bloc-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 127, $this->source); })()), "id", [], "any", false, false, false, 127), "html", null, true);
echo "\" class=\"all-works espace-p-top text-center panel-st conducteur-trigger text-center\">
<iframe width=\"962\" height=\"541\" src=\"";
// line 128
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 128, $this->source); })()), "url_video", [], "any", false, false, false, 128), "html", null, true);
echo "\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>
</section>
";
}
// line 131
echo "
";
// line 132
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 132, $this->source); })()), "type", [], "any", false, false, false, 132) == "image")) {
// line 133
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $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.', 133, $this->source); })()), "request", [], "any", false, false, false, 133), "server", [], "any", false, false, false, 133), "get", [0 => "APP_THEME"], "method", false, false, false, 133)) . "/bloc/bloc_image.html.twig"), ["bloc" => // line 134
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 134, $this->source); })())], false);
// line 135
echo "
";
}
// line 137
echo "
";
// line 138
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 138, $this->source); })()), "type", [], "any", false, false, false, 138) == "bloc-gallerie")) {
// line 139
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $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.', 139, $this->source); })()), "request", [], "any", false, false, false, 139), "server", [], "any", false, false, false, 139), "get", [0 => "APP_THEME"], "method", false, false, false, 139)) . "/bloc/bloc_galleries.html.twig"), ["bloc" => // line 140
(isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 140, $this->source); })())], false);
// line 141
echo "
";
}
// line 143
echo "
";
// line 145
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 145, $this->source); })()), "type", [], "any", false, false, false, 145) == "carousel")) {
// line 146
echo " <div class=\"BlocCarousel\">
<div class=\"container-fluid\">
<div class=\"row justify-content-center\">
<div class=\"col-sm-12 col-md-6 col-lg-6\">
";
// line 150
if ((twig_get_attribute($this->env, $this->source, ($context["bloc"] ?? null), "images", [], "any", true, true, false, 150) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 150, $this->source); })()), "images", [], "any", false, false, false, 150)))) {
// line 151
echo " <div id=\"carousel";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 151, $this->source); })()), "id", [], "any", false, false, false, 151), "html", null, true);
echo "\" class=\"carousel slide\" data-ride=\"carousel\">
";
// line 157
echo " <div class=\"carousel-inner text-center\">
";
// line 158
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 158, $this->source); })()), "images", [], "any", false, false, false, 158));
foreach ($context['_seq'] as $context["key"] => $context["file"]) {
// line 159
echo " <div ";
if (($context["key"] == "0")) {
echo "class=\"carousel-item active\" ";
} else {
echo " class=\"carousel-item\" ";
}
echo ">
";
// line 163
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("/uploads/gallery/" . twig_get_attribute($this->env, $this->source, $context["file"], "image", [], "any", false, false, false, 163))), "img_carousel"), "html", null, true);
echo "\" class=\"img-carousel img-fluid\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["file"], "image", [], "any", false, false, false, 163), "html", null, true);
echo "\">
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 166
echo " </div>
</div>
";
}
// line 169
echo " </div>
</div>
</div>
</div>
";
}
// line 174
echo "
";
// line 175
if ((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 175, $this->source); })()), "type", [], "any", false, false, false, 175) == "carousel2")) {
// line 176
echo " <div class=\"BlocCarousel\">
<div class=\"container-fluid\">
<div class=\"row\">
";
// line 179
$context["carousel2_g1"] = (((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 179, $this->source); })()), "gridcarousel", [], "any", false, false, false, 179) != null)) ? ((12 - twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 179, $this->source); })()), "gridcarousel", [], "any", false, false, false, 179))) : ("6"));
// line 180
echo " ";
$context["carousel2_g2"] = (((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 180, $this->source); })()), "gridcarousel", [], "any", false, false, false, 180) != null)) ? (twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 180, $this->source); })()), "gridcarousel", [], "any", false, false, false, 180)) : ("6"));
// line 181
echo " <div class=\"col-sm-12 col-md-";
echo twig_escape_filter($this->env, (isset($context["carousel2_g1"]) || array_key_exists("carousel2_g1", $context) ? $context["carousel2_g1"] : (function () { throw new RuntimeError('Variable "carousel2_g1" does not exist.', 181, $this->source); })()), "html", null, true);
echo " col-lg-";
echo twig_escape_filter($this->env, (isset($context["carousel2_g1"]) || array_key_exists("carousel2_g1", $context) ? $context["carousel2_g1"] : (function () { throw new RuntimeError('Variable "carousel2_g1" does not exist.', 181, $this->source); })()), "html", null, true);
echo " ";
echo (((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 181, $this->source); })()), "position", [], "any", false, false, false, 181) == "left")) ? ("order-2") : ("order-1"));
echo "\">
";
// line 182
echo twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 182, $this->source); })()), "content", [], "any", false, false, false, 182);
echo "
</div>
<div class=\"col-sm-12 col-md-";
// line 184
echo twig_escape_filter($this->env, (isset($context["carousel2_g2"]) || array_key_exists("carousel2_g2", $context) ? $context["carousel2_g2"] : (function () { throw new RuntimeError('Variable "carousel2_g2" does not exist.', 184, $this->source); })()), "html", null, true);
echo " col-lg-";
echo twig_escape_filter($this->env, (isset($context["carousel2_g2"]) || array_key_exists("carousel2_g2", $context) ? $context["carousel2_g2"] : (function () { throw new RuntimeError('Variable "carousel2_g2" does not exist.', 184, $this->source); })()), "html", null, true);
echo " ";
echo (((twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 184, $this->source); })()), "position", [], "any", false, false, false, 184) == "left")) ? ("order-1") : ("order-2"));
echo "\">
";
// line 185
if ((twig_get_attribute($this->env, $this->source, ($context["bloc"] ?? null), "images", [], "any", true, true, false, 185) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 185, $this->source); })()), "images", [], "any", false, false, false, 185)))) {
// line 186
echo " <div id=\"carousel";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 186, $this->source); })()), "id", [], "any", false, false, false, 186), "html", null, true);
echo "\" class=\"carousel slide\" data-ride=\"carousel\">
";
// line 192
echo " <div class=\"carousel-inner text-center\">
";
// line 193
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["bloc"]) || array_key_exists("bloc", $context) ? $context["bloc"] : (function () { throw new RuntimeError('Variable "bloc" does not exist.', 193, $this->source); })()), "images", [], "any", false, false, false, 193));
foreach ($context['_seq'] as $context["key"] => $context["file"]) {
// line 194
echo " <div ";
if (($context["key"] == "0")) {
echo "class=\"carousel-item active\" ";
} else {
echo " class=\"carousel-item\" ";
}
echo ">
";
// line 198
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("/uploads/gallery/" . twig_get_attribute($this->env, $this->source, $context["file"], "image", [], "any", false, false, false, 198))), "img_carousel"), "html", null, true);
echo "\" class=\"img-carousel img-fluid\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["file"], "image", [], "any", false, false, false, 198), "html", null, true);
echo "\">
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 201
echo " </div>
</div>
";
}
// line 204
echo " </div>
</div>
</div>
</div>
";
}
// line 209
echo "
";
}
// line 211
echo "
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "front/theme1/bloc/bloc.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 522 => 211, 518 => 209, 511 => 204, 506 => 201, 494 => 198, 485 => 194, 481 => 193, 478 => 192, 473 => 186, 471 => 185, 463 => 184, 458 => 182, 449 => 181, 446 => 180, 444 => 179, 439 => 176, 437 => 175, 434 => 174, 427 => 169, 422 => 166, 410 => 163, 401 => 159, 397 => 158, 394 => 157, 389 => 151, 387 => 150, 381 => 146, 379 => 145, 375 => 143, 371 => 141, 369 => 140, 367 => 139, 365 => 138, 362 => 137, 358 => 135, 356 => 134, 354 => 133, 352 => 132, 349 => 131, 343 => 128, 338 => 127, 336 => 126, 332 => 124, 328 => 122, 324 => 120, 311 => 118, 307 => 117, 304 => 116, 302 => 115, 299 => 114, 297 => 113, 293 => 111, 290 => 110, 286 => 108, 284 => 107, 282 => 106, 278 => 104, 276 => 103, 274 => 102, 272 => 101, 269 => 100, 267 => 99, 265 => 98, 263 => 97, 260 => 96, 258 => 95, 257 => 94, 255 => 93, 253 => 92, 250 => 91, 248 => 90, 246 => 89, 244 => 88, 241 => 87, 239 => 86, 237 => 85, 235 => 84, 232 => 83, 230 => 82, 229 => 81, 227 => 80, 225 => 79, 222 => 78, 220 => 77, 218 => 76, 215 => 75, 213 => 74, 210 => 73, 206 => 71, 204 => 70, 202 => 69, 200 => 68, 197 => 67, 193 => 65, 191 => 64, 189 => 63, 187 => 62, 184 => 61, 180 => 59, 178 => 58, 176 => 57, 174 => 56, 171 => 55, 167 => 53, 165 => 52, 163 => 51, 161 => 50, 158 => 49, 154 => 47, 152 => 46, 150 => 45, 148 => 44, 145 => 43, 142 => 42, 136 => 39, 131 => 38, 128 => 37, 126 => 36, 122 => 34, 118 => 32, 116 => 31, 114 => 30, 112 => 29, 109 => 28, 105 => 26, 101 => 25, 99 => 24, 97 => 23, 95 => 22, 92 => 21, 90 => 20, 88 => 19, 86 => 18, 83 => 17, 81 => 16, 79 => 15, 77 => 14, 74 => 13, 72 => 12, 70 => 11, 67 => 10, 65 => 9, 62 => 8, 59 => 7, 53 => 5, 50 => 4, 48 => 3, 45 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("{% if bloc is defined and bloc is not empty %}
{% if bloc.type == 'template' %}
{% if bloc.template is defined %}
{{bloc.template|raw}}
{% endif %}
{% endif %}
{% if bloc.type == 'bloc-service' and bloc.data != null %}
{% if bloc.data.alias == \"bloc_travaux\" %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc_travaux.html.twig',{
bloc: bloc.data,
}, with_context = false)}}
{% elseif bloc.data.alias == \"bloc_raisons\" %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc_raisons.html.twig',{
bloc: bloc.data,
}, with_context = false)}}
{% elseif bloc.data.alias == \"chiffres\" %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/chiffres.html.twig',{
bloc: bloc.data,
}, with_context = false)}}
{% elseif bloc.data.alias == \"avantages\" %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/chiffres.html.twig',{
bloc: bloc.data,
}, with_context = false)}}
{% endif %}
{% endif %}
{% if bloc.type == 'bloc-partenaire' and bloc.data != null %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc_partenaire.html.twig',{
bloc: bloc.data,
}, with_context = false)}}
{% endif %}
{% if bloc.type == 'titre' %}
{% if bloc.title is defined %}
<div id=\"bloc-{{bloc.id}}\" class=\"text-widget\">
{{bloc.title|raw}}
</div>
{% endif %}
{% endif %}
{% if bloc.type == 'bloc-activite' %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc_activite.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% endif %}
{% if bloc.type == 'bloc-secteur' %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc_localite.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% endif %}
{% if bloc.type == 'bloc-sous-activite' %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc_sous_activite.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% endif %}
{% if bloc.type == 'text' %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc_titre_text.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% endif %}
{% if bloc.type == 'text2' %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc_image_text.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% endif %}
{% if bloc.type == 'form' %}
{% if bloc.form.identifier == 'form-footer' %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/form/form_footer.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% elseif bloc.form.identifier == 'form-contact' %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/form/contact_form.html.twig',{
bloc: bloc,
product_interesse:product_interesse
}, with_context = false)}}
{% elseif bloc.form.identifier == 'form-devis' %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/form/devis_form.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% elseif bloc.form.identifier == 'form-faq' %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/form/form_faq.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% elseif bloc.form.identifier == 'postuler' %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/form/postuler_form.html.twig',{
bloc: bloc,
annonce_interesse:annonce_interesse
}, with_context = false)}}
{% elseif bloc.form.identifier == 'newsletter' %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/form/newsletter_form.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% elseif bloc.form.identifier == 'form_lp' %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/form/form_landing.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% else %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/form/form.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% endif %}
{% endif %}
{% if bloc.type == 'slider' and bloc.images is not empty %}
<div id=\"carouselDefaultIndicators\" class=\"carousel slide slider-home\" data-ride=\"carousel\">
{% if bloc.images|length > 1 %}
<ol class=\"carousel-indicators\">
{% for key,image in bloc.images %}
<li data-target=\"#carouselDefaultIndicators\" data-slide-to=\"{{key}}\" {% if key == '0' %}class=\"active\"{% endif %}></li>
{% endfor %}
</ol>
{% endif %}
</div>
{% endif %}
{% if bloc.type == 'video' %}
<section id=\"bloc-{{bloc.id}}\" class=\"all-works espace-p-top text-center panel-st conducteur-trigger text-center\">
<iframe width=\"962\" height=\"541\" src=\"{{bloc.url_video}}\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>
</section>
{% endif %}
{% if bloc.type == 'image' %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc_image.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% endif %}
{% if bloc.type == 'bloc-gallerie' %}
{{ include('front/'~ app.request.server.get('APP_THEME') ~'/bloc/bloc_galleries.html.twig',{
bloc: bloc,
}, with_context = false)}}
{% endif %}
{% if bloc.type == 'carousel' %}
<div class=\"BlocCarousel\">
<div class=\"container-fluid\">
<div class=\"row justify-content-center\">
<div class=\"col-sm-12 col-md-6 col-lg-6\">
{% if bloc.images is defined and bloc.images is not empty %}
<div id=\"carousel{{bloc.id}}\" class=\"carousel slide\" data-ride=\"carousel\">
{# <ol class=\"carousel-indicators\">
{% for key,image in bloc.images %}
<li data-target=\"#carousel{{bloc.id}}\" data-slide-to=\"{{key}}\" {% if key == '0' %}class=\"active\"{% endif %}></li>
{% endfor %}
</ol> #}
<div class=\"carousel-inner text-center\">
{% for key,file in bloc.images %}
<div {% if key == '0' %}class=\"carousel-item active\" {% else %} class=\"carousel-item\" {% endif %}>
{# <a href=\"{{asset('/uploads/gallery/'~ file.image)}}\" data-fancybox=\"{{file.image}}\" data-caption=\"{{file.image}}\" class=\"icon-loupe\">
<img src=\"{{asset('/uploads/icons/icone_loupe.png')}}\" alt=\"icon-loupe\">
</a> #}
<img src=\"{{asset('/uploads/gallery/'~ file.image)| imagine_filter('img_carousel')}}\" class=\"img-carousel img-fluid\" alt=\"{{file.image}}\">
</div>
{% endfor %}
</div>
</div>
{% endif %}
</div>
</div>
</div>
</div>
{% endif %}
{% if bloc.type == 'carousel2' %}
<div class=\"BlocCarousel\">
<div class=\"container-fluid\">
<div class=\"row\">
{% set carousel2_g1 = bloc.gridcarousel != null? (12 - bloc.gridcarousel):'6' %}
{% set carousel2_g2 = bloc.gridcarousel != null? bloc.gridcarousel:'6' %}
<div class=\"col-sm-12 col-md-{{carousel2_g1}} col-lg-{{carousel2_g1}} {{bloc.position == 'left'?'order-2':'order-1'}}\">
{{bloc.content|raw}}
</div>
<div class=\"col-sm-12 col-md-{{carousel2_g2}} col-lg-{{carousel2_g2}} {{bloc.position == 'left'?'order-1':'order-2'}}\">
{% if bloc.images is defined and bloc.images is not empty %}
<div id=\"carousel{{bloc.id}}\" class=\"carousel slide\" data-ride=\"carousel\">
{# <ol class=\"carousel-indicators\">
{% for key,image in bloc.images %}
<li data-target=\"#carousel{{bloc.id}}\" data-slide-to=\"{{key}}\" {% if key == '0' %}class=\"active\"{% endif %}></li>
{% endfor %}
</ol> #}
<div class=\"carousel-inner text-center\">
{% for key,file in bloc.images %}
<div {% if key == '0' %}class=\"carousel-item active\" {% else %} class=\"carousel-item\" {% endif %}>
{# <a href=\"{{asset('/uploads/gallery/'~ file.image)}}\" data-fancybox=\"{{file.image}}\" data-caption=\"{{file.image}}\" class=\"icon-loupe\">
<img src=\"{{asset('/uploads/icons/icone_loupe.png')}}\" alt=\"icon-loupe\">
</a> #}
<img src=\"{{asset('/uploads/gallery/'~ file.image)| imagine_filter('img_carousel')}}\" class=\"img-carousel img-fluid\" alt=\"{{file.image}}\">
</div>
{% endfor %}
</div>
</div>
{% endif %}
</div>
</div>
</div>
</div>
{% endif %}
{% endif %}
", "front/theme1/bloc/bloc.html.twig", "/var/www/vhosts/hrz.fr/oscar-multilangue.hrz.fr/templates/front/theme1/bloc/bloc.html.twig");
}
}