<?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;
/* themes/theme/sectors/article.html.twig */
class __TwigTemplate_98709a09e214791b72070aa5039f7361 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", "themes/theme/sectors/article.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/sectors/article.html.twig"));
// line 1
yield "<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"Service\",
\"name\": \"";
// line 5
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["sitename"]) || array_key_exists("sitename", $context) ? $context["sitename"] : (function () { throw new RuntimeError('Variable "sitename" does not exist.', 5, $this->source); })()), "html", null, true);
yield "\",
\"serviceType\": \"";
// line 6
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 6, $this->source); })()), "title", [], "any", false, false, false, 6), "html", null, true);
yield "\",
\"provider\": {
\"@type\": \"LocalBusiness\",
\"name\": \"";
// line 9
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["sitename"]) || array_key_exists("sitename", $context) ? $context["sitename"] : (function () { throw new RuntimeError('Variable "sitename" does not exist.', 9, $this->source); })()), "html", null, true);
yield "\",
\"url\": \"";
// line 10
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["siteurl"]) || array_key_exists("siteurl", $context) ? $context["siteurl"] : (function () { throw new RuntimeError('Variable "siteurl" does not exist.', 10, $this->source); })()), "html", null, true);
yield "\"
},
\"areaServed\": [
{
\"@type\": \"Place\",
\"name\": \"London\"
},
{
\"@type\": \"Place\",
\"name\": \"Esssex\"
},
{
\"@type\": \"Place\",
\"name\": \"Kent\"
},
{
\"@type\": \"Place\",
\"name\": \"Cambridge\"
},
{
\"@type\": \"Place\",
\"name\": \"Oxford\"
}
],
\"description\": \"";
// line 34
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags(CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 34, $this->source); })()), "kicker", [], "any", false, false, false, 34)), "html", null, true);
yield "\",
\"url\": \"";
// line 35
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["siteurl"]) || array_key_exists("siteurl", $context) ? $context["siteurl"] : (function () { throw new RuntimeError('Variable "siteurl" does not exist.', 35, $this->source); })()), "html", null, true);
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('generatePath')->getCallable()(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.', 35, $this->source); })()), "request", [], "any", false, false, false, 35), CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 35, $this->source); })()), "linkedPageId", [], "any", false, false, false, 35), ["sector_slug" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 35, $this->source); })()), "slug", [], "any", false, false, false, 35)]), "html", null, true);
yield "\"
}
</script>
";
// line 42
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 42, $this->source); })()), "image", [], "any", false, false, false, 42)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 43
yield " <div class=\"banner-image banner-image--gradient\" style=\"background-image:url('";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()(("/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 43, $this->source); })()), "getFullImagePath", [], "any", false, false, false, 43)), "zoomCrop", 3200, 1680), "html", null, true);
yield "');\"></div>
";
}
// line 45
yield "
<section class=\"page-content";
// line 46
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 46, $this->source); })()), "image", [], "any", false, false, false, 46) == null)) {
yield " pt-[148px] md:pt-[163px]";
}
yield "\">
<div class=\"container\">
<div class=\"bg-primary text-center text-white p-10 relative z-20 mb-12 ";
// line 48
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 48, $this->source); })()), "image", [], "any", false, false, false, 48) != null)) {
yield " -mt-12 sm:-mt-24 md:-mt-52";
} else {
yield "mt-12";
}
yield "\">
";
// line 49
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 49, $this->source); })()), "icon", [], "any", false, false, false, 49)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 50
yield " <span class=\"text-5xl mb-6 block\">";
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 50, $this->source); })()), "icon", [], "any", false, false, false, 50);
yield "</span>
";
}
// line 52
yield " <h1 class=\"text-white\">";
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 52, $this->source); })()), "title");
yield "</h1>
";
// line 53
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 53, $this->source); })()), "subtitle", [], "any", false, false, false, 53)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 54
yield " <h3 class=\"text-white\">";
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 54, $this->source); })()), "subtitle");
yield "</h3>
";
}
// line 56
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 56, $this->source); })()), "kicker", [], "any", false, false, false, 56)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 57
yield " ";
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 57, $this->source); })()), "kicker");
yield "
";
}
// line 59
yield " </div>
";
// line 60
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 60, $this->source); })()), "content", [], "any", false, false, false, 60) || CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 60, $this->source); })()), "content2", [], "any", false, false, false, 60))) {
// line 61
yield " <div class=\"row cms-area mb-12\">
<div class=\"md:col-6 text-2xl font-bold mb-6 md:mb-0\">
";
// line 63
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 63, $this->source); })()), "content");
yield "
</div>
<div class=\"md:col-6\">
";
// line 66
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 66, $this->source); })()), "content2");
yield "
</div>
</div>
";
}
// line 70
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 70, $this->source); })()), "content3", [], "any", false, false, false, 70)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 71
yield " <div class=\"row cms-area mb-12\">
<div class=\"md:col-12\">
";
// line 73
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 73, $this->source); })()), "content3");
yield "
</div>
</div>
";
}
// line 77
yield " ";
if (((CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 77, $this->source); })()), "image2", [], "any", false, false, false, 77) || CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 77, $this->source); })()), "image3", [], "any", false, false, false, 77)) || CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 77, $this->source); })()), "image4", [], "any", false, false, false, 77))) {
// line 78
yield " <div class=\"row mb-12\">
";
// line 79
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 79, $this->source); })()), "image2", [], "any", false, false, false, 79)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 80
yield " <div class=\"";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 80, $this->source); })()), "image4", [], "any", false, false, false, 80)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield "md:col-3";
} else {
yield " md:col-6";
}
yield " sm:col-6 mb-8 md:mb-0\">
<img src=\"";
// line 81
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()(("/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 81, $this->source); })()), "getFullImage2Path", [], "any", false, false, false, 81)), "zoomCrop", 540, 640), "html", null, true);
yield "\" width=\"370\" height=\"438\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 81, $this->source); })()), "title", [], "any", false, false, false, 81), "html", null, true);
yield "\" loading=\"lazy\" />
</div>
";
}
// line 84
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 84, $this->source); })()), "image3", [], "any", false, false, false, 84)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 85
yield " <div class=\"";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 85, $this->source); })()), "image4", [], "any", false, false, false, 85)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield "md:col-3";
} else {
yield " md:col-6";
}
yield " sm:col-6 mb-8 md:mb-0\">
<img src=\"";
// line 86
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()(("/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 86, $this->source); })()), "getFullImage3Path", [], "any", false, false, false, 86)), "zoomCrop", 540, 640), "html", null, true);
yield "\" width=\"370\" height=\"438\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 86, $this->source); })()), "title", [], "any", false, false, false, 86), "html", null, true);
yield "\" loading=\"lazy\" />
</div>
";
}
// line 89
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 89, $this->source); })()), "image4", [], "any", false, false, false, 89)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 90
yield " <div class=\"md:col-6\">
<img src=\"";
// line 91
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()(("/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 91, $this->source); })()), "getFullImage4Path", [], "any", false, false, false, 91)), "zoomCrop", 1130, 640), "html", null, true);
yield "\" width=\"670\" height=\"380\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 91, $this->source); })()), "title", [], "any", false, false, false, 91), "html", null, true);
yield "\" loading=\"lazy\" />
</div>
";
}
// line 94
yield " </div>
";
}
// line 96
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 96, $this->source); })()), "content4", [], "any", false, false, false, 96)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 97
yield " <div class=\"row cms-area mb-12\">
<div class=\"md:col-12\">
";
// line 99
yield $this->env->getFunction('allowInlineEditor')->getCallable()((isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 99, $this->source); })()), "content4");
yield "
</div>
</div>
";
}
// line 103
yield " </div>
</section>
";
// line 106
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 106, $this->source); })()), "gallery", [], "any", false, false, false, 106) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 106, $this->source); })()), "gallery", [], "any", false, false, false, 106), "galleryImages", [], "any", false, false, false, 106)) > 0))) {
// line 107
yield " <div class=\"container mb-4\">
<div class=\"row\">
<div class=\"col-12 text-center\">
<h3 class=\"text-green mb-8 mt-0\">Sector Gallery</h3>
";
// line 111
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 111, $this->source); })()), "gallery", [], "any", false, false, false, 111), "content", [], "any", false, false, false, 111)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 112
yield " <div class=\"mb-12\">
";
// line 113
yield $this->env->getFunction('allowInlineEditor')->getCallable()(CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 113, $this->source); })()), "gallery", [], "any", false, false, false, 113), "content");
yield "
</div>
";
}
// line 116
yield " </div>
</div>
<div class=\"row\">
";
// line 119
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["sector"]) || array_key_exists("sector", $context) ? $context["sector"] : (function () { throw new RuntimeError('Variable "sector" does not exist.', 119, $this->source); })()), "gallery", [], "any", false, false, false, 119), "galleryImages", [], "any", false, false, false, 119));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 120
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, $context["image"], "file", [], "any", false, false, false, 120)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 121
yield " <div class=\"lg:col-6 mb-8\">
<video class=\"w-full h-auto\" src=\"";
// line 122
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["image"], "getFileUrl", [], "method", false, false, false, 122), "html", null, true);
yield "\" controls></video>
</div>
";
} else {
// line 125
yield " <div class=\"lg:col-6 mb-8\">
<img class=\"max-w-full h-auto\" src=\"";
// line 126
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()(("/" . CoreExtension::getAttribute($this->env, $this->source, $context["image"], "getFullImagePath", [], "any", false, false, false, 126)), "zoomCrop", 1140, 640), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["image"], "title", [], "any", false, false, false, 126), "html", null, true);
yield "\" loading=\"lazy\" />
</div>
";
}
// line 129
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['image'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 130
yield " </div>
</div>
";
}
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "themes/theme/sectors/article.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 341 => 130, 335 => 129, 327 => 126, 324 => 125, 318 => 122, 315 => 121, 312 => 120, 308 => 119, 303 => 116, 297 => 113, 294 => 112, 292 => 111, 286 => 107, 284 => 106, 279 => 103, 272 => 99, 268 => 97, 265 => 96, 261 => 94, 253 => 91, 250 => 90, 247 => 89, 239 => 86, 230 => 85, 227 => 84, 219 => 81, 210 => 80, 208 => 79, 205 => 78, 202 => 77, 195 => 73, 191 => 71, 188 => 70, 181 => 66, 175 => 63, 171 => 61, 169 => 60, 166 => 59, 160 => 57, 157 => 56, 151 => 54, 149 => 53, 144 => 52, 138 => 50, 136 => 49, 128 => 48, 121 => 46, 118 => 45, 112 => 43, 110 => 42, 99 => 35, 95 => 34, 68 => 10, 64 => 9, 58 => 6, 54 => 5, 48 => 1,);
}
public function getSourceContext(): Source
{
return new Source("<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"Service\",
\"name\": \"{{ sitename }}\",
\"serviceType\": \"{{ sector.title }}\",
\"provider\": {
\"@type\": \"LocalBusiness\",
\"name\": \"{{ sitename }}\",
\"url\": \"{{ siteurl }}\"
},
\"areaServed\": [
{
\"@type\": \"Place\",
\"name\": \"London\"
},
{
\"@type\": \"Place\",
\"name\": \"Esssex\"
},
{
\"@type\": \"Place\",
\"name\": \"Kent\"
},
{
\"@type\": \"Place\",
\"name\": \"Cambridge\"
},
{
\"@type\": \"Place\",
\"name\": \"Oxford\"
}
],
\"description\": \"{{ sector.kicker|raw|striptags }}\",
\"url\": \"{{ siteurl }}{{ generatePath(app.request, sector.linkedPageId, {sector_slug: sector.slug}) }}\"
}
</script>
{% if sector.image %}
<div class=\"banner-image banner-image--gradient\" style=\"background-image:url('{{ imageCache('/'~ sector.getFullImagePath, 'zoomCrop', 3200, 1680) }}');\"></div>
{% endif %}
<section class=\"page-content{% if sector.image == null %} pt-[148px] md:pt-[163px]{% endif %}\">
<div class=\"container\">
<div class=\"bg-primary text-center text-white p-10 relative z-20 mb-12 {% if sector.image != null %} -mt-12 sm:-mt-24 md:-mt-52{% else %}mt-12{% endif %}\">
{% if sector.icon %}
<span class=\"text-5xl mb-6 block\">{{ sector.icon|raw }}</span>
{% endif %}
<h1 class=\"text-white\">{{ allowInlineEditor(sector, 'title')|raw }}</h1>
{% if sector.subtitle %}
<h3 class=\"text-white\">{{ allowInlineEditor(sector, 'subtitle')|raw }}</h3>
{% endif %}
{% if sector.kicker %}
{{ allowInlineEditor(sector, 'kicker')|raw }}
{% endif %}
</div>
{% if sector.content or sector.content2 %}
<div class=\"row cms-area mb-12\">
<div class=\"md:col-6 text-2xl font-bold mb-6 md:mb-0\">
{{ allowInlineEditor(sector, 'content')|raw }}
</div>
<div class=\"md:col-6\">
{{ allowInlineEditor(sector, 'content2')|raw }}
</div>
</div>
{% endif %}
{% if sector.content3 %}
<div class=\"row cms-area mb-12\">
<div class=\"md:col-12\">
{{ allowInlineEditor(sector, 'content3')|raw }}
</div>
</div>
{% endif %}
{% if sector.image2 or sector.image3 or sector.image4 %}
<div class=\"row mb-12\">
{% if sector.image2 %}
<div class=\"{% if sector.image4 %}md:col-3{% else %} md:col-6{% endif %} sm:col-6 mb-8 md:mb-0\">
<img src=\"{{ imageCache('/'~ sector.getFullImage2Path, 'zoomCrop', 540, 640) }}\" width=\"370\" height=\"438\" alt=\"{{ sector.title }}\" loading=\"lazy\" />
</div>
{% endif %}
{% if sector.image3 %}
<div class=\"{% if sector.image4 %}md:col-3{% else %} md:col-6{% endif %} sm:col-6 mb-8 md:mb-0\">
<img src=\"{{ imageCache('/'~ sector.getFullImage3Path, 'zoomCrop', 540, 640) }}\" width=\"370\" height=\"438\" alt=\"{{ sector.title }}\" loading=\"lazy\" />
</div>
{% endif %}
{% if sector.image4 %}
<div class=\"md:col-6\">
<img src=\"{{ imageCache('/'~ sector.getFullImage4Path, 'zoomCrop', 1130, 640) }}\" width=\"670\" height=\"380\" alt=\"{{ sector.title }}\" loading=\"lazy\" />
</div>
{% endif %}
</div>
{% endif %}
{% if sector.content4 %}
<div class=\"row cms-area mb-12\">
<div class=\"md:col-12\">
{{ allowInlineEditor(sector, 'content4')|raw }}
</div>
</div>
{% endif %}
</div>
</section>
{% if sector.gallery and sector.gallery.galleryImages|length > 0 %}
<div class=\"container mb-4\">
<div class=\"row\">
<div class=\"col-12 text-center\">
<h3 class=\"text-green mb-8 mt-0\">Sector Gallery</h3>
{% if sector.gallery.content %}
<div class=\"mb-12\">
{{ allowInlineEditor(sector.gallery, 'content')|raw }}
</div>
{% endif %}
</div>
</div>
<div class=\"row\">
{% for image in sector.gallery.galleryImages %}
{% if image.file %}
<div class=\"lg:col-6 mb-8\">
<video class=\"w-full h-auto\" src=\"{{ image.getFileUrl() }}\" controls></video>
</div>
{% else %}
<div class=\"lg:col-6 mb-8\">
<img class=\"max-w-full h-auto\" src=\"{{ imageCache('/'~ image.getFullImagePath, 'zoomCrop', 1140, 640) }}\" alt=\"{{ image.title }}\" loading=\"lazy\" />
</div>
{% endif %}
{% endfor %}
</div>
</div>
{% endif %}
", "themes/theme/sectors/article.html.twig", "/var/www/html/k/kasscaffolding/templates/themes/theme/sectors/article.html.twig");
}
}