var/cache/dev_hbd3b438645322a8593dd24d071f68685/twig/7d/7dbed35db5c1c2f3756808b819dc3d2aeb66a34a0788669c68ff81184173a876.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. /* @FlinkCmsAnchor/storefront/base.html.twig */
  16. class __TwigTemplate_462f0989148c84612f717b543370323db3b6d12e420db5cd5253e4c2b1db2e1d 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_pseudo_modal' => [$this'block_base_pseudo_modal'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@CogiThemeTulip/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""@FlinkCmsAnchor/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""@FlinkCmsAnchor/storefront/base.html.twig"));
  40.         $this->parent $this->loadTemplate("@CogiThemeTulip/storefront/base.html.twig""@FlinkCmsAnchor/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_pseudo_modal($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_pseudo_modal"));
  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_pseudo_modal"));
  55.         // line 4
  56.         echo "    ";
  57.         $this->displayParentBlock("base_pseudo_modal"$context$blocks);
  58.         echo "
  59.     ";
  60.         // line 6
  61.         if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"FlinkCmsAnchor.config.useDotNavigation")) {
  62.             // line 7
  63.             echo "
  64.         ";
  65.             // line 8
  66.             $context["dotnavClasses"] = "flink-anchor-dotnav";
  67.             // line 9
  68.             echo "
  69.         ";
  70.             // line 10
  71.             if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"FlinkCmsAnchor.config.useDotNavigationActiveTitle")) {
  72.                 // line 11
  73.                 echo "            ";
  74.                 $context["dotnavClasses"] = (($context["dotnavClasses"] ?? null) . " flink-anchor-dotnav--show-active-title");
  75.                 // line 12
  76.                 echo "        ";
  77.             }
  78.             // line 13
  79.             echo "
  80.         ";
  81.             // line 14
  82.             $context["dotnavColor"] = _twig_default_filter($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"FlinkCmsAnchor.config.dotNavigationColor"), "text");
  83.             // line 15
  84.             echo "        ";
  85.             $context["dotnavClasses"] = ((($context["dotnavClasses"] ?? null) . " flink-anchor-dotnav--color-") . ($context["dotnavColor"] ?? null));
  86.             // line 16
  87.             echo "
  88.         ";
  89.             // line 17
  90.             $context["dotnavActiveColor"] = _twig_default_filter($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"FlinkCmsAnchor.config.dotNavigationActiveMarkColor"), "text");
  91.             // line 18
  92.             echo "        ";
  93.             $context["dotnavClasses"] = ((($context["dotnavClasses"] ?? null) . " flink-anchor-dotnav--active-color-") . ($context["dotnavActiveColor"] ?? null));
  94.             // line 19
  95.             echo "
  96.         ";
  97.             // line 20
  98.             if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"FlinkCmsAnchor.config.hideMobileDotNavigation")) {
  99.                 // line 21
  100.                 echo "            ";
  101.                 $context["dotnavClasses"] = (($context["dotnavClasses"] ?? null) . " flink-anchor-dotnav--hide-mobile");
  102.                 // line 22
  103.                 echo "        ";
  104.             }
  105.             // line 23
  106.             echo "
  107.         ";
  108.             // line 24
  109.             $context["dotnavMobilePosition"] = _twig_default_filter($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"FlinkCmsAnchor.config.mobileDotNavigationPosition"), "ml");
  110.             // line 25
  111.             echo "        ";
  112.             $context["dotnavClasses"] = ((($context["dotnavClasses"] ?? null) . " flink-anchor-dotnav--mobile-position-") . ($context["dotnavMobilePosition"] ?? null));
  113.             // line 26
  114.             echo "
  115.         ";
  116.             // line 27
  117.             if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"FlinkCmsAnchor.config.mobileUseDotNavigationActiveTitle")) {
  118.                 // line 28
  119.                 echo "            ";
  120.                 $context["dotnavClasses"] = (($context["dotnavClasses"] ?? null) . " flink-anchor-dotnav--mobile-show-active-title");
  121.                 // line 29
  122.                 echo "        ";
  123.             }
  124.             // line 30
  125.             echo "
  126.         ";
  127.             // line 31
  128.             $context["dotnavMobileDotSize"] = _twig_default_filter($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"FlinkCmsAnchor.config.mobileDotNavigationSize"), "normal");
  129.             // line 32
  130.             echo "        ";
  131.             $context["dotnavClasses"] = ((($context["dotnavClasses"] ?? null) . " flink-anchor-dotnav--mobile-dot-size-") . ($context["dotnavMobileDotSize"] ?? null));
  132.             // line 33
  133.             echo "
  134.         <ul class=\"";
  135.             // line 34
  136.             echo sw_escape_filter($this->env, ($context["dotnavClasses"] ?? null), "html"nulltrue);
  137.             echo " flink-default-dotnav\"
  138.             data-flink-cms-anchor-dotnav=\"true\">
  139.         </ul>
  140.     ";
  141.         }
  142.         
  143.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  144.         
  145.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  146.     }
  147.     public function getTemplateName()
  148.     {
  149.         return "@FlinkCmsAnchor/storefront/base.html.twig";
  150.     }
  151.     public function isTraitable()
  152.     {
  153.         return false;
  154.     }
  155.     public function getDebugInfo()
  156.     {
  157.         return array (  149 => 34,  146 => 33,  143 => 32,  141 => 31,  138 => 30,  135 => 29,  132 => 28,  130 => 27,  127 => 26,  124 => 25,  122 => 24,  119 => 23,  116 => 22,  113 => 21,  111 => 20,  108 => 19,  105 => 18,  103 => 17,  100 => 16,  97 => 15,  95 => 14,  92 => 13,  89 => 12,  86 => 11,  84 => 10,  81 => 9,  79 => 8,  76 => 7,  74 => 6,  68 => 4,  58 => 3,  35 => 2,);
  158.     }
  159.     public function getSourceContext()
  160.     {
  161.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  162. {% block base_pseudo_modal %}
  163.     {{ parent() }}
  164.     {% if config('FlinkCmsAnchor.config.useDotNavigation') %}
  165.         {% set dotnavClasses = \"flink-anchor-dotnav\" %}
  166.         {% if config('FlinkCmsAnchor.config.useDotNavigationActiveTitle') %}
  167.             {% set dotnavClasses = dotnavClasses ~ \" flink-anchor-dotnav--show-active-title\" %}
  168.         {% endif %}
  169.         {% set dotnavColor = config('FlinkCmsAnchor.config.dotNavigationColor')|default(\"text\") %}
  170.         {% set dotnavClasses = dotnavClasses ~ \" flink-anchor-dotnav--color-\" ~ dotnavColor %}
  171.         {% set dotnavActiveColor = config('FlinkCmsAnchor.config.dotNavigationActiveMarkColor')|default(\"text\") %}
  172.         {% set dotnavClasses = dotnavClasses ~ \" flink-anchor-dotnav--active-color-\" ~ dotnavActiveColor %}
  173.         {% if config('FlinkCmsAnchor.config.hideMobileDotNavigation') %}
  174.             {% set dotnavClasses = dotnavClasses ~ \" flink-anchor-dotnav--hide-mobile\" %}
  175.         {% endif %}
  176.         {% set dotnavMobilePosition = config('FlinkCmsAnchor.config.mobileDotNavigationPosition')|default(\"ml\") %}
  177.         {% set dotnavClasses = dotnavClasses ~ \" flink-anchor-dotnav--mobile-position-\" ~ dotnavMobilePosition %}
  178.         {% if config('FlinkCmsAnchor.config.mobileUseDotNavigationActiveTitle') %}
  179.             {% set dotnavClasses = dotnavClasses ~ \" flink-anchor-dotnav--mobile-show-active-title\" %}
  180.         {% endif %}
  181.         {% set dotnavMobileDotSize = config('FlinkCmsAnchor.config.mobileDotNavigationSize')|default(\"normal\") %}
  182.         {% set dotnavClasses = dotnavClasses ~ \" flink-anchor-dotnav--mobile-dot-size-\" ~ dotnavMobileDotSize %}
  183.         <ul class=\"{{ dotnavClasses }} flink-default-dotnav\"
  184.             data-flink-cms-anchor-dotnav=\"true\">
  185.         </ul>
  186.     {% endif %}
  187. {% endblock %}""@FlinkCmsAnchor/storefront/base.html.twig""/usr/www/users/obstdev/custom/plugins/FlinkCmsAnchor/src/Resources/views/storefront/base.html.twig");
  188.     }
  189. }