var/cache/dev/twig/61/6175e95db412ae2c196fe486f40ac34b.php line 148

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* @StartPlatzStyleBundle/Bootstrap4/base.homepage.event-lp.html.twig */
  16. class __TwigTemplate_1d43110f7f7ddeced37aaf2b1c0d7c29 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->parent false;
  28.         $this->blocks = [
  29.             'metaData' => [$this'block_metaData'],
  30.             'title' => [$this'block_title'],
  31.             'additionalHead' => [$this'block_additionalHead'],
  32.             'content' => [$this'block_content'],
  33.             'footer' => [$this'block_footer'],
  34.             'infiniteLoop' => [$this'block_infiniteLoop'],
  35.             'javascriptInfiniteLoop' => [$this'block_javascriptInfiniteLoop'],
  36.             'ajax_helpers' => [$this'block_ajax_helpers'],
  37.             'javascripts' => [$this'block_javascripts'],
  38.         ];
  39.     }
  40.     protected function doDisplay(array $context, array $blocks = []): iterable
  41.     {
  42.         $macros $this->macros;
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@StartPlatzStyleBundle/Bootstrap4/base.homepage.event-lp.html.twig"));
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@StartPlatzStyleBundle/Bootstrap4/base.homepage.event-lp.html.twig"));
  47.         // line 1
  48.         yield "<!DOCTYPE html>
  49. <html lang=\"en\">
  50. ";
  51.         // line 3
  52.         if ((($tmp =  !array_key_exists("embed"$context)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  53.             // line 4
  54.             yield "    ";
  55.             $context["embed"] = false;
  56.         }
  57.         // line 6
  58.         yield "<head>
  59.     <!-- homepage.with-sections -->
  60.     <!-- Required meta tags -->
  61.     <meta charset=\"utf-8\">
  62.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  63.     ";
  64.         // line 12
  65.         yield from $this->unwrap()->yieldBlock('metaData'$context$blocks);
  66.         // line 24
  67.         yield "
  68.     <link rel=\"profile\" href=\"http://gmpg.org/xfn/11\">
  69.     <link rel=\"pingback\" href=\"https://www.startplatz.de/xmlrpc.php\">
  70.     
  71.     ";
  72.         // line 29
  73.         yield from $this->load("@StartPlatzStyleBundle/_icon.html.twig"29)->unwrap()->yield($context);
  74.         // line 30
  75.         yield "
  76.     <title>";
  77.         // line 31
  78.         yield from $this->unwrap()->yieldBlock('title'$context$blocks);
  79.         yield "</title>
  80.     <!-- Bootstrap CSS -->
  81.     <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css\" integrity=\"sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N\" crossorigin=\"anonymous\">
  82.     <script src=\"https://kit.fontawesome.com/30335e3531.js\" crossorigin=\"anonymous\"></script>
  83.     <link href=\"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;700&display=swap\" rel=\"stylesheet\">
  84.     ";
  85.         // line 38
  86.         if ((($tmp =  !((array_key_exists("embed"$context)) ? (Twig\Extension\CoreExtension::default((isset($context["embed"]) || array_key_exists("embed"$context) ? $context["embed"] : (function () { throw new RuntimeError('Variable "embed" does not exist.'38$this->source); })()), false)) : (false))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  87.             // line 39
  88.             yield "        ";
  89.             yield from $this->load("@StartPlatzStyleBundle/_tracking.html.twig"39)->unwrap()->yield($context);
  90.             // line 40
  91.             yield "    ";
  92.         }
  93.         // line 41
  94.         yield "
  95.     ";
  96.         // line 42
  97.         yield from $this->unwrap()->yieldBlock('additionalHead'$context$blocks);
  98.         // line 44
  99.         yield "
  100. </head>
  101. <body>
  102. <!-- Google Tag Manager (noscript) -->
  103. <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-5WTVWDT\"
  104.                   height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  105. <!-- End Google Tag Manager (noscript) -->
  106. ";
  107.         // line 53
  108.         $context["master"] = false;
  109.         // line 54
  110.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"truetruefalse54) &&  !Twig\Extension\CoreExtension::testEmpty(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.'54$this->source); })()), "user", [], "any"falsefalsefalse54)))) {
  111.             // line 55
  112.             yield "    ";
  113.             if ((($tmp CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'55$this->source); })()), "user", [], "any"falsefalsefalse55), "getMaster", [], "any"falsefalsefalse55)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  114.                 $context["master"] = true;
  115.             }
  116.         }
  117.         // line 57
  118.         $context["admin"] = false;
  119.         // line 58
  120.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"truetruefalse58) &&  !Twig\Extension\CoreExtension::testEmpty(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.'58$this->source); })()), "user", [], "any"falsefalsefalse58)))) {
  121.             // line 59
  122.             yield "    ";
  123.             if ((($tmp CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'59$this->source); })()), "user", [], "any"falsefalsefalse59), "getAdmin", [], "any"falsefalsefalse59)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  124.                 $context["admin"] = true;
  125.             }
  126.         }
  127.         // line 61
  128.         yield "
  129. <!-- start content -->
  130. ";
  131.         // line 64
  132.         yield from $this->unwrap()->yieldBlock('content'$context$blocks);
  133.         // line 65
  134.         yield "<!-- end content -->
  135. <!-- start footer -->
  136. ";
  137.         // line 68
  138.         yield from $this->unwrap()->yieldBlock('footer'$context$blocks);
  139.         // line 69
  140.         yield "<!-- end footer -->
  141. <div class=\"modal fade\" id=\"mySmallModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
  142.     <div class=\"modal-dialog modal-sm\">
  143.     </div>
  144. </div>
  145. <div class=\"modal fade\" id=\"myLargeModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
  146.     <div class=\"modal-dialog modal-lg\">
  147.     </div>
  148. </div>
  149. <div class=\"modal fade\" id=\"myModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
  150.     <div class=\"modal-dialog\">
  151.     </div>
  152. </div>
  153. ";
  154.         // line 86
  155.         yield from $this->unwrap()->yieldBlock('infiniteLoop'$context$blocks);
  156.         // line 99
  157.         yield "
  158. ";
  159.         // line 100
  160.         if ((($tmp =  !array_key_exists("maxPages"$context)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  161.             // line 101
  162.             yield "    ";
  163.             $context["maxPages"] = 100;
  164.         }
  165.         // line 103
  166.         yield "
  167. ";
  168.         // line 104
  169.         if ((($tmp =  !((array_key_exists("embed"$context)) ? (Twig\Extension\CoreExtension::default((isset($context["embed"]) || array_key_exists("embed"$context) ? $context["embed"] : (function () { throw new RuntimeError('Variable "embed" does not exist.'104$this->source); })()), false)) : (false))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  170.             // line 105
  171.             yield "    ";
  172.             yield from $this->load("@StartPlatzStyleBundle/_cookie.consent.html.twig"105)->unwrap()->yield($context);
  173.         }
  174.         // line 107
  175.         yield "
  176. <!-- Bootstrap core JavaScript
  177. ================================================== -->
  178. <!-- Placed at the end of the document so the pages load faster -->
  179. <!-- Vollständige jQuery-Version mit Ajax-Unterstützung -->
  180. <script src=\"https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js\" integrity=\"sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=\" crossorigin=\"anonymous\"></script>
  181. <script src=\"https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js\" integrity=\"sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct\" crossorigin=\"anonymous\"></script>
  182. <!-- javascript for infinite scroll -->
  183. <script src=\"";
  184.         // line 116
  185.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/startplatzstyle/js/jquery-ias.min.js"), "html"nulltrue);
  186.         yield "\"></script>
  187. <script type=\"text/javascript\">
  188.     // Fill modal with content from link href
  189.     \$(\"#mySmallModal\").on(\"show.bs.modal\", function(e) {
  190.         var link = \$(e.relatedTarget);
  191.         \$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
  192.     });
  193.     // Fill modal with content from link href
  194.     \$(\"#myLargeModal\").on(\"show.bs.modal\", function(e) {
  195.         var link = \$(e.relatedTarget);
  196.         \$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
  197.     });
  198.     // Fill modal with content from link href
  199.     \$(\"#myModal\").on(\"show.bs.modal\", function(e) {
  200.         var link = \$(e.relatedTarget);
  201.         \$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
  202.     });
  203.     \$(function () {
  204.         \$('[data-toggle=\"tooltip\"]').tooltip()
  205.     });
  206. </script>
  207. ";
  208.         // line 141
  209.         if ((($tmp =  !array_key_exists("version"$context)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  210.             // line 142
  211.             yield "    ";
  212.             $context["version"] = "default";
  213.         }
  214.         // line 144
  215.         yield "
  216. ";
  217.         // line 145
  218.         yield from $this->unwrap()->yieldBlock('javascriptInfiniteLoop'$context$blocks);
  219.         // line 171
  220.         yield "
  221. ";
  222.         // line 172
  223.         yield from $this->unwrap()->yieldBlock('ajax_helpers'$context$blocks);
  224.         // line 176
  225.         yield "
  226. ";
  227.         // line 177
  228.         yield from $this->unwrap()->yieldBlock('javascripts'$context$blocks);
  229.         // line 179
  230.         yield "</body>
  231. </html>
  232. ";
  233.         
  234.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  235.         
  236.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  237.         yield from [];
  238.     }
  239.     // line 12
  240.     /**
  241.      * @return iterable<null|scalar|\Stringable>
  242.      */
  243.     public function block_metaData(array $context, array $blocks = []): iterable
  244.     {
  245.         $macros $this->macros;
  246.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  247.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaData"));
  248.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  249.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaData"));
  250.         // line 13
  251.         yield "        <meta name=\"description\" content=\"STARTPLATZ Homepage - Dein Platz zum Gründen und Wachsen\">
  252.         <meta name=\"author\" content=\"\">
  253.         ";
  254.         // line 15
  255.         if ((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.'15$this->source); })()), "environment", [], "any"falsefalsefalse15) == "prod")) {
  256.             // line 16
  257.             yield "            <meta name=\"robots\" content=\"index,follow\">
  258.             ";
  259.             // line 17
  260.             if (array_key_exists("canonicalUrl"$context)) {
  261.                 // line 18
  262.                 yield "                <link rel=\"canonical\" href=\"";
  263.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["canonicalUrl"]) || array_key_exists("canonicalUrl"$context) ? $context["canonicalUrl"] : (function () { throw new RuntimeError('Variable "canonicalUrl" does not exist.'18$this->source); })()), "html"nulltrue);
  264.                 yield "\" />
  265.             ";
  266.             }
  267.             // line 20
  268.             yield "        ";
  269.         } else {
  270.             // line 21
  271.             yield "            <meta name=\"robots\" content=\"noindex,nofollow\">
  272.         ";
  273.         }
  274.         // line 23
  275.         yield "    ";
  276.         
  277.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  278.         
  279.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  280.         yield from [];
  281.     }
  282.     // line 31
  283.     /**
  284.      * @return iterable<null|scalar|\Stringable>
  285.      */
  286.     public function block_title(array $context, array $blocks = []): iterable
  287.     {
  288.         $macros $this->macros;
  289.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  290.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  291.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  292.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  293.         yield "STARTPLATZ";
  294.         
  295.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  296.         
  297.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  298.         yield from [];
  299.     }
  300.     // line 42
  301.     /**
  302.      * @return iterable<null|scalar|\Stringable>
  303.      */
  304.     public function block_additionalHead(array $context, array $blocks = []): iterable
  305.     {
  306.         $macros $this->macros;
  307.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  308.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""additionalHead"));
  309.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  310.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""additionalHead"));
  311.         // line 43
  312.         yield "    ";
  313.         
  314.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  315.         
  316.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  317.         yield from [];
  318.     }
  319.     // line 64
  320.     /**
  321.      * @return iterable<null|scalar|\Stringable>
  322.      */
  323.     public function block_content(array $context, array $blocks = []): iterable
  324.     {
  325.         $macros $this->macros;
  326.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  327.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  328.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  329.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  330.         
  331.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  332.         
  333.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  334.         yield from [];
  335.     }
  336.     // line 68
  337.     /**
  338.      * @return iterable<null|scalar|\Stringable>
  339.      */
  340.     public function block_footer(array $context, array $blocks = []): iterable
  341.     {
  342.         $macros $this->macros;
  343.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  344.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  345.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  346.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  347.         
  348.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  349.         
  350.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  351.         yield from [];
  352.     }
  353.     // line 86
  354.     /**
  355.      * @return iterable<null|scalar|\Stringable>
  356.      */
  357.     public function block_infiniteLoop(array $context, array $blocks = []): iterable
  358.     {
  359.         $macros $this->macros;
  360.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  361.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""infiniteLoop"));
  362.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  363.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""infiniteLoop"));
  364.         // line 87
  365.         yield "    ";
  366.         if ((array_key_exists("maxPages"$context) && ((isset($context["maxPages"]) || array_key_exists("maxPages"$context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.'87$this->source); })()) > 1))) {
  367.             // line 88
  368.             yield "        <div id=\"pagination\">
  369.             <a href=\"";
  370.             // line 89
  371.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((isset($context["currentPath"]) || array_key_exists("currentPath"$context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.'89$this->source); })()), ["page" => (isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'89$this->source); })())]), "html"nulltrue);
  372.             yield "\">";
  373.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'89$this->source); })()), "html"nulltrue);
  374.             yield "</a>
  375.             ";
  376.             // line 91
  377.             if (((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'91$this->source); })()) != (isset($context["maxPages"]) || array_key_exists("maxPages"$context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.'91$this->source); })()))) {
  378.                 // line 92
  379.                 yield "                <a href=\"";
  380.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((isset($context["currentPath"]) || array_key_exists("currentPath"$context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.'92$this->source); })()), (["page" => (((((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'92$this->source); })()) + 1) <= (isset($context["maxPages"]) || array_key_exists("maxPages"$context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.'92$this->source); })()))) ? (((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'92$this->source); })()) + 1)) : ((isset($context["thisPage"]) || array_key_exists("thisPage"$context) ? $context["thisPage"] : (function () { throw new RuntimeError('Variable "thisPage" does not exist.'92$this->source); })())))] + (isset($context["templateVars"]) || array_key_exists("templateVars"$context) ? $context["templateVars"] : (function () { throw new RuntimeError('Variable "templateVars" does not exist.'92$this->source); })()))), "html"nulltrue);
  381.                 yield "\" class=\"next\">»</a>
  382.             ";
  383.             }
  384.             // line 94
  385.             yield "        </div>
  386.     ";
  387.         } else {
  388.             // line 96
  389.             yield "        ";
  390.             $context["maxPages"] = 100;
  391.             // line 97
  392.             yield "    ";
  393.         }
  394.         
  395.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  396.         
  397.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  398.         yield from [];
  399.     }
  400.     // line 145
  401.     /**
  402.      * @return iterable<null|scalar|\Stringable>
  403.      */
  404.     public function block_javascriptInfiniteLoop(array $context, array $blocks = []): iterable
  405.     {
  406.         $macros $this->macros;
  407.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  408.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascriptInfiniteLoop"));
  409.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  410.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascriptInfiniteLoop"));
  411.         // line 146
  412.         yield "<script type=\"text/javascript\">
  413.     var ias = \$.ias({
  414.         container:  \"#posts\",
  415.         item:       \".item\",
  416.         pagination: \"#pagination\",
  417.         negativeMargin: \"500\",
  418.         next:       \".next\"
  419.     });
  420.     ias.extension(new IASSpinnerExtension());            // shows a spinner (a.k.a. loader)
  421.     ias.extension(new IASTriggerExtension({offset: ";
  422.         // line 156
  423.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["maxPages"]) || array_key_exists("maxPages"$context) ? $context["maxPages"] : (function () { throw new RuntimeError('Variable "maxPages" does not exist.'156$this->source); })()), "html"nulltrue);
  424.         yield " })); // shows a trigger after page 3
  425.     ias.extension(new IASNoneLeftExtension({
  426.         text: 'There are no more pages left to load.'      // override text when no pages left
  427.     }));
  428.     ias.on('load', function(event) {
  429.         event.url = event.url + \"&ajax=1&version=";
  430.         // line 162
  431.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["version"]) || array_key_exists("version"$context) ? $context["version"] : (function () { throw new RuntimeError('Variable "version" does not exist.'162$this->source); })()), "html"nulltrue);
  432.         yield "\";
  433.         console.log('Loaded ' + event.url  + ' url from server');
  434.         console.log('url  tracking: ' + event.url );
  435.     });
  436. </script>
  437. ";
  438.         
  439.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  440.         
  441.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  442.         yield from [];
  443.     }
  444.     // line 172
  445.     /**
  446.      * @return iterable<null|scalar|\Stringable>
  447.      */
  448.     public function block_ajax_helpers(array $context, array $blocks = []): iterable
  449.     {
  450.         $macros $this->macros;
  451.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  452.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ajax_helpers"));
  453.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  454.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ajax_helpers"));
  455.         // line 173
  456.         yield "    <!-- Include Ajax Helpers By Default - Override if not needed -->
  457.     ";
  458.         // line 174
  459.         yield from $this->load("@StartPlatzStyleBundle/Bootstrap4/_javascript.ajax-helpers.html.twig"174)->unwrap()->yield($context);
  460.         
  461.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  462.         
  463.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  464.         yield from [];
  465.     }
  466.     // line 177
  467.     /**
  468.      * @return iterable<null|scalar|\Stringable>
  469.      */
  470.     public function block_javascripts(array $context, array $blocks = []): iterable
  471.     {
  472.         $macros $this->macros;
  473.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  474.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  475.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  476.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  477.         
  478.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  479.         
  480.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  481.         yield from [];
  482.     }
  483.     /**
  484.      * @codeCoverageIgnore
  485.      */
  486.     public function getTemplateName(): string
  487.     {
  488.         return "@StartPlatzStyleBundle/Bootstrap4/base.homepage.event-lp.html.twig";
  489.     }
  490.     /**
  491.      * @codeCoverageIgnore
  492.      */
  493.     public function isTraitable(): bool
  494.     {
  495.         return false;
  496.     }
  497.     /**
  498.      * @codeCoverageIgnore
  499.      */
  500.     public function getDebugInfo(): array
  501.     {
  502.         return array (  542 => 177,  531 => 174,  528 => 173,  515 => 172,  495 => 162,  486 => 156,  474 => 146,  461 => 145,  449 => 97,  446 => 96,  442 => 94,  436 => 92,  434 => 91,  427 => 89,  424 => 88,  421 => 87,  408 => 86,  386 => 68,  364 => 64,  353 => 43,  340 => 42,  317 => 31,  306 => 23,  302 => 21,  299 => 20,  293 => 18,  291 => 17,  288 => 16,  286 => 15,  282 => 13,  269 => 12,  256 => 179,  254 => 177,  251 => 176,  249 => 172,  246 => 171,  244 => 145,  241 => 144,  237 => 142,  235 => 141,  207 => 116,  196 => 107,  192 => 105,  190 => 104,  187 => 103,  183 => 101,  181 => 100,  178 => 99,  176 => 86,  157 => 69,  155 => 68,  150 => 65,  148 => 64,  143 => 61,  137 => 59,  135 => 58,  133 => 57,  127 => 55,  125 => 54,  123 => 53,  112 => 44,  110 => 42,  107 => 41,  104 => 40,  101 => 39,  99 => 38,  89 => 31,  86 => 30,  84 => 29,  77 => 24,  75 => 12,  67 => 6,  63 => 4,  61 => 3,  57 => 1,);
  503.     }
  504.     public function getSourceContext(): Source
  505.     {
  506.         return new Source("<!DOCTYPE html>
  507. <html lang=\"en\">
  508. {% if embed is not defined %}
  509.     {% set embed = false %}
  510. {% endif %}
  511. <head>
  512.     <!-- homepage.with-sections -->
  513.     <!-- Required meta tags -->
  514.     <meta charset=\"utf-8\">
  515.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  516.     {% block metaData %}
  517.         <meta name=\"description\" content=\"STARTPLATZ Homepage - Dein Platz zum Gründen und Wachsen\">
  518.         <meta name=\"author\" content=\"\">
  519.         {% if app.environment == 'prod' %}
  520.             <meta name=\"robots\" content=\"index,follow\">
  521.             {% if canonicalUrl is defined %}
  522.                 <link rel=\"canonical\" href=\"{{ canonicalUrl }}\" />
  523.             {% endif %}
  524.         {% else %}
  525.             <meta name=\"robots\" content=\"noindex,nofollow\">
  526.         {% endif %}
  527.     {% endblock %}
  528.     <link rel=\"profile\" href=\"http://gmpg.org/xfn/11\">
  529.     <link rel=\"pingback\" href=\"https://www.startplatz.de/xmlrpc.php\">
  530.     
  531.     {% include \"@StartPlatzStyleBundle/_icon.html.twig\" %}
  532.     <title>{% block title %}STARTPLATZ{% endblock %}</title>
  533.     <!-- Bootstrap CSS -->
  534.     <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css\" integrity=\"sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N\" crossorigin=\"anonymous\">
  535.     <script src=\"https://kit.fontawesome.com/30335e3531.js\" crossorigin=\"anonymous\"></script>
  536.     <link href=\"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;700&display=swap\" rel=\"stylesheet\">
  537.     {% if not embed|default(false) %}
  538.         {% include \"@StartPlatzStyleBundle/_tracking.html.twig\" %}
  539.     {% endif %}
  540.     {% block additionalHead %}
  541.     {% endblock %}
  542. </head>
  543. <body>
  544. <!-- Google Tag Manager (noscript) -->
  545. <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-5WTVWDT\"
  546.                   height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  547. <!-- End Google Tag Manager (noscript) -->
  548. {% set master = false %}
  549. {% if app.user is defined and app.user is not empty %}
  550.     {% if app.user.getMaster %}{% set master = true %}{% endif %}
  551. {% endif %}
  552. {% set admin = false %}
  553. {% if app.user is defined and app.user is not empty %}
  554.     {% if app.user.getAdmin %}{% set admin = true %}{% endif %}
  555. {% endif %}
  556. <!-- start content -->
  557. {% block content %}{% endblock %}
  558. <!-- end content -->
  559. <!-- start footer -->
  560. {% block footer %}{% endblock %}
  561. <!-- end footer -->
  562. <div class=\"modal fade\" id=\"mySmallModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
  563.     <div class=\"modal-dialog modal-sm\">
  564.     </div>
  565. </div>
  566. <div class=\"modal fade\" id=\"myLargeModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
  567.     <div class=\"modal-dialog modal-lg\">
  568.     </div>
  569. </div>
  570. <div class=\"modal fade\" id=\"myModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">
  571.     <div class=\"modal-dialog\">
  572.     </div>
  573. </div>
  574. {% block infiniteLoop %}
  575.     {% if maxPages is defined and maxPages > 1 %}
  576.         <div id=\"pagination\">
  577.             <a href=\"{{ path(currentPath, {page: thisPage} ) }}\">{{ thisPage }}</a>
  578.             {% if  thisPage != maxPages %}
  579.                 <a href=\"{{ path( currentPath, {page: thisPage+1 <= maxPages ? thisPage+1 : thisPage} + templateVars) }}\" class=\"next\">»</a>
  580.             {% endif %}
  581.         </div>
  582.     {% else %}
  583.         {% set maxPages = 100 %}
  584.     {% endif %}
  585. {% endblock %}
  586. {% if maxPages is not defined %}
  587.     {% set maxPages = 100 %}
  588. {% endif %}
  589. {% if not embed|default(false) %}
  590.     {% include \"@StartPlatzStyleBundle/_cookie.consent.html.twig\" %}
  591. {% endif %}
  592. <!-- Bootstrap core JavaScript
  593. ================================================== -->
  594. <!-- Placed at the end of the document so the pages load faster -->
  595. <!-- Vollständige jQuery-Version mit Ajax-Unterstützung -->
  596. <script src=\"https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js\" integrity=\"sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=\" crossorigin=\"anonymous\"></script>
  597. <script src=\"https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js\" integrity=\"sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct\" crossorigin=\"anonymous\"></script>
  598. <!-- javascript for infinite scroll -->
  599. <script src=\"{{ asset('bundles/startplatzstyle/js/jquery-ias.min.js') }}\"></script>
  600. <script type=\"text/javascript\">
  601.     // Fill modal with content from link href
  602.     \$(\"#mySmallModal\").on(\"show.bs.modal\", function(e) {
  603.         var link = \$(e.relatedTarget);
  604.         \$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
  605.     });
  606.     // Fill modal with content from link href
  607.     \$(\"#myLargeModal\").on(\"show.bs.modal\", function(e) {
  608.         var link = \$(e.relatedTarget);
  609.         \$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
  610.     });
  611.     // Fill modal with content from link href
  612.     \$(\"#myModal\").on(\"show.bs.modal\", function(e) {
  613.         var link = \$(e.relatedTarget);
  614.         \$(this).find(\".modal-dialog\").load(link.attr(\"href\"));
  615.     });
  616.     \$(function () {
  617.         \$('[data-toggle=\"tooltip\"]').tooltip()
  618.     });
  619. </script>
  620. {% if version is not defined %}
  621.     {% set version = 'default' %}
  622. {% endif %}
  623. {% block javascriptInfiniteLoop %}
  624. <script type=\"text/javascript\">
  625.     var ias = \$.ias({
  626.         container:  \"#posts\",
  627.         item:       \".item\",
  628.         pagination: \"#pagination\",
  629.         negativeMargin: \"500\",
  630.         next:       \".next\"
  631.     });
  632.     ias.extension(new IASSpinnerExtension());            // shows a spinner (a.k.a. loader)
  633.     ias.extension(new IASTriggerExtension({offset: {{ maxPages }} })); // shows a trigger after page 3
  634.     ias.extension(new IASNoneLeftExtension({
  635.         text: 'There are no more pages left to load.'      // override text when no pages left
  636.     }));
  637.     ias.on('load', function(event) {
  638.         event.url = event.url + \"&ajax=1&version={{ version }}\";
  639.         console.log('Loaded ' + event.url  + ' url from server');
  640.         console.log('url  tracking: ' + event.url );
  641.     });
  642. </script>
  643. {% endblock %}
  644. {% block ajax_helpers %}
  645.     <!-- Include Ajax Helpers By Default - Override if not needed -->
  646.     {% include '@StartPlatzStyleBundle/Bootstrap4/_javascript.ajax-helpers.html.twig' %}
  647. {% endblock %}
  648. {% block javascripts %}
  649. {% endblock %}
  650. </body>
  651. </html>
  652. ""@StartPlatzStyleBundle/Bootstrap4/base.homepage.event-lp.html.twig""/var/www/html/src/StartPlatz/Bundle/StyleBundle/Resources/views/Bootstrap4/base.homepage.event-lp.html.twig");
  653.     }
  654. }