var/cache/dev/twig/55/55669510c38230dfcd6ab33f309c4514.php line 185

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. /* front/base.html.twig */
  14. class __TwigTemplate_52a36eda23a03b9586690e966c0412fd 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.             'title' => [$this'block_title'],
  25.             'seo' => [$this'block_seo'],
  26.             'og' => [$this'block_og'],
  27.             'stylesheets' => [$this'block_stylesheets'],
  28.             'body' => [$this'block_body'],
  29.             'javascript' => [$this'block_javascript'],
  30.         ];
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/base.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/base.html.twig"));
  39.         // line 1
  40.         echo "<!DOCTYPE html>
  41. <html lang=\"";
  42.         // line 2
  43.         echo twig_escape_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.'2$this->source); })()), "request", [], "any"falsefalsefalse2), "locale", [], "any"falsefalsefalse2), "html"nulltrue);
  44.         echo "\">
  45.     <head>
  46.         ";
  47.         // line 4
  48.         if ((twig_get_attribute($this->env$this->sourcetwig_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), "server", [], "any"falsefalsefalse4), "get", ["SERVER_ENV"], "method"falsefalsefalse4) && (twig_get_attribute($this->env$this->sourcetwig_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), "server", [], "any"falsefalsefalse4), "get", ["SERVER_ENV"], "method"falsefalsefalse4) == "production"))) {
  49.             // line 5
  50.             echo "        <!-- Google Tag Manager -->
  51.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  52.         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  53.         j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  54.         'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  55.         })(window,document,'script','dataLayer','GTM-NNW5PMM6');</script>
  56.         <!-- End Google Tag Manager -->
  57.         ";
  58.             // line 13
  59.             if ((twig_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.'13$this->source); })()), "request", [], "any"falsefalsefalse13), "locale", [], "any"falsefalsefalse13) == "fr")) {
  60.                 // line 14
  61.                 echo "
  62.         <script>
  63.         window.axeptioSettings = {
  64.         clientId: \"6596c14a7d63fea42f929415\",
  65.         cookiesVersion: \"racket-trip/fr-fr-EU\",
  66.         };
  67.         (function(d, s) {
  68.         var t = d.getElementsByTagName(s)[0], e = d.createElement(s);
  69.         e.async = true; e.src = \"//static.axept.io/sdk.js\";
  70.         t.parentNode.insertBefore(e, t);
  71.         })(document, \"script\");
  72.         </script>
  73.         ";
  74.             } else {
  75.                 // line 30
  76.                 echo "
  77.         <script>
  78.         window.axeptioSettings = {
  79.         clientId: \"6596c14a7d63fea42f929415\",
  80.         cookiesVersion: \"racket-trip/fr-fr-EU_en-GB\",
  81.         };
  82.         
  83.         (function(d, s) {
  84.         var t = d.getElementsByTagName(s)[0], e = d.createElement(s);
  85.         e.async = true; e.src = \"//static.axept.io/sdk.js\";
  86.         t.parentNode.insertBefore(e, t);
  87.         })(document, \"script\");
  88.         </script>
  89.         ";
  90.             }
  91.             // line 45
  92.             echo "        
  93.         ";
  94.         } else {
  95.             // line 47
  96.             echo "        
  97.         <meta name=\"robots\" content=\"noindex\">
  98.             
  99.         ";
  100.         }
  101.         // line 51
  102.         echo "
  103.         <meta charset=\"UTF-8\">
  104.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no, shrink-to-fit=no\">
  105.         <link rel=\"icon\" media=\"(prefers-color-scheme:light)\" type=\"image/x-icon\" href=\"/images/favicon-light.png\" id=\"light-scheme-icon\">
  106.         
  107.         <title>";
  108.         // line 56
  109.         $this->displayBlock('title'$context$blocks);
  110.         echo " | Racket Trip</title>
  111.         ";
  112.         // line 58
  113.         $this->displayBlock('seo'$context$blocks);
  114.         // line 59
  115.         echo "        ";
  116.         $this->displayBlock('og'$context$blocks);
  117.         // line 60
  118.         echo "
  119.         ";
  120.         // line 61
  121.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  122.         echo "
  123.         ";
  124.         // line 62
  125.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("message");
  126.         echo "
  127.         
  128.         <link rel=\"stylesheet\" href=\"/fontawesome/css/all.min.css\">
  129.         ";
  130.         // line 66
  131.         $this->displayBlock('stylesheets'$context$blocks);
  132.         // line 67
  133.         echo "
  134.     </head>
  135.     ";
  136.         // line 70
  137.         $context["current_path"] = twig_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.'70$this->source); })()), "request", [], "any"falsefalsefalse70), "get", ["_route"], "method"falsefalsefalse70);
  138.         // line 71
  139.         echo "
  140.     <body class=\"";
  141.         // line 72
  142.         echo twig_escape_filter($this->env, (isset($context["current_path"]) || array_key_exists("current_path"$context) ? $context["current_path"] : (function () { throw new RuntimeError('Variable "current_path" does not exist.'72$this->source); })()), "html"nulltrue);
  143.         echo "\" id=\"body\" onload=\"document.body.style.visibility=`visible`;\">
  144.         <script>document.body.style.visibility=`hidden`;</script>
  145.         ";
  146.         // line 74
  147.         if ((twig_get_attribute($this->env$this->sourcetwig_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.'74$this->source); })()), "request", [], "any"falsefalsefalse74), "server", [], "any"falsefalsefalse74), "get", ["SERVER_ENV"], "method"falsefalsefalse74) && (twig_get_attribute($this->env$this->sourcetwig_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.'74$this->source); })()), "request", [], "any"falsefalsefalse74), "server", [], "any"falsefalsefalse74), "get", ["SERVER_ENV"], "method"falsefalsefalse74) == "production"))) {
  148.             // line 75
  149.             echo "        <!-- Google Tag Manager (noscript) -->
  150.         <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-NNW5PMM6\"
  151.         height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  152.         <!-- End Google Tag Manager (noscript) -->
  153.         ";
  154.         }
  155.         // line 80
  156.         echo "
  157.         <div id=\"preloader\">
  158.             <div class=\"loader\" id=\"loader\"></div>
  159.         </div>
  160.         
  161.         ";
  162.         // line 85
  163.         $this->loadTemplate("front/_partials/_header.html.twig""front/base.html.twig"85)->display($context);
  164.         // line 86
  165.         echo "
  166.         ";
  167.         // line 87
  168.         $this->displayBlock('body'$context$blocks);
  169.         // line 88
  170.         echo "
  171. \t    ";
  172.         // line 89
  173.         $this->loadTemplate("front/_partials/_add-favorite-modal.html.twig""front/base.html.twig"89)->display($context);
  174.         // line 90
  175.         echo "
  176.         ";
  177.         // line 91
  178.         if ((twig_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.'91$this->source); })()), "user", [], "any"falsefalsefalse91) && twig_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.'91$this->source); })()), "user", [], "any"falsefalsefalse91), "isPro", [], "any"falsefalsefalse91))) {
  179.             // line 92
  180.             echo "
  181.             ";
  182.             // line 134
  183.             echo "        ";
  184.         }
  185.         // line 135
  186.         echo "
  187.         
  188.         <!-- Welcome modal -->
  189.         <div class=\"modal fade\" id=\"welcome-registration\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"RegistrationTitle\" aria-hidden=\"true\">
  190.             <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  191.                 <div class=\"modal-content\">
  192.                     <div class=\"modal-body\">
  193.                         <div class=\"modal-title\">
  194.                             <h5 class=\"modal-title\">";
  195.         // line 143
  196.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("modal_confirmation_registration.thanks"), "html"nulltrue);
  197.         echo "</h5>
  198.                             <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  199.                                 <i class=\"fal fa-times\"></i>
  200.                             </button>
  201.                         </div>
  202.                         <div class=\"row\">
  203.                             <div class=\"col-lg-12\">
  204.                                 <p class=\"text-18 text-center\">";
  205.         // line 150
  206.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("modal_confirmation_registration.message"), "html"nulltrue);
  207.         echo "</p>
  208.                             </div>
  209.                         </div>
  210.                         <div class=\"row mt-3\">
  211.                             <div class=\"col-md-12\">
  212.                                 <button type=\"button\" class=\"btn main-btn m-auto\" data-dismiss=\"modal\" aria-label=\"Close\">";
  213.         // line 155
  214.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("membership.ok"), "html"nulltrue);
  215.         echo "</button>
  216.                             </div>
  217.                         </div>
  218.                     </div>
  219.                 </div>
  220.             </div>
  221.         </div>
  222.         ";
  223.         // line 163
  224.         $this->loadTemplate("front/_partials/_footer.html.twig""front/base.html.twig"163)->display($context);
  225.         // line 164
  226.         echo "
  227.         ";
  228.         // line 165
  229.         $this->loadTemplate("front/_partials/_responsive-navbar.html.twig""front/base.html.twig"165)->display($context);
  230.         // line 166
  231.         echo "
  232.         ";
  233.         // line 167
  234.         if ((( !array_key_exists("chat"$context) && twig_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.'167$this->source); })()), "user", [], "any"falsefalsefalse167)) && (twig_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.'167$this->source); })()), "request", [], "any"falsefalsefalse167), "get", ["_route"], "method"falsefalsefalse167) != "courses"))) {
  235.             // line 168
  236.             echo "
  237.         ";
  238.             // line 169
  239.             $this->loadTemplate("front/message/floating-message.html.twig""front/base.html.twig"169)->display($context);
  240.             // line 170
  241.             echo "
  242.         ";
  243.         }
  244.         // line 171
  245.         echo "\t
  246.         
  247.         ";
  248.         // line 173
  249.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  250.         echo "
  251.         ";
  252.         // line 175
  253.         $context['_parent'] = $context;
  254.         $context['_seq'] = twig_ensure_traversable(twig_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.'175$this->source); })()), "flashes", [], "any"falsefalsefalse175));
  255.         foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
  256.             // line 176
  257.             echo "
  258.             ";
  259.             // line 177
  260.             if (($context["label"] == "welcome-registration")) {
  261.                 // line 178
  262.                 echo "
  263.             ";
  264.                 // line 179
  265.                 $context['_parent'] = $context;
  266.                 $context['_seq'] = twig_ensure_traversable($context["messages"]);
  267.                 foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  268.                     // line 180
  269.                     echo "
  270. \t\t\t<script>
  271. \t\t\t\t\$(document).ready(function () {
  272. \t\t\t\t\tsetTimeout(function () {
  273. \t\t\t\t\t\t\$(\"#welcome-registration\").modal({
  274. \t\t\t\t\t\t\tbackdrop: 'static',
  275. \t\t\t\t\t\t\tkeyboard: false
  276. \t\t\t\t\t\t});
  277. \t\t\t\t\t}, 200);
  278. \t\t\t\t});
  279. \t\t\t</script>
  280.             ";
  281.                 }
  282.                 $_parent $context['_parent'];
  283.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  284.                 $context array_intersect_key($context$_parent) + $_parent;
  285.                 // line 195
  286.                 echo "
  287.             ";
  288.             } elseif (((            // line 196
  289. $context["label"] != "payment-method") && ($context["label"] != "welcome"))) {
  290.                 // line 197
  291.                 echo "
  292.             ";
  293.                 // line 198
  294.                 $context['_parent'] = $context;
  295.                 $context['_seq'] = twig_ensure_traversable($context["messages"]);
  296.                 foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  297.                     // line 199
  298.                     echo "
  299.             <!-- Alert modal -->
  300.             <div class=\"modal fade\" id=\"alert-modal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"alertTitle\" aria-hidden=\"true\">
  301.                 <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  302.                     <div class=\"modal-content\">
  303.                         <div class=\"modal-body\">
  304.                             <p class=\"modal-text-xl text-center font-500 mt-2 mb-0\">
  305.                                 ";
  306.                     // line 206
  307.                     echo twig_escape_filter($this->env$context["message"], "html"nulltrue);
  308.                     echo "
  309.                             </p>
  310.                             <div class=\"modal-actions\">
  311.                                 <button type=\"button\" class=\"btn main-btn btn-sm\" data-dismiss=\"modal\" aria-label=\"Close\">OK</button>
  312.                             </div>
  313.                         </div>
  314.                     </div>
  315.                 </div>
  316.             </div>
  317.             <script>
  318.                 \$(\"#alert-modal\").modal({
  319.                     backdrop: 'static',
  320.                     keyboard: false
  321.                 });
  322.             </script>
  323.             ";
  324.                 }
  325.                 $_parent $context['_parent'];
  326.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  327.                 $context array_intersect_key($context$_parent) + $_parent;
  328.                 // line 226
  329.                 echo "
  330.             ";
  331.             }
  332.             // line 228
  333.             echo "
  334.         ";
  335.         }
  336.         $_parent $context['_parent'];
  337.         unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
  338.         $context array_intersect_key($context$_parent) + $_parent;
  339.         // line 230
  340.         echo "
  341.         ";
  342.         // line 231
  343.         $this->displayBlock('javascript'$context$blocks);
  344.         // line 232
  345.         echo "        
  346.     </body>
  347. </html>
  348. ";
  349.         
  350.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  351.         
  352.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  353.     }
  354.     // line 56
  355.     public function block_title($context, array $blocks = [])
  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""title"));
  360.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  361.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  362.         
  363.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  364.         
  365.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  366.     }
  367.     // line 58
  368.     public function block_seo($context, array $blocks = [])
  369.     {
  370.         $macros $this->macros;
  371.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  372.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo"));
  373.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  374.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo"));
  375.         
  376.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  377.         
  378.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  379.     }
  380.     // line 59
  381.     public function block_og($context, array $blocks = [])
  382.     {
  383.         $macros $this->macros;
  384.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  385.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""og"));
  386.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  387.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""og"));
  388.         
  389.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  390.         
  391.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  392.     }
  393.     // line 66
  394.     public function block_stylesheets($context, array $blocks = [])
  395.     {
  396.         $macros $this->macros;
  397.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  398.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  399.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  400.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  401.         
  402.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  403.         
  404.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  405.     }
  406.     // line 87
  407.     public function block_body($context, array $blocks = [])
  408.     {
  409.         $macros $this->macros;
  410.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  411.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  412.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  413.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  414.         
  415.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  416.         
  417.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  418.     }
  419.     // line 231
  420.     public function block_javascript($context, array $blocks = [])
  421.     {
  422.         $macros $this->macros;
  423.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  424.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  425.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  426.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  427.         
  428.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  429.         
  430.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  431.     }
  432.     /**
  433.      * @codeCoverageIgnore
  434.      */
  435.     public function getTemplateName()
  436.     {
  437.         return "front/base.html.twig";
  438.     }
  439.     /**
  440.      * @codeCoverageIgnore
  441.      */
  442.     public function isTraitable()
  443.     {
  444.         return false;
  445.     }
  446.     /**
  447.      * @codeCoverageIgnore
  448.      */
  449.     public function getDebugInfo()
  450.     {
  451.         return array (  474 => 231,  456 => 87,  438 => 66,  420 => 59,  402 => 58,  384 => 56,  371 => 232,  369 => 231,  366 => 230,  359 => 228,  355 => 226,  329 => 206,  320 => 199,  316 => 198,  313 => 197,  311 => 196,  308 => 195,  288 => 180,  284 => 179,  281 => 178,  279 => 177,  276 => 176,  272 => 175,  267 => 173,  263 => 171,  259 => 170,  257 => 169,  254 => 168,  252 => 167,  249 => 166,  247 => 165,  244 => 164,  242 => 163,  231 => 155,  223 => 150,  213 => 143,  203 => 135,  200 => 134,  197 => 92,  195 => 91,  192 => 90,  190 => 89,  187 => 88,  185 => 87,  182 => 86,  180 => 85,  173 => 80,  166 => 75,  164 => 74,  159 => 72,  156 => 71,  154 => 70,  149 => 67,  147 => 66,  140 => 62,  136 => 61,  133 => 60,  130 => 59,  128 => 58,  123 => 56,  116 => 51,  110 => 47,  106 => 45,  89 => 30,  71 => 14,  69 => 13,  59 => 5,  57 => 4,  52 => 2,  49 => 1,);
  452.     }
  453.     public function getSourceContext()
  454.     {
  455.         return new Source("<!DOCTYPE html>
  456. <html lang=\"{{ app.request.locale }}\">
  457.     <head>
  458.         {% if app.request.server.get('SERVER_ENV') and app.request.server.get('SERVER_ENV') == 'production' %}
  459.         <!-- Google Tag Manager -->
  460.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  461.         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  462.         j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  463.         'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  464.         })(window,document,'script','dataLayer','GTM-NNW5PMM6');</script>
  465.         <!-- End Google Tag Manager -->
  466.         {% if app.request.locale == 'fr' %}
  467.         <script>
  468.         window.axeptioSettings = {
  469.         clientId: \"6596c14a7d63fea42f929415\",
  470.         cookiesVersion: \"racket-trip/fr-fr-EU\",
  471.         };
  472.         (function(d, s) {
  473.         var t = d.getElementsByTagName(s)[0], e = d.createElement(s);
  474.         e.async = true; e.src = \"//static.axept.io/sdk.js\";
  475.         t.parentNode.insertBefore(e, t);
  476.         })(document, \"script\");
  477.         </script>
  478.         {% else %}
  479.         <script>
  480.         window.axeptioSettings = {
  481.         clientId: \"6596c14a7d63fea42f929415\",
  482.         cookiesVersion: \"racket-trip/fr-fr-EU_en-GB\",
  483.         };
  484.         
  485.         (function(d, s) {
  486.         var t = d.getElementsByTagName(s)[0], e = d.createElement(s);
  487.         e.async = true; e.src = \"//static.axept.io/sdk.js\";
  488.         t.parentNode.insertBefore(e, t);
  489.         })(document, \"script\");
  490.         </script>
  491.         {% endif %}
  492.         
  493.         {% else %}
  494.         
  495.         <meta name=\"robots\" content=\"noindex\">
  496.             
  497.         {% endif %}
  498.         <meta charset=\"UTF-8\">
  499.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no, shrink-to-fit=no\">
  500.         <link rel=\"icon\" media=\"(prefers-color-scheme:light)\" type=\"image/x-icon\" href=\"/images/favicon-light.png\" id=\"light-scheme-icon\">
  501.         
  502.         <title>{% block title %}{% endblock %} | Racket Trip</title>
  503.         {% block seo %}{% endblock %}
  504.         {% block og %}{% endblock %}
  505.         {{ encore_entry_link_tags('app') }}
  506.         {{ encore_entry_link_tags('message') }}
  507.         
  508.         <link rel=\"stylesheet\" href=\"/fontawesome/css/all.min.css\">
  509.         {% block stylesheets %}{% endblock %}
  510.     </head>
  511.     {% set current_path = app.request.get('_route') %}
  512.     <body class=\"{{ current_path }}\" id=\"body\" onload=\"document.body.style.visibility=`visible`;\">
  513.         <script>document.body.style.visibility=`hidden`;</script>
  514.         {% if app.request.server.get('SERVER_ENV') and app.request.server.get('SERVER_ENV') == 'production' %}
  515.         <!-- Google Tag Manager (noscript) -->
  516.         <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-NNW5PMM6\"
  517.         height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  518.         <!-- End Google Tag Manager (noscript) -->
  519.         {% endif %}
  520.         <div id=\"preloader\">
  521.             <div class=\"loader\" id=\"loader\"></div>
  522.         </div>
  523.         
  524.         {% include \"front/_partials/_header.html.twig\" %}
  525.         {% block body %}{% endblock %}
  526. \t    {% include \"front/_partials/_add-favorite-modal.html.twig\" %}
  527.         {% if app.user and app.user.isPro %}
  528.             {#
  529.             <!-- Modal Partners Empty -->
  530.             <div class=\"modal fade\" id=\"empty-partners\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"addAlert\" aria-hidden=\"true\">
  531.                 <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  532.                     <div class=\"modal-content\">
  533.                         <div class=\"modal-body\">
  534.                             <div class=\"modal-title-wrap\">
  535.                                 <h5 class=\"modal-title\">{{ \"courses.create_internship\" | trans }}</h5>
  536.                                 <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  537.                                     <i class=\"fal fa-times\"></i>
  538.                                 </button>
  539.                             </div>
  540.                             <div class=\"row\">
  541.                                 <div class=\"col-lg-12\">
  542.                                     {% if app.user is instanceof('App\\\\Entity\\\\Coach') and app.user.partners | length == 0 %}
  543.                                         <p class=\"text-center\">{{ \"courses.add_club\" | trans }}</p>
  544.                                     {% elseif app.user is instanceof('App\\\\Entity\\\\Club') and app.user.partners | length == 0 %}
  545.                                         <p class=\"text-center\">{{ \"courses.add_coach\" | trans }}</p>
  546.                                     {% elseif app.user is instanceof('App\\\\Entity\\\\Operator') and (app.user.clubPartners | length == 0 or app.user.coachPartners | length == 0) %}
  547.                                         <p class=\"text-center\">{{ \"courses.add_club_coach\" | trans }}</p>
  548.                                     {% endif %}
  549.                                     {% if app.user.proInfo.pageVisible == false %}
  550.                                         <p class=\"text-center\">{{ \"courses.publish_page\" | trans }}</p>
  551.                                     {% endif %}
  552.                                 </div>
  553.                             </div>
  554.                         </div>
  555.                         <div class=\"modal-footer justify-content-center\">
  556.                             {% if (app.user is instanceof('App\\\\Entity\\\\Coach') or app.user is instanceof('App\\\\Entity\\\\Club')) and app.user.partners | length == 0 %}
  557.                                 <a href=\"{{ path('pro_partners') }}\" class=\"btn main-btn m-2\">{{ \"courses.add_partner\" | trans }}</a>
  558.                             {% elseif app.user is instanceof('App\\\\Entity\\\\Operator') and (app.user.clubPartners | length == 0 or app.user.coachPartners | length == 0) %}
  559.                                 <a href=\"{{ path('pro_partners') }}\" class=\"btn main-btn m-2\">{{ \"courses.add_partners\" | trans }}</a>
  560.                             {% endif %}
  561.                             {% if app.user.proInfo.pageVisible == false %}
  562.                                 <a href=\"{{ path('pro_page') }}\" class=\"btn main-btn m-2\">{{ \"header.page_pro\" | trans }}</a>
  563.                             {% endif %}
  564.                         </div>
  565.                     </div>
  566.                 </div>
  567.             </div>
  568.             #}
  569.         {% endif %}
  570.         
  571.         <!-- Welcome modal -->
  572.         <div class=\"modal fade\" id=\"welcome-registration\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"RegistrationTitle\" aria-hidden=\"true\">
  573.             <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  574.                 <div class=\"modal-content\">
  575.                     <div class=\"modal-body\">
  576.                         <div class=\"modal-title\">
  577.                             <h5 class=\"modal-title\">{{ \"modal_confirmation_registration.thanks\" | trans }}</h5>
  578.                             <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  579.                                 <i class=\"fal fa-times\"></i>
  580.                             </button>
  581.                         </div>
  582.                         <div class=\"row\">
  583.                             <div class=\"col-lg-12\">
  584.                                 <p class=\"text-18 text-center\">{{ \"modal_confirmation_registration.message\" | trans }}</p>
  585.                             </div>
  586.                         </div>
  587.                         <div class=\"row mt-3\">
  588.                             <div class=\"col-md-12\">
  589.                                 <button type=\"button\" class=\"btn main-btn m-auto\" data-dismiss=\"modal\" aria-label=\"Close\">{{ \"membership.ok\" | trans }}</button>
  590.                             </div>
  591.                         </div>
  592.                     </div>
  593.                 </div>
  594.             </div>
  595.         </div>
  596.         {% include \"front/_partials/_footer.html.twig\" %}
  597.         {% include \"front/_partials/_responsive-navbar.html.twig\" %}
  598.         {% if not chat is defined and app.user and app.request.get('_route') != 'courses' %}
  599.         {% include \"front/message/floating-message.html.twig\" %}
  600.         {% endif %}\t
  601.         
  602.         {{ encore_entry_script_tags('app') }}
  603.         {% for label, messages in app.flashes %}
  604.             {% if label == 'welcome-registration' %}
  605.             {% for message in messages %}
  606. \t\t\t<script>
  607. \t\t\t\t\$(document).ready(function () {
  608. \t\t\t\t\tsetTimeout(function () {
  609. \t\t\t\t\t\t\$(\"#welcome-registration\").modal({
  610. \t\t\t\t\t\t\tbackdrop: 'static',
  611. \t\t\t\t\t\t\tkeyboard: false
  612. \t\t\t\t\t\t});
  613. \t\t\t\t\t}, 200);
  614. \t\t\t\t});
  615. \t\t\t</script>
  616.             {% endfor %}
  617.             {% elseif label != 'payment-method' and label != 'welcome' %}
  618.             {% for message in messages %}
  619.             <!-- Alert modal -->
  620.             <div class=\"modal fade\" id=\"alert-modal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"alertTitle\" aria-hidden=\"true\">
  621.                 <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  622.                     <div class=\"modal-content\">
  623.                         <div class=\"modal-body\">
  624.                             <p class=\"modal-text-xl text-center font-500 mt-2 mb-0\">
  625.                                 {{ message }}
  626.                             </p>
  627.                             <div class=\"modal-actions\">
  628.                                 <button type=\"button\" class=\"btn main-btn btn-sm\" data-dismiss=\"modal\" aria-label=\"Close\">OK</button>
  629.                             </div>
  630.                         </div>
  631.                     </div>
  632.                 </div>
  633.             </div>
  634.             <script>
  635.                 \$(\"#alert-modal\").modal({
  636.                     backdrop: 'static',
  637.                     keyboard: false
  638.                 });
  639.             </script>
  640.             {% endfor %}
  641.             {% endif %}
  642.         {% endfor %}
  643.         {% block javascript %}{% endblock %}
  644.         
  645.     </body>
  646. </html>
  647. ""front/base.html.twig""/var/www/preprod/racket-trip/templates/front/base.html.twig");
  648.     }
  649. }