var/cache/dev/boutique-cadeaux-nicoll.dtv-projects.com/twig/f2/f2c97da54a34a06f2920f9c599258073.php line 278

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* security/layout.html.twig */
  16. class __TwigTemplate_5676576458a7f463faf009c8e33fd5cc extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->parent = false;
  28. $this->blocks = [
  29. 'title' => [$this, 'block_title'],
  30. 'styles_global_vendor' => [$this, 'block_styles_global_vendor'],
  31. 'styles' => [$this, 'block_styles'],
  32. 'styles_custom' => [$this, 'block_styles_custom'],
  33. 'bodyclass' => [$this, 'block_bodyclass'],
  34. 'content_container' => [$this, 'block_content_container'],
  35. 'content' => [$this, 'block_content'],
  36. 'footer' => [$this, 'block_footer'],
  37. 'scripts' => [$this, 'block_scripts'],
  38. ];
  39. }
  40. protected function doDisplay(array $context, array $blocks = []): iterable
  41. {
  42. $macros = $this->macros;
  43. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  44. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/layout.html.twig"));
  45. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  46. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/layout.html.twig"));
  47. // line 1
  48. $macros["͜macros"] = $this->macros["͜macros"] = $this->load("@component/_template/_html_macro.html.twig", 1)->unwrap();
  49. // line 2
  50. if ((($tmp = $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.wrapper_header_content")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  51. // line 3
  52. yield " ";
  53. $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");
  54. // line 4
  55. yield " ";
  56. $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");
  57. }
  58. // line 6
  59. yield "<!DOCTYPE html>
  60. <html lang=\"fr\">
  61. <head>
  62. <title>";
  63. // line 9
  64. yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
  65. yield "</title>
  66. ";
  67. // line 11
  68. yield from $this->load("front/common/layout.head_common_meta_link.html.twig", 11)->unwrap()->yield(CoreExtension::merge($context, ["bootstrapVersion" => "5"]));
  69. // line 12
  70. yield "
  71. ";
  72. // line 13
  73. yield from $this->unwrap()->yieldBlock('styles_global_vendor', $context, $blocks);
  74. // line 17
  75. yield "
  76. ";
  77. // line 19
  78. yield " ";
  79. if (($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("theme") && !CoreExtension::inFilter($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("theme"), ["", null]))) {
  80. // line 20
  81. yield " <link rel=\"stylesheet\"
  82. href=\"";
  83. // line 21
  84. 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);
  85. yield "?v=";
  86. 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);
  87. yield "\">
  88. <link rel=\"stylesheet\"
  89. href=\"";
  90. // line 23
  91. 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);
  92. yield "?v=";
  93. 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);
  94. yield "\">
  95. <link rel=\"stylesheet\"
  96. href=\"";
  97. // line 25
  98. 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);
  99. yield "?v=";
  100. 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);
  101. yield "\">
  102. ";
  103. }
  104. // line 27
  105. yield " <link rel=\"stylesheet\" href=\"";
  106. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_common_css_custom");
  107. yield "\">
  108. ";
  109. // line 30
  110. yield " <style rel=\"stylesheet\">
  111. .fv-help-block {
  112. color : red !important;
  113. }
  114. .cc-window{
  115. border:1px solid #000000;
  116. }
  117. </style>
  118. ";
  119. // line 39
  120. yield "
  121. ";
  122. // line 40
  123. yield from $this->unwrap()->yieldBlock('styles', $context, $blocks);
  124. // line 43
  125. yield "
  126. ";
  127. // line 45
  128. yield " ";
  129. if ((($tmp = $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("css_config.custom_css_files")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  130. // line 46
  131. yield " ";
  132. $context['_parent'] = $context;
  133. $context['_seq'] = CoreExtension::ensureTraversable($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("css_config.custom_css_files"));
  134. foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
  135. // line 47
  136. yield " <link rel=\"stylesheet\" href=\"";
  137. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["file"]), "html", null, true);
  138. yield "?v=";
  139. 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);
  140. yield "\">
  141. ";
  142. }
  143. $_parent = $context['_parent'];
  144. unset($context['_seq'], $context['_key'], $context['file'], $context['_parent']);
  145. $context = array_intersect_key($context, $_parent) + $_parent;
  146. // line 49
  147. yield " ";
  148. }
  149. // line 50
  150. yield "
  151. ";
  152. // line 51
  153. if ((($tmp = $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("common.custom_css")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  154. // line 52
  155. yield " <style rel=\"stylesheet\">
  156. ";
  157. // line 53
  158. yield $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("common.custom_css");
  159. yield "
  160. </style>
  161. ";
  162. }
  163. // line 56
  164. yield " ";
  165. if ((($tmp = $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.custom_css")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  166. // line 57
  167. yield " <style rel=\"stylesheet\">
  168. ";
  169. // line 58
  170. yield $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.custom_css");
  171. yield "
  172. </style>
  173. ";
  174. }
  175. // line 61
  176. yield "
  177. ";
  178. // line 62
  179. yield from $this->unwrap()->yieldBlock('styles_custom', $context, $blocks);
  180. // line 65
  181. yield "
  182. ";
  183. // line 66
  184. yield from $this->load("front/common/layout.head_common_js.html.twig", 66)->unwrap()->yield($context);
  185. // line 67
  186. yield " <script>
  187. const cdn = '";
  188. // line 68
  189. 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);
  190. yield "';
  191. </script>
  192. </head>
  193. <body class=\"security ";
  194. // line 72
  195. yield from $this->unwrap()->yieldBlock('bodyclass', $context, $blocks);
  196. yield " --theme-";
  197. yield (((($tmp = $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.theme")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ($this->env->getRuntime('App\Twig\Runtime\PlatformComponentRuntime')->getFrontDataFromSettingOrYaml("front.security.theme", $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security"), "theme")) : ("light"));
  198. yield "\">
  199. <div class=\"main-wrapper\">
  200. ";
  201. // line 75
  202. $context['_parent'] = $context;
  203. $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));
  204. foreach ($context['_seq'] as $context["type"] => $context["messages"]) {
  205. // line 76
  206. yield " ";
  207. $context['_parent'] = $context;
  208. $context['_seq'] = CoreExtension::ensureTraversable($context["messages"]);
  209. foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  210. // line 77
  211. yield " <div class=\"alert alert-";
  212. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["type"], "html", null, true);
  213. yield "\">
  214. ";
  215. // line 78
  216. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["message"], "html", null, true);
  217. yield "
  218. </div>
  219. ";
  220. }
  221. $_parent = $context['_parent'];
  222. unset($context['_seq'], $context['_key'], $context['message'], $context['_parent']);
  223. $context = array_intersect_key($context, $_parent) + $_parent;
  224. // line 81
  225. yield " ";
  226. }
  227. $_parent = $context['_parent'];
  228. unset($context['_seq'], $context['type'], $context['messages'], $context['_parent']);
  229. $context = array_intersect_key($context, $_parent) + $_parent;
  230. // line 82
  231. yield " ";
  232. // line 86
  233. yield " ";
  234. 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))) {
  235. // line 87
  236. yield " ";
  237. yield $macros["͜macros"]->getTemplateForMacro("macro_generateHtmlComponentStart", $context, 87, $this->getSourceContext())->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)]);
  238. yield "
  239. ";
  240. // line 89
  241. yield " ";
  242. yield $macros["͜macros"]->getTemplateForMacro("macro_generateHtmlComponentStart", $context, 89, $this->getSourceContext())->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)]);
  243. yield "
  244. ";
  245. // line 91
  246. yield " ";
  247. yield $macros["͜macros"]->getTemplateForMacro("macro_generateHtmlComponentStart", $context, 91, $this->getSourceContext())->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)]);
  248. yield "
  249. ";
  250. }
  251. // line 93
  252. yield "
  253. ";
  254. // line 94
  255. yield $this->env->getRuntime('App\Twig\Runtime\PlatformComponentRuntime')->component("security.header", "security.header");
  256. yield "
  257. <main>
  258. <div class=\"";
  259. // line 97
  260. yield from $this->unwrap()->yieldBlock('content_container', $context, $blocks);
  261. yield "\">
  262. ";
  263. // line 98
  264. yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
  265. // line 99
  266. yield " </div>
  267. </main>
  268. ";
  269. // line 106
  270. yield " ";
  271. 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))) {
  272. // line 107
  273. yield " ";
  274. yield $macros["͜macros"]->getTemplateForMacro("macro_generateHtmlComponentEnd", $context, 107, $this->getSourceContext())->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)]);
  275. yield "
  276. ";
  277. // line 109
  278. yield " ";
  279. yield $macros["͜macros"]->getTemplateForMacro("macro_generateHtmlComponentEnd", $context, 109, $this->getSourceContext())->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)]);
  280. yield "
  281. ";
  282. // line 111
  283. yield " ";
  284. yield $macros["͜macros"]->getTemplateForMacro("macro_generateHtmlComponentEnd", $context, 111, $this->getSourceContext())->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)]);
  285. yield "
  286. ";
  287. }
  288. // line 113
  289. yield "
  290. ";
  291. // line 114
  292. yield from $this->unwrap()->yieldBlock('footer', $context, $blocks);
  293. // line 117
  294. yield "</div>
  295. ";
  296. // line 118
  297. if ((($tmp = $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("common.panels.enabled")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  298. // line 119
  299. yield " ";
  300. yield from $this->load("front/common/panel-right.html.twig", 119)->unwrap()->yield($context);
  301. }
  302. // line 121
  303. yield "</body>
  304. ";
  305. // line 123
  306. yield from $this->load("@back/_common/flash.html.twig", 123)->unwrap()->yield($context);
  307. // line 124
  308. yield "
  309. ";
  310. // line 125
  311. yield from $this->unwrap()->yieldBlock('scripts', $context, $blocks);
  312. // line 205
  313. yield "</html>
  314. ";
  315. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  316. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  317. yield from [];
  318. }
  319. // line 9
  320. /**
  321. * @return iterable<null|scalar|\Stringable>
  322. */
  323. public function block_title(array $context, array $blocks = []): iterable
  324. {
  325. $macros = $this->macros;
  326. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  327. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  328. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  329. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  330. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformGlobal("seo.title"), "html", null, true);
  331. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  332. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  333. yield from [];
  334. }
  335. // line 13
  336. /**
  337. * @return iterable<null|scalar|\Stringable>
  338. */
  339. public function block_styles_global_vendor(array $context, array $blocks = []): iterable
  340. {
  341. $macros = $this->macros;
  342. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  343. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles_global_vendor"));
  344. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  345. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles_global_vendor"));
  346. // line 14
  347. yield " ";
  348. // line 15
  349. yield " <link rel=\"stylesheet\" href=\"";
  350. 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);
  351. yield "?v=";
  352. 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);
  353. yield "\" />
  354. ";
  355. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  356. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  357. yield from [];
  358. }
  359. // line 40
  360. /**
  361. * @return iterable<null|scalar|\Stringable>
  362. */
  363. public function block_styles(array $context, array $blocks = []): iterable
  364. {
  365. $macros = $this->macros;
  366. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  367. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles"));
  368. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  369. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles"));
  370. // line 41
  371. yield " ";
  372. // line 42
  373. yield " ";
  374. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  375. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  376. yield from [];
  377. }
  378. // line 62
  379. /**
  380. * @return iterable<null|scalar|\Stringable>
  381. */
  382. public function block_styles_custom(array $context, array $blocks = []): iterable
  383. {
  384. $macros = $this->macros;
  385. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  386. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles_custom"));
  387. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  388. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles_custom"));
  389. // line 63
  390. yield " ";
  391. // line 64
  392. yield " ";
  393. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  394. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  395. yield from [];
  396. }
  397. // line 72
  398. /**
  399. * @return iterable<null|scalar|\Stringable>
  400. */
  401. public function block_bodyclass(array $context, array $blocks = []): iterable
  402. {
  403. $macros = $this->macros;
  404. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  405. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyclass"));
  406. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  407. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyclass"));
  408. yield "login";
  409. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  410. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  411. yield from [];
  412. }
  413. // line 97
  414. /**
  415. * @return iterable<null|scalar|\Stringable>
  416. */
  417. public function block_content_container(array $context, array $blocks = []): iterable
  418. {
  419. $macros = $this->macros;
  420. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  421. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_container"));
  422. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  423. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_container"));
  424. yield "container";
  425. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  426. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  427. yield from [];
  428. }
  429. // line 98
  430. /**
  431. * @return iterable<null|scalar|\Stringable>
  432. */
  433. public function block_content(array $context, array $blocks = []): iterable
  434. {
  435. $macros = $this->macros;
  436. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  437. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  438. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  439. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  440. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  441. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  442. yield from [];
  443. }
  444. // line 114
  445. /**
  446. * @return iterable<null|scalar|\Stringable>
  447. */
  448. public function block_footer(array $context, array $blocks = []): iterable
  449. {
  450. $macros = $this->macros;
  451. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  452. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  453. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  454. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  455. // line 115
  456. yield " ";
  457. yield $this->env->getRuntime('App\Twig\Runtime\PlatformComponentRuntime')->component("security.footer", "security.footer");
  458. yield "
  459. ";
  460. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  461. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  462. yield from [];
  463. }
  464. // line 125
  465. /**
  466. * @return iterable<null|scalar|\Stringable>
  467. */
  468. public function block_scripts(array $context, array $blocks = []): iterable
  469. {
  470. $macros = $this->macros;
  471. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  472. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts"));
  473. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  474. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts"));
  475. // line 126
  476. yield " ";
  477. yield $this->extensions['App\Twig\TwigExtension']->getTranslate();
  478. yield "
  479. <script>
  480. console.log(\"Translation called\")
  481. </script>
  482. <script src=\"";
  483. // line 130
  484. 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);
  485. yield "?v=";
  486. 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);
  487. yield "\"></script>
  488. <script src=\"";
  489. // line 131
  490. 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);
  491. yield "?v=";
  492. 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);
  493. yield "\"></script>
  494. <script src=\"";
  495. // line 132
  496. 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);
  497. yield "?v=";
  498. 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);
  499. yield "\"></script>
  500. <script src=\"";
  501. // line 133
  502. 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);
  503. yield "?v=";
  504. 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);
  505. yield "\"
  506. data-cfasync=\"false\"></script>
  507. <script>
  508. let messageCookies;
  509. ";
  510. // line 137
  511. if ((($tmp = $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.cookies.message")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  512. // line 138
  513. yield " messageCookies = \"";
  514. yield $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.cookies.message");
  515. yield "\";
  516. ";
  517. }
  518. // line 140
  519. yield " </script>
  520. <script src=\"";
  521. // line 141
  522. 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);
  523. yield "?v=";
  524. 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);
  525. yield "\"></script>
  526. <script src=\"";
  527. // line 143
  528. 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);
  529. yield "?v=";
  530. 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);
  531. yield "\"></script>
  532. <script src=\"";
  533. // line 144
  534. 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);
  535. yield "?v=";
  536. 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);
  537. yield "\"></script>
  538. <script src=\"";
  539. // line 146
  540. 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);
  541. yield "?v=";
  542. 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);
  543. yield "\"></script>
  544. <script src=\"";
  545. // line 148
  546. 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);
  547. yield "?v=";
  548. 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);
  549. yield "\"></script>
  550. <script src=\"";
  551. // line 149
  552. 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);
  553. yield "?v=";
  554. 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);
  555. yield "\"></script>
  556. <script src=\"";
  557. // line 150
  558. 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);
  559. yield "?v=";
  560. 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);
  561. yield "\"></script>
  562. <script src=\"";
  563. // line 151
  564. 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);
  565. yield "?v=";
  566. 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);
  567. yield "\"></script>
  568. <script src=\"";
  569. // line 152
  570. 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);
  571. yield "?v=";
  572. 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);
  573. yield "\"></script>
  574. <script src=\"";
  575. // line 153
  576. 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);
  577. yield "?v=";
  578. 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);
  579. yield "\"></script>
  580. <script src=\"";
  581. // line 154
  582. 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);
  583. yield "?v=";
  584. 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);
  585. yield "\"></script>
  586. <script>
  587. \$( '.toggle-password' ).on('click', function () {
  588. \$( this ).toggleClass( 'fa-eye fa-eye-slash' );
  589. let input = \$( \$( this ).attr( 'data-toggle' ) );
  590. if ( input.attr( 'type' ) === 'password' ) {
  591. input.attr( 'type', 'text' );
  592. } else {
  593. input.attr( 'type', 'password' );
  594. }
  595. } );
  596. const init_inputmask = function () {
  597. \$('[data-inputmask]').inputmask();
  598. };
  599. \$(function () {
  600. init_inputmask();
  601. console.log('pk', '";
  602. // line 175
  603. 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);
  604. yield "' )
  605. });
  606. ";
  607. // line 178
  608. if ((($tmp = 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.', 178, $this->source); })()), "request", [], "any", false, false, false, 178), "query", [], "any", false, false, false, 178), "has", [Twig\Extension\CoreExtension::constant("App\\Constants\\Synchronisation::LOGIN_SKIP_QUERY_PARAMETER")], "method", false, false, false, 178)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  609. // line 179
  610. yield " (function () {
  611. const skipSyncParam = ";
  612. // line 180
  613. yield json_encode(Twig\Extension\CoreExtension::constant("App\\Constants\\Synchronisation::LOGIN_SKIP_QUERY_PARAMETER"));
  614. yield ";
  615. const removeSkipSync = function () {
  616. const url = new URL(window.location.href);
  617. url.searchParams.delete(skipSyncParam);
  618. window.history.replaceState({}, document.title, url.pathname + url.search + url.hash);
  619. };
  620. if (document.readyState === 'loading') {
  621. document.addEventListener('DOMContentLoaded', removeSkipSync, { once: true });
  622. } else {
  623. removeSkipSync();
  624. }
  625. }());
  626. ";
  627. }
  628. // line 195
  629. yield "
  630. </script>
  631. ";
  632. // line 198
  633. yield " ";
  634. if ((($tmp = $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.js_files")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  635. // line 199
  636. yield " ";
  637. $context['_parent'] = $context;
  638. $context['_seq'] = CoreExtension::ensureTraversable($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.js_files"));
  639. foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
  640. // line 200
  641. yield " <script src=\"";
  642. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["file"]), "html", null, true);
  643. yield "?v=";
  644. 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.', 200, $this->source); })()), "html", null, true);
  645. yield "\"></script>
  646. ";
  647. }
  648. $_parent = $context['_parent'];
  649. unset($context['_seq'], $context['_key'], $context['file'], $context['_parent']);
  650. $context = array_intersect_key($context, $_parent) + $_parent;
  651. // line 202
  652. yield " ";
  653. }
  654. // line 203
  655. yield "
  656. ";
  657. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  658. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  659. yield from [];
  660. }
  661. /**
  662. * @codeCoverageIgnore
  663. */
  664. public function getTemplateName(): string
  665. {
  666. return "security/layout.html.twig";
  667. }
  668. /**
  669. * @codeCoverageIgnore
  670. */
  671. public function isTraitable(): bool
  672. {
  673. return false;
  674. }
  675. /**
  676. * @codeCoverageIgnore
  677. */
  678. public function getDebugInfo(): array
  679. {
  680. return array ( 745 => 203, 742 => 202, 731 => 200, 726 => 199, 723 => 198, 719 => 195, 701 => 180, 698 => 179, 696 => 178, 690 => 175, 664 => 154, 658 => 153, 652 => 152, 646 => 151, 640 => 150, 634 => 149, 628 => 148, 621 => 146, 614 => 144, 608 => 143, 601 => 141, 598 => 140, 592 => 138, 590 => 137, 581 => 133, 575 => 132, 569 => 131, 563 => 130, 555 => 126, 542 => 125, 528 => 115, 515 => 114, 493 => 98, 470 => 97, 447 => 72, 436 => 64, 434 => 63, 421 => 62, 410 => 42, 408 => 41, 395 => 40, 379 => 15, 377 => 14, 364 => 13, 341 => 9, 329 => 205, 327 => 125, 324 => 124, 322 => 123, 318 => 121, 314 => 119, 312 => 118, 309 => 117, 307 => 114, 304 => 113, 298 => 111, 293 => 109, 288 => 107, 285 => 106, 280 => 99, 278 => 98, 274 => 97, 268 => 94, 265 => 93, 259 => 91, 254 => 89, 249 => 87, 246 => 86, 244 => 82, 238 => 81, 229 => 78, 224 => 77, 219 => 76, 215 => 75, 207 => 72, 200 => 68, 197 => 67, 195 => 66, 192 => 65, 190 => 62, 187 => 61, 181 => 58, 178 => 57, 175 => 56, 169 => 53, 166 => 52, 164 => 51, 161 => 50, 158 => 49, 147 => 47, 142 => 46, 139 => 45, 136 => 43, 134 => 40, 131 => 39, 121 => 30, 115 => 27, 108 => 25, 101 => 23, 94 => 21, 91 => 20, 88 => 19, 85 => 17, 83 => 13, 80 => 12, 78 => 11, 73 => 9, 68 => 6, 64 => 4, 61 => 3, 59 => 2, 57 => 1,);
  681. }
  682. public function getSourceContext(): Source
  683. {
  684. return new Source("{% import \"@component/_template/_html_macro.html.twig\" as macros %}
  685. {% if platform_front('security.wrapper_header_content') %}
  686. {% set wrapper_header_content = getFrontDataFromSettingOrYaml('front.security.wrapper_header_content', platform_front('security'), 'wrapper_header_content') %}
  687. {% set wrapper_header_content_config = generateComponentOptions(wrapper_header_content, 'wrapper_header_content') %}
  688. {% endif %}
  689. <!DOCTYPE html>
  690. <html lang=\"fr\">
  691. <head>
  692. <title>{% block title %}{{ platform_global('seo.title') }}{% endblock title %}</title>
  693. {% include \"front/common/layout.head_common_meta_link.html.twig\" with {bootstrapVersion: '5'} %}
  694. {% block styles_global_vendor %}
  695. {# Styles venant de vendor / fonts / commun à l'ensemble du site #}
  696. <link rel=\"stylesheet\" href=\"{{ asset('build/assets/plugins/cookieconsent2/build/cookieconsent.min.css') }}?v={{ version }}\" />
  697. {% endblock styles_global_vendor %}
  698. {# Styles commun à l'ensemble du site #}
  699. {% if platform_front('theme') and platform_front('theme') not in ['', null] %}
  700. <link rel=\"stylesheet\"
  701. href=\"{{ asset('build/assets/templates/' ~ platform_front('theme') ~'/scss/main.css') }}?v={{ version }}\">
  702. <link rel=\"stylesheet\"
  703. href=\"{{ asset('build/assets/templates/' ~ platform_front('theme') ~'/scss/security.css') }}?v={{ version }}\">
  704. <link rel=\"stylesheet\"
  705. href=\"{{ asset('build/assets/templates/' ~ platform_front('theme') ~'/scss/media-queries.css') }}?v={{ version }}\">
  706. {% endif %}
  707. <link rel=\"stylesheet\" href=\"{{ path('front_common_css_custom') }}\">
  708. {# parsley hack pour help labels rouges #}
  709. <style rel=\"stylesheet\">
  710. .fv-help-block {
  711. color : red !important;
  712. }
  713. .cc-window{
  714. border:1px solid #000000;
  715. }
  716. </style>
  717. {# end parsley hack #}
  718. {% block styles %}
  719. {# Styles spécifique à une page #}
  720. {% endblock styles %}
  721. {# Style global venant du fichier platform.[projet].yaml, doit avoir la priorité absolue sur tous les autres #}
  722. {% if platform_front('css_config.custom_css_files') %}
  723. {% for file in platform_front('css_config.custom_css_files') %}
  724. <link rel=\"stylesheet\" href=\"{{ asset(file) }}?v={{ version }}\">
  725. {% endfor %}
  726. {% endif %}
  727. {% if platform_front('common.custom_css') %}
  728. <style rel=\"stylesheet\">
  729. {{ platform_front('common.custom_css')|raw }}
  730. </style>
  731. {% endif %}
  732. {% if platform_front('security.custom_css') %}
  733. <style rel=\"stylesheet\">
  734. {{ platform_front('security.custom_css')|raw }}
  735. </style>
  736. {% endif %}
  737. {% block styles_custom %}
  738. {# Styles spécifique à une page et prioritaire par rapport au css global venant de platform.[projet].yaml #}
  739. {% endblock styles_custom %}
  740. {% include \"front/common/layout.head_common_js.html.twig\" %}
  741. <script>
  742. const cdn = '{{ cdn }}';
  743. </script>
  744. </head>
  745. <body class=\"security {% block bodyclass %}login{% endblock %} --theme-{{ platform_front('security.theme') ? getFrontDataFromSettingOrYaml('front.security.theme', platform_front('security'), 'theme') : 'light' }}\">
  746. <div class=\"main-wrapper\">
  747. {% for type, messages in app.flashes() %}
  748. {% for message in messages %}
  749. <div class=\"alert alert-{{ type }}\">
  750. {{ message }}
  751. </div>
  752. {% endfor %}
  753. {% endfor %}
  754. {#
  755. Wrapper qui permet de rassembler le header et le content dans une même div pour mettre un bg spécifique
  756. Pas Iso DTV mais présent dans beaucoup de maquettes...
  757. #}
  758. {% if platform_front('security.wrapper_header_content') and wrapper_header_content.enabled %}
  759. {{ macros.generateHtmlComponentStart(wrapper_header_content_config.wrapper) }}
  760. {#ITEM#}
  761. {{ macros.generateHtmlComponentStart(wrapper_header_content_config.item) }}
  762. {#CONTAINER#}
  763. {{ macros.generateHtmlComponentStart(wrapper_header_content_config.container) }}
  764. {% endif %}
  765. {{ component('security.header','security.header') }}
  766. <main>
  767. <div class=\"{% block content_container %}container{% endblock %}\">
  768. {% block content %}{% endblock %}
  769. </div>
  770. </main>
  771. {#
  772. Wrapper qui permet de rassembler le header et le content dans une même div pour mettre un bg spécifique
  773. Pas Iso DTV mais présent dans beaucoup de maquettes...
  774. #}
  775. {% if platform_front('security.wrapper_header_content') and wrapper_header_content.enabled %}
  776. {{ macros.generateHtmlComponentEnd(wrapper_header_content_config.wrapper) }}
  777. {#ITEM#}
  778. {{ macros.generateHtmlComponentEnd(wrapper_header_content_config.item) }}
  779. {#CONTAINER#}
  780. {{ macros.generateHtmlComponentEnd(wrapper_header_content_config.container) }}
  781. {% endif %}
  782. {% block footer %}
  783. {{ component('security.footer', 'security.footer') }}
  784. {% endblock footer %}
  785. </div>
  786. {% if platform_front('common.panels.enabled') %}
  787. {% include 'front/common/panel-right.html.twig' %}
  788. {% endif %}
  789. </body>
  790. {% include '@back/_common/flash.html.twig' %}
  791. {% block scripts %}
  792. {{ getTranslate() }}
  793. <script>
  794. console.log(\"Translation called\")
  795. </script>
  796. <script src=\"{{ asset('build/assets/bower_components/bootstrap4/dist/js/bootstrap.bundle.min.js') }}?v={{ version }}\"></script>
  797. <script src=\"{{ asset('build/assets/bower_components/jquery-popup-overlay/jquery.popupoverlay.js') }}?v={{ version }}\"></script>
  798. <script src=\"{{ asset('build/assets/bower_components/moment/min/moment.min.js') }}?v={{ version }}\"></script>
  799. <script src=\"{{ asset('build/assets/plugins/cookieconsent2/build/cookieconsent.min.js') }}?v={{ version }}\"
  800. data-cfasync=\"false\"></script>
  801. <script>
  802. let messageCookies;
  803. {% if platform_front('security.cookies.message') %}
  804. messageCookies = \"{{ platform_front('security.cookies.message')|raw }}\";
  805. {% endif %}
  806. </script>
  807. <script src=\"{{ asset('build/assets/js/front/common/cookieConsentInit.js') }}?v={{ version }}\"></script>
  808. <script src=\"{{ asset('build/assets/templates/daikin/js/custom.js') }}?v={{ version }}\"></script>
  809. <script src=\"{{ asset('build/assets/templates/daikin/js/rater.js') }}?v={{ version }}\"></script>
  810. <script src=\"{{ asset('build/assets/bower_components/inputmask/dist/jquery.inputmask.min.js') }}?v={{ version }}\"></script>
  811. <script src=\"{{ asset('build/assets/bower_components/parsleyjs/dist/parsley.min.js') }}?v={{ version }}\"></script>
  812. <script src=\"{{ asset('build/assets/bower_components/parsleyjs/dist/i18n/fr.js') }}?v={{ version }}\"></script>
  813. <script src=\"{{ asset('build/assets/bower_components/parsleyjs/dist/i18n/fr.extra.js') }}?v={{ version }}\"></script>
  814. <script src=\"{{ asset('build/assets/js/front/parsley_validator.js') }}?v={{ version }}\"></script>
  815. <script src=\"{{ asset('build/assets/js/dtv/common/confirmation.js') }}?v={{ version }}\"></script>
  816. <script src=\"{{ asset('build/assets/js/dtv/common/spinner_button.js') }}?v={{ version }}\"></script>
  817. <script src=\"{{ asset('build/assets/js/front/security/cookie.js') }}?v={{ version }}\"></script>
  818. <script>
  819. \$( '.toggle-password' ).on('click', function () {
  820. \$( this ).toggleClass( 'fa-eye fa-eye-slash' );
  821. let input = \$( \$( this ).attr( 'data-toggle' ) );
  822. if ( input.attr( 'type' ) === 'password' ) {
  823. input.attr( 'type', 'text' );
  824. } else {
  825. input.attr( 'type', 'password' );
  826. }
  827. } );
  828. const init_inputmask = function () {
  829. \$('[data-inputmask]').inputmask();
  830. };
  831. \$(function () {
  832. init_inputmask();
  833. console.log('pk', '{{ platform.global.project_key|md5 }}' )
  834. });
  835. {% if app.request.query.has(constant('App\\\\Constants\\\\Synchronisation::LOGIN_SKIP_QUERY_PARAMETER')) %}
  836. (function () {
  837. const skipSyncParam = {{ constant('App\\\\Constants\\\\Synchronisation::LOGIN_SKIP_QUERY_PARAMETER')|json_encode|raw }};
  838. const removeSkipSync = function () {
  839. const url = new URL(window.location.href);
  840. url.searchParams.delete(skipSyncParam);
  841. window.history.replaceState({}, document.title, url.pathname + url.search + url.hash);
  842. };
  843. if (document.readyState === 'loading') {
  844. document.addEventListener('DOMContentLoaded', removeSkipSync, { once: true });
  845. } else {
  846. removeSkipSync();
  847. }
  848. }());
  849. {% endif %}
  850. </script>
  851. {# @TODO: fichiers par component si besoin, acl, fichiers en fonction des pages ? #}
  852. {% if platform_front('security.js_files') %}
  853. {% for file in platform_front('security.js_files') %}
  854. <script src=\"{{ asset(file) }}?v={{ version }}\"></script>
  855. {% endfor %}
  856. {% endif %}
  857. {% endblock scripts %}
  858. </html>
  859. ", "security/layout.html.twig", "/var/www/dtv-preprod/current/templates/security/layout.html.twig");
  860. }
  861. }