<?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\Sandbox\SecurityNotAllowedTestError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* pages/default.html.twig */
class __TwigTemplate_ba7bb44f02cb5db358d511e2b5a2e50f extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'page_class' => [$this, 'block_page_class'],
'content' => [$this, 'block_content'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$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", "pages/default.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/default.html.twig"));
$this->parent = $this->load("base.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 4
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_page_class(array $context, array $blocks = []): iterable
{
$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", "page_class"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_class"));
// line 5
yield "\tpage
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 8
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$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", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 9
yield "
\t";
// line 10
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 10, $this->source); })()), "rows", [], "any", false, false, false, 10));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
// line 11
yield "\t\t";
$context["rowStyles"] = Twig\Extension\CoreExtension::filter($this->env, $this->env->hasExtension(\Twig\Extension\SandboxExtension::class) && $this->env->getExtension(\Twig\Extension\SandboxExtension::class)->isSandboxed($this->source), ["margin-top" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 12
$context["row"], "marginTop", [], "any", false, false, false, 12))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["row"], "marginTop", [], "any", false, false, false, 12) . CoreExtension::getAttribute($this->env, $this->source, $context["row"], "marginUnit", [], "any", false, false, false, 12))) : (null)), "margin-bottom" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 13
$context["row"], "marginBottom", [], "any", false, false, false, 13))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["row"], "marginBottom", [], "any", false, false, false, 13) . CoreExtension::getAttribute($this->env, $this->source, $context["row"], "marginUnit", [], "any", false, false, false, 13))) : (null)), "margin-left" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 14
$context["row"], "marginLeft", [], "any", false, false, false, 14))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["row"], "marginLeft", [], "any", false, false, false, 14) . CoreExtension::getAttribute($this->env, $this->source, $context["row"], "marginUnit", [], "any", false, false, false, 14))) : (null)), "margin-right" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 15
$context["row"], "marginRight", [], "any", false, false, false, 15))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["row"], "marginRight", [], "any", false, false, false, 15) . CoreExtension::getAttribute($this->env, $this->source, $context["row"], "marginUnit", [], "any", false, false, false, 15))) : (null)), "padding-top" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 16
$context["row"], "paddingTop", [], "any", false, false, false, 16))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["row"], "paddingTop", [], "any", false, false, false, 16) . CoreExtension::getAttribute($this->env, $this->source, $context["row"], "paddingUnit", [], "any", false, false, false, 16))) : (null)), "padding-bottom" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 17
$context["row"], "paddingBottom", [], "any", false, false, false, 17))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["row"], "paddingBottom", [], "any", false, false, false, 17) . CoreExtension::getAttribute($this->env, $this->source, $context["row"], "paddingUnit", [], "any", false, false, false, 17))) : (null)), "padding-left" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 18
$context["row"], "paddingLeft", [], "any", false, false, false, 18))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["row"], "paddingLeft", [], "any", false, false, false, 18) . CoreExtension::getAttribute($this->env, $this->source, $context["row"], "paddingUnit", [], "any", false, false, false, 18))) : (null)), "padding-right" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 19
$context["row"], "paddingRight", [], "any", false, false, false, 19))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["row"], "paddingRight", [], "any", false, false, false, 19) . CoreExtension::getAttribute($this->env, $this->source, $context["row"], "paddingUnit", [], "any", false, false, false, 19))) : (null))], // line 20
function ($__value__) use ($context, $macros) { $context["value"] = $__value__; return !(null === (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 20, $this->source); })())); });
// line 21
yield "
\t\t<div class=\"";
// line 22
yield (string) (((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["row"], "isFullWidth", [], "any", false, false, false, 22)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("container-fluid") : ("container"));
yield "\" style=\"";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::join(Twig\Extension\CoreExtension::map($this->env, $this->env->hasExtension(\Twig\Extension\SandboxExtension::class) && $this->env->getExtension(\Twig\Extension\SandboxExtension::class)->isSandboxed($this->source), (isset($context["rowStyles"]) || array_key_exists("rowStyles", $context) ? $context["rowStyles"] : (function () { throw new RuntimeError('Variable "rowStyles" does not exist.', 22, $this->source); })()), function ($__v__, $__k__) use ($context, $macros) { $context["v"] = $__v__; $context["k"] = $__k__; return (((isset($context["k"]) || array_key_exists("k", $context) ? $context["k"] : (function () { throw new RuntimeError('Variable "k" does not exist.', 22, $this->source); })()) . ":") . (isset($context["v"]) || array_key_exists("v", $context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.', 22, $this->source); })())); }), "; "), "html", null, true);
yield "\">
\t\t\t<div class=\"row\">
\t\t\t\t";
// line 24
$context["rowView"] = (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["view"] ?? null), "rows", [], "any", false, true, false, 24), CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 24), [], "array", true, true, false, 24) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["view"]) || array_key_exists("view", $context) ? $context["view"] : (function () { throw new RuntimeError('Variable "view" does not exist.', 24, $this->source); })()), "rows", [], "any", false, false, false, 24), CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 24), [], "array", false, false, false, 24)))) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["view"]) || array_key_exists("view", $context) ? $context["view"] : (function () { throw new RuntimeError('Variable "view" does not exist.', 24, $this->source); })()), "rows", [], "any", false, false, false, 24), CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 24), [], "array", false, false, false, 24)) : ([]));
// line 25
yield "
\t\t\t\t";
// line 26
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["row"], "columns", [], "any", false, false, false, 26));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["column"]) {
// line 27
yield "\t\t\t\t\t";
$context["columnView"] = (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["rowView"] ?? null), "columns", [], "any", false, true, false, 27), CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 27), [], "array", true, true, false, 27) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["rowView"]) || array_key_exists("rowView", $context) ? $context["rowView"] : (function () { throw new RuntimeError('Variable "rowView" does not exist.', 27, $this->source); })()), "columns", [], "any", false, false, false, 27), CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 27), [], "array", false, false, false, 27)))) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["rowView"]) || array_key_exists("rowView", $context) ? $context["rowView"] : (function () { throw new RuntimeError('Variable "rowView" does not exist.', 27, $this->source); })()), "columns", [], "any", false, false, false, 27), CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 27), [], "array", false, false, false, 27)) : ([]));
// line 28
yield "\t\t\t\t\t";
$context["colSizeLarge"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "colSizeLarge", [], "any", true, true, false, 28)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "colSizeLarge", [], "any", false, false, false, 28), 12)) : (12));
// line 29
yield "\t\t\t\t\t";
$context["colSizeMedium"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "colSizeMedium", [], "any", true, true, false, 29)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "colSizeMedium", [], "any", false, false, false, 29), 12)) : (12));
// line 30
yield "\t\t\t\t\t";
$context["colSizeSmall"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "colSizeSmall", [], "any", true, true, false, 30)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "colSizeSmall", [], "any", false, false, false, 30), 12)) : (12));
// line 31
yield "\t\t\t\t\t";
$context["colSizeVerySmall"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "colSizeVerySmall", [], "any", true, true, false, 31)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "colSizeVerySmall", [], "any", false, false, false, 31), 12)) : (12));
// line 32
yield "
\t\t\t\t\t";
// line 33
$context["columnStyles"] = Twig\Extension\CoreExtension::filter($this->env, $this->env->hasExtension(\Twig\Extension\SandboxExtension::class) && $this->env->getExtension(\Twig\Extension\SandboxExtension::class)->isSandboxed($this->source), ["margin-top" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 34
$context["column"], "marginTop", [], "any", false, false, false, 34))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "marginTop", [], "any", false, false, false, 34) . CoreExtension::getAttribute($this->env, $this->source, $context["column"], "marginUnit", [], "any", false, false, false, 34))) : (null)), "margin-bottom" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 35
$context["column"], "marginBottom", [], "any", false, false, false, 35))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "marginBottom", [], "any", false, false, false, 35) . CoreExtension::getAttribute($this->env, $this->source, $context["column"], "marginUnit", [], "any", false, false, false, 35))) : (null)), "margin-left" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 36
$context["column"], "marginLeft", [], "any", false, false, false, 36))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "marginLeft", [], "any", false, false, false, 36) . CoreExtension::getAttribute($this->env, $this->source, $context["column"], "marginUnit", [], "any", false, false, false, 36))) : (null)), "margin-right" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 37
$context["column"], "marginRight", [], "any", false, false, false, 37))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "marginRight", [], "any", false, false, false, 37) . CoreExtension::getAttribute($this->env, $this->source, $context["column"], "marginUnit", [], "any", false, false, false, 37))) : (null)), "padding-top" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 38
$context["column"], "paddingTop", [], "any", false, false, false, 38))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "paddingTop", [], "any", false, false, false, 38) . CoreExtension::getAttribute($this->env, $this->source, $context["column"], "paddingUnit", [], "any", false, false, false, 38))) : (null)), "padding-bottom" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 39
$context["column"], "paddingBottom", [], "any", false, false, false, 39))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "paddingBottom", [], "any", false, false, false, 39) . CoreExtension::getAttribute($this->env, $this->source, $context["column"], "paddingUnit", [], "any", false, false, false, 39))) : (null)), "padding-left" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 40
$context["column"], "paddingLeft", [], "any", false, false, false, 40))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "paddingLeft", [], "any", false, false, false, 40) . CoreExtension::getAttribute($this->env, $this->source, $context["column"], "paddingUnit", [], "any", false, false, false, 40))) : (null)), "padding-right" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 41
$context["column"], "paddingRight", [], "any", false, false, false, 41))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "paddingRight", [], "any", false, false, false, 41) . CoreExtension::getAttribute($this->env, $this->source, $context["column"], "paddingUnit", [], "any", false, false, false, 41))) : (null)), "background-color" => ((( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 42
$context["column"], "backgroundColorColumn", [], "any", false, false, false, 42)) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "backgroundColorColumn", [], "any", false, false, false, 42)))) ? (CoreExtension::getAttribute($this->env, $this->source, $context["column"], "backgroundColorColumn", [], "any", false, false, false, 42)) : ("initial")), "border-radius" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 43
$context["column"], "borderRadiusColumn", [], "any", false, false, false, 43))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "borderRadiusColumn", [], "any", false, false, false, 43) . CoreExtension::getAttribute($this->env, $this->source, $context["column"], "borderRadiusColumnUnit", [], "any", false, false, false, 43))) : (null))], // line 44
function ($__value__) use ($context, $macros) { $context["value"] = $__value__; return !(null === (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 44, $this->source); })())); });
// line 45
yield "
\t\t\t\t\t";
// line 46
$context["isLayoutGutter"] = (((isset($context["colSizeLarge"]) || array_key_exists("colSizeLarge", $context) ? $context["colSizeLarge"] : (function () { throw new RuntimeError('Variable "colSizeLarge" does not exist.', 46, $this->source); })()) == 1) && ( !CoreExtension::getAttribute($this->env, $this->source, $context["column"], "contentBlocks", [], "any", true, true, false, 46) || Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "contentBlocks", [], "any", false, false, false, 46))));
// line 47
yield "\t\t\t\t\t<div class=\"col-lg-";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["colSizeLarge"]) || array_key_exists("colSizeLarge", $context) ? $context["colSizeLarge"] : (function () { throw new RuntimeError('Variable "colSizeLarge" does not exist.', 47, $this->source); })()), "html", null, true);
yield " col-md-";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["colSizeMedium"]) || array_key_exists("colSizeMedium", $context) ? $context["colSizeMedium"] : (function () { throw new RuntimeError('Variable "colSizeMedium" does not exist.', 47, $this->source); })()), "html", null, true);
yield " col-sm-";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["colSizeSmall"]) || array_key_exists("colSizeSmall", $context) ? $context["colSizeSmall"] : (function () { throw new RuntimeError('Variable "colSizeSmall" does not exist.', 47, $this->source); })()), "html", null, true);
yield " col-xs-";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["colSizeVerySmall"]) || array_key_exists("colSizeVerySmall", $context) ? $context["colSizeVerySmall"] : (function () { throw new RuntimeError('Variable "colSizeVerySmall" does not exist.', 47, $this->source); })()), "html", null, true);
if ((($tmp = (isset($context["isLayoutGutter"]) || array_key_exists("isLayoutGutter", $context) ? $context["isLayoutGutter"] : (function () { throw new RuntimeError('Variable "isLayoutGutter" does not exist.', 47, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield " layout-gutter";
}
yield " column-animated";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "entranceAnimation", [], "any", true, true, false, 47) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "entranceAnimation", [], "any", false, false, false, 47)))) {
yield " animate-";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "entranceAnimation", [], "any", false, false, false, 47), "html", null, true);
}
yield "\" data-animation=\"";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "entranceAnimation", [], "any", true, true, false, 47)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "entranceAnimation", [], "any", false, false, false, 47), "")) : ("")), "html", null, true);
yield "\" style=\"";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::join(Twig\Extension\CoreExtension::map($this->env, $this->env->hasExtension(\Twig\Extension\SandboxExtension::class) && $this->env->getExtension(\Twig\Extension\SandboxExtension::class)->isSandboxed($this->source), (isset($context["columnStyles"]) || array_key_exists("columnStyles", $context) ? $context["columnStyles"] : (function () { throw new RuntimeError('Variable "columnStyles" does not exist.', 47, $this->source); })()), function ($__v__, $__k__) use ($context, $macros) { $context["v"] = $__v__; $context["k"] = $__k__; return (((isset($context["k"]) || array_key_exists("k", $context) ? $context["k"] : (function () { throw new RuntimeError('Variable "k" does not exist.', 47, $this->source); })()) . ":") . (isset($context["v"]) || array_key_exists("v", $context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.', 47, $this->source); })())); }), "; "), "html", null, true);
yield "\"";
if ((($tmp = (isset($context["isLayoutGutter"]) || array_key_exists("isLayoutGutter", $context) ? $context["isLayoutGutter"] : (function () { throw new RuntimeError('Variable "isLayoutGutter" does not exist.', 47, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield " aria-hidden=\"true\"";
}
if ((CoreExtension::getAttribute($this->env, $this->source, $context["column"], "idColumn", [], "any", true, true, false, 47) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "idColumn", [], "any", false, false, false, 47)))) {
yield " id=\"";
yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "idColumn", [], "any", false, false, false, 47), "html", null, true);
yield "\"";
}
yield ">
\t\t\t\t\t\t";
// line 48
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["column"], "contentBlocks", [], "any", false, false, false, 48));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
// line 49
yield "\t\t\t\t\t\t\t";
$context["blockView"] = (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["columnView"] ?? null), "contentBlocks", [], "any", false, true, false, 49), CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 49), [], "array", true, true, false, 49) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["columnView"]) || array_key_exists("columnView", $context) ? $context["columnView"] : (function () { throw new RuntimeError('Variable "columnView" does not exist.', 49, $this->source); })()), "contentBlocks", [], "any", false, false, false, 49), CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 49), [], "array", false, false, false, 49)))) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["columnView"]) || array_key_exists("columnView", $context) ? $context["columnView"] : (function () { throw new RuntimeError('Variable "columnView" does not exist.', 49, $this->source); })()), "contentBlocks", [], "any", false, false, false, 49), CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 49), [], "array", false, false, false, 49)) : ([]));
// line 50
yield "\t\t\t\t\t\t\t";
yield from $this->load((("pages/_blocks/" . CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 50)) . ".html.twig"), 50)->unwrap()->yield(CoreExtension::merge($context, ["content" => // line 51
$context["block"], "view" => // line 52
(isset($context["blockView"]) || array_key_exists("blockView", $context) ? $context["blockView"] : (function () { throw new RuntimeError('Variable "blockView" does not exist.', 52, $this->source); })()), "blocksData" => // line 53
(isset($context["blocksData"]) || array_key_exists("blocksData", $context) ? $context["blocksData"] : (function () { throw new RuntimeError('Variable "blocksData" does not exist.', 53, $this->source); })()), "blockIndex" => CoreExtension::getAttribute($this->env, $this->source, // line 54
$context["loop"], "index0", [], "any", false, false, false, 54), "marginTopBlock" => (( !(null === CoreExtension::getAttribute($this->env, $this->source, // line 55
$context["block"], "snippetMarginTop", [], "any", false, false, false, 55))) ? ((CoreExtension::getAttribute($this->env, $this->source, $context["block"], "snippetMarginTop", [], "any", false, false, false, 55) . CoreExtension::getAttribute($this->env, $this->source, $context["block"], "snippetMarginTopUnit", [], "any", false, false, false, 55))) : ("0px"))]));
// line 57
yield "\t\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 58
yield "\t\t\t\t\t</div>
\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['column'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 60
yield "\t\t\t</div>
\t\t</div>
\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 63
yield "
\t";
// line 65
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["view"] ?? null), "snippet", [], "any", true, true, false, 65) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["view"]) || array_key_exists("view", $context) ? $context["view"] : (function () { throw new RuntimeError('Variable "view" does not exist.', 65, $this->source); })()), "snippet", [], "any", false, false, false, 65)))) {
// line 66
yield "\t\t";
$context["loadedSnippet"] = $this->extensions['App\Twig\TranslateVariablesExtension']->replaceVariables(CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('sulu_snippet_load')->getCallable()(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["view"]) || array_key_exists("view", $context) ? $context["view"] : (function () { throw new RuntimeError('Variable "view" does not exist.', 66, $this->source); })()), "snippet", [], "any", false, false, false, 66), "uuid", [], "any", false, false, false, 66)), "content", [], "any", false, false, false, 66));
// line 67
yield "\t\t";
$context["snippetTemplate"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["view"]) || array_key_exists("view", $context) ? $context["view"] : (function () { throw new RuntimeError('Variable "view" does not exist.', 67, $this->source); })()), "snippet", [], "any", false, false, false, 67), "template", [], "any", false, false, false, 67);
// line 68
yield "\t";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 71
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(array $context, array $blocks = []): iterable
{
$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 72
yield "\t";
yield from $this->yieldParentBlock("javascripts", $context, $blocks);
yield "
";
// line 74
yield "\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "pages/default.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 354 => 74, 349 => 72, 336 => 71, 324 => 68, 321 => 67, 318 => 66, 316 => 65, 312 => 63, 295 => 60, 279 => 58, 264 => 57, 262 => 55, 261 => 54, 260 => 53, 259 => 52, 258 => 51, 256 => 50, 253 => 49, 236 => 48, 204 => 47, 202 => 46, 199 => 45, 197 => 44, 196 => 43, 195 => 42, 194 => 41, 193 => 40, 192 => 39, 191 => 38, 190 => 37, 189 => 36, 188 => 35, 187 => 34, 186 => 33, 183 => 32, 180 => 31, 177 => 30, 174 => 29, 171 => 28, 168 => 27, 151 => 26, 148 => 25, 146 => 24, 139 => 22, 136 => 21, 134 => 20, 133 => 19, 132 => 18, 131 => 17, 130 => 16, 129 => 15, 128 => 14, 127 => 13, 126 => 12, 124 => 11, 107 => 10, 104 => 9, 91 => 8, 79 => 5, 66 => 4, 43 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \x27base.html.twig\x27 %}
{% block page_class %}
\tpage
{% endblock %}
{% block content %}
\t{% for row in content.rows %}
\t\t{% set rowStyles = {
\x27margin-top\x27: row.marginTop is not null ? row.marginTop ~ row.marginUnit : null,
\x27margin-bottom\x27: row.marginBottom is not null ? row.marginBottom ~ row.marginUnit : null,
\x27margin-left\x27: row.marginLeft is not null ? row.marginLeft ~ row.marginUnit : null,
\x27margin-right\x27: row.marginRight is not null ? row.marginRight ~ row.marginUnit : null,
\x27padding-top\x27: row.paddingTop is not null ? row.paddingTop ~ row.paddingUnit : null,
\x27padding-bottom\x27: row.paddingBottom is not null ? row.paddingBottom ~ row.paddingUnit : null,
\x27padding-left\x27: row.paddingLeft is not null ? row.paddingLeft ~ row.paddingUnit : null,
\x27padding-right\x27: row.paddingRight is not null ? row.paddingRight ~ row.paddingUnit : null
}|filter((value) => value is not null) %}
\t\t<div class=\"{{ row.isFullWidth ? \x27container-fluid\x27 : \x27container\x27 }}\" style=\"{{ rowStyles|map((v, k) => k ~ \x27:\x27 ~ v)|join(\x27; \x27) }}\">
\t\t\t<div class=\"row\">
\t\t\t\t{% set rowView = view.rows[loop.index0] ?? {} %}
\t\t\t\t{% for column in row.columns %}
\t\t\t\t\t{% set columnView = rowView.columns[loop.index0] ?? {} %}
\t\t\t\t\t{% set colSizeLarge = column.colSizeLarge|default(12) %}
\t\t\t\t\t{% set colSizeMedium = column.colSizeMedium|default(12) %}
\t\t\t\t\t{% set colSizeSmall = column.colSizeSmall|default(12) %}
\t\t\t\t\t{% set colSizeVerySmall = column.colSizeVerySmall|default(12) %}
\t\t\t\t\t{% set columnStyles = {
\x27margin-top\x27: column.marginTop is not null ? column.marginTop ~ column.marginUnit : null,
\x27margin-bottom\x27: column.marginBottom is not null ? column.marginBottom ~ column.marginUnit : null,
\x27margin-left\x27: column.marginLeft is not null ? column.marginLeft ~ column.marginUnit : null,
\x27margin-right\x27: column.marginRight is not null ? column.marginRight ~ column.marginUnit : null,
\x27padding-top\x27: column.paddingTop is not null ? column.paddingTop ~ column.paddingUnit : null,
\x27padding-bottom\x27: column.paddingBottom is not null ? column.paddingBottom ~ column.paddingUnit : null,
\x27padding-left\x27: column.paddingLeft is not null ? column.paddingLeft ~ column.paddingUnit : null,
\x27padding-right\x27: column.paddingRight is not null ? column.paddingRight ~ column.paddingUnit : null,
\x27background-color\x27: column.backgroundColorColumn is not null and column.backgroundColorColumn is not empty ? column.backgroundColorColumn : \x27initial\x27,
\x27border-radius\x27: column.borderRadiusColumn is not null ? column.borderRadiusColumn ~ column.borderRadiusColumnUnit : null
}|filter((value) => value is not null) %}
\t\t\t\t\t{% set isLayoutGutter = colSizeLarge == 1 and (column.contentBlocks is not defined or column.contentBlocks is empty) %}
\t\t\t\t\t<div class=\"col-lg-{{ colSizeLarge }} col-md-{{ colSizeMedium }} col-sm-{{ colSizeSmall }} col-xs-{{ colSizeVerySmall }}{% if isLayoutGutter %} layout-gutter{% endif %} column-animated{% if column.entranceAnimation is defined and column.entranceAnimation is not empty %} animate-{{ column.entranceAnimation }}{% endif %}\" data-animation=\"{{ column.entranceAnimation|default(\x27\x27) }}\" style=\"{{ columnStyles|map((v, k) => k ~ \x27:\x27 ~ v)|join(\x27; \x27) }}\"{% if isLayoutGutter %} aria-hidden=\"true\"{% endif %}{% if column.idColumn is defined and column.idColumn is not empty %} id=\"{{ column.idColumn }}\"{% endif %}>
\t\t\t\t\t\t{% for block in column.contentBlocks %}
\t\t\t\t\t\t\t{% set blockView = columnView.contentBlocks[loop.index0] ?? {} %}
\t\t\t\t\t\t\t{% include \x27pages/_blocks/\x27 ~ block.type ~ \x27.html.twig\x27 with {
content: block,
view: blockView,
blocksData: blocksData,
blockIndex: loop.index0,
marginTopBlock: block.snippetMarginTop is not null ? block.snippetMarginTop ~ block.snippetMarginTopUnit : \"0px\"
} %}
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t</div>
\t\t\t\t{% endfor %}
\t\t\t</div>
\t\t</div>
\t{% endfor %}
\t{% if view.snippet is defined and view.snippet is not empty %}
\t\t{% set loadedSnippet = sulu_snippet_load(view.snippet.uuid).content|replace_translate_variables %}
\t\t{% set snippetTemplate = view.snippet.template %}
\t{% endif %}
{% endblock %}
{% block javascripts %}
\t{{ parent() }}
{# {{ encore_entry_script_tags(\x27home\x27) }}#}
\t{# Les animations de colonnes sont gérées dans assets/website/js/common/column-animations.js #}
{% endblock %}
", "pages/default.html.twig", "/home/croisiland-pp/www/f0312421abff37637dabe6f4d57b6afd95d16263/templates/pages/default.html.twig");
}
}