<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;

/* OfficeBrainCustomBundleThemeBundle:IdmeTheme:BaseUIElements/tagBox.html.twig */
class __TwigTemplate_00fa292b4babdb0e9c55ce559a60d21e5c6fae5d3ccf66af3f7a9ed849957a4d extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 1
        $context["tag_data"] = twig_split_filter($this->env, ($context["tag"] ?? null), "|");
        // line 10
        $context["class"] = "delete-wishlist-block";
        // line 11
        $context["tag"] = "fa-tags";
        echo " 
";
        // line 12
        if ((twig_trim_filter($this->getAttribute(($context["tag_data"] ?? null), 1, [], "array")) == "Featured")) {
            // line 13
            echo "\t";
            $context["class"] = "f-featured";
            // line 14
            echo "\t";
            $context["tag"] = "fa-thumbs-up";
        } elseif ((twig_trim_filter($this->getAttribute(        // line 15
($context["tag_data"] ?? null), 1, [], "array")) == "New")) {
            // line 16
            echo "\t";
            $context["class"] = "f-new";
            // line 17
            echo "\t";
            $context["tag"] = "fa-archive";
        } elseif ((twig_trim_filter($this->getAttribute(        // line 18
($context["tag_data"] ?? null), 1, [], "array")) == "Closeout")) {
            // line 19
            echo "\t";
            $context["class"] = "f-closeout";
            // line 20
            echo "\t";
            $context["tag"] = "fa-tags";
        }
        // line 22
        echo "
";
        // line 28
        if ((($this->getAttribute(($context["tag_data"] ?? null), 5, [], "array") == "closeout-deals") || ($this->getAttribute(($context["tag_data"] ?? null), 5, [], "array") == "special"))) {
            // line 29
            echo "\t<div><img src=\"";
            echo twig_escape_filter($this->env, ((($context["base_url"] ?? null) . "/images/uploads/product-tag/featured-icon/") . $this->getAttribute(($context["tag_data"] ?? null), 3, [], "array")), "html", null, true);
            echo "\" alt=\"\"></div>
";
        }
        // line 31
        echo "

";
    }

    public function getTemplateName()
    {
        return "OfficeBrainCustomBundleThemeBundle:IdmeTheme:BaseUIElements/tagBox.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  74 => 31,  68 => 29,  66 => 28,  63 => 22,  59 => 20,  56 => 19,  54 => 18,  51 => 17,  48 => 16,  46 => 15,  43 => 14,  40 => 13,  38 => 12,  34 => 11,  32 => 10,  30 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Source("", "OfficeBrainCustomBundleThemeBundle:IdmeTheme:BaseUIElements/tagBox.html.twig", "/var/www/html/project/OfficeBrain/CustomBundle/ThemeBundle/Resources/views/IdmeTheme/BaseUIElements/tagBox.html.twig");
    }
}
