<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
/* theme/default/page_cms.html.twig */
class __TwigTemplate_1f86dc3cd69f90af9aafad8737917d81 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return $this->loadTemplate((("theme/" . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($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), "server", [], "any", false, false, false, 1), "get", ["APP_THEME"], "method", false, false, false, 1)) . "/partials/base.html.twig"), "theme/default/page_cms.html.twig", 1);
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "theme/default/page_cms.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "theme/default/page_cms.html.twig"));
yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 4
yield "\t";
yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
yield "
\t";
// line 5
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 5, $this->source); })()), "customstyle", [], "any", false, false, false, 5))) {
// line 6
yield "\t\t<style>";
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 6, $this->source); })()), "customstyle", [], "any", false, false, false, 6);
yield "</style>
\t";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 11
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 12
yield "\t<div id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["id_page"]) || array_key_exists("id_page", $context) ? $context["id_page"] : (function () { throw new RuntimeError('Variable "id_page" does not exist.', 12, $this->source); })()), "html", null, true);
yield "\" class=\"page-cms\">
\t\t";
// line 13
if ((array_key_exists("breadcrumb", $context) && !Twig\Extension\CoreExtension::testEmpty((isset($context["breadcrumb"]) || array_key_exists("breadcrumb", $context) ? $context["breadcrumb"] : (function () { throw new RuntimeError('Variable "breadcrumb" does not exist.', 13, $this->source); })())))) {
// line 14
yield "\t\t\t";
yield Twig\Extension\CoreExtension::include($this->env, $context, (("theme/" . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 14, $this->source); })()), "request", [], "any", false, false, false, 14), "server", [], "any", false, false, false, 14), "get", ["APP_THEME"], "method", false, false, false, 14)) . "/partials/breadcrumb.html.twig"), ["breadcrumb" => // line 15
(isset($context["breadcrumb"]) || array_key_exists("breadcrumb", $context) ? $context["breadcrumb"] : (function () { throw new RuntimeError('Variable "breadcrumb" does not exist.', 15, $this->source); })()), "titre_page" => (( // line 16
array_key_exists("titre_page", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["titre_page"]) || array_key_exists("titre_page", $context) ? $context["titre_page"] : (function () { throw new RuntimeError('Variable "titre_page" does not exist.', 16, $this->source); })()), "")) : ("")), "image_bandeau" => // line 17
(isset($context["image_bandeau"]) || array_key_exists("image_bandeau", $context) ? $context["image_bandeau"] : (function () { throw new RuntimeError('Variable "image_bandeau" does not exist.', 17, $this->source); })()), "image_bandeau_alt" => // line 18
(isset($context["image_bandeau_alt"]) || array_key_exists("image_bandeau_alt", $context) ? $context["image_bandeau_alt"] : (function () { throw new RuntimeError('Variable "image_bandeau_alt" does not exist.', 18, $this->source); })())], false);
// line 19
yield "
\t\t";
}
// line 21
yield "
\t\t<div class=\"container-fluid content-wrapper\">
\t\t\t<div class=\"content-area\">
\t\t\t\t<div class=\"row content_page\">
\t\t\t\t\t\t<div class=\"col-sm-12\">
\t\t\t\t\t\t\t";
// line 29
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 29, $this->source); })()), "image", [], "any", false, false, false, 29) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 29, $this->source); })()), "showimageprincipal", [], "any", false, false, false, 29) == false))) {
// line 30
yield "\t\t\t\t\t\t\t\t";
$context["position_image"] = ((CoreExtension::getAttribute($this->env, $this->source, ["1" => "d-flex justify-content-center", "2" => "d-flex justify-content-start", "3" => "d-flex justify-content-end"], CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 30, $this->source); })()), "positionimage", [], "any", false, false, false, 30), [], "array", true, true, false, 30)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ["1" => "d-flex justify-content-center", "2" => "d-flex justify-content-start", "3" => "d-flex justify-content-end"], CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 30, $this->source); })()), "positionimage", [], "any", false, false, false, 30), [], "array", false, false, false, 30), "d-flex justify-content-center")) : ("d-flex justify-content-center"));
// line 31
yield "\t\t\t\t\t\t\t\t<div class=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["position_image"]) || array_key_exists("position_image", $context) ? $context["position_image"] : (function () { throw new RuntimeError('Variable "position_image" does not exist.', 31, $this->source); })()), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t<div class=\"col-image-post\">
\t\t\t\t\t\t\t\t\t\t<img class=\"img-fluid principal-img\" src=\"";
// line 33
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 33, $this->source); })()), "image", [], "any", false, false, false, 33), "medium", ["1024x/uploads", "800x/uploads", "800x/uploads"]), "html", null, true);
yield "\" alt=\"";
yield (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 33, $this->source); })()), "imagealt", [], "any", false, false, false, 33))) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 33, $this->source); })()), "imagealt", [], "any", false, false, false, 33)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 33, $this->source); })()), "title", [], "any", false, false, false, 33)));
yield "\"/>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 37
yield "
\t\t\t\t\t\t\t";
// line 38
$context["lien_site"] = (((((("<a href=" . $this->extensions['App\Twig\CmsFunctionExtension']->websiteUrlFunction()) . " title=") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["site_parameters"]) || array_key_exists("site_parameters", $context) ? $context["site_parameters"] : (function () { throw new RuntimeError('Variable "site_parameters" does not exist.', 38, $this->source); })()), "getParameters", [], "method", false, false, false, 38), "titre", [], "any", false, false, false, 38)) . ">") . $this->extensions['App\Twig\CmsFunctionExtension']->websiteUrlFunction()) . "</a>");
// line 39
yield "
\t\t\t\t\t\t\t";
// line 40
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 40, $this->source); })()), "content", [], "any", false, false, false, 40))) {
// line 41
yield "\t\t\t\t\t\t\t\t<div class=\"texte-content\">";
yield $this->extensions['App\Twig\ShortcodeExtension']->replaceShortcodes($this->extensions['App\Twig\MotClePostExtension']->ContentChangeByMotCleFunction(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 41, $this->source); })()), "id", [], "any", false, false, false, 41), Twig\Extension\CoreExtension::replace(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 41, $this->source); })()), "content", [], "any", false, false, false, 41), ["[NDD]" => (isset($context["lien_site"]) || array_key_exists("lien_site", $context) ? $context["lien_site"] : (function () { throw new RuntimeError('Variable "lien_site" does not exist.', 41, $this->source); })())])));
yield "</div>
\t\t\t\t\t\t\t";
}
// line 43
yield "
\t\t\t\t\t\t\t";
// line 44
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 44, $this->source); })()), "tarifs", [], "any", false, false, false, 44))) {
// line 45
yield "\t\t\t\t\t\t\t\t";
$context["data_tarif"] = $this->extensions['App\Twig\UnserializeExtension']->UnserializeFunction(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 45, $this->source); })()), "tarifs", [], "any", false, false, false, 45));
// line 46
yield "\t\t\t\t\t\t\t\t<div class=\"tarifs_accordeon\">
\t\t\t\t\t\t\t\t\t";
// line 47
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["data_tarif"]) || array_key_exists("data_tarif", $context) ? $context["data_tarif"] : (function () { throw new RuntimeError('Variable "data_tarif" does not exist.', 47, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 48
yield "\t\t\t\t\t\t\t\t\t\t<div class=\"tarifs_accordeon_title\"><span class=\"title\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "globalTitle", [], "any", false, false, false, 48), "html", null, true);
yield "</span> <span class=\"icon-plus\"></span></div>
\t\t\t\t\t\t\t\t\t\t";
// line 49
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "tables", [], "any", false, false, false, 49))) {
// line 50
yield "\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarifs_accordeon_content\">
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 51
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "tables", [], "any", false, false, false, 51));
foreach ($context['_seq'] as $context["_key"] => $context["tab"]) {
// line 52
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarifs_tab\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_title\">";
// line 53
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "tableTitle", [], "any", false, false, false, 53), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 54
if ((CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "tableDescription", [], "any", true, true, false, 54) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "tableDescription", [], "any", false, false, false, 54)))) {
// line 55
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t \t<div class=\"tarif_tab_description\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "tableDescription", [], "any", false, false, false, 55), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 57
yield "
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_content\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 59
if ((CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "rows", [], "any", true, true, false, 59) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "rows", [], "any", false, false, false, 59)))) {
// line 60
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "rows", [], "any", false, false, false, 60));
foreach ($context['_seq'] as $context["_key"] => $context["row_item"]) {
// line 61
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_line\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_line_title\">";
// line 62
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row_item"], "titre", [], "any", false, false, false, 62), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_line_subtitle\">";
// line 63
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row_item"], "sousTitre", [], "any", false, false, false, 63), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_line_price\">";
// line 64
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row_item"], "price", [], "any", false, false, false, 64), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row_item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 67
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 68
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tab'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 71
yield "\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t";
}
// line 73
yield "\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 74
yield "\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 76
yield "
\t\t\t\t\t\t\t";
// line 77
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 77, $this->source); })()), "typelien", [], "any", false, false, false, 77) != 1)) {
// line 78
yield "\t\t\t\t\t\t\t\t";
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 78, $this->source); })()), "typelien", [], "any", false, false, false, 78) == "4")) {
// line 79
yield "\t\t\t\t\t\t\t\t\t<div class=\"text-center py-2\">
\t\t\t\t\t\t\t\t\t\t<a href=\"tel:";
// line 80
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 80, $this->source); })()), "telephone", [], "any", false, false, false, 80), "html", null, true);
yield "\" class=\"btn btn-theme py-3 px-5 mt-3 btn-plus\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 80, $this->source); })()), "titrelien", [], "any", false, false, false, 80), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 82
(isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 82, $this->source); })()), "typelien", [], "any", false, false, false, 82) == "2")) {
// line 83
yield "\t\t\t\t\t\t\t\t\t<div class=\"text-center py-2\">
\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 84
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\CmsFunctionExtension']->resolveInternalSlugLinkFunction(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 84, $this->source); })()), "lieninterne", [], "any", false, false, false, 84)), "html", null, true);
yield "\" class=\"btn btn-theme py-3 px-5 mt-3 btn-plus\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 84, $this->source); })()), "titrelien", [], "any", false, false, false, 84), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 86
(isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 86, $this->source); })()), "typelien", [], "any", false, false, false, 86) == "3")) {
// line 87
yield "\t\t\t\t\t\t\t\t\t<div class=\"text-center py-2\">
\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 88
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 88, $this->source); })()), "lienexterne", [], "any", false, false, false, 88), "html", null, true);
yield "\" target=\"_blank\" class=\"btn btn-theme py-3 px-5 mt-3 btn-plus\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 88, $this->source); })()), "titrelien", [], "any", false, false, false, 88), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
// line 91
yield "\t\t\t\t\t\t\t";
}
// line 92
yield "\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
// line 94
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 94, $this->source); })()), "urlvideo", [], "any", false, false, false, 94))) {
// line 95
yield "\t\t\t\t\t\t\t<div class=\"col-sm-12\">
\t\t\t\t\t\t\t\t<div class=\"contenu-video\">
\t\t\t\t\t\t\t\t\t";
// line 97
$context["id_video_externe"] = $this->extensions['App\Twig\AppExtension']->extractYoutubeId(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 97, $this->source); })()), "urlvideo", [], "any", false, false, false, 97));
// line 98
yield "\t\t\t\t\t\t\t\t\t<a class=\"video-thumbnail m-0\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 98, $this->source); })()), "urlvideo", [], "any", false, false, false, 98), "html", null, true);
yield "\" data-fancybox=\"video\">
\t\t\t\t\t\t\t\t\t\t<img src=\"https://img.youtube.com/vi/";
// line 99
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["id_video_externe"]) || array_key_exists("id_video_externe", $context) ? $context["id_video_externe"] : (function () { throw new RuntimeError('Variable "id_video_externe" does not exist.', 99, $this->source); })()), "html", null, true);
yield "/maxresdefault.jpg\" class=\"img-fluid\" alt=\"youtube vidéo\"/>
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
}
// line 104
yield "
\t\t\t\t\t\t";
// line 105
if (((((isset($context["galleries"]) || array_key_exists("galleries", $context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.', 105, $this->source); })()) && !Twig\Extension\CoreExtension::testEmpty((isset($context["galleries"]) || array_key_exists("galleries", $context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.', 105, $this->source); })()))) && array_key_exists("twig_galerie", $context)) && !Twig\Extension\CoreExtension::testEmpty((isset($context["twig_galerie"]) || array_key_exists("twig_galerie", $context) ? $context["twig_galerie"] : (function () { throw new RuntimeError('Variable "twig_galerie" does not exist.', 105, $this->source); })())))) {
// line 106
yield "\t\t\t\t\t\t\t<div class=\"col-sm-12\">
\t\t\t\t\t\t\t\t";
// line 107
yield Twig\Extension\CoreExtension::include($this->env, $context, Twig\Extension\StringLoaderExtension::templateFromString($this->env, (isset($context["twig_galerie"]) || array_key_exists("twig_galerie", $context) ? $context["twig_galerie"] : (function () { throw new RuntimeError('Variable "twig_galerie" does not exist.', 107, $this->source); })())));
yield "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
}
// line 110
yield "
\t\t\t\t
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t";
// line 118
if (array_key_exists("blocs", $context)) {
// line 119
yield "\t\t\t";
yield Twig\Extension\CoreExtension::include($this->env, $context, (("theme/" . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 119, $this->source); })()), "request", [], "any", false, false, false, 119), "server", [], "any", false, false, false, 119), "get", ["APP_THEME"], "method", false, false, false, 119)) . "/partials/bloc_render.html.twig"), ["blocs" => (isset($context["blocs"]) || array_key_exists("blocs", $context) ? $context["blocs"] : (function () { throw new RuntimeError('Variable "blocs" does not exist.', 119, $this->source); })())], false);
yield "
\t\t";
}
// line 121
yield "
\t\t";
// line 122
if ((array_key_exists("post_associer", $context) && !Twig\Extension\CoreExtension::testEmpty((isset($context["post_associer"]) || array_key_exists("post_associer", $context) ? $context["post_associer"] : (function () { throw new RuntimeError('Variable "post_associer" does not exist.', 122, $this->source); })())))) {
// line 123
yield "\t\t\t<div class=\"container-fluid content-wrapper py-5\">
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-sm-12\">
\t\t\t\t\t\t<h2 class=\"title mb-5\">
\t\t\t\t\t\t\tDécouvrez d'autres articles
\t\t\t\t\t\t</h2>
\t\t\t\t\t\t<div class=\"article-list\" data-columns=\"3\" data-style=\"compact\">
\t\t\t\t\t\t\t";
// line 130
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["post_associer"]) || array_key_exists("post_associer", $context) ? $context["post_associer"] : (function () { throw new RuntimeError('Variable "post_associer" does not exist.', 130, $this->source); })()));
foreach ($context['_seq'] as $context["key"] => $context["item"]) {
// line 131
yield "\t\t\t\t\t\t\t\t<div class=\"col article-item list-item \">
\t\t\t\t\t\t\t\t\t<div class=\"card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"bx-image\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 134
if (CoreExtension::getAttribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 134)) {
// line 135
yield "\t\t\t\t\t\t\t\t\t\t\t\t<img data-src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 135), "medium", ["1024x/uploads", "800x/uploads", "800x/uploads"]), "html", null, true);
yield "\" class=\"card-img-top lazyload\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 135), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 137
yield "\t\t\t\t\t\t\t\t\t\t\t\t<img data-src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("/uploads/media-site/" . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["site_parameters"]) || array_key_exists("site_parameters", $context) ? $context["site_parameters"] : (function () { throw new RuntimeError('Variable "site_parameters" does not exist.', 137, $this->source); })()), "getParameters", [], "method", false, false, false, 137), "imagevide", [], "any", false, false, false, 137))), "html", null, true);
yield "\" class=\"card-img-top lazyload\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 137), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 139
yield "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"card-body\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"article-content\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 143
$context["link"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => CoreExtension::getAttribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 143)]);
// line 144
yield "\t\t\t\t\t\t\t\t\t\t\t\t<h3 class=\"card-title\"><a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 144, $this->source); })()), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 144), "html", null, true);
yield "</a></h3>
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 146
if (CoreExtension::getAttribute($this->env, $this->source, $context["item"], "showresume", [], "any", false, false, false, 146)) {
// line 147
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["texte_content"] = $this->extensions['App\Twig\CmsFunctionExtension']->cutTextFunction(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "summary", [], "any", false, false, false, 147));
// line 148
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 149
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["texte_content"] = $this->extensions['App\Twig\CmsFunctionExtension']->cutTextFunction(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, false, 149));
// line 150
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 151
yield "
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 152
if ( !Twig\Extension\CoreExtension::testEmpty((isset($context["texte_content"]) || array_key_exists("texte_content", $context) ? $context["texte_content"] : (function () { throw new RuntimeError('Variable "texte_content" does not exist.', 152, $this->source); })()))) {
// line 153
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"card-text\">";
yield (isset($context["texte_content"]) || array_key_exists("texte_content", $context) ? $context["texte_content"] : (function () { throw new RuntimeError('Variable "texte_content" does not exist.', 153, $this->source); })());
yield "</p>
\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 155
yield "\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t";
// line 157
$context["link"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => CoreExtension::getAttribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 157)]);
// line 158
yield "\t\t\t\t\t\t\t\t\t\t\t<div class=\"action-article\">
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 159
$context["titre_lien"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "titlebottonaffichage", [], "any", true, true, false, 159)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "titlebottonaffichage", [], "any", false, false, false, 159), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label.btn_plus", [], "textes"))) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label.btn_plus", [], "textes")));
// line 160
yield "\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 160, $this->source); })()), "html", null, true);
yield "\" class=\"btn btn-theme\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["titre_lien"]) || array_key_exists("titre_lien", $context) ? $context["titre_lien"] : (function () { throw new RuntimeError('Variable "titre_lien" does not exist.', 160, $this->source); })()), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 166
yield "\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t";
} elseif (( // line 170
array_key_exists("post_aleatoire", $context) && !Twig\Extension\CoreExtension::testEmpty((isset($context["post_aleatoire"]) || array_key_exists("post_aleatoire", $context) ? $context["post_aleatoire"] : (function () { throw new RuntimeError('Variable "post_aleatoire" does not exist.', 170, $this->source); })())))) {
// line 171
yield "\t\t\t<div class=\"article-random\">
\t\t\t\t<div class=\"container-fluid content-wrapper\">
\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t<div class=\"col-sm-12\">
\t\t\t\t\t\t\t<h2 class=\"title mb-5\">
\t\t\t\t\t\t\t\tDécouvrez d'autres articles
\t\t\t\t\t\t\t</h2>
\t\t\t\t\t\t\t<div class=\"article-list\" data-columns=\"3\" data-style=\"compact\">
\t\t\t\t\t\t\t\t";
// line 179
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["post_aleatoire"]) || array_key_exists("post_aleatoire", $context) ? $context["post_aleatoire"] : (function () { throw new RuntimeError('Variable "post_aleatoire" does not exist.', 179, $this->source); })()));
foreach ($context['_seq'] as $context["key"] => $context["item"]) {
// line 180
yield "\t\t\t\t\t\t\t\t\t<div class=\"col article-item list-item \">
\t\t\t\t\t\t\t\t\t\t<div class=\"card\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"bx-image\">
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 183
if (CoreExtension::getAttribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 183)) {
// line 184
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<img data-src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 184), "medium", ["1024x/uploads", "800x/uploads", "800x/uploads"]), "html", null, true);
yield "\" class=\"card-img-top lazyload\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 184), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 186
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<img data-src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("/uploads/media-site/" . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["site_parameters"]) || array_key_exists("site_parameters", $context) ? $context["site_parameters"] : (function () { throw new RuntimeError('Variable "site_parameters" does not exist.', 186, $this->source); })()), "getParameters", [], "method", false, false, false, 186), "imagevide", [], "any", false, false, false, 186))), "html", null, true);
yield "\" class=\"card-img-top lazyload\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 186), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 188
yield "\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t<div class=\"card-body\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"article-content\">
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 192
$context["link"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => CoreExtension::getAttribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 192)]);
// line 193
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<h3 class=\"card-title\"><a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 193, $this->source); })()), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 193), "html", null, true);
yield "</a></h3>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 195
if (CoreExtension::getAttribute($this->env, $this->source, $context["item"], "showresume", [], "any", false, false, false, 195)) {
// line 196
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["texte_content"] = $this->extensions['App\Twig\CmsFunctionExtension']->cutTextFunction(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "summary", [], "any", false, false, false, 196));
// line 197
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 198
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["texte_content"] = $this->extensions['App\Twig\CmsFunctionExtension']->cutTextFunction(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, false, 198));
// line 199
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 200
yield "
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 201
if ( !Twig\Extension\CoreExtension::testEmpty((isset($context["texte_content"]) || array_key_exists("texte_content", $context) ? $context["texte_content"] : (function () { throw new RuntimeError('Variable "texte_content" does not exist.', 201, $this->source); })()))) {
// line 202
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"card-text\">";
yield (isset($context["texte_content"]) || array_key_exists("texte_content", $context) ? $context["texte_content"] : (function () { throw new RuntimeError('Variable "texte_content" does not exist.', 202, $this->source); })());
yield "</p>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 204
yield "\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 206
$context["link"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => CoreExtension::getAttribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 206)]);
// line 207
yield "\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"action-article\">
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 208
$context["titre_lien"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "titlebottonaffichage", [], "any", true, true, false, 208)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "titlebottonaffichage", [], "any", false, false, false, 208), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label.btn_plus", [], "textes"))) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label.btn_plus", [], "textes")));
// line 209
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 209, $this->source); })()), "html", null, true);
yield "\" class=\"btn btn-theme\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["titre_lien"]) || array_key_exists("titre_lien", $context) ? $context["titre_lien"] : (function () { throw new RuntimeError('Variable "titre_lien" does not exist.', 209, $this->source); })()), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 215
yield "\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t";
}
// line 221
yield "\t</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 224
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 225
yield "\t";
yield from $this->yieldParentBlock("javascripts", $context, $blocks);
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "theme/default/page_cms.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 619 => 225, 609 => 224, 597 => 221, 589 => 215, 574 => 209, 572 => 208, 569 => 207, 567 => 206, 563 => 204, 557 => 202, 555 => 201, 552 => 200, 549 => 199, 546 => 198, 543 => 197, 540 => 196, 538 => 195, 530 => 193, 528 => 192, 522 => 188, 514 => 186, 506 => 184, 504 => 183, 499 => 180, 495 => 179, 485 => 171, 483 => 170, 477 => 166, 462 => 160, 460 => 159, 457 => 158, 455 => 157, 451 => 155, 445 => 153, 443 => 152, 440 => 151, 437 => 150, 434 => 149, 431 => 148, 428 => 147, 426 => 146, 418 => 144, 416 => 143, 410 => 139, 402 => 137, 394 => 135, 392 => 134, 387 => 131, 383 => 130, 374 => 123, 372 => 122, 369 => 121, 363 => 119, 361 => 118, 351 => 110, 345 => 107, 342 => 106, 340 => 105, 337 => 104, 329 => 99, 324 => 98, 322 => 97, 318 => 95, 316 => 94, 312 => 92, 309 => 91, 301 => 88, 298 => 87, 296 => 86, 289 => 84, 286 => 83, 284 => 82, 277 => 80, 274 => 79, 271 => 78, 269 => 77, 266 => 76, 262 => 74, 256 => 73, 252 => 71, 244 => 68, 241 => 67, 232 => 64, 228 => 63, 224 => 62, 221 => 61, 216 => 60, 214 => 59, 210 => 57, 204 => 55, 202 => 54, 198 => 53, 195 => 52, 191 => 51, 188 => 50, 186 => 49, 181 => 48, 177 => 47, 174 => 46, 171 => 45, 169 => 44, 166 => 43, 160 => 41, 158 => 40, 155 => 39, 153 => 38, 150 => 37, 141 => 33, 135 => 31, 132 => 30, 130 => 29, 120 => 21, 116 => 19, 114 => 18, 113 => 17, 112 => 16, 111 => 15, 109 => 14, 107 => 13, 102 => 12, 92 => 11, 77 => 6, 75 => 5, 70 => 4, 60 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"theme/\"~ app.request.server.get('APP_THEME') ~\"/partials/base.html.twig\" %}
{% block stylesheets %}
\t{{parent()}}
\t{% if page.customstyle is not empty %}
\t\t<style>{{page.customstyle|raw}}</style>
\t{% endif %}
{% endblock %}
{% block body %}
\t<div id=\"{{id_page}}\" class=\"page-cms\">
\t\t{% if breadcrumb is defined and breadcrumb is not empty %}
\t\t\t{{ include ('theme/'~ app.request.server.get('APP_THEME') ~'/partials/breadcrumb.html.twig',{
breadcrumb: breadcrumb,
titre_page: titre_page|default(''),
image_bandeau: image_bandeau,
image_bandeau_alt:image_bandeau_alt
}, with_context = false)}}
\t\t{% endif %}
\t\t<div class=\"container-fluid content-wrapper\">
\t\t\t<div class=\"content-area\">
\t\t\t\t<div class=\"row content_page\">
\t\t\t\t\t\t<div class=\"col-sm-12\">
\t\t\t\t\t\t\t{% if page.image and page.showimageprincipal == false %}
\t\t\t\t\t\t\t\t{% set position_image = ({ \"1\": \"d-flex justify-content-center\", \"2\": \"d-flex justify-content-start\", \"3\": \"d-flex justify-content-end\" }[page.positionimage]|default(\"d-flex justify-content-center\")) %}
\t\t\t\t\t\t\t\t<div class=\"{{position_image}}\">
\t\t\t\t\t\t\t\t\t<div class=\"col-image-post\">
\t\t\t\t\t\t\t\t\t\t<img class=\"img-fluid principal-img\" src=\"{{asset_image(page.image,'medium',['1024x/uploads','800x/uploads','800x/uploads'])}}\" alt=\"{{page.imagealt is not empty ? page.imagealt|raw : page.title|raw}}\"/>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% set lien_site = \"<a href=\"~websiteUrl()~\" title=\"~site_parameters.getParameters().titre~\">\"~websiteUrl()~\"</a>\" %}
\t\t\t\t\t\t\t{% if page.content is not empty %}
\t\t\t\t\t\t\t\t<div class=\"texte-content\">{{ContentChangeByMotCle(page.id,page.content|replace({'[NDD]':lien_site}))|shortcode|raw}}</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% if page.tarifs is not empty %}
\t\t\t\t\t\t\t\t{% set data_tarif = unserialize(page.tarifs) %}
\t\t\t\t\t\t\t\t<div class=\"tarifs_accordeon\">
\t\t\t\t\t\t\t\t\t{% for item in data_tarif %}
\t\t\t\t\t\t\t\t\t\t<div class=\"tarifs_accordeon_title\"><span class=\"title\">{{item.globalTitle}}</span> <span class=\"icon-plus\"></span></div>
\t\t\t\t\t\t\t\t\t\t{% if item.tables is not empty %}
\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarifs_accordeon_content\">
\t\t\t\t\t\t\t\t\t\t\t\t{% for tab in item.tables %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarifs_tab\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_title\">{{tab.tableTitle}}</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab.tableDescription is defined and tab.tableDescription is not empty %}
\t\t\t\t\t\t\t\t\t\t\t\t\t \t<div class=\"tarif_tab_description\">{{tab.tableDescription}}</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_content\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab.rows is defined and tab.rows is not empty %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for row_item in tab.rows %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_line\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_line_title\">{{row_item.titre}}</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_line_subtitle\">{{row_item.sousTitre}}</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_line_price\">{{row_item.price}}</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% if page.typelien != 1 %}
\t\t\t\t\t\t\t\t{% if page.typelien == '4' %}
\t\t\t\t\t\t\t\t\t<div class=\"text-center py-2\">
\t\t\t\t\t\t\t\t\t\t<a href=\"tel:{{page.telephone}}\" class=\"btn btn-theme py-3 px-5 mt-3 btn-plus\">{{page.titrelien}}</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% elseif page.typelien == '2' %}
\t\t\t\t\t\t\t\t\t<div class=\"text-center py-2\">
\t\t\t\t\t\t\t\t\t\t<a href=\"{{resolveInternalSlugLink(page.lieninterne)}}\" class=\"btn btn-theme py-3 px-5 mt-3 btn-plus\">{{page.titrelien}}</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% elseif page.typelien == '3' %}
\t\t\t\t\t\t\t\t\t<div class=\"text-center py-2\">
\t\t\t\t\t\t\t\t\t\t<a href=\"{{page.lienexterne}}\" target=\"_blank\" class=\"btn btn-theme py-3 px-5 mt-3 btn-plus\">{{page.titrelien}}</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t</div>
\t\t\t\t\t\t{% if page.urlvideo is not empty %}
\t\t\t\t\t\t\t<div class=\"col-sm-12\">
\t\t\t\t\t\t\t\t<div class=\"contenu-video\">
\t\t\t\t\t\t\t\t\t{% set id_video_externe = extract_youtube_id(page.urlvideo) %}
\t\t\t\t\t\t\t\t\t<a class=\"video-thumbnail m-0\" href=\"{{page.urlvideo}}\" data-fancybox=\"video\">
\t\t\t\t\t\t\t\t\t\t<img src=\"https://img.youtube.com/vi/{{id_video_externe}}/maxresdefault.jpg\" class=\"img-fluid\" alt=\"youtube vidéo\"/>
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% if galleries and galleries is not empty and twig_galerie is defined and twig_galerie is not empty %}
\t\t\t\t\t\t\t<div class=\"col-sm-12\">
\t\t\t\t\t\t\t\t{{ include(template_from_string(twig_galerie)) }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t{% endif %}
\t\t\t\t
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t{% if blocs is defined %}
\t\t\t{{ include ('theme/'~ app.request.server.get('APP_THEME') ~'/partials/bloc_render.html.twig',{blocs: blocs}, with_context = false)}}
\t\t{% endif %}
\t\t{% if post_associer is defined and post_associer is not empty %}
\t\t\t<div class=\"container-fluid content-wrapper py-5\">
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-sm-12\">
\t\t\t\t\t\t<h2 class=\"title mb-5\">
\t\t\t\t\t\t\tDécouvrez d'autres articles
\t\t\t\t\t\t</h2>
\t\t\t\t\t\t<div class=\"article-list\" data-columns=\"3\" data-style=\"compact\">
\t\t\t\t\t\t\t{% for key,item in post_associer %}
\t\t\t\t\t\t\t\t<div class=\"col article-item list-item \">
\t\t\t\t\t\t\t\t\t<div class=\"card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"bx-image\">
\t\t\t\t\t\t\t\t\t\t\t{% if item.image %}
\t\t\t\t\t\t\t\t\t\t\t\t<img data-src=\"{{asset_image(item.image,'medium',['1024x/uploads','800x/uploads','800x/uploads'])}}\" class=\"card-img-top lazyload\" alt=\"{{item.title}}\">
\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t<img data-src=\"{{asset('/uploads/media-site/'~ site_parameters.getParameters().imagevide)}}\" class=\"card-img-top lazyload\" alt=\"{{item.title}}\">
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"card-body\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"article-content\">
\t\t\t\t\t\t\t\t\t\t\t{% set link = path('page',{slug:item.slug }) %}
\t\t\t\t\t\t\t\t\t\t\t\t<h3 class=\"card-title\"><a href=\"{{link}}\">{{item.title}}</a></h3>
\t\t\t\t\t\t\t\t\t\t\t\t{% if item.showresume %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% set texte_content = cutText(item.summary) %}
\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% set texte_content = cutText(item.content) %}
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t{% if texte_content is not empty %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"card-text\">{{texte_content|raw}}</p>
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t{% set link = path('page',{slug:item.slug }) %}
\t\t\t\t\t\t\t\t\t\t\t<div class=\"action-article\">
\t\t\t\t\t\t\t\t\t\t\t\t{% set titre_lien = item.titlebottonaffichage|default('label.btn_plus'|trans({}, 'textes')) %}
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{link}}\" class=\"btn btn-theme\">{{titre_lien}}</a>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t{% elseif post_aleatoire is defined and post_aleatoire is not empty %}
\t\t\t<div class=\"article-random\">
\t\t\t\t<div class=\"container-fluid content-wrapper\">
\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t<div class=\"col-sm-12\">
\t\t\t\t\t\t\t<h2 class=\"title mb-5\">
\t\t\t\t\t\t\t\tDécouvrez d'autres articles
\t\t\t\t\t\t\t</h2>
\t\t\t\t\t\t\t<div class=\"article-list\" data-columns=\"3\" data-style=\"compact\">
\t\t\t\t\t\t\t\t{% for key,item in post_aleatoire %}
\t\t\t\t\t\t\t\t\t<div class=\"col article-item list-item \">
\t\t\t\t\t\t\t\t\t\t<div class=\"card\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"bx-image\">
\t\t\t\t\t\t\t\t\t\t\t\t{% if item.image %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<img data-src=\"{{asset_image(item.image,'medium',['1024x/uploads','800x/uploads','800x/uploads'])}}\" class=\"card-img-top lazyload\" alt=\"{{item.title}}\">
\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<img data-src=\"{{asset('/uploads/media-site/'~ site_parameters.getParameters().imagevide)}}\" class=\"card-img-top lazyload\" alt=\"{{item.title}}\">
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t<div class=\"card-body\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"article-content\">
\t\t\t\t\t\t\t\t\t\t\t\t{% set link = path('page',{slug:item.slug }) %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<h3 class=\"card-title\"><a href=\"{{link}}\">{{item.title}}</a></h3>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if item.showresume %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set texte_content = cutText(item.summary) %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set texte_content = cutText(item.content) %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if texte_content is not empty %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"card-text\">{{texte_content|raw}}</p>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t{% set link = path('page',{slug:item.slug }) %}
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"action-article\">
\t\t\t\t\t\t\t\t\t\t\t\t\t{% set titre_lien = item.titlebottonaffichage|default('label.btn_plus'|trans({}, 'textes')) %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{link}}\" class=\"btn btn-theme\">{{titre_lien}}</a>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t{% endif %}
\t</div>
{% endblock %}
{% block javascripts %}
\t{{parent()}}
{% endblock %}
", "theme/default/page_cms.html.twig", "/var/www/vhosts/klean.studiojna.fr/httpdocs/templates/theme/default/page_cms.html.twig");
}
}