<?php

/* @particles/contacts.html.twig */
class __TwigTemplate_3019d906f34b5801b6256cf593b018e2797718df20d4397ac441b814d3803c68 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("@nucleus/partials/particle.html.twig", "@particles/contacts.html.twig", 1);
        $this->blocks = array(
            'particle' => array($this, 'block_particle'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "@nucleus/partials/particle.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 3
        $context["attr_extra"] = "";
        // line 4
        if ($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "extra", array())) {
            // line 5
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "extra", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["attributes"]) {
                // line 6
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($context["attributes"]);
                foreach ($context['_seq'] as $context["key"] => $context["value"]) {
                    // line 7
                    $context["attr_extra"] = ((((((isset($context["attr_extra"]) ? $context["attr_extra"] : null) . " ") . twig_escape_filter($this->env, $context["key"])) . "=\"") . twig_escape_filter($this->env, $context["value"], "html_attr")) . "\"");
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attributes'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
        }
        // line 12
        ob_start();
        // line 13
        echo "    ";
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "items", array()));
        foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
            // line 14
            echo "        ";
            $context["attr_extra_item"] = "";
            // line 15
            echo "        ";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["item"], "extra", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["extra"]) {
                // line 16
                echo "            ";
                $context["attr_extra_item"] = ((((((isset($context["attr_extra_item"]) ? $context["attr_extra_item"] : null) . " ") . twig_escape_filter($this->env, twig_first($this->env, twig_get_array_keys_filter($context["extra"])))) . "=\"") . twig_escape_filter($this->env, twig_first($this->env, $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->valuesFilter($context["extra"])), "html_attr")) . "\"");
                // line 17
                echo "        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['extra'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 18
            echo "
        ";
            // line 19
            ob_start();
            // line 20
            echo "            <div class=\"g-contacts-item";
            if ($this->getAttribute($context["item"], "class", array())) {
                echo " ";
                echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "class", array()));
            }
            if ((((($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "layout", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "layout", array()), "vertical")) : ("vertical")) == "horizontal") && (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "equal", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "equal", array()), 0)) : (0)))) {
                echo " g-block";
            }
            echo "\" ";
            if ($this->getAttribute($context["item"], "extra", array())) {
                echo (isset($context["attr_extra_item"]) ? $context["attr_extra_item"] : null);
            }
            echo ">
                ";
            // line 21
            if ((((($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "layout", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "layout", array()), "vertical")) : ("vertical")) == "horizontal") && (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "equal", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "equal", array()), 0)) : (0)))) {
                // line 22
                echo "                    <div class=\"g-content\">
                ";
            }
            // line 24
            echo "
                ";
            // line 25
            if ($this->getAttribute($context["item"], "link", array())) {
                // line 26
                echo "                    <a target=\"";
                echo twig_escape_filter($this->env, (($this->getAttribute($context["item"], "target", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "target", array()), "_parent")) : ("_parent")));
                echo "\" href=\"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "link", array()));
                echo "\">
                ";
            }
            // line 28
            echo "
                ";
            // line 29
            if ($this->getAttribute($context["item"], "icon", array())) {
                // line 30
                echo "                    <span class=\"g-contacts-icon ";
                echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "icon", array()));
                echo "\"></span>
                ";
            }
            // line 32
            echo "
                ";
            // line 33
            if ($this->getAttribute($context["item"], "title", array())) {
                // line 34
                echo "                    <span class=\"g-contact-title\">";
                echo $this->getAttribute($context["item"], "title", array());
                echo "</span>
                ";
            }
            // line 36
            echo "
                ";
            // line 37
            if ($this->getAttribute($context["item"], "value", array())) {
                // line 38
                echo "                    <span class=\"g-contact-value\">";
                echo $this->getAttribute($context["item"], "value", array());
                echo "</span>
                ";
            }
            // line 40
            echo "                    
                ";
            // line 41
            if ($this->getAttribute($context["item"], "link", array())) {
                // line 42
                echo "                    </a>
                ";
            }
            // line 44
            echo "
                ";
            // line 45
            if ((((($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "layout", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "layout", array()), "vertical")) : ("vertical")) == "horizontal") && (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "equal", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "equal", array()), 0)) : (0)))) {
                // line 46
                echo "                    </div>
                ";
            }
            // line 48
            echo "            </div>
        ";
            $context["style1"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 50
            echo "
        ";
            // line 51
            ob_start();
            // line 52
            echo "            <div class=\"g-contacts-item";
            if ($this->getAttribute($context["item"], "class", array())) {
                echo " ";
                echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "class", array()));
            }
            if ((((($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "layout", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "layout", array()), "vertical")) : ("vertical")) == "horizontal") && (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "equal", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "equal", array()), 0)) : (0)))) {
                echo " g-block";
            }
            echo "\" ";
            if ($this->getAttribute($context["item"], "extra", array())) {
                echo (isset($context["attr_extra_item"]) ? $context["attr_extra_item"] : null);
            }
            echo ">
                ";
            // line 53
            if ((((($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "layout", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "layout", array()), "vertical")) : ("vertical")) == "horizontal") && (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "equal", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "equal", array()), 0)) : (0)))) {
                // line 54
                echo "                    <div class=\"g-content\">
                ";
            }
            // line 56
            echo "
                ";
            // line 57
            if ($this->getAttribute($context["item"], "icon", array())) {
                // line 58
                echo "                    <div class=\"g-contacts-icon\">
                        <span class=\"";
                // line 59
                echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "icon", array()));
                echo "\"></span>
                    </div>
                ";
            }
            // line 62
            echo "
                ";
            // line 63
            if (($this->getAttribute($context["item"], "title", array()) || $this->getAttribute($context["item"], "value", array()))) {
                // line 64
                echo "                    <div class=\"g-title-value-container\">
                        ";
                // line 65
                if ($this->getAttribute($context["item"], "title", array())) {
                    // line 66
                    echo "                            <h4 class=\"g-contact-title\">";
                    // line 67
                    echo $this->getAttribute($context["item"], "title", array());
                    // line 68
                    echo "</h4>
                        ";
                }
                // line 70
                echo "
                        ";
                // line 71
                if ($this->getAttribute($context["item"], "value", array())) {
                    // line 72
                    echo "                            <div class=\"g-contact-value\">";
                    // line 73
                    if ($this->getAttribute($context["item"], "link", array())) {
                        // line 74
                        echo "<a target=\"";
                        echo twig_escape_filter($this->env, (($this->getAttribute($context["item"], "target", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "target", array()), "_parent")) : ("_parent")));
                        echo "\" href=\"";
                        echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "link", array()));
                        echo "\">";
                    }
                    // line 76
                    echo $this->getAttribute($context["item"], "value", array());
                    // line 77
                    if ($this->getAttribute($context["item"], "link", array())) {
                        // line 78
                        echo "</a>";
                    }
                    // line 80
                    echo "</div>
                        ";
                }
                // line 82
                echo "                    </div>
                ";
            }
            // line 84
            echo "
                ";
            // line 85
            if ((((($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "layout", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "layout", array()), "vertical")) : ("vertical")) == "horizontal") && (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "equal", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "equal", array()), 0)) : (0)))) {
                // line 86
                echo "                    </div>
                ";
            }
            // line 88
            echo "            </div>
        ";
            $context["style2"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 90
            echo "
        ";
            // line 91
            if (((($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "style", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "style", array()), "style1")) : ("style1")) == "style1")) {
                echo twig_escape_filter($this->env, (isset($context["style1"]) ? $context["style1"] : null), "html", null, true);
            }
            // line 92
            echo "        ";
            if (((($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "style", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "style", array()), "style1")) : ("style1")) == "style2")) {
                echo twig_escape_filter($this->env, (isset($context["style2"]) ? $context["style2"] : null), "html", null, true);
            }
            // line 93
            echo "
    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        $context["contactitems"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 1
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 97
    public function block_particle($context, array $blocks = array())
    {
        // line 98
        echo "    <div class=\"g-contacts ";
        echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "style", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "style", array()), "style1")) : ("style1")));
        echo " ";
        echo twig_escape_filter($this->env, (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "layout", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "layout", array()), "vertical")) : ("vertical")));
        if ($this->getAttribute($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "css", array()), "class", array())) {
            echo " ";
            echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "css", array()), "class", array()));
        }
        echo "\" ";
        if ($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "extra", array())) {
            echo (isset($context["attr_extra"]) ? $context["attr_extra"] : null);
        }
        echo ">
        ";
        // line 99
        if ((((($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "layout", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "layout", array()), "vertical")) : ("vertical")) == "horizontal") && (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "equal", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "equal", array()), 0)) : (0)))) {
            // line 100
            echo "            <div class=\"g-grid\">
        ";
        }
        // line 102
        echo "            ";
        echo twig_escape_filter($this->env, (isset($context["contactitems"]) ? $context["contactitems"] : null), "html", null, true);
        echo "
        ";
        // line 103
        if ((((($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "layout", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "layout", array()), "vertical")) : ("vertical")) == "horizontal") && (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "equal", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "equal", array()), 0)) : (0)))) {
            // line 104
            echo "            </div>
        ";
        }
        // line 106
        echo "    </div>
