<?php
use Twig\Environment;
use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* @TmmsAdditionalNewsletterRegistrationOptions/storefront/base.html.twig */
class __TwigTemplate_e640540d586b5d16bf2c7fdb2be9a423 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'base_footer' => [$this, 'block_base_footer'],
'base_footer_newsletter' => [$this, 'block_base_footer_newsletter'],
'base_footer_newsletter_inner' => [$this, 'block_base_footer_newsletter_inner'],
'base_footer_newsletter_inner_content' => [$this, 'block_base_footer_newsletter_inner_content'],
'base_footer_newsletter_inner_content_newslettertext_before' => [$this, 'block_base_footer_newsletter_inner_content_newslettertext_before'],
'base_footer_newsletter_inner_content_secondnewslettertext_before' => [$this, 'block_base_footer_newsletter_inner_content_secondnewslettertext_before'],
'base_footer_newsletter_inner_content_captcha_before' => [$this, 'block_base_footer_newsletter_inner_content_captcha_before'],
'base_footer_newsletter_inner_content_privacy_before' => [$this, 'block_base_footer_newsletter_inner_content_privacy_before'],
'base_footer_newsletter_inner_content_required_fields_info_before' => [$this, 'block_base_footer_newsletter_inner_content_required_fields_info_before'],
'base_footer_newsletter_inner_content_inputs' => [$this, 'block_base_footer_newsletter_inner_content_inputs'],
'base_footer_newsletter_inner_content_inputs_select_action' => [$this, 'block_base_footer_newsletter_inner_content_inputs_select_action'],
'base_footer_newsletter_inner_content_inputs_input_email' => [$this, 'block_base_footer_newsletter_inner_content_inputs_input_email'],
'base_footer_newsletter_inner_content_submit_before' => [$this, 'block_base_footer_newsletter_inner_content_submit_before'],
'base_footer_newsletter_inner_content_captcha_after' => [$this, 'block_base_footer_newsletter_inner_content_captcha_after'],
'base_footer_newsletter_inner_content_privacy_after' => [$this, 'block_base_footer_newsletter_inner_content_privacy_after'],
'base_footer_newsletter_inner_content_required_fields_info_after' => [$this, 'block_base_footer_newsletter_inner_content_required_fields_info_after'],
'base_footer_newsletter_inner_content_submit_after' => [$this, 'block_base_footer_newsletter_inner_content_submit_after'],
'base_footer_newsletter_inner_content_newslettertext_after' => [$this, 'block_base_footer_newsletter_inner_content_newslettertext_after'],
'base_footer_newsletter_inner_content_secondnewslettertext_after' => [$this, 'block_base_footer_newsletter_inner_content_secondnewslettertext_after'],
'base_footer_newsletter_inner_content_hidden_fields' => [$this, 'block_base_footer_newsletter_inner_content_hidden_fields'],
'base_footer_newsletter_inner_content_csrf' => [$this, 'block_base_footer_newsletter_inner_content_csrf'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@NetiNextModal/storefront/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$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", "@TmmsAdditionalNewsletterRegistrationOptions/storefront/base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@TmmsAdditionalNewsletterRegistrationOptions/storefront/base.html.twig"));
$this->parent = $this->loadTemplate("@NetiNextModal/storefront/base.html.twig", "@TmmsAdditionalNewsletterRegistrationOptions/storefront/base.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_base_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer"));
// line 4
echo " ";
$this->displayBlock('base_footer_newsletter', $context, $blocks);
// line 255
echo "
";
// line 256
$this->displayParentBlock("base_footer", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 4
public function block_base_footer_newsletter($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter"));
// line 5
echo " ";
$context["showNewsletter"] = 0;
// line 6
echo "
";
// line 7
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowNewsletter")) {
// line 8
echo " ";
$context["showNewsletter"] = 1;
// line 9
echo " ";
}
// line 10
echo "
";
// line 11
if (( !$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowNewsletterOnLoginPage") && (twig_lower_filter($this->env, ($context["controllerName"] ?? null)) == "auth"))) {
// line 12
echo " ";
$context["showNewsletter"] = 0;
// line 13
echo " ";
}
// line 14
echo "
";
// line 15
if (( !$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowNewsletterOnShoppingCartPage") && (twig_lower_filter($this->env, ($context["controllerAction"] ?? null)) == "cartpage"))) {
// line 16
echo " ";
$context["showNewsletter"] = 0;
// line 17
echo " ";
}
// line 18
echo "
";
// line 19
if (( !$this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowNewsletterOnAccountPage") && ((((twig_lower_filter($this->env, ($context["controllerName"] ?? null)) == "accountprofile") || (twig_lower_filter($this->env, ($context["controllerName"] ?? null)) == "address")) || (twig_lower_filter($this->env, ($context["controllerName"] ?? null)) == "accountpayment")) || (twig_lower_filter($this->env, ($context["controllerName"] ?? null)) == "accountorder")))) {
// line 20
echo " ";
$context["showNewsletter"] = 0;
// line 21
echo " ";
}
// line 22
echo "
";
// line 23
if ((($context["showNewsletter"] ?? null) == 1)) {
// line 24
echo " ";
$context["action"] = "frontend.form.newsletter.register.handle";
// line 25
echo "
";
// line 26
$this->displayBlock('base_footer_newsletter_inner', $context, $blocks);
// line 253
echo " ";
}
// line 254
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 26
public function block_base_footer_newsletter_inner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner"));
// line 27
echo " <div class=\"footer-main-newsletter\">
<div class=\"container\">
";
// line 30
$this->displayBlock('base_footer_newsletter_inner_content', $context, $blocks);
// line 250
echo " </div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 30
public function block_base_footer_newsletter_inner_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content"));
// line 31
echo " <div class=\"cms-block\">
<div class=\"cms-element-form\">
<form action=\"";
// line 33
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(($context["action"] ?? null));
echo "\"
method=\"post\"
data-form-csrf-handler=\"true\"
data-form-validation=\"true\">
<div class=\"form-content";
// line 37
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterAlignContentMiddle")) {
echo " center";
}
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterLeftRightSplitting")) {
echo " left-right-splitting";
}
echo "\">
";
// line 39
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterLeftRightSplitting")) {
echo "<div class=\"form-content-left\">";
}
// line 40
echo "
<div class=\"footer-main-newsletter-headline\">
";
// line 42
if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterNewsletterHeadlineContentType") == "texteditor")) {
// line 43
echo " ";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterNewsletterHeadlineTextEditor", ["%newsletterheadline%" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterNewsletterHeadlineContent")]);
echo "
";
} elseif (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterNewsletterHeadlineContentType") == "snippet")) {
// line 45
echo " ";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterNewsletterHeadline");
echo "
";
}
// line 47
echo " </div>
";
// line 49
$this->displayBlock('base_footer_newsletter_inner_content_newslettertext_before', $context, $blocks);
// line 62
echo "
";
// line 63
$this->displayBlock('base_footer_newsletter_inner_content_secondnewslettertext_before', $context, $blocks);
// line 76
echo "
";
// line 77
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterLeftRightSplitting")) {
echo "</div><div class=\"form-content-right\">";
}
// line 78
echo "
";
// line 79
$this->displayBlock('base_footer_newsletter_inner_content_captcha_before', $context, $blocks);
// line 84
echo "
";
// line 85
$this->displayBlock('base_footer_newsletter_inner_content_privacy_before', $context, $blocks);
// line 96
echo "
";
// line 97
$this->displayBlock('base_footer_newsletter_inner_content_required_fields_info_before', $context, $blocks);
// line 106
echo "
";
// line 107
$this->displayBlock('base_footer_newsletter_inner_content_inputs', $context, $blocks);
// line 162
echo "
";
// line 163
$this->displayBlock('base_footer_newsletter_inner_content_captcha_after', $context, $blocks);
// line 168
echo "
";
// line 169
$this->displayBlock('base_footer_newsletter_inner_content_privacy_after', $context, $blocks);
// line 180
echo "
";
// line 181
$this->displayBlock('base_footer_newsletter_inner_content_required_fields_info_after', $context, $blocks);
// line 190
echo "
";
// line 191
$this->displayBlock('base_footer_newsletter_inner_content_submit_after', $context, $blocks);
// line 205
echo "
";
// line 206
$this->displayBlock('base_footer_newsletter_inner_content_newslettertext_after', $context, $blocks);
// line 219
echo "
";
// line 220
$this->displayBlock('base_footer_newsletter_inner_content_secondnewslettertext_after', $context, $blocks);
// line 233
echo "
";
// line 234
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterLeftRightSplitting")) {
echo "</div>";
}
// line 235
echo " </div>
";
// line 237
$this->displayBlock('base_footer_newsletter_inner_content_hidden_fields', $context, $blocks);
// line 246
echo " </form>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 49
public function block_base_footer_newsletter_inner_content_newslettertext_before($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_newslettertext_before"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_newslettertext_before"));
// line 50
echo " ";
if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterPositionNewsletterText") == "beforeEmailAddressField")) {
// line 51
echo " ";
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowNewsletterText")) {
// line 52
echo " <p>
";
// line 53
if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterNewsletterTextContentType") == "texteditor")) {
// line 54
echo " ";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterFirstNewsletterTextTextEditor", ["%firstnewslettertext%" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterNewsletterTextContent")]);
echo "
";
} elseif (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterNewsletterTextContentType") == "snippet")) {
// line 56
echo " ";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterFirstNewsletterText");
echo "
";
}
// line 58
echo " </p>
";
}
// line 60
echo " ";
}
// line 61
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 63
public function block_base_footer_newsletter_inner_content_secondnewslettertext_before($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_secondnewslettertext_before"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_secondnewslettertext_before"));
// line 64
echo " ";
if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterPositionSecondNewsletterText") == "beforeEmailAddressField")) {
// line 65
echo " ";
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowSecondNewsletterText")) {
// line 66
echo " <p>
";
// line 67
if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterSecondNewsletterTextContentType") == "texteditor")) {
// line 68
echo " ";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterSecondNewsletterTextTextEditor", ["%secondnewslettertext%" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterSecondNewsletterTextContent")]);
echo "
";
} elseif (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterSecondNewsletterTextContentType") == "snippet")) {
// line 70
echo " ";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterSecondNewsletterText");
echo "
";
}
// line 72
echo " </p>
";
}
// line 74
echo " ";
}
// line 75
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 79
public function block_base_footer_newsletter_inner_content_captcha_before($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_captcha_before"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_captcha_before"));
// line 80
echo " ";
if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterPositionCaptcha") == "beforeEmailAddressField")) {
// line 81
echo " ";
$this->loadTemplate("@Storefront/storefront/component/captcha/base.html.twig", "@TmmsAdditionalNewsletterRegistrationOptions/storefront/base.html.twig", 81)->display(twig_array_merge($context, ["additionalClass" => "col-md-4"]));
// line 82
echo " ";
}
// line 83
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 85
public function block_base_footer_newsletter_inner_content_privacy_before($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_privacy_before"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_privacy_before"));
// line 86
echo " ";
if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterPositionDataProtectionInformation") == "beforeEmailAddressField")) {
// line 87
echo " ";
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowDataProtectionInformation")) {
// line 88
echo " ";
$this->loadTemplate("@TmmsAdditionalNewsletterRegistrationOptions/storefront/additional-newsletter-registration-options-privacy.html.twig", "@TmmsAdditionalNewsletterRegistrationOptions/storefront/base.html.twig", 88)->display(twig_array_merge($context, ["identifierTemplate" => "form-privacy-opt-in-footer-newsletter-registration", "showHeadline" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowDataProtectionInformationHeadline"), "showInput" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterRequireDataProtectionInformationCheckbox")]));
// line 93
echo " ";
}
// line 94
echo " ";
}
// line 95
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 97
public function block_base_footer_newsletter_inner_content_required_fields_info_before($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_required_fields_info_before"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_required_fields_info_before"));
// line 98
echo " ";
if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterPositionRequiredFieldsInformation") == "beforeEmailAddressField")) {
// line 99
echo " ";
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowRequiredFieldsInformation")) {
// line 100
echo " <div class=\"required-fields-info\">
";
// line 101
$this->loadTemplate("@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-info-required.html.twig", "@TmmsAdditionalNewsletterRegistrationOptions/storefront/base.html.twig", 101)->display($context);
// line 102
echo " </div>
";
}
// line 104
echo " ";
}
// line 105
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 107
public function block_base_footer_newsletter_inner_content_inputs($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_inputs"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_inputs"));
// line 108
echo " <div class=\"form-row input-group\">
";
// line 110
$this->displayBlock('base_footer_newsletter_inner_content_inputs_select_action', $context, $blocks);
// line 119
echo "
";
// line 120
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowNewsletterButtonNextToField")) {
// line 121
echo " <div class=\"footer-newsletter-together";
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowTextNewsletterButton")) {
echo " show-text-newsletter-button";
}
echo "\">
";
// line 123
$context["emailPlaceholder"] = "tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.labelMail";
// line 124
echo " ";
} else {
// line 125
echo " <div class=\"footer-newsletter-below-button\">
";
// line 127
$context["emailPlaceholder"] = "tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.placeholderMail";
// line 128
echo " ";
}
// line 129
echo "
";
// line 130
$this->displayBlock('base_footer_newsletter_inner_content_inputs_input_email', $context, $blocks);
// line 142
echo "
";
// line 143
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowNewsletterButtonNextToField")) {
// line 144
echo " ";
$this->displayBlock('base_footer_newsletter_inner_content_submit_before', $context, $blocks);
// line 156
echo " </div>
";
} else {
// line 158
echo " </div>
";
}
// line 160
echo " </div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 110
public function block_base_footer_newsletter_inner_content_inputs_select_action($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_inputs_select_action"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_inputs_select_action"));
// line 111
echo " <label class=\"form-label d-none\" for=\"footerNewsletterAction\">
";
// line 112
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.labelActionSelect"), "html", null, true);
echo " ";
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.required"), "html", null, true);
echo "
</label>
<input name=\"option\"
type=\"hidden\"
id=\"footerNewsletterAction\"
value=\"";
// line 117
echo sw_escape_filter($this->env, twig_constant("Shopware\\Storefront\\Controller\\FormController::SUBSCRIBE"), "html", null, true);
echo "\"/>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 130
public function block_base_footer_newsletter_inner_content_inputs_input_email($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_inputs_input_email"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_inputs_input_email"));
// line 131
echo " ";
$this->loadTemplate("@FuerstenbergPorzellan/storefront/element/cms-element-form/form-components/cms-element-form-input.html.twig", "@TmmsAdditionalNewsletterRegistrationOptions/storefront/base.html.twig", 131)->display(twig_array_merge($context, ["fieldName" => "email", "type" => "email", "required" => true, "additionalClass" => "col-12", "label" => "tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.labelMail", "placeholder" => // line 138
($context["emailPlaceholder"] ?? null)]));
// line 141
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 144
public function block_base_footer_newsletter_inner_content_submit_before($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_submit_before"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_submit_before"));
// line 145
echo " <button class=\"btn btn-primary btn-newsletter w-auto\" type=\"submit\">
";
// line 146
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowTextNewsletterButton")) {
// line 147
echo " <span class=\"btn-newsletter-txt\">
";
// line 148
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterNewsletterSubmit"), "html", null, true);
echo "
</span>
";
}
// line 151
echo " ";
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowIconNewsletterButton")) {
// line 152
echo " ";
((function () use ($context, $blocks) {
$finder = $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
$includeTemplate = $finder->find("@Storefront/storefront/utilities/icon.html.twig");
return $this->loadTemplate($includeTemplate ?? null, "@TmmsAdditionalNewsletterRegistrationOptions/storefront/base.html.twig", 152);
})())->display(twig_array_merge($context, ["name" => "envelope"]));
// line 153
echo " ";
}
// line 154
echo " </button>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 163
public function block_base_footer_newsletter_inner_content_captcha_after($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_captcha_after"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_captcha_after"));
// line 164
echo " ";
if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterPositionCaptcha") == "afterEmailAddressField")) {
// line 165
echo " ";
$this->loadTemplate("@Storefront/storefront/component/captcha/base.html.twig", "@TmmsAdditionalNewsletterRegistrationOptions/storefront/base.html.twig", 165)->display(twig_array_merge($context, ["additionalClass" => "col-md-4"]));
// line 166
echo " ";
}
// line 167
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 169
public function block_base_footer_newsletter_inner_content_privacy_after($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_privacy_after"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_privacy_after"));
// line 170
echo " ";
if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterPositionDataProtectionInformation") == "afterEmailAddressField")) {
// line 171
echo " ";
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowDataProtectionInformation")) {
// line 172
echo " ";
$this->loadTemplate("@TmmsAdditionalNewsletterRegistrationOptions/storefront/additional-newsletter-registration-options-privacy.html.twig", "@TmmsAdditionalNewsletterRegistrationOptions/storefront/base.html.twig", 172)->display(twig_array_merge($context, ["identifierTemplate" => "form-privacy-opt-in-footer-newsletter-registration", "showHeadline" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowDataProtectionInformationHeadline"), "showInput" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterRequireDataProtectionInformationCheckbox")]));
// line 177
echo " ";
}
// line 178
echo " ";
}
// line 179
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 181
public function block_base_footer_newsletter_inner_content_required_fields_info_after($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_required_fields_info_after"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_required_fields_info_after"));
// line 182
echo " ";
if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterPositionRequiredFieldsInformation") == "afterEmailAddressField")) {
// line 183
echo " ";
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowRequiredFieldsInformation")) {
// line 184
echo " <div class=\"required-fields-info\">
";
// line 185
$this->loadTemplate("@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-info-required.html.twig", "@TmmsAdditionalNewsletterRegistrationOptions/storefront/base.html.twig", 185)->display($context);
// line 186
echo " </div>
";
}
// line 188
echo " ";
}
// line 189
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 191
public function block_base_footer_newsletter_inner_content_submit_after($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_submit_after"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_submit_after"));
// line 192
echo " ";
if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowNewsletterButtonNextToField") == false)) {
// line 193
echo " <button class=\"btn btn-primary btn-newsletter w-auto mb-4\" type=\"submit\">
";
// line 194
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowTextNewsletterButton")) {
// line 195
echo " <span class=\"btn-newsletter-txt\">
";
// line 196
echo sw_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterNewsletterSubmit"), "html", null, true);
echo "
</span>
";
}
// line 199
echo " ";
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowIconNewsletterButton")) {
// line 200
echo " ";
((function () use ($context, $blocks) {
$finder = $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\Extension\NodeExtension')->getFinder();
$includeTemplate = $finder->find("@Storefront/storefront/utilities/icon.html.twig");
return $this->loadTemplate($includeTemplate ?? null, "@TmmsAdditionalNewsletterRegistrationOptions/storefront/base.html.twig", 200);
})())->display(twig_array_merge($context, ["name" => "envelope"]));
// line 201
echo " ";
}
// line 202
echo " </button>
";
}
// line 204
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 206
public function block_base_footer_newsletter_inner_content_newslettertext_after($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_newslettertext_after"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_newslettertext_after"));
// line 207
echo " ";
if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterPositionNewsletterText") == "afterEmailAddressField")) {
// line 208
echo " ";
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowNewsletterText")) {
// line 209
echo " <p>
";
// line 210
if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterNewsletterTextContentType") == "texteditor")) {
// line 211
echo " ";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterFirstNewsletterTextTextEditor", ["%firstnewslettertext%" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterNewsletterTextContent")]);
echo "
";
} elseif (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterNewsletterTextContentType") == "snippet")) {
// line 213
echo " ";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterFirstNewsletterText");
echo "
";
}
// line 215
echo " </p>
";
}
// line 217
echo " ";
}
// line 218
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 220
public function block_base_footer_newsletter_inner_content_secondnewslettertext_after($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_secondnewslettertext_after"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_secondnewslettertext_after"));
// line 221
echo " ";
if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterPositionSecondNewsletterText") == "afterEmailAddressField")) {
// line 222
echo " ";
if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowSecondNewsletterText")) {
// line 223
echo " <p>
";
// line 224
if (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterSecondNewsletterTextContentType") == "texteditor")) {
// line 225
echo " ";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterSecondNewsletterTextTextEditor", ["%secondnewslettertext%" => $this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterSecondNewsletterTextContent")]);
echo "
";
} elseif (($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context, "TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterSecondNewsletterTextContentType") == "snippet")) {
// line 227
echo " ";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterSecondNewsletterText");
echo "
";
}
// line 229
echo " </p>
";
}
// line 231
echo " ";
}
// line 232
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 237
public function block_base_footer_newsletter_inner_content_hidden_fields($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_hidden_fields"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_hidden_fields"));
// line 238
echo " <div class=\"form-hidden-fields\">
";
// line 239
$this->displayBlock('base_footer_newsletter_inner_content_csrf', $context, $blocks);
// line 242
echo "
<input type=\"submit\" class=\"submit--hidden d-none\"/>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 239
public function block_base_footer_newsletter_inner_content_csrf($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_csrf"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_footer_newsletter_inner_content_csrf"));
// line 240
echo " ";
echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\CsrfFunctionExtension']->createCsrfPlaceholder(($context["action"] ?? null));
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@TmmsAdditionalNewsletterRegistrationOptions/storefront/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1047 => 240, 1037 => 239, 1024 => 242, 1022 => 239, 1019 => 238, 1009 => 237, 999 => 232, 996 => 231, 992 => 229, 986 => 227, 980 => 225, 978 => 224, 975 => 223, 972 => 222, 969 => 221, 959 => 220, 949 => 218, 946 => 217, 942 => 215, 936 => 213, 930 => 211, 928 => 210, 925 => 209, 922 => 208, 919 => 207, 909 => 206, 899 => 204, 895 => 202, 892 => 201, 883 => 200, 880 => 199, 874 => 196, 871 => 195, 869 => 194, 866 => 193, 863 => 192, 853 => 191, 843 => 189, 840 => 188, 836 => 186, 834 => 185, 831 => 184, 828 => 183, 825 => 182, 815 => 181, 805 => 179, 802 => 178, 799 => 177, 796 => 172, 793 => 171, 790 => 170, 780 => 169, 770 => 167, 767 => 166, 764 => 165, 761 => 164, 751 => 163, 740 => 154, 737 => 153, 728 => 152, 725 => 151, 719 => 148, 716 => 147, 714 => 146, 711 => 145, 701 => 144, 691 => 141, 689 => 138, 687 => 131, 677 => 130, 665 => 117, 655 => 112, 652 => 111, 642 => 110, 631 => 160, 627 => 158, 623 => 156, 620 => 144, 618 => 143, 615 => 142, 613 => 130, 610 => 129, 607 => 128, 605 => 127, 601 => 125, 598 => 124, 596 => 123, 588 => 121, 586 => 120, 583 => 119, 581 => 110, 577 => 108, 567 => 107, 557 => 105, 554 => 104, 550 => 102, 548 => 101, 545 => 100, 542 => 99, 539 => 98, 529 => 97, 519 => 95, 516 => 94, 513 => 93, 510 => 88, 507 => 87, 504 => 86, 494 => 85, 484 => 83, 481 => 82, 478 => 81, 475 => 80, 465 => 79, 455 => 75, 452 => 74, 448 => 72, 442 => 70, 436 => 68, 434 => 67, 431 => 66, 428 => 65, 425 => 64, 415 => 63, 405 => 61, 402 => 60, 398 => 58, 392 => 56, 386 => 54, 384 => 53, 381 => 52, 378 => 51, 375 => 50, 365 => 49, 352 => 246, 350 => 237, 346 => 235, 342 => 234, 339 => 233, 337 => 220, 334 => 219, 332 => 206, 329 => 205, 327 => 191, 324 => 190, 322 => 181, 319 => 180, 317 => 169, 314 => 168, 312 => 163, 309 => 162, 307 => 107, 304 => 106, 302 => 97, 299 => 96, 297 => 85, 294 => 84, 292 => 79, 289 => 78, 285 => 77, 282 => 76, 280 => 63, 277 => 62, 275 => 49, 271 => 47, 265 => 45, 259 => 43, 257 => 42, 253 => 40, 249 => 39, 239 => 37, 232 => 33, 228 => 31, 218 => 30, 206 => 250, 204 => 30, 199 => 27, 189 => 26, 179 => 254, 176 => 253, 174 => 26, 171 => 25, 168 => 24, 166 => 23, 163 => 22, 160 => 21, 157 => 20, 155 => 19, 152 => 18, 149 => 17, 146 => 16, 144 => 15, 141 => 14, 138 => 13, 135 => 12, 133 => 11, 130 => 10, 127 => 9, 124 => 8, 122 => 7, 119 => 6, 116 => 5, 106 => 4, 94 => 256, 91 => 255, 88 => 4, 78 => 3, 55 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
{% block base_footer %}
{% block base_footer_newsletter %}
{% set showNewsletter = 0 %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowNewsletter') %}
{% set showNewsletter = 1 %}
{% endif %}
{% if not(config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowNewsletterOnLoginPage')) and (controllerName|lower == \"auth\") %}
{% set showNewsletter = 0 %}
{% endif %}
{% if not(config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowNewsletterOnShoppingCartPage')) and (controllerAction|lower == \"cartpage\") %}
{% set showNewsletter = 0 %}
{% endif %}
{% if not(config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowNewsletterOnAccountPage')) and ((controllerName|lower == \"accountprofile\") or (controllerName|lower == \"address\") or (controllerName|lower == \"accountpayment\") or (controllerName|lower == \"accountorder\")) %}
{% set showNewsletter = 0 %}
{% endif %}
{% if showNewsletter == 1 %}
{% set action = 'frontend.form.newsletter.register.handle' %}
{% block base_footer_newsletter_inner %}
<div class=\"footer-main-newsletter\">
<div class=\"container\">
{% block base_footer_newsletter_inner_content %}
<div class=\"cms-block\">
<div class=\"cms-element-form\">
<form action=\"{{ path(action) }}\"
method=\"post\"
data-form-csrf-handler=\"true\"
data-form-validation=\"true\">
<div class=\"form-content{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterAlignContentMiddle') %} center{% endif %}{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterLeftRightSplitting') %} left-right-splitting{% endif %}\">
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterLeftRightSplitting') %}<div class=\"form-content-left\">{% endif %}
<div class=\"footer-main-newsletter-headline\">
{% if (config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterNewsletterHeadlineContentType') == \"texteditor\") %}
{{ \"tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterNewsletterHeadlineTextEditor\"|trans({\"%newsletterheadline%\": config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterNewsletterHeadlineContent')})|raw }}
{% elseif (config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterNewsletterHeadlineContentType') == \"snippet\") %}
{{ \"tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterNewsletterHeadline\"|trans|raw }}
{% endif %}
</div>
{% block base_footer_newsletter_inner_content_newslettertext_before %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterPositionNewsletterText') == \"beforeEmailAddressField\" %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowNewsletterText') %}
<p>
{% if (config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterNewsletterTextContentType') == \"texteditor\") %}
{{ \"tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterFirstNewsletterTextTextEditor\"|trans({\"%firstnewslettertext%\": config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterNewsletterTextContent')})|raw }}
{% elseif (config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterNewsletterTextContentType') == \"snippet\") %}
{{ \"tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterFirstNewsletterText\"|trans|raw }}
{% endif %}
</p>
{% endif %}
{% endif %}
{% endblock %}
{% block base_footer_newsletter_inner_content_secondnewslettertext_before %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterPositionSecondNewsletterText') == \"beforeEmailAddressField\" %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowSecondNewsletterText') %}
<p>
{% if (config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterSecondNewsletterTextContentType') == \"texteditor\") %}
{{ \"tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterSecondNewsletterTextTextEditor\"|trans({\"%secondnewslettertext%\": config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterSecondNewsletterTextContent')})|raw }}
{% elseif (config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterSecondNewsletterTextContentType') == \"snippet\") %}
{{ \"tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterSecondNewsletterText\"|trans|raw }}
{% endif %}
</p>
{% endif %}
{% endif %}
{% endblock %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterLeftRightSplitting') %}</div><div class=\"form-content-right\">{% endif %}
{% block base_footer_newsletter_inner_content_captcha_before %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterPositionCaptcha') == \"beforeEmailAddressField\" %}
{% sw_include '@Storefront/storefront/component/captcha/base.html.twig' with { additionalClass : 'col-md-4'} %}
{% endif %}
{% endblock %}
{% block base_footer_newsletter_inner_content_privacy_before %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterPositionDataProtectionInformation') == \"beforeEmailAddressField\" %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowDataProtectionInformation') %}
{% sw_include '@TmmsAdditionalNewsletterRegistrationOptions/storefront/additional-newsletter-registration-options-privacy.html.twig' with {
identifierTemplate: \"form-privacy-opt-in-footer-newsletter-registration\",
showHeadline: config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowDataProtectionInformationHeadline'),
showInput: config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterRequireDataProtectionInformationCheckbox')
} %}
{% endif %}
{% endif %}
{% endblock %}
{% block base_footer_newsletter_inner_content_required_fields_info_before %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterPositionRequiredFieldsInformation') == \"beforeEmailAddressField\" %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowRequiredFieldsInformation') %}
<div class=\"required-fields-info\">
{% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-info-required.html.twig' %}
</div>
{% endif %}
{% endif %}
{% endblock %}
{% block base_footer_newsletter_inner_content_inputs %}
<div class=\"form-row input-group\">
{% block base_footer_newsletter_inner_content_inputs_select_action %}
<label class=\"form-label d-none\" for=\"footerNewsletterAction\">
{{ \"tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.labelActionSelect\"|trans }} {{ \"general.required\"|trans }}
</label>
<input name=\"option\"
type=\"hidden\"
id=\"footerNewsletterAction\"
value=\"{{ constant('Shopware\\\\Storefront\\\\Controller\\\\FormController::SUBSCRIBE') }}\"/>
{% endblock %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowNewsletterButtonNextToField') %}
<div class=\"footer-newsletter-together{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowTextNewsletterButton') %} show-text-newsletter-button{% endif %}\">
{% set emailPlaceholder = \"tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.labelMail\" %}
{% else %}
<div class=\"footer-newsletter-below-button\">
{% set emailPlaceholder = \"tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.placeholderMail\" %}
{% endif %}
{% block base_footer_newsletter_inner_content_inputs_input_email %}
{% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-input.html.twig'
with {
fieldName: 'email',
type: 'email',
required: true,
additionalClass: 'col-12',
label: 'tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.labelMail',
placeholder: emailPlaceholder
}
%}
{% endblock %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowNewsletterButtonNextToField') %}
{% block base_footer_newsletter_inner_content_submit_before %}
<button class=\"btn btn-primary btn-newsletter w-auto\" type=\"submit\">
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowTextNewsletterButton') %}
<span class=\"btn-newsletter-txt\">
{{ \"tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterNewsletterSubmit\"|trans }}
</span>
{% endif %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowIconNewsletterButton') %}
{% sw_icon 'envelope' %}
{% endif %}
</button>
{% endblock %}
</div>
{% else %}
</div>
{% endif %}
</div>
{% endblock %}
{% block base_footer_newsletter_inner_content_captcha_after %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterPositionCaptcha') == \"afterEmailAddressField\" %}
{% sw_include '@Storefront/storefront/component/captcha/base.html.twig' with { additionalClass : 'col-md-4'} %}
{% endif %}
{% endblock %}
{% block base_footer_newsletter_inner_content_privacy_after %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterPositionDataProtectionInformation') == \"afterEmailAddressField\" %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowDataProtectionInformation') %}
{% sw_include '@TmmsAdditionalNewsletterRegistrationOptions/storefront/additional-newsletter-registration-options-privacy.html.twig' with {
identifierTemplate: \"form-privacy-opt-in-footer-newsletter-registration\",
showHeadline: config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowDataProtectionInformationHeadline'),
showInput: config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterRequireDataProtectionInformationCheckbox')
} %}
{% endif %}
{% endif %}
{% endblock %}
{% block base_footer_newsletter_inner_content_required_fields_info_after %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterPositionRequiredFieldsInformation') == \"afterEmailAddressField\" %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowRequiredFieldsInformation') %}
<div class=\"required-fields-info\">
{% sw_include '@Storefront/storefront/element/cms-element-form/form-components/cms-element-form-info-required.html.twig' %}
</div>
{% endif %}
{% endif %}
{% endblock %}
{% block base_footer_newsletter_inner_content_submit_after %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowNewsletterButtonNextToField') == false %}
<button class=\"btn btn-primary btn-newsletter w-auto mb-4\" type=\"submit\">
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowTextNewsletterButton') %}
<span class=\"btn-newsletter-txt\">
{{ \"tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterNewsletterSubmit\"|trans }}
</span>
{% endif %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowIconNewsletterButton') %}
{% sw_icon 'envelope' %}
{% endif %}
</button>
{% endif %}
{% endblock %}
{% block base_footer_newsletter_inner_content_newslettertext_after %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterPositionNewsletterText') == \"afterEmailAddressField\" %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowNewsletterText') %}
<p>
{% if (config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterNewsletterTextContentType') == \"texteditor\") %}
{{ \"tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterFirstNewsletterTextTextEditor\"|trans({\"%firstnewslettertext%\": config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterNewsletterTextContent')})|raw }}
{% elseif (config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterNewsletterTextContentType') == \"snippet\") %}
{{ \"tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterFirstNewsletterText\"|trans|raw }}
{% endif %}
</p>
{% endif %}
{% endif %}
{% endblock %}
{% block base_footer_newsletter_inner_content_secondnewslettertext_after %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterPositionSecondNewsletterText') == \"afterEmailAddressField\" %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterShowSecondNewsletterText') %}
<p>
{% if (config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterSecondNewsletterTextContentType') == \"texteditor\") %}
{{ \"tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterSecondNewsletterTextTextEditor\"|trans({\"%secondnewslettertext%\": config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterSecondNewsletterTextContent')})|raw }}
{% elseif (config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterSecondNewsletterTextContentType') == \"snippet\") %}
{{ \"tmms.additionalnewsletterregistrationoptions.aboveFooter.newsletter.aboveFooterSecondNewsletterText\"|trans|raw }}
{% endif %}
</p>
{% endif %}
{% endif %}
{% endblock %}
{% if config('TmmsAdditionalNewsletterRegistrationOptions.config.aboveFooterLeftRightSplitting') %}</div>{% endif %}
</div>
{% block base_footer_newsletter_inner_content_hidden_fields %}
<div class=\"form-hidden-fields\">
{% block base_footer_newsletter_inner_content_csrf %}
{{ sw_csrf(action) }}
{% endblock %}
<input type=\"submit\" class=\"submit--hidden d-none\"/>
</div>
{% endblock %}
</form>
</div>
</div>
{% endblock %}
</div>
</div>
{% endblock %}
{% endif %}
{% endblock %}
{{ parent() }}
{% endblock %}
", "@TmmsAdditionalNewsletterRegistrationOptions/storefront/base.html.twig", "/var/customers/webs/fporzellan/htdocs/custom/plugins/TmmsAdditionalNewsletterRegistrationOptions/src/Resources/views/storefront/base.html.twig");
}
}