<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* @theme/testimonial/testimonials.html.twig */
class __TwigTemplate_964e106aa4bc3076a5cba843ec3a0382 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@theme/testimonial/testimonials.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@theme/testimonial/testimonials.html.twig"));
// line 1
yield "<section class=\"testimonials\">
<div class=\"container\">
";
// line 3
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["testimonials"]) || array_key_exists("testimonials", $context) ? $context["testimonials"] : (function () { throw new RuntimeError('Variable "testimonials" does not exist.', 3, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["testimonial"]) {
// line 4
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["testimonial"], "featured", [], "any", false, false, false, 4)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 5
yield " ";
$_v0 = $this->env->getRuntime("Symfony\\UX\\TwigComponent\\Twig\\ComponentRuntime");
$preRendered = $_v0->preRender("Testimonial", Twig\Extension\CoreExtension::toArray(["featured" => true, "reverse" => (CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 5) % 2 == 0), "author" => CoreExtension::getAttribute($this->env, $this->source, $context["testimonial"], "author", [], "any", false, false, false, 5), "company" => CoreExtension::getAttribute($this->env, $this->source, $context["testimonial"], "company", [], "any", false, false, false, 5)]));
if (null !== $preRendered) {
yield $preRendered;
} else {
$preRenderEvent = $_v0->startEmbedComponent("Testimonial", Twig\Extension\CoreExtension::toArray(["featured" => true, "reverse" => (CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 5) % 2 == 0), "author" => CoreExtension::getAttribute($this->env, $this->source, $context["testimonial"], "author", [], "any", false, false, false, 5), "company" => CoreExtension::getAttribute($this->env, $this->source, $context["testimonial"], "company", [], "any", false, false, false, 5)]), $context, "@theme/testimonial/testimonials.html.twig", 11453225621);
$embeddedContext = $preRenderEvent->getVariables();
$embeddedContext["__parent__"] = $preRenderEvent->getTemplate();
$embeddedContext["outerBlocks"] ??= new \Symfony\UX\TwigComponent\BlockStack();
$embeddedBlocks = $embeddedContext["outerBlocks"]->convert($blocks, 11453225621);
$this->load("@theme/testimonial/testimonials.html.twig", 5, "11453225621")->display($embeddedContext, $embeddedBlocks);
$_v0->finishEmbedComponent();
}
// line 15
yield " ";
}
// line 16
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['testimonial'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 17
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["testimonials"]) || array_key_exists("testimonials", $context) ? $context["testimonials"] : (function () { throw new RuntimeError('Variable "testimonials" does not exist.', 17, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["testimonial"]) {
// line 18
yield " ";
if ((($tmp = !CoreExtension::getAttribute($this->env, $this->source, $context["testimonial"], "featured", [], "any", false, false, false, 18)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 19
yield " ";
$_v1 = $this->env->getRuntime("Symfony\\UX\\TwigComponent\\Twig\\ComponentRuntime");
$preRendered = $_v1->preRender("Testimonial", Twig\Extension\CoreExtension::toArray(["author" => CoreExtension::getAttribute($this->env, $this->source, $context["testimonial"], "author", [], "any", false, false, false, 19), "company" => CoreExtension::getAttribute($this->env, $this->source, $context["testimonial"], "company", [], "any", false, false, false, 19)]));
if (null !== $preRendered) {
yield $preRendered;
} else {
$preRenderEvent = $_v1->startEmbedComponent("Testimonial", Twig\Extension\CoreExtension::toArray(["author" => CoreExtension::getAttribute($this->env, $this->source, $context["testimonial"], "author", [], "any", false, false, false, 19), "company" => CoreExtension::getAttribute($this->env, $this->source, $context["testimonial"], "company", [], "any", false, false, false, 19)]), $context, "@theme/testimonial/testimonials.html.twig", 19124567051);
$embeddedContext = $preRenderEvent->getVariables();
$embeddedContext["__parent__"] = $preRenderEvent->getTemplate();
$embeddedContext["outerBlocks"] ??= new \Symfony\UX\TwigComponent\BlockStack();
$embeddedBlocks = $embeddedContext["outerBlocks"]->convert($blocks, 19124567051);
$this->load("@theme/testimonial/testimonials.html.twig", 19, "19124567051")->display($embeddedContext, $embeddedBlocks);
$_v1->finishEmbedComponent();
}
// line 28
yield " ";
}
// line 29
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['testimonial'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 30
yield " </div>
</section>
";
// line 32
yield $this->env->getRuntime('Symfony\UX\TwigComponent\Twig\ComponentRuntime')->render("WhatsAppBlock", ["alt" => "true"]);
yield "
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@theme/testimonial/testimonials.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 140 => 32, 136 => 30, 130 => 29, 127 => 28, 112 => 19, 109 => 18, 104 => 17, 90 => 16, 87 => 15, 72 => 5, 69 => 4, 52 => 3, 48 => 1,);
}
public function getSourceContext(): Source
{
return new Source("<section class=\"testimonials\">
<div class=\"container\">
{% for testimonial in testimonials %}
{% if testimonial.featured %}
{% component 'Testimonial' with { featured: (true), reverse: (loop.index is even), author: (testimonial.author), company: (testimonial.company) } %}
{% block image %}
<img
src=\"{{ imageCache('/userfiles/images/testimonial/' ~ testimonial.image, 'zoomCrop', 738, 1150) }}\"
alt=\"{{ testimonial.author }}\"
>
{% endblock %}
{% block content %}<h2 class=\"testimonial__name\">{{ testimonial.title }}</h2>
{{ allowInlineEditor(testimonial, 'content')|raw }}
{% endblock %}{% endcomponent %}
{% endif %}
{% endfor %}
{% for testimonial in testimonials %}
{% if not testimonial.featured %}
{% component 'Testimonial' with { author: (testimonial.author), company: (testimonial.company) } %}
{# <twig:block name=\"image\">
<img
src=\"{{ imageCache('/userfiles/images/testimonial/' ~ testimonial.image, 'zoomCrop', 738, 1150) }}\"
alt=\"{{ testimonial.author }}\"
>
</twig:block> #}
{% block content %}{{ testimonial.content|striptags|replace({\" \": \" \"})|nl2br }}
{% endblock %}{% endcomponent %}
{% endif %}
{% endfor %}
</div>
</section>
{{ component('WhatsAppBlock', { alt: 'true' }) }}
", "@theme/testimonial/testimonials.html.twig", "/var/www/html/t/taurushr/templates/themes/theme/testimonial/testimonials.html.twig");
}
}
/* @theme/testimonial/testimonials.html.twig */
class __TwigTemplate_964e106aa4bc3076a5cba843ec3a0382___11453225621 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'outer__block_fallback' => [$this, 'block_outer__block_fallback'],
'image' => [$this, 'block_image'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 5
return $this->load((isset($context["__parent__"]) || array_key_exists("__parent__", $context) ? $context["__parent__"] : (function () { throw new RuntimeError('Variable "__parent__" does not exist.', 5, $this->source); })()), 5);
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@theme/testimonial/testimonials.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@theme/testimonial/testimonials.html.twig"));
yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_outer__block_fallback(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 6
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_image(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "image"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "image"));
// line 7
yield " <img
src=\"";
// line 8
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()(("/userfiles/images/testimonial/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["testimonial"]) || array_key_exists("testimonial", $context) ? $context["testimonial"] : (function () { throw new RuntimeError('Variable "testimonial" does not exist.', 8, $this->source); })()), "image", [], "any", false, false, false, 8)), "zoomCrop", 738, 1150), "html", null, true);
yield "\"
alt=\"";
// line 9
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["testimonial"]) || array_key_exists("testimonial", $context) ? $context["testimonial"] : (function () { throw new RuntimeError('Variable "testimonial" does not exist.', 9, $this->source); })()), "author", [], "any", false, false, false, 9), "html", null, true);
yield "\"
>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 12
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
yield "<h2 class=\"testimonial__name\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["testimonial"]) || array_key_exists("testimonial", $context) ? $context["testimonial"] : (function () { throw new RuntimeError('Variable "testimonial" does not exist.', 12, $this->source); })()), "title", [], "any", false, false, false, 12), "html", null, true);
yield "</h2>
";
// line 13
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["testimonial"]) || array_key_exists("testimonial", $context) ? $context["testimonial"] : (function () { throw new RuntimeError('Variable "testimonial" does not exist.', 13, $this->source); })()), "content");
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@theme/testimonial/testimonials.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 334 => 13, 317 => 12, 303 => 9, 299 => 8, 296 => 7, 283 => 6, 240 => 5, 140 => 32, 136 => 30, 130 => 29, 127 => 28, 112 => 19, 109 => 18, 104 => 17, 90 => 16, 87 => 15, 72 => 5, 69 => 4, 52 => 3, 48 => 1,);
}
public function getSourceContext(): Source
{
return new Source("<section class=\"testimonials\">
<div class=\"container\">
{% for testimonial in testimonials %}
{% if testimonial.featured %}
{% component 'Testimonial' with { featured: (true), reverse: (loop.index is even), author: (testimonial.author), company: (testimonial.company) } %}
{% block image %}
<img
src=\"{{ imageCache('/userfiles/images/testimonial/' ~ testimonial.image, 'zoomCrop', 738, 1150) }}\"
alt=\"{{ testimonial.author }}\"
>
{% endblock %}
{% block content %}<h2 class=\"testimonial__name\">{{ testimonial.title }}</h2>
{{ allowInlineEditor(testimonial, 'content')|raw }}
{% endblock %}{% endcomponent %}
{% endif %}
{% endfor %}
{% for testimonial in testimonials %}
{% if not testimonial.featured %}
{% component 'Testimonial' with { author: (testimonial.author), company: (testimonial.company) } %}
{# <twig:block name=\"image\">
<img
src=\"{{ imageCache('/userfiles/images/testimonial/' ~ testimonial.image, 'zoomCrop', 738, 1150) }}\"
alt=\"{{ testimonial.author }}\"
>
</twig:block> #}
{% block content %}{{ testimonial.content|striptags|replace({\" \": \" \"})|nl2br }}
{% endblock %}{% endcomponent %}
{% endif %}
{% endfor %}
</div>
</section>
{{ component('WhatsAppBlock', { alt: 'true' }) }}
", "@theme/testimonial/testimonials.html.twig", "/var/www/html/t/taurushr/templates/themes/theme/testimonial/testimonials.html.twig");
}
}
/* @theme/testimonial/testimonials.html.twig */
class __TwigTemplate_964e106aa4bc3076a5cba843ec3a0382___19124567051 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'outer__block_fallback' => [$this, 'block_outer__block_fallback'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 19
return $this->load((isset($context["__parent__"]) || array_key_exists("__parent__", $context) ? $context["__parent__"] : (function () { throw new RuntimeError('Variable "__parent__" does not exist.', 19, $this->source); })()), 19);
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@theme/testimonial/testimonials.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@theme/testimonial/testimonials.html.twig"));
yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_outer__block_fallback(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 26
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
yield Twig\Extension\CoreExtension::nl2br($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::replace(Twig\Extension\CoreExtension::striptags(CoreExtension::getAttribute($this->env, $this->source, (isset($context["testimonial"]) || array_key_exists("testimonial", $context) ? $context["testimonial"] : (function () { throw new RuntimeError('Variable "testimonial" does not exist.', 26, $this->source); })()), "content", [], "any", false, false, false, 26)), [" " => " "]), "html", null, true));
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@theme/testimonial/testimonials.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 476 => 26, 433 => 19, 334 => 13, 317 => 12, 303 => 9, 299 => 8, 296 => 7, 283 => 6, 240 => 5, 140 => 32, 136 => 30, 130 => 29, 127 => 28, 112 => 19, 109 => 18, 104 => 17, 90 => 16, 87 => 15, 72 => 5, 69 => 4, 52 => 3, 48 => 1,);
}
public function getSourceContext(): Source
{
return new Source("<section class=\"testimonials\">
<div class=\"container\">
{% for testimonial in testimonials %}
{% if testimonial.featured %}
{% component 'Testimonial' with { featured: (true), reverse: (loop.index is even), author: (testimonial.author), company: (testimonial.company) } %}
{% block image %}
<img
src=\"{{ imageCache('/userfiles/images/testimonial/' ~ testimonial.image, 'zoomCrop', 738, 1150) }}\"
alt=\"{{ testimonial.author }}\"
>
{% endblock %}
{% block content %}<h2 class=\"testimonial__name\">{{ testimonial.title }}</h2>
{{ allowInlineEditor(testimonial, 'content')|raw }}
{% endblock %}{% endcomponent %}
{% endif %}
{% endfor %}
{% for testimonial in testimonials %}
{% if not testimonial.featured %}
{% component 'Testimonial' with { author: (testimonial.author), company: (testimonial.company) } %}
{# <twig:block name=\"image\">
<img
src=\"{{ imageCache('/userfiles/images/testimonial/' ~ testimonial.image, 'zoomCrop', 738, 1150) }}\"
alt=\"{{ testimonial.author }}\"
>
</twig:block> #}
{% block content %}{{ testimonial.content|striptags|replace({\" \": \" \"})|nl2br }}
{% endblock %}{% endcomponent %}
{% endif %}
{% endfor %}
</div>
</section>
{{ component('WhatsAppBlock', { alt: 'true' }) }}
", "@theme/testimonial/testimonials.html.twig", "/var/www/html/t/taurushr/templates/themes/theme/testimonial/testimonials.html.twig");
}
}