var/cache/dev/top-intuis-thermo.dtv-projects.com/twig/df/df3642a76eacc1c51d1de71ea45773f8.php line 268

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_11cbc1d97f91ef28914ccbfbee50bc89 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 187
  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. </script>
  607. ";
  608. // line 180
  609. yield " ";
  610. if ((($tmp = $this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.js_files")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  611. // line 181
  612. yield " ";
  613. $context['_parent'] = $context;
  614. $context['_seq'] = CoreExtension::ensureTraversable($this->env->getRuntime('App\Twig\YamlOrSettingRuntime')->platformFront("security.js_files"));
  615. foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
  616. // line 182
  617. yield " <script src=\"";
  618. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["file"]), "html", null, true);
  619. yield "?v=";
  620. 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);
  621. yield "\"></script>
  622. ";
  623. }
  624. $_parent = $context['_parent'];
  625. unset($context['_seq'], $context['_key'], $context['file'], $context['_parent']);
  626. $context = array_intersect_key($context, $_parent) + $_parent;
  627. // line 184
  628. yield " ";
  629. }
  630. // line 185
  631. yield "
  632. ";
  633. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  634. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  635. yield from [];
  636. }
  637. /**
  638. * @codeCoverageIgnore
  639. */
  640. public function getTemplateName(): string
  641. {
  642. return "security/layout.html.twig";
  643. }
  644. /**
  645. * @codeCoverageIgnore
  646. */
  647. public function isTraitable(): bool
  648. {
  649. return false;
  650. }
  651. /**
  652. * @codeCoverageIgnore
  653. */
  654. public function getDebugInfo(): array
  655. {
  656. return array ( 719 => 185, 716 => 184, 705 => 182, 700 => 181, 697 => 180, 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 => 187, 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,);
  657. }
  658. public function getSourceContext(): Source
  659. {
  660. return new Source("{% import \"@component/_template/_html_macro.html.twig\" as macros %}
  661. {% if platform_front('security.wrapper_header_content') %}
  662. {% set wrapper_header_content = getFrontDataFromSettingOrYaml('front.security.wrapper_header_content', platform_front('security'), 'wrapper_header_content') %}
  663. {% set wrapper_header_content_config = generateComponentOptions(wrapper_header_content, 'wrapper_header_content') %}
  664. {% endif %}
  665. <!DOCTYPE html>
  666. <html lang=\"fr\">
  667. <head>
  668. <title>{% block title %}{{ platform_global('seo.title') }}{% endblock title %}</title>
  669. {% include \"front/common/layout.head_common_meta_link.html.twig\" with {bootstrapVersion: '5'} %}
  670. {% block styles_global_vendor %}
  671. {# Styles venant de vendor / fonts / commun à l'ensemble du site #}
  672. <link rel=\"stylesheet\" href=\"{{ asset('build/assets/plugins/cookieconsent2/build/cookieconsent.min.css') }}?v={{ version }}\" />
  673. {% endblock styles_global_vendor %}
  674. {# Styles commun à l'ensemble du site #}
  675. {% if platform_front('theme') and platform_front('theme') not in ['', null] %}
  676. <link rel=\"stylesheet\"
  677. href=\"{{ asset('build/assets/templates/' ~ platform_front('theme') ~'/scss/main.css') }}?v={{ version }}\">
  678. <link rel=\"stylesheet\"
  679. href=\"{{ asset('build/assets/templates/' ~ platform_front('theme') ~'/scss/security.css') }}?v={{ version }}\">
  680. <link rel=\"stylesheet\"
  681. href=\"{{ asset('build/assets/templates/' ~ platform_front('theme') ~'/scss/media-queries.css') }}?v={{ version }}\">
  682. {% endif %}
  683. <link rel=\"stylesheet\" href=\"{{ path('front_common_css_custom') }}\">
  684. {# parsley hack pour help labels rouges #}
  685. <style rel=\"stylesheet\">
  686. .fv-help-block {
  687. color : red !important;
  688. }
  689. .cc-window{
  690. border:1px solid #000000;
  691. }
  692. </style>
  693. {# end parsley hack #}
  694. {% block styles %}
  695. {# Styles spécifique à une page #}
  696. {% endblock styles %}
  697. {# Style global venant du fichier platform.[projet].yaml, doit avoir la priorité absolue sur tous les autres #}
  698. {% if platform_front('css_config.custom_css_files') %}
  699. {% for file in platform_front('css_config.custom_css_files') %}
  700. <link rel=\"stylesheet\" href=\"{{ asset(file) }}?v={{ version }}\">
  701. {% endfor %}
  702. {% endif %}
  703. {% if platform_front('common.custom_css') %}
  704. <style rel=\"stylesheet\">
  705. {{ platform_front('common.custom_css')|raw }}
  706. </style>
  707. {% endif %}
  708. {% if platform_front('security.custom_css') %}
  709. <style rel=\"stylesheet\">
  710. {{ platform_front('security.custom_css')|raw }}
  711. </style>
  712. {% endif %}
  713. {% block styles_custom %}
  714. {# Styles spécifique à une page et prioritaire par rapport au css global venant de platform.[projet].yaml #}
  715. {% endblock styles_custom %}
  716. {% include \"front/common/layout.head_common_js.html.twig\" %}
  717. <script>
  718. const cdn = '{{ cdn }}';
  719. </script>
  720. </head>
  721. <body class=\"security {% block bodyclass %}login{% endblock %} --theme-{{ platform_front('security.theme') ? getFrontDataFromSettingOrYaml('front.security.theme', platform_front('security'), 'theme') : 'light' }}\">
  722. <div class=\"main-wrapper\">
  723. {% for type, messages in app.flashes() %}
  724. {% for message in messages %}
  725. <div class=\"alert alert-{{ type }}\">
  726. {{ message }}
  727. </div>
  728. {% endfor %}
  729. {% endfor %}
  730. {#
  731. Wrapper qui permet de rassembler le header et le content dans une même div pour mettre un bg spécifique
  732. Pas Iso DTV mais présent dans beaucoup de maquettes...
  733. #}
  734. {% if platform_front('security.wrapper_header_content') and wrapper_header_content.enabled %}
  735. {{ macros.generateHtmlComponentStart(wrapper_header_content_config.wrapper) }}
  736. {#ITEM#}
  737. {{ macros.generateHtmlComponentStart(wrapper_header_content_config.item) }}
  738. {#CONTAINER#}
  739. {{ macros.generateHtmlComponentStart(wrapper_header_content_config.container) }}
  740. {% endif %}
  741. {{ component('security.header','security.header') }}
  742. <main>
  743. <div class=\"{% block content_container %}container{% endblock %}\">
  744. {% block content %}{% endblock %}
  745. </div>
  746. </main>
  747. {#
  748. Wrapper qui permet de rassembler le header et le content dans une même div pour mettre un bg spécifique
  749. Pas Iso DTV mais présent dans beaucoup de maquettes...
  750. #}
  751. {% if platform_front('security.wrapper_header_content') and wrapper_header_content.enabled %}
  752. {{ macros.generateHtmlComponentEnd(wrapper_header_content_config.wrapper) }}
  753. {#ITEM#}
  754. {{ macros.generateHtmlComponentEnd(wrapper_header_content_config.item) }}
  755. {#CONTAINER#}
  756. {{ macros.generateHtmlComponentEnd(wrapper_header_content_config.container) }}
  757. {% endif %}
  758. {% block footer %}
  759. {{ component('security.footer', 'security.footer') }}
  760. {% endblock footer %}
  761. </div>
  762. {% if platform_front('common.panels.enabled') %}
  763. {% include 'front/common/panel-right.html.twig' %}
  764. {% endif %}
  765. </body>
  766. {% include '@back/_common/flash.html.twig' %}
  767. {% block scripts %}
  768. {{ getTranslate() }}
  769. <script>
  770. console.log(\"Translation called\")
  771. </script>
  772. <script src=\"{{ asset('build/assets/bower_components/bootstrap4/dist/js/bootstrap.bundle.min.js') }}?v={{ version }}\"></script>
  773. <script src=\"{{ asset('build/assets/bower_components/jquery-popup-overlay/jquery.popupoverlay.js') }}?v={{ version }}\"></script>
  774. <script src=\"{{ asset('build/assets/bower_components/moment/min/moment.min.js') }}?v={{ version }}\"></script>
  775. <script src=\"{{ asset('build/assets/plugins/cookieconsent2/build/cookieconsent.min.js') }}?v={{ version }}\"
  776. data-cfasync=\"false\"></script>
  777. <script>
  778. let messageCookies;
  779. {% if platform_front('security.cookies.message') %}
  780. messageCookies = \"{{ platform_front('security.cookies.message')|raw }}\";
  781. {% endif %}
  782. </script>
  783. <script src=\"{{ asset('build/assets/js/front/common/cookieConsentInit.js') }}?v={{ version }}\"></script>
  784. <script src=\"{{ asset('build/assets/templates/daikin/js/custom.js') }}?v={{ version }}\"></script>
  785. <script src=\"{{ asset('build/assets/templates/daikin/js/rater.js') }}?v={{ version }}\"></script>
  786. <script src=\"{{ asset('build/assets/bower_components/inputmask/dist/jquery.inputmask.min.js') }}?v={{ version }}\"></script>
  787. <script src=\"{{ asset('build/assets/bower_components/parsleyjs/dist/parsley.min.js') }}?v={{ version }}\"></script>
  788. <script src=\"{{ asset('build/assets/bower_components/parsleyjs/dist/i18n/fr.js') }}?v={{ version }}\"></script>
  789. <script src=\"{{ asset('build/assets/bower_components/parsleyjs/dist/i18n/fr.extra.js') }}?v={{ version }}\"></script>
  790. <script src=\"{{ asset('build/assets/js/front/parsley_validator.js') }}?v={{ version }}\"></script>
  791. <script src=\"{{ asset('build/assets/js/dtv/common/confirmation.js') }}?v={{ version }}\"></script>
  792. <script src=\"{{ asset('build/assets/js/dtv/common/spinner_button.js') }}?v={{ version }}\"></script>
  793. <script src=\"{{ asset('build/assets/js/front/security/cookie.js') }}?v={{ version }}\"></script>
  794. <script>
  795. \$( '.toggle-password' ).on('click', function () {
  796. \$( this ).toggleClass( 'fa-eye fa-eye-slash' );
  797. let input = \$( \$( this ).attr( 'data-toggle' ) );
  798. if ( input.attr( 'type' ) === 'password' ) {
  799. input.attr( 'type', 'text' );
  800. } else {
  801. input.attr( 'type', 'password' );
  802. }
  803. } );
  804. const init_inputmask = function () {
  805. \$('[data-inputmask]').inputmask();
  806. };
  807. \$(function () {
  808. init_inputmask();
  809. console.log('pk', '{{ platform.global.project_key|md5 }}' )
  810. });
  811. </script>
  812. {# @TODO: fichiers par component si besoin, acl, fichiers en fonction des pages ? #}
  813. {% if platform_front('security.js_files') %}
  814. {% for file in platform_front('security.js_files') %}
  815. <script src=\"{{ asset(file) }}?v={{ version }}\"></script>
  816. {% endfor %}
  817. {% endif %}
  818. {% endblock scripts %}
  819. </html>
  820. ", "security/layout.html.twig", "/var/www/dtv-preprod/current/templates/security/layout.html.twig");
  821. }
  822. }