<?php

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

        // line 1
        $this->parent = $this->loadTemplate("@nucleus/partials/particle.html.twig", "@particles/promocontent.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())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    public function block_particle($context, array $blocks = array())
    {
        // line 4
        echo "
\t";
        // line 5
        if ($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "title", array())) {
            // line 6
            echo "\t<h2 class=\"g-title\">";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "title", array()));
            echo "</h2>
\t";
        }
        // line 8
        echo "\t\t
\t<div class=\"g-promocontent ";
        // line 9
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "class", array()));
        echo "\">
\t\t";
        // line 10
        ob_start();
        // line 11
        echo "\t\t\t";
        if (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "link", array()) && ($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "linkstyle", array()) == "inline"))) {
            // line 12
            echo "\t\t\t<a href=\"";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "link", array()));
            echo "\" class=\"button ";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "readmoreclass", array()));
            echo "\">";
            echo $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "readmore", array());
            echo "</a>
\t\t\t";
        }
        // line 14
        echo "\t\t";
        $context["readmoreInline"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 15
        echo "\t\t";
        if (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "link", array()) && ($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "linkstyle", array()) == "aside"))) {
            // line 16
            echo "\t\t<div class=\"g-inline-action-content\"><div class=\"g-inline-action-text\">
\t\t";
        }
        // line 18
        echo "
\t\t";
        // line 19
        if ($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "tags", array())) {
            // line 20
            echo "\t\t<ul class=\"g-tags\">
\t\t";
            // line 21
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "tags", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["tag"]) {
                // line 22
                echo "\t\t\t<li>
\t\t\t\t";
                // line 23
                if ($this->getAttribute($context["tag"], "link", array())) {
                    // line 24
                    echo "\t\t\t\t<a href=\"";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["tag"], "link", array()));
                    echo "\">
\t\t\t\t";
                }
                // line 26
                echo "\t\t\t\t\t";
                if ($this->getAttribute($context["tag"], "icon", array())) {
                    // line 27
                    echo "\t\t\t\t\t<i class=\"";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["tag"], "icon", array()));
                    echo "\"></i>
\t\t\t\t\t";
                }
                // line 29
                echo "\t\t\t\t\t";
                echo twig_escape_filter($this->env, $this->getAttribute($context["tag"], "text", array()));
                echo "
\t\t\t\t";
                // line 30
                if ($this->getAttribute($context["tag"], "link", array())) {
                    // line 31
                    echo "\t\t\t\t</a>
\t\t\t\t";
                }
                // line 33
                echo "\t\t\t</li>
\t\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tag'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 35
            echo "\t\t</ul>
\t\t";
        }
        // line 37
        echo "
\t\t";
        // line 38
        if ((($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "promostyle", array()) == "standard") && $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "title", array()))) {
            // line 39
            echo "\t\t<h2 class=\"g-title\">";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "promo", array()));
            echo "</h2>
\t\t";
            // line 40
            echo twig_escape_filter($this->env, (isset($context["readmoreInline"]) ? $context["readmoreInline"] : null), "html", null, true);
            echo "
\t\t";
        }
        // line 42
        echo "\t\t
\t\t";
        // line 43
        if (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "promostyle", array()) == "promo")) {
            // line 44
            echo "\t\t<div class=\"g-promo\">";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "promo", array()));
            echo "</div>
\t\t";
            // line 45
            echo twig_escape_filter($this->env, (isset($context["readmoreInline"]) ? $context["readmoreInline"] : null), "html", null, true);
            echo "
\t\t";
        }
        // line 47
        echo "\t
\t\t";
        // line 48
        if (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "promostyle", array()) == "superpromo")) {
            // line 49
            echo "\t\t<h2 class=\"g-superpromo\">
\t\t\t";
            // line 50
            if ($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "link", array())) {
                // line 51
                echo "\t\t\t<a href=\"";
                echo twig_escape_filter($this->env, $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "link", array()));
                echo "\">
\t\t\t";
            }
            // line 53
            echo "\t\t\t\t";
            echo $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "promo", array());
            echo "
\t\t\t";
            // line 54
            if ($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "link", array())) {
                // line 55
                echo "\t\t\t</a>
\t\t\t";
            }
            // line 57
            echo "\t\t</h2>
\t\t";
            // line 58
            echo twig_escape_filter($this->env, (isset($context["readmoreInline"]) ? $context["readmoreInline"] : null), "html", null, true);
            echo "
\t\t";
        }
        // line 60
        echo "\t
\t\t";
        // line 61
        if (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "promostyle", array()) == "subpromo")) {
            // line 62
            echo "\t\t<div class=\"g-subpromo\">
\t\t\t<span>";
            // line 63
            echo $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "promo", array());
            echo "</span>
\t\t\t";
            // line 64
            echo twig_escape_filter($this->env, (isset($context["readmoreInline"]) ? $context["readmoreInline"] : null), "html", null, true);
            echo "
\t\t</div>
\t\t";
        }
        // line 67
        echo "\t\t
\t\t";
        // line 68
        if ((($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "desc", array()) || $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "desc2", array())) || $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "regularlinktext", array()))) {
            // line 69
            echo "\t\t<div class=\"g-promocontent-desc-wrapper\">
\t\t\t";
            // line 70
            if (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "desc", array()) || $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "desc2", array()))) {
                // line 71
                echo "\t\t\t\t";
                if (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "descanimation", array()) == "typewriter")) {
                    // line 72
                    echo "\t\t\t\t\t<span class=\"g-textpromo g-textpromo-typed ";
                    echo twig_escape_filter($this->env, $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "animationElementID", array()));
                    echo "\">
\t\t\t\t\t\t";
                    // line 73
                    if ($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "desc", array())) {
                        echo $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "desc", array());
                    }
                    // line 74
                    echo "\t\t\t\t\t\t";
                    if ($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "desc2", array())) {
                        echo $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "desc2", array());
                    }
                    // line 75
                    echo "\t\t\t\t\t</span>
