<?php

/* @particles/3d-slider.html.twig */
class __TwigTemplate_7e5f38d4c3df4f034938bee0126404cf3588feed6f98dd81b5ea651ad4766ef5 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

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

    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(($context["particle"] ?? null), "extra", array())) {
            // line 5
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute(($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"] = (((((($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
        $context["sliderid"] = twig_random($this->env);
        // line 13
        $context["rel_number"] = 0;
        // line 15
        ob_start();
        // line 16
        echo "    <div class=\"g-particle-intro\">
        ";
        // line 17
        if ($this->getAttribute(($context["particle"] ?? null), "mainheading", array())) {
            // line 18
            echo "            <h3 class=\"g-title g-main-title\">";
            echo $this->getAttribute(($context["particle"] ?? null), "mainheading", array());
            echo "</h3>
            <div class=\"g-title-separator ";
            // line 19
            if (($this->getAttribute(($context["particle"] ?? null), "introtext", array()) == false)) {
                echo "no-intro-text";
            }
            echo "\"></div>
        ";
        }
        // line 20
        echo " 
        ";
        // line 21
        if ($this->getAttribute(($context["particle"] ?? null), "introtext", array())) {
            echo "<p class=\"g-introtext\">";
            echo $this->getAttribute(($context["particle"] ?? null), "introtext", array());
            echo "</p>";
        }
        // line 22
        echo "    </div>
";
        $context["particleheading"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 25
        ob_start();
        // line 26
        echo "    ";
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["particle"] ?? null), "items", array()));
        foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
            // line 27
            echo "        ";
            $context["attr_extra_item"] = "";
            // line 28
            echo "        ";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["item"], "extra", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["extra"]) {
                // line 29
                echo "            ";
                $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 30
                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 31
            echo "
        ";
            // line 32
            ob_start();
            // line 33
            echo "            <div class=\"g-3d-slider-image\">
                ";
            // line 34
            if ((((($this->getAttribute(($context["particle"] ?? null), "lightbox", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "lightbox", array()), "enable")) : ("enable")) == "enable") || ((($this->getAttribute(($context["particle"] ?? null), "lightbox", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "lightbox", array()), "enable")) : ("enable")) == "disable"))) {
                // line 35
                echo "                    ";
                if (((($this->getAttribute(($context["particle"] ?? null), "lightbox", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "lightbox", array()), "enable")) : ("enable")) == "enable")) {
                    // line 36
                    echo "                        <a href=\"";
                    echo twig_escape_filter($this->env, $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc($this->getAttribute($context["item"], "image", array()), false, 0), "html", null, true);
                    echo "\" data-uk-lightbox class=\"uk-overlay uk-overlay-hover\">
                        ";
                    // line 37
                    if (((($this->getAttribute(($context["particle"] ?? null), "style", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "style", array()), "style1")) : ("style1")) == "style1")) {
                        // line 38
                        echo "                            <span class=\"uk-overlay-panel uk-overlay-background uk-overlay-icon uk-overlay-fade\"></span>
                        ";
                    }
                    // line 40
                    echo "                    ";
                }
                // line 41
                echo "                        <img alt=\"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "alt", array()));
                echo "\" src=\"";
                echo twig_escape_filter($this->env, $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc($this->getAttribute($context["item"], "image", array())), "html", null, true);
                echo "\" ";
                echo $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->imageSize($this->getAttribute($context["item"], "image", array()));
                echo ">
                    ";
                // line 42
                if (((($this->getAttribute(($context["particle"] ?? null), "lightbox", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "lightbox", array()), "enable")) : ("enable")) == "enable")) {
                    // line 43
                    echo "                        </a>
                    ";
                }
                // line 45
                echo "                ";
            }
            // line 46
            echo "
                ";
            // line 47
            if (((($this->getAttribute(($context["particle"] ?? null), "lightbox", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "lightbox", array()), "enable")) : ("enable")) == "disablelink")) {
                // line 48
                echo "                    ";
                if ($this->getAttribute($context["item"], "link", array())) {
                    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 49
                echo "                        <img alt=\"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "alt", array()));
                echo "\" src=\"";
                echo twig_escape_filter($this->env, $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc($this->getAttribute($context["item"], "image", array())), "html", null, true);
                echo "\" ";
                echo $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->imageSize($this->getAttribute($context["item"], "image", array()));
                echo ">
                    ";
                // line 50
                if ($this->getAttribute($context["item"], "link", array())) {
                    echo "</a>";
                }
                // line 51
                echo "                ";
            }
            // line 52
            echo "            </div>
        ";
            $context["image"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 54
            echo "
        ";
            // line 55
            ob_start();
            // line 56
            echo "            <h4 class=\"g-3d-slider-title\">";
            // line 57
            if ($this->getAttribute($context["item"], "link", array())) {
                // line 58
                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 60
            echo $this->getAttribute($context["item"], "title", array());
            // line 61
            if ($this->getAttribute($context["item"], "link", array())) {
                // line 62
                echo "</a>";
            }
            // line 64
            echo "</h4>
        ";
            $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 66
            echo "
        ";
            // line 67
            ob_start();
            // line 68
            echo "            <div class=\"g-item-details";
            if ((((($this->getAttribute(($context["particle"] ?? null), "style", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "style", array()), "style1")) : ("style1")) == "style1") && ((($this->getAttribute(($context["particle"] ?? null), "dateposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "dateposition", array()), "top")) : ("top")) == "top"))) {
                echo " date-top";
            }
            echo "\">
                <span class=\"date\"><i class=\"fa fa-clock-o\"></i>";
            // line 69
            echo $this->getAttribute($context["item"], "date", array());
            echo "</span>
            </div>
        ";
            $context["date"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 72
            echo "
        ";
            // line 73
            ob_start();
            // line 74
            echo "            <div class=\"g-3d-slider-desc\">";
            // line 75
            echo $this->getAttribute($context["item"], "description", array());
            // line 76
            echo "</div>
        ";
            $context["description"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 78
            echo "
        ";
            // line 79
            ob_start();
            // line 80
            echo "            <div class=\"g-3d-slider-special\">";
            // line 81
            if ($this->getAttribute($context["item"], "icon", array())) {
                // line 82
                echo "<i class=\"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "icon", array()));
                echo "\"></i>";
            }
            // line 84
            echo $this->getAttribute($context["item"], "specialtext", array());
            // line 85
            echo "</div>
        ";
            $context["specialtext"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 87
            echo "
        ";
            // line 88
            ob_start();
            // line 89
            echo "            <div class=\"g-3d-slider-link\">
                <a target=\"";
            // line 90
            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 91
            echo $this->getAttribute($context["item"], "bottomlink", array());
            // line 92
            echo "<i class=\"fa fa-long-arrow-right\"></i>
                </a>
            </div>
        ";
            $context["bottomlink"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 96
            echo "
        ";
            // line 97
            ob_start();
            // line 98
            echo "            <div class=\"g-3d-slider-item\">
                ";
            // line 99
            if (($this->getAttribute($context["item"], "date", array()) && ((($this->getAttribute(($context["particle"] ?? null), "dateposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "dateposition", array()), "top")) : ("top")) == "top"))) {
                // line 100
                echo "                    ";
                echo twig_escape_filter($this->env, ($context["date"] ?? null), "html", null, true);
                echo "
                ";
            }
            // line 102
            echo "
                ";
            // line 103
            if ($this->getAttribute($context["item"], "image", array())) {
                // line 104
                echo "                    ";
                echo twig_escape_filter($this->env, ($context["image"] ?? null), "html", null, true);
                echo "
                ";
            }
            // line 106
            echo "
                ";
            // line 107
            if (($this->getAttribute($context["item"], "title", array()) || $this->getAttribute($context["item"], "description", array()))) {
                // line 108
                echo "                    <div class=\"g-info-container\">
                        ";
                // line 109
                if ($this->getAttribute($context["item"], "title", array())) {
                    // line 110
                    echo "                            ";
                    echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true);
                    echo "
                        ";
                }
                // line 112
                echo "
                        ";
                // line 113
                if (($this->getAttribute($context["item"], "date", array()) && ((($this->getAttribute(($context["particle"] ?? null), "dateposition", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "dateposition", array()), "top")) : ("top")) == "bottom"))) {
                    // line 114
                    echo "                            ";
                    echo twig_escape_filter($this->env, ($context["date"] ?? null), "html", null, true);
                    echo "
                        ";
                }
                // line 116
                echo "
                        ";
                // line 117
                if ($this->getAttribute($context["item"], "description", array())) {
                    // line 118
                    echo "                            ";
                    echo twig_escape_filter($this->env, ($context["description"] ?? null), "html", null, true);
                    echo "
                        ";
                }
                // line 120
                echo "
                        ";
                // line 121
                if (($this->getAttribute($context["item"], "specialtext", array()) || $this->getAttribute($context["item"], "bottomlink", array()))) {
                    // line 122
                    echo "                            <div class=\"g-bottom-info clearfix";
                    if (($this->getAttribute($context["item"], "specialtext", array()) == false)) {
                        echo " no-special";
                    }
                    if (($this->getAttribute($context["item"], "bottomlink", array()) == false)) {
                        echo " no-link";
                    }
                    echo "\">
                                ";
                    // line 123
                    if ($this->getAttribute($context["item"], "specialtext", array())) {
                        // line 124
                        echo "                                    ";
                        echo twig_escape_filter($this->env, ($context["specialtext"] ?? null), "html", null, true);
                        echo "
                                ";
                    }
                    // line 126
                    echo "
                                ";
                    // line 127
                    if ($this->getAttribute($context["item"], "bottomlink", array())) {
                        // line 128
                        echo "                                    ";
                        echo twig_escape_filter($this->env, ($context["bottomlink"] ?? null), "html", null, true);
                        echo "
                                ";
                    }
                    // line 130
                    echo "                            </div>
                        ";
                }
                // line 132
                echo "                    </div>
                ";
            }
            // line 134
            echo "            </div>
        ";
            $context["style1"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 136
            echo "
        ";
            // line 137
            ob_start();
            // line 138
            echo "            <div class=\"g-3d-slider-item uk-overlay uk-overlay-hover\">
                ";
            // line 139
            if ($this->getAttribute($context["item"], "image", array())) {
                // line 140
                echo "                    ";
                echo twig_escape_filter($this->env, ($context["image"] ?? null), "html", null, true);
                echo "
                ";
            }
            // line 142
            echo "
                ";
            // line 143
            if (($this->getAttribute($context["item"], "title", array()) || $this->getAttribute($context["item"], "description", array()))) {
                // line 144
                echo "                    <div class=\"g-info-container-style2 uk-overlay-panel uk-overlay-background uk-overlay-bottom uk-overlay-slide-bottom\">
                        ";
                // line 145
                if ($this->getAttribute($context["item"], "title", array())) {
                    // line 146
                    echo "                            ";
                    echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true);
                    echo "
                        ";
                }
                // line 148
                echo "
                        ";
                // line 149
                if ($this->getAttribute($context["item"], "date", array())) {
                    // line 150
                    echo "                            ";
                    echo twig_escape_filter($this->env, ($context["date"] ?? null), "html", null, true);
                    echo "
                        ";
                }
                // line 152
                echo "
                        ";
                // line 153
                if ($this->getAttribute($context["item"], "description", array())) {
                    // line 154
                    echo "                            ";
                    echo twig_escape_filter($this->env, ($context["description"] ?? null), "html", null, true);
                    echo "
                        ";
                }
                // line 156
                echo "
                        ";
                // line 157
                if (($this->getAttribute($context["item"], "specialtext", array()) || $this->getAttribute($context["item"], "bottomlink", array()))) {
                    // line 158
                    echo "                            <div class=\"g-bottom-info clearfix";
                    if (($this->getAttribute($context["item"], "specialtext", array()) == false)) {
                        echo " no-special";
                    }
                    if (($this->getAttribute($context["item"], "bottomlink", array()) == false)) {
                        echo " no-link";
                    }
                    echo "\">
                                ";
                    // line 159
                    if ($this->getAttribute($context["item"], "specialtext", array())) {
                        // line 160
                        echo "                                    ";
                        echo twig_escape_filter($this->env, ($context["specialtext"] ?? null), "html", null, true);
                        echo "
                                ";
                    }
                    // line 162
                    echo "
                                ";
                    // line 163
                    if ($this->getAttribute($context["item"], "bottomlink", array())) {
                        // line 164
                        echo "                                    ";
                        echo twig_escape_filter($this->env, ($context["bottomlink"] ?? null), "html", null, true);
                        echo "
                                ";
                    }
                    // line 166
                    echo "                            </div>
                        ";
                }
                // line 168
                echo "                    </div>
                ";
            }
            // line 170
            echo "            </div>
        ";
            $context["style2"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 172
            echo "
        ";
            // line 173
            ob_start();
            // line 174
            echo "            <div class=\"g-3d-slider-item uk-overlay\">
                ";
            // line 175
            if ($this->getAttribute($context["item"], "image", array())) {
                // line 176
                echo "                    ";
                echo twig_escape_filter($this->env, ($context["image"] ?? null), "html", null, true);
                echo "
                ";
            }
            // line 178
            echo "
                ";
            // line 179
            if (($this->getAttribute($context["item"], "title", array()) || $this->getAttribute($context["item"], "description", array()))) {
                // line 180
                echo "                    <div class=\"g-info-container-style2 uk-overlay-panel uk-overlay-background uk-overlay-bottom\">
                        ";
                // line 181
                if ($this->getAttribute($context["item"], "title", array())) {
                    // line 182
                    echo "                            ";
                    echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true);
                    echo "
                        ";
                }
                // line 184
                echo "
                        ";
                // line 185
                if ($this->getAttribute($context["item"], "date", array())) {
                    // line 186
                    echo "                            ";
                    echo twig_escape_filter($this->env, ($context["date"] ?? null), "html", null, true);
                    echo "
                        ";
                }
                // line 188
                echo "
                        ";
                // line 189
                if ($this->getAttribute($context["item"], "description", array())) {
                    // line 190
                    echo "                            ";
                    echo twig_escape_filter($this->env, ($context["description"] ?? null), "html", null, true);
                    echo "
                        ";
                }
                // line 192
                echo "
                        ";
                // line 193
                if (($this->getAttribute($context["item"], "specialtext", array()) || $this->getAttribute($context["item"], "bottomlink", array()))) {
                    // line 194
                    echo "                            <div class=\"g-bottom-info clearfix";
                    if (($this->getAttribute($context["item"], "specialtext", array()) == false)) {
                        echo " no-special";
                    }
                    if (($this->getAttribute($context["item"], "bottomlink", array()) == false)) {
                        echo " no-link";
                    }
                    echo "\">
                                ";
                    // line 195
                    if ($this->getAttribute($context["item"], "specialtext", array())) {
                        // line 196
                        echo "                                    ";
                        echo twig_escape_filter($this->env, ($context["specialtext"] ?? null), "html", null, true);
                        echo "
                                ";
                    }
                    // line 198
                    echo "
                                ";
                    // line 199
                    if ($this->getAttribute($context["item"], "bottomlink", array())) {
                        // line 200
                        echo "                                    ";
                        echo twig_escape_filter($this->env, ($context["bottomlink"] ?? null), "html", null, true);
                        echo "
                                ";
                    }
                    // line 202
                    echo "                            </div>
                        ";
                }
                // line 204
                echo "                    </div>
                ";
            }
            // line 206
            echo "            </div>
        ";
            $context["style3"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 208
            echo "
        <section rel='";
            // line 209
            echo twig_escape_filter($this->env, ($context["rel_number"] ?? null), "html", null, true);
            echo "'";
            if ($this->getAttribute($context["item"], "class", array())) {
                echo " class=\"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "class", array()));
                echo "\"";
            }
            echo " ";
            if ($this->getAttribute($context["item"], "extra", array())) {
                echo ($context["attr_extra_item"] ?? null);
            }
            echo ">
            ";
            // line 210
            if (((($this->getAttribute(($context["particle"] ?? null), "style", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "style", array()), "style1")) : ("style1")) == "style1")) {
                echo twig_escape_filter($this->env, ($context["style1"] ?? null), "html", null, true);
            }
            // line 211
            echo "            ";
            if (((($this->getAttribute(($context["particle"] ?? null), "style", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "style", array()), "style1")) : ("style1")) == "style2")) {
                echo twig_escape_filter($this->env, ($context["style2"] ?? null), "html", null, true);
            }
            // line 212
            echo "            ";
            if (((($this->getAttribute(($context["particle"] ?? null), "style", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "style", array()), "style1")) : ("style1")) == "style3")) {
                echo twig_escape_filter($this->env, ($context["style3"] ?? null), "html", null, true);
            }
            // line 213
            echo "        </section>

        ";
            // line 215
            $context["rel_number"] = (($context["rel_number"] ?? null) + 1);
            // line 216
            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["slideritems"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 1
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 220
    public function block_particle($context, array $blocks = array())
    {
        // line 221
        echo "    <div class=\"g-3d-slider g-3d-inline_";
        echo twig_escape_filter($this->env, ($context["sliderid"] ?? null), "html", null, true);
        echo " ";
        echo twig_escape_filter($this->env, (($this->getAttribute(($context["particle"] ?? null), "theme", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "theme", array()), "carousel")) : ("carousel")));
        echo " ";
        echo twig_escape_filter($this->env, (($this->getAttribute(($context["particle"] ?? null), "style", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "style", array()), "style1")) : ("style1")));
        if ($this->getAttribute($this->getAttribute(($context["particle"] ?? null), "css", array()), "class", array())) {
            echo " ";
            echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["particle"] ?? null), "css", array()), "class", array()));
        }
        echo "\" ";
        if ($this->getAttribute(($context["particle"] ?? null), "extra", array())) {
            echo ($context["attr_extra"] ?? null);
        }
        echo ">
        ";
        // line 222
        if (($this->getAttribute(($context["particle"] ?? null), "mainheading", array()) || $this->getAttribute(($context["particle"] ?? null), "introtext", array()))) {
            // line 223
            echo "            ";
            echo twig_escape_filter($this->env, ($context["particleheading"] ?? null), "html", null, true);
            echo "
        ";
        }
        // line 225
        echo "        <div class=\"g-3d-slider-container\">
            <article class=\"presentation-3d\">
                ";
        // line 227
        echo twig_escape_filter($this->env, ($context["slideritems"] ?? null), "html", null, true);
        echo "
            </article>
            ";
        // line 229
        if (((($this->getAttribute(($context["particle"] ?? null), "navigation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "navigation", array()), "arrows")) : ("arrows")) == "arrows")) {
            // line 230
            echo "                <div class=\"g-particle-navigation ";
            echo twig_escape_filter($this->env, (($this->getAttribute(($context["particle"] ?? null), "navigation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "navigation", array()), "arrows")) : ("arrows")));
            echo "\">
                    <a href=\"\" class=\"uk-slidenav uk-slidenav-previous\" data-uk-slideset-item=\"previous\"></a>
                    <a href=\"\" class=\"uk-slidenav uk-slidenav-next\" data-uk-slideset-item=\"next\"></a>
                </div>
            ";
        }
        // line 235
        echo "        </div>
        ";
        // line 236
        if (((($this->getAttribute(($context["particle"] ?? null), "navigation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "navigation", array()), "arrows")) : ("arrows")) == "arrows-bottom")) {
            // line 237
            echo "            <div class=\"g-particle-navigation ";
            echo twig_escape_filter($this->env, (($this->getAttribute(($context["particle"] ?? null), "navigation", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "navigation", array()), "arrows")) : ("arrows")));
            echo "\">
                <a href=\"\" class=\"uk-slidenav uk-slidenav-previous\" data-uk-slideset-item=\"previous\"></a>
                <a href=\"\" class=\"uk-slidenav uk-slidenav-next\" data-uk-slideset-item=\"next\"></a>
            </div>
        ";
        }
        // line 242
        echo "    </div>
";
    }

    // line 245
    public function block_javascript_footer($context, array $blocks = array())
    {
        // line 246
        echo "    ";
        if ($this->getAttribute(($context["particle"] ?? null), "enabled", array())) {
            // line 247
            echo "        ";
            $this->getAttribute(($context["gantry"] ?? null), "load", array(0 => "jquery"), "method");
            // line 248
            echo "        ";
            $this->displayParentBlock("javascript_footer", $context, $blocks);
            echo "
        <script src=\"";
            // line 249
            echo twig_escape_filter($this->env, $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc("gantry-theme://js/bespoke/bespoke.min.js"), "html", null, true);
            echo "\" type=\"text/javascript\"></script>
        <script src=\"";
            // line 250
            echo twig_escape_filter($this->env, $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc("gantry-theme://js/bespoke/bespoke-keys.min.js"), "html", null, true);
            echo "\" type=\"text/javascript\"></script>
        <script src=\"";
            // line 251
            echo twig_escape_filter($this->env, $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc("gantry-theme://js/bespoke/bespoke-touch.min.js"), "html", null, true);
            echo "\" type=\"text/javascript\"></script>
        <script src=\"";
            // line 252
            echo twig_escape_filter($this->env, $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc("gantry-theme://js/bespoke/bespoke-classes.min.js"), "html", null, true);
            echo "\" type=\"text/javascript\"></script>
        <script src=\"";
            // line 253
            echo twig_escape_filter($this->env, $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc("gantry-theme://js/bespoke/bespoke-backdrop.min.js"), "html", null, true);
            echo "\" type=\"text/javascript\"></script>
        ";
            // line 254
            if (((($this->getAttribute(($context["particle"] ?? null), "loopslider", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "loopslider", array()), "disable")) : ("disable")) == "enable")) {
                // line 255
                echo "            <script src=\"";
                echo twig_escape_filter($this->env, $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc("gantry-theme://js/bespoke/bespoke-loop.min.js"), "html", null, true);
                echo "\" type=\"text/javascript\"></script>
        ";
            }
            // line 257
            echo "        <script type=\"text/javascript\">

            var deck_";
            // line 259
            echo twig_escape_filter($this->env, ($context["sliderid"] ?? null), "html", null, true);
            echo " = bespoke.from('.g-3d-inline_";
            echo twig_escape_filter($this->env, ($context["sliderid"] ?? null), "html", null, true);
            echo " .presentation-3d', [
                bespoke.plugins.keys(),
                bespoke.plugins.touch(),
                bespoke.plugins.classes(),
                ";
            // line 263
            if (((($this->getAttribute(($context["particle"] ?? null), "loopslider", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "loopslider", array()), "disable")) : ("disable")) == "enable")) {
                // line 264
                echo "                    bespoke.plugins.loop(),
                ";
            }
            // line 266
            echo "                bespoke.plugins.backdrop()
            ]);
            
            // Start Slide
            deck_";
            // line 270
            echo twig_escape_filter($this->env, ($context["sliderid"] ?? null), "html", null, true);
            echo ".slide(";
            echo twig_escape_filter($this->env, (($this->getAttribute(($context["particle"] ?? null), "start", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "start", array()), 3)) : (3)));
            echo " - 1);

            (function(\$) {
                \$(window).load(function() {

                    // Click Navigation
                    var goToSlide = \$('.g-3d-inline_";
            // line 276
            echo twig_escape_filter($this->env, ($context["sliderid"] ?? null), "html", null, true);
            echo " section');
                    var prevButton = \$('.g-3d-inline_";
            // line 277
            echo twig_escape_filter($this->env, ($context["sliderid"] ?? null), "html", null, true);
            echo " .uk-slidenav-previous');
                    var nextButton = \$('.g-3d-inline_";
            // line 278
            echo twig_escape_filter($this->env, ($context["sliderid"] ?? null), "html", null, true);
            echo " .uk-slidenav-next');

                    \$(goToSlide).on(\"click\", function(e){
                        var slide = \$(this).attr('rel');
                        deck_";
            // line 282
            echo twig_escape_filter($this->env, ($context["sliderid"] ?? null), "html", null, true);
            echo ".slide(slide);
                    });

                    \$(prevButton).on(\"click\", function(e){
                        e.preventDefault();
                        deck_";
            // line 287
            echo twig_escape_filter($this->env, ($context["sliderid"] ?? null), "html", null, true);
            echo ".prev();
                    });

                    \$(nextButton).on(\"click\", function(e){
                        e.preventDefault();
                        deck_";
            // line 292
            echo twig_escape_filter($this->env, ($context["sliderid"] ?? null), "html", null, true);
            echo ".next();
                    });

                    // Get Slider Height
                    function getSliderHeight() {
                        var sliderContainer = \$('.g-3d-inline_";
            // line 297
            echo twig_escape_filter($this->env, ($context["sliderid"] ?? null), "html", null, true);
            echo " .g-3d-slider-container');
                        var sliderHeight = \$('.g-3d-inline_";
            // line 298
            echo twig_escape_filter($this->env, ($context["sliderid"] ?? null), "html", null, true);
            echo " .bespoke-active').innerHeight();

                        \$(sliderContainer).css({
                            'height' : sliderHeight
                        });
                    }

                    getSliderHeight();

                    \$(window).resize(function() {
                        getSliderHeight();
                    });

                    // Autoplay
                    ";
            // line 312
            if (((($this->getAttribute(($context["particle"] ?? null), "autoplay", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "autoplay", array()), "disable")) : ("disable")) == "enable")) {
                // line 313
                echo "                        function autoplay(){
                            deck_";
                // line 314
                echo twig_escape_filter($this->env, ($context["sliderid"] ?? null), "html", null, true);
                echo ".next();
                        };

                        setInterval(autoplay,";
                // line 317
                echo twig_escape_filter($this->env, (($this->getAttribute(($context["particle"] ?? null), "autoplayInterval", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "autoplayInterval", array()), 7000)) : (7000)));
                echo ");
                    ";
            }
            // line 319
            echo "                });
            })(jQuery);
        </script>
    ";
        }
    }

    public function getTemplateName()
    {
        return "@particles/3d-slider.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  868 => 319,  863 => 317,  857 => 314,  854 => 313,  852 => 312,  835 => 298,  831 => 297,  823 => 292,  815 => 287,  807 => 282,  800 => 278,  796 => 277,  792 => 276,  781 => 270,  775 => 266,  771 => 264,  769 => 263,  760 => 259,  756 => 257,  750 => 255,  748 => 254,  744 => 253,  740 => 252,  736 => 251,  732 => 250,  728 => 249,  723 => 248,  720 => 247,  717 => 246,  714 => 245,  709 => 242,  700 => 237,  698 => 236,  695 => 235,  686 => 230,  684 => 229,  679 => 227,  675 => 225,  669 => 223,  667 => 222,  650 => 221,  647 => 220,  643 => 1,  635 => 216,  633 => 215,  629 => 213,  624 => 212,  619 => 211,  615 => 210,  601 => 209,  598 => 208,  594 => 206,  590 => 204,  586 => 202,  580 => 200,  578 => 199,  575 => 198,  569 => 196,  567 => 195,  557 => 194,  555 => 193,  552 => 192,  546 => 190,  544 => 189,  541 => 188,  535 => 186,  533 => 185,  530 => 184,  524 => 182,  522 => 181,  519 => 180,  517 => 179,  514 => 178,  508 => 176,  506 => 175,  503 => 174,  501 => 173,  498 => 172,  494 => 170,  490 => 168,  486 => 166,  480 => 164,  478 => 163,  475 => 162,  469 => 160,  467 => 159,  457 => 158,  455 => 157,  452 => 156,  446 => 154,  444 => 153,  441 => 152,  435 => 150,  433 => 149,  430 => 148,  424 => 146,  422 => 145,  419 => 144,  417 => 143,  414 => 142,  408 => 140,  406 => 139,  403 => 138,  401 => 137,  398 => 136,  394 => 134,  390 => 132,  386 => 130,  380 => 128,  378 => 127,  375 => 126,  369 => 124,  367 => 123,  357 => 122,  355 => 121,  352 => 120,  346 => 118,  344 => 117,  341 => 116,  335 => 114,  333 => 113,  330 => 112,  324 => 110,  322 => 109,  319 => 108,  317 => 107,  314 => 106,  308 => 104,  306 => 103,  303 => 102,  297 => 100,  295 => 99,  292 => 98,  290 => 97,  287 => 96,  281 => 92,  279 => 91,  274 => 90,  271 => 89,  269 => 88,  266 => 87,  262 => 85,  260 => 84,  255 => 82,  253 => 81,  251 => 80,  249 => 79,  246 => 78,  242 => 76,  240 => 75,  238 => 74,  236 => 73,  233 => 72,  227 => 69,  220 => 68,  218 => 67,  215 => 66,  211 => 64,  208 => 62,  206 => 61,  204 => 60,  197 => 58,  195 => 57,  193 => 56,  191 => 55,  188 => 54,  184 => 52,  181 => 51,  177 => 50,  168 => 49,  159 => 48,  157 => 47,  154 => 46,  151 => 45,  147 => 43,  145 => 42,  136 => 41,  133 => 40,  129 => 38,  127 => 37,  122 => 36,  119 => 35,  117 => 34,  114 => 33,  112 => 32,  109 => 31,  103 => 30,  100 => 29,  95 => 28,  92 => 27,  87 => 26,  85 => 25,  81 => 22,  75 => 21,  72 => 20,  65 => 19,  60 => 18,  58 => 17,  55 => 16,  53 => 15,  51 => 13,  49 => 12,  38 => 7,  34 => 6,  30 => 5,  28 => 4,  26 => 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/3d-slider.html.twig", "/home/isfmp/public_html/welthaus/templates/it_construction/particles/3d-slider.html.twig");
    }
}
