Deprecated: Symfony\Component\Translation\t(): Implicitly marking parameter $domain as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/translation/Resources/functions.php on line 18

Deprecated: Symfony\Component\Dotenv\Dotenv::loadEnv(): Implicitly marking parameter $envKey as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/dotenv/Dotenv.php on line 110

Deprecated: Symfony\Component\Runtime\GenericRuntime::getResolver(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/runtime/GenericRuntime.php on line 89

Deprecated: Symfony\Component\Runtime\RuntimeInterface::getResolver(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/runtime/RuntimeInterface.php on line 26

Deprecated: Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $argv as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/ArgvInput.php on line 46

Deprecated: Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/ArgvInput.php on line 46

Deprecated: Symfony\Component\Console\Input\Input::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/Input.php on line 36

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

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

var/cache/dev/twig/d1/d1f6944790c5a5d157a86ef0e7092817.php line 111

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/templates/cmspage-themed-header.html.twig */
  14. class __TwigTemplate_6ed62f6453768e0e8f3a82f22da72d60 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->blocks = [
  23.             'metatitle' => [$this'block_metatitle'],
  24.             'metadescription' => [$this'block_metadescription'],
  25.             'body' => [$this'block_body'],
  26.             'stylesheets' => [$this'block_stylesheets'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "@theme/base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/templates/cmspage-themed-header.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/templates/cmspage-themed-header.html.twig"));
  41.         $this->parent $this->loadTemplate("@theme/base.html.twig""@theme/templates/cmspage-themed-header.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 2
  49.     public function block_metatitle($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatitle"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metatitle"));
  56.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'2$this->source); })()), "metatitle", [], "any"falsefalsefalse2), "html"nulltrue);
  57.         
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  59.         
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  61.     }
  62.     // line 3
  63.     public function block_metadescription($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metadescription"));
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metadescription"));
  70.         // line 4
  71.         echo twig_escape_filter($this->envtwig_slice($this->envtwig_striptags(twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'4$this->source); })()), "metadescription", [], "any"falsefalsefalse4)), 0160), "html"nulltrue);
  72.         
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  74.         
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  76.     }
  77.     // line 7
  78.     public function block_body($context, array $blocks = [])
  79.     {
  80.         $macros $this->macros;
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  85.         // line 8
  86.         echo "  ";
  87.         $context["pagetitle"] = (($this->extensions['App\Twig\TwigExtension']->{closure:App\Twig\TwigExtension::getFunctions():56}((isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'8$this->source); })()), "title")) ? ($this->extensions['App\Twig\TwigExtension']->{closure:App\Twig\TwigExtension::getFunctions():56}((isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'8$this->source); })()), "title")) : (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'8$this->source); })()), "title", [], "any"falsefalsefalse8)));
  88.         // line 9
  89.         echo "  ";
  90.         $context["subtitle"] = (($this->extensions['App\Twig\TwigExtension']->{closure:App\Twig\TwigExtension::getFunctions():56}((isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'9$this->source); })()), "subtitle")) ? ($this->extensions['App\Twig\TwigExtension']->{closure:App\Twig\TwigExtension::getFunctions():56}((isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'9$this->source); })()), "subtitle")) : (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'9$this->source); })()), "subtitle", [], "any"falsefalsefalse9)));
  91.         // line 10
  92.         echo "
  93.   ";
  94.         // line 11
  95.         echo $this->env->getRuntime('Symfony\UX\TwigComponent\Twig\ComponentRuntime')->render("PageHeroThemed", ["page" => (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'11$this->source); })())]);
  96.         echo "
  97.   ";
  98.         // line 13
  99.         if (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'13$this->source); })()), "content", [], "any"falsefalsefalse13)) {
  100.             // line 14
  101.             echo "    ";
  102.             $__internal_compile_0 $this->env->getRuntime("Symfony\\UX\\TwigComponent\\Twig\\ComponentRuntime");
  103.             $preRendered $__internal_compile_0->preRender("PageMainContent"twig_to_array([]));
  104.             if (null !== $preRendered) {
  105.                 echo $preRendered
  106.             } else {
  107.                 $preRenderEvent $__internal_compile_0->startEmbedComponent("PageMainContent"twig_to_array([]), $context"@theme/templates/cmspage-themed-header.html.twig"38494715781);
  108.                 $embeddedContext $preRenderEvent->getVariables();
  109.                 $embeddedContext["__parent__"] = $preRenderEvent->getTemplate();
  110.                 $embeddedContext["outerBlocks"] ??= new \Symfony\UX\TwigComponent\BlockStack();
  111.                 $embeddedBlocks $embeddedContext["outerBlocks"]->convert($blocks38494715781);
  112.                 $this->loadTemplate("@theme/templates/cmspage-themed-header.html.twig""@theme/templates/cmspage-themed-header.html.twig"14"38494715781")->display($embeddedContext$embeddedBlocks);
  113.                 $__internal_compile_0->finishEmbedComponent();
  114.             }
  115.             // line 27
  116.             echo "  ";
  117.         }
  118.         // line 28
  119.         echo "
  120.   <div class=\"header-block\">
  121.     <div class=\"contact-details\">
  122.       ";
  123.         // line 31
  124.         echo $this->extensions['App\Twig\TwigExtension']->{closure:App\Twig\TwigExtension::getFunctions():57}("Contact Details");
  125.         echo "
  126.     </div>
  127.   </div>
  128.   ";
  129.         // line 35
  130.         echo $this->extensions['App\Twig\TwigExtension']->{closure:App\Twig\TwigExtension::getFunctions():50}((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'35$this->source); })()), "content3");
  131.         echo "
  132.   ";
  133.         // line 37
  134.         $this->loadTemplate("@theme/landing_page_blocks/index.html.twig""@theme/templates/cmspage-themed-header.html.twig"37)->display(twig_array_merge($context, ["blocks" => twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'37$this->source); })()), "landingPageBlocks", [], "any"falsefalsefalse37)]));
  135.         // line 38
  136.         echo "
  137.   ";
  138.         // line 40
  139.         echo "  ";
  140.         echo $this->extensions['App\Twig\TwigExtension']->{closure:App\Twig\TwigExtension::getFunctions():41}("Before Content", (isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'40$this->source); })()));
  141.         echo "
  142.   ";
  143.         // line 41
  144.         echo $this->extensions['App\Twig\TwigExtension']->{closure:App\Twig\TwigExtension::getFunctions():41}("After Content", (isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'41$this->source); })()));
  145.         echo "
  146.   ";
  147.         // line 42
  148.         if (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'42$this->source); })()), "testimonial", [], "any"falsefalsefalse42)) {
  149.             // line 43
  150.             echo "    ";
  151.             echo $this->env->getRuntime('Symfony\UX\TwigComponent\Twig\ComponentRuntime')->render("SingleTestimonial", ["testimonial" => twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'43$this->source); })()), "testimonial", [], "any"falsefalsefalse43)]);
  152.             echo "
  153.   ";
  154.         }
  155.         // line 45
  156.         echo "  ";
  157.         echo $this->extensions['App\Twig\TwigExtension']->{closure:App\Twig\TwigExtension::getFunctions():41}("Contact Form", (isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'45$this->source); })()));
  158.         echo "
  159.   ";
  160.         // line 46
  161.         echo $this->extensions['App\Twig\TwigExtension']->{closure:App\Twig\TwigExtension::getFunctions():41}("Before Footer", (isset($context["pageComponents"]) || array_key_exists("pageComponents"$context) ? $context["pageComponents"] : (function () { throw new RuntimeError('Variable "pageComponents" does not exist.'46$this->source); })()));
  162.         echo "
  163.   ";
  164.         // line 47
  165.         if ((twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'47$this->source); })()), "id", [], "any"falsefalsefalse47) == 6)) {
  166.             // line 48
  167.             echo "    ";
  168.             // line 49
  169.             echo "    ";
  170.             echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\WisdomController::index"));
  171.             echo "
  172.   ";
  173.         }
  174.         
  175.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  176.         
  177.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  178.     }
  179.     // line 53
  180.     public function block_stylesheets($context, array $blocks = [])
  181.     {
  182.         $macros $this->macros;
  183.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  184.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  185.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  186.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  187.         
  188.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  189.         
  190.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  191.     }
  192.     /**
  193.      * @codeCoverageIgnore
  194.      */
  195.     public function getTemplateName()
  196.     {
  197.         return "@theme/templates/cmspage-themed-header.html.twig";
  198.     }
  199.     /**
  200.      * @codeCoverageIgnore
  201.      */
  202.     public function isTraitable()
  203.     {
  204.         return false;
  205.     }
  206.     /**
  207.      * @codeCoverageIgnore
  208.      */
  209.     public function getDebugInfo()
  210.     {
  211.         return array (  210 => 53,  196 => 49,  194 => 48,  192 => 47,  188 => 46,  183 => 45,  177 => 43,  175 => 42,  171 => 41,  166 => 40,  163 => 38,  161 => 37,  156 => 35,  149 => 31,  144 => 28,  141 => 27,  126 => 14,  124 => 13,  119 => 11,  116 => 10,  113 => 9,  110 => 8,  100 => 7,  90 => 4,  80 => 3,  61 => 2,  38 => 1,);
  212.     }
  213.     public function getSourceContext()
  214.     {
  215.         return new Source("{% extends '@theme/base.html.twig' %}
  216. {% block metatitle %}{{ page.metatitle }}{% endblock %}
  217. {% block metadescription -%}
  218.   {{- page.metadescription|striptags|slice(0, 160) -}}
  219. {%- endblock %}
  220. {% block body %}
  221.   {% set pagetitle = replaceIfComponentDataExists(pageComponents, 'title') ? replaceIfComponentDataExists(pageComponents, 'title') : page.title %}
  222.   {% set subtitle = replaceIfComponentDataExists(pageComponents, 'subtitle') ? replaceIfComponentDataExists(pageComponents, 'subtitle') : page.subtitle %}
  223.   {{ component('PageHeroThemed', { page: page }) }}
  224.   {% if page.content %}
  225.     {% component 'PageMainContent' %}
  226.       {% block content %}{{ allowInlineEditor(page, 'content')|raw }}
  227.       {% endblock %}{% block content2 %}
  228.         {% if page.content2 %}
  229.           {{ allowInlineEditor(page, 'content2')|raw }}
  230.         {% endif %}
  231.       {% endblock %}
  232.       {% block buttons %}
  233.         {% if page.ctaText and page.ctaLink %}
  234.           <a href=\"{{ page.ctaLink }}\" class=\"button\">{{ page.ctaText }}</a>
  235.         {% endif %}
  236.       {% endblock %}
  237.     {% endcomponent %}
  238.   {% endif %}
  239.   <div class=\"header-block\">
  240.     <div class=\"contact-details\">
  241.       {{ forceRenderPcgcHtmlBlock('Contact Details')|raw }}
  242.     </div>
  243.   </div>
  244.   {{ allowInlineEditor(page, 'content3')|raw }}
  245.   {% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
  246.   {# {{ breadcrumbs(page, domCheckIgnore(app.request.pathinfo) ) }} #}
  247.   {{ renderPcgcComponents('Before Content', pageComponents)|raw }}
  248.   {{ renderPcgcComponents('After Content', pageComponents)|raw }}
  249.   {% if page.testimonial %}
  250.     {{ component('SingleTestimonial', { testimonial: page.testimonial }) }}
  251.   {% endif %}
  252.   {{ renderPcgcComponents('Contact Form', pageComponents)|raw }}
  253.   {{ renderPcgcComponents('Before Footer', pageComponents)|raw }}
  254.   {% if page.id == 6 %}
  255.     {# About page #}
  256.     {{ render(controller('App\\\\Controller\\\\WisdomController::index')) }}
  257.   {% endif %}
  258. {% endblock %}
  259. {% block stylesheets %}{% endblock %}
  260. ""@theme/templates/cmspage-themed-header.html.twig""/var/www/html/t/taurushr/templates/themes/theme/templates/cmspage-themed-header.html.twig");
  261.     }
  262. }
  263. /* @theme/templates/cmspage-themed-header.html.twig */
  264. class __TwigTemplate_6ed62f6453768e0e8f3a82f22da72d60___38494715781 extends Template
  265. {
  266.     private $source;
  267.     private $macros = [];
  268.     public function __construct(Environment $env)
  269.     {
  270.         parent::__construct($env);
  271.         $this->source $this->getSourceContext();
  272.         $this->blocks = [
  273.             'outer__block_fallback' => [$this'block_outer__block_fallback'],
  274.             'content' => [$this'block_content'],
  275.             'content2' => [$this'block_content2'],
  276.             'buttons' => [$this'block_buttons'],
  277.         ];
  278.     }
  279.     protected function doGetParent(array $context)
  280.     {
  281.         // line 14
  282.         return $this->loadTemplate((isset($context["__parent__"]) || array_key_exists("__parent__"$context) ? $context["__parent__"] : (function () { throw new RuntimeError('Variable "__parent__" does not exist.'14$this->source); })()), "@theme/templates/cmspage-themed-header.html.twig"14);
  283.     }
  284.     protected function doDisplay(array $context, array $blocks = [])
  285.     {
  286.         $macros $this->macros;
  287.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  288.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/templates/cmspage-themed-header.html.twig"));
  289.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  290.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@theme/templates/cmspage-themed-header.html.twig"));
  291.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  292.         
  293.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  294.         
  295.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  296.     }
  297.     public function block_outer__block_fallback($context, array $blocks = [])
  298.     {
  299.         $macros $this->macros;
  300.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  301.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""outer__block_fallback"));
  302.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  303.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""outer__block_fallback"));
  304.         
  305.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  306.         
  307.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  308.     }
  309.     // line 15
  310.     public function block_content($context, array $blocks = [])
  311.     {
  312.         $macros $this->macros;
  313.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  314.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  315.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  316.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  317.         echo $this->extensions['App\Twig\TwigExtension']->{closure:App\Twig\TwigExtension::getFunctions():50}((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'15$this->source); })()), "content");
  318.         echo "
  319.       ";
  320.         
  321.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  322.         
  323.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  324.     }
  325.     // line 16
  326.     public function block_content2($context, array $blocks = [])
  327.     {
  328.         $macros $this->macros;
  329.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  330.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content2"));
  331.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  332.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content2"));
  333.         // line 17
  334.         echo "        ";
  335.         if (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'17$this->source); })()), "content2", [], "any"falsefalsefalse17)) {
  336.             // line 18
  337.             echo "          ";
  338.             echo $this->extensions['App\Twig\TwigExtension']->{closure:App\Twig\TwigExtension::getFunctions():50}((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'18$this->source); })()), "content2");
  339.             echo "
  340.         ";
  341.         }
  342.         // line 20
  343.         echo "      ";
  344.         
  345.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  346.         
  347.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  348.     }
  349.     // line 21
  350.     public function block_buttons($context, array $blocks = [])
  351.     {
  352.         $macros $this->macros;
  353.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  354.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""buttons"));
  355.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  356.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""buttons"));
  357.         // line 22
  358.         echo "        ";
  359.         if ((twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'22$this->source); })()), "ctaText", [], "any"falsefalsefalse22) && twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'22$this->source); })()), "ctaLink", [], "any"falsefalsefalse22))) {
  360.             // line 23
  361.             echo "          <a href=\"";
  362.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'23$this->source); })()), "ctaLink", [], "any"falsefalsefalse23), "html"nulltrue);
  363.             echo "\" class=\"button\">";
  364.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'23$this->source); })()), "ctaText", [], "any"falsefalsefalse23), "html"nulltrue);
  365.             echo "</a>
  366.         ";
  367.         }
  368.         // line 25
  369.         echo "      ";
  370.         
  371.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  372.         
  373.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  374.     }
  375.     /**
  376.      * @codeCoverageIgnore
  377.      */
  378.     public function getTemplateName()
  379.     {
  380.         return "@theme/templates/cmspage-themed-header.html.twig";
  381.     }
  382.     /**
  383.      * @codeCoverageIgnore
  384.      */
  385.     public function isTraitable()
  386.     {
  387.         return false;
  388.     }
  389.     /**
  390.      * @codeCoverageIgnore
  391.      */
  392.     public function getDebugInfo()
  393.     {
  394.         return array (  444 => 25,  436 => 23,  433 => 22,  423 => 21,  413 => 20,  407 => 18,  404 => 17,  394 => 16,  373 => 15,  334 => 14,  210 => 53,  196 => 49,  194 => 48,  192 => 47,  188 => 46,  183 => 45,  177 => 43,  175 => 42,  171 => 41,  166 => 40,  163 => 38,  161 => 37,  156 => 35,  149 => 31,  144 => 28,  141 => 27,  126 => 14,  124 => 13,  119 => 11,  116 => 10,  113 => 9,  110 => 8,  100 => 7,  90 => 4,  80 => 3,  61 => 2,  38 => 1,);
  395.     }
  396.     public function getSourceContext()
  397.     {
  398.         return new Source("{% extends '@theme/base.html.twig' %}
  399. {% block metatitle %}{{ page.metatitle }}{% endblock %}
  400. {% block metadescription -%}
  401.   {{- page.metadescription|striptags|slice(0, 160) -}}
  402. {%- endblock %}
  403. {% block body %}
  404.   {% set pagetitle = replaceIfComponentDataExists(pageComponents, 'title') ? replaceIfComponentDataExists(pageComponents, 'title') : page.title %}
  405.   {% set subtitle = replaceIfComponentDataExists(pageComponents, 'subtitle') ? replaceIfComponentDataExists(pageComponents, 'subtitle') : page.subtitle %}
  406.   {{ component('PageHeroThemed', { page: page }) }}
  407.   {% if page.content %}
  408.     {% component 'PageMainContent' %}
  409.       {% block content %}{{ allowInlineEditor(page, 'content')|raw }}
  410.       {% endblock %}{% block content2 %}
  411.         {% if page.content2 %}
  412.           {{ allowInlineEditor(page, 'content2')|raw }}
  413.         {% endif %}
  414.       {% endblock %}
  415.       {% block buttons %}
  416.         {% if page.ctaText and page.ctaLink %}
  417.           <a href=\"{{ page.ctaLink }}\" class=\"button\">{{ page.ctaText }}</a>
  418.         {% endif %}
  419.       {% endblock %}
  420.     {% endcomponent %}
  421.   {% endif %}
  422.   <div class=\"header-block\">
  423.     <div class=\"contact-details\">
  424.       {{ forceRenderPcgcHtmlBlock('Contact Details')|raw }}
  425.     </div>
  426.   </div>
  427.   {{ allowInlineEditor(page, 'content3')|raw }}
  428.   {% include '@theme/landing_page_blocks/index.html.twig' with { blocks: page.landingPageBlocks } %}
  429.   {# {{ breadcrumbs(page, domCheckIgnore(app.request.pathinfo) ) }} #}
  430.   {{ renderPcgcComponents('Before Content', pageComponents)|raw }}
  431.   {{ renderPcgcComponents('After Content', pageComponents)|raw }}
  432.   {% if page.testimonial %}
  433.     {{ component('SingleTestimonial', { testimonial: page.testimonial }) }}
  434.   {% endif %}
  435.   {{ renderPcgcComponents('Contact Form', pageComponents)|raw }}
  436.   {{ renderPcgcComponents('Before Footer', pageComponents)|raw }}
  437.   {% if page.id == 6 %}
  438.     {# About page #}
  439.     {{ render(controller('App\\\\Controller\\\\WisdomController::index')) }}
  440.   {% endif %}
  441. {% endblock %}
  442. {% block stylesheets %}{% endblock %}
  443. ""@theme/templates/cmspage-themed-header.html.twig""/var/www/html/t/taurushr/templates/themes/theme/templates/cmspage-themed-header.html.twig");
  444.     }
  445. }