\t\t\t\t";
                } else {
                    // line 77
                    echo "\t\t\t\t\t<span class=\"g-textpromo\">
\t\t\t\t\t\t";
                    // line 78
                    if ($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "desc", array())) {
                        echo $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "desc", array());
                    }
                    // line 79
                    echo "\t\t\t\t\t\t";
                    if ($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "desc2", array())) {
                        echo $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "desc2", array());
                    }
                    // line 80
                    echo "\t\t\t\t\t</span>
\t\t\t\t";
                }
                // line 82
                echo "\t\t\t";
            }
            echo "\t\t\t\t
\t\t</div>
\t\t<div>
\t\t\t";
            // line 85
            if ($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "regularlinktext", array())) {
                // line 86
                echo "\t\t\t<a class=\"g-readon\" href=\"";
                echo twig_escape_filter($this->env, $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "regularlinkurl", array()));
                echo "\">";
                echo $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "regularlinktext", array());
                echo "</a>
\t\t\t";
            }
            // line 87
            echo "\t\t\t\t\t
\t\t</div>\t
\t\t";
        }
        // line 89
        echo "\t\t
\t\t
\t\t";
        // line 91
        if (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "link", array()) && ($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "linkstyle", array()) == "aside"))) {
            // line 92
            echo "\t\t</div>
\t\t<div class=\"g-inline-action-button\">
\t\t";
        }
        // line 95
        echo "\t\t
\t\t";
        // line 96
        if (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "link", array()) && (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "linkstyle", array()) == "block") || ($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "linkstyle", array()) == "aside")))) {
            // line 97
            echo "\t\t<a href=\"";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "link", array()));
            echo "\" class=\"button ";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "readmoreclass", array()));
            echo "\">";
            echo $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "readmore", array());
            echo "</a>
\t\t";
        }
        // line 99
        echo "\t\t
\t\t";
        // line 100
        if (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "link", array()) && ($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "linkstyle", array()) == "aside"))) {
            // line 101
            echo "\t\t</div></div>
\t\t";
        }
        // line 103
        echo "\t</div>


