Deprecated: Constant E_STRICT is deprecated in /var/www/html/s/stablescaffolding/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /var/www/html/s/stablescaffolding/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

var/cache/dev/twig/a2/a29fd7b6aaa4d43565b87dda466ed735.php line 56

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. /* @theme/slider/slider.html.twig */
  14. class __TwigTemplate_03cc90bf8344953f2baddb4565a182d0 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.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/slider/slider.html.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/slider/slider.html.twig"));
  33.         // line 1
  34.         echo "<section class=\"slider\">
  35.     <div class=\"";
  36.         // line 2
  37.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["slider"]) || array_key_exists("slider"$context) ? $context["slider"] : (function () { throw new RuntimeError('Variable "slider" does not exist.'2$this->source); })()), "identifier", [], "any"falsefalsefalse2), "html"nulltrue);
  38.         echo "\">
  39.         <div class=\"swiper-wrapper\">
  40.             ";
  41.         // line 4
  42.         $context['_parent'] = $context;
  43.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["slider"]) || array_key_exists("slider"$context) ? $context["slider"] : (function () { throw new RuntimeError('Variable "slider" does not exist.'4$this->source); })()), "images", [], "any"falsefalsefalse4));
  44.         foreach ($context['_seq'] as $context["_key"] => $context["slide"]) {
  45.             // line 5
  46.             echo "                <div class=\"swiper-slide lazyBackgroundImage\" data-mobile=\"";
  47.             echo twig_escape_filter($this->env$this->extensions['App\Twig\TwigExtension']->{closure:App\Twig\TwigExtension::getFunctions():44}(("/userfiles/images/sliderimages/" twig_get_attribute($this->env$this->source$context["slide"], "image", [], "any"falsefalsefalse5)), "zoomCrop"990695), "html"nulltrue);
  48.             echo "\" data-desktop=\"";
  49.             echo twig_escape_filter($this->env$this->extensions['App\Twig\TwigExtension']->{closure:App\Twig\TwigExtension::getFunctions():44}(("/userfiles/images/sliderimages/" twig_get_attribute($this->env$this->source$context["slide"], "image", [], "any"falsefalsefalse5)), "zoomCrop"25001750), "html"nulltrue);
  50.             echo "\">
  51.                     <div class=\"w-full h-full flex justify-center items-end pb-24 md:pb-0 md:items-center\">
  52.                         <div class=\"container text-center\">
  53.                             <div class=\"row\">
  54.                                 <div class=\"col\">
  55.                                     <span class=\"sr-only\">";
  56.             // line 10
  57.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["slide"], "title", [], "any"falsefalsefalse10), "html"nulltrue);
  58.             echo "</span>
  59.                                     <div class=\"slide-content sm:px-16\">
  60.                                         ";
  61.             // line 12
  62.             echo twig_get_attribute($this->env$this->source$context["slide"], "html", [], "any"falsefalsefalse12);
  63.             echo "
  64.                                     </div>
  65.                                     ";
  66.             // line 14
  67.             if ((twig_get_attribute($this->env$this->source$context["slide"], "buttontext", [], "any"falsefalsefalse14) != null)) {
  68.                 // line 15
  69.                 echo "                                        <a href=\"";
  70.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["slide"], "link", [], "any"falsefalsefalse15), "html"nulltrue);
  71.                 echo "\" class=\"btn btn-primary btn-darkbg !mt-8\">";
  72.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["slide"], "buttontext", [], "any"falsefalsefalse15), "html"nulltrue);
  73.                 echo "</a>
  74.                                     ";
  75.             }
  76.             // line 17
  77.             echo "                                </div>
  78.                             </div>
  79.                         </div>
  80.                     </div>
  81.                 </div>
  82.             ";
  83.         }
  84.         $_parent $context['_parent'];
  85.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['slide'], $context['_parent'], $context['loop']);
  86.         $context array_intersect_key($context$_parent) + $_parent;
  87.         // line 23
  88.         echo "        </div>
  89.         <div class=\"swiper-pagination\"></div>
  90.         ";
  91.         // line 27
  92.         echo "    </div>
  93. </section>
  94. ";
  95.         
  96.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  97.         
  98.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  99.     }
  100.     /**
  101.      * @codeCoverageIgnore
  102.      */
  103.     public function getTemplateName()
  104.     {
  105.         return "@theme/slider/slider.html.twig";
  106.     }
  107.     /**
  108.      * @codeCoverageIgnore
  109.      */
  110.     public function isTraitable()
  111.     {
  112.         return false;
  113.     }
  114.     /**
  115.      * @codeCoverageIgnore
  116.      */
  117.     public function getDebugInfo()
  118.     {
  119.         return array (  101 => 27,  97 => 23,  86 => 17,  78 => 15,  76 => 14,  71 => 12,  66 => 10,  55 => 5,  51 => 4,  46 => 2,  43 => 1,);
  120.     }
  121.     public function getSourceContext()
  122.     {
  123.         return new Source("<section class=\"slider\">
  124.     <div class=\"{{ slider.identifier }}\">
  125.         <div class=\"swiper-wrapper\">
  126.             {% for slide in slider.images %}
  127.                 <div class=\"swiper-slide lazyBackgroundImage\" data-mobile=\"{{ imageCache('/userfiles/images/sliderimages/' ~ slide.image, 'zoomCrop', 990, 695) }}\" data-desktop=\"{{ imageCache('/userfiles/images/sliderimages/' ~ slide.image, 'zoomCrop', 2500, 1750) }}\">
  128.                     <div class=\"w-full h-full flex justify-center items-end pb-24 md:pb-0 md:items-center\">
  129.                         <div class=\"container text-center\">
  130.                             <div class=\"row\">
  131.                                 <div class=\"col\">
  132.                                     <span class=\"sr-only\">{{ slide.title }}</span>
  133.                                     <div class=\"slide-content sm:px-16\">
  134.                                         {{ slide.html|raw }}
  135.                                     </div>
  136.                                     {% if slide.buttontext != null %}
  137.                                         <a href=\"{{ slide.link }}\" class=\"btn btn-primary btn-darkbg !mt-8\">{{ slide.buttontext }}</a>
  138.                                     {% endif %}
  139.                                 </div>
  140.                             </div>
  141.                         </div>
  142.                     </div>
  143.                 </div>
  144.             {% endfor %}
  145.         </div>
  146.         <div class=\"swiper-pagination\"></div>
  147.         {# <div class=\"swiper-button-prev\"></div>
  148.         <div class=\"swiper-button-next\"></div> #}
  149.     </div>
  150. </section>
  151. ""@theme/slider/slider.html.twig""/var/www/html/s/stablescaffolding/templates/themes/theme/slider/slider.html.twig");
  152.     }
  153. }