var/cache/website/dev/twig/fb/fb6d3086b47100b6e505742f025fe05ea6d674cd95b6d118d7fe33aee26ecb3c.php line 40

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* base.html.twig */
  14. class __TwigTemplate_9f2160f8b5e7703a244a0e192fd1a168a59e1baaaaa15cfc789cddc2f34f09fc extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'meta' => [$this'block_meta'],
  25.             'style' => [$this'block_style'],
  26.             'header' => [$this'block_header'],
  27.             'content' => [$this'block_content'],
  28.             'footer_snippets' => [$this'block_footer_snippets'],
  29.             'footer' => [$this'block_footer'],
  30.             'javascripts' => [$this'block_javascripts'],
  31.         ];
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  40.         // line 1
  41.         $context["account"] = $this->extensions['App\Twig\AccountTwigExtension']->resolveAccountFunction(twig_replace_filter(twig_get_attribute($this->env$this->source, (isset($context["request"]) || array_key_exists("request"$context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.'1$this->source); })()), "portalKey", [], "any"falsefalsefalse1), ["fereol-depannage" => 1"agora-depannage" => 2"aerogarage" => 3]));
  42.         // line 2
  43.         $context["logo"] = $this->extensions['Sulu\Bundle\MediaBundle\Twig\MediaTwigExtension']->resolveMediaFunction(twig_get_attribute($this->env$this->source, (isset($context["account"]) || array_key_exists("account"$context) ? $context["account"] : (function () { throw new RuntimeError('Variable "account" does not exist.'2$this->source); })()), "logo", [], "any"falsefalsefalse2), "fr");
  44.         // line 3
  45.         echo "<!DOCTYPE html>
  46. <html lang=\"";
  47.         // line 4
  48.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_split_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'4$this->source); })()), "request", [], "any"falsefalsefalse4), "locale", [], "any"falsefalsefalse4), "_"), 0, [], "array"falsefalsefalse4), "html"nulltrue);
  49.         echo "\">
  50.     <head>
  51.         <meta charset=\"utf-8\">
  52.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  53.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  54.         ";
  55.         // line 10
  56.         $this->displayBlock('meta'$context$blocks);
  57.         // line 18
  58.         echo "
  59.         ";
  60.         // line 19
  61.         $this->displayBlock('style'$context$blocks);
  62.         // line 23
  63.         echo "    </head>
  64.     <body class=\"";
  65.         // line 24
  66.         echo twig_escape_filter($this->env, (isset($context["template"]) || array_key_exists("template"$context) ? $context["template"] : (function () { throw new RuntimeError('Variable "template" does not exist.'24$this->source); })()), "html"nulltrue);
  67.         echo " webspace_";
  68.         echo twig_escape_filter($this->env, (isset($context["webspaceKey"]) || array_key_exists("webspaceKey"$context) ? $context["webspaceKey"] : (function () { throw new RuntimeError('Variable "webspaceKey" does not exist.'24$this->source); })()), "html"nulltrue);
  69.         echo "\">
  70.         
  71.         
  72.         <header>
  73.             ";
  74.         // line 28
  75.         $this->displayBlock('header'$context$blocks);
  76.         // line 76
  77.         echo "        </header>
  78.         <main id=\"content\">            
  79.             ";
  80.         // line 80
  81.         $this->displayBlock('content'$context$blocks);
  82.         // line 81
  83.         echo "        </main>
  84.         ";
  85.         // line 82
  86.         $this->displayBlock('footer_snippets'$context$blocks);
  87.         // line 88
  88.         echo "
  89.         <footer class=\"container-fluid py-2\">
  90.                 ";
  91.         // line 91
  92.         $this->displayBlock('footer'$context$blocks);
  93.         // line 117
  94.         echo "            </div>
  95.         </footer>
  96.         ";
  97.         // line 120
  98.         $this->displayBlock('javascripts'$context$blocks);
  99.         // line 125
  100.         echo "    </body>
  101. </html>
  102. ";
  103.         
  104.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  105.         
  106.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  107.     }
  108.     // line 10
  109.     public function block_meta($context, array $blocks = [])
  110.     {
  111.         $macros $this->macros;
  112.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  113.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  114.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  115.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  116.         // line 11
  117.         echo "            ";
  118.         $this->loadTemplate("seo.html.twig""base.html.twig"11)->display(twig_array_merge($context, ["seo" => ((twig_get_attribute($this->env$this->source,         // line 12
  119. ($context["extension"] ?? null), "seo", [], "any"truetruefalse12)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["extension"] ?? null), "seo", [], "any"falsefalsefalse12), [])) : ([])), "content" => ((        // line 13
  120. array_key_exists("content"$context)) ? (_twig_default_filter((isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'13$this->source); })()), [])) : ([])), "localizations" => ((        // line 14
  121. array_key_exists("localizations"$context)) ? (_twig_default_filter((isset($context["localizations"]) || array_key_exists("localizations"$context) ? $context["localizations"] : (function () { throw new RuntimeError('Variable "localizations" does not exist.'14$this->source); })()), [])) : ([])), "shadowBaseLocale" => ((        // line 15
  122. array_key_exists("shadowBaseLocale"$context)) ? (_twig_default_filter((isset($context["shadowBaseLocale"]) || array_key_exists("shadowBaseLocale"$context) ? $context["shadowBaseLocale"] : (function () { throw new RuntimeError('Variable "shadowBaseLocale" does not exist.'15$this->source); })()))) : (""))]));
  123.         // line 17
  124.         echo "        ";
  125.         
  126.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  127.         
  128.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  129.     }
  130.     // line 19
  131.     public function block_style($context, array $blocks = [])
  132.     {
  133.         $macros $this->macros;
  134.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  135.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  136.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  137.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  138.         // line 20
  139.         echo "            ";
  140.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  141.         echo "
  142.             ";
  143.         // line 21
  144.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("site");
  145.         echo "
  146.         ";
  147.         
  148.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  149.         
  150.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  151.     }
  152.     // line 28
  153.     public function block_header($context, array $blocks = [])
  154.     {
  155.         $macros $this->macros;
  156.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  157.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  158.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  159.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  160.         // line 29
  161.         echo "
  162.                 <nav class=\"navbar navbar-expand-lg navbar-light\">
  163.                     <div class=\"container align-items-stretch\">
  164.                         <a class=\"navbar-brand\" href=\"";
  165.         // line 32
  166.         echo twig_escape_filter($this->env$this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentRootPath(), "html"nulltrue);
  167.         echo "\" title=\"";
  168.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["account"]) || array_key_exists("account"$context) ? $context["account"] : (function () { throw new RuntimeError('Variable "account" does not exist.'32$this->source); })()), "name", [], "any"falsefalsefalse32), "html"nulltrue);
  169.         echo "\">
  170.                             <img src=\"";
  171.         // line 33
  172.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["logo"]) || array_key_exists("logo"$context) ? $context["logo"] : (function () { throw new RuntimeError('Variable "logo" does not exist.'33$this->source); })()), "thumbnails", [], "any"falsefalsefalse33), "logo-x200", [], "array"falsefalsefalse33), "html"nulltrue);
  173.         echo "\">
  174.                         </a>
  175.                         <button class=\"navbar-toggler\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#mainNav\" aria-controls=\"mainNav\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  176.                           <span class=\"navbar-toggler-icon\"></span>
  177.                         </button>
  178.                         
  179.                         <div class=\"collapse navbar-collapse flex-column justify-content-between\" id=\"mainNav\">
  180.                             <div class=\"banner-depannage align-self-end travaux\">
  181.                                 <span class=\"left-shadow\"></span>
  182.                                 ";
  183.         // line 42
  184.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("24H / 7J DÉPANNAGE AUTO ET PL", [], "messages");
  185.         // line 43
  186.         echo "                                <span class=\"right-shadow\"></span>
  187.                             </div>
  188.                             <ul class=\"navbar-nav me-auto mb-2 mb-lg-0\">
  189.                                 ";
  190.         // line 47
  191.         $context['_parent'] = $context;
  192.         $context['_seq'] = twig_ensure_traversable($this->env->getFunction('sulu_navigation_root_tree')->getCallable()("main"2));
  193.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  194.             // line 48
  195.             echo "
  196.                                     <li class=\"nav-item ";
  197.             // line 49
  198.             echo ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "children", [], "any"falsefalsefalse49))) ? ("dropdown") : (""));
  199.             echo "\">
  200.                                         <a class=\"nav-link ";
  201.             // line 50
  202.             echo ((((=== twig_compare((isset($context["uuid"]) || array_key_exists("uuid"$context) ? $context["uuid"] : (function () { throw new RuntimeError('Variable "uuid" does not exist.'50$this->source); })()), twig_get_attribute($this->env$this->source$context["item"], "uuid", [], "any"falsefalsefalse50))) || twig_in_filter((isset($context["uuid"]) || array_key_exists("uuid"$context) ? $context["uuid"] : (function () { throw new RuntimeError('Variable "uuid" does not exist.'50$this->source); })()), twig_array_map($this->envtwig_get_attribute($this->env$this->source$context["item"], "children", [], "any"falsefalsefalse50), function ($__i__) use ($context$macros) { $context["i"] = $__i__; return twig_get_attribute($this->env$this->source, (isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'50$this->source); })()), "uuid", [], "any"falsefalsefalse50); })))) ? ("active") : (""));
  203.             echo "\" ";
  204.             echo ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "children", [], "any"falsefalsefalse50))) ? ("data-bs-toggle=\"dropdown\"") : (""));
  205.             echo " href=\"";
  206.             echo twig_escape_filter($this->env$this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source$context["item"], "url", [], "any"falsefalsefalse50), twig_get_attribute($this->env$this->source$context["item"], "webspaceKey", [], "any"falsefalsefalse50)), "html"nulltrue);
  207.             echo "\" title=\"";
  208.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse50), "html"nulltrue);
  209.             echo "\">
  210.                                            ";
  211.             // line 51
  212.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse51), "html"nulltrue);
  213.             echo "
  214.                                        </a>
  215.                                         ";
  216.             // line 53
  217.             if (twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "children", [], "any"falsefalsefalse53))) {
  218.                 // line 54
  219.                 echo "                                            <ul class=\"dropdown-menu\">
  220.                                                 ";
  221.                 // line 55
  222.                 $context['_parent'] = $context;
  223.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["item"], "children", [], "any"falsefalsefalse55));
  224.                 foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
  225.                     // line 56
  226.                     echo "                                                    <li>
  227.                                                         <a href=\"";
  228.                     // line 57
  229.                     echo twig_escape_filter($this->env$this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source$context["child"], "url", [], "any"falsefalsefalse57), twig_get_attribute($this->env$this->source$context["child"], "webspaceKey", [], "any"falsefalsefalse57)), "html"nulltrue);
  230.                     echo "\"class=\"dropdown-item ";
  231.                     echo (((=== twig_compare((isset($context["uuid"]) || array_key_exists("uuid"$context) ? $context["uuid"] : (function () { throw new RuntimeError('Variable "uuid" does not exist.'57$this->source); })()), twig_get_attribute($this->env$this->source$context["child"], "uuid", [], "any"falsefalsefalse57)))) ? ("active") : (""));
  232.                     echo "\" title=\"";
  233.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["child"], "title", [], "any"falsefalsefalse57), "html"nulltrue);
  234.                     echo "\">
  235.                                                             ";
  236.                     // line 58
  237.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["child"], "title", [], "any"falsefalsefalse58), "html"nulltrue);
  238.                     echo "
  239.                                                         </a>
  240.                                                     </li>
  241.                                                 ";
  242.                 }
  243.                 $_parent $context['_parent'];
  244.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
  245.                 $context array_intersect_key($context$_parent) + $_parent;
  246.                 // line 62
  247.                 echo "                                            </ul>
  248.                                         ";
  249.             }
  250.             // line 63
  251.             echo "                                           
  252.                                     </li>
  253.                                 ";
  254.         }
  255.         $_parent $context['_parent'];
  256.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  257.         $context array_intersect_key($context$_parent) + $_parent;
  258.         // line 67
  259.         echo "                            </ul>
  260.                         </div>
  261.                         <a href=\"tel:";
  262.         // line 69
  263.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["account"]) || array_key_exists("account"$context) ? $context["account"] : (function () { throw new RuntimeError('Variable "account" does not exist.'69$this->source); })()), "mainPhone", [], "any"falsefalsefalse69), "html"nulltrue);
  264.         echo "\" class=\"btn btn-danger telephone px-4\">
  265.                             <i class=\"icon-truck icon-above\"></i>
  266.                             <i class=\"fa fa-mobile-alt me-2\"></i> ";
  267.         // line 71
  268.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["account"]) || array_key_exists("account"$context) ? $context["account"] : (function () { throw new RuntimeError('Variable "account" does not exist.'71$this->source); })()), "mainPhone", [], "any"falsefalsefalse71), "html"nulltrue);
  269.         echo "
  270.                         </a>
  271.                     </div>
  272.                 </nav>
  273.             ";
  274.         
  275.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  276.         
  277.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  278.     }
  279.     // line 80
  280.     public function block_content($context, array $blocks = [])
  281.     {
  282.         $macros $this->macros;
  283.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  284.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  285.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  286.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  287.         
  288.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  289.         
  290.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  291.     }
  292.     // line 82
  293.     public function block_footer_snippets($context, array $blocks = [])
  294.     {
  295.         $macros $this->macros;
  296.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  297.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer_snippets"));
  298.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  299.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer_snippets"));
  300.         // line 83
  301.         echo "            ";
  302.         $context["faq"] = $this->extensions['Sulu\Bundle\SnippetBundle\Twig\SnippetAreaTwigExtension']->loadByArea("faq_footer");
  303.         // line 84
  304.         echo "            ";
  305.         echo twig_include($this->env$context"snippets/faq.html.twig", (isset($context["faq"]) || array_key_exists("faq"$context) ? $context["faq"] : (function () { throw new RuntimeError('Variable "faq" does not exist.'84$this->source); })()));
  306.         echo "
  307.             ";
  308.         // line 85
  309.         $context["slide"] = $this->extensions['Sulu\Bundle\SnippetBundle\Twig\SnippetAreaTwigExtension']->loadByArea("partenaires_footer");
  310.         // line 86
  311.         echo "            ";
  312.         echo twig_include($this->env$context"snippets/slide.html.twig", (isset($context["slide"]) || array_key_exists("slide"$context) ? $context["slide"] : (function () { throw new RuntimeError('Variable "slide" does not exist.'86$this->source); })()));
  313.         echo "
  314.         ";
  315.         
  316.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  317.         
  318.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  319.     }
  320.     // line 91
  321.     public function block_footer($context, array $blocks = [])
  322.     {
  323.         $macros $this->macros;
  324.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  325.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  326.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  327.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  328.         // line 92
  329.         echo "                    <div class=\"container\">
  330.                         <div class=\"row justify-content-end align-items-center\">
  331.                             <div class=\"col-auto text-end text-white credit\">
  332.                                 &copy; ";
  333.         // line 95
  334.         echo twig_escape_filter($this->envtwig_date_format_filter($this->env"now""Y"), "html"nulltrue);
  335.         echo " Adelysnet
  336.                             </div>
  337.                             <nav class=\"col-auto flex-grow-1 text-end d-flex justify-content-end\">
  338.                                 <ul class=\"nav\">
  339.                                     <li class=\"nav-item\">
  340.                                         <a class=\"nav-link\" href=\"";
  341.         // line 101
  342.         echo twig_escape_filter($this->env$this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentRootPath(), "html"nulltrue);
  343.         echo "\">Accueil</a>
  344.                                     </li>                    
  345.                                     ";
  346.         // line 104
  347.         $context['_parent'] = $context;
  348.         $context['_seq'] = twig_ensure_traversable($this->env->getFunction('sulu_navigation_root_tree')->getCallable()("footer"));
  349.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  350.             // line 105
  351.             echo "                                        <li class=\"nav-item\">
  352.                                             <a  class=\"nav-link\" href=\"";
  353.             // line 106
  354.             echo twig_escape_filter($this->env$this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source$context["item"], "url", [], "any"falsefalsefalse106), twig_get_attribute($this->env$this->source$context["item"], "webspaceKey", [], "any"falsefalsefalse106)), "html"nulltrue);
  355.             echo "\"
  356.                                                title=\"";
  357.             // line 107
  358.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse107), "html"nulltrue);
  359.             echo "\">";
  360.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse107), "html"nulltrue);
  361.             echo "</a>
  362.                                         </li>
  363.                                     ";
  364.         }
  365.         $_parent $context['_parent'];
  366.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  367.         $context array_intersect_key($context$_parent) + $_parent;
  368.         // line 110
  369.         echo "                                </ul>
  370.                             </nav>                        
  371.                             
  372.                         </div>
  373.                     </div>
  374.                 ";
  375.         
  376.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  377.         
  378.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  379.     }
  380.     // line 120
  381.     public function block_javascripts($context, array $blocks = [])
  382.     {
  383.         $macros $this->macros;
  384.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  385.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  386.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  387.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  388.         // line 121
  389.         echo "
  390.             ";
  391.         // line 122
  392.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  393.         echo "
  394.             ";
  395.         // line 123
  396.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("site");
  397.         echo "
  398.         ";
  399.         
  400.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  401.         
  402.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  403.     }
  404.     public function getTemplateName()
  405.     {
  406.         return "base.html.twig";
  407.     }
  408.     public function isTraitable()
  409.     {
  410.         return false;
  411.     }
  412.     public function getDebugInfo()
  413.     {
  414.         return array (  450 => 123,  446 => 122,  443 => 121,  433 => 120,  417 => 110,  406 => 107,  402 => 106,  399 => 105,  395 => 104,  389 => 101,  380 => 95,  375 => 92,  365 => 91,  352 => 86,  350 => 85,  345 => 84,  342 => 83,  332 => 82,  314 => 80,  299 => 71,  294 => 69,  290 => 67,  281 => 63,  277 => 62,  267 => 58,  259 => 57,  256 => 56,  252 => 55,  249 => 54,  247 => 53,  242 => 51,  232 => 50,  228 => 49,  225 => 48,  221 => 47,  215 => 43,  213 => 42,  201 => 33,  195 => 32,  190 => 29,  180 => 28,  168 => 21,  163 => 20,  153 => 19,  143 => 17,  141 => 15,  140 => 14,  139 => 13,  138 => 12,  136 => 11,  126 => 10,  114 => 125,  112 => 120,  107 => 117,  105 => 91,  100 => 88,  98 => 82,  95 => 81,  93 => 80,  87 => 76,  85 => 28,  76 => 24,  73 => 23,  71 => 19,  68 => 18,  66 => 10,  57 => 4,  54 => 3,  52 => 2,  50 => 1,);
  415.     }
  416.     public function getSourceContext()
  417.     {
  418.         return new Source("{% set account = sulu_resolve_account(request.portalKey|replace({'fereol-depannage':1,'agora-depannage':2,'aerogarage':3})) %}
  419. {% set logo = sulu_resolve_media(account.logo,'fr') %}
  420. <!DOCTYPE html>
  421. <html lang=\"{{ app.request.locale|split('_')[0] }}\">
  422.     <head>
  423.         <meta charset=\"utf-8\">
  424.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  425.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  426.         {% block meta %}
  427.             {% include \"seo.html.twig\" with {
  428.                 \"seo\": extension.seo|default([]),
  429.                 \"content\": content|default([]),
  430.                 \"localizations\": localizations|default([]),
  431.                 \"shadowBaseLocale\": shadowBaseLocale|default(),
  432.             } %}
  433.         {% endblock %}
  434.         {% block style %}
  435.             {{ encore_entry_link_tags('app') }}
  436.             {{ encore_entry_link_tags('site') }}
  437.         {% endblock %}
  438.     </head>
  439.     <body class=\"{{ template }} webspace_{{ webspaceKey }}\">
  440.         
  441.         
  442.         <header>
  443.             {% block header %}
  444.                 <nav class=\"navbar navbar-expand-lg navbar-light\">
  445.                     <div class=\"container align-items-stretch\">
  446.                         <a class=\"navbar-brand\" href=\"{{ sulu_content_root_path() }}\" title=\"{{ account.name }}\">
  447.                             <img src=\"{{ logo.thumbnails['logo-x200'] }}\">
  448.                         </a>
  449.                         <button class=\"navbar-toggler\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#mainNav\" aria-controls=\"mainNav\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  450.                           <span class=\"navbar-toggler-icon\"></span>
  451.                         </button>
  452.                         
  453.                         <div class=\"collapse navbar-collapse flex-column justify-content-between\" id=\"mainNav\">
  454.                             <div class=\"banner-depannage align-self-end travaux\">
  455.                                 <span class=\"left-shadow\"></span>
  456.                                 {% trans %}24H / 7J DÉPANNAGE AUTO ET PL{% endtrans %}
  457.                                 <span class=\"right-shadow\"></span>
  458.                             </div>
  459.                             <ul class=\"navbar-nav me-auto mb-2 mb-lg-0\">
  460.                                 {% for item in sulu_navigation_root_tree('main',2) %}
  461.                                     <li class=\"nav-item {{ item.children|length ? 'dropdown' : '' }}\">
  462.                                         <a class=\"nav-link {{ uuid == item.uuid or uuid in item.children|map(i => i.uuid) ? 'active' : '' }}\" {{ item.children|length ? 'data-bs-toggle=\"dropdown\"':'' }} href=\"{{ sulu_content_path(item.url, item.webspaceKey) }}\" title=\"{{ item.title }}\">
  463.                                            {{ item.title }}
  464.                                        </a>
  465.                                         {% if item.children|length %}
  466.                                             <ul class=\"dropdown-menu\">
  467.                                                 {% for child in item.children %}
  468.                                                     <li>
  469.                                                         <a href=\"{{ sulu_content_path(child.url, child.webspaceKey) }}\"class=\"dropdown-item {{ uuid == child.uuid ? 'active' : '' }}\" title=\"{{ child.title }}\">
  470.                                                             {{ child.title }}
  471.                                                         </a>
  472.                                                     </li>
  473.                                                 {% endfor %}
  474.                                             </ul>
  475.                                         {% endif %}                                           
  476.                                     </li>
  477.                                 {% endfor %}
  478.                             </ul>
  479.                         </div>
  480.                         <a href=\"tel:{{ account.mainPhone }}\" class=\"btn btn-danger telephone px-4\">
  481.                             <i class=\"icon-truck icon-above\"></i>
  482.                             <i class=\"fa fa-mobile-alt me-2\"></i> {{ account.mainPhone }}
  483.                         </a>
  484.                     </div>
  485.                 </nav>
  486.             {% endblock %}
  487.         </header>
  488.         <main id=\"content\">            
  489.             {% block content %}{% endblock %}
  490.         </main>
  491.         {% block footer_snippets %}
  492.             {% set faq = sulu_snippet_load_by_area('faq_footer') %}
  493.             {{ include(\"snippets/faq.html.twig\", faq) }}
  494.             {% set slide = sulu_snippet_load_by_area('partenaires_footer') %}
  495.             {{ include(\"snippets/slide.html.twig\", slide) }}
  496.         {% endblock %}
  497.         <footer class=\"container-fluid py-2\">
  498.                 {% block footer %}
  499.                     <div class=\"container\">
  500.                         <div class=\"row justify-content-end align-items-center\">
  501.                             <div class=\"col-auto text-end text-white credit\">
  502.                                 &copy; {{ 'now'|date('Y') }} Adelysnet
  503.                             </div>
  504.                             <nav class=\"col-auto flex-grow-1 text-end d-flex justify-content-end\">
  505.                                 <ul class=\"nav\">
  506.                                     <li class=\"nav-item\">
  507.                                         <a class=\"nav-link\" href=\"{{ sulu_content_root_path() }}\">Accueil</a>
  508.                                     </li>                    
  509.                                     {% for item in sulu_navigation_root_tree('footer') %}
  510.                                         <li class=\"nav-item\">
  511.                                             <a  class=\"nav-link\" href=\"{{ sulu_content_path(item.url, item.webspaceKey) }}\"
  512.                                                title=\"{{ item.title }}\">{{ item.title }}</a>
  513.                                         </li>
  514.                                     {% endfor %}
  515.                                 </ul>
  516.                             </nav>                        
  517.                             
  518.                         </div>
  519.                     </div>
  520.                 {% endblock %}
  521.             </div>
  522.         </footer>
  523.         {% block javascripts %}
  524.             {{ encore_entry_script_tags('app') }}
  525.             {{ encore_entry_script_tags('site') }}
  526.         {% endblock %}
  527.     </body>
  528. </html>
  529. ""base.html.twig""/var/www/vhosts/fereol-depannage.com/preprod.fereol-depannage.com/templates/base.html.twig");
  530.     }
  531. }