var/cache/dev_h566465a63b35a62ac1d86d97313f5abd/twig/e9/e9fbd1cf72610fff9791d99ed5da40132e4b77e6756321271308beb89a430773.php line 221

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @Storefront/storefront/utilities/offcanvas.html.twig */
  14. class __TwigTemplate_8388a9376f01a8dfd35143365bb195a8877998b58f57290d0bd96a446e023da3 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'utilities_offcanvas_meta' => [$this'block_utilities_offcanvas_meta'],
  25.             'utilities_offcanvas' => [$this'block_utilities_offcanvas'],
  26.             'utilities_offcanvas_close' => [$this'block_utilities_offcanvas_close'],
  27.             'utilities_offcanvas_close_icon' => [$this'block_utilities_offcanvas_close_icon'],
  28.             'utilities_offcanvas_close_text' => [$this'block_utilities_offcanvas_close_text'],
  29.             'utilities_offcanvas_content_container' => [$this'block_utilities_offcanvas_content_container'],
  30.             'utilities_offcanvas_content' => [$this'block_utilities_offcanvas_content'],
  31.         ];
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/utilities/offcanvas.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/utilities/offcanvas.html.twig"));
  40.         // line 1
  41.         $context["isAjaxOffcanvas"] = false;
  42.         // line 2
  43.         echo "
  44. ";
  45.         // line 3
  46.         $this->displayBlock('utilities_offcanvas_meta'$context$blocks);
  47.         // line 9
  48.         echo "
  49. ";
  50.         // line 10
  51.         $this->displayBlock('utilities_offcanvas'$context$blocks);
  52.         
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  54.         
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  56.     }
  57.     // line 3
  58.     public function block_utilities_offcanvas_meta($context, array $blocks = [])
  59.     {
  60.         $macros $this->macros;
  61.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  62.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""utilities_offcanvas_meta"));
  63.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  64.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""utilities_offcanvas_meta"));
  65.         // line 4
  66.         echo "    ";
  67.         // line 5
  68.         echo "    ";
  69.         if (( !twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse5), "xmlHttpRequest", [], "any"falsefalsefalse5) && ($context["isAjaxOffcanvas"] ?? null))) {
  70.             // line 6
  71.             echo "        ";
  72.             $this->loadTemplate("@TcinnCustomizing/storefront/layout/meta.html.twig""@Storefront/storefront/utilities/offcanvas.html.twig"6)->display($context);
  73.             // line 7
  74.             echo "    ";
  75.         }
  76.         
  77.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  78.         
  79.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  80.     }
  81.     // line 10
  82.     public function block_utilities_offcanvas($context, array $blocks = [])
  83.     {
  84.         $macros $this->macros;
  85.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  86.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""utilities_offcanvas"));
  87.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""utilities_offcanvas"));
  89.         // line 11
  90.         echo "    ";
  91.         $this->displayBlock('utilities_offcanvas_close'$context$blocks);
  92.         // line 22
  93.         echo "
  94.     ";
  95.         // line 23
  96.         $this->displayBlock('utilities_offcanvas_content_container'$context$blocks);
  97.         
  98.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  99.         
  100.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  101.     }
  102.     // line 11
  103.     public function block_utilities_offcanvas_close($context, array $blocks = [])
  104.     {
  105.         $macros $this->macros;
  106.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  107.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""utilities_offcanvas_close"));
  108.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  109.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""utilities_offcanvas_close"));
  110.         // line 12
  111.         echo "        <button class=\"btn btn-light btn-block offcanvas-close js-offcanvas-close sticky-top\">
  112.             ";
  113.         // line 13
  114.         $this->displayBlock('utilities_offcanvas_close_icon'$context$blocks);
  115.         // line 16
  116.         echo "
  117.             ";
  118.         // line 17
  119.         $this->displayBlock('utilities_offcanvas_close_text'$context$blocks);
  120.         // line 20
  121.         echo "        </button>
  122.     ";
  123.         
  124.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  125.         
  126.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  127.     }
  128.     // line 13
  129.     public function block_utilities_offcanvas_close_icon($context, array $blocks = [])
  130.     {
  131.         $macros $this->macros;
  132.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  133.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""utilities_offcanvas_close_icon"));
  134.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  135.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""utilities_offcanvas_close_icon"));
  136.         // line 14
  137.         echo "                ";
  138.         ((function () use ($context$blocks) {
  139.             $finder $this->env->getExtension('Shopware\Core\Framework\Adapter\Twig\InheritanceExtension')->getFinder();
  140.             $includeTemplate $finder->find($finder->getTemplateName("@Storefront/storefront/utilities/icon.html.twig"));
  141.             return $this->loadTemplate($includeTemplate ?? null"@Storefront/storefront/utilities/offcanvas.html.twig"14);
  142.         })())->display(twig_array_merge($context, ["size" => "sm""name" => "x"]));
  143.         // line 15
  144.         echo "            ";
  145.         
  146.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  147.         
  148.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  149.     }
  150.     // line 17
  151.     public function block_utilities_offcanvas_close_text($context, array $blocks = [])
  152.     {
  153.         $macros $this->macros;
  154.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  155.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""utilities_offcanvas_close_text"));
  156.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  157.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""utilities_offcanvas_close_text"));
  158.         // line 18
  159.         echo "                ";
  160.         echo $this->extensions['Shopware\Storefront\Framework\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.offcanvasCloseMenu"));
  161.         echo "
  162.             ";
  163.         
  164.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  165.         
  166.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  167.     }
  168.     // line 23
  169.     public function block_utilities_offcanvas_content_container($context, array $blocks = [])
  170.     {
  171.         $macros $this->macros;
  172.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  173.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""utilities_offcanvas_content_container"));
  174.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  175.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""utilities_offcanvas_content_container"));
  176.         // line 24
  177.         echo "        <div class=\"offcanvas-content-container\">
  178.             ";
  179.         // line 25
  180.         $this->displayBlock('utilities_offcanvas_content'$context$blocks);
  181.         // line 26
  182.         echo "        </div>
  183.     ";
  184.         
  185.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  186.         
  187.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  188.     }
  189.     // line 25
  190.     public function block_utilities_offcanvas_content($context, array $blocks = [])
  191.     {
  192.         $macros $this->macros;
  193.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  194.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""utilities_offcanvas_content"));
  195.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  196.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""utilities_offcanvas_content"));
  197.         
  198.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  199.         
  200.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  201.     }
  202.     public function getTemplateName()
  203.     {
  204.         return "@Storefront/storefront/utilities/offcanvas.html.twig";
  205.     }
  206.     public function isTraitable()
  207.     {
  208.         return false;
  209.     }
  210.     public function getDebugInfo()
  211.     {
  212.         return array (  234 => 25,  223 => 26,  221 => 25,  218 => 24,  208 => 23,  195 => 18,  185 => 17,  175 => 15,  166 => 14,  156 => 13,  145 => 20,  143 => 17,  140 => 16,  138 => 13,  135 => 12,  125 => 11,  115 => 23,  112 => 22,  109 => 11,  99 => 10,  88 => 7,  85 => 6,  82 => 5,  80 => 4,  70 => 3,  60 => 10,  57 => 9,  55 => 3,  52 => 2,  50 => 1,);
  213.     }
  214.     public function getSourceContext()
  215.     {
  216.         return new Source("{% set isAjaxOffcanvas = false %}
  217. {% block utilities_offcanvas_meta %}
  218.     {# only including this for robots to have appropriate meta tags and when offcanvas is loaded via ajax #}
  219.     {% if not app.request.xmlHttpRequest and isAjaxOffcanvas %}
  220.         {% sw_include '@Storefront/storefront/layout/meta.html.twig' %}
  221.     {% endif %}
  222. {% endblock %}
  223. {% block utilities_offcanvas %}
  224.     {% block utilities_offcanvas_close %}
  225.         <button class=\"btn btn-light btn-block offcanvas-close js-offcanvas-close sticky-top\">
  226.             {% block utilities_offcanvas_close_icon %}
  227.                 {% sw_icon 'x' style { 'size': 'sm' } %}
  228.             {% endblock %}
  229.             {% block utilities_offcanvas_close_text %}
  230.                 {{ \"general.offcanvasCloseMenu\"|trans|sw_sanitize }}
  231.             {% endblock %}
  232.         </button>
  233.     {% endblock %}
  234.     {% block utilities_offcanvas_content_container %}
  235.         <div class=\"offcanvas-content-container\">
  236.             {% block utilities_offcanvas_content %}{% endblock %}
  237.         </div>
  238.     {% endblock %}
  239. {% endblock %}
  240. ""@Storefront/storefront/utilities/offcanvas.html.twig""/home/asgsgbnt/www.asg-store.de/vendor/shopware/storefront/Resources/views/storefront/utilities/offcanvas.html.twig");
  241.     }
  242. }