var/cache/dev/twig/4f/4f50cb17f0de2ae1e7a6c59ec11a5d84.php line 200

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* areas/homepageHero/homepageHero.html.twig */
  16. class __TwigTemplate_b32c8fceb294db8be2a623968b452743 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->parent false;
  28.         $this->blocks = [
  29.         ];
  30.         $this->sandbox $this->extensions[SandboxExtension::class];
  31.         $this->checkSecurity();
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = []): iterable
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/homepageHero/homepageHero.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas/homepageHero/homepageHero.html.twig"));
  40.         // line 1
  41.         yield "<figure class=\"homepage-hero\">";
  42.         // line 2
  43.         if ((($tmp = (isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'2$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  44.             // line 3
  45.             yield "<picture class=\"homepage-hero__picture\">";
  46.             // line 4
  47.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""heroImage", ["class" => "homepage-hero__image"]);
  48.             // line 7
  49.             yield "</picture>
  50.         <figcaption class=\"homepage-hero__caption\">
  51.             <div class=\"homepage-hero__claim\">";
  52.             // line 11
  53.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""claim", ["placeholder" => "Sie."]);
  54.             // line 14
  55.             yield "</div>
  56.             <p class=\"homepage-hero__questions-item homepage-hero__questions-item--one\">";
  57.             // line 17
  58.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""questionOne", ["placeholder" => "Frage Eins"]);
  59.             // line 20
  60.             yield "</p>
  61.             <p class=\"homepage-hero__questions-item homepage-hero__questions-item--two\">";
  62.             // line 23
  63.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""questionTwo", ["placeholder" => "Frage Zwei"]);
  64.             // line 26
  65.             yield "</p>
  66.             <p class=\"homepage-hero__questions-item homepage-hero__questions-item--three\">";
  67.             // line 29
  68.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""questionThree", ["placeholder" => "Frage Drei"]);
  69.             // line 32
  70.             yield "</p>
  71.             <p class=\"homepage-hero__questions-item homepage-hero__questions-item--four\">";
  72.             // line 35
  73.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""questionFour", ["placeholder" => "Frage Vier"]);
  74.             // line 38
  75.             yield "</p>
  76.             <h1 class=\"homepage-hero__headline\">
  77.                 ";
  78.             // line 41
  79.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""headlineWordOne", ["placeholder" => "Wort vorne"]);
  80.             // line 43
  81.             yield "
  82.                 ";
  83.             // line 45
  84.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""headlineWordTwo", ["placeholder" => "Wort hinten"]);
  85.             // line 47
  86.             yield "
  87.             </h1>";
  88.             // line 50
  89.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""headlineLink");
  90.             // line 51
  91.             yield "</figcaption>";
  92.         } else {
  93.             // line 53
  94.             $context["heroImage"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"image""heroImage", ["thumbnail" => "homepageHeroImage""pictureAttributes" => ["class" => "homepage-hero__picture"], "imgAttributes" => ["class" => "homepage-hero__image""loading" => "eager"]]);
  95.             // line 63
  96.             $context["claim"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""claim");
  97.             // line 64
  98.             $context["questionOne"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""questionOne");
  99.             // line 65
  100.             $context["questionTwo"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""questionTwo");
  101.             // line 66
  102.             $context["questionThree"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""questionThree");
  103.             // line 67
  104.             $context["questionFour"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""questionFour");
  105.             // line 68
  106.             $context["headlineWordOne"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""headlineWordOne");
  107.             // line 69
  108.             $context["headlineWordTwo"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""headlineWordTwo");
  109.             // line 70
  110.             $context["headlineLink"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""headlineLink");
  111.             // line 72
  112.             if ((($tmp =  !CoreExtension::getAttribute($this->env$this->source, (isset($context["heroImage"]) || array_key_exists("heroImage"$context) ? $context["heroImage"] : (function () { throw new RuntimeError('Variable "heroImage" does not exist.'72$this->source); })()), "isEmpty", [], "method"falsefalsetrue72)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  113.                 // line 73
  114.                 yield $this->sandbox->ensureToStringAllowed((isset($context["heroImage"]) || array_key_exists("heroImage"$context) ? $context["heroImage"] : (function () { throw new RuntimeError('Variable "heroImage" does not exist.'73$this->source); })()), 73$this->source);
  115.             }
  116.             // line 76
  117.             yield "<figcaption class=\"homepage-hero__caption\">";
  118.             // line 77
  119.             if ((($tmp =  !CoreExtension::getAttribute($this->env$this->source, (isset($context["claim"]) || array_key_exists("claim"$context) ? $context["claim"] : (function () { throw new RuntimeError('Variable "claim" does not exist.'77$this->source); })()), "isEmpty", [], "method"falsefalsetrue77)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  120.                 // line 78
  121.                 yield "<p class=\"homepage-hero__claim\">";
  122.                 // line 79
  123.                 yield $this->sandbox->ensureToStringAllowed((isset($context["claim"]) || array_key_exists("claim"$context) ? $context["claim"] : (function () { throw new RuntimeError('Variable "claim" does not exist.'79$this->source); })()), 79$this->source);
  124.                 // line 80
  125.                 yield "</p>";
  126.             }
  127.             // line 83
  128.             if ((($tmp =  !CoreExtension::getAttribute($this->env$this->source, (isset($context["questionOne"]) || array_key_exists("questionOne"$context) ? $context["questionOne"] : (function () { throw new RuntimeError('Variable "questionOne" does not exist.'83$this->source); })()), "isEmpty", [], "method"falsefalsetrue83)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  129.                 // line 84
  130.                 yield "<p class=\"homepage-hero__questions-item homepage-hero__questions-item--one\">";
  131.                 // line 85
  132.                 yield Twig\Extension\CoreExtension::nl2br($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed((isset($context["questionOne"]) || array_key_exists("questionOne"$context) ? $context["questionOne"] : (function () { throw new RuntimeError('Variable "questionOne" does not exist.'85$this->source); })()), 85$this->source), "html"nulltrue));
  133.                 // line 86
  134.                 yield "<span class=\"anim-wrapper anim-wrapper-1\">
  135.                         <span class=\"border-animation border-animation-1\">
  136.                         </span><span class=\"pulsar\"></span>
  137.                     </span>
  138.                 </p>";
  139.             }
  140.             // line 93
  141.             if ((($tmp =  !CoreExtension::getAttribute($this->env$this->source, (isset($context["questionTwo"]) || array_key_exists("questionTwo"$context) ? $context["questionTwo"] : (function () { throw new RuntimeError('Variable "questionTwo" does not exist.'93$this->source); })()), "isEmpty", [], "method"falsefalsetrue93)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  142.                 // line 94
  143.                 yield "                <p class=\"homepage-hero__questions-item homepage-hero__questions-item--two\">";
  144.                 // line 95
  145.                 yield Twig\Extension\CoreExtension::nl2br($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed((isset($context["questionTwo"]) || array_key_exists("questionTwo"$context) ? $context["questionTwo"] : (function () { throw new RuntimeError('Variable "questionTwo" does not exist.'95$this->source); })()), 95$this->source), "html"nulltrue));
  146.                 // line 96
  147.                 yield "<span class=\"anim-wrapper anim-wrapper-2\">
  148.                         <span class=\"border-animation border-animation-2\">
  149.                         </span><span class=\"pulsar\"></span>
  150.                     </span>
  151.                 </p>";
  152.             }
  153.             // line 103
  154.             if ((($tmp =  !CoreExtension::getAttribute($this->env$this->source, (isset($context["questionThree"]) || array_key_exists("questionThree"$context) ? $context["questionThree"] : (function () { throw new RuntimeError('Variable "questionThree" does not exist.'103$this->source); })()), "isEmpty", [], "method"falsefalsetrue103)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  155.                 // line 104
  156.                 yield "<p class=\"homepage-hero__questions-item homepage-hero__questions-item--three\">";
  157.                 // line 105
  158.                 yield Twig\Extension\CoreExtension::nl2br($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed((isset($context["questionThree"]) || array_key_exists("questionThree"$context) ? $context["questionThree"] : (function () { throw new RuntimeError('Variable "questionThree" does not exist.'105$this->source); })()), 105$this->source), "html"nulltrue));
  159.                 // line 106
  160.                 yield "<span class=\"anim-wrapper anim-wrapper-3\">
  161.                         <span class=\"border-animation border-animation-3\">
  162.                         </span><span class=\"pulsar\"></span>
  163.                     </span>
  164.                 </p>";
  165.             }
  166.             // line 113
  167.             if ((($tmp =  !CoreExtension::getAttribute($this->env$this->source, (isset($context["questionFour"]) || array_key_exists("questionFour"$context) ? $context["questionFour"] : (function () { throw new RuntimeError('Variable "questionFour" does not exist.'113$this->source); })()), "isEmpty", [], "method"falsefalsetrue113)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  168.                 // line 114
  169.                 yield "<p class=\"homepage-hero__questions-item homepage-hero__questions-item--four\">";
  170.                 // line 115
  171.                 yield Twig\Extension\CoreExtension::nl2br($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed((isset($context["questionFour"]) || array_key_exists("questionFour"$context) ? $context["questionFour"] : (function () { throw new RuntimeError('Variable "questionFour" does not exist.'115$this->source); })()), 115$this->source), "html"nulltrue));
  172.                 // line 117
  173.                 yield "<span class=\"anim-wrapper anim-wrapper-4\">
  174.                         <span class=\"border-animation border-animation-4\">
  175.                         </span><span class=\"pulsar\"></span>
  176.                     </span>
  177.                 </p>";
  178.             }
  179.             // line 124
  180.             if (( !CoreExtension::getAttribute($this->env$this->source, (isset($context["headlineWordOne"]) || array_key_exists("headlineWordOne"$context) ? $context["headlineWordOne"] : (function () { throw new RuntimeError('Variable "headlineWordOne" does not exist.'124$this->source); })()), "isEmpty", [], "method"falsefalsetrue124) ||  !CoreExtension::getAttribute($this->env$this->source, (isset($context["headlineWordTwo"]) || array_key_exists("headlineWordTwo"$context) ? $context["headlineWordTwo"] : (function () { throw new RuntimeError('Variable "headlineWordTwo" does not exist.'124$this->source); })()), "isEmpty", [], "method"falsefalsetrue124))) {
  181.                 // line 125
  182.                 yield "<h1 class=\"homepage-hero__headline\">";
  183.                 // line 126
  184.                 if (( !CoreExtension::getAttribute($this->env$this->source, (isset($context["headlineLink"]) || array_key_exists("headlineLink"$context) ? $context["headlineLink"] : (function () { throw new RuntimeError('Variable "headlineLink" does not exist.'126$this->source); })()), "isEmpty", [], "method"falsefalsetrue126) && (CoreExtension::getAttribute($this->env$this->source, (isset($context["headlineLink"]) || array_key_exists("headlineLink"$context) ? $context["headlineLink"] : (function () { throw new RuntimeError('Variable "headlineLink" does not exist.'126$this->source); })()), "href", [], "any"falsefalsetrue126) != ""))) {
  185.                     // line 127
  186.                     yield "<a href=\"";
  187.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source, (isset($context["headlineLink"]) || array_key_exists("headlineLink"$context) ? $context["headlineLink"] : (function () { throw new RuntimeError('Variable "headlineLink" does not exist.'127$this->source); })()), "href", [], "any"falsefalsetrue127), 127$this->source), "html"nulltrue);
  188.                     yield "\">";
  189.                     // line 128
  190.                     if ((($tmp =  !CoreExtension::getAttribute($this->env$this->source, (isset($context["headlineWordOne"]) || array_key_exists("headlineWordOne"$context) ? $context["headlineWordOne"] : (function () { throw new RuntimeError('Variable "headlineWordOne" does not exist.'128$this->source); })()), "isEmpty", [], "method"falsefalsetrue128)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  191.                         // line 129
  192.                         yield "<span class=\"homepage-hero__headline-one\">";
  193.                         // line 130
  194.                         yield $this->sandbox->ensureToStringAllowed((isset($context["headlineWordOne"]) || array_key_exists("headlineWordOne"$context) ? $context["headlineWordOne"] : (function () { throw new RuntimeError('Variable "headlineWordOne" does not exist.'130$this->source); })()), 130$this->source);
  195.                         // line 131
  196.                         yield "</span>";
  197.                     }
  198.                     // line 134
  199.                     if ((($tmp =  !CoreExtension::getAttribute($this->env$this->source, (isset($context["headlineWordTwo"]) || array_key_exists("headlineWordTwo"$context) ? $context["headlineWordTwo"] : (function () { throw new RuntimeError('Variable "headlineWordTwo" does not exist.'134$this->source); })()), "isEmpty", [], "method"falsefalsetrue134)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  200.                         // line 135
  201.                         yield "<span class=\"homepage-hero__headline-two\">";
  202.                         // line 136
  203.                         yield $this->sandbox->ensureToStringAllowed((isset($context["headlineWordTwo"]) || array_key_exists("headlineWordTwo"$context) ? $context["headlineWordTwo"] : (function () { throw new RuntimeError('Variable "headlineWordTwo" does not exist.'136$this->source); })()), 136$this->source);
  204.                         // line 137
  205.                         yield "</span>";
  206.                     }
  207.                     // line 139
  208.                     yield "</a>";
  209.                 }
  210.                 // line 142
  211.                 yield "<svg class=\"icon\"
  212.                          aria-hidden=\"true\"
  213.                          focusable=\"false\">
  214.                         <use xlink:href=\"#angle-down-regular\" />
  215.                     </svg>
  216.                 </h1>";
  217.             }
  218.             // line 150
  219.             yield "</figcaption>";
  220.         }
  221.         // line 152
  222.         yield "</figure>
  223. <script src=\"/lef-career/js/hero-observer.js\" async></script>";
  224.         
  225.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  226.         
  227.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  228.         yield from [];
  229.     }
  230.     /**
  231.      * @codeCoverageIgnore
  232.      */
  233.     public function getTemplateName(): string
  234.     {
  235.         return "areas/homepageHero/homepageHero.html.twig";
  236.     }
  237.     /**
  238.      * @codeCoverageIgnore
  239.      */
  240.     public function isTraitable(): bool
  241.     {
  242.         return false;
  243.     }
  244.     /**
  245.      * @codeCoverageIgnore
  246.      */
  247.     public function getDebugInfo(): array
  248.     {
  249.         return array (  239 => 152,  236 => 150,  227 => 142,  224 => 139,  221 => 137,  219 => 136,  217 => 135,  215 => 134,  212 => 131,  210 => 130,  208 => 129,  206 => 128,  202 => 127,  200 => 126,  198 => 125,  196 => 124,  189 => 117,  187 => 115,  185 => 114,  183 => 113,  176 => 106,  174 => 105,  172 => 104,  170 => 103,  163 => 96,  161 => 95,  159 => 94,  157 => 93,  150 => 86,  148 => 85,  146 => 84,  144 => 83,  141 => 80,  139 => 79,  137 => 78,  135 => 77,  133 => 76,  130 => 73,  128 => 72,  126 => 70,  124 => 69,  122 => 68,  120 => 67,  118 => 66,  116 => 65,  114 => 64,  112 => 63,  110 => 53,  107 => 51,  105 => 50,  102 => 47,  100 => 45,  96 => 43,  94 => 41,  89 => 38,  87 => 35,  83 => 32,  81 => 29,  77 => 26,  75 => 23,  71 => 20,  69 => 17,  65 => 14,  63 => 11,  58 => 7,  56 => 4,  54 => 3,  52 => 2,  50 => 1,);
  250.     }
  251.     public function getSourceContext(): Source
  252.     {
  253.         return new Source("<figure class=\"homepage-hero\">
  254.     {%- if editmode -%}
  255.         <picture class=\"homepage-hero__picture\">
  256.             {{- pimcore_image('heroImage', {
  257.                 'class': 'homepage-hero__image'
  258.             }) -}}
  259.         </picture>
  260.         <figcaption class=\"homepage-hero__caption\">
  261.             <div class=\"homepage-hero__claim\">
  262.                 {{- pimcore_input('claim', {
  263.                     'placeholder': 'Sie.'
  264.                 }) -}}
  265.             </div>
  266.             <p class=\"homepage-hero__questions-item homepage-hero__questions-item--one\">
  267.                 {{- pimcore_textarea('questionOne', {
  268.                     'placeholder': 'Frage Eins'
  269.                 }) -}}
  270.             </p>
  271.             <p class=\"homepage-hero__questions-item homepage-hero__questions-item--two\">
  272.                 {{- pimcore_textarea('questionTwo', {
  273.                     'placeholder': 'Frage Zwei'
  274.                 }) -}}
  275.             </p>
  276.             <p class=\"homepage-hero__questions-item homepage-hero__questions-item--three\">
  277.                 {{- pimcore_textarea('questionThree', {
  278.                     'placeholder': 'Frage Drei'
  279.                 }) -}}
  280.             </p>
  281.             <p class=\"homepage-hero__questions-item homepage-hero__questions-item--four\">
  282.                 {{- pimcore_textarea('questionFour', {
  283.                     'placeholder': 'Frage Vier'
  284.                 }) -}}
  285.             </p>
  286.             <h1 class=\"homepage-hero__headline\">
  287.                 {{ pimcore_input('headlineWordOne', {
  288.                     'placeholder': 'Wort vorne'
  289.                 }) }}
  290.                 {{ pimcore_input('headlineWordTwo', {
  291.                     'placeholder': 'Wort hinten'
  292.                 }) }}
  293.             </h1>
  294.             {{- pimcore_link('headlineLink') -}}
  295.         </figcaption>
  296.     {%- else -%}
  297.         {%- set heroImage = pimcore_image('heroImage', {
  298.             'thumbnail': 'homepageHeroImage',
  299.             'pictureAttributes': {
  300.                 'class': 'homepage-hero__picture'
  301.             },
  302.             'imgAttributes': {
  303.                 'class': 'homepage-hero__image',
  304.                 'loading': 'eager'
  305.             }
  306.         }) -%}
  307.         {%- set claim = pimcore_input('claim') -%}
  308.         {%- set questionOne = pimcore_textarea('questionOne') -%}
  309.         {%- set questionTwo = pimcore_textarea('questionTwo') -%}
  310.         {%- set questionThree = pimcore_textarea('questionThree') -%}
  311.         {%- set questionFour = pimcore_textarea('questionFour') -%}
  312.         {%- set headlineWordOne = pimcore_input('headlineWordOne') -%}
  313.         {%- set headlineWordTwo = pimcore_input('headlineWordTwo') -%}
  314.         {%- set headlineLink = pimcore_link('headlineLink') -%}
  315.         {%- if not heroImage.isEmpty() -%}
  316.             {{- heroImage|raw -}}
  317.         {%- endif -%}
  318.         <figcaption class=\"homepage-hero__caption\">
  319.             {%- if not claim.isEmpty() -%}
  320.                 <p class=\"homepage-hero__claim\">
  321.                     {{- claim|raw -}}
  322.                 </p>
  323.             {%- endif -%}
  324.             {%- if not questionOne.isEmpty() -%}
  325.                 <p class=\"homepage-hero__questions-item homepage-hero__questions-item--one\">
  326.                     {{- questionOne|nl2br  -}}
  327.                     <span class=\"anim-wrapper anim-wrapper-1\">
  328.                         <span class=\"border-animation border-animation-1\">
  329.                         </span><span class=\"pulsar\"></span>
  330.                     </span>
  331.                 </p>
  332.             {%- endif -%}
  333.             {% if not questionTwo.isEmpty() %}
  334.                 <p class=\"homepage-hero__questions-item homepage-hero__questions-item--two\">
  335.                     {{- questionTwo|nl2br -}}
  336.                     <span class=\"anim-wrapper anim-wrapper-2\">
  337.                         <span class=\"border-animation border-animation-2\">
  338.                         </span><span class=\"pulsar\"></span>
  339.                     </span>
  340.                 </p>
  341.             {%- endif -%}
  342.             {%- if not questionThree.isEmpty() -%}
  343.                 <p class=\"homepage-hero__questions-item homepage-hero__questions-item--three\">
  344.                     {{- questionThree|nl2br -}}
  345.                     <span class=\"anim-wrapper anim-wrapper-3\">
  346.                         <span class=\"border-animation border-animation-3\">
  347.                         </span><span class=\"pulsar\"></span>
  348.                     </span>
  349.                 </p>
  350.             {%- endif -%}
  351.             {%- if not questionFour.isEmpty() -%}
  352.                 <p class=\"homepage-hero__questions-item homepage-hero__questions-item--four\">
  353.                     {{- questionFour|nl2br -}}
  354.                     <span class=\"anim-wrapper anim-wrapper-4\">
  355.                         <span class=\"border-animation border-animation-4\">
  356.                         </span><span class=\"pulsar\"></span>
  357.                     </span>
  358.                 </p>
  359.             {%- endif -%}
  360.             {%- if not headlineWordOne.isEmpty() or not headlineWordTwo.isEmpty() -%}
  361.                 <h1 class=\"homepage-hero__headline\">
  362.                     {%- if not headlineLink.isEmpty() and headlineLink.href != '' -%}
  363.                         <a href=\"{{ headlineLink.href }}\">
  364.                             {%- if not headlineWordOne.isEmpty() -%}
  365.                                 <span class=\"homepage-hero__headline-one\">
  366.                                     {{- headlineWordOne|raw -}}
  367.                                 </span>
  368.                             {%- endif -%}
  369.                             {%- if not headlineWordTwo.isEmpty() -%}
  370.                                 <span class=\"homepage-hero__headline-two\">
  371.                                     {{- headlineWordTwo|raw -}}
  372.                                 </span>
  373.                             {%- endif -%}
  374.                         </a>
  375.                     {%- endif -%}
  376.                     <svg class=\"icon\"
  377.                          aria-hidden=\"true\"
  378.                          focusable=\"false\">
  379.                         <use xlink:href=\"#angle-down-regular\" />
  380.                     </svg>
  381.                 </h1>
  382.             {%- endif -%}
  383.         </figcaption>
  384.     {%- endif -%}
  385. </figure>
  386. <script src=\"/lef-career/js/hero-observer.js\" async></script>""areas/homepageHero/homepageHero.html.twig""/var/www/pimcore/templates/areas/homepageHero/homepageHero.html.twig");
  387.     }
  388.     
  389.     public function checkSecurity()
  390.     {
  391.         static $tags = ["if" => 2"set" => 53];
  392.         static $filters = ["raw" => 73"nl2br" => 85"escape" => 85];
  393.         static $functions = ["pimcore_image" => 4"pimcore_input" => 11"pimcore_textarea" => 17"pimcore_link" => 50];
  394.         try {
  395.             $this->sandbox->checkSecurity(
  396.                 ['if''set'],
  397.                 ['raw''nl2br''escape'],
  398.                 ['pimcore_image''pimcore_input''pimcore_textarea''pimcore_link'],
  399.                 $this->source
  400.             );
  401.         } catch (SecurityError $e) {
  402.             $e->setSourceContext($this->source);
  403.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  404.                 $e->setTemplateLine($tags[$e->getTagName()]);
  405.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  406.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  407.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  408.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  409.             }
  410.             throw $e;
  411.         }
  412.     }
  413. }