var/cache/dev/twig/c1/c1c3cf26c6cdde50482c64e5e8ba34c7.php line 202

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\MacroNamespace;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Sandbox\SecurityNotAllowedTestError;
  14. use Twig\Source;
  15. use Twig\Template;
  16. use Twig\TemplateWrapper;
  17. /* front/base_front.html.twig */
  18. class __TwigTemplate_71be930fda32b00a522790ff995ab110 extends Template
  19. {
  20.     private Source $source;
  21.     /**
  22.      * @var array<string, MacroNamespace>
  23.      */
  24.     private array $macros = [];
  25.     private \Twig\Runtime\EscaperRuntime $escaper;
  26.     public function __construct(Environment $env)
  27.     {
  28.         parent::__construct($env);
  29.         $this->source = $this->getSourceContext();
  30.         $this->escaper = $env->getRuntime('Twig\Runtime\EscaperRuntime');
  31.         $this->parent = false;
  32.         $this->blocks = [
  33.             'title' => [$this, 'block_title'],
  34.             'SEO' => [$this, 'block_SEO'],
  35.             'stylesheets' => [$this, 'block_stylesheets'],
  36.             'top_menu' => [$this, 'block_top_menu'],
  37.             'menu' => [$this, 'block_menu'],
  38.             'front' => [$this, 'block_front'],
  39.             'container' => [$this, 'block_container'],
  40.             'newsletter' => [$this, 'block_newsletter'],
  41.             'footer' => [$this, 'block_footer'],
  42.             'javascripts_footer' => [$this, 'block_javascripts_footer'],
  43.         ];
  44.     }
  45.     protected function doDisplay(array $context, array $blocks = []): iterable
  46.     {
  47.         $macros = $this->macros;
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/base_front.html.twig"));
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/base_front.html.twig"));
  52.         // line 1
  53.         yield "<!DOCTYPE html>
  54. ";
  55.         // line 3
  56.         $context["locale"] = ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "session", [], "any", false, true, false, 3), "get", ["_locale"], "method", true, true, false, 3)) ? (Twig\Extension\CoreExtension::default(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.', 3, $this->source); })()), "session", [], "any", false, false, false, 3), "get", ["_locale"], "method", false, false, false, 3), 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.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "locale", [], "any", false, false, false, 3))) : (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.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "locale", [], "any", false, false, false, 3)));
  57.         // line 4
  58.         $context["normalized_locale"] = Twig\Extension\CoreExtension::replace((isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 4, $this->source); })()), ["_" => "-"]);
  59.         // line 5
  60.         $context["is_rtl"] = (is_string($_v0 = Twig\Extension\CoreExtension::lower($this->env->getCharset(), (isset($context["normalized_locale"]) || array_key_exists("normalized_locale", $context) ? $context["normalized_locale"] : (function () { throw new RuntimeError('Variable "normalized_locale" does not exist.', 5, $this->source); })()))) && is_string($_v1 = "ar") && str_starts_with($_v0, $_v1));
  61.         // line 6
  62.         yield "<html lang=\"";
  63.         yield (string) $this->escaper->escape((isset($context["normalized_locale"]) || array_key_exists("normalized_locale", $context) ? $context["normalized_locale"] : (function () { throw new RuntimeError('Variable "normalized_locale" does not exist.', 6, $this->source); })()), "html", null, true);
  64.         yield "\" dir=\"";
  65.         yield (string) (((($tmp = (isset($context["is_rtl"]) || array_key_exists("is_rtl", $context) ? $context["is_rtl"] : (function () { throw new RuntimeError('Variable "is_rtl" does not exist.', 6, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("rtl") : ("ltr"));
  66.         yield "\">
  67. \t<head>
  68. \t\t";
  69.         // line 11
  70.         yield "\t\t";
  71.         // line 12
  72.         yield "\t\t";
  73.         // line 13
  74.         yield "\t\t";
  75.         $context["tracking_tools"] = (((array_key_exists("tracking_tools", $context) &&  !(null === $context["tracking_tools"]))) ? ($context["tracking_tools"]) : (["META_PIXEL_ID" => "", "GOOGLE_ANALYTICS_ID" => "G-XXXXXXXXXX", "GOOGLE_ADS_ID" => "AW-XXXXXXXXXX", "GOOGLE_TAG_MANAGER_ID" => "GTM-XXXXXXX", "FACEBOOK_DOMAIN_VERIFICATION_CODE" => "", "GOOGLE_SEARCH_VERIFICATION" => ""]));
  76.         // line 21
  77.         yield "
  78. \t\t<meta charset=\"utf-8\"> <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  79. \t\t";
  80.         // line 25
  81.         yield "\t\t";
  82.         // line 26
  83.         yield "\t\t";
  84.         // line 27
  85.         yield "\t\t<meta name=\"facebook-domain-verification\" content=\"";
  86.         yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["tracking_tools"] ?? null), "FACEBOOK_DOMAIN_VERIFICATION_CODE", [], "any", true, true, false, 27)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["tracking_tools"]) || array_key_exists("tracking_tools", $context) ? $context["tracking_tools"] : (function () { throw new RuntimeError('Variable "tracking_tools" does not exist.', 27, $this->source); })()), "FACEBOOK_DOMAIN_VERIFICATION_CODE", [], "any", false, false, false, 27), "")) : ("")), "html", null, true);
  87.         yield "\"> 
  88.         <meta name=\"google-site-verification\" content=\"";
  89.         // line 28
  90.         yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["tracking_tools"] ?? null), "GOOGLE_SEARCH_VERIFICATION", [], "any", true, true, false, 28)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["tracking_tools"]) || array_key_exists("tracking_tools", $context) ? $context["tracking_tools"] : (function () { throw new RuntimeError('Variable "tracking_tools" does not exist.', 28, $this->source); })()), "GOOGLE_SEARCH_VERIFICATION", [], "any", false, false, false, 28), "")) : ("")), "html", null, true);
  91.         yield "\">
  92. \t\t<title>
  93. \t\t\t";
  94.         // line 31
  95.         yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
  96.         // line 32
  97.         yield "\t\t</title>
  98. \t\t";
  99.         // line 34
  100.         yield from $this->unwrap()->yieldBlock('SEO', $context, $blocks);
  101.         // line 35
  102.         yield "
  103. \t\t";
  104.         // line 37
  105.         yield "\t\t";
  106.         // line 38
  107.         yield "\t\t";
  108.         // line 39
  109.         yield "\t\t";
  110.         yield from $this->load("front/_tracking_head.html.twig", 39)->unwrap()->yield($context);
  111.         // line 40
  112.         yield "
  113. \t\t";
  114.         // line 42
  115.         yield "\t\t";
  116.         // line 43
  117.         yield "\t\t";
  118.         // line 44
  119.         yield "        ";
  120.         yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
  121.         // line 48
  122.         yield "
  123. \t\t";
  124.         // line 49
  125.         yield "<script src=\"";
  126.         yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front/assets/js/jquery-3.6.0.min.js"), "html", null, true);
  127.         yield "\"> </script>
  128. \t\t";
  129.         // line 50
  130.         yield (string) $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  131.         yield "
  132. \t</head>
  133. \t<body data-controller=\"modal-login\">
  134. \t\t";
  135.         // line 57
  136.         yield "\t\t";
  137.         // line 58
  138.         yield "\t\t";
  139.         // line 59
  140.         yield "\t\t";
  141.         yield from $this->load("front/_tracking_body.html.twig", 59)->unwrap()->yield($context);
  142.         // line 60
  143.         yield "
  144. \t\t";
  145.         // line 62
  146.         yield "\t\t";
  147.         // line 63
  148.         yield "\t\t";
  149.         yield " 
  150.         <header class=\"main_header_arae ";
  151.         // line 64
  152.         yield (string) (((array_key_exists("home", $context) && ((isset($context["home"]) || array_key_exists("home", $context) ? $context["home"] : (function () { throw new RuntimeError('Variable "home" does not exist.', 64, $this->source); })()) == 1))) ? ("") : ("main_header_arae_interne"));
  153.         yield "\">
  154.         ";
  155.         // line 65
  156.         yield from $this->unwrap()->yieldBlock('top_menu', $context, $blocks);
  157.         // line 68
  158.         yield "
  159. \t\t\t";
  160.         // line 69
  161.         yield from $this->unwrap()->yieldBlock('menu', $context, $blocks);
  162.         // line 72
  163.         yield "
  164. \t\t</header>
  165. \t\t";
  166.         // line 76
  167.         yield "\t\t";
  168.         // line 77
  169.         yield "\t\t";
  170.         yield from $this->unwrap()->yieldBlock('front', $context, $blocks);
  171.         // line 78
  172.         yield from $this->unwrap()->yieldBlock('container', $context, $blocks);
  173.         // line 80
  174.         yield "
  175. \t\t";
  176.         // line 81
  177.         yield from $this->unwrap()->yieldBlock('newsletter', $context, $blocks);
  178.         // line 84
  179.         yield "
  180. \t\t\t";
  181.         // line 85
  182.         yield from $this->unwrap()->yieldBlock('footer', $context, $blocks);
  183.         // line 88
  184.         yield "
  185. \t\t";
  186.         // line 90
  187.         yield "\t\t";
  188.         // line 91
  189.         yield "\t\t";
  190.         // line 92
  191.         yield "\t\t";
  192.         yield (string) Twig\Extension\CoreExtension::include($this->env, $context, "front/_modal_login.html.twig");
  193.         yield "
  194. \t\t";
  195.         // line 95
  196.         yield "\t\t";
  197.         // line 96
  198.         yield "\t\t\t";
  199.         // line 97
  200.         yield "\t\t\t";
  201.         yield from $this->unwrap()->yieldBlock('javascripts_footer', $context, $blocks);
  202.         // line 100
  203.         yield "</body></html>
  204. ";
  205.         
  206.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  207.         
  208.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  209.         return; yield;
  210.     }
  211.     // line 31
  212.     /**
  213.      * @return iterable<null|scalar|\Stringable>
  214.      */
  215.     public function block_title(array $context, array $blocks = []): iterable
  216.     {
  217.         $macros = $this->macros;
  218.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  219.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  220.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  221.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  222.         
  223.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  224.         
  225.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  226.         return; yield;
  227.     }
  228.     // line 34
  229.     /**
  230.      * @return iterable<null|scalar|\Stringable>
  231.      */
  232.     public function block_SEO(array $context, array $blocks = []): iterable
  233.     {
  234.         $macros = $this->macros;
  235.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  236.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "SEO"));
  237.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  238.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "SEO"));
  239.         
  240.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  241.         
  242.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  243.         return; yield;
  244.     }
  245.     // line 44
  246.     /**
  247.      * @return iterable<null|scalar|\Stringable>
  248.      */
  249.     public function block_stylesheets(array $context, array $blocks = []): iterable
  250.     {
  251.         $macros = $this->macros;
  252.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  253.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  254.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  255.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  256.         // line 45
  257.         yield "        ";
  258.         yield from $this->load("front/_common_css.html.twig", 45)->unwrap()->yield($context);
  259.         // line 46
  260.         yield "        ";
  261.         yield (string) $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  262.         yield "
  263.         ";
  264.         
  265.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  266.         
  267.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  268.         return; yield;
  269.     }
  270.     // line 65
  271.     /**
  272.      * @return iterable<null|scalar|\Stringable>
  273.      */
  274.     public function block_top_menu(array $context, array $blocks = []): iterable
  275.     {
  276.         $macros = $this->macros;
  277.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  278.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "top_menu"));
  279.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  280.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "top_menu"));
  281.         // line 66
  282.         yield "\t\t\t\t";
  283.         yield from $this->load("front/main/header/top_menu.html.twig", 66)->unwrap()->yield($context);
  284.         // line 67
  285.         yield "\t\t\t";
  286.         
  287.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  288.         
  289.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  290.         return; yield;
  291.     }
  292.     // line 69
  293.     /**
  294.      * @return iterable<null|scalar|\Stringable>
  295.      */
  296.     public function block_menu(array $context, array $blocks = []): iterable
  297.     {
  298.         $macros = $this->macros;
  299.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  300.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
  301.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  302.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
  303.         // line 70
  304.         yield "\t\t\t\t";
  305.         yield from $this->load("front/main/header/menu.html.twig", 70)->unwrap()->yield($context);
  306.         // line 71
  307.         yield "\t\t\t";
  308.         
  309.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  310.         
  311.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  312.         return; yield;
  313.     }
  314.     // line 77
  315.     /**
  316.      * @return iterable<null|scalar|\Stringable>
  317.      */
  318.     public function block_front(array $context, array $blocks = []): iterable
  319.     {
  320.         $macros = $this->macros;
  321.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  322.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "front"));
  323.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  324.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "front"));
  325.         // line 78
  326.         yield "\t\t";
  327.         
  328.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  329.         
  330.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  331.         return; yield;
  332.     }
  333.     /**
  334.      * @return iterable<null|scalar|\Stringable>
  335.      */
  336.     public function block_container(array $context, array $blocks = []): iterable
  337.     {
  338.         $macros = $this->macros;
  339.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  340.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "container"));
  341.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  342.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "container"));
  343.         // line 79
  344.         yield "\t\t";
  345.         
  346.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  347.         
  348.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  349.         return; yield;
  350.     }
  351.     // line 81
  352.     /**
  353.      * @return iterable<null|scalar|\Stringable>
  354.      */
  355.     public function block_newsletter(array $context, array $blocks = []): iterable
  356.     {
  357.         $macros = $this->macros;
  358.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  359.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "newsletter"));
  360.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  361.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "newsletter"));
  362.         // line 82
  363.         yield "\t\t";
  364.         // line 83
  365.         yield "\t\t";
  366.         
  367.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  368.         
  369.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  370.         return; yield;
  371.     }
  372.     // line 85
  373.     /**
  374.      * @return iterable<null|scalar|\Stringable>
  375.      */
  376.     public function block_footer(array $context, array $blocks = []): iterable
  377.     {
  378.         $macros = $this->macros;
  379.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  380.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  381.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  382.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  383.         // line 86
  384.         yield "\t\t";
  385.         yield (string) Twig\Extension\CoreExtension::include($this->env, $context, "front/main/footer/footer.html.twig");
  386.         yield "
  387. \t\t";
  388.         
  389.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  390.         
  391.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  392.         return; yield;
  393.     }
  394.     // line 97
  395.     /**
  396.      * @return iterable<null|scalar|\Stringable>
  397.      */
  398.     public function block_javascripts_footer(array $context, array $blocks = []): iterable
  399.     {
  400.         $macros = $this->macros;
  401.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  402.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts_footer"));
  403.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  404.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts_footer"));
  405.         // line 98
  406.         yield "\t\t";
  407.         yield from $this->load("front/_common_js.html.twig", 98)->unwrap()->yield($context);
  408.         // line 99
  409.         yield "\t";
  410.         yield from $this->load("front/_tracking_ga_ads.html.twig", 99)->unwrap()->yield($context);
  411.         
  412.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  413.         
  414.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  415.         return; yield;
  416.     }
  417.     /**
  418.      * @codeCoverageIgnore
  419.      */
  420.     public function getTemplateName(): string
  421.     {
  422.         return "front/base_front.html.twig";
  423.     }
  424.     /**
  425.      * @codeCoverageIgnore
  426.      */
  427.     public function isTraitable(): bool
  428.     {
  429.         return false;
  430.     }
  431.     /**
  432.      * @codeCoverageIgnore
  433.      */
  434.     public function getDefaultEscapeStrategy(): string|false
  435.     {
  436.         return "html";
  437.     }
  438.     /**
  439.      * @codeCoverageIgnore
  440.      */
  441.     public function getDebugInfo(): array
  442.     {
  443.         return array (  480 => 99,  477 => 98,  464 => 97,  450 => 86,  437 => 85,  426 => 83,  424 => 82,  411 => 81,  400 => 79,  377 => 78,  364 => 77,  353 => 71,  350 => 70,  337 => 69,  326 => 67,  323 => 66,  310 => 65,  296 => 46,  293 => 45,  280 => 44,  258 => 34,  236 => 31,  224 => 100,  221 => 97,  219 => 96,  217 => 95,  211 => 92,  209 => 91,  207 => 90,  204 => 88,  202 => 85,  199 => 84,  197 => 81,  194 => 80,  192 => 78,  189 => 77,  187 => 76,  182 => 72,  180 => 69,  177 => 68,  175 => 65,  171 => 64,  167 => 63,  165 => 62,  162 => 60,  159 => 59,  157 => 58,  155 => 57,  146 => 50,  141 => 49,  138 => 48,  135 => 44,  133 => 43,  131 => 42,  128 => 40,  125 => 39,  123 => 38,  121 => 37,  118 => 35,  116 => 34,  112 => 32,  110 => 31,  104 => 28,  99 => 27,  97 => 26,  95 => 25,  90 => 21,  87 => 13,  85 => 12,  83 => 11,  73 => 6,  71 => 5,  69 => 4,  67 => 3,  63 => 1,);
  444.     }
  445.     public function getSourceContext(): Source
  446.     {
  447.         return new Source("<!DOCTYPE html>
  448. {% set locale = app.session.get(\x27_locale\x27)|default(app.request.locale) %}
  449. {% set normalized_locale = locale|replace({\x27_\x27: \x27-\x27}) %}
  450. {% set is_rtl = normalized_locale|lower starts with \x27ar\x27 %}
  451. <html lang=\"{{ normalized_locale }}\" dir=\"{{ is_rtl ? \x27rtl\x27 : \x27ltr\x27 }}\">
  452. \t<head>
  453. \t\t{# ===================================================== #}
  454. \t\t{# TRACKING CONFIG DEFAULT #}
  455. \t\t{# ===================================================== #}
  456. \t\t{% set tracking_tools = tracking_tools ?? {
  457.         \x27META_PIXEL_ID\x27: \x27\x27,
  458.         \x27GOOGLE_ANALYTICS_ID\x27: \x27G-XXXXXXXXXX\x27,
  459.         \x27GOOGLE_ADS_ID\x27: \x27AW-XXXXXXXXXX\x27,
  460.         \x27GOOGLE_TAG_MANAGER_ID\x27: \x27GTM-XXXXXXX\x27,
  461.         \x27FACEBOOK_DOMAIN_VERIFICATION_CODE\x27: \x27\x27,
  462.         \x27GOOGLE_SEARCH_VERIFICATION\x27: \x27\x27
  463.     } %}
  464. \t\t<meta charset=\"utf-8\"> <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  465. \t\t{# ===================================================== #}
  466. \t\t{# VERIFICATION META TAGS #}
  467. \t\t{# ===================================================== #}
  468. \t\t<meta name=\"facebook-domain-verification\" content=\"{{ tracking_tools.FACEBOOK_DOMAIN_VERIFICATION_CODE|default(\x27\x27) }}\"> 
  469.         <meta name=\"google-site-verification\" content=\"{{ tracking_tools.GOOGLE_SEARCH_VERIFICATION|default(\x27\x27) }}\">
  470. \t\t<title>
  471. \t\t\t{% block title %}{% endblock %}
  472. \t\t</title>
  473. \t\t{% block SEO %}{% endblock %}
  474. \t\t{# ===================================================== #}
  475. \t\t{# TRACKING HEAD FILE #}
  476. \t\t{# ===================================================== #}
  477. \t\t{% include \x27front/_tracking_head.html.twig\x27 %}
  478. \t\t{# ===================================================== #}
  479. \t\t{# STYLESHEETS #}
  480. \t\t{# ===================================================== #}
  481.         {% block stylesheets %}
  482.         {% include \x27front/_common_css.html.twig\x27 %}
  483.         {{ encore_entry_link_tags(\x27app\x27) }}
  484.         {% endblock %}
  485. \t\t{# BASE JS #}<script src=\"{{ asset(\x27front/assets/js/jquery-3.6.0.min.js\x27) }}\"> </script>
  486. \t\t{{ encore_entry_script_tags(\x27app\x27) }}
  487. \t</head>
  488. \t<body data-controller=\"modal-login\">
  489. \t\t{# ===================================================== #}
  490. \t\t{# TRACKING BODY (NOSCRIPT + PIXEL) #}
  491. \t\t{# ===================================================== #}
  492. \t\t{% include \x27front/_tracking_body.html.twig\x27 %}
  493. \t\t{# ===================================================== #}
  494. \t\t{# HEADER #}
  495. \t\t{# ===================================================== #} 
  496.         <header class=\"main_header_arae {{ (home is defined and home == 1) ? \x27\x27 : \x27main_header_arae_interne\x27 }}\">
  497.         {% block top_menu %}
  498. \t\t\t\t{% include \x27front/main/header/top_menu.html.twig\x27 %}
  499. \t\t\t{% endblock %}
  500. \t\t\t{% block menu %}
  501. \t\t\t\t{% include \x27front/main/header/menu.html.twig\x27 %}
  502. \t\t\t{% endblock %}
  503. \t\t</header>
  504. \t\t{# ===================================================== #}
  505. \t\t{# CONTENT #}
  506. \t\t{# ===================================================== #}{% block front %}
  507. \t\t{% endblock %}{% block container %}
  508. \t\t{% endblock %}
  509. \t\t{% block newsletter %}
  510. \t\t{#{{ render(path(\x27app_front_newsletter_subscriber_new\x27)) }}#}
  511. \t\t{% endblock %}
  512. \t\t\t{% block footer %}
  513. \t\t{{ include(\x27front/main/footer/footer.html.twig\x27) }}
  514. \t\t{% endblock %}
  515. \t\t{# ===================================================== #}
  516. \t\t{# MODAL #}
  517. \t\t{# ===================================================== #}
  518. \t\t{{ include(\x27front/_modal_login.html.twig\x27) }}
  519. \t\t{# ===================================================== #}
  520. \t\t{# FOOTER JS #}
  521. \t\t\t{# ===================================================== #}
  522. \t\t\t{% block javascripts_footer %}
  523. \t\t{% include \x27front/_common_js.html.twig\x27 %}
  524. \t{% include \x27front/_tracking_ga_ads.html.twig\x27 %}
  525. {% endblock %}</body></html>
  526. ", "front/base_front.html.twig", "/home/sunazur/public_html/templates/front/base_front.html.twig");
  527.     }
  528. }