\t";
        // line 106
        if (($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "descanimation", array()) == "typewriter")) {
            // line 107
            echo "\t<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js\"></script>

\t<script>
\t\t// The MIT License (MIT)

\t\t// Typed.js | Copyright (c) 2014 Matt Boldt | www.mattboldt.com

\t\t// Permission is hereby granted, free of charge, to any person obtaining a copy
\t\t// of this software and associated documentation files (the \"Software\"), to deal
\t\t// in the Software without restriction, including without limitation the rights
\t\t// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
\t\t// copies of the Software, and to permit persons to whom the Software is
\t\t// furnished to do so, subject to the following conditions:

\t\t// The above copyright notice and this permission notice shall be included in
\t\t// all copies or substantial portions of the Software.

\t\t// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
\t\t// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
\t\t// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
\t\t// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
\t\t// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
\t\t// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
\t\t// THE SOFTWARE.




\t\t! function(\$) {

\t\t    \"use strict\";

\t\t    var Typed = function(el, options) {

\t\t        // chosen element to manipulate text
\t\t        this.el = \$(el);

\t\t        // options
\t\t        this.options = \$.extend({}, \$.fn.typed.defaults, options);

\t\t        // attribute to type into
\t\t        this.isInput = this.el.is('input');
\t\t        this.attr = this.options.attr;

\t\t        // show cursor
\t\t        this.showCursor = this.isInput ? false : this.options.showCursor;

\t\t        // text content of element
\t\t        this.elContent = this.attr ? this.el.attr(this.attr) : this.el.text()

\t\t        // html or plain text
\t\t        this.contentType = this.options.contentType;

\t\t        // typing speed
\t\t        this.typeSpeed = this.options.typeSpeed;

\t\t        // add a delay before typing starts
\t\t        this.startDelay = this.options.startDelay;

\t\t        // backspacing speed
\t\t        this.backSpeed = this.options.backSpeed;

\t\t        // amount of time to wait before backspacing
\t\t        this.backDelay = this.options.backDelay;

\t\t        // input strings of text
\t\t        this.strings = this.options.strings;

\t\t        // character number position of current string
\t\t        this.strPos = 0;

\t\t        // current array position
\t\t        this.arrayPos = 0;

\t\t        // number to stop backspacing on.
\t\t        // default 0, can change depending on how many chars
\t\t        // you want to remove at the time
\t\t        this.stopNum = 0;

\t\t        // Looping logic
\t\t        this.loop = this.options.loop;
\t\t        this.loopCount = this.options.loopCount;
\t\t        this.curLoop = 0;

\t\t        // for stopping
\t\t        this.stop = false;

\t\t        // custom cursor
\t\t        this.cursorChar = this.options.cursorChar;

\t\t        // shuffle the strings
\t\t        this.shuffle = this.options.shuffle;
\t\t        // the order of strings
\t\t        this.sequence = [];

\t\t        // All systems go!
\t\t        this.build();
\t\t    };

\t\t    Typed.prototype = {

\t\t        constructor: Typed

\t\t        ,
\t\t        init: function() {
\t\t            // begin the loop w/ first current string (global self.string)
\t\t            // current string will be passed as an argument each time after this
\t\t            var self = this;
\t\t            self.timeout = setTimeout(function() {
\t\t                for (var i=0;i<self.strings.length;++i) self.sequence[i]=i;

\t\t                // shuffle the array if true
\t\t                if(self.shuffle) self.sequence = self.shuffleArray(self.sequence);

\t\t                // Start typing
\t\t                self.typewrite(self.strings[self.sequence[self.arrayPos]], self.strPos);
\t\t            }, self.startDelay);
\t\t        }

\t\t        ,
\t\t        build: function() {
\t\t            // Insert cursor
\t\t            if (this.showCursor === true) {
\t\t                this.cursor = \$(\"<span class=\\\"typed-cursor\\\">\" + this.cursorChar + \"</span>\");
\t\t                this.el.after(this.cursor);
\t\t            }
\t\t            this.init();
\t\t        }

\t\t        // pass current string state to each function, types 1 char per call
\t\t        ,
\t\t        typewrite: function(curString, curStrPos) {
\t\t            // exit when stopped
\t\t            if (this.stop === true) {
\t\t                return;
\t\t            }

\t\t            // varying values for setTimeout during typing
\t\t            // can't be global since number changes each time loop is executed
\t\t            var humanize = Math.round(Math.random() * (100 - 30)) + this.typeSpeed;
\t\t            var self = this;

\t\t            // ------------- optional ------------- //
\t\t            // backpaces a certain string faster
\t\t            // ------------------------------------ //
\t\t            // if (self.arrayPos == 1){
\t\t            //  self.backDelay = 50;
\t\t            // }
\t\t            // else{ self.backDelay = 500; }

\t\t            // contain typing function in a timeout humanize'd delay
\t\t            self.timeout = setTimeout(function() {
\t\t                // check for an escape character before a pause value
\t\t                // format: \\^\\d+ .. eg: ^1000 .. should be able to print the ^ too using ^^
\t\t                // single ^ are removed from string
\t\t                var charPause = 0;
\t\t                var substr = curString.substr(curStrPos);
\t\t                if (substr.charAt(0) === '^') {
\t\t                    var skip = 1; // skip atleast 1
\t\t                    if (/^\\^\\d+/.test(substr)) {
\t\t                        substr = /\\d+/.exec(substr)[0];
\t\t                        skip += substr.length;
\t\t                        charPause = parseInt(substr);
\t\t                    }

\t\t                    // strip out the escape character and pause value so they're not printed
\t\t                    curString = curString.substring(0, curStrPos) + curString.substring(curStrPos + skip);
\t\t                }

\t\t                if (self.contentType === 'html') {
\t\t                    // skip over html tags while typing
\t\t                    var curChar = curString.substr(curStrPos).charAt(0)
\t\t                    if (curChar === '<' || curChar === '&') {
\t\t                        var tag = '';
\t\t                        var endTag = '';
\t\t                        if (curChar === '<') {
\t\t                            endTag = '>'
\t\t                        } else {
\t\t                            endTag = ';'
\t\t                        }
\t\t                        while (curString.substr(curStrPos).charAt(0) !== endTag) {
\t\t                            tag += curString.substr(curStrPos).charAt(0);
\t\t                            curStrPos++;
\t\t                        }
\t\t                        curStrPos++;
\t\t                        tag += endTag;
\t\t                    }
\t\t                }

\t\t                // timeout for any pause after a character
\t\t                self.timeout = setTimeout(function() {
\t\t                    if (curStrPos === curString.length) {
\t\t                        // fires callback function
\t\t                        self.options.onStringTyped(self.arrayPos);

\t\t                        // is this the final string
\t\t                        if (self.arrayPos === self.strings.length - 1) {
\t\t                            // animation that occurs on the last typed string
\t\t                            self.options.callback();

\t\t                            self.curLoop++;

\t\t                            // quit if we wont loop back
\t\t                            if (self.loop === false || self.curLoop === self.loopCount)
\t\t                                return;
\t\t                        }

\t\t                        self.timeout = setTimeout(function() {
\t\t                            self.backspace(curString, curStrPos);
\t\t                        }, self.backDelay);
\t\t                    } else {

\t\t                        /* call before functions if applicable */
\t\t                        if (curStrPos === 0)
\t\t                            self.options.preStringTyped(self.arrayPos);

\t\t                        // start typing each new char into existing string
\t\t                        // curString: arg, self.el.html: original text inside element
\t\t                        var nextString = curString.substr(0, curStrPos + 1);
\t\t                        if (self.attr) {
\t\t                            self.el.attr(self.attr, nextString);
\t\t                        } else {
\t\t                            if (self.isInput) {
\t\t                                self.el.val(nextString);
\t\t                            } else if (self.contentType === 'html') {
\t\t                                self.el.html(nextString);
\t\t                            } else {
\t\t                                self.el.text(nextString);
\t\t                            }
\t\t                        }

\t\t                        // add characters one by one
\t\t                        curStrPos++;
\t\t                        // loop the function
\t\t                        self.typewrite(curString, curStrPos);
\t\t                    }
\t\t                    // end of character pause
\t\t                }, charPause);

\t\t                // humanized value for typing
\t\t            }, humanize);

\t\t        }

\t\t        ,
\t\t        backspace: function(curString, curStrPos) {
\t\t            // exit when stopped
\t\t            if (this.stop === true) {
\t\t                return;
\t\t            }

\t\t            // varying values for setTimeout during typing
\t\t            // can't be global since number changes each time loop is executed
\t\t            var humanize = Math.round(Math.random() * (100 - 30)) + this.backSpeed;
\t\t            var self = this;

\t\t            self.timeout = setTimeout(function() {

\t\t                // ----- this part is optional ----- //
\t\t                // check string array position
\t\t                // on the first string, only delete one word
\t\t                // the stopNum actually represents the amount of chars to
\t\t                // keep in the current string. In my case it's 14.
\t\t                // if (self.arrayPos == 1){
\t\t                //  self.stopNum = 14;
\t\t                // }
\t\t                //every other time, delete the whole typed string
\t\t                // else{
\t\t                //  self.stopNum = 0;
\t\t                // }

\t\t                if (self.contentType === 'html') {
\t\t                    // skip over html tags while backspacing
\t\t                    if (curString.substr(curStrPos).charAt(0) === '>') {
\t\t                        var tag = '';
\t\t                        while (curString.substr(curStrPos).charAt(0) !== '<') {
\t\t                            tag -= curString.substr(curStrPos).charAt(0);
\t\t                            curStrPos--;
\t\t                        }
\t\t                        curStrPos--;
\t\t                        tag += '<';
\t\t                    }
\t\t                }

\t\t                // ----- continue important stuff ----- //
\t\t                // replace text with base text + typed characters
\t\t                var nextString = curString.substr(0, curStrPos);
\t\t                if (self.attr) {
\t\t                    self.el.attr(self.attr, nextString);
\t\t                } else {
\t\t                    if (self.isInput) {
\t\t                        self.el.val(nextString);
\t\t                    } else if (self.contentType === 'html') {
\t\t                        self.el.html(nextString);
\t\t                    } else {
\t\t                        self.el.text(nextString);
\t\t                    }
\t\t                }

\t\t                // if the number (id of character in current string) is
\t\t                // less than the stop number, keep going
\t\t                if (curStrPos > self.stopNum) {
\t\t                    // subtract characters one by one
\t\t                    curStrPos--;
\t\t                    // loop the function
\t\t                    self.backspace(curString, curStrPos);
\t\t                }
\t\t                // if the stop number has been reached, increase
\t\t                // array position to next string
\t\t                else if (curStrPos <= self.stopNum) {
\t\t                    self.arrayPos++;

\t\t                    if (self.arrayPos === self.strings.length) {
\t\t                        self.arrayPos = 0;

\t\t                        // Shuffle sequence again
\t\t                        if(self.shuffle) self.sequence = self.shuffleArray(self.sequence);

\t\t                        self.init();
\t\t                    } else
\t\t                        self.typewrite(self.strings[self.sequence[self.arrayPos]], curStrPos);
\t\t                }

\t\t                // humanized value for typing
\t\t            }, humanize);

\t\t        }
\t\t        /**
\t\t         * Shuffles the numbers in the given array.
\t\t         * @param {Array} array
\t\t         * @returns {Array}
\t\t         */
\t\t        ,shuffleArray: function(array) {
\t\t            var tmp, current, top = array.length;
\t\t            if(top) while(--top) {
\t\t                current = Math.floor(Math.random() * (top + 1));
\t\t                tmp = array[current];
\t\t                array[current] = array[top];
\t\t                array[top] = tmp;
\t\t            }
\t\t            return array;
\t\t        }

\t\t        // Start & Stop currently not working

\t\t        // , stop: function() {
\t\t        //     var self = this;

\t\t        //     self.stop = true;
\t\t        //     clearInterval(self.timeout);
\t\t        // }

\t\t        // , start: function() {
\t\t        //     var self = this;
\t\t        //     if(self.stop === false)
\t\t        //        return;

\t\t        //     this.stop = false;
\t\t        //     this.init();
\t\t        // }

\t\t        // Reset and rebuild the element
\t\t        ,
\t\t        reset: function() {
\t\t            var self = this;
\t\t            clearInterval(self.timeout);
\t\t            var id = this.el.attr('id');
\t\t            this.el.after('<span id=\"' + id + '\"/>')
\t\t            this.el.remove();
\t\t            if (typeof this.cursor !== 'undefined') {
\t\t                this.cursor.remove();
\t\t            }
\t\t            // Send the callback
\t\t            self.options.resetCallback();
\t\t        }

\t\t    };

\t\t    \$.fn.typed = function(option) {
\t\t        return this.each(function() {
\t\t            var \$this = \$(this),
\t\t                data = \$this.data('typed'),
\t\t                options = typeof option == 'object' && option;
\t\t            if (!data) \$this.data('typed', (data = new Typed(this, options)));
\t\t            if (typeof option == 'string') data[option]();
\t\t        });
\t\t    };

\t\t    \$.fn.typed.defaults = {
\t\t        strings: [\"These are the default values...\", \"You know what you should do?\", \"Use your own!\", \"Have a great day!\"],
\t\t        // typing speed
\t\t        typeSpeed: 0,
\t\t        // time before typing starts
\t\t        startDelay: 0,
\t\t        // backspacing speed
\t\t        backSpeed: 0,
\t\t        // shuffle the strings
\t\t        shuffle: false,
\t\t        // time before backspacing
\t\t        backDelay: 500,
\t\t        // loop
\t\t        loop: false,
\t\t        // false = infinite
\t\t        loopCount: false,
\t\t        // show cursor
\t\t        showCursor: true,
\t\t        // character for cursor
\t\t        cursorChar: \"|\",
\t\t        // attribute to type (null == text)
\t\t        attr: null,
\t\t        // either html or text
\t\t        contentType: 'html',
\t\t        // call when done callback function
\t\t        callback: function() {},
\t\t        // starting callback function before each string
\t\t        preStringTyped: function() {},
\t\t        //callback for every typed string
\t\t        onStringTyped: function() {},
\t\t        // callback for reset
\t\t        resetCallback: function() {}
\t\t    };


\t\t}(window.jQuery);

\t</script>
\t<script>
\t    \$(function(){
\t        \$(\".g-textpromo-typed.";
            // line 535
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "animationElementID", array()));
            echo "\").typed({
\t            strings: [";
            // line 536
            if ($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "desc", array())) {
                echo "'";
                echo $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "desc", array());
                echo "'";
            }
            echo " ";
            if ($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "desc2", array())) {
                echo ", '";
                echo $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "desc2", array());
                echo "'";
            }
            echo "],
\t            typeSpeed: 0,
\t            preStringTyped: function() {
\t            \t\$(\".g-textpromo-typed\").css('visibility', 'visible');
\t            }
\t        });
\t    });
\t</script>
\t";
        }
        // line 545
        echo "
