<?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;
/* @EfbStorefront/storefront/component/product/card/wishlist.html.twig */
class __TwigTemplate_c8029dd78bc29232914a083770485a23 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'component_product_wishlist_icon' => [$this, 'block_component_product_wishlist_icon'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@MindsShoppingCartGoals/storefront/component/product/card/wishlist.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", "@EfbStorefront/storefront/component/product/card/wishlist.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@EfbStorefront/storefront/component/product/card/wishlist.html.twig"));
$this->parent = $this->loadTemplate("@MindsShoppingCartGoals/storefront/component/product/card/wishlist.html.twig", "@EfbStorefront/storefront/component/product/card/wishlist.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_component_product_wishlist_icon($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", "component_product_wishlist_icon"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "component_product_wishlist_icon"));
// line 4
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, "@EfbStorefront/storefront/component/product/card/wishlist.html.twig", 4);
})())->display(twig_array_merge($context, ["namespace" => "EfbStorefront", "class" => "wishlist icon-wishlist-added", "size" => ($context["size"] ?? null), "name" => "heart-fill"]));
// line 5
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, "@EfbStorefront/storefront/component/product/card/wishlist.html.twig", 5);
})())->display(twig_array_merge($context, ["namespace" => "EfbStorefront", "class" => "wishlist icon-wishlist-not-added", "size" => ($context["size"] ?? null), "name" => "heart"]));
// line 6
echo "
";
// line 7
if (($context["showText"] ?? null)) {
// line 8
echo " <span class=\"product-wishlist-btn-content text-wishlist-not-added product-wishlist-btn-content-";
echo sw_escape_filter($this->env, ($context["size"] ?? null), "html", null, true);
echo "\">
";
// line 9
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("listing.addToWishlist"));
echo "
</span>
<span class=\"product-wishlist-btn-content text-wishlist-remove product-wishlist-btn-content-";
// line 11
echo sw_escape_filter($this->env, ($context["size"] ?? null), "html", null, true);
echo "\">
";
// line 12
echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("listing.removeFromWishlist"));
echo "
</span>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@EfbStorefront/storefront/component/product/card/wishlist.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 105 => 12, 101 => 11, 96 => 9, 91 => 8, 89 => 7, 86 => 6, 77 => 5, 68 => 4, 58 => 3, 35 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/component/product/card/wishlist.html.twig' %}
{% block component_product_wishlist_icon %}
{% sw_icon 'heart-fill' style { 'namespace': 'EfbStorefront', 'class': 'wishlist icon-wishlist-added', 'size': size } %}
{% sw_icon 'heart' style { 'namespace': 'EfbStorefront', 'class': 'wishlist icon-wishlist-not-added', 'size': size } %}
{% if showText %}
<span class=\"product-wishlist-btn-content text-wishlist-not-added product-wishlist-btn-content-{{ size }}\">
{{ \"listing.addToWishlist\"|trans|sw_sanitize }}
</span>
<span class=\"product-wishlist-btn-content text-wishlist-remove product-wishlist-btn-content-{{ size }}\">
{{ \"listing.removeFromWishlist\"|trans|sw_sanitize }}
</span>
{% endif %}
{% endblock %}", "@EfbStorefront/storefront/component/product/card/wishlist.html.twig", "/var/www/share/efb-elektronik.dev.mc.emzcustomers.de/shopware6/custom/static-plugins/EfbStorefront/Resources/views/storefront/component/product/card/wishlist.html.twig");
}
}