";
    }

    public function getTemplateName()
    {
        return "@particles/contacts.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  327 => 106,  323 => 104,  321 => 103,  316 => 102,  312 => 100,  310 => 99,  295 => 98,  292 => 97,  288 => 1,  280 => 93,  275 => 92,  271 => 91,  268 => 90,  264 => 88,  260 => 86,  258 => 85,  255 => 84,  251 => 82,  247 => 80,  244 => 78,  242 => 77,  240 => 76,  233 => 74,  231 => 73,  229 => 72,  227 => 71,  224 => 70,  220 => 68,  218 => 67,  216 => 66,  214 => 65,  211 => 64,  209 => 63,  206 => 62,  200 => 59,  197 => 58,  195 => 57,  192 => 56,  188 => 54,  186 => 53,  171 => 52,  169 => 51,  166 => 50,  162 => 48,  158 => 46,  156 => 45,  153 => 44,  149 => 42,  147 => 41,  144 => 40,  138 => 38,  136 => 37,  133 => 36,  127 => 34,  125 => 33,  122 => 32,  116 => 30,  114 => 29,  111 => 28,  103 => 26,  101 => 25,  98 => 24,  94 => 22,  92 => 21,  77 => 20,  75 => 19,  72 => 18,  66 => 17,  63 => 16,  58 => 15,  55 => 14,  50 => 13,  48 => 12,  37 => 7,  33 => 6,  29 => 5,  27 => 4,  25 => 3,  11 => 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 Twig_Source("", "@particles/contacts.html.twig", "/home/isfmp/public_html/welthaus/templates/it_construction/particles/contacts.html.twig");
    }
}
