var/cache/dev/twig/10/1085e72ccab21bdad4c52ad95097e0ce428b450763b0129464b422ad8d35ffba.php line 45

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. /* frontend/category.html.twig */
  14. class __TwigTemplate_41d6f6223b512b7df1ea5ba187ba5f204d1e5c043ba4a039af477cdb52ff0aeb 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->blocks = [
  23.             'JS' => [$this'block_JS'],
  24.             'CSS' => [$this'block_CSS'],
  25.             'title' => [$this'block_title'],
  26.             'metaDescription' => [$this'block_metaDescription'],
  27.             'content' => [$this'block_content'],
  28.             'section_category_stats' => [$this'block_section_category_stats'],
  29.             'category_filter' => [$this'block_category_filter'],
  30.             'section_masonry_products' => [$this'block_section_masonry_products'],
  31.         ];
  32.     }
  33.     protected function doGetParent(array $context)
  34.     {
  35.         // line 1
  36.         return "frontend/base.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/category.html.twig"));
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/category.html.twig"));
  45.         $this->parent $this->loadTemplate("frontend/base.html.twig""frontend/category.html.twig"1);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 2
  53.     public function block_JS($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""JS"));
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""JS"));
  60.         // line 3
  61.         echo "    <script src=\"/assets/frontend/js/jquery-3.1.1.min.js\"></script>
  62.     <script src=\"/assets/frontend/js/popper.min.js\"
  63.             integrity=\"sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ\"
  64.             crossorigin=\"anonymous\"></script>
  65.     <script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js\"
  66.             integrity=\"sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm\"
  67.             crossorigin=\"anonymous\"></script>
  68.     <script type=\"text/javascript\" src=\"/assets/frontend/js/owl.carousel.min.js\"></script>
  69.     <script type=\"text/javascript\" src=\"/assets/frontend/js/slick.min.js\"></script>
  70.     <script type=\"text/javascript\" src=\"/assets/frontend/js/jquery.mmenu.js\"></script>
  71.     <script src=\"https://unpkg.com/infinite-scroll@3/dist/infinite-scroll.pkgd.min.js\"></script>
  72.     <script type=\"text/javascript\">
  73.         
  74.                 \$(function() {
  75.             \$('#menu').mmenu();
  76.               
  77.               let infScroll =  \$('.endless_container').infiniteScroll({
  78.                 path: '.page-next',
  79.                 append: '.endless_page',
  80.                 history: false,
  81.                 });
  82.                 
  83. let t;
  84.                 \$('.endless_container').on( 'request.infiniteScroll', function( event, path, fetchPromise ) {
  85.                 console.log(`Loading page: \${path}`);
  86.                 \$('#product-loader').show();
  87.                  t = setTimeout(function () {
  88.                     \$('#product-loader').hide();
  89.                     console.log('load');
  90.                     \$('#paginatorDefaultPage').removeClass('d-none');
  91.                 }, 4000);
  92.                 t;
  93.                 });
  94.                  
  95.                 \$('.endless_container').on( 'append.infiniteScroll', function( event, body, path, items, response ) {
  96.                 console.log(`Appended \${items.length} items on \${path}`);
  97.                 \$('#product-loader').hide();
  98.                  clearTimeout(t);
  99.                 });
  100.                   
  101.         });
  102.         
  103.     </script>
  104.     <script>
  105.         \$('input[class=filterItemsProduct]').on('change', function() {
  106.             var getValueinput = \$(this).val();
  107.             var newUrlParam = '?filter='+getValueinput;
  108.             return window.location =  newUrlParam;
  109.         });
  110.     </script>
  111. ";
  112.         // line 95
  113.         echo "    <script src=\"/assets/frontend/js/874ad7ad81.js\"></script>
  114.     <script type=\"text/javascript\" src=\"/assets/frontend/js/main.js?ver=1.1\"></script>
  115.     <script type=\"text/javascript\" src=\"/assets/frontend/js/registration.js\"></script>
  116.     <script type=\"text/javascript\" src=\"/assets/frontend/js/category-filter.js\"></script>
  117.     <script type=\"text/javascript\" src=\"/assets/frontend/js/scroll-down.js\"></script>
  118.     <script type=\"text/javascript\" src=\"/assets/frontend/js/show-more.js\"></script>
  119.     <script type=\"text/javascript\" src=\"/assets/frontend/js/region-currency-lang-select.js\"></script>
  120.     <script type=\"text/javascript\" src=\"/assets/frontend/js/custom-select.js\"></script>
  121.     <script src=\"";
  122.         // line 104
  123.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/frontend/category.js"), "html"nulltrue);
  124.         echo "\"></script>
  125. ";
  126.         
  127.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  128.         
  129.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  130.     }
  131.     // line 106
  132.     public function block_CSS($context, array $blocks = [])
  133.     {
  134.         $macros $this->macros;
  135.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  136.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""CSS"));
  137.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  138.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""CSS"));
  139.         // line 107
  140.         echo "    <link rel=\"stylesheet\" href=\"/assets/frontend/css/owl.carousel.min.css\">
  141.     <link href=\"/assets/frontend/css/responsive.css?ver=";
  142.         // line 108
  143.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'108$this->source); })()), "cssVersion", [], "any"falsefalsefalse108), "html"nulltrue);
  144.         echo "\" rel=\"stylesheet\" type=\"text/css\" media=\"all\">
  145.     <link href=\"/assets/frontend/css/jquery.mmenu.css\" rel=\"stylesheet\" type=\"text/css\" media=\"all\">
  146.     <link href=\"/assets/frontend/css/styles.css?ver=";
  147.         // line 110
  148.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'110$this->source); })()), "cssVersion", [], "any"falsefalsefalse110), "html"nulltrue);
  149.         echo "\" rel=\"stylesheet\" type=\"text/css\" media=\"all\">
  150.     <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css\"
  151.                            integrity=\"sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4\" crossorigin=\"anonymous\">
  152.     <!-- Add the slick-theme.css if you want default styling -->
  153.     <link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/frontend/css/slick.css\"/>
  154.     <!-- Add the slick-theme.css if you want default styling -->
  155.     <link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/frontend/css/slick-theme.css\"/>
  156.     <script src=\"";
  157.         // line 118
  158.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/frontend/category.css"), "html"nulltrue);
  159.         echo "\"></script>
  160. ";
  161.         
  162.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  163.         
  164.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  165.     }
  166.     // line 120
  167.     public function block_title($context, array $blocks = [])
  168.     {
  169.         $macros $this->macros;
  170.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  171.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  172.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  173.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  174.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'120$this->source); })()), "name", [], "any"falsefalsefalse120))) {
  175.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'120$this->source); })()), "name", [], "any"falsefalsefalse120), "html"nulltrue);
  176.             echo ",";
  177.         }
  178.         echo " ";
  179.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'120$this->source); })()), "title", [], "any"falsefalsefalse120), "html"nulltrue);
  180.         
  181.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  182.         
  183.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  184.     }
  185.     // line 121
  186.     public function block_metaDescription($context, array $blocks = [])
  187.     {
  188.         $macros $this->macros;
  189.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  190.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  191.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  192.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  193.         if (twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'121$this->source); })()), "metaDescription", [], "any"falsefalsefalse121)) {
  194.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'121$this->source); })()), "metaDescription", [], "any"falsefalsefalse121), "html"nulltrue);
  195.         } else {
  196.             echo twig_slice($this->envtwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'121$this->source); })()), "description", [], "any"falsefalsefalse121), 0160);
  197.         }
  198.         
  199.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  200.         
  201.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  202.     }
  203.     // line 122
  204.     public function block_content($context, array $blocks = [])
  205.     {
  206.         $macros $this->macros;
  207.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  208.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  209.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  210.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  211.         // line 123
  212.         echo "    <!--Category section-->
  213.     <div class=\"category row mb-rem\">
  214.         <!--Category section header-->
  215.         <section class=\"category-header\">
  216.             ";
  217.         // line 127
  218.         if ((twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'127$this->source); })()), "banner", [], "any"falsefalsefalse127) || (isset($context["forcedBanner"]) || array_key_exists("forcedBanner"$context)))) {
  219.             // line 128
  220.             echo "                <div class=\"category-header-top\">
  221.                     ";
  222.             // line 129
  223.             if ((isset($context["forcedBanner"]) || array_key_exists("forcedBanner"$context))) {
  224.                 // line 130
  225.                 echo "                        <img class=\"category-header-top-img full-width\" src=\"";
  226.                 echo twig_escape_filter($this->env, (isset($context["forcedBanner"]) || array_key_exists("forcedBanner"$context) ? $context["forcedBanner"] : (function () { throw new RuntimeError('Variable "forcedBanner" does not exist.'130$this->source); })()), "html"nulltrue);
  227.                 echo "\">
  228.                     ";
  229.             } else {
  230.                 // line 132
  231.                 echo "                        <img class=\"category-header-top-img full-width\" src=\"";
  232.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("getImageAsCroppedThumb", ["id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'132$this->source); })()), "banner", [], "any"falsefalsefalse132), "id", [], "any"falsefalsefalse132), "height" => "250""width" => "1900"]), "html"nulltrue);
  233.                 echo " \">
  234.                     ";
  235.             }
  236.             // line 134
  237.             echo "                    <h5 class=\"category-header-top-caption \"><span>";
  238.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'134$this->source); })()), "title", [], "any"falsefalsefalse134), "html"nulltrue);
  239.             echo "</span></h5>
  240.                 </div>
  241.             ";
  242.         }
  243.         // line 137
  244.         echo "            ";
  245.         if (twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'137$this->source); })()), "description", [], "any"falsefalsefalse137)) {
  246.             // line 138
  247.             echo "                <div class=\"category-header-description text-left d-none d-xl-block  d-lg-block d-md-block\">
  248.                     <p class=\"category-header-description-text text-overflow\">
  249.                     ";
  250.             // line 140
  251.             echo twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'140$this->source); })()), "description", [], "any"falsefalsefalse140);
  252.             echo "
  253.                     </p>
  254.                     ";
  255.             // line 147
  256.             echo "                </div>
  257.             ";
  258.         }
  259.         // line 149
  260.         echo "
  261.         </section>
  262.         <!--Category section header-->
  263.         <section class=\"category-products m-t-10\">
  264.             <div class=\"row justify-content-end category-search\">
  265.                 <div class=\"col-xl-6 col-lg-12 col-md-12 col-12 align-self-end\">
  266.                     <div class=\"row justify-content-between\">
  267.                         ";
  268.         // line 195
  269.         echo "                        <div class=\"column-select select-category col-4 d-block d-md-none\">
  270.                             <button type=\"button\" class=\"button category-products-filters-btn\"
  271.                                                   id=\"mobileFilterModal\">
  272.                                 <span>
  273.                                     <img src=\"/assets/frontend/images/icons/filter-icon.svg\" alt=\"\">
  274.                                 </span>
  275.                                 <span class=\"text-button-filters\" style=\"margin-right: 0px;\">
  276.                                     Filtres
  277.                                 </span>
  278.                             </button>
  279.                         </div>
  280.                         ";
  281.         // line 224
  282.         echo "                    </div>
  283.                 </div>
  284.                 <!--<div class=\"d-none d-xl-block  d-lg-block d-md-block col-xl-3 col-lg-3 col-md-3 col-3\"></div>-->
  285.                 <!--<div class=\"d-none d-xl-block  d-lg-block d-md-block col-xl-3 col-lg-3 col-md-3 col-3\"></div>-->
  286.             </div>
  287. ";
  288.         // line 230
  289.         $this->displayBlock('section_category_stats'$context$blocks);
  290.         // line 274
  291.         echo "
  292.             <!--Category section products-->
  293.             <div class=\"row\">
  294.                 <div class=\"d-none category-products-filters-wrap d-xl-block  d-lg-block d-md-block col-xl-2 col-lg-2 col-md-3 pull-left\">
  295.                     <div class=\"category-products-filters not-mobile\">
  296.                         ";
  297.         // line 279
  298.         $this->displayBlock('category_filter'$context$blocks);
  299.         // line 503
  300.         echo "                    </div>
  301.                 </div>
  302.                 <div class=\"col-xl-10 col-lg-10 col-md-9 col-sm-12 col-12 products-wrap\" id=\"listingProducts\">
  303.                     ";
  304.         // line 506
  305.         $this->displayBlock('section_masonry_products'$context$blocks);
  306.         // line 532
  307.         echo "
  308.                     ";
  309.         // line 533
  310.         if ((isset($context["suggestionProducts"]) || array_key_exists("suggestionProducts"$context))) {
  311.             // line 534
  312.             echo "                      ";
  313.             if ((isset($context["suggestionProducts"]) || array_key_exists("suggestionProducts"$context) ? $context["suggestionProducts"] : (function () { throw new RuntimeError('Variable "suggestionProducts" does not exist.'534$this->source); })())) {
  314.                 // line 535
  315.                 echo "                        <div class=\"section-title section-title-line m-t-10\">Des produits à découvrir!</div>
  316.                         ";
  317.                 // line 536
  318.                 echo twig_include($this->env$context"frontend/productMasonry.html.twig", ["masonryProducts" => (isset($context["suggestionProducts"]) || array_key_exists("suggestionProducts"$context) ? $context["suggestionProducts"] : (function () { throw new RuntimeError('Variable "suggestionProducts" does not exist.'536$this->source); })())]);
  319.                 echo "
  320.                       ";
  321.             }
  322.             // line 538
  323.             echo "                    ";
  324.         }
  325.         // line 539
  326.         echo "                    </div>
  327.                 </div>
  328.             <!--Category section products-->
  329.         </section>
  330.             </div>
  331.             <script>
  332.                 function panelUnClick() {
  333.                  var x = document.getElementById(\"panelUn\");
  334.                     if (x.style.display === \"none\") {
  335.                         x.style.display = \"block\";
  336.                         \$( \".flecheUn\" ).removeClass( \"ti-angle-right\" ).addClass( \"ti-angle-down\" );
  337.                     } else {
  338.                         x.style.display = \"none\";
  339.                         \$( \".flecheUn\" ).removeClass( \"ti-angle-down\" ).addClass( \"ti-angle-right\" );
  340.                     }
  341.                 }
  342.             </script>
  343.              <script>
  344.                 function panelDeuxClick() {
  345.                  var x = document.getElementById(\"panelDeux\");
  346.                      if (x.style.display === \"none\") {
  347.                         x.style.display = \"block\";
  348.                         \$( \".flecheDeux\" ).removeClass( \"ti-angle-right\" ).addClass( \"ti-angle-down\" );
  349.                     } else {
  350.                         x.style.display = \"none\";
  351.                         \$( \".flecheDeux\" ).removeClass( \"ti-angle-down\" ).addClass( \"ti-angle-right\" );
  352.                     }
  353.                 }
  354.             </script>
  355.              <script>
  356.                 function panelTroisClick() {
  357.                  var x = document.getElementById(\"panelTrois\");
  358.                      if (x.style.display === \"none\") {
  359.                         x.style.display = \"block\";
  360.                         \$( \".flecheTrois\" ).removeClass( \"ti-angle-right\" ).addClass( \"ti-angle-down\" );
  361.                     } else {
  362.                         x.style.display = \"none\";
  363.                         \$( \".flecheTrois\" ).removeClass( \"ti-angle-down\" ).addClass( \"ti-angle-right\" );
  364.                     }
  365.                 }
  366.             </script>
  367.              <script>
  368.                  function panelQuatreClick() {
  369.                  var x = document.getElementById(\"panelQuatre\");
  370.                       if (x.style.display === \"none\") {
  371.                         x.style.display = \"block\";
  372.                         \$( \".flecheQuatre\" ).removeClass( \"ti-angle-right\" ).addClass( \"ti-angle-down\" );
  373.                     } else {
  374.                         x.style.display = \"none\";
  375.                         \$( \".flecheQuatre\" ).removeClass( \"ti-angle-down\" ).addClass( \"ti-angle-right\" );
  376.                     }
  377.                 }
  378.             </script>
  379.              <script>
  380.                   function panelCinqClick() {
  381.                  var x = document.getElementById(\"panelCinq\");
  382.                      if (x.style.display === \"none\") {
  383.                         x.style.display = \"block\";
  384.                         \$( \".flecheCinq\" ).removeClass( \"ti-angle-right\" ).addClass( \"ti-angle-down\" );
  385.                     } else {
  386.                         x.style.display = \"none\";
  387.                         \$( \".flecheCinq\" ).removeClass( \"ti-angle-down\" ).addClass( \"ti-angle-right\" );
  388.                     }
  389.                 }
  390.             </script>
  391.             <script>
  392.             </script>
  393. ";
  394.         
  395.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  396.         
  397.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  398.     }
  399.     // line 230
  400.     public function block_section_category_stats($context, array $blocks = [])
  401.     {
  402.         $macros $this->macros;
  403.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  404.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""section_category_stats"));
  405.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  406.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""section_category_stats"));
  407.         // line 231
  408.         echo "            <!--Category section filters-->
  409.             <!--<div class=\"row d-none d-xl-block  d-lg-block d-md-block\">-->
  410.             <div class=\"row\">
  411.                 <div class=\"col-12 text-right\" id=\"checked-filters\">
  412.                   <div class=\"category-products-result d-none d-xl-block d-lg-block d-md-block\">
  413.                     ";
  414.         // line 236
  415.         if ((isset($context["sorting"]) || array_key_exists("sorting"$context))) {
  416.             // line 237
  417.             echo "
  418.                       ";
  419.             // line 238
  420.             $context["sort_popularity_order"] = "desc";
  421.             // line 239
  422.             echo "                      ";
  423.             $context["sort_date_order"] = "desc";
  424.             // line 240
  425.             echo "                      ";
  426.             $context["sort_price_order"] = "desc";
  427.             // line 241
  428.             echo "
  429.                       ";
  430.             // line 242
  431.             if (((isset($context["sorting"]) || array_key_exists("sorting"$context) ? $context["sorting"] : (function () { throw new RuntimeError('Variable "sorting" does not exist.'242$this->source); })()) == "popularity")) {
  432.                 // line 243
  433.                 echo "                        ";
  434.                 if (((isset($context["order"]) || array_key_exists("order"$context) ? $context["order"] : (function () { throw new RuntimeError('Variable "order" does not exist.'243$this->source); })()) == "asc")) {
  435.                     // line 244
  436.                     echo "                          ";
  437.                     $context["sort_popularity_order"] = "desc";
  438.                     // line 245
  439.                     echo "                        ";
  440.                 } else {
  441.                     // line 246
  442.                     echo "                          ";
  443.                     $context["sort_popularity_order"] = "asc";
  444.                     // line 247
  445.                     echo "                        ";
  446.                 }
  447.                 // line 248
  448.                 echo "                      ";
  449.             } elseif (((isset($context["sorting"]) || array_key_exists("sorting"$context) ? $context["sorting"] : (function () { throw new RuntimeError('Variable "sorting" does not exist.'248$this->source); })()) == "date")) {
  450.                 // line 249
  451.                 echo "                        ";
  452.                 if (((isset($context["order"]) || array_key_exists("order"$context) ? $context["order"] : (function () { throw new RuntimeError('Variable "order" does not exist.'249$this->source); })()) == "asc")) {
  453.                     // line 250
  454.                     echo "                          ";
  455.                     $context["sort_date_order"] = "desc";
  456.                     // line 251
  457.                     echo "                        ";
  458.                 } else {
  459.                     // line 252
  460.                     echo "                          ";
  461.                     $context["sort_date_order"] = "asc";
  462.                     // line 253
  463.                     echo "                        ";
  464.                 }
  465.                 // line 254
  466.                 echo "                      ";
  467.             } elseif (((isset($context["sorting"]) || array_key_exists("sorting"$context) ? $context["sorting"] : (function () { throw new RuntimeError('Variable "sorting" does not exist.'254$this->source); })()) == "price")) {
  468.                 // line 255
  469.                 echo "                        ";
  470.                 if (((isset($context["order"]) || array_key_exists("order"$context) ? $context["order"] : (function () { throw new RuntimeError('Variable "order" does not exist.'255$this->source); })()) == "asc")) {
  471.                     // line 256
  472.                     echo "                          ";
  473.                     $context["sort_price_order"] = "desc";
  474.                     // line 257
  475.                     echo "                        ";
  476.                 } else {
  477.                     // line 258
  478.                     echo "                          ";
  479.                     $context["sort_price_order"] = "asc";
  480.                     // line 259
  481.                     echo "                        ";
  482.                 }
  483.                 // line 260
  484.                 echo "                      ";
  485.             }
  486.             // line 261
  487.             echo "                        ";
  488.             if (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'261$this->source); })()), "request", [], "any"falsefalsefalse261), "attributes", [], "any"falsefalsefalse261), "get", [=> "_route"], "method"falsefalsefalse261) == "viewCategory") || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'261$this->source); })()), "request", [], "any"falsefalsefalse261), "attributes", [], "any"falsefalsefalse261), "get", [=> "_route"], "method"falsefalsefalse261) == "viewOnSalesProduct"))) {
  489.                 // line 262
  490.                 echo "                            <a href=\"";
  491.                 echo twig_escape_filter($this->env, (isset($context["link"]) || array_key_exists("link"$context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.'262$this->source); })()), "html"nulltrue);
  492.                 echo "\"  style=\"";
  493.                 if (((isset($context["sorting"]) || array_key_exists("sorting"$context) ? $context["sorting"] : (function () { throw new RuntimeError('Variable "sorting" does not exist.'262$this->source); })()) == null)) {
  494.                     echo "text-decoration: underline !important;";
  495.                 }
  496.                 echo "\">Défaut</a> |
  497.                         ";
  498.             }
  499.             // line 264
  500.             echo "                      <a href=\"?sorting=popularity&order=";
  501.             echo twig_escape_filter($this->env, (isset($context["sort_popularity_order"]) || array_key_exists("sort_popularity_order"$context) ? $context["sort_popularity_order"] : (function () { throw new RuntimeError('Variable "sort_popularity_order" does not exist.'264$this->source); })()), "html"nulltrue);
  502.             echo "\" style=\"";
  503.             if (((isset($context["sorting"]) || array_key_exists("sorting"$context) ? $context["sorting"] : (function () { throw new RuntimeError('Variable "sorting" does not exist.'264$this->source); })()) == "popularity")) {
  504.                 echo "text-decoration: underline !important;";
  505.             }
  506.             echo "\">Popularité ";
  507.             if (((isset($context["sort_popularity_order"]) || array_key_exists("sort_popularity_order"$context) ? $context["sort_popularity_order"] : (function () { throw new RuntimeError('Variable "sort_popularity_order" does not exist.'264$this->source); })()) == "asc")) {
  508.                 echo "&#8673;";
  509.             } else {
  510.                 echo "&#8675;";
  511.             }
  512.             echo "</a> |
  513.                       <a href=\"?sorting=price&order=";
  514.             // line 265
  515.             echo twig_escape_filter($this->env, (isset($context["sort_price_order"]) || array_key_exists("sort_price_order"$context) ? $context["sort_price_order"] : (function () { throw new RuntimeError('Variable "sort_price_order" does not exist.'265$this->source); })()), "html"nulltrue);
  516.             echo "\" style=\"";
  517.             if (((isset($context["sorting"]) || array_key_exists("sorting"$context) ? $context["sorting"] : (function () { throw new RuntimeError('Variable "sorting" does not exist.'265$this->source); })()) == "price")) {
  518.                 echo "text-decoration: underline !important;";
  519.             }
  520.             echo "\">Prix ";
  521.             if (((isset($context["sort_price_order"]) || array_key_exists("sort_price_order"$context) ? $context["sort_price_order"] : (function () { throw new RuntimeError('Variable "sort_price_order" does not exist.'265$this->source); })()) == "asc")) {
  522.                 echo "&#8673;";
  523.             } else {
  524.                 echo "&#8675;";
  525.             }
  526.             echo "</a> |
  527.                       <a href=\"?sorting=date&order=";
  528.             // line 266
  529.             echo twig_escape_filter($this->env, (isset($context["sort_date_order"]) || array_key_exists("sort_date_order"$context) ? $context["sort_date_order"] : (function () { throw new RuntimeError('Variable "sort_date_order" does not exist.'266$this->source); })()), "html"nulltrue);
  530.             echo "\" style=\"";
  531.             if (((isset($context["sorting"]) || array_key_exists("sorting"$context) ? $context["sorting"] : (function () { throw new RuntimeError('Variable "sorting" does not exist.'266$this->source); })()) == "date")) {
  532.                 echo "text-decoration: underline !important;";
  533.             }
  534.             echo "\">Récent ";
  535.             if (((isset($context["sort_date_order"]) || array_key_exists("sort_date_order"$context) ? $context["sort_date_order"] : (function () { throw new RuntimeError('Variable "sort_date_order" does not exist.'266$this->source); })()) == "asc")) {
  536.                 echo "&#8673;";
  537.             } else {
  538.                 echo "&#8675;";
  539.             }
  540.             echo "</a>
  541.                     ";
  542.         }
  543.         // line 268
  544.         echo "                    <br> RÉSULTATS: <span id=\"amountProducts\">";
  545.         echo twig_escape_filter($this->env, (isset($context["productsAmount"]) || array_key_exists("productsAmount"$context) ? $context["productsAmount"] : (function () { throw new RuntimeError('Variable "productsAmount" does not exist.'268$this->source); })()), "html"nulltrue);
  546.         echo "</span> PRODUITS
  547.                   </div>
  548.                 </div>
  549.             </div>
  550.             <!--Category section filters-->
  551. ";
  552.         
  553.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  554.         
  555.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  556.     }
  557.     // line 279
  558.     public function block_category_filter($context, array $blocks = [])
  559.     {
  560.         $macros $this->macros;
  561.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  562.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""category_filter"));
  563.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  564.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""category_filter"));
  565.         // line 280
  566.         echo "
  567.                         ";
  568.         // line 281
  569.         if ((twig_get_attribute($this->env$this->source, ($context["selected"] ?? null), "main", [], "any"truetruefalse281) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["selected"]) || array_key_exists("selected"$context) ? $context["selected"] : (function () { throw new RuntimeError('Variable "selected" does not exist.'281$this->source); })()), "main", [], "any"falsefalsefalse281)))) {
  570.             // line 282
  571.             echo "                        <a class=\"hide-mobile category-products-filters-title\" id=\"filter-show-all\" href=\"/categorie\">
  572.                           <span style=\"color:black;font-weight:bold;\"><i
  573.                           class=\"fa fa-angle-left\" aria-hidden=\"true\"></i></span>
  574.                         TOUT</a>
  575.                         ";
  576.         }
  577.         // line 287
  578.         echo "
  579.                         <div class=\"category-product-filter first hide-mobile\">
  580.                             ";
  581.         // line 290
  582.         $context['_parent'] = $context;
  583.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'290$this->source); })()), "menu", [], "any"falsefalsefalse290));
  584.         foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
  585.             if (twig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'290$this->source); })()), "hasProducts", [=> $context["category"]], "method"falsefalsefalse290)) {
  586.                 // line 291
  587.                 echo "                              ";
  588.                 if ((((twig_get_attribute($this->env$this->source, ($context["selected"] ?? null), "main", [], "any"truetruefalse291) && (twig_get_attribute($this->env$this->source, (isset($context["selected"]) || array_key_exists("selected"$context) ? $context["selected"] : (function () { throw new RuntimeError('Variable "selected" does not exist.'291$this->source); })()), "main", [], "any"falsefalsefalse291) == twig_get_attribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse291))) || ((isset($context["selected"]) || array_key_exists("selected"$context)) && twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["selected"]) || array_key_exists("selected"$context) ? $context["selected"] : (function () { throw new RuntimeError('Variable "selected" does not exist.'291$this->source); })()), "main", [], "any"falsefalsefalse291)))) ||  !(isset($context["selected"]) || array_key_exists("selected"$context)))) {
  589.                     // line 292
  590.                     echo "                              <div class=\"category-product-filter-hierarchy\">
  591.                                   ";
  592.                     // line 295
  593.                     echo "
  594.                                   <a data-id=\"";
  595.                     // line 296
  596.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse296), "html"nulltrue);
  597.                     echo "\" data-type=\"category\" class=\"category-product-filter-hierarchy-title filterItemsProduct ";
  598.                     if ((twig_get_attribute($this->env$this->source, ($context["selected"] ?? null), "main", [], "any"truetruefalse296) && (twig_get_attribute($this->env$this->source, (isset($context["selected"]) || array_key_exists("selected"$context) ? $context["selected"] : (function () { throw new RuntimeError('Variable "selected" does not exist.'296$this->source); })()), "main", [], "any"falsefalsefalse296) == twig_get_attribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse296)))) {
  599.                         echo " active selected ";
  600.                     }
  601.                     echo "\" id=\"cat_";
  602.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse296), "html"nulltrue);
  603.                     echo "\" data-url=\"";
  604.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "getFullUrlPath", [], "any"falsefalsefalse296), "html"nulltrue);
  605.                     echo "\" href=\"/categorie";
  606.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "getFullUrlPath", [], "any"falsefalsefalse296), "html"nulltrue);
  607.                     echo "\">";
  608.                     echo twig_escape_filter($this->envtwig_upper_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "name", [], "any"falsefalsefalse296)), "html"nulltrue);
  609.                     echo "</a>
  610.                                   ";
  611.                     // line 298
  612.                     if ((twig_get_attribute($this->env$this->source, ($context["selected"] ?? null), "main", [], "any"truetruefalse298) && (twig_get_attribute($this->env$this->source, (isset($context["selected"]) || array_key_exists("selected"$context) ? $context["selected"] : (function () { throw new RuntimeError('Variable "selected" does not exist.'298$this->source); })()), "main", [], "any"falsefalsefalse298) == twig_get_attribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse298)))) {
  613.                         // line 299
  614.                         echo "                                    ";
  615.                         $context['_parent'] = $context;
  616.                         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["category"], "categories", [], "any"falsefalsefalse299));
  617.                         foreach ($context['_seq'] as $context["_key"] => $context["subCategory"]) {
  618.                             // line 300
  619.                             echo "                                      <div class=\"category-product-filter-hierarchy-l2\">
  620.                                         ";
  621.                             // line 302
  622.                             if ((twig_get_attribute($this->env$this->source, ($context["selected"] ?? null), "sub1", [], "any"truetruefalse302) && (twig_get_attribute($this->env$this->source, (isset($context["selected"]) || array_key_exists("selected"$context) ? $context["selected"] : (function () { throw new RuntimeError('Variable "selected" does not exist.'302$this->source); })()), "sub1", [], "any"falsefalsefalse302) == twig_get_attribute($this->env$this->source$context["subCategory"], "id", [], "any"falsefalsefalse302)))) {
  623.                                 // line 303
  624.                                 echo "                                        <span class=\"category-product-filter-hierarchy-back-btn\"><i
  625.                                         class=\"fa fa-angle-left\" aria-hidden=\"true\"></i></span>
  626.                                         ";
  627.                             }
  628.                             // line 306
  629.                             echo "
  630.                                         <div class=\"underline-effect-wrapper categorie-left-menu\">
  631.                                         ";
  632.                             // line 308
  633.                             if ((twig_get_attribute($this->env$this->source$context["subCategory"], "placement", [], "any"falsefalsefalse308) > 0)) {
  634.                                 // line 309
  635.                                 echo "                                          <a id=\"cat_";
  636.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["subCategory"], "id", [], "any"falsefalsefalse309), "html"nulltrue);
  637.                                 echo "\" data-id=\"";
  638.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["subCategory"], "id", [], "any"falsefalsefalse309), "html"nulltrue);
  639.                                 echo "\" data-type=\"category\" class=\"category-product-filter-hierarchy-title underline-effect underline-effect-black underline-effect-h1 filterItemsProduct ";
  640.                                 if ((twig_get_attribute($this->env$this->source, ($context["selected"] ?? null), "sub1", [], "any"truetruefalse309) && (twig_get_attribute($this->env$this->source, (isset($context["selected"]) || array_key_exists("selected"$context) ? $context["selected"] : (function () { throw new RuntimeError('Variable "selected" does not exist.'309$this->source); })()), "sub1", [], "any"falsefalsefalse309) == twig_get_attribute($this->env$this->source$context["subCategory"], "id", [], "any"falsefalsefalse309)))) {
  641.                                     echo " active selected ";
  642.                                 }
  643.                                 echo "\" data-url=\"";
  644.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["subCategory"], "getFullUrlPath", [], "any"falsefalsefalse309), "html"nulltrue);
  645.                                 echo "\" href=\"/categorie";
  646.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["subCategory"], "getFullUrlPath", [], "any"falsefalsefalse309), "html"nulltrue);
  647.                                 echo "\">
  648.                                                ";
  649.                                 // line 310
  650.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["subCategory"], "name", [], "any"falsefalsefalse310), "html"nulltrue);
  651.                                 echo " <i>(";
  652.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'310$this->source); })()), "getCountProduct", [=> $context["subCategory"]], "method"falsefalsefalse310), "html"nulltrue);
  653.                                 echo ")</i>
  654.                                               
  655.                                               ";
  656.                             }
  657.                             // line 313
  658.                             echo "                                          </a>
  659.                                           <ul class=\"\">
  660.                                     ";
  661.                             // line 315
  662.                             $context['_parent'] = $context;
  663.                             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["subCategory"], "categories", [], "any"falsefalsefalse315));
  664.                             foreach ($context['_seq'] as $context["_key"] => $context["subCat"]) {
  665.                                 if (twig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'315$this->source); })()), "hasProducts", [=> $context["subCat"]], "method"falsefalsefalse315)) {
  666.                                     // line 316
  667.                                     echo "                                         ";
  668.                                     if ((twig_get_attribute($this->env$this->source$context["subCat"], "placement", [], "any"falsefalsefalse316) > 0)) {
  669.                                         // line 317
  670.                                         echo "                                                <li>
  671.                                                     <a id=\"cat_";
  672.                                         // line 318
  673.                                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["subCat"], "id", [], "any"falsefalsefalse318), "html"nulltrue);
  674.                                         echo "\" data-id=\"";
  675.                                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["subCat"], "id", [], "any"falsefalsefalse318), "html"nulltrue);
  676.                                         echo "\" data-type=\"category\" class=\"underlineSubcategory\" data-url=\"";
  677.                                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["subCat"], "getFullUrlPath", [], "any"falsefalsefalse318), "html"nulltrue);
  678.                                         echo "\" href=\"/categorie";
  679.                                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["subCat"], "getFullUrlPath", [], "any"falsefalsefalse318), "html"nulltrue);
  680.                                         echo "\">
  681.                                                         ";
  682.                                         // line 319
  683.                                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["subCat"], "name", [], "any"falsefalsefalse319), "html"nulltrue);
  684.                                         echo " <i>(";
  685.                                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'319$this->source); })()), "getCountProduct", [=> $context["subCat"]], "method"falsefalsefalse319), "html"nulltrue);
  686.                                         echo ")</i>
  687.                                                     </a>
  688.                                                 </li>
  689.                                                 ";
  690.                                     }
  691.                                     // line 323
  692.                                     echo "                                          ";
  693.                                 }
  694.                             }
  695.                             $_parent $context['_parent'];
  696.                             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subCat'], $context['_parent'], $context['loop']);
  697.                             $context array_intersect_key($context$_parent) + $_parent;
  698.                             // line 324
  699.                             echo "                                          </ul>
  700.                                         </div>
  701.                                       </div>
  702.                                     ";
  703.                         }
  704.                         $_parent $context['_parent'];
  705.                         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subCategory'], $context['_parent'], $context['loop']);
  706.                         $context array_intersect_key($context$_parent) + $_parent;
  707.                         // line 328
  708.                         echo "                                  ";
  709.                     }
  710.                     // line 329
  711.                     echo "                              </div>
  712.                               ";
  713.                 }
  714.                 // line 331
  715.                 echo "                            ";
  716.             }
  717.         }
  718.         $_parent $context['_parent'];
  719.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
  720.         $context array_intersect_key($context$_parent) + $_parent;
  721.         // line 332
  722.         echo "                        </div>
  723.                         <div class=\"category-divider hide-mobile\"></div>
  724.                         <div class=\"category-product-filter\">
  725.                           <div class=\"d-md-none d-sm-block text-center\">
  726.                             ";
  727.         // line 336
  728.         if ((isset($context["sorting"]) || array_key_exists("sorting"$context))) {
  729.             // line 337
  730.             echo "
  731.                       ";
  732.             // line 338
  733.             $context["sort_popularity_order"] = "desc";
  734.             // line 339
  735.             echo "                      ";
  736.             $context["sort_date_order"] = "desc";
  737.             // line 340
  738.             echo "                      ";
  739.             $context["sort_price_order"] = "desc";
  740.             // line 341
  741.             echo "
  742.                       ";
  743.             // line 342
  744.             if (((isset($context["sorting"]) || array_key_exists("sorting"$context) ? $context["sorting"] : (function () { throw new RuntimeError('Variable "sorting" does not exist.'342$this->source); })()) == "popularity")) {
  745.                 // line 343
  746.                 echo "                        ";
  747.                 if (((isset($context["order"]) || array_key_exists("order"$context) ? $context["order"] : (function () { throw new RuntimeError('Variable "order" does not exist.'343$this->source); })()) == "asc")) {
  748.                     // line 344
  749.                     echo "                          ";
  750.                     $context["sort_popularity_order"] = "desc";
  751.                     // line 345
  752.                     echo "                        ";
  753.                 } else {
  754.                     // line 346
  755.                     echo "                          ";
  756.                     $context["sort_popularity_order"] = "asc";
  757.                     // line 347
  758.                     echo "                        ";
  759.                 }
  760.                 // line 348
  761.                 echo "                      ";
  762.             } elseif (((isset($context["sorting"]) || array_key_exists("sorting"$context) ? $context["sorting"] : (function () { throw new RuntimeError('Variable "sorting" does not exist.'348$this->source); })()) == "date")) {
  763.                 // line 349
  764.                 echo "                        ";
  765.                 if (((isset($context["order"]) || array_key_exists("order"$context) ? $context["order"] : (function () { throw new RuntimeError('Variable "order" does not exist.'349$this->source); })()) == "asc")) {
  766.                     // line 350
  767.                     echo "                          ";
  768.                     $context["sort_date_order"] = "desc";
  769.                     // line 351
  770.                     echo "                        ";
  771.                 } else {
  772.                     // line 352
  773.                     echo "                          ";
  774.                     $context["sort_date_order"] = "asc";
  775.                     // line 353
  776.                     echo "                        ";
  777.                 }
  778.                 // line 354
  779.                 echo "                      ";
  780.             } elseif (((isset($context["sorting"]) || array_key_exists("sorting"$context) ? $context["sorting"] : (function () { throw new RuntimeError('Variable "sorting" does not exist.'354$this->source); })()) == "price")) {
  781.                 // line 355
  782.                 echo "                        ";
  783.                 if (((isset($context["order"]) || array_key_exists("order"$context) ? $context["order"] : (function () { throw new RuntimeError('Variable "order" does not exist.'355$this->source); })()) == "asc")) {
  784.                     // line 356
  785.                     echo "                          ";
  786.                     $context["sort_price_order"] = "desc";
  787.                     // line 357
  788.                     echo "                        ";
  789.                 } else {
  790.                     // line 358
  791.                     echo "                          ";
  792.                     $context["sort_price_order"] = "asc";
  793.                     // line 359
  794.                     echo "                        ";
  795.                 }
  796.                 // line 360
  797.                 echo "                      ";
  798.             }
  799.             // line 361
  800.             echo "                        ";
  801.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'361$this->source); })()), "request", [], "any"falsefalsefalse361), "attributes", [], "any"falsefalsefalse361), "get", [=> "_route"], "method"falsefalsefalse361) == "viewCategory")) {
  802.                 // line 362
  803.                 echo "                            <a href=\"";
  804.                 echo twig_escape_filter($this->env, (isset($context["link"]) || array_key_exists("link"$context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.'362$this->source); })()), "html"nulltrue);
  805.                 echo "\"  style=\"";
  806.                 if (((isset($context["sorting"]) || array_key_exists("sorting"$context) ? $context["sorting"] : (function () { throw new RuntimeError('Variable "sorting" does not exist.'362$this->source); })()) == null)) {
  807.                     echo "text-decoration: underline !important;";
  808.                 }
  809.                 echo "\">Défaut</a> |
  810.                         ";
  811.             }
  812.             // line 364
  813.             echo "                      <a href=\"?sorting=popularity&order=";
  814.             echo twig_escape_filter($this->env, (isset($context["sort_popularity_order"]) || array_key_exists("sort_popularity_order"$context) ? $context["sort_popularity_order"] : (function () { throw new RuntimeError('Variable "sort_popularity_order" does not exist.'364$this->source); })()), "html"nulltrue);
  815.             echo "\" style=\"";
  816.             if (((isset($context["sorting"]) || array_key_exists("sorting"$context) ? $context["sorting"] : (function () { throw new RuntimeError('Variable "sorting" does not exist.'364$this->source); })()) == "popularity")) {
  817.                 echo "text-decoration: underline !important;";
  818.             }
  819.             echo "\">Popularité ";
  820.             if (((isset($context["sort_popularity_order"]) || array_key_exists("sort_popularity_order"$context) ? $context["sort_popularity_order"] : (function () { throw new RuntimeError('Variable "sort_popularity_order" does not exist.'364$this->source); })()) == "asc")) {
  821.                 echo "&#8673;";
  822.             } else {
  823.                 echo "&#8675;";
  824.             }
  825.             echo "</a> |
  826.                       <a href=\"?sorting=price&order=";
  827.             // line 365
  828.             echo twig_escape_filter($this->env, (isset($context["sort_price_order"]) || array_key_exists("sort_price_order"$context) ? $context["sort_price_order"] : (function () { throw new RuntimeError('Variable "sort_price_order" does not exist.'365$this->source); })()), "html"nulltrue);
  829.             echo "\" style=\"";
  830.             if (((isset($context["sorting"]) || array_key_exists("sorting"$context) ? $context["sorting"] : (function () { throw new RuntimeError('Variable "sorting" does not exist.'365$this->source); })()) == "price")) {
  831.                 echo "text-decoration: underline !important;";
  832.             }
  833.             echo "\">Prix ";
  834.             if (((isset($context["sort_price_order"]) || array_key_exists("sort_price_order"$context) ? $context["sort_price_order"] : (function () { throw new RuntimeError('Variable "sort_price_order" does not exist.'365$this->source); })()) == "asc")) {
  835.                 echo "&#8673;";
  836.             } else {
  837.                 echo "&#8675;";
  838.             }
  839.             echo "</a> |
  840.                       <a href=\"?sorting=date&order=";
  841.             // line 366
  842.             echo twig_escape_filter($this->env, (isset($context["sort_date_order"]) || array_key_exists("sort_date_order"$context) ? $context["sort_date_order"] : (function () { throw new RuntimeError('Variable "sort_date_order" does not exist.'366$this->source); })()), "html"nulltrue);
  843.             echo "\" style=\"";
  844.             if (((isset($context["sorting"]) || array_key_exists("sorting"$context) ? $context["sorting"] : (function () { throw new RuntimeError('Variable "sorting" does not exist.'366$this->source); })()) == "date")) {
  845.                 echo "text-decoration: underline !important;";
  846.             }
  847.             echo "\">Récent ";
  848.             if (((isset($context["sort_date_order"]) || array_key_exists("sort_date_order"$context) ? $context["sort_date_order"] : (function () { throw new RuntimeError('Variable "sort_date_order" does not exist.'366$this->source); })()) == "asc")) {
  849.                 echo "&#8673;";
  850.             } else {
  851.                 echo "&#8675;";
  852.             }
  853.             echo "</a>
  854.                     ";
  855.         }
  856.         // line 368
  857.         echo "                        </div>
  858.                             <div class=\"category-product-filter-title\" onclick=\"panelUnClick()\" ><i class=\"flecheUn ti-angle-right\" style=\"margin-right: 10px;\"></i><span style=\"display: inline;\">LIVRAISON</span></div>
  859.                             <div class=\"category-product-filter-checkbox\" id=\"panelUn\" style=\"display:none;\">
  860.                                 <div>
  861.                                     <label class=\"checkbox\">
  862.                                         <input id=\"shipping_maturin\" type=\"checkbox\" value=\"LivraisonMaturin\" class=\"filterItemsProduct\" data-id=\"0\" data-type=\"shipping\" ";
  863.         // line 373
  864.         if ((twig_get_attribute($this->env$this->source, ($context["filters"] ?? null), "shipping", [], "any"truetruefalse373) && twig_in_filter("0"twig_get_attribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'373$this->source); })()), "shipping", [], "any"falsefalsefalse373)))) {
  865.             echo "checked";
  866.         }
  867.         echo ">
  868.                                         <i></i>Maturin <img style=\"display: inline-block; margin-right: 15px;\" src=\"/images/maturinshipping.png\" alt=\"Livraison par Maturin\" title=\"Livraison par Maturin\">
  869.                                     </label>
  870.                                 </div>
  871.                                 <div>
  872.                                     <label class=\"checkbox\">
  873.                                         <input id=\"shipping_producer\" type=\"checkbox\" value=\"LivraisonIndependante\" class=\"filterItemsProduct\" data-id=\"1\" data-type=\"shipping\" ";
  874.         // line 379
  875.         if ((twig_get_attribute($this->env$this->source, ($context["filters"] ?? null), "shipping", [], "any"truetruefalse379) && twig_in_filter("1"twig_get_attribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'379$this->source); })()), "shipping", [], "any"falsefalsefalse379)))) {
  876.             echo "checked";
  877.         }
  878.         echo ">
  879.                                         <i></i>Indépendante
  880.                                     </label>
  881.                                 </div>
  882.                             </div>
  883.                         </div>
  884.                         <div class=\"category-product-filter\">
  885.                             <div class=\"category-product-filter-title\"  onclick=\"panelDeuxClick()\"><i class=\"flecheDeux ti-angle-right\" style=\"margin-right: 10px;\"></i><span style=\"display: inline;\">PRIX</span></div>
  886.                             <div class=\"category-product-filter-checkbox\" id=\"panelDeux\" style=\"display:none;\">
  887.                                 <div>
  888.                                     <label class=\"checkbox\" style=\"color:#f0632f;\">
  889.                                         <input id=\"price_sale\" type=\"checkbox\" name=\"checkbox\" value=\"EnSolde\" class=\"filterItemsProduct\" data-id=\"0\" data-type=\"price\" ";
  890.         // line 390
  891.         if ((twig_get_attribute($this->env$this->source, ($context["filters"] ?? null), "price", [], "any"truetruefalse390) && twig_in_filter("0"twig_get_attribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'390$this->source); })()), "price", [], "any"falsefalsefalse390)))) {
  892.             echo "checked";
  893.         }
  894.         echo ">
  895.                                         <i></i><strong>En Solde</strong>
  896.                                     </label>
  897.                                 </div>
  898.                                 <div>
  899.                                     <label class=\"checkbox\">
  900.                                         <input id=\"price_10\" type=\"checkbox\" name=\"checkbox\" value=\"Moins10\" class=\"filterItemsProduct\" data-id=\"10\" data-type=\"price\" ";
  901.         // line 396
  902.         if ((twig_get_attribute($this->env$this->source, ($context["filters"] ?? null), "price", [], "any"truetruefalse396) && twig_in_filter("10"twig_get_attribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'396$this->source); })()), "price", [], "any"falsefalsefalse396)))) {
  903.             echo "checked";
  904.         }
  905.         echo ">
  906.                                         <i></i>Moins de 10\$
  907.                                     </label>
  908.                                 </div>
  909.                                 <div>
  910.                                     <label class=\"checkbox\">
  911.                                         <input id=\"price_1025\" type=\"checkbox\" name=\"checkbox\" value=\"price10-25\" class=\"filterItemsProduct\" data-id=\"10-25\" data-type=\"price\" ";
  912.         // line 402
  913.         if ((twig_get_attribute($this->env$this->source, ($context["filters"] ?? null), "price", [], "any"truetruefalse402) && twig_in_filter("10-25"twig_get_attribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'402$this->source); })()), "price", [], "any"falsefalsefalse402)))) {
  914.             echo "checked";
  915.         }
  916.         echo ">
  917.                                         <i></i>10\$-25\$
  918.                                     </label>
  919.                                 </div>
  920.                                 <div>
  921.                                     <label class=\"checkbox\">
  922.                                         <input id=\"price_2050\" type=\"checkbox\" name=\"checkbox\" value=\"price25-50\" class=\"filterItemsProduct\" data-id=\"25-50\" data-type=\"price\" ";
  923.         // line 408
  924.         if ((twig_get_attribute($this->env$this->source, ($context["filters"] ?? null), "price", [], "any"truetruefalse408) && twig_in_filter("25-50"twig_get_attribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'408$this->source); })()), "price", [], "any"falsefalsefalse408)))) {
  925.             echo "checked";
  926.         }
  927.         echo ">
  928.                                         <i></i>25\$-50\$
  929.                                     </label>
  930.                                 </div>
  931.                                 <div>
  932.                                     <label class=\"checkbox\">
  933.                                         <input id=\"price_50\" type=\"checkbox\" name=\"checkbox\" value=\"Plus50\" class=\"filterItemsProduct\" data-id=\"50\" data-type=\"price\" ";
  934.         // line 414
  935.         if ((twig_get_attribute($this->env$this->source, ($context["filters"] ?? null), "price", [], "any"truetruefalse414) && twig_in_filter("50"twig_get_attribute($this->env$this->source, (isset($context["filters"]) || array_key_exists("filters"$context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.'414$this->source); })()), "price", [], "any"falsefalsefalse414)))) {
  936.             echo "checked";
  937.         }
  938.         echo ">
  939.                                         <i></i>Plus de 50\$
  940.                                     </label>
  941.                                 </div>
  942.                             </div>
  943.                         </div>
  944.                         <div class=\"category-product-filter\">
  945.                             <div class=\"category-product-filter-title\" onclick=\"panelTroisClick()\"><i class=\"flecheTrois ti-angle-right\" style=\"margin-right: 10px;\"></i><span style=\"display: inline;\">CONSERVATION</span></div>
  946.                             <div class=\"category-product-filter-checkbox\" id=\"panelTrois\" style=\"display:none;\">
  947.                                 ";
  948.         // line 423
  949.         $context['_parent'] = $context;
  950.         $context['_seq'] = twig_ensure_traversable((isset($context["conservations"]) || array_key_exists("conservations"$context) ? $context["conservations"] : (function () { throw new RuntimeError('Variable "conservations" does not exist.'423$this->source); })()));
  951.         foreach ($context['_seq'] as $context["_key"] => $context["conservation"]) {
  952.             // line 424
  953.             echo "                                    <div>
  954.                                         <label class=\"checkbox\">
  955.                                             <input id=\"conservation_";
  956.             // line 426
  957.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["conservation"], "id", [], "any"falsefalsefalse426), "html"nulltrue);
  958.             echo "\" type=\"checkbox\" name=\"checkbox\" value=\"";
  959.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["conservation"], "name", [], "any"falsefalsefalse426), "html"nulltrue);
  960.             echo "\" data-id=\"";
  961.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["conservation"], "id", [], "any"falsefalsefalse426), "html"nulltrue);
  962.             echo "\" data-type=\"conservation\" class=\"filterItemsProduct\">
  963.                                             <i></i>";
  964.             // line 427
  965.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["conservation"], "name", [], "any"falsefalsefalse427), "html"nulltrue);
  966.             echo "
  967.                                         </label>
  968.                                     </div>
  969.                                 ";
  970.         }
  971.         $_parent $context['_parent'];
  972.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['conservation'], $context['_parent'], $context['loop']);
  973.         $context array_intersect_key($context$_parent) + $_parent;
  974.         // line 431
  975.         echo "                            </div>
  976.                         </div>
  977.                         <div class=\"category-product-filter\">
  978.                             <div class=\"category-product-filter-title\" onclick=\"panelQuatreClick()\"><i class=\"flecheQuatre ti-angle-right\" style=\"margin-right: 10px;\"></i><span style=\"display: inline;\">CERTIFICATION</span></div>
  979.                             <div class=\"category-product-filter-checkbox\" id=\"panelQuatre\" style=\"display:none;\">
  980.                                     <div>
  981.                                         <label class=\"checkbox\">
  982.                                             <input id=\"aliment_du_quebec\" type=\"checkbox\" name=\"checkbox\" value=\"AlimentsQuebec\" data-id=\"true\" data-type=\"aliment_quebec\" class=\"filterItemsProduct\">
  983.                                             <i></i>Aliments du Québec
  984.                                         </label>
  985.                                     </div>
  986.                                     <div>
  987.                                         <label class=\"checkbox\">
  988.                                             <input id=\"is_prix_laureat\" type=\"checkbox\" name=\"checkbox\" value=\"PrixLaureat\" data-id=\"true\" data-type=\"prix_laureat\" class=\"filterItemsProduct\">
  989.                                             <i></i>Prix Laureat
  990.                                         </label>
  991.                                     </div>
  992.                                     <div>
  993.                                         <label class=\"checkbox\">
  994.                                             <input id=\"is_produit_biologique\" type=\"checkbox\" name=\"checkbox\" value=\"Biologique\" data-id=\"true\" data-type=\"produit_biologique\" class=\"filterItemsProduct\">
  995.                                             <i></i>Porduit Bio
  996.                                         </label>
  997.                                     </div>
  998.                                      <div>
  999.                                         <label class=\"checkbox\">
  1000.                                             <input id=\"SansGluten\" type=\"checkbox\" name=\"checkbox\" value=\"Sans_Gluten\" data-type=\"certification\" class=\"filterItemsProduct\">
  1001.                                             <i></i>Sans Gluten
  1002.                                         </label>
  1003.                                     </div>
  1004.                                      <div>
  1005.                                         <label class=\"checkbox\">
  1006.                                             <input id=\"Vegane\" type=\"checkbox\" name=\"checkbox\" value=\"Vegane\" data-type=\"certification\" class=\"filterItemsProduct\">
  1007.                                             <i></i>Végane
  1008.                                         </label>
  1009.                                     </div>
  1010.                                      <div>
  1011.                                         <label class=\"checkbox\">
  1012.                                             <input id=\"Paleo\" type=\"checkbox\" name=\"checkbox\" value=\"Paleo\" data-type=\"certification\" class=\"filterItemsProduct\">
  1013.                                             <i></i>Paléo
  1014.                                         </label>
  1015.                                     </div>
  1016.                                     <div>
  1017.                                         <label class=\"checkbox\">
  1018.                                             <input id=\"SansLactose\" type=\"checkbox\" name=\"checkbox\" value=\"Sans_Lactose\" data-type=\"certification\" class=\"filterItemsProduct\">
  1019.                                             <i></i>Sans Lactose
  1020.                                         </label>
  1021.                                     </div>
  1022.                                     <div>
  1023.                                         <label class=\"checkbox\">
  1024.                                             <input id=\"SansNoix\" type=\"checkbox\" name=\"checkbox\" value=\"Sans_Noix\" data-type=\"certification\" class=\"filterItemsProduct\">
  1025.                                             <i></i>Sans noix
  1026.                                         </label>
  1027.                                     </div>
  1028.                                     </div>
  1029.                         </div>
  1030.                         <div class=\"category-product-filter\">
  1031.                             <div class=\"category-product-filter-title\" onclick=\"panelCinqClick()\"><i class=\"flecheCinq ti-angle-right\" style=\"margin-right: 10px;\"></i><span style=\"display: inline;\">RÉGION</span></div>
  1032.                             <div class=\"category-product-filter-checkbox\" id=\"panelCinq\" style=\"display:none;\">
  1033.                                 ";
  1034.         // line 490
  1035.         $context['_parent'] = $context;
  1036.         $context['_seq'] = twig_ensure_traversable((isset($context["regions"]) || array_key_exists("regions"$context) ? $context["regions"] : (function () { throw new RuntimeError('Variable "regions" does not exist.'490$this->source); })()));
  1037.         foreach ($context['_seq'] as $context["_key"] => $context["region"]) {
  1038.             // line 491
  1039.             echo "                                    ";
  1040.             if ((twig_get_attribute($this->env$this->source$context["region"], "name", [], "any"falsefalsefalse491) != "defaut")) {
  1041.                 // line 492
  1042.                 echo "                                        <div>
  1043.                                             <label class=\"checkbox\">
  1044.                                                 <input id=\"region_";
  1045.                 // line 494
  1046.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["region"], "id", [], "any"falsefalsefalse494), "html"nulltrue);
  1047.                 echo "\" type=\"checkbox\" name=\"checkbox\" value=\"region_";
  1048.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["region"], "name", [], "any"falsefalsefalse494), "html"nulltrue);
  1049.                 echo "\" data-id=\"";
  1050.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["region"], "id", [], "any"falsefalsefalse494), "html"nulltrue);
  1051.                 echo "\" class=\"filterItemsProduct\" data-type=\"region\">
  1052.                                                     <i></i>";
  1053.                 // line 495
  1054.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["region"], "name", [], "any"falsefalsefalse495), "html"nulltrue);
  1055.                 echo "
  1056.                                             </label>
  1057.                                         </div>
  1058.                                     ";
  1059.             }
  1060.             // line 499
  1061.             echo "                                ";
  1062.         }
  1063.         $_parent $context['_parent'];
  1064.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['region'], $context['_parent'], $context['loop']);
  1065.         $context array_intersect_key($context$_parent) + $_parent;
  1066.         // line 500
  1067.         echo "                            </div>
  1068.                         </div>
  1069.                         ";
  1070.         
  1071.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1072.         
  1073.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1074.     }
  1075.     // line 506
  1076.     public function block_section_masonry_products($context, array $blocks = [])
  1077.     {
  1078.         $macros $this->macros;
  1079.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1080.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""section_masonry_products"));
  1081.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1082.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""section_masonry_products"));
  1083.         // line 507
  1084.         echo "
  1085.                         <div class=\"endless_container\" id=\"endless_container\">
  1086.                             <article  class=\"endless_page\" style=\"\">
  1087.                                 ";
  1088.         // line 510
  1089.         echo twig_include($this->env$context"frontend/productMasonry.html.twig", ["masonryProducts" => (isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'510$this->source); })())]);
  1090.         echo "
  1091.                             </article>
  1092.                         </div>
  1093.                         <div class=\"\" id=\"product-loader\" style=\"display: none; width: 100%; height: 100px; position: relative !important; background: url(/images/loading.gif)    center no-repeat #fff;\"></div>
  1094.                         <script>
  1095.                             var supportsTouch = 'ontouchstart' in window || navigator.msMaxTouchPoints;
  1096.                             if(supportsTouch){
  1097.                                 var elems = document.querySelectorAll(\".button-touch\");
  1098.                                 [].forEach.call(elems, function(el) {
  1099.                                     el.classList.remove(\"d-none\");
  1100.                                 });
  1101.                             }
  1102.                         </script>
  1103.                         ";
  1104.         // line 526
  1105.         echo "                        ";
  1106.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'526$this->source); })()), "request", [], "any"falsefalsefalse526), "attributes", [], "any"falsefalsefalse526), "get", [=> "_route"], "method"falsefalsefalse526) == "viewCategory")) {
  1107.             // line 527
  1108.             echo "                        ";
  1109.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'527$this->source); })()), "getPaginationData", [], "any"falsefalsefalse527), "current", [], "any"falsefalsefalse527) == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'527$this->source); })()), "getPaginationData", [], "any"falsefalsefalse527), "last", [], "any"falsefalsefalse527))) {
  1110.                 // line 528
  1111.                 echo "                                <div id=\"paginatorDefaultLast\" class=\"infinite-scroll-last\">";
  1112.                 echo $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'528$this->source); })()));
  1113.                 echo "</div>
  1114.                         ";
  1115.             }
  1116.             // line 530
  1117.             echo "                        ";
  1118.         }
  1119.         // line 531
  1120.         echo "                    ";
  1121.         
  1122.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1123.         
  1124.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1125.     }
  1126.     public function getTemplateName()
  1127.     {
  1128.         return "frontend/category.html.twig";
  1129.     }
  1130.     public function isTraitable()
  1131.     {
  1132.         return false;
  1133.     }
  1134.     public function getDebugInfo()
  1135.     {
  1136.         return array (  1186 => 531,  1183 => 530,  1177 => 528,  1174 => 527,  1171 => 526,  1153 => 510,  1148 => 507,  1138 => 506,  1126 => 500,  1120 => 499,  1113 => 495,  1105 => 494,  1101 => 492,  1098 => 491,  1094 => 490,  1033 => 431,  1023 => 427,  1015 => 426,  1011 => 424,  1007 => 423,  993 => 414,  982 => 408,  971 => 402,  960 => 396,  949 => 390,  933 => 379,  922 => 373,  915 => 368,  900 => 366,  886 => 365,  871 => 364,  861 => 362,  858 => 361,  855 => 360,  852 => 359,  849 => 358,  846 => 357,  843 => 356,  840 => 355,  837 => 354,  834 => 353,  831 => 352,  828 => 351,  825 => 350,  822 => 349,  819 => 348,  816 => 347,  813 => 346,  810 => 345,  807 => 344,  804 => 343,  802 => 342,  799 => 341,  796 => 340,  793 => 339,  791 => 338,  788 => 337,  786 => 336,  780 => 332,  773 => 331,  769 => 329,  766 => 328,  757 => 324,  750 => 323,  741 => 319,  731 => 318,  728 => 317,  725 => 316,  720 => 315,  716 => 313,  708 => 310,  693 => 309,  691 => 308,  687 => 306,  682 => 303,  680 => 302,  676 => 300,  671 => 299,  669 => 298,  652 => 296,  649 => 295,  646 => 292,  643 => 291,  638 => 290,  633 => 287,  626 => 282,  624 => 281,  621 => 280,  611 => 279,  594 => 268,  579 => 266,  565 => 265,  550 => 264,  540 => 262,  537 => 261,  534 => 260,  531 => 259,  528 => 258,  525 => 257,  522 => 256,  519 => 255,  516 => 254,  513 => 253,  510 => 252,  507 => 251,  504 => 250,  501 => 249,  498 => 248,  495 => 247,  492 => 246,  489 => 245,  486 => 244,  483 => 243,  481 => 242,  478 => 241,  475 => 240,  472 => 239,  470 => 238,  467 => 237,  465 => 236,  458 => 231,  448 => 230,  368 => 539,  365 => 538,  360 => 536,  357 => 535,  354 => 534,  352 => 533,  349 => 532,  347 => 506,  342 => 503,  340 => 279,  333 => 274,  331 => 230,  323 => 224,  310 => 195,  299 => 149,  295 => 147,  290 => 140,  286 => 138,  283 => 137,  276 => 134,  270 => 132,  264 => 130,  262 => 129,  259 => 128,  257 => 127,  251 => 123,  241 => 122,  218 => 121,  194 => 120,  182 => 118,  171 => 110,  166 => 108,  163 => 107,  153 => 106,  141 => 104,  130 => 95,  75 => 3,  65 => 2,  42 => 1,);
  1137.     }
  1138.     public function getSourceContext()
  1139.     {
  1140.         return new Source("{% extends 'frontend/base.html.twig' %}
  1141. {% block JS %}
  1142.     <script src=\"/assets/frontend/js/jquery-3.1.1.min.js\"></script>
  1143.     <script src=\"/assets/frontend/js/popper.min.js\"
  1144.             integrity=\"sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ\"
  1145.             crossorigin=\"anonymous\"></script>
  1146.     <script src=\"https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js\"
  1147.             integrity=\"sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm\"
  1148.             crossorigin=\"anonymous\"></script>
  1149.     <script type=\"text/javascript\" src=\"/assets/frontend/js/owl.carousel.min.js\"></script>
  1150.     <script type=\"text/javascript\" src=\"/assets/frontend/js/slick.min.js\"></script>
  1151.     <script type=\"text/javascript\" src=\"/assets/frontend/js/jquery.mmenu.js\"></script>
  1152.     <script src=\"https://unpkg.com/infinite-scroll@3/dist/infinite-scroll.pkgd.min.js\"></script>
  1153.     <script type=\"text/javascript\">
  1154.         
  1155.                 \$(function() {
  1156.             \$('#menu').mmenu();
  1157.               
  1158.               let infScroll =  \$('.endless_container').infiniteScroll({
  1159.                 path: '.page-next',
  1160.                 append: '.endless_page',
  1161.                 history: false,
  1162.                 });
  1163.                 
  1164. let t;
  1165.                 \$('.endless_container').on( 'request.infiniteScroll', function( event, path, fetchPromise ) {
  1166.                 console.log(`Loading page: \${path}`);
  1167.                 \$('#product-loader').show();
  1168.                  t = setTimeout(function () {
  1169.                     \$('#product-loader').hide();
  1170.                     console.log('load');
  1171.                     \$('#paginatorDefaultPage').removeClass('d-none');
  1172.                 }, 4000);
  1173.                 t;
  1174.                 });
  1175.                  
  1176.                 \$('.endless_container').on( 'append.infiniteScroll', function( event, body, path, items, response ) {
  1177.                 console.log(`Appended \${items.length} items on \${path}`);
  1178.                 \$('#product-loader').hide();
  1179.                  clearTimeout(t);
  1180.                 });
  1181.                   
  1182.         });
  1183.         
  1184.     </script>
  1185.     <script>
  1186.         \$('input[class=filterItemsProduct]').on('change', function() {
  1187.             var getValueinput = \$(this).val();
  1188.             var newUrlParam = '?filter='+getValueinput;
  1189.             return window.location =  newUrlParam;
  1190.         });
  1191.     </script>
  1192. {#
  1193.     {% if global.displayStarterKits %}
  1194.         <script src=\"/assets/shared/plugins/slick-modal-css3-powered-popups/src/demos/js/carousel_slider.js\"></script>
  1195.         <script src=\"/assets/shared/plugins/slick-modal-css3-powered-popups/src/plugin/js/jquery.slickmodal.min.js\"></script>
  1196.         <script type=\"text/javascript\">
  1197.             \$(function() {
  1198.                 \$('.carouselSlider').SlickModals({
  1199.                     restrict_cookieDays: '1',
  1200.                     restrict_showAfterVisits: 1,
  1201.                     restrict_showAfterVisitsResetWhenShown: false,
  1202.                     popup_type: 'exit',
  1203.                     popup_animation: 'zoomIn',
  1204.                     popup_css: {
  1205.                         'width': '480px',
  1206.                         'height': {% if global.starterKits | length > 2 %}'480px'{% else %}'400px'{% endif %},
  1207.                         'background': '#fff',
  1208.                         'padding': '40px',
  1209.                         'margin': '0'
  1210.                     },
  1211.                     overlay_css: {
  1212.                         'background': 'rgba(0,0,0,0.3)'
  1213.                     },
  1214.                     mobile_breakpoint: '480px',
  1215.                     mobile_position: 'center',
  1216.                     mobile_css: {
  1217.                         'width': '100%',
  1218.                         'height': {% if global.starterKits | length > 2 %}'480px'{% else %}'400px'{% endif %},
  1219.                         'background': '#fff',
  1220.                         'padding': '30px',
  1221.                         'margin': '0'
  1222.                     },
  1223.                     callback_afterVisible: function () {
  1224.                         sm_carouselSlider('.carouselSlider');
  1225.                     }
  1226.                 });
  1227.             });
  1228.         </script>
  1229.     {% endif %}
  1230. #}
  1231.     <script src=\"/assets/frontend/js/874ad7ad81.js\"></script>
  1232.     <script type=\"text/javascript\" src=\"/assets/frontend/js/main.js?ver=1.1\"></script>
  1233.     <script type=\"text/javascript\" src=\"/assets/frontend/js/registration.js\"></script>
  1234.     <script type=\"text/javascript\" src=\"/assets/frontend/js/category-filter.js\"></script>
  1235.     <script type=\"text/javascript\" src=\"/assets/frontend/js/scroll-down.js\"></script>
  1236.     <script type=\"text/javascript\" src=\"/assets/frontend/js/show-more.js\"></script>
  1237.     <script type=\"text/javascript\" src=\"/assets/frontend/js/region-currency-lang-select.js\"></script>
  1238.     <script type=\"text/javascript\" src=\"/assets/frontend/js/custom-select.js\"></script>
  1239.     <script src=\"{{ asset('build/frontend/category.js') }}\"></script>
  1240. {% endblock %}
  1241. {% block CSS %}
  1242.     <link rel=\"stylesheet\" href=\"/assets/frontend/css/owl.carousel.min.css\">
  1243.     <link href=\"/assets/frontend/css/responsive.css?ver={{global.cssVersion}}\" rel=\"stylesheet\" type=\"text/css\" media=\"all\">
  1244.     <link href=\"/assets/frontend/css/jquery.mmenu.css\" rel=\"stylesheet\" type=\"text/css\" media=\"all\">
  1245.     <link href=\"/assets/frontend/css/styles.css?ver={{global.cssVersion}}\" rel=\"stylesheet\" type=\"text/css\" media=\"all\">
  1246.     <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css\"
  1247.                            integrity=\"sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4\" crossorigin=\"anonymous\">
  1248.     <!-- Add the slick-theme.css if you want default styling -->
  1249.     <link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/frontend/css/slick.css\"/>
  1250.     <!-- Add the slick-theme.css if you want default styling -->
  1251.     <link rel=\"stylesheet\" type=\"text/css\" href=\"/assets/frontend/css/slick-theme.css\"/>
  1252.     <script src=\"{{ asset('build/frontend/category.css') }}\"></script>
  1253. {% endblock %}
  1254. {% block title %}{% if category.name is not empty %}{{category.name}},{% endif %} {{category.title}}{% endblock %}
  1255.     {% block metaDescription %}{% if category.metaDescription %}{{category.metaDescription}}{%else%}{{category.description | slice(0, 160) | raw}}{%endif%}{% endblock %}
  1256. {% block content %}
  1257.     <!--Category section-->
  1258.     <div class=\"category row mb-rem\">
  1259.         <!--Category section header-->
  1260.         <section class=\"category-header\">
  1261.             {% if category.banner or forcedBanner is defined %}
  1262.                 <div class=\"category-header-top\">
  1263.                     {% if forcedBanner is defined %}
  1264.                         <img class=\"category-header-top-img full-width\" src=\"{{forcedBanner}}\">
  1265.                     {% else %}
  1266.                         <img class=\"category-header-top-img full-width\" src=\"{{path('getImageAsCroppedThumb',{'id': category.banner.id, 'height': '250', 'width' : '1900'})}} \">
  1267.                     {% endif %}
  1268.                     <h5 class=\"category-header-top-caption \"><span>{{category.title}}</span></h5>
  1269.                 </div>
  1270.             {% endif %}
  1271.             {% if category.description %}
  1272.                 <div class=\"category-header-description text-left d-none d-xl-block  d-lg-block d-md-block\">
  1273.                     <p class=\"category-header-description-text text-overflow\">
  1274.                     {{category.description | raw}}
  1275.                     </p>
  1276.                     {#
  1277.                     {% if category.description |length > 200 %}
  1278.                         <a class=\"category-header-description-more btn-overflow\"> + Plus</a>
  1279.                     {% endif %}
  1280.                     #}
  1281.                 </div>
  1282.             {% endif %}
  1283.         </section>
  1284.         <!--Category section header-->
  1285.         <section class=\"category-products m-t-10\">
  1286.             <div class=\"row justify-content-end category-search\">
  1287.                 <div class=\"col-xl-6 col-lg-12 col-md-12 col-12 align-self-end\">
  1288.                     <div class=\"row justify-content-between\">
  1289.                         {#
  1290.                         <div class=\"col-xl-6 col-lg-6 col-md-6 m-b-10\">
  1291.                             <div class=\"row no-gutters\">
  1292.                                 <div class=\"col text-right\">
  1293.                                     <input class=\"border-right-0 rounded-0 search-input category-search-product\"
  1294.                                            type=\"search\" placeholder=\"Chercher des produits...\">
  1295.                                 </div>
  1296.                                 <div class=\"col-auto\">
  1297.                                     <button class=\"category-search-product-btn border-left-0 rounded-0 rounded-right search-btn\"
  1298.                                             type=\"button\">
  1299.                                         <i class=\"fa fa-search\" aria-hidden=\"true\"></i>
  1300.                                     </button>
  1301.                                 </div>
  1302.                             </div>
  1303.                         </div>
  1304.                         <div class=\"select-label category-search__text col-xl-2 col-lg-1 col-md-1 d-none d-xl-block  d-lg-block\">
  1305.                             <span>Trier par:</span>
  1306.                         </div>
  1307.                         <div class=\"column-select col-xl-4 col-lg-5 col-md-6 col-5 d-none d-md-block\">
  1308.                             <div class=\"select-wrapper\">
  1309.                                 <select name=\"order\" class=\"form-control form-control-lg\"
  1310.                                                      id=\"orderSelect\">
  1311.                                     <option value=\"plus\">plus pertinents
  1312.                                     </option>
  1313.                                     <option value=\"nouveaux\">nouveaux produits
  1314.                                     </option>
  1315.                                     <option value=\"bas\">prix le plus bas
  1316.                                     </option>
  1317.                                     <option value=\"haut\" selected>prix le plus haut</option>
  1318.                                     <option value=\"mieux\">mieux cotes
  1319.                                     </option>
  1320.                                     <option value=\"promotions\">promotions
  1321.                                     </option>
  1322.                                 </select>
  1323.                             </div>
  1324.                         </div>
  1325.                         #}
  1326.                         <div class=\"column-select select-category col-4 d-block d-md-none\">
  1327.                             <button type=\"button\" class=\"button category-products-filters-btn\"
  1328.                                                   id=\"mobileFilterModal\">
  1329.                                 <span>
  1330.                                     <img src=\"/assets/frontend/images/icons/filter-icon.svg\" alt=\"\">
  1331.                                 </span>
  1332.                                 <span class=\"text-button-filters\" style=\"margin-right: 0px;\">
  1333.                                     Filtres
  1334.                                 </span>
  1335.                             </button>
  1336.                         </div>
  1337.                         {#
  1338.                         <div class=\"column-select select-trier col-4 d-block d-md-none\">
  1339.                             <!--<div class=\"select-wrapper\">-->
  1340.                             <div class=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">
  1341.                                 <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" role=\"button\" aria-haspopup=\"true\" aria-expanded=\"false\">Trier<span class=\"caret\"></span></a>
  1342.                                 <ul class=\"dropdown-menu select-options pull-bottom\">
  1343.                                     <li><a data-value=\"Tout\">Tout </a></li>
  1344.                                     <li><a data-value=\"Category A\">plus pertinents</a></li>
  1345.                                     <li><a data-value=\"Category B\">nouveaux produits</a></li>
  1346.                                     <li><a data-value=\"Category B\">prix le plus bas</a></li>
  1347.                                     <li><a data-value=\"Category C\">prix le plus haut</a></li>
  1348.                                     <li><a data-value=\"Category D\">mieux cotes</a></li>
  1349.                                     <li><a data-value=\"Category E\">promotions</a></li>
  1350.                                 </ul>
  1351.                             </div>
  1352.                             <!--</div>-->
  1353.                         </div>
  1354.                         #}
  1355.                     </div>
  1356.                 </div>
  1357.                 <!--<div class=\"d-none d-xl-block  d-lg-block d-md-block col-xl-3 col-lg-3 col-md-3 col-3\"></div>-->
  1358.                 <!--<div class=\"d-none d-xl-block  d-lg-block d-md-block col-xl-3 col-lg-3 col-md-3 col-3\"></div>-->
  1359.             </div>
  1360. {% block section_category_stats %}
  1361.             <!--Category section filters-->
  1362.             <!--<div class=\"row d-none d-xl-block  d-lg-block d-md-block\">-->
  1363.             <div class=\"row\">
  1364.                 <div class=\"col-12 text-right\" id=\"checked-filters\">
  1365.                   <div class=\"category-products-result d-none d-xl-block d-lg-block d-md-block\">
  1366.                     {% if sorting is defined %}
  1367.                       {% set sort_popularity_order = \"desc\" %}
  1368.                       {% set sort_date_order = \"desc\" %}
  1369.                       {% set sort_price_order = \"desc\" %}
  1370.                       {% if sorting == \"popularity\" %}
  1371.                         {% if order == \"asc\" %}
  1372.                           {% set sort_popularity_order = \"desc\" %}
  1373.                         {% else %}
  1374.                           {% set sort_popularity_order = \"asc\" %}
  1375.                         {% endif %}
  1376.                       {% elseif sorting == \"date\" %}
  1377.                         {% if order == \"asc\" %}
  1378.                           {% set sort_date_order = \"desc\" %}
  1379.                         {% else %}
  1380.                           {% set sort_date_order = \"asc\" %}
  1381.                         {% endif %}
  1382.                       {% elseif sorting == \"price\" %}
  1383.                         {% if order == \"asc\" %}
  1384.                           {% set sort_price_order = \"desc\" %}
  1385.                         {% else %}
  1386.                           {% set sort_price_order = \"asc\" %}
  1387.                         {% endif %}
  1388.                       {% endif %}
  1389.                         {% if app.request.attributes.get('_route') == 'viewCategory' or app.request.attributes.get('_route') == 'viewOnSalesProduct' %}
  1390.                             <a href=\"{{link}}\"  style=\"{% if sorting == null %}text-decoration: underline !important;{% endif %}\">Défaut</a> |
  1391.                         {% endif %}
  1392.                       <a href=\"?sorting=popularity&order={{sort_popularity_order}}\" style=\"{% if sorting == \"popularity\" %}text-decoration: underline !important;{% endif %}\">Popularité {% if sort_popularity_order == \"asc\" %}&#8673;{% else %}&#8675;{% endif %}</a> |
  1393.                       <a href=\"?sorting=price&order={{sort_price_order}}\" style=\"{% if sorting == \"price\" %}text-decoration: underline !important;{% endif %}\">Prix {% if sort_price_order == \"asc\" %}&#8673;{% else %}&#8675;{% endif %}</a> |
  1394.                       <a href=\"?sorting=date&order={{sort_date_order}}\" style=\"{% if sorting == \"date\" %}text-decoration: underline !important;{% endif %}\">Récent {% if sort_date_order == \"asc\" %}&#8673;{% else %}&#8675;{% endif %}</a>
  1395.                     {% endif %}
  1396.                     <br> RÉSULTATS: <span id=\"amountProducts\">{{productsAmount}}</span> PRODUITS
  1397.                   </div>
  1398.                 </div>
  1399.             </div>
  1400.             <!--Category section filters-->
  1401. {% endblock %}
  1402.             <!--Category section products-->
  1403.             <div class=\"row\">
  1404.                 <div class=\"d-none category-products-filters-wrap d-xl-block  d-lg-block d-md-block col-xl-2 col-lg-2 col-md-3 pull-left\">
  1405.                     <div class=\"category-products-filters not-mobile\">
  1406.                         {% block category_filter %}
  1407.                         {% if selected.main is defined and selected.main is not empty %}
  1408.                         <a class=\"hide-mobile category-products-filters-title\" id=\"filter-show-all\" href=\"/categorie\">
  1409.                           <span style=\"color:black;font-weight:bold;\"><i
  1410.                           class=\"fa fa-angle-left\" aria-hidden=\"true\"></i></span>
  1411.                         TOUT</a>
  1412.                         {% endif %}
  1413.                         <div class=\"category-product-filter first hide-mobile\">
  1414.                             {% for category in global.menu if global.hasProducts(category) %}
  1415.                               {% if ( selected.main is defined and selected.main == category.id ) or ( selected is defined and selected.main is empty ) or ( selected is not defined ) %}
  1416.                               <div class=\"category-product-filter-hierarchy\">
  1417.                                   {# <span class=\"category-product-filter-hierarchy-back-btn\"><i
  1418.                                         class=\"fa fa-angle-left\" aria-hidden=\"true\"></i></span> #}
  1419.                                   <a data-id=\"{{category.id}}\" data-type=\"category\" class=\"category-product-filter-hierarchy-title filterItemsProduct {% if selected.main is defined and selected.main == category.id %} active selected {% endif %}\" id=\"cat_{{category.id}}\" data-url=\"{{category.getFullUrlPath}}\" href=\"/categorie{{category.getFullUrlPath}}\">{{category.name | upper }}</a>
  1420.                                   {% if selected.main is defined and selected.main == category.id %}
  1421.                                     {% for subCategory in category.categories %}
  1422.                                       <div class=\"category-product-filter-hierarchy-l2\">
  1423.                                         {% if selected.sub1 is defined and selected.sub1== subCategory.id %}
  1424.                                         <span class=\"category-product-filter-hierarchy-back-btn\"><i
  1425.                                         class=\"fa fa-angle-left\" aria-hidden=\"true\"></i></span>
  1426.                                         {% endif %}
  1427.                                         <div class=\"underline-effect-wrapper categorie-left-menu\">
  1428.                                         {% if subCategory.placement > 0 %}
  1429.                                           <a id=\"cat_{{subCategory.id}}\" data-id=\"{{subCategory.id}}\" data-type=\"category\" class=\"category-product-filter-hierarchy-title underline-effect underline-effect-black underline-effect-h1 filterItemsProduct {% if selected.sub1 is defined and selected.sub1== subCategory.id %} active selected {% endif %}\" data-url=\"{{subCategory.getFullUrlPath}}\" href=\"/categorie{{subCategory.getFullUrlPath}}\">
  1430.                                                {{subCategory.name}} <i>({{ global.getCountProduct(subCategory) }})</i>
  1431.                                               
  1432.                                               {% endif %}
  1433.                                           </a>
  1434.                                           <ul class=\"\">
  1435.                                     {% for subCat in subCategory.categories if global.hasProducts(subCat) %}
  1436.                                          {% if subCat.placement > 0 %}
  1437.                                                 <li>
  1438.                                                     <a id=\"cat_{{subCat.id}}\" data-id=\"{{subCat.id}}\" data-type=\"category\" class=\"underlineSubcategory\" data-url=\"{{subCat.getFullUrlPath}}\" href=\"/categorie{{subCat.getFullUrlPath}}\">
  1439.                                                         {{subCat.name}} <i>({{ global.getCountProduct(subCat) }})</i>
  1440.                                                     </a>
  1441.                                                 </li>
  1442.                                                 {% endif %}
  1443.                                           {% endfor %}
  1444.                                           </ul>
  1445.                                         </div>
  1446.                                       </div>
  1447.                                     {% endfor %}
  1448.                                   {% endif %}
  1449.                               </div>
  1450.                               {% endif %}
  1451.                             {% endfor %}
  1452.                         </div>
  1453.                         <div class=\"category-divider hide-mobile\"></div>
  1454.                         <div class=\"category-product-filter\">
  1455.                           <div class=\"d-md-none d-sm-block text-center\">
  1456.                             {% if sorting is defined %}
  1457.                       {% set sort_popularity_order = \"desc\" %}
  1458.                       {% set sort_date_order = \"desc\" %}
  1459.                       {% set sort_price_order = \"desc\" %}
  1460.                       {% if sorting == \"popularity\" %}
  1461.                         {% if order == \"asc\" %}
  1462.                           {% set sort_popularity_order = \"desc\" %}
  1463.                         {% else %}
  1464.                           {% set sort_popularity_order = \"asc\" %}
  1465.                         {% endif %}
  1466.                       {% elseif sorting == \"date\" %}
  1467.                         {% if order == \"asc\" %}
  1468.                           {% set sort_date_order = \"desc\" %}
  1469.                         {% else %}
  1470.                           {% set sort_date_order = \"asc\" %}
  1471.                         {% endif %}
  1472.                       {% elseif sorting == \"price\" %}
  1473.                         {% if order == \"asc\" %}
  1474.                           {% set sort_price_order = \"desc\" %}
  1475.                         {% else %}
  1476.                           {% set sort_price_order = \"asc\" %}
  1477.                         {% endif %}
  1478.                       {% endif %}
  1479.                         {% if app.request.attributes.get('_route') == 'viewCategory' %}
  1480.                             <a href=\"{{link}}\"  style=\"{% if sorting == null %}text-decoration: underline !important;{% endif %}\">Défaut</a> |
  1481.                         {% endif %}
  1482.                       <a href=\"?sorting=popularity&order={{sort_popularity_order}}\" style=\"{% if sorting == \"popularity\" %}text-decoration: underline !important;{% endif %}\">Popularité {% if sort_popularity_order == \"asc\" %}&#8673;{% else %}&#8675;{% endif %}</a> |
  1483.                       <a href=\"?sorting=price&order={{sort_price_order}}\" style=\"{% if sorting == \"price\" %}text-decoration: underline !important;{% endif %}\">Prix {% if sort_price_order == \"asc\" %}&#8673;{% else %}&#8675;{% endif %}</a> |
  1484.                       <a href=\"?sorting=date&order={{sort_date_order}}\" style=\"{% if sorting == \"date\" %}text-decoration: underline !important;{% endif %}\">Récent {% if sort_date_order == \"asc\" %}&#8673;{% else %}&#8675;{% endif %}</a>
  1485.                     {% endif %}
  1486.                         </div>
  1487.                             <div class=\"category-product-filter-title\" onclick=\"panelUnClick()\" ><i class=\"flecheUn ti-angle-right\" style=\"margin-right: 10px;\"></i><span style=\"display: inline;\">LIVRAISON</span></div>
  1488.                             <div class=\"category-product-filter-checkbox\" id=\"panelUn\" style=\"display:none;\">
  1489.                                 <div>
  1490.                                     <label class=\"checkbox\">
  1491.                                         <input id=\"shipping_maturin\" type=\"checkbox\" value=\"LivraisonMaturin\" class=\"filterItemsProduct\" data-id=\"0\" data-type=\"shipping\" {% if filters.shipping is defined and '0' in filters.shipping %}checked{% endif %}>
  1492.                                         <i></i>Maturin <img style=\"display: inline-block; margin-right: 15px;\" src=\"/images/maturinshipping.png\" alt=\"Livraison par Maturin\" title=\"Livraison par Maturin\">
  1493.                                     </label>
  1494.                                 </div>
  1495.                                 <div>
  1496.                                     <label class=\"checkbox\">
  1497.                                         <input id=\"shipping_producer\" type=\"checkbox\" value=\"LivraisonIndependante\" class=\"filterItemsProduct\" data-id=\"1\" data-type=\"shipping\" {% if filters.shipping is defined and  '1' in filters.shipping %}checked{% endif %}>
  1498.                                         <i></i>Indépendante
  1499.                                     </label>
  1500.                                 </div>
  1501.                             </div>
  1502.                         </div>
  1503.                         <div class=\"category-product-filter\">
  1504.                             <div class=\"category-product-filter-title\"  onclick=\"panelDeuxClick()\"><i class=\"flecheDeux ti-angle-right\" style=\"margin-right: 10px;\"></i><span style=\"display: inline;\">PRIX</span></div>
  1505.                             <div class=\"category-product-filter-checkbox\" id=\"panelDeux\" style=\"display:none;\">
  1506.                                 <div>
  1507.                                     <label class=\"checkbox\" style=\"color:#f0632f;\">
  1508.                                         <input id=\"price_sale\" type=\"checkbox\" name=\"checkbox\" value=\"EnSolde\" class=\"filterItemsProduct\" data-id=\"0\" data-type=\"price\" {% if filters.price is defined and '0' in filters.price %}checked{% endif %}>
  1509.                                         <i></i><strong>En Solde</strong>
  1510.                                     </label>
  1511.                                 </div>
  1512.                                 <div>
  1513.                                     <label class=\"checkbox\">
  1514.                                         <input id=\"price_10\" type=\"checkbox\" name=\"checkbox\" value=\"Moins10\" class=\"filterItemsProduct\" data-id=\"10\" data-type=\"price\" {% if filters.price is defined and '10' in filters.price %}checked{% endif %}>
  1515.                                         <i></i>Moins de 10\$
  1516.                                     </label>
  1517.                                 </div>
  1518.                                 <div>
  1519.                                     <label class=\"checkbox\">
  1520.                                         <input id=\"price_1025\" type=\"checkbox\" name=\"checkbox\" value=\"price10-25\" class=\"filterItemsProduct\" data-id=\"10-25\" data-type=\"price\" {% if filters.price is defined and '10-25' in filters.price %}checked{% endif %}>
  1521.                                         <i></i>10\$-25\$
  1522.                                     </label>
  1523.                                 </div>
  1524.                                 <div>
  1525.                                     <label class=\"checkbox\">
  1526.                                         <input id=\"price_2050\" type=\"checkbox\" name=\"checkbox\" value=\"price25-50\" class=\"filterItemsProduct\" data-id=\"25-50\" data-type=\"price\" {% if filters.price is defined and '25-50' in filters.price %}checked{% endif %}>
  1527.                                         <i></i>25\$-50\$
  1528.                                     </label>
  1529.                                 </div>
  1530.                                 <div>
  1531.                                     <label class=\"checkbox\">
  1532.                                         <input id=\"price_50\" type=\"checkbox\" name=\"checkbox\" value=\"Plus50\" class=\"filterItemsProduct\" data-id=\"50\" data-type=\"price\" {% if filters.price is defined and '50' in filters.price %}checked{% endif %}>
  1533.                                         <i></i>Plus de 50\$
  1534.                                     </label>
  1535.                                 </div>
  1536.                             </div>
  1537.                         </div>
  1538.                         <div class=\"category-product-filter\">
  1539.                             <div class=\"category-product-filter-title\" onclick=\"panelTroisClick()\"><i class=\"flecheTrois ti-angle-right\" style=\"margin-right: 10px;\"></i><span style=\"display: inline;\">CONSERVATION</span></div>
  1540.                             <div class=\"category-product-filter-checkbox\" id=\"panelTrois\" style=\"display:none;\">
  1541.                                 {% for conservation in conservations %}
  1542.                                     <div>
  1543.                                         <label class=\"checkbox\">
  1544.                                             <input id=\"conservation_{{conservation.id}}\" type=\"checkbox\" name=\"checkbox\" value=\"{{conservation.name}}\" data-id=\"{{conservation.id}}\" data-type=\"conservation\" class=\"filterItemsProduct\">
  1545.                                             <i></i>{{conservation.name}}
  1546.                                         </label>
  1547.                                     </div>
  1548.                                 {% endfor %}
  1549.                             </div>
  1550.                         </div>
  1551.                         <div class=\"category-product-filter\">
  1552.                             <div class=\"category-product-filter-title\" onclick=\"panelQuatreClick()\"><i class=\"flecheQuatre ti-angle-right\" style=\"margin-right: 10px;\"></i><span style=\"display: inline;\">CERTIFICATION</span></div>
  1553.                             <div class=\"category-product-filter-checkbox\" id=\"panelQuatre\" style=\"display:none;\">
  1554.                                     <div>
  1555.                                         <label class=\"checkbox\">
  1556.                                             <input id=\"aliment_du_quebec\" type=\"checkbox\" name=\"checkbox\" value=\"AlimentsQuebec\" data-id=\"true\" data-type=\"aliment_quebec\" class=\"filterItemsProduct\">
  1557.                                             <i></i>Aliments du Québec
  1558.                                         </label>
  1559.                                     </div>
  1560.                                     <div>
  1561.                                         <label class=\"checkbox\">
  1562.                                             <input id=\"is_prix_laureat\" type=\"checkbox\" name=\"checkbox\" value=\"PrixLaureat\" data-id=\"true\" data-type=\"prix_laureat\" class=\"filterItemsProduct\">
  1563.                                             <i></i>Prix Laureat
  1564.                                         </label>
  1565.                                     </div>
  1566.                                     <div>
  1567.                                         <label class=\"checkbox\">
  1568.                                             <input id=\"is_produit_biologique\" type=\"checkbox\" name=\"checkbox\" value=\"Biologique\" data-id=\"true\" data-type=\"produit_biologique\" class=\"filterItemsProduct\">
  1569.                                             <i></i>Porduit Bio
  1570.                                         </label>
  1571.                                     </div>
  1572.                                      <div>
  1573.                                         <label class=\"checkbox\">
  1574.                                             <input id=\"SansGluten\" type=\"checkbox\" name=\"checkbox\" value=\"Sans_Gluten\" data-type=\"certification\" class=\"filterItemsProduct\">
  1575.                                             <i></i>Sans Gluten
  1576.                                         </label>
  1577.                                     </div>
  1578.                                      <div>
  1579.                                         <label class=\"checkbox\">
  1580.                                             <input id=\"Vegane\" type=\"checkbox\" name=\"checkbox\" value=\"Vegane\" data-type=\"certification\" class=\"filterItemsProduct\">
  1581.                                             <i></i>Végane
  1582.                                         </label>
  1583.                                     </div>
  1584.                                      <div>
  1585.                                         <label class=\"checkbox\">
  1586.                                             <input id=\"Paleo\" type=\"checkbox\" name=\"checkbox\" value=\"Paleo\" data-type=\"certification\" class=\"filterItemsProduct\">
  1587.                                             <i></i>Paléo
  1588.                                         </label>
  1589.                                     </div>
  1590.                                     <div>
  1591.                                         <label class=\"checkbox\">
  1592.                                             <input id=\"SansLactose\" type=\"checkbox\" name=\"checkbox\" value=\"Sans_Lactose\" data-type=\"certification\" class=\"filterItemsProduct\">
  1593.                                             <i></i>Sans Lactose
  1594.                                         </label>
  1595.                                     </div>
  1596.                                     <div>
  1597.                                         <label class=\"checkbox\">
  1598.                                             <input id=\"SansNoix\" type=\"checkbox\" name=\"checkbox\" value=\"Sans_Noix\" data-type=\"certification\" class=\"filterItemsProduct\">
  1599.                                             <i></i>Sans noix
  1600.                                         </label>
  1601.                                     </div>
  1602.                                     </div>
  1603.                         </div>
  1604.                         <div class=\"category-product-filter\">
  1605.                             <div class=\"category-product-filter-title\" onclick=\"panelCinqClick()\"><i class=\"flecheCinq ti-angle-right\" style=\"margin-right: 10px;\"></i><span style=\"display: inline;\">RÉGION</span></div>
  1606.                             <div class=\"category-product-filter-checkbox\" id=\"panelCinq\" style=\"display:none;\">
  1607.                                 {% for region in regions %}
  1608.                                     {% if region.name != \"defaut\" %}
  1609.                                         <div>
  1610.                                             <label class=\"checkbox\">
  1611.                                                 <input id=\"region_{{region.id}}\" type=\"checkbox\" name=\"checkbox\" value=\"region_{{region.name}}\" data-id=\"{{region.id}}\" class=\"filterItemsProduct\" data-type=\"region\">
  1612.                                                     <i></i>{{region.name}}
  1613.                                             </label>
  1614.                                         </div>
  1615.                                     {% endif %}
  1616.                                 {% endfor %}
  1617.                             </div>
  1618.                         </div>
  1619.                         {% endblock %}
  1620.                     </div>
  1621.                 </div>
  1622.                 <div class=\"col-xl-10 col-lg-10 col-md-9 col-sm-12 col-12 products-wrap\" id=\"listingProducts\">
  1623.                     {% block section_masonry_products %}
  1624.                         <div class=\"endless_container\" id=\"endless_container\">
  1625.                             <article  class=\"endless_page\" style=\"\">
  1626.                                 {{ include ('frontend/productMasonry.html.twig', {'masonryProducts': products} ) }}
  1627.                             </article>
  1628.                         </div>
  1629.                         <div class=\"\" id=\"product-loader\" style=\"display: none; width: 100%; height: 100px; position: relative !important; background: url(/images/loading.gif)    center no-repeat #fff;\"></div>
  1630.                         <script>
  1631.                             var supportsTouch = 'ontouchstart' in window || navigator.msMaxTouchPoints;
  1632.                             if(supportsTouch){
  1633.                                 var elems = document.querySelectorAll(\".button-touch\");
  1634.                                 [].forEach.call(elems, function(el) {
  1635.                                     el.classList.remove(\"d-none\");
  1636.                                 });
  1637.                             }
  1638.                         </script>
  1639.                         {# {{ dump(app.request.attributes.get('_route'))}} #}
  1640.                         {% if app.request.attributes.get('_route') == 'viewCategory' %}
  1641.                         {% if products.getPaginationData.current == products.getPaginationData.last %}
  1642.                                 <div id=\"paginatorDefaultLast\" class=\"infinite-scroll-last\">{{ knp_pagination_render(products) }}</div>
  1643.                         {% endif %}
  1644.                         {% endif %}
  1645.                     {% endblock %}
  1646.                     {% if suggestionProducts is defined %}
  1647.                       {% if suggestionProducts %}
  1648.                         <div class=\"section-title section-title-line m-t-10\">Des produits à découvrir!</div>
  1649.                         {{ include ('frontend/productMasonry.html.twig', {'masonryProducts': suggestionProducts} ) }}
  1650.                       {% endif %}
  1651.                     {% endif %}
  1652.                     </div>
  1653.                 </div>
  1654.             <!--Category section products-->
  1655.         </section>
  1656.             </div>
  1657.             <script>
  1658.                 function panelUnClick() {
  1659.                  var x = document.getElementById(\"panelUn\");
  1660.                     if (x.style.display === \"none\") {
  1661.                         x.style.display = \"block\";
  1662.                         \$( \".flecheUn\" ).removeClass( \"ti-angle-right\" ).addClass( \"ti-angle-down\" );
  1663.                     } else {
  1664.                         x.style.display = \"none\";
  1665.                         \$( \".flecheUn\" ).removeClass( \"ti-angle-down\" ).addClass( \"ti-angle-right\" );
  1666.                     }
  1667.                 }
  1668.             </script>
  1669.              <script>
  1670.                 function panelDeuxClick() {
  1671.                  var x = document.getElementById(\"panelDeux\");
  1672.                      if (x.style.display === \"none\") {
  1673.                         x.style.display = \"block\";
  1674.                         \$( \".flecheDeux\" ).removeClass( \"ti-angle-right\" ).addClass( \"ti-angle-down\" );
  1675.                     } else {
  1676.                         x.style.display = \"none\";
  1677.                         \$( \".flecheDeux\" ).removeClass( \"ti-angle-down\" ).addClass( \"ti-angle-right\" );
  1678.                     }
  1679.                 }
  1680.             </script>
  1681.              <script>
  1682.                 function panelTroisClick() {
  1683.                  var x = document.getElementById(\"panelTrois\");
  1684.                      if (x.style.display === \"none\") {
  1685.                         x.style.display = \"block\";
  1686.                         \$( \".flecheTrois\" ).removeClass( \"ti-angle-right\" ).addClass( \"ti-angle-down\" );
  1687.                     } else {
  1688.                         x.style.display = \"none\";
  1689.                         \$( \".flecheTrois\" ).removeClass( \"ti-angle-down\" ).addClass( \"ti-angle-right\" );
  1690.                     }
  1691.                 }
  1692.             </script>
  1693.              <script>
  1694.                  function panelQuatreClick() {
  1695.                  var x = document.getElementById(\"panelQuatre\");
  1696.                       if (x.style.display === \"none\") {
  1697.                         x.style.display = \"block\";
  1698.                         \$( \".flecheQuatre\" ).removeClass( \"ti-angle-right\" ).addClass( \"ti-angle-down\" );
  1699.                     } else {
  1700.                         x.style.display = \"none\";
  1701.                         \$( \".flecheQuatre\" ).removeClass( \"ti-angle-down\" ).addClass( \"ti-angle-right\" );
  1702.                     }
  1703.                 }
  1704.             </script>
  1705.              <script>
  1706.                   function panelCinqClick() {
  1707.                  var x = document.getElementById(\"panelCinq\");
  1708.                      if (x.style.display === \"none\") {
  1709.                         x.style.display = \"block\";
  1710.                         \$( \".flecheCinq\" ).removeClass( \"ti-angle-right\" ).addClass( \"ti-angle-down\" );
  1711.                     } else {
  1712.                         x.style.display = \"none\";
  1713.                         \$( \".flecheCinq\" ).removeClass( \"ti-angle-down\" ).addClass( \"ti-angle-right\" );
  1714.                     }
  1715.                 }
  1716.             </script>
  1717.             <script>
  1718.             </script>
  1719. {% endblock %}
  1720. ""frontend/category.html.twig""/var/www/html/Markego/templates/frontend/category.html.twig");
  1721.     }
  1722. }