";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  778 => 545,  756 => 536,  752 => 535,  322 => 107,  320 => 106,  315 => 103,  311 => 101,  309 => 100,  306 => 99,  296 => 97,  294 => 96,  291 => 95,  286 => 92,  284 => 91,  280 => 89,  275 => 87,  267 => 86,  265 => 85,  258 => 82,  254 => 80,  249 => 79,  245 => 78,  242 => 77,  238 => 75,  233 => 74,  229 => 73,  224 => 72,  221 => 71,  219 => 70,  216 => 69,  214 => 68,  211 => 67,  205 => 64,  201 => 63,  198 => 62,  196 => 61,  193 => 60,  188 => 58,  185 => 57,  181 => 55,  179 => 54,  174 => 53,  168 => 51,  166 => 50,  163 => 49,  161 => 48,  158 => 47,  153 => 45,  148 => 44,  146 => 43,  143 => 42,  138 => 40,  133 => 39,  131 => 38,  128 => 37,  124 => 35,  117 => 33,  113 => 31,  111 => 30,  106 => 29,  100 => 27,  97 => 26,  91 => 24,  89 => 23,  86 => 22,  82 => 21,  79 => 20,  77 => 19,  74 => 18,  70 => 16,  67 => 15,  64 => 14,  54 => 12,  51 => 11,  49 => 10,  45 => 9,  42 => 8,  36 => 6,  34 => 5,  31 => 4,  28 => 3,  11 => 1,);
    }
}
/* {% extends '@nucleus/partials/particle.html.twig' %}*/
/* */
/* {% block particle %}*/
/* */
/* 	{% if particle.title %}*/
/* 	<h2 class="g-title">{{ particle.title|e }}</h2>*/
/* 	{% endif %}*/
/* 		*/
/* 	<div class="g-promocontent {{ particle.class|e }}">*/
/* 		{% set readmoreInline %}*/
/* 			{% if particle.link and particle.linkstyle == 'inline' %}*/
/* 			<a href="{{ particle.link|e }}" class="button {{ particle.readmoreclass|e }}">{{ particle.readmore|raw }}</a>*/
/* 			{% endif %}*/
/* 		{% endset %}*/
/* 		{% if particle.link and particle.linkstyle == 'aside' %}*/
/* 		<div class="g-inline-action-content"><div class="g-inline-action-text">*/
/* 		{% endif %}*/
/* */
/* 		{% if particle.tags %}*/
/* 		<ul class="g-tags">*/
/* 		{% for tag in particle.tags %}*/
/* 			<li>*/
/* 				{% if tag.link %}*/
/* 				<a href="{{ tag.link|e }}">*/
/* 				{% endif %}*/
/* 					{% if tag.icon %}*/
/* 					<i class="{{ tag.icon|e }}"></i>*/
/* 					{% endif %}*/
/* 					{{ tag.text|e }}*/
/* 				{% if tag.link %}*/
/* 				</a>*/
/* 				{% endif %}*/
/* 			</li>*/
/* 		{% endfor %}*/
/* 		</ul>*/
/* 		{% endif %}*/
/* */
/* 		{% if particle.promostyle == 'standard' and particle.title %}*/
/* 		<h2 class="g-title">{{ particle.promo|e }}</h2>*/
/* 		{{ readmoreInline }}*/
/* 		{% endif %}*/
/* 		*/
/* 		{% if particle.promostyle == 'promo' %}*/
/* 		<div class="g-promo">{{ particle.promo|e }}</div>*/
/* 		{{ readmoreInline }}*/
/* 		{% endif %}*/
/* 	*/
/* 		{% if particle.promostyle == 'superpromo' %}*/
/* 		<h2 class="g-superpromo">*/
/* 			{% if particle.link %}*/
/* 			<a href="{{ particle.link|e }}">*/
/* 			{% endif %}*/
/* 				{{ particle.promo|raw }}*/
/* 			{% if particle.link %}*/
/* 			</a>*/
/* 			{% endif %}*/
/* 		</h2>*/
/* 		{{ readmoreInline }}*/
/* 		{% endif %}*/
/* 	*/
/* 		{% if particle.promostyle == 'subpromo' %}*/
/* 		<div class="g-subpromo">*/
/* 			<span>{{ particle.promo|raw }}</span>*/
/* 			{{ readmoreInline }}*/
/* 		</div>*/
/* 		{% endif %}*/
/* 		*/
/* 		{% if particle.desc or particle.desc2 or particle.regularlinktext %}*/
/* 		<div class="g-promocontent-desc-wrapper">*/
/* 			{% if particle.desc or particle.desc2 %}*/
/* 				{% if particle.descanimation == 'typewriter' %}*/
/* 					<span class="g-textpromo g-textpromo-typed {{ particle.animationElementID|e }}">*/
/* 						{% if particle.desc %}{{ particle.desc|raw }}{% endif %}*/
/* 						{% if particle.desc2 %}{{ particle.desc2|raw }}{% endif %}*/
/* 					</span>*/
/* 				{% else %}*/
/* 					<span class="g-textpromo">*/
/* 						{% if particle.desc %}{{ particle.desc|raw }}{% endif %}*/
/* 						{% if particle.desc2 %}{{ particle.desc2|raw }}{% endif %}*/
/* 					</span>*/
/* 				{% endif %}*/
/* 			{% endif %}				*/
/* 		</div>*/
/* 		<div>*/
/* 			{% if particle.regularlinktext %}*/
/* 			<a class="g-readon" href="{{ particle.regularlinkurl|e }}">{{ particle.regularlinktext|raw }}</a>*/
/* 			{% endif %}					*/
/* 		</div>	*/
/* 		{% endif %}		*/
/* 		*/
/* 		{% if particle.link and particle.linkstyle == 'aside' %}*/
/* 		</div>*/
/* 		<div class="g-inline-action-button">*/
/* 		{% endif %}*/
/* 		*/
/* 		{% if particle.link and (particle.linkstyle == 'block' or particle.linkstyle == 'aside') %}*/
/* 		<a href="{{ particle.link|e }}" class="button {{ particle.readmoreclass|e }}">{{ particle.readmore|raw }}</a>*/
/* 		{% endif %}*/
/* 		*/
/* 		{% if particle.link and particle.linkstyle == 'aside' %}*/
/* 		</div></div>*/
/* 		{% endif %}*/
/* 	</div>*/
/* */
/* */
/* 	{% if particle.descanimation == 'typewriter' %}*/
/* 	<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>*/
/* */
/* 	<script>*/
/* 		// The MIT License (MIT)*/
/* */
/* 		// Typed.js | Copyright (c) 2014 Matt Boldt | www.mattboldt.com*/
/* */
/* 		// Permission is hereby granted, free of charge, to any person obtaining a copy*/
/* 		// of this software and associated documentation files (the "Software"), to deal*/
/* 		// in the Software without restriction, including without limitation the rights*/
/* 		// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell*/
/* 		// copies of the Software, and to permit persons to whom the Software is*/
/* 		// furnished to do so, subject to the following conditions:*/
/* */
/* 		// The above copyright notice and this permission notice shall be included in*/
/* 		// all copies or substantial portions of the Software.*/
/* */
/* 		// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR*/
/* 		// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,*/
/* 		// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE*/
/* 		// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER*/
/* 		// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,*/
/* 		// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN*/
/* 		// THE SOFTWARE.*/
/* */
/* */
/* */
/* */
/* 		! function($) {*/
/* */
/* 		    "use strict";*/
/* */
/* 		    var Typed = function(el, options) {*/
/* */
/* 		        // chosen element to manipulate text*/
/* 		        this.el = $(el);*/
/* */
/* 		        // options*/
/* 		        this.options = $.extend({}, $.fn.typed.defaults, options);*/
/* */
/* 		        // attribute to type into*/
/* 		        this.isInput = this.el.is('input');*/
/* 		        this.attr = this.options.attr;*/
/* */
/* 		        // show cursor*/
/* 		        this.showCursor = this.isInput ? false : this.options.showCursor;*/
/* */
/* 		        // text content of element*/
/* 		        this.elContent = this.attr ? this.el.attr(this.attr) : this.el.text()*/
/* */
/* 		        // html or plain text*/
/* 		        this.contentType = this.options.contentType;*/
/* */
/* 		        // typing speed*/
/* 		        this.typeSpeed = this.options.typeSpeed;*/
/* */
/* 		        // add a delay before typing starts*/
/* 		        this.startDelay = this.options.startDelay;*/
/* */
/* 		        // backspacing speed*/
/* 		        this.backSpeed = this.options.backSpeed;*/
/* */
/* 		        // amount of time to wait before backspacing*/
/* 		        this.backDelay = this.options.backDelay;*/
/* */
/* 		        // input strings of text*/
/* 		        this.strings = this.options.strings;*/
/* */
/* 		        // character number position of current string*/
/* 		        this.strPos = 0;*/
/* */
/* 		        // current array position*/
/* 		        this.arrayPos = 0;*/
/* */
/* 		        // number to stop backspacing on.*/
/* 		        // default 0, can change depending on how many chars*/
/* 		        // you want to remove at the time*/
/* 		        this.stopNum = 0;*/
/* */
/* 		        // Looping logic*/
/* 		        this.loop = this.options.loop;*/
/* 		        this.loopCount = this.options.loopCount;*/
/* 		        this.curLoop = 0;*/
/* */
/* 		        // for stopping*/
/* 		        this.stop = false;*/
/* */
/* 		        // custom cursor*/
/* 		        this.cursorChar = this.options.cursorChar;*/
/* */
/* 		        // shuffle the strings*/
/* 		        this.shuffle = this.options.shuffle;*/
/* 		        // the order of strings*/
/* 		        this.sequence = [];*/
/* */
/* 		        // All systems go!*/
/* 		        this.build();*/
/* 		    };*/
/* */
/* 		    Typed.prototype = {*/
/* */
/* 		        constructor: Typed*/
/* */
/* 		        ,*/
/* 		        init: function() {*/
/* 		            // begin the loop w/ first current string (global self.string)*/
/* 		            // current string will be passed as an argument each time after this*/
/* 		            var self = this;*/
/* 		            self.timeout = setTimeout(function() {*/
/* 		                for (var i=0;i<self.strings.length;++i) self.sequence[i]=i;*/
/* */
/* 		                // shuffle the array if true*/
/* 		                if(self.shuffle) self.sequence = self.shuffleArray(self.sequence);*/
/* */
/* 		                // Start typing*/
/* 		                self.typewrite(self.strings[self.sequence[self.arrayPos]], self.strPos);*/
/* 		            }, self.startDelay);*/
/* 		        }*/
/* */
/* 		        ,*/
/* 		        build: function() {*/
/* 		            // Insert cursor*/
/* 		            if (this.showCursor === true) {*/
/* 		                this.cursor = $("<span class=\"typed-cursor\">" + this.cursorChar + "</span>");*/
/* 		                this.el.after(this.cursor);*/
/* 		            }*/
/* 		            this.init();*/
/* 		        }*/
/* */
/* 		        // pass current string state to each function, types 1 char per call*/
/* 		        ,*/
/* 		        typewrite: function(curString, curStrPos) {*/
/* 		            // exit when stopped*/
/* 		            if (this.stop === true) {*/
/* 		                return;*/
/* 		            }*/
/* */
/* 		            // varying values for setTimeout during typing*/
/* 		            // can't be global since number changes each time loop is executed*/
/* 		            var humanize = Math.round(Math.random() * (100 - 30)) + this.typeSpeed;*/
/* 		            var self = this;*/
/* */
/* 		            // ------------- optional ------------- //*/
/* 		            // backpaces a certain string faster*/
/* 		            // ------------------------------------ //*/
/* 		            // if (self.arrayPos == 1){*/
/* 		            //  self.backDelay = 50;*/
/* 		            // }*/
/* 		            // else{ self.backDelay = 500; }*/
/* */
/* 		            // contain typing function in a timeout humanize'd delay*/
/* 		            self.timeout = setTimeout(function() {*/
/* 		                // check for an escape character before a pause value*/
/* 		                // format: \^\d+ .. eg: ^1000 .. should be able to print the ^ too using ^^*/
/* 		                // single ^ are removed from string*/
/* 		                var charPause = 0;*/
/* 		                var substr = curString.substr(curStrPos);*/
/* 		                if (substr.charAt(0) === '^') {*/
/* 		                    var skip = 1; // skip atleast 1*/
/* 		                    if (/^\^\d+/.test(substr)) {*/
/* 		                        substr = /\d+/.exec(substr)[0];*/
/* 		                        skip += substr.length;*/
/* 		                        charPause = parseInt(substr);*/
/* 		                    }*/
/* */
/* 		                    // strip out the escape character and pause value so they're not printed*/
/* 		                    curString = curString.substring(0, curStrPos) + curString.substring(curStrPos + skip);*/
/* 		                }*/
/* */
/* 		                if (self.contentType === 'html') {*/
/* 		                    // skip over html tags while typing*/
/* 		                    var curChar = curString.substr(curStrPos).charAt(0)*/
/* 		                    if (curChar === '<' || curChar === '&') {*/
/* 		                        var tag = '';*/
/* 		                        var endTag = '';*/
/* 		                        if (curChar === '<') {*/
/* 		                            endTag = '>'*/
/* 		                        } else {*/
/* 		                            endTag = ';'*/
/* 		                        }*/
/* 		                        while (curString.substr(curStrPos).charAt(0) !== endTag) {*/
/* 		                            tag += curString.substr(curStrPos).charAt(0);*/
/* 		                            curStrPos++;*/
/* 		                        }*/
/* 		                        curStrPos++;*/
/* 		                        tag += endTag;*/
/* 		                    }*/
/* 		                }*/
/* */
/* 		                // timeout for any pause after a character*/
/* 		                self.timeout = setTimeout(function() {*/
/* 		                    if (curStrPos === curString.length) {*/
/* 		                        // fires callback function*/
/* 		                        self.options.onStringTyped(self.arrayPos);*/
/* */
/* 		                        // is this the final string*/
/* 		                        if (self.arrayPos === self.strings.length - 1) {*/
/* 		                            // animation that occurs on the last typed string*/
/* 		                            self.options.callback();*/
/* */
/* 		                            self.curLoop++;*/
/* */
/* 		                            // quit if we wont loop back*/
/* 		                            if (self.loop === false || self.curLoop === self.loopCount)*/
/* 		                                return;*/
/* 		                        }*/
/* */
/* 		                        self.timeout = setTimeout(function() {*/
/* 		                            self.backspace(curString, curStrPos);*/
/* 		                        }, self.backDelay);*/
/* 		                    } else {*/
/* */
/* 		                        /* call before functions if applicable *//* */
/* 		                        if (curStrPos === 0)*/
/* 		                            self.options.preStringTyped(self.arrayPos);*/
/* */
/* 		                        // start typing each new char into existing string*/
/* 		                        // curString: arg, self.el.html: original text inside element*/
/* 		                        var nextString = curString.substr(0, curStrPos + 1);*/
/* 		                        if (self.attr) {*/
/* 		                            self.el.attr(self.attr, nextString);*/
/* 		                        } else {*/
/* 		                            if (self.isInput) {*/
/* 		                                self.el.val(nextString);*/
/* 		                            } else if (self.contentType === 'html') {*/
/* 		                                self.el.html(nextString);*/
/* 		                            } else {*/
/* 		                                self.el.text(nextString);*/
/* 		                            }*/
/* 		                        }*/
/* */
/* 		                        // add characters one by one*/
/* 		                        curStrPos++;*/
/* 		                        // loop the function*/
/* 		                        self.typewrite(curString, curStrPos);*/
/* 		                    }*/
/* 		                    // end of character pause*/
/* 		                }, charPause);*/
/* */
/* 		                // humanized value for typing*/
/* 		            }, humanize);*/
/* */
/* 		        }*/
/* */
/* 		        ,*/
/* 		        backspace: function(curString, curStrPos) {*/
/* 		            // exit when stopped*/
/* 		            if (this.stop === true) {*/
/* 		                return;*/
/* 		            }*/
/* */
/* 		            // varying values for setTimeout during typing*/
/* 		            // can't be global since number changes each time loop is executed*/
/* 		            var humanize = Math.round(Math.random() * (100 - 30)) + this.backSpeed;*/
/* 		            var self = this;*/
/* */
/* 		            self.timeout = setTimeout(function() {*/
/* */
/* 		                // ----- this part is optional ----- //*/
/* 		                // check string array position*/
/* 		                // on the first string, only delete one word*/
/* 		                // the stopNum actually represents the amount of chars to*/
/* 		                // keep in the current string. In my case it's 14.*/
/* 		                // if (self.arrayPos == 1){*/
/* 		                //  self.stopNum = 14;*/
/* 		                // }*/
/* 		                //every other time, delete the whole typed string*/
/* 		                // else{*/
/* 		                //  self.stopNum = 0;*/
/* 		                // }*/
/* */
/* 		                if (self.contentType === 'html') {*/
/* 		                    // skip over html tags while backspacing*/
/* 		                    if (curString.substr(curStrPos).charAt(0) === '>') {*/
/* 		                        var tag = '';*/
/* 		                        while (curString.substr(curStrPos).charAt(0) !== '<') {*/
/* 		                            tag -= curString.substr(curStrPos).charAt(0);*/
/* 		                            curStrPos--;*/
/* 		                        }*/
/* 		                        curStrPos--;*/
/* 		                        tag += '<';*/
/* 		                    }*/
/* 		                }*/
/* */
/* 		                // ----- continue important stuff ----- //*/
/* 		                // replace text with base text + typed characters*/
/* 		                var nextString = curString.substr(0, curStrPos);*/
/* 		                if (self.attr) {*/
/* 		                    self.el.attr(self.attr, nextString);*/
/* 		                } else {*/
/* 		                    if (self.isInput) {*/
/* 		                        self.el.val(nextString);*/
/* 		                    } else if (self.contentType === 'html') {*/
/* 		                        self.el.html(nextString);*/
/* 		                    } else {*/
/* 		                        self.el.text(nextString);*/
/* 		                    }*/
/* 		                }*/
/* */
/* 		                // if the number (id of character in current string) is*/
/* 		                // less than the stop number, keep going*/
/* 		                if (curStrPos > self.stopNum) {*/
/* 		                    // subtract characters one by one*/
/* 		                    curStrPos--;*/
/* 		                    // loop the function*/
/* 		                    self.backspace(curString, curStrPos);*/
/* 		                }*/
/* 		                // if the stop number has been reached, increase*/
/* 		                // array position to next string*/
/* 		                else if (curStrPos <= self.stopNum) {*/
/* 		                    self.arrayPos++;*/
/* */
/* 		                    if (self.arrayPos === self.strings.length) {*/
/* 		                        self.arrayPos = 0;*/
/* */
/* 		                        // Shuffle sequence again*/
/* 		                        if(self.shuffle) self.sequence = self.shuffleArray(self.sequence);*/
/* */
/* 		                        self.init();*/
/* 		                    } else*/
/* 		                        self.typewrite(self.strings[self.sequence[self.arrayPos]], curStrPos);*/
/* 		                }*/
/* */
/* 		                // humanized value for typing*/
/* 		            }, humanize);*/
/* */
/* 		        }*/
/* 		        /***/
/* 		         * Shuffles the numbers in the given array.*/
/* 		         * @param {Array} array*/
/* 		         * @returns {Array}*/
/* 		         *//* */
/* 		        ,shuffleArray: function(array) {*/
/* 		            var tmp, current, top = array.length;*/
/* 		            if(top) while(--top) {*/
/* 		                current = Math.floor(Math.random() * (top + 1));*/
/* 		                tmp = array[current];*/
/* 		                array[current] = array[top];*/
/* 		                array[top] = tmp;*/
/* 		            }*/
/* 		            return array;*/
/* 		        }*/
/* */
/* 		        // Start & Stop currently not working*/
/* */
/* 		        // , stop: function() {*/
/* 		        //     var self = this;*/
/* */
/* 		        //     self.stop = true;*/
/* 		        //     clearInterval(self.timeout);*/
/* 		        // }*/
/* */
/* 		        // , start: function() {*/
/* 		        //     var self = this;*/
/* 		        //     if(self.stop === false)*/
/* 		        //        return;*/
/* */
/* 		        //     this.stop = false;*/
/* 		        //     this.init();*/
/* 		        // }*/
/* */
/* 		        // Reset and rebuild the element*/
/* 		        ,*/
/* 		        reset: function() {*/
/* 		            var self = this;*/
/* 		            clearInterval(self.timeout);*/
/* 		            var id = this.el.attr('id');*/
/* 		            this.el.after('<span id="' + id + '"/>')*/
/* 		            this.el.remove();*/
/* 		            if (typeof this.cursor !== 'undefined') {*/
/* 		                this.cursor.remove();*/
/* 		            }*/
/* 		            // Send the callback*/
/* 		            self.options.resetCallback();*/
/* 		        }*/
/* */
/* 		    };*/
/* */
/* 		    $.fn.typed = function(option) {*/
/* 		        return this.each(function() {*/
/* 		            var $this = $(this),*/
/* 		                data = $this.data('typed'),*/
/* 		                options = typeof option == 'object' && option;*/
/* 		            if (!data) $this.data('typed', (data = new Typed(this, options)));*/
/* 		            if (typeof option == 'string') data[option]();*/
/* 		        });*/
/* 		    };*/
/* */
/* 		    $.fn.typed.defaults = {*/
/* 		        strings: ["These are the default values...", "You know what you should do?", "Use your own!", "Have a great day!"],*/
/* 		        // typing speed*/
/* 		        typeSpeed: 0,*/
/* 		        // time before typing starts*/
/* 		        startDelay: 0,*/
/* 		        // backspacing speed*/
/* 		        backSpeed: 0,*/
/* 		        // shuffle the strings*/
/* 		        shuffle: false,*/
/* 		        // time before backspacing*/
/* 		        backDelay: 500,*/
/* 		        // loop*/
/* 		        loop: false,*/
/* 		        // false = infinite*/
/* 		        loopCount: false,*/
/* 		        // show cursor*/
/* 		        showCursor: true,*/
/* 		        // character for cursor*/
/* 		        cursorChar: "|",*/
/* 		        // attribute to type (null == text)*/
/* 		        attr: null,*/
/* 		        // either html or text*/
/* 		        contentType: 'html',*/
/* 		        // call when done callback function*/
/* 		        callback: function() {},*/
/* 		        // starting callback function before each string*/
/* 		        preStringTyped: function() {},*/
/* 		        //callback for every typed string*/
/* 		        onStringTyped: function() {},*/
/* 		        // callback for reset*/
/* 		        resetCallback: function() {}*/
/* 		    };*/
/* */
/* */
/* 		}(window.jQuery);*/
/* */
/* 	</script>*/
/* 	<script>*/
/* 	    $(function(){*/
/* 	        $(".g-textpromo-typed.{{ particle.animationElementID|e }}").typed({*/
/* 	            strings: [{% if particle.desc %}'{{ particle.desc|raw }}'{% endif %} {% if particle.desc2 %}, '{{ particle.desc2|raw }}'{% endif %}],*/
/* 	            typeSpeed: 0,*/
/* 	            preStringTyped: function() {*/
/* 	            	$(".g-textpromo-typed").css('visibility', 'visible');*/
/* 	            }*/
/* 	        });*/
/* 	    });*/
/* 	</script>*/
/* 	{% endif %}*/
/* */
/* {% endblock %}*/
