var/cache/dev_h94b6c5d2d84092cf319e762d211cfdb3/twig/7c/7c99c855867f0a5ce8aa6763fef7a5cdcb2dfbe1b7ccc0af6765c9f558531098.php line 50

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. /* @EnderecoShopware6ClientStore/storefront/base.html.twig */
  16. class __TwigTemplate_d8e2c55c888b4a3905f9da1109dfac9e467726a44bfa813a6555d4469895a44a 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->blocks = [
  25.             'base_body_script' => [$this'block_base_body_script'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@WbmTagManagerEcomm/storefront/base.html.twig";
  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""@EnderecoShopware6ClientStore/storefront/base.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""@EnderecoShopware6ClientStore/storefront/base.html.twig"));
  40.         $this->parent $this->loadTemplate("@WbmTagManagerEcomm/storefront/base.html.twig""@EnderecoShopware6ClientStore/storefront/base.html.twig"2);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_base_body_script($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_body_script"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_body_script"));
  55.         // line 4
  56.         echo "    ";
  57.         $this->displayParentBlock("base_body_script"$context$blocks);
  58.         echo "
  59.     <script
  60.             defer
  61.             async
  62.             src=\"";
  63.         // line 8
  64.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/enderecoshopware6clientstore/endereco.min.js"), "html"nulltrue);
  65.         echo "?var=";
  66.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "endereco_config", [], "any"falsefalsefalse8), "enderecoVersion", [], "any"falsefalsefalse8), "html"nulltrue);
  67.         echo "\"
  68.             onload=\"if(typeof enderecoLoadAMSConfig === 'function'){enderecoLoadAMSConfig();}\"
  69.     ></script>
  70. ";
  71.         
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  73.         
  74.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  75.     }
  76.     public function getTemplateName()
  77.     {
  78.         return "@EnderecoShopware6ClientStore/storefront/base.html.twig";
  79.     }
  80.     public function isTraitable()
  81.     {
  82.         return false;
  83.     }
  84.     public function getDebugInfo()
  85.     {
  86.         return array (  76 => 8,  68 => 4,  58 => 3,  35 => 2,);
  87.     }
  88.     public function getSourceContext()
  89.     {
  90.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  91. {% block base_body_script %}
  92.     {{ parent() }}
  93.     <script
  94.             defer
  95.             async
  96.             src=\"{{ asset('bundles/enderecoshopware6clientstore/endereco.min.js') }}?var={{ page.endereco_config.enderecoVersion }}\"
  97.             onload=\"if(typeof enderecoLoadAMSConfig === 'function'){enderecoLoadAMSConfig();}\"
  98.     ></script>
  99. {% endblock %}
  100. ""@EnderecoShopware6ClientStore/storefront/base.html.twig""/srv/users/liamoriasw6/apps/liamoriasw6/custom/plugins/EnderecoShopware6ClientStore/src/Resources/views/storefront/base.html.twig");
  101.     }
  102. }