<?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;
/* security/layout.html.twig */
class __TwigTemplate_6609050ae04d5676d987918ec1c66b7f extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'styles_global_vendor' => [$this, 'block_styles_global_vendor'],
'styles' => [$this, 'block_styles'],
'styles_custom' => [$this, 'block_styles_custom'],
'bodyclass' => [$this, 'block_bodyclass'],
'content_container' => [$this, 'block_content_container'],
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
'scripts' => [$this, 'block_scripts'],
];
}
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", "security/layout.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/layout.html.twig"));
// line 1
$macros["macros"] = $this->macros["macros"] = $this->loadTemplate("@component/_template/_html_macro.html.twig", "security/layout.html.twig", 1)->unwrap();
// line 2
if ($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.wrapper_header_content")) {
// line 3
yield " ";
$context["wrapper_header_content"] = $this->env->getRuntime('App\Twig\Runtime\PlatformComponentRuntime')->getFrontDataFromSettingOrYaml("front.security.wrapper_header_content", $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security"), "wrapper_header_content");
// line 4
yield " ";
$context["wrapper_header_content_config"] = $this->env->getRuntime('App\Twig\Runtime\PlatformComponentRuntime')->generateComponentOptions((isset($context["wrapper_header_content"]) || array_key_exists("wrapper_header_content", $context) ? $context["wrapper_header_content"] : (function () { throw new RuntimeError('Variable "wrapper_header_content" does not exist.', 4, $this->source); })()), "wrapper_header_content");
}
// line 6
yield "<!DOCTYPE html>
<html lang=\"fr\">
<head>
<title>";
// line 9
yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
yield "</title>
";
// line 11
yield from $this->loadTemplate("front/common/layout.head_common_meta_link.html.twig", "security/layout.html.twig", 11)->unwrap()->yield(CoreExtension::merge($context, ["bootstrapVersion" => "5"]));
// line 12
yield "
";
// line 13
yield from $this->unwrap()->yieldBlock('styles_global_vendor', $context, $blocks);
// line 17
yield "
";
// line 19
yield " ";
if (($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("theme") && !CoreExtension::inFilter($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("theme"), ["", null]))) {
// line 20
yield " <link rel=\"stylesheet\"
href=\"";
// line 21
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("build/assets/templates/" . $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("theme")) . "/scss/main.css")), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 21, $this->source); })()), "html", null, true);
yield "\">
<link rel=\"stylesheet\"
href=\"";
// line 23
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("build/assets/templates/" . $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("theme")) . "/scss/security.css")), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 23, $this->source); })()), "html", null, true);
yield "\">
<link rel=\"stylesheet\"
href=\"";
// line 25
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("build/assets/templates/" . $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("theme")) . "/scss/media-queries.css")), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 25, $this->source); })()), "html", null, true);
yield "\">
";
}
// line 27
yield " <link rel=\"stylesheet\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_common_css_custom");
yield "\">
";
// line 30
yield " <style rel=\"stylesheet\">
.fv-help-block {
color : red !important;
}
.cc-window{
border:1px solid #000000;
}
</style>
";
// line 39
yield "
";
// line 40
yield from $this->unwrap()->yieldBlock('styles', $context, $blocks);
// line 43
yield "
";
// line 45
yield " ";
if ($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("css_config.custom_css_files")) {
// line 46
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("css_config.custom_css_files"));
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
// line 47
yield " <link rel=\"stylesheet\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["file"]), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 47, $this->source); })()), "html", null, true);
yield "\">
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 49
yield " ";
}
// line 50
yield "
";
// line 51
if ($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("common.custom_css")) {
// line 52
yield " <style rel=\"stylesheet\">
";
// line 53
yield $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("common.custom_css");
yield "
</style>
";
}
// line 56
yield " ";
if ($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.custom_css")) {
// line 57
yield " <style rel=\"stylesheet\">
";
// line 58
yield $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.custom_css");
yield "
</style>
";
}
// line 61
yield "
";
// line 62
yield from $this->unwrap()->yieldBlock('styles_custom', $context, $blocks);
// line 65
yield "
";
// line 66
yield from $this->loadTemplate("front/common/layout.head_common_js.html.twig", "security/layout.html.twig", 66)->unwrap()->yield($context);
// line 67
yield " <script>
const cdn = '";
// line 68
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["cdn"]) || array_key_exists("cdn", $context) ? $context["cdn"] : (function () { throw new RuntimeError('Variable "cdn" does not exist.', 68, $this->source); })()), "html", null, true);
yield "';
</script>
</head>
<body class=\"security ";
// line 72
yield from $this->unwrap()->yieldBlock('bodyclass', $context, $blocks);
yield " --theme-";
yield (($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.theme")) ? ($this->env->getRuntime('App\Twig\Runtime\PlatformComponentRuntime')->getFrontDataFromSettingOrYaml("front.security.theme", $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security"), "theme")) : ("light"));
yield "\">
<div class=\"main-wrapper\">
";
// line 75
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(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.', 75, $this->source); })()), "flashes", [], "method", false, false, false, 75));
foreach ($context['_seq'] as $context["type"] => $context["messages"]) {
// line 76
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($context["messages"]);
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 77
yield " <div class=\"alert alert-";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["type"], "html", null, true);
yield "\">
";
// line 78
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["message"], "html", null, true);
yield "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 81
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['type'], $context['messages'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 82
yield " ";
// line 86
yield " ";
if (($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.wrapper_header_content") && CoreExtension::getAttribute($this->env, $this->source, (isset($context["wrapper_header_content"]) || array_key_exists("wrapper_header_content", $context) ? $context["wrapper_header_content"] : (function () { throw new RuntimeError('Variable "wrapper_header_content" does not exist.', 86, $this->source); })()), "enabled", [], "any", false, false, false, 86))) {
// line 87
yield " ";
yield CoreExtension::callMacro($macros["macros"], "macro_generateHtmlComponentStart", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["wrapper_header_content_config"]) || array_key_exists("wrapper_header_content_config", $context) ? $context["wrapper_header_content_config"] : (function () { throw new RuntimeError('Variable "wrapper_header_content_config" does not exist.', 87, $this->source); })()), "wrapper", [], "any", false, false, false, 87)], 87, $context, $this->getSourceContext());
yield "
";
// line 89
yield " ";
yield CoreExtension::callMacro($macros["macros"], "macro_generateHtmlComponentStart", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["wrapper_header_content_config"]) || array_key_exists("wrapper_header_content_config", $context) ? $context["wrapper_header_content_config"] : (function () { throw new RuntimeError('Variable "wrapper_header_content_config" does not exist.', 89, $this->source); })()), "item", [], "any", false, false, false, 89)], 89, $context, $this->getSourceContext());
yield "
";
// line 91
yield " ";
yield CoreExtension::callMacro($macros["macros"], "macro_generateHtmlComponentStart", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["wrapper_header_content_config"]) || array_key_exists("wrapper_header_content_config", $context) ? $context["wrapper_header_content_config"] : (function () { throw new RuntimeError('Variable "wrapper_header_content_config" does not exist.', 91, $this->source); })()), "container", [], "any", false, false, false, 91)], 91, $context, $this->getSourceContext());
yield "
";
}
// line 93
yield "
";
// line 94
yield $this->env->getRuntime('App\Twig\Runtime\PlatformComponentRuntime')->component("security.header", "security.header");
yield "
<main>
<div class=\"";
// line 97
yield from $this->unwrap()->yieldBlock('content_container', $context, $blocks);
yield "\">
";
// line 98
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 99
yield " </div>
</main>
";
// line 106
yield " ";
if (($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.wrapper_header_content") && CoreExtension::getAttribute($this->env, $this->source, (isset($context["wrapper_header_content"]) || array_key_exists("wrapper_header_content", $context) ? $context["wrapper_header_content"] : (function () { throw new RuntimeError('Variable "wrapper_header_content" does not exist.', 106, $this->source); })()), "enabled", [], "any", false, false, false, 106))) {
// line 107
yield " ";
yield CoreExtension::callMacro($macros["macros"], "macro_generateHtmlComponentEnd", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["wrapper_header_content_config"]) || array_key_exists("wrapper_header_content_config", $context) ? $context["wrapper_header_content_config"] : (function () { throw new RuntimeError('Variable "wrapper_header_content_config" does not exist.', 107, $this->source); })()), "wrapper", [], "any", false, false, false, 107)], 107, $context, $this->getSourceContext());
yield "
";
// line 109
yield " ";
yield CoreExtension::callMacro($macros["macros"], "macro_generateHtmlComponentEnd", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["wrapper_header_content_config"]) || array_key_exists("wrapper_header_content_config", $context) ? $context["wrapper_header_content_config"] : (function () { throw new RuntimeError('Variable "wrapper_header_content_config" does not exist.', 109, $this->source); })()), "item", [], "any", false, false, false, 109)], 109, $context, $this->getSourceContext());
yield "
";
// line 111
yield " ";
yield CoreExtension::callMacro($macros["macros"], "macro_generateHtmlComponentEnd", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["wrapper_header_content_config"]) || array_key_exists("wrapper_header_content_config", $context) ? $context["wrapper_header_content_config"] : (function () { throw new RuntimeError('Variable "wrapper_header_content_config" does not exist.', 111, $this->source); })()), "container", [], "any", false, false, false, 111)], 111, $context, $this->getSourceContext());
yield "
";
}
// line 113
yield "
";
// line 114
yield from $this->unwrap()->yieldBlock('footer', $context, $blocks);
// line 117
yield "</div>
";
// line 118
if ($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("common.panels.enabled")) {
// line 119
yield " ";
yield from $this->loadTemplate("front/common/panel-right.html.twig", "security/layout.html.twig", 119)->unwrap()->yield($context);
}
// line 121
yield "</body>
";
// line 123
yield from $this->loadTemplate("@back/_common/flash.html.twig", "security/layout.html.twig", 123)->unwrap()->yield($context);
// line 124
yield "
";
// line 125
yield from $this->unwrap()->yieldBlock('scripts', $context, $blocks);
// line 187
yield "</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
return; yield '';
}
// line 9
public function block_title($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", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformGlobal("seo.title"), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 13
public function block_styles_global_vendor($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", "styles_global_vendor"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles_global_vendor"));
// line 14
yield " ";
// line 15
yield " <link rel=\"stylesheet\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/assets/plugins/cookieconsent2/build/cookieconsent.min.css"), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 15, $this->source); })()), "html", null, true);
yield "\" />
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 40
public function block_styles($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", "styles"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles"));
// line 41
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 62
public function block_styles_custom($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", "styles_custom"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles_custom"));
// line 63
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 72
public function block_bodyclass($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", "bodyclass"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyclass"));
yield "login";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 97
public function block_content_container($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", "content_container"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_container"));
yield "container";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 98
public function block_content($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", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 114
public function block_footer($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", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 115
yield " ";
yield $this->env->getRuntime('App\Twig\Runtime\PlatformComponentRuntime')->component("security.footer", "security.footer");
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 125
public function block_scripts($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", "scripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts"));
// line 126
yield " ";
yield $this->extensions['App\Twig\TwigExtension']->getTranslate();
yield "
<script>
console.log(\"Translation called\")
</script>
<script src=\"";
// line 130
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/assets/bower_components/bootstrap4/dist/js/bootstrap.bundle.min.js"), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 130, $this->source); })()), "html", null, true);
yield "\"></script>
<script src=\"";
// line 131
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/assets/bower_components/jquery-popup-overlay/jquery.popupoverlay.js"), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 131, $this->source); })()), "html", null, true);
yield "\"></script>
<script src=\"";
// line 132
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/assets/bower_components/moment/min/moment.min.js"), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 132, $this->source); })()), "html", null, true);
yield "\"></script>
<script src=\"";
// line 133
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/assets/plugins/cookieconsent2/build/cookieconsent.min.js"), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 133, $this->source); })()), "html", null, true);
yield "\"
data-cfasync=\"false\"></script>
<script>
let messageCookies;
";
// line 137
if ($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.cookies.message")) {
// line 138
yield " messageCookies = \"";
yield $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.cookies.message");
yield "\";
";
}
// line 140
yield " </script>
<script src=\"";
// line 141
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/assets/js/front/common/cookieConsentInit.js"), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 141, $this->source); })()), "html", null, true);
yield "\"></script>
<script src=\"";
// line 143
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/assets/templates/daikin/js/custom.js"), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 143, $this->source); })()), "html", null, true);
yield "\"></script>
<script src=\"";
// line 144
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/assets/templates/daikin/js/rater.js"), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 144, $this->source); })()), "html", null, true);
yield "\"></script>
<script src=\"";
// line 146
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/assets/bower_components/inputmask/dist/jquery.inputmask.min.js"), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 146, $this->source); })()), "html", null, true);
yield "\"></script>
<script src=\"";
// line 148
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/assets/bower_components/parsleyjs/dist/parsley.min.js"), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 148, $this->source); })()), "html", null, true);
yield "\"></script>
<script src=\"";
// line 149
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/assets/bower_components/parsleyjs/dist/i18n/fr.js"), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 149, $this->source); })()), "html", null, true);
yield "\"></script>
<script src=\"";
// line 150
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/assets/bower_components/parsleyjs/dist/i18n/fr.extra.js"), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 150, $this->source); })()), "html", null, true);
yield "\"></script>
<script src=\"";
// line 151
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/assets/js/front/parsley_validator.js"), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 151, $this->source); })()), "html", null, true);
yield "\"></script>
<script src=\"";
// line 152
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/assets/js/dtv/common/confirmation.js"), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 152, $this->source); })()), "html", null, true);
yield "\"></script>
<script src=\"";
// line 153
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/assets/js/dtv/common/spinner_button.js"), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 153, $this->source); })()), "html", null, true);
yield "\"></script>
<script src=\"";
// line 154
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/assets/js/front/security/cookie.js"), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 154, $this->source); })()), "html", null, true);
yield "\"></script>
<script>
\$( '.toggle-password' ).on('click', function () {
\$( this ).toggleClass( 'fa-eye fa-eye-slash' );
let input = \$( \$( this ).attr( 'data-toggle' ) );
if ( input.attr( 'type' ) === 'password' ) {
input.attr( 'type', 'text' );
} else {
input.attr( 'type', 'password' );
}
} );
const init_inputmask = function () {
\$('[data-inputmask]').inputmask();
};
\$(function () {
init_inputmask();
console.log('pk', '";
// line 175
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\TwigExtension']->md5(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["platform"]) || array_key_exists("platform", $context) ? $context["platform"] : (function () { throw new RuntimeError('Variable "platform" does not exist.', 175, $this->source); })()), "global", [], "any", false, false, false, 175), "project_key", [], "any", false, false, false, 175)), "html", null, true);
yield "' )
});
</script>
";
// line 180
yield " ";
if ($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.js_files")) {
// line 181
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.js_files"));
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
// line 182
yield " <script src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["file"]), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version", $context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.', 182, $this->source); })()), "html", null, true);
yield "\"></script>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 184
yield " ";
}
// line 185
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "security/layout.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 684 => 185, 681 => 184, 670 => 182, 665 => 181, 662 => 180, 655 => 175, 629 => 154, 623 => 153, 617 => 152, 611 => 151, 605 => 150, 599 => 149, 593 => 148, 586 => 146, 579 => 144, 573 => 143, 566 => 141, 563 => 140, 557 => 138, 555 => 137, 546 => 133, 540 => 132, 534 => 131, 528 => 130, 520 => 126, 510 => 125, 496 => 115, 486 => 114, 467 => 98, 447 => 97, 427 => 72, 416 => 63, 406 => 62, 395 => 41, 385 => 40, 369 => 15, 367 => 14, 357 => 13, 337 => 9, 325 => 187, 323 => 125, 320 => 124, 318 => 123, 314 => 121, 310 => 119, 308 => 118, 305 => 117, 303 => 114, 300 => 113, 294 => 111, 289 => 109, 284 => 107, 281 => 106, 276 => 99, 274 => 98, 270 => 97, 264 => 94, 261 => 93, 255 => 91, 250 => 89, 245 => 87, 242 => 86, 240 => 82, 234 => 81, 225 => 78, 220 => 77, 215 => 76, 211 => 75, 203 => 72, 196 => 68, 193 => 67, 191 => 66, 188 => 65, 186 => 62, 183 => 61, 177 => 58, 174 => 57, 171 => 56, 165 => 53, 162 => 52, 160 => 51, 157 => 50, 154 => 49, 143 => 47, 138 => 46, 135 => 45, 132 => 43, 130 => 40, 127 => 39, 117 => 30, 111 => 27, 104 => 25, 97 => 23, 90 => 21, 87 => 20, 84 => 19, 81 => 17, 79 => 13, 76 => 12, 74 => 11, 69 => 9, 64 => 6, 60 => 4, 57 => 3, 55 => 2, 53 => 1,);
}
public function getSourceContext()
{
return new Source("{% import \"@component/_template/_html_macro.html.twig\" as macros %}
{% if platform_front('security.wrapper_header_content') %}
{% set wrapper_header_content = getFrontDataFromSettingOrYaml('front.security.wrapper_header_content', platform_front('security'), 'wrapper_header_content') %}
{% set wrapper_header_content_config = generateComponentOptions(wrapper_header_content, 'wrapper_header_content') %}
{% endif %}
<!DOCTYPE html>
<html lang=\"fr\">
<head>
<title>{% block title %}{{ platform_global('seo.title') }}{% endblock title %}</title>
{% include \"front/common/layout.head_common_meta_link.html.twig\" with {bootstrapVersion: '5'} %}
{% block styles_global_vendor %}
{# Styles venant de vendor / fonts / commun à l'ensemble du site #}
<link rel=\"stylesheet\" href=\"{{ asset('build/assets/plugins/cookieconsent2/build/cookieconsent.min.css') }}?v={{ version }}\" />
{% endblock styles_global_vendor %}
{# Styles commun à l'ensemble du site #}
{% if platform_front('theme') and platform_front('theme') not in ['', null] %}
<link rel=\"stylesheet\"
href=\"{{ asset('build/assets/templates/' ~ platform_front('theme') ~'/scss/main.css') }}?v={{ version }}\">
<link rel=\"stylesheet\"
href=\"{{ asset('build/assets/templates/' ~ platform_front('theme') ~'/scss/security.css') }}?v={{ version }}\">
<link rel=\"stylesheet\"
href=\"{{ asset('build/assets/templates/' ~ platform_front('theme') ~'/scss/media-queries.css') }}?v={{ version }}\">
{% endif %}
<link rel=\"stylesheet\" href=\"{{ path('front_common_css_custom') }}\">
{# parsley hack pour help labels rouges #}
<style rel=\"stylesheet\">
.fv-help-block {
color : red !important;
}
.cc-window{
border:1px solid #000000;
}
</style>
{# end parsley hack #}
{% block styles %}
{# Styles spécifique à une page #}
{% endblock styles %}
{# Style global venant du fichier platform.[projet].yaml, doit avoir la priorité absolue sur tous les autres #}
{% if platform_front('css_config.custom_css_files') %}
{% for file in platform_front('css_config.custom_css_files') %}
<link rel=\"stylesheet\" href=\"{{ asset(file) }}?v={{ version }}\">
{% endfor %}
{% endif %}
{% if platform_front('common.custom_css') %}
<style rel=\"stylesheet\">
{{ platform_front('common.custom_css')|raw }}
</style>
{% endif %}
{% if platform_front('security.custom_css') %}
<style rel=\"stylesheet\">
{{ platform_front('security.custom_css')|raw }}
</style>
{% endif %}
{% block styles_custom %}
{# Styles spécifique à une page et prioritaire par rapport au css global venant de platform.[projet].yaml #}
{% endblock styles_custom %}
{% include \"front/common/layout.head_common_js.html.twig\" %}
<script>
const cdn = '{{ cdn }}';
</script>
</head>
<body class=\"security {% block bodyclass %}login{% endblock %} --theme-{{ platform_front('security.theme') ? getFrontDataFromSettingOrYaml('front.security.theme', platform_front('security'), 'theme') : 'light' }}\">
<div class=\"main-wrapper\">
{% for type, messages in app.flashes() %}
{% for message in messages %}
<div class=\"alert alert-{{ type }}\">
{{ message }}
</div>
{% endfor %}
{% endfor %}
{#
Wrapper qui permet de rassembler le header et le content dans une même div pour mettre un bg spécifique
Pas Iso DTV mais présent dans beaucoup de maquettes...
#}
{% if platform_front('security.wrapper_header_content') and wrapper_header_content.enabled %}
{{ macros.generateHtmlComponentStart(wrapper_header_content_config.wrapper) }}
{#ITEM#}
{{ macros.generateHtmlComponentStart(wrapper_header_content_config.item) }}
{#CONTAINER#}
{{ macros.generateHtmlComponentStart(wrapper_header_content_config.container) }}
{% endif %}
{{ component('security.header','security.header') }}
<main>
<div class=\"{% block content_container %}container{% endblock %}\">
{% block content %}{% endblock %}
</div>
</main>
{#
Wrapper qui permet de rassembler le header et le content dans une même div pour mettre un bg spécifique
Pas Iso DTV mais présent dans beaucoup de maquettes...
#}
{% if platform_front('security.wrapper_header_content') and wrapper_header_content.enabled %}
{{ macros.generateHtmlComponentEnd(wrapper_header_content_config.wrapper) }}
{#ITEM#}
{{ macros.generateHtmlComponentEnd(wrapper_header_content_config.item) }}
{#CONTAINER#}
{{ macros.generateHtmlComponentEnd(wrapper_header_content_config.container) }}
{% endif %}
{% block footer %}
{{ component('security.footer', 'security.footer') }}
{% endblock footer %}
</div>
{% if platform_front('common.panels.enabled') %}
{% include 'front/common/panel-right.html.twig' %}
{% endif %}
</body>
{% include '@back/_common/flash.html.twig' %}
{% block scripts %}
{{ getTranslate() }}
<script>
console.log(\"Translation called\")
</script>
<script src=\"{{ asset('build/assets/bower_components/bootstrap4/dist/js/bootstrap.bundle.min.js') }}?v={{ version }}\"></script>
<script src=\"{{ asset('build/assets/bower_components/jquery-popup-overlay/jquery.popupoverlay.js') }}?v={{ version }}\"></script>
<script src=\"{{ asset('build/assets/bower_components/moment/min/moment.min.js') }}?v={{ version }}\"></script>
<script src=\"{{ asset('build/assets/plugins/cookieconsent2/build/cookieconsent.min.js') }}?v={{ version }}\"
data-cfasync=\"false\"></script>
<script>
let messageCookies;
{% if platform_front('security.cookies.message') %}
messageCookies = \"{{ platform_front('security.cookies.message')|raw }}\";
{% endif %}
</script>
<script src=\"{{ asset('build/assets/js/front/common/cookieConsentInit.js') }}?v={{ version }}\"></script>
<script src=\"{{ asset('build/assets/templates/daikin/js/custom.js') }}?v={{ version }}\"></script>
<script src=\"{{ asset('build/assets/templates/daikin/js/rater.js') }}?v={{ version }}\"></script>
<script src=\"{{ asset('build/assets/bower_components/inputmask/dist/jquery.inputmask.min.js') }}?v={{ version }}\"></script>
<script src=\"{{ asset('build/assets/bower_components/parsleyjs/dist/parsley.min.js') }}?v={{ version }}\"></script>
<script src=\"{{ asset('build/assets/bower_components/parsleyjs/dist/i18n/fr.js') }}?v={{ version }}\"></script>
<script src=\"{{ asset('build/assets/bower_components/parsleyjs/dist/i18n/fr.extra.js') }}?v={{ version }}\"></script>
<script src=\"{{ asset('build/assets/js/front/parsley_validator.js') }}?v={{ version }}\"></script>
<script src=\"{{ asset('build/assets/js/dtv/common/confirmation.js') }}?v={{ version }}\"></script>
<script src=\"{{ asset('build/assets/js/dtv/common/spinner_button.js') }}?v={{ version }}\"></script>
<script src=\"{{ asset('build/assets/js/front/security/cookie.js') }}?v={{ version }}\"></script>
<script>
\$( '.toggle-password' ).on('click', function () {
\$( this ).toggleClass( 'fa-eye fa-eye-slash' );
let input = \$( \$( this ).attr( 'data-toggle' ) );
if ( input.attr( 'type' ) === 'password' ) {
input.attr( 'type', 'text' );
} else {
input.attr( 'type', 'password' );
}
} );
const init_inputmask = function () {
\$('[data-inputmask]').inputmask();
};
\$(function () {
init_inputmask();
console.log('pk', '{{ platform.global.project_key|md5 }}' )
});
</script>
{# @TODO: fichiers par component si besoin, acl, fichiers en fonction des pages ? #}
{% if platform_front('security.js_files') %}
{% for file in platform_front('security.js_files') %}
<script src=\"{{ asset(file) }}?v={{ version }}\"></script>
{% endfor %}
{% endif %}
{% endblock scripts %}
</html>
", "security/layout.html.twig", "/var/www/dtv-preprod/current/templates/security/layout.html.twig");
}
}