var/cache/dev/twig/88/88c5bdb70c60bd1847de4efca1070167.php line 35

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. /* layouts/layout/slideshow/slideshow.html.twig */
  14. class __TwigTemplate_9f6d49114ce89925a9adeac1c49193c2 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.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layouts/layout/slideshow/slideshow.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layouts/layout/slideshow/slideshow.html.twig"));
  35.         // line 1
  36.         $context["sliderBlockName"] = "slideblockname";
  37.         // line 2
  38.         echo "
  39. <section class=\" ";
  40.         // line 3
  41.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["sliderBlockName"]) || array_key_exists("sliderBlockName"$context) ? $context["sliderBlockName"] : (function () { throw new RuntimeError('Variable "sliderBlockName" does not exist.'3$this->source); })()), 3$this->source), "html"nulltrue);
  42.         echo " p-0 mb-5 position-relative\"  data-aos=\"zoom-out\">
  43.     ";
  44.         // line 4
  45.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'4$this->source); })())) {
  46.             // line 5
  47.             echo "        <div class=\"container\">
  48.             <div class=\"row\">
  49.                 <div class=\"col-12\">
  50.                     ";
  51.             // line 8
  52.             $context["message"] = "Slideshow: druk op + om een slide toe te voegen";
  53.             // line 9
  54.             echo "                    ";
  55.             $this->loadTemplate("includes/basicBlocks/admin/message/tip.html.twig""layouts/layout/slideshow/slideshow.html.twig"9)->display(twig_array_merge($context, ["message" => (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'9$this->source); })()), "type" => "info"]));
  56.             // line 10
  57.             echo "
  58.                     ";
  59.             // line 11
  60.             $context["block"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block"$this->sandbox->ensureToStringAllowed((isset($context["sliderBlockName"]) || array_key_exists("sliderBlockName"$context) ? $context["sliderBlockName"] : (function () { throw new RuntimeError('Variable "sliderBlockName" does not exist.'11$this->source); })()), 11$this->source), ["reload" => true"limit" => 6]);
  61.             // line 12
  62.             echo "                    ";
  63.             $context['_parent'] = $context;
  64.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["block"]) || array_key_exists("block"$context) ? $context["block"] : (function () { throw new RuntimeError('Variable "block" does not exist.'12$this->source); })()), "iterator", [], "any"falsefalsetrue12));
  65.             $context['loop'] = [
  66.               'parent' => $context['_parent'],
  67.               'index0' => 0,
  68.               'index'  => 1,
  69.               'first'  => true,
  70.             ];
  71.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  72.                 $length count($context['_seq']);
  73.                 $context['loop']['revindex0'] = $length 1;
  74.                 $context['loop']['revindex'] = $length;
  75.                 $context['loop']['length'] = $length;
  76.                 $context['loop']['last'] = === $length;
  77.             }
  78.             foreach ($context['_seq'] as $context["_key"] => $context["blockcontent"]) {
  79.                 // line 13
  80.                 echo "
  81.                         <div class=\"border border-primary p-3 mb-3\">
  82.                             <div class=\"form-group mb-2\">
  83.                                 ";
  84.                 // line 16
  85.                 $context["message"] = ("Afbeelding " $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsetrue16), 16$this->source));
  86.                 // line 17
  87.                 echo "                                ";
  88.                 $this->loadTemplate("includes/basicBlocks/admin/message/tip.html.twig""layouts/layout/slideshow/slideshow.html.twig"17)->display(twig_array_merge($context, ["message" => (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'17$this->source); })()), "type" => "info"]));
  89.                 // line 18
  90.                 echo "
  91.                                 ";
  92.                 // line 19
  93.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""slideshowImage", ["title" => "Drag your image here""width" => 200"height" => 200]);
  94.                 // line 23
  95.                 echo "
  96.                             </div>
  97.                             <div class=\"form-group mb-2\">
  98.                                 ";
  99.                 // line 27
  100.                 $context["message"] = "Titel";
  101.                 // line 28
  102.                 echo "                                ";
  103.                 $this->loadTemplate("includes/basicBlocks/admin/message/tip.html.twig""layouts/layout/slideshow/slideshow.html.twig"28)->display(twig_array_merge($context, ["message" => (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'28$this->source); })()), "type" => "info"]));
  104.                 // line 29
  105.                 echo "
  106.                                 ";
  107.                 // line 30
  108.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""titel", ["class" => "form-control""placeholder" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Titel", [], "admin")]);
  109.                 // line 33
  110.                 echo "
  111.                             </div>
  112.                             <div class=\"form-group mb-2\">
  113.                                 ";
  114.                 // line 37
  115.                 $context["message"] = "Tekst";
  116.                 // line 38
  117.                 echo "                                ";
  118.                 $this->loadTemplate("includes/basicBlocks/admin/message/tip.html.twig""layouts/layout/slideshow/slideshow.html.twig"38)->display(twig_array_merge($context, ["message" => (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'38$this->source); })()), "type" => "info"]));
  119.                 // line 39
  120.                 echo "
  121.                                 ";
  122.                 // line 40
  123.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""slidertext", ["class" => "form-control""placeholder" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Tekst slider", [], "admin"), "nl2br" => true]);
  124.                 // line 44
  125.                 echo "
  126.                             </div>
  127.                             <div class=\"form-group mb-2\">
  128.                                 ";
  129.                 // line 48
  130.                 $context["message"] = "Klik op knop (potlood) om de link in te stellen";
  131.                 // line 49
  132.                 echo "                                ";
  133.                 $this->loadTemplate("includes/basicBlocks/admin/message/tip.html.twig""layouts/layout/slideshow/slideshow.html.twig"49)->display(twig_array_merge($context, ["message" => (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'49$this->source); })()), "type" => "info"]));
  134.                 // line 50
  135.                 echo "
  136.                                 ";
  137.                 // line 51
  138.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""bannerLink");
  139.                 echo "
  140.                             </div>
  141.                         </div>
  142.                     ";
  143.                 ++$context['loop']['index0'];
  144.                 ++$context['loop']['index'];
  145.                 $context['loop']['first'] = false;
  146.                 if (isset($context['loop']['length'])) {
  147.                     --$context['loop']['revindex0'];
  148.                     --$context['loop']['revindex'];
  149.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  150.                 }
  151.             }
  152.             $_parent $context['_parent'];
  153.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['blockcontent'], $context['_parent'], $context['loop']);
  154.             $context array_intersect_key($context$_parent) + $_parent;
  155.             // line 60
  156.             echo "                </div>
  157.             </div>
  158.         </div>
  159.         <hr style=\"margin-top:50px;margin-bottom:100px;\">
  160.     ";
  161.         }
  162.         // line 65
  163.         echo "
  164.     ";
  165.         // line 66
  166.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'66$this->source); })())) {
  167.             // line 67
  168.             echo "        ";
  169.             $context["amount"] = (twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block"$this->sandbox->ensureToStringAllowed((isset($context["sliderBlockName"]) || array_key_exists("sliderBlockName"$context) ? $context["sliderBlockName"] : (function () { throw new RuntimeError('Variable "sliderBlockName" does not exist.'67$this->source); })()), 67$this->source)), "getCount", [], "method"falsefalsetrue67) - 1);
  170.             // line 68
  171.             echo "        ";
  172.             if (((isset($context["amount"]) || array_key_exists("amount"$context) ? $context["amount"] : (function () { throw new RuntimeError('Variable "amount" does not exist.'68$this->source); })()) >  -1)) {
  173.                 // line 69
  174.                 echo "        <div class=\"section-banner ";
  175.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["sliderBlockName"]) || array_key_exists("sliderBlockName"$context) ? $context["sliderBlockName"] : (function () { throw new RuntimeError('Variable "sliderBlockName" does not exist.'69$this->source); })()), 69$this->source), "html"nulltrue);
  176.                 echo " p-0\">
  177.             <div id=\"";
  178.                 // line 72
  179.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["sliderBlockName"]) || array_key_exists("sliderBlockName"$context) ? $context["sliderBlockName"] : (function () { throw new RuntimeError('Variable "sliderBlockName" does not exist.'72$this->source); })()), 72$this->source), "html"nulltrue);
  180.                 echo "\" class=\"carousel slide\" data-bs-ride=\"carousel\">
  181.                 ";
  182.                 // line 76
  183.                 if (((isset($context["amount"]) || array_key_exists("amount"$context) ? $context["amount"] : (function () { throw new RuntimeError('Variable "amount" does not exist.'76$this->source); })()) > 0)) {
  184.                     // line 77
  185.                     echo "                    <ol class=\"carousel-indicators\">
  186.                         ";
  187.                     // line 78
  188.                     $context['_parent'] = $context;
  189.                     $context['_seq'] = twig_ensure_traversable(range(0, (isset($context["amount"]) || array_key_exists("amount"$context) ? $context["amount"] : (function () { throw new RuntimeError('Variable "amount" does not exist.'78$this->source); })())));
  190.                     foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  191.                         // line 79
  192.                         echo "                            <li data-bs-target=\"#";
  193.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["sliderBlockName"]) || array_key_exists("sliderBlockName"$context) ? $context["sliderBlockName"] : (function () { throw new RuntimeError('Variable "sliderBlockName" does not exist.'79$this->source); })()), 79$this->source), "html"nulltrue);
  194.                         echo "\" data-bs-slide-to=\"";
  195.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed($context["i"], 79$this->source), "html"nulltrue);
  196.                         echo "\" class=";
  197.                         if (($context["i"] == 0)) {
  198.                             echo "\"active\" aria-current=\"true\"";
  199.                         }
  200.                         echo "></li>
  201.                         ";
  202.                     }
  203.                     $_parent $context['_parent'];
  204.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  205.                     $context array_intersect_key($context$_parent) + $_parent;
  206.                     // line 81
  207.                     echo "                    </ol>
  208.                 ";
  209.                 }
  210.                 // line 83
  211.                 echo "
  212.                 <div class=\"carousel-inner\">
  213.                     ";
  214.                 // line 85
  215.                 $context["blocks"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block"$this->sandbox->ensureToStringAllowed((isset($context["sliderBlockName"]) || array_key_exists("sliderBlockName"$context) ? $context["sliderBlockName"] : (function () { throw new RuntimeError('Variable "sliderBlockName" does not exist.'85$this->source); })()), 85$this->source), ["limit" => 6]);
  216.                 // line 86
  217.                 echo "
  218.                     ";
  219.                 // line 87
  220.                 $context['_parent'] = $context;
  221.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["blocks"]) || array_key_exists("blocks"$context) ? $context["blocks"] : (function () { throw new RuntimeError('Variable "blocks" does not exist.'87$this->source); })()), "iterator", [], "any"falsefalsetrue87));
  222.                 foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
  223.                     // line 88
  224.                     echo "                        ";
  225.                     $context["current"] = twig_get_attribute($this->env$this->source, (isset($context["blocks"]) || array_key_exists("blocks"$context) ? $context["blocks"] : (function () { throw new RuntimeError('Variable "blocks" does not exist.'88$this->source); })()), "getCurrent", [], "method"falsefalsetrue88);
  226.                     // line 89
  227.                     echo "                        ";
  228.                     $context["link"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""bannerLink"), "getHref", [], "method"falsefalsetrue89);
  229.                     // line 90
  230.                     echo "
  231.                         ";
  232.                     // line 91
  233.                     if (array_key_exists("link"$context)) {
  234.                         // line 92
  235.                         echo "                            ";
  236.                         $context["target"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""bannerLink"), "getTarget", [], "method"falsefalsetrue92);
  237.                         // line 93
  238.                         echo "                            ";
  239.                         $context["linktext"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""bannerLink"), "getText", [], "method"falsefalsetrue93);
  240.                         // line 94
  241.                         echo "                        ";
  242.                     }
  243.                     // line 95
  244.                     echo "
  245.                         <div class=\"carousel-item ";
  246.                     // line 96
  247.                     if (((isset($context["current"]) || array_key_exists("current"$context) ? $context["current"] : (function () { throw new RuntimeError('Variable "current" does not exist.'96$this->source); })()) == 0)) {
  248.                         echo "active";
  249.                     }
  250.                     echo "\" id=\"slide-";
  251.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["current"]) || array_key_exists("current"$context) ? $context["current"] : (function () { throw new RuntimeError('Variable "current" does not exist.'96$this->source); })()), 96$this->source), "html"nulltrue);
  252.                     echo "\">
  253.                             <div class=\"image position-relative\" data-thumbnail=\"";
  254.                     // line 97
  255.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""slideshowImage"), "getThumbnail", [=> "slideshow-homepage"], "method"falsefalsetrue97), 97$this->source), "html"nulltrue);
  256.                     echo "\" style=\"background-image: url(";
  257.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""slideshowImage"), "getThumbnail", [=> "slideshow-homepage"], "method"falsefalsetrue97), 97$this->source), "html"nulltrue);
  258.                     echo ");\">
  259.                                 <div class=\"container position-relative h-100\">
  260.                                     <div class=\"row align-items-center h-75\">
  261.                                         <div class=\"col-6 text-white py-5\">
  262.                                             <h1 class=\"text-white\">";
  263.                     // line 102
  264.                     echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""titel");
  265.                     echo "</h1>
  266.                                             ";
  267.                     // line 104
  268.                     if ( !twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""slidertext"), "isEmpty", [], "method"falsefalsetrue104)) {
  269.                         // line 105
  270.                         echo "                                                <p>";
  271.                         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""slidertext");
  272.                         echo "</p>
  273.                                             ";
  274.                     }
  275.                     // line 107
  276.                     echo "
  277.                                             ";
  278.                     // line 108
  279.                     if ((array_key_exists("link"$context) &&  !twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""bannerLink"), "isEmpty", [], "method"falsefalsetrue108))) {
  280.                         // line 109
  281.                         echo "                                                <a href=\"";
  282.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["link"]) || array_key_exists("link"$context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.'109$this->source); })()), 109$this->source), "html"nulltrue);
  283.                         echo "\" target=\"";
  284.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["target"]) || array_key_exists("target"$context) ? $context["target"] : (function () { throw new RuntimeError('Variable "target" does not exist.'109$this->source); })()), 109$this->source), "html"nulltrue);
  285.                         echo "\"  class=\"btn btn-primary\">";
  286.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["linktext"]) || array_key_exists("linktext"$context) ? $context["linktext"] : (function () { throw new RuntimeError('Variable "linktext" does not exist.'109$this->source); })()), 109$this->source), "html"nulltrue);
  287.                         echo "</a>
  288.                                             ";
  289.                     }
  290.                     // line 111
  291.                     echo "                                        </div>
  292.                                     </div>
  293.                                 </div>
  294.                             </div>
  295.                         </div>
  296.                     ";
  297.                 }
  298.                 $_parent $context['_parent'];
  299.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
  300.                 $context array_intersect_key($context$_parent) + $_parent;
  301.                 // line 117
  302.                 echo "                </div>
  303.                 ";
  304.                 // line 119
  305.                 if (((isset($context["amount"]) || array_key_exists("amount"$context) ? $context["amount"] : (function () { throw new RuntimeError('Variable "amount" does not exist.'119$this->source); })()) > 0)) {
  306.                     // line 120
  307.                     echo "                    <a class=\"carousel-control-prev\" type=\"button\" data-bs-target=\"#";
  308.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["sliderBlockName"]) || array_key_exists("sliderBlockName"$context) ? $context["sliderBlockName"] : (function () { throw new RuntimeError('Variable "sliderBlockName" does not exist.'120$this->source); })()), 120$this->source), "html"nulltrue);
  309.                     echo "\" role=\"button\" data-bs-slide=\"prev\">
  310.                         <span class=\"carousel-control-prev-icon\" aria-hidden=\"true\"></span>
  311.                         <span class=\"visually-hidden\">";
  312.                     // line 122
  313.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Previous"), "html"nulltrue);
  314.                     echo "</span>
  315.                     </a>
  316.                     <a class=\"carousel-control-next\" type=\"button\" data-bs-target=\"#";
  317.                     // line 125
  318.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["sliderBlockName"]) || array_key_exists("sliderBlockName"$context) ? $context["sliderBlockName"] : (function () { throw new RuntimeError('Variable "sliderBlockName" does not exist.'125$this->source); })()), 125$this->source), "html"nulltrue);
  319.                     echo "\" role=\"button\" data-bs-slide=\"next\">
  320.                         <span class=\"carousel-control-next-icon\" aria-hidden=\"true\"></span>
  321.                         <span class=\"visually-hidden\">";
  322.                     // line 127
  323.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Next"), "html"nulltrue);
  324.                     echo "</span>
  325.                     </a>
  326.                 ";
  327.                 }
  328.                 // line 130
  329.                 echo "            </div>
  330.         </div>
  331.         <svg version=\"1.1\" class=\"";
  332.                 // line 141
  333.                 if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'141$this->source); })())) {
  334.                     echo "position-absolute bottom-0 start-0 mb-n5";
  335.                 }
  336.                 echo "\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"
  337.              viewBox=\"0 0 3869.3 565.1\" style=\"enable-background:new 0 0 3869.3 565.1;\" xml:space=\"preserve\">
  338. <style type=\"text/css\">
  339.     .st0{fill:#FFFFFF;}
  340. </style>
  341.             <path class=\"st0\" d=\"M1652.2,98.8c495,191.1,690.4,185.6,946.4,176.8c256-8.8,642-103.8,1270.7,181.3l-1.5,108.1H0L5.7,148
  342. \tc52.8,15.7,213.9,31.6,435.6-30.9C718.3,38.9,1157.3-92.3,1652.2,98.8z\"/>
  343. </svg>
  344.     ";
  345.             }
  346.             // line 150
  347.             echo "
  348.     ";
  349.         }
  350.         // line 152
  351.         echo "
  352. </section>";
  353.         
  354.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  355.         
  356.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  357.     }
  358.     public function getTemplateName()
  359.     {
  360.         return "layouts/layout/slideshow/slideshow.html.twig";
  361.     }
  362.     public function isTraitable()
  363.     {
  364.         return false;
  365.     }
  366.     public function getDebugInfo()
  367.     {
  368.         return array (  386 => 152,  382 => 150,  368 => 141,  355 => 130,  349 => 127,  344 => 125,  338 => 122,  332 => 120,  330 => 119,  326 => 117,  315 => 111,  305 => 109,  303 => 108,  300 => 107,  294 => 105,  292 => 104,  287 => 102,  277 => 97,  269 => 96,  266 => 95,  263 => 94,  260 => 93,  257 => 92,  255 => 91,  252 => 90,  249 => 89,  246 => 88,  242 => 87,  239 => 86,  237 => 85,  233 => 83,  229 => 81,  214 => 79,  210 => 78,  207 => 77,  205 => 76,  198 => 72,  191 => 69,  188 => 68,  185 => 67,  183 => 66,  180 => 65,  173 => 60,  150 => 51,  147 => 50,  144 => 49,  142 => 48,  136 => 44,  134 => 40,  131 => 39,  128 => 38,  126 => 37,  120 => 33,  118 => 30,  115 => 29,  112 => 28,  110 => 27,  104 => 23,  102 => 19,  99 => 18,  96 => 17,  94 => 16,  89 => 13,  71 => 12,  69 => 11,  66 => 10,  63 => 9,  61 => 8,  56 => 5,  54 => 4,  50 => 3,  47 => 2,  45 => 1,);
  369.     }
  370.     public function getSourceContext()
  371.     {
  372.         return new Source("{% set sliderBlockName = 'slideblockname' %}
  373. <section class=\" {{ sliderBlockName }} p-0 mb-5 position-relative\"  data-aos=\"zoom-out\">
  374.     {% if editmode %}
  375.         <div class=\"container\">
  376.             <div class=\"row\">
  377.                 <div class=\"col-12\">
  378.                     {% set message = 'Slideshow: druk op + om een slide toe te voegen' %}
  379.                     {% include 'includes/basicBlocks/admin/message/tip.html.twig' with {'message': message, 'type' : 'info'} %}
  380.                     {% set block = pimcore_block(sliderBlockName, {'reload' : true, 'limit' : 6}) %}
  381.                     {% for blockcontent in block.iterator %}
  382.                         <div class=\"border border-primary p-3 mb-3\">
  383.                             <div class=\"form-group mb-2\">
  384.                                 {% set message = 'Afbeelding ' ~ loop.index %}
  385.                                 {% include 'includes/basicBlocks/admin/message/tip.html.twig' with {'message': message, 'type' : 'info'} %}
  386.                                 {{ pimcore_image(\"slideshowImage\", {
  387.                                     \"title\" : \"Drag your image here\",
  388.                                     \"width\" : 200,
  389.                                     \"height\" : 200,
  390.                                 }) }}
  391.                             </div>
  392.                             <div class=\"form-group mb-2\">
  393.                                 {% set message = 'Titel' %}
  394.                                 {% include 'includes/basicBlocks/admin/message/tip.html.twig' with {'message': message, 'type' : 'info'} %}
  395.                                 {{ pimcore_input(\"titel\", {
  396.                                     \"class\": \"form-control\",
  397.                                     \"placeholder\" : \"Titel\"|trans({}, 'admin')
  398.                                 }) }}
  399.                             </div>
  400.                             <div class=\"form-group mb-2\">
  401.                                 {% set message = 'Tekst' %}
  402.                                 {% include 'includes/basicBlocks/admin/message/tip.html.twig' with {'message': message, 'type' : 'info'} %}
  403.                                 {{ pimcore_textarea(\"slidertext\", {
  404.                                     \"class\": \"form-control\",
  405.                                     \"placeholder\" : \"Tekst slider\"|trans({}, 'admin'),
  406.                                     \"nl2br\": true
  407.                                 }) }}
  408.                             </div>
  409.                             <div class=\"form-group mb-2\">
  410.                                 {% set message = 'Klik op knop (potlood) om de link in te stellen' %}
  411.                                 {% include 'includes/basicBlocks/admin/message/tip.html.twig' with {'message': message, 'type' : 'info'} %}
  412.                                 {{ pimcore_link(\"bannerLink\") }}
  413.                             </div>
  414.                         </div>
  415.                     {% endfor %}
  416.                 </div>
  417.             </div>
  418.         </div>
  419.         <hr style=\"margin-top:50px;margin-bottom:100px;\">
  420.     {% endif %}
  421.     {% if not editmode %}
  422.         {% set amount = pimcore_block(sliderBlockName).getCount() - 1 %}
  423.         {% if amount > -1 %}
  424.         <div class=\"section-banner {{ sliderBlockName }} p-0\">
  425.             <div id=\"{{ sliderBlockName }}\" class=\"carousel slide\" data-bs-ride=\"carousel\">
  426.                 {% if amount > 0 %}
  427.                     <ol class=\"carousel-indicators\">
  428.                         {% for i in 0..amount %}
  429.                             <li data-bs-target=\"#{{ sliderBlockName }}\" data-bs-slide-to=\"{{ i }}\" class={% if i == 0 %}\"active\" aria-current=\"true\"{% endif %}></li>
  430.                         {% endfor %}
  431.                     </ol>
  432.                 {% endif %}
  433.                 <div class=\"carousel-inner\">
  434.                     {% set blocks = pimcore_block(sliderBlockName, {'limit' : 6}) %}
  435.                     {% for block in blocks.iterator %}
  436.                         {% set current = blocks.getCurrent() %}
  437.                         {% set link = pimcore_link(\"bannerLink\").getHref() %}
  438.                         {% if link is defined %}
  439.                             {% set target = pimcore_link(\"bannerLink\").getTarget() %}
  440.                             {% set linktext = pimcore_link(\"bannerLink\").getText() %}
  441.                         {% endif %}
  442.                         <div class=\"carousel-item {% if current == 0 %}active{% endif %}\" id=\"slide-{{ current }}\">
  443.                             <div class=\"image position-relative\" data-thumbnail=\"{{ pimcore_image(\"slideshowImage\").getThumbnail(\"slideshow-homepage\") }}\" style=\"background-image: url({{ pimcore_image(\"slideshowImage\").getThumbnail(\"slideshow-homepage\") }});\">
  444.                                 <div class=\"container position-relative h-100\">
  445.                                     <div class=\"row align-items-center h-75\">
  446.                                         <div class=\"col-6 text-white py-5\">
  447.                                             <h1 class=\"text-white\">{{ pimcore_input(\"titel\") }}</h1>
  448.                                             {% if not pimcore_textarea(\"slidertext\").isEmpty() %}
  449.                                                 <p>{{ pimcore_textarea(\"slidertext\") }}</p>
  450.                                             {% endif %}
  451.                                             {% if link is defined and not pimcore_link(\"bannerLink\").isEmpty() %}
  452.                                                 <a href=\"{{ link }}\" target=\"{{ target }}\"  class=\"btn btn-primary\">{{ linktext }}</a>
  453.                                             {% endif %}
  454.                                         </div>
  455.                                     </div>
  456.                                 </div>
  457.                             </div>
  458.                         </div>
  459.                     {% endfor %}
  460.                 </div>
  461.                 {% if amount > 0 %}
  462.                     <a class=\"carousel-control-prev\" type=\"button\" data-bs-target=\"#{{ sliderBlockName }}\" role=\"button\" data-bs-slide=\"prev\">
  463.                         <span class=\"carousel-control-prev-icon\" aria-hidden=\"true\"></span>
  464.                         <span class=\"visually-hidden\">{{ 'Previous'|trans }}</span>
  465.                     </a>
  466.                     <a class=\"carousel-control-next\" type=\"button\" data-bs-target=\"#{{ sliderBlockName }}\" role=\"button\" data-bs-slide=\"next\">
  467.                         <span class=\"carousel-control-next-icon\" aria-hidden=\"true\"></span>
  468.                         <span class=\"visually-hidden\">{{ 'Next'|trans }}</span>
  469.                     </a>
  470.                 {% endif %}
  471.             </div>
  472.         </div>
  473.         <svg version=\"1.1\" class=\"{% if not editmode %}position-absolute bottom-0 start-0 mb-n5{% endif %}\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"
  474.              viewBox=\"0 0 3869.3 565.1\" style=\"enable-background:new 0 0 3869.3 565.1;\" xml:space=\"preserve\">
  475. <style type=\"text/css\">
  476.     .st0{fill:#FFFFFF;}
  477. </style>
  478.             <path class=\"st0\" d=\"M1652.2,98.8c495,191.1,690.4,185.6,946.4,176.8c256-8.8,642-103.8,1270.7,181.3l-1.5,108.1H0L5.7,148
  479. \tc52.8,15.7,213.9,31.6,435.6-30.9C718.3,38.9,1157.3-92.3,1652.2,98.8z\"/>
  480. </svg>
  481.     {% endif %}
  482.     {% endif %}
  483. </section>""layouts/layout/slideshow/slideshow.html.twig""/var/www/clients/client2/web45/web/pc/templates/layouts/layout/slideshow/slideshow.html.twig");
  484.     }
  485.     
  486.     public function checkSecurity()
  487.     {
  488.         static $tags = array("set" => 1"if" => 4"include" => 9"for" => 12);
  489.         static $filters = array("escape" => 3"trans" => 32);
  490.         static $functions = array("pimcore_block" => 11"pimcore_image" => 19"pimcore_input" => 30"pimcore_textarea" => 40"pimcore_link" => 51"range" => 78);
  491.         try {
  492.             $this->sandbox->checkSecurity(
  493.                 ['set''if''include''for'],
  494.                 ['escape''trans'],
  495.                 ['pimcore_block''pimcore_image''pimcore_input''pimcore_textarea''pimcore_link''range']
  496.             );
  497.         } catch (SecurityError $e) {
  498.             $e->setSourceContext($this->source);
  499.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  500.                 $e->setTemplateLine($tags[$e->getTagName()]);
  501.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  502.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  503.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  504.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  505.             }
  506.             throw $e;
  507.         }
  508.     }
  509. }