<?php

/* WebProfilerBundle:Profiler:toolbar_js.html.twig */
class __TwigTemplate_3f4e4aff1667925227b374fb3cfb6d40 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        echo "<div id=\"sfwdt";
        echo twig_escape_filter($this->env, $this->getContext($context, "token"), "html", null, true);
        echo "\" style=\"display: none\"></div>
<script type=\"text/javascript\">/*<![CDATA[*/
    (function () {
        var wdt, xhr;
        wdt = document.getElementById('sfwdt";
        // line 5
        echo twig_escape_filter($this->env, $this->getContext($context, "token"), "html", null, true);
        echo "');
        if (window.XMLHttpRequest) {
            xhr = new XMLHttpRequest();
        } else {
            xhr = new ActiveXObject('Microsoft.XMLHTTP');
        }
        xhr.open('GET', '";
        // line 11
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("_wdt", array("token" => $this->getContext($context, "token"))), "html", null, true);
        echo "', true);
        xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
        xhr.onreadystatechange = function(state) {
            if (4 === xhr.readyState && 200 === xhr.status && -1 !== xhr.responseText.indexOf('sf-toolbarreset')) {
                wdt.innerHTML = xhr.responseText;
                wdt.style.display = 'block';
            }
        };
        xhr.send('');
    })();
/*]]>*/</script>
";
    }

    public function getTemplateName()
    {
        return "WebProfilerBundle:Profiler:toolbar_js.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  25 => 5,  17 => 1,  240 => 73,  236 => 72,  231 => 71,  228 => 70,  222 => 65,  217 => 62,  214 => 61,  209 => 57,  204 => 49,  198 => 50,  196 => 49,  192 => 47,  189 => 46,  185 => 43,  177 => 41,  174 => 40,  171 => 39,  167 => 37,  159 => 35,  156 => 34,  153 => 33,  146 => 30,  143 => 29,  134 => 20,  130 => 19,  126 => 18,  122 => 17,  114 => 15,  109 => 14,  106 => 13,  101 => 7,  98 => 6,  93 => 113,  91 => 70,  86 => 67,  84 => 61,  79 => 58,  69 => 46,  65 => 44,  63 => 39,  58 => 33,  54 => 31,  52 => 29,  45 => 24,  43 => 13,  36 => 8,  34 => 11,  118 => 16,  115 => 48,  112 => 47,  104 => 41,  102 => 40,  89 => 32,  83 => 28,  77 => 57,  73 => 23,  71 => 53,  66 => 19,  60 => 38,  55 => 15,  50 => 14,  48 => 13,  44 => 12,  40 => 11,  35 => 9,  30 => 6,  27 => 1,);
    }
}
