<?php
use Twig\Environment;
use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @econdCrossSelll/storefront/base.html.twig */
class __TwigTemplate_17c5227a52b08d35e822fd12e91b5b49 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'base_script_router' => [$this, 'block_base_script_router'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "@econdWebAnalytics/storefront/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@econdCrossSelll/storefront/base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@econdCrossSelll/storefront/base.html.twig"));
$this->parent = $this->loadTemplate("@econdWebAnalytics/storefront/base.html.twig", "@econdCrossSelll/storefront/base.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_base_script_router($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_script_router"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "base_script_router"));
// line 4
echo " ";
$this->displayParentBlock("base_script_router", $context, $blocks);
echo "
";
// line 6
$context["ecdCrossSellRoute"] = twig_constant("Ecd\\econdCrossSelll\\Storefront\\Controller\\econdCrossSellController::QUICKVIEW_ROUTE");
// line 7
echo "
<script>
window.router['";
// line 9
echo sw_escape_filter($this->env, ($context["ecdCrossSellRoute"] ?? null), "html", null, true);
echo "'] = '";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(($context["ecdCrossSellRoute"] ?? null));
echo "';
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@econdCrossSelll/storefront/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 80 => 9, 76 => 7, 74 => 6, 68 => 4, 58 => 3, 35 => 2,);
}
public function getSourceContext()
{
return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
{% block base_script_router %}
{{ parent() }}
{% set ecdCrossSellRoute = constant('Ecd\\\\econdCrossSelll\\\\Storefront\\\\Controller\\\\econdCrossSellController::QUICKVIEW_ROUTE') %}
<script>
window.router['{{ ecdCrossSellRoute }}'] = '{{ path(ecdCrossSellRoute) }}';
</script>
{% endblock %}
", "@econdCrossSelll/storefront/base.html.twig", "/var/www/shopware6/custom/plugins/econdCrossSelll/src/Resources/views/storefront/base.html.twig");
}
}