var/cache/dev_h6d28c6553f7718cb63978f4067656949/twig/bc/bc13552dcb4f4f0685d197dba43f0f5f.php line 35

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @WebProfiler/Profiler/toolbar_js.html.twig */
  16. class __TwigTemplate_72928942578e93c9631ae9ba1eab64c2 extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->parent false;
  25.         $this->blocks = [
  26.         ];
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Profiler/toolbar_js.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Profiler/toolbar_js.html.twig"));
  35.         // line 1
  36.         echo "<div id=\"sfwdt";
  37.         echo sw_escape_filter($this->env, ($context["token"] ?? null), "html"nulltrue);
  38.         echo "\" class=\"sf-toolbar sf-display-none\" role=\"region\" aria-label=\"Symfony Web Debug Toolbar\">
  39.     ";
  40.         // line 2
  41.         $this->loadTemplate("@WebProfiler/Profiler/toolbar.html.twig""@WebProfiler/Profiler/toolbar_js.html.twig"2)->display(twig_array_merge($context, ["templates" => ["request" => "@WebProfiler/Profiler/cancel.html.twig"], "profile" => null"profiler_url" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("_profiler", ["token" =>         // line 7
  42. ($context["token"] ?? null)]), "profiler_markup_version" => 2]));
  43.         // line 10
  44.         echo "</div>
  45. ";
  46.         // line 12
  47.         echo twig_include($this->env$context"@WebProfiler/Profiler/base_js.html.twig");
  48.         echo "
  49. <style";
  50.         // line 14
  51.         if (($context["csp_style_nonce"] ?? null)) {
  52.             echo " nonce=\"";
  53.             echo sw_escape_filter($this->env, ($context["csp_style_nonce"] ?? null), "html"nulltrue);
  54.             echo "\"";
  55.         }
  56.         echo ">
  57.     ";
  58.         // line 15
  59.         echo twig_include($this->env$context"@WebProfiler/Profiler/toolbar.css.twig");
  60.         echo "
  61. </style>
  62. <script";
  63.         // line 17
  64.         if (($context["csp_script_nonce"] ?? null)) {
  65.             echo " nonce=\"";
  66.             echo sw_escape_filter($this->env, ($context["csp_script_nonce"] ?? null), "html"nulltrue);
  67.             echo "\"";
  68.         }
  69.         echo ">/*<![CDATA[*/
  70.     (function () {
  71.         Sfjs.loadToolbar('";
  72.         // line 19
  73.         echo sw_escape_filter($this->env, ($context["token"] ?? null), "html"nulltrue);
  74.         echo "');
  75.     })();
  76. /*]]>*/</script>
  77. ";
  78.         
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  80.         
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  82.     }
  83.     public function getTemplateName()
  84.     {
  85.         return "@WebProfiler/Profiler/toolbar_js.html.twig";
  86.     }
  87.     public function isTraitable()
  88.     {
  89.         return false;
  90.     }
  91.     public function getDebugInfo()
  92.     {
  93.         return array (  82 => 19,  73 => 17,  68 => 15,  60 => 14,  55 => 12,  51 => 10,  49 => 7,  48 => 2,  43 => 1,);
  94.     }
  95.     public function getSourceContext()
  96.     {
  97.         return new Source("<div id=\"sfwdt{{ token }}\" class=\"sf-toolbar sf-display-none\" role=\"region\" aria-label=\"Symfony Web Debug Toolbar\">
  98.     {% include('@WebProfiler/Profiler/toolbar.html.twig') with {
  99.         templates: {
  100.             'request': '@WebProfiler/Profiler/cancel.html.twig'
  101.         },
  102.         profile: null,
  103.         profiler_url: url('_profiler', {token: token}),
  104.         profiler_markup_version: 2,
  105.     } %}
  106. </div>
  107. {{ include('@WebProfiler/Profiler/base_js.html.twig') }}
  108. <style{% if csp_style_nonce %} nonce=\"{{ csp_style_nonce }}\"{% endif %}>
  109.     {{ include('@WebProfiler/Profiler/toolbar.css.twig') }}
  110. </style>
  111. <script{% if csp_script_nonce %} nonce=\"{{ csp_script_nonce }}\"{% endif %}>/*<![CDATA[*/
  112.     (function () {
  113.         Sfjs.loadToolbar('{{ token }}');
  114.     })();
  115. /*]]>*/</script>
  116. ""@WebProfiler/Profiler/toolbar_js.html.twig""/var/www/shopware6/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/toolbar_js.html.twig");
  117.     }
  118. }