var/cache/dev/twig/aa/aa318ba90a9ea25f11b90f5763ddf6a1.php line 51

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. /* main/default/urun_gruplari.html.twig */
  14. class __TwigTemplate_7774e6fbcc07e28e9cd69bb6b46dcb37 extends 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.             'title' => [$this'block_title'],
  24.             'description' => [$this'block_description'],
  25.             'content' => [$this'block_content'],
  26.             'body_js' => [$this'block_body_js'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "main_base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""main/default/urun_gruplari.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""main/default/urun_gruplari.html.twig"));
  41.         $this->parent $this->loadTemplate("main_base.html.twig""main/default/urun_gruplari.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 2
  49.     public function block_title($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  56.         // line 3
  57.         echo "    ";
  58.         if (((twig_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.'3$this->source); })()), "request", [], "any"falsefalsefalse3), "get", [=> "link"], "method"falsefalsefalse3) == "") && (twig_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.'3$this->source); })()), "request", [], "any"falsefalsefalse3), "get", [=> "link2"], "method"falsefalsefalse3) == ""))) {
  59.             // line 4
  60.             echo "        ";
  61.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("anasayfa.urungruplarikucuk"), "html"nulltrue);
  62.             echo "
  63.     ";
  64.         } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 5
  65. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'5$this->source); })()), "request", [], "any"falsefalsefalse5), "get", [=> "link2"], "method"falsefalsefalse5) != "")) {
  66.             // line 6
  67.             echo "        ";
  68.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["urunGruplariDil"]) || array_key_exists("urunGruplariDil"$context) ? $context["urunGruplariDil"] : (function () { throw new RuntimeError('Variable "urunGruplariDil" does not exist.'6$this->source); })()), "baslik", [], "any"falsefalsefalse6), "html"nulltrue);
  69.             echo "
  70.     ";
  71.         } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 7
  72. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'7$this->source); })()), "request", [], "any"falsefalsefalse7), "get", [=> "link"], "method"falsefalsefalse7) != "")) {
  73.             // line 8
  74.             echo "        ";
  75.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["urunKategorileriDil"]) || array_key_exists("urunKategorileriDil"$context) ? $context["urunKategorileriDil"] : (function () { throw new RuntimeError('Variable "urunKategorileriDil" does not exist.'8$this->source); })()), "baslik", [], "any"falsefalsefalse8), "html"nulltrue);
  76.             echo "
  77.     ";
  78.         }
  79.         
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  81.         
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  83.     }
  84.     // line 11
  85.     public function block_description($context, array $blocks = [])
  86.     {
  87.         $macros $this->macros;
  88.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  89.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  90.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  91.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""description"));
  92.         // line 12
  93.         echo "    ";
  94.         if (((twig_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.'12$this->source); })()), "request", [], "any"falsefalsefalse12), "get", [=> "link"], "method"falsefalsefalse12) == "") && (twig_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.'12$this->source); })()), "request", [], "any"falsefalsefalse12), "get", [=> "link2"], "method"falsefalsefalse12) == ""))) {
  95.             // line 13
  96.             echo "        ";
  97.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("anasayfa.urungruplarikucuk"), "html"nulltrue);
  98.             echo "
  99.     ";
  100.         } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 14
  101. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'14$this->source); })()), "request", [], "any"falsefalsefalse14), "get", [=> "link2"], "method"falsefalsefalse14) != "")) {
  102.             // line 15
  103.             echo "        ";
  104.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["urunGruplariDil"]) || array_key_exists("urunGruplariDil"$context) ? $context["urunGruplariDil"] : (function () { throw new RuntimeError('Variable "urunGruplariDil" does not exist.'15$this->source); })()), "baslik", [], "any"falsefalsefalse15), "html"nulltrue);
  105.             echo "
  106.     ";
  107.         } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 16
  108. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'16$this->source); })()), "request", [], "any"falsefalsefalse16), "get", [=> "link"], "method"falsefalsefalse16) != "")) {
  109.             // line 17
  110.             echo "        ";
  111.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["urunKategorileriDil"]) || array_key_exists("urunKategorileriDil"$context) ? $context["urunKategorileriDil"] : (function () { throw new RuntimeError('Variable "urunKategorileriDil" does not exist.'17$this->source); })()), "baslik", [], "any"falsefalsefalse17), "html"nulltrue);
  112.             echo "
  113.     ";
  114.         }
  115.         
  116.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  117.         
  118.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  119.     }
  120.     // line 20
  121.     public function block_content($context, array $blocks = [])
  122.     {
  123.         $macros $this->macros;
  124.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  125.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  126.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  127.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  128.         // line 21
  129.         echo "    <style>
  130.         .navbar__section-links__wrapper :not(.PRODUCTS) {
  131.             opacity: 0.4 !important;
  132.         }
  133.         .navbar__section-logo__wrapper-img {
  134.             filter: brightness(0) invert(1) !important;
  135.         }
  136.         .navbar__section::before {
  137.             content: \"\";
  138.             position: absolute;
  139.             top: 0;
  140.             right: 0;
  141.             left: 0;
  142.             bottom: 0;
  143.             background: rgba(0, 0, 0, 0.4);
  144.             z-index: -1;
  145.         }
  146.         .navbar__section::after {
  147.             content: \"\";
  148.             background-image: url(\"../../../public/assets/main/images/navbar/navbar-bg-products.jpg\");
  149.             background-position: center;
  150.             background-size: cover;
  151.             position: absolute;
  152.             top: 0;
  153.             right: 0;
  154.             left: 0;
  155.             bottom: 0;
  156.             z-index: -2;
  157.         }
  158.     </style>
  159.     <style>
  160.         ";
  161.         // line 62
  162.         echo "        ";
  163.         // line 63
  164.         echo "        ";
  165.         // line 64
  166.         echo "        ";
  167.         // line 65
  168.         echo "        ";
  169.         // line 66
  170.         echo "        ";
  171.         // line 67
  172.         echo "        ";
  173.         // line 68
  174.         echo "        ";
  175.         // line 69
  176.         echo "        ";
  177.         // line 70
  178.         echo "        ";
  179.         // line 71
  180.         echo "        ";
  181.         // line 72
  182.         echo "        ";
  183.         // line 73
  184.         echo "        ";
  185.         // line 74
  186.         echo "
  187.         ";
  188.         // line 76
  189.         echo "        ";
  190.         // line 77
  191.         echo "        ";
  192.         // line 78
  193.         echo "        ";
  194.         // line 79
  195.         echo "        ";
  196.         // line 80
  197.         echo "        ";
  198.         // line 81
  199.         echo "        ";
  200.         // line 82
  201.         echo "        ";
  202.         // line 83
  203.         echo "        ";
  204.         // line 84
  205.         echo "        ";
  206.         // line 85
  207.         echo "        ";
  208.         // line 86
  209.         echo "        ";
  210.         // line 87
  211.         echo "        ";
  212.         // line 88
  213.         echo "        ";
  214.         // line 89
  215.         echo "
  216.         ";
  217.         // line 91
  218.         echo "        ";
  219.         // line 92
  220.         echo "        ";
  221.         // line 93
  222.         echo "        ";
  223.         // line 94
  224.         echo "        ";
  225.         // line 95
  226.         echo "        ";
  227.         // line 96
  228.         echo "        ";
  229.         // line 97
  230.         echo "        ";
  231.         // line 98
  232.         echo "        ";
  233.         // line 99
  234.         echo "        ";
  235.         // line 100
  236.         echo "        ";
  237.         // line 101
  238.         echo "        ";
  239.         // line 102
  240.         echo "        ";
  241.         // line 103
  242.         echo "        ";
  243.         // line 104
  244.         echo "        ";
  245.         // line 105
  246.         echo "        ";
  247.         // line 106
  248.         echo "        ";
  249.         // line 107
  250.         echo "        ";
  251.         // line 108
  252.         echo "        ";
  253.         // line 109
  254.         echo "        ";
  255.         // line 110
  256.         echo "        ";
  257.         // line 111
  258.         echo "        ";
  259.         // line 112
  260.         echo "        ";
  261.         // line 113
  262.         echo "        ";
  263.         // line 114
  264.         echo "        ";
  265.         // line 115
  266.         echo "        ";
  267.         // line 116
  268.         echo "        ";
  269.         // line 117
  270.         echo "        ";
  271.         // line 118
  272.         echo "        ";
  273.         // line 119
  274.         echo "        ";
  275.         // line 120
  276.         echo "        ";
  277.         // line 121
  278.         echo "        ";
  279.         // line 122
  280.         echo "        ";
  281.         // line 123
  282.         echo "        ";
  283.         // line 124
  284.         echo "        ";
  285.         // line 125
  286.         echo "        ";
  287.         // line 126
  288.         echo "        ";
  289.         // line 127
  290.         echo "        ";
  291.         // line 128
  292.         echo "        ";
  293.         // line 129
  294.         echo "        ";
  295.         // line 130
  296.         echo "        ";
  297.         // line 131
  298.         echo "        ";
  299.         // line 132
  300.         echo "        ";
  301.         // line 133
  302.         echo "        ";
  303.         // line 134
  304.         echo "        ";
  305.         // line 135
  306.         echo "        ";
  307.         // line 136
  308.         echo "        ";
  309.         // line 137
  310.         echo "        ";
  311.         // line 138
  312.         echo "        ";
  313.         // line 139
  314.         echo "        ";
  315.         // line 140
  316.         echo "        ";
  317.         // line 141
  318.         echo "        ";
  319.         // line 142
  320.         echo "        ";
  321.         // line 143
  322.         echo "        ";
  323.         // line 144
  324.         echo "        ";
  325.         // line 145
  326.         echo "        ";
  327.         // line 146
  328.         echo "        ";
  329.         // line 147
  330.         echo "        ";
  331.         // line 148
  332.         echo "
  333.         ";
  334.         // line 150
  335.         echo "        ";
  336.         // line 151
  337.         echo "        ";
  338.         // line 152
  339.         echo "        ";
  340.         // line 153
  341.         echo "        ";
  342.         // line 154
  343.         echo "        ";
  344.         // line 155
  345.         echo "        ";
  346.         // line 156
  347.         echo "        ";
  348.         // line 157
  349.         echo "        ";
  350.         // line 158
  351.         echo "        ";
  352.         // line 159
  353.         echo "        ";
  354.         // line 160
  355.         echo "        ";
  356.         // line 161
  357.         echo "        ";
  358.         // line 162
  359.         echo "        ";
  360.         // line 163
  361.         echo "        ";
  362.         // line 164
  363.         echo "        ";
  364.         // line 165
  365.         echo "        ";
  366.         // line 166
  367.         echo "        ";
  368.         // line 167
  369.         echo "        ";
  370.         // line 168
  371.         echo "        ";
  372.         // line 169
  373.         echo "        ";
  374.         // line 170
  375.         echo "        ";
  376.         // line 171
  377.         echo "        ";
  378.         echo "</style>
  379.     <div id=\"products\">
  380.         ";
  381.         // line 173
  382.         $this->loadTemplate("main/default/loader.html.twig""main/default/urun_gruplari.html.twig"173)->display($context);
  383.         // line 174
  384.         echo "        ";
  385.         $this->loadTemplate("main/default/cookie.html.twig""main/default/urun_gruplari.html.twig"174)->display($context);
  386.         // line 175
  387.         echo "        <div class=\"main-container\">
  388.             <div class=\"products__section\">
  389.                 <div class=\"products__section-active__page\">
  390.                     <p><a href=\"https://technoone.net/elefante/\">Elefante </a> / <a class=\"active\"
  391.                                                                                     href=\"https://technoone.net/elefante/products\">Products</a>
  392.                     </p>
  393.                 </div>
  394.                 <div class=\"products__section-description\">
  395.                     ";
  396.         // line 186
  397.         $context['_parent'] = $context;
  398.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["sayfa"]) || array_key_exists("sayfa"$context) ? $context["sayfa"] : (function () { throw new RuntimeError('Variable "sayfa" does not exist.'186$this->source); })()), 0, [], "array"falsefalsefalse186), "sayfabaslikDilleri", [], "any"falsefalsefalse186));
  399.         foreach ($context['_seq'] as $context["_key"] => $context["urunsayfasi"]) {
  400.             // line 187
  401.             echo "
  402.                         <h2>";
  403.             // line 188
  404.             echo twig_get_attribute($this->env$this->source$context["urunsayfasi"], "baslik", [], "any"falsefalsefalse188);
  405.             echo "</h2>
  406.                         <p>";
  407.             // line 189
  408.             echo twig_get_attribute($this->env$this->source$context["urunsayfasi"], "title", [], "any"falsefalsefalse189);
  409.             echo "</p>
  410.                     ";
  411.         }
  412.         $_parent $context['_parent'];
  413.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['urunsayfasi'], $context['_parent'], $context['loop']);
  414.         $context array_intersect_key($context$_parent) + $_parent;
  415.         // line 192
  416.         echo "                </div>
  417.                 <div class=\"products__section-navbar__products\">
  418.                     <div class=\"products__section-navbar__products-navbar\">
  419.                         <ul class=\"controls\">
  420.                             <button class=\"filter-1 active All\" onclick=\"kategoryClicked(this)\" data-filter=\"all\">ALL
  421.                             </button>
  422.                             ";
  423.         // line 200
  424.         $context['_parent'] = $context;
  425.         $context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->envtwig_array_filter($this->env, (isset($context["urunkategorileri"]) || array_key_exists("urunkategorileri"$context) ? $context["urunkategorileri"] : (function () { throw new RuntimeError('Variable "urunkategorileri" does not exist.'200$this->source); })()), function ($__r__) use ($context$macros) { $context["r"] = $__r__; return (twig_get_attribute($this->env$this->source, (isset($context["r"]) || array_key_exists("r"$context) ? $context["r"] : (function () { throw new RuntimeError('Variable "r" does not exist.'200$this->source); })()), "del", [], "any"falsefalsefalse200) == 0); }), function ($__a__$__b__) use ($context$macros) { $context["a"] = $__a__$context["b"] = $__b__; return (twig_get_attribute($this->env$this->source, (isset($context["a"]) || array_key_exists("a"$context) ? $context["a"] : (function () { throw new RuntimeError('Variable "a" does not exist.'200$this->source); })()), "sira", [], "any"falsefalsefalse200) > twig_get_attribute($this->env$this->source, (isset($context["b"]) || array_key_exists("b"$context) ? $context["b"] : (function () { throw new RuntimeError('Variable "b" does not exist.'200$this->source); })()), "sira", [], "any"falsefalsefalse200)); }));
  426.         foreach ($context['_seq'] as $context["_key"] => $context["kategori"]) {
  427.             // line 201
  428.             echo "                                ";
  429.             $context['_parent'] = $context;
  430.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["kategori"], "diller", [], "any"falsefalsefalse201));
  431.             foreach ($context['_seq'] as $context["_key"] => $context["kategoriler"]) {
  432.                 // line 202
  433.                 echo "                                    <button class=\"filter-1\" onclick=\"kategoryClicked(this)\"
  434.                                             data-filter=\".";
  435.                 // line 203
  436.                 echo twig_escape_filter($this->envtwig_replace_filter(twig_upper_filter($this->envtwig_get_attribute($this->env$this->source$context["kategoriler"], "baslik", [], "any"falsefalsefalse203)), ["½" => "-""/" => "-""%" => "-""&" => "-"" " => "-""/W+/" => "-"]), "html"nulltrue);
  437.                 echo "\">
  438.                                         ";
  439.                 // line 204
  440.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["kategoriler"], "baslik", [], "any"falsefalsefalse204), "html"nulltrue);
  441.                 echo "
  442.                                     </button>
  443.                                 ";
  444.             }
  445.             $_parent $context['_parent'];
  446.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['kategoriler'], $context['_parent'], $context['loop']);
  447.             $context array_intersect_key($context$_parent) + $_parent;
  448.             // line 207
  449.             echo "                            ";
  450.         }
  451.         $_parent $context['_parent'];
  452.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['kategori'], $context['_parent'], $context['loop']);
  453.         $context array_intersect_key($context$_parent) + $_parent;
  454.         // line 208
  455.         echo "                        </ul>
  456.                     </div>
  457.                     <div class=\"products__section-navbar__products-products container\" id=\"MixItUp1\">
  458.                         ";
  459.         // line 211
  460.         $context['_parent'] = $context;
  461.         $context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->envtwig_array_filter($this->env, (isset($context["urunkategorileri"]) || array_key_exists("urunkategorileri"$context) ? $context["urunkategorileri"] : (function () { throw new RuntimeError('Variable "urunkategorileri" does not exist.'211$this->source); })()), function ($__r__) use ($context$macros) { $context["r"] = $__r__; return (twig_get_attribute($this->env$this->source, (isset($context["r"]) || array_key_exists("r"$context) ? $context["r"] : (function () { throw new RuntimeError('Variable "r" does not exist.'211$this->source); })()), "del", [], "any"falsefalsefalse211) == 0); }), function ($__a__$__b__) use ($context$macros) { $context["a"] = $__a__$context["b"] = $__b__; return (twig_get_attribute($this->env$this->source, (isset($context["a"]) || array_key_exists("a"$context) ? $context["a"] : (function () { throw new RuntimeError('Variable "a" does not exist.'211$this->source); })()), "sira", [], "any"falsefalsefalse211) > twig_get_attribute($this->env$this->source, (isset($context["b"]) || array_key_exists("b"$context) ? $context["b"] : (function () { throw new RuntimeError('Variable "b" does not exist.'211$this->source); })()), "sira", [], "any"falsefalsefalse211)); }));
  462.         foreach ($context['_seq'] as $context["_key"] => $context["kategori"]) {
  463.             // line 212
  464.             echo "                            ";
  465.             $context['_parent'] = $context;
  466.             $context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->envtwig_array_filter($this->envtwig_get_attribute($this->env$this->source$context["kategori"], "diller", [], "any"falsefalsefalse212), function ($__r__) use ($context$macros) { $context["r"] = $__r__; return (twig_get_attribute($this->env$this->source, (isset($context["r"]) || array_key_exists("r"$context) ? $context["r"] : (function () { throw new RuntimeError('Variable "r" does not exist.'212$this->source); })()), "del", [], "any"falsefalsefalse212) == 0); }), function ($__a__$__b__) use ($context$macros) { $context["a"] = $__a__$context["b"] = $__b__; return (twig_get_attribute($this->env$this->source, (isset($context["a"]) || array_key_exists("a"$context) ? $context["a"] : (function () { throw new RuntimeError('Variable "a" does not exist.'212$this->source); })()), "sira", [], "any"falsefalsefalse212) > twig_get_attribute($this->env$this->source, (isset($context["b"]) || array_key_exists("b"$context) ? $context["b"] : (function () { throw new RuntimeError('Variable "b" does not exist.'212$this->source); })()), "sira", [], "any"falsefalsefalse212)); }));
  467.             foreach ($context['_seq'] as $context["_key"] => $context["kategoriDil"]) {
  468.                 // line 213
  469.                 echo "                                ";
  470.                 $context['_parent'] = $context;
  471.                 $context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->envtwig_array_filter($this->envtwig_get_attribute($this->env$this->source$context["kategori"], "gruplar", [], "any"falsefalsefalse213), function ($__r__) use ($context$macros) { $context["r"] = $__r__; return (twig_get_attribute($this->env$this->source, (isset($context["r"]) || array_key_exists("r"$context) ? $context["r"] : (function () { throw new RuntimeError('Variable "r" does not exist.'213$this->source); })()), "del", [], "any"falsefalsefalse213) == 0); }), function ($__a__$__b__) use ($context$macros) { $context["a"] = $__a__$context["b"] = $__b__; return (twig_get_attribute($this->env$this->source, (isset($context["a"]) || array_key_exists("a"$context) ? $context["a"] : (function () { throw new RuntimeError('Variable "a" does not exist.'213$this->source); })()), "sira", [], "any"falsefalsefalse213) > twig_get_attribute($this->env$this->source, (isset($context["b"]) || array_key_exists("b"$context) ? $context["b"] : (function () { throw new RuntimeError('Variable "b" does not exist.'213$this->source); })()), "sira", [], "any"falsefalsefalse213)); }));
  472.                 foreach ($context['_seq'] as $context["_key"] => $context["grup"]) {
  473.                     // line 214
  474.                     echo "                                    ";
  475.                     $context['_parent'] = $context;
  476.                     $context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->envtwig_array_filter($this->envtwig_get_attribute($this->env$this->source$context["grup"], "urunler", [], "any"falsefalsefalse214), function ($__r__) use ($context$macros) { $context["r"] = $__r__; return (twig_get_attribute($this->env$this->source, (isset($context["r"]) || array_key_exists("r"$context) ? $context["r"] : (function () { throw new RuntimeError('Variable "r" does not exist.'214$this->source); })()), "del", [], "any"falsefalsefalse214) == 0); }), function ($__a__$__b__) use ($context$macros) { $context["a"] = $__a__$context["b"] = $__b__; return (twig_get_attribute($this->env$this->source, (isset($context["a"]) || array_key_exists("a"$context) ? $context["a"] : (function () { throw new RuntimeError('Variable "a" does not exist.'214$this->source); })()), "sira", [], "any"falsefalsefalse214) > twig_get_attribute($this->env$this->source, (isset($context["b"]) || array_key_exists("b"$context) ? $context["b"] : (function () { throw new RuntimeError('Variable "b" does not exist.'214$this->source); })()), "sira", [], "any"falsefalsefalse214)); }));
  477.                     foreach ($context['_seq'] as $context["_key"] => $context["urunler"]) {
  478.                         // line 215
  479.                         echo "                                        ";
  480.                         $context['_parent'] = $context;
  481.                         $context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->envtwig_array_filter($this->envtwig_get_attribute($this->env$this->source$context["urunler"], "diller", [], "any"falsefalsefalse215), function ($__r__) use ($context$macros) { $context["r"] = $__r__; return (twig_get_attribute($this->env$this->source, (isset($context["r"]) || array_key_exists("r"$context) ? $context["r"] : (function () { throw new RuntimeError('Variable "r" does not exist.'215$this->source); })()), "del", [], "any"falsefalsefalse215) == 0); }), function ($__a__$__b__) use ($context$macros) { $context["a"] = $__a__$context["b"] = $__b__; return (twig_get_attribute($this->env$this->source, (isset($context["a"]) || array_key_exists("a"$context) ? $context["a"] : (function () { throw new RuntimeError('Variable "a" does not exist.'215$this->source); })()), "sira", [], "any"falsefalsefalse215) > twig_get_attribute($this->env$this->source, (isset($context["b"]) || array_key_exists("b"$context) ? $context["b"] : (function () { throw new RuntimeError('Variable "b" does not exist.'215$this->source); })()), "sira", [], "any"falsefalsefalse215)); }));
  482.                         foreach ($context['_seq'] as $context["_key"] => $context["urunlerDil"]) {
  483.                             // line 216
  484.                             echo "                                            <div class=\"products__section-navbar__products-products-product mix ";
  485.                             echo twig_escape_filter($this->envtwig_replace_filter(twig_upper_filter($this->envtwig_get_attribute($this->env$this->source$context["kategoriDil"], "baslik", [], "any"falsefalsefalse216)), ["½" => "-""%" => "-""&" => "-"" " => "-""/W+/" => "-"]), "html"nulltrue);
  486.                             echo "\">
  487.                                                 <div class=\"products__section-navbar__products-products-product-img__wrapper\">
  488.                                                     ";
  489.                             // line 218
  490.                             $context['_parent'] = $context;
  491.                             $context['_seq'] = twig_ensure_traversable(twig_slice($this->envtwig_sort_filter($this->envtwig_array_filter($this->envtwig_get_attribute($this->env$this->source$context["urunler"], "resimler", [], "any"falsefalsefalse218), function ($__r__) use ($context$macros) { $context["r"] = $__r__; return (twig_get_attribute($this->env$this->source, (isset($context["r"]) || array_key_exists("r"$context) ? $context["r"] : (function () { throw new RuntimeError('Variable "r" does not exist.'218$this->source); })()), "del", [], "any"falsefalsefalse218) == 0); }), function ($__a__$__b__) use ($context$macros) { $context["a"] = $__a__$context["b"] = $__b__; return (twig_get_attribute($this->env$this->source, (isset($context["a"]) || array_key_exists("a"$context) ? $context["a"] : (function () { throw new RuntimeError('Variable "a" does not exist.'218$this->source); })()), "sira", [], "any"falsefalsefalse218) > twig_get_attribute($this->env$this->source, (isset($context["b"]) || array_key_exists("b"$context) ? $context["b"] : (function () { throw new RuntimeError('Variable "b" does not exist.'218$this->source); })()), "sira", [], "any"falsefalsefalse218)); }), 02));
  492.                             foreach ($context['_seq'] as $context["_key"] => $context["resim"]) {
  493.                                 // line 219
  494.                                 echo "                                                        <img src=\"";
  495.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/urungruplari/urunler/" twig_get_attribute($this->env$this->source$context["resim"], "resim", [], "any"falsefalsefalse219))), "html"nulltrue);
  496.                                 echo "\"
  497.                                                              alt=\"product-img\">
  498.                                                     ";
  499.                             }
  500.                             $_parent $context['_parent'];
  501.                             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['resim'], $context['_parent'], $context['loop']);
  502.                             $context array_intersect_key($context$_parent) + $_parent;
  503.                             // line 222
  504.                             echo "                                                    <div class=\"products__section-navbar__products-products-product-mousetracker\">
  505.                                                         <div class=\"products__section-navbar__products-products-product-mousetracker-x\"></div>
  506.                                                         <div class=\"products__section-navbar__products-products-product-mousetracker-y\"></div>
  507.                                                     </div>
  508.                                                     <template class=\"template\">
  509.                                                         ";
  510.                             // line 227
  511.                             $context['_parent'] = $context;
  512.                             $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->envtwig_get_attribute($this->env$this->source$context["urunler"], "resimler", [], "any"falsefalsefalse227), function ($__r__) use ($context$macros) { $context["r"] = $__r__; return (twig_get_attribute($this->env$this->source, (isset($context["r"]) || array_key_exists("r"$context) ? $context["r"] : (function () { throw new RuntimeError('Variable "r" does not exist.'227$this->source); })()), "del", [], "any"falsefalsefalse227) == 0); }));
  513.                             foreach ($context['_seq'] as $context["_key"] => $context["resim"]) {
  514.                                 // line 228
  515.                                 echo "                                                            <img class=\"imgs\"
  516.                                                                  src=\"";
  517.                                 // line 229
  518.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/urungruplari/urunler/" twig_get_attribute($this->env$this->source$context["resim"], "resim", [], "any"falsefalsefalse229))), "html"nulltrue);
  519.                                 echo "\"
  520.                                                                  alt=\"product__img\">
  521.                                                         ";
  522.                             }
  523.                             $_parent $context['_parent'];
  524.                             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['resim'], $context['_parent'], $context['loop']);
  525.                             $context array_intersect_key($context$_parent) + $_parent;
  526.                             // line 232
  527.                             echo "                                                        <h4 class=\"mini__title\">";
  528.                             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["urunlerDil"], "baslik2", [], "any"truetruefalse232)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["urunlerDil"], "baslik2", [], "any"falsefalsefalse232))) : ("")), "html"nulltrue);
  529.                             echo "</h4>
  530.                                                         <h3 class=\"title\">";
  531.                             // line 233
  532.                             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["urunlerDil"], "baslik2", [], "any"truetruefalse233)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["urunlerDil"], "baslik2", [], "any"falsefalsefalse233))) : ("")), "html"nulltrue);
  533.                             echo "</h3>
  534.                                                         <span class=\"size\">";
  535.                             // line 234
  536.                             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["urunlerDil"], "boyut", [], "any"truetruefalse234)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["urunlerDil"], "boyut", [], "any"falsefalsefalse234))) : ("")), "html"nulltrue);
  537.                             echo "</span>
  538.                                                         <span class=\"weight\">";
  539.                             // line 235
  540.                             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["urunlerDil"], "agirlik", [], "any"truetruefalse235)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["urunlerDil"], "agirlik", [], "any"falsefalsefalse235))) : ("")), "html"nulltrue);
  541.                             echo "</span>
  542.                                                         <span class=\"metin\">";
  543.                             // line 236
  544.                             echo ((twig_get_attribute($this->env$this->source$context["urunlerDil"], "metin", [], "any"truetruefalse236)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["urunlerDil"], "metin", [], "any"falsefalsefalse236))) : (""));
  545.                             echo "</span>
  546.                                                         <span class=\"material\">";
  547.                             // line 237
  548.                             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["urunlerDil"], "materyal", [], "any"truetruefalse237)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["urunlerDil"], "materyal", [], "any"falsefalsefalse237))) : ("")), "html"nulltrue);
  549.                             echo "</span>
  550.                                                         <span class=\"colorname1\">";
  551.                             // line 238
  552.                             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkAd1", [], "any"truetruefalse238)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkAd1", [], "any"falsefalsefalse238))) : ("")), "html"nulltrue);
  553.                             echo "</span>
  554.                                                         <span class=\"colorkod1\">";
  555.                             // line 239
  556.                             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkKod1", [], "any"truetruefalse239)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkKod1", [], "any"falsefalsefalse239))) : ("")), "html"nulltrue);
  557.                             echo "</span>
  558.                                                         <span class=\"colorname2\">";
  559.                             // line 240
  560.                             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkAd2", [], "any"truetruefalse240)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkAd2", [], "any"falsefalsefalse240))) : ("")), "html"nulltrue);
  561.                             echo "</span>
  562.                                                         <span class=\"colorkod2\">";
  563.                             // line 241
  564.                             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkKod2", [], "any"truetruefalse241)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkKod2", [], "any"falsefalsefalse241))) : ("")), "html"nulltrue);
  565.                             echo "</span>
  566.                                                         <span class=\"colorname3\">";
  567.                             // line 242
  568.                             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkAd3", [], "any"truetruefalse242)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkAd3", [], "any"falsefalsefalse242))) : ("")), "html"nulltrue);
  569.                             echo "</span>
  570.                                                         <span class=\"colorkod3\">";
  571.                             // line 243
  572.                             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkKod3", [], "any"truetruefalse243)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkKod3", [], "any"falsefalsefalse243))) : ("")), "html"nulltrue);
  573.                             echo "</span>
  574.                                                         <span class=\"colorname4\">";
  575.                             // line 244
  576.                             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkAd4", [], "any"truetruefalse244)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkAd4", [], "any"falsefalsefalse244))) : ("")), "html"nulltrue);
  577.                             echo "</span>
  578.                                                         <span class=\"colorkod4\">";
  579.                             // line 245
  580.                             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkKod4", [], "any"truetruefalse245)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkKod4", [], "any"falsefalsefalse245))) : ("")), "html"nulltrue);
  581.                             echo "</span>
  582.                                                         <span class=\"colorname5\">";
  583.                             // line 246
  584.                             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkAd5", [], "any"truetruefalse246)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkAd5", [], "any"falsefalsefalse246))) : ("")), "html"nulltrue);
  585.                             echo "</span>
  586.                                                         <span class=\"colorkod5\">";
  587.                             // line 247
  588.                             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkKod5", [], "any"truetruefalse247)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkKod5", [], "any"falsefalsefalse247))) : ("")), "html"nulltrue);
  589.                             echo "</span>
  590.                                                         <span class=\"colorname6\">";
  591.                             // line 248
  592.                             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkAd6", [], "any"truetruefalse248)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkAd6", [], "any"falsefalsefalse248))) : ("")), "html"nulltrue);
  593.                             echo "</span>
  594.                                                         <span class=\"colorkod6\">";
  595.                             // line 249
  596.                             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkKod6", [], "any"truetruefalse249)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["urunlerDil"], "renkKod6", [], "any"falsefalsefalse249))) : ("")), "html"nulltrue);
  597.                             echo "</span>
  598.                                                     </template>
  599.                                                 </div>
  600.                                                 <h4>";
  601.                             // line 252
  602.                             echo twig_escape_filter($this->envtwig_upper_filter($this->envtwig_get_attribute($this->env$this->source$context["kategoriDil"], "baslik", [], "any"falsefalsefalse252)), "html"nulltrue);
  603.                             echo "</h4>
  604.                                                 <h3>";
  605.                             // line 253
  606.                             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["urunlerDil"], "baslik", [], "any"truetruefalse253)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["urunlerDil"], "baslik", [], "any"falsefalsefalse253))) : ("")), "html"nulltrue);
  607.                             echo "</h3>
  608.                                             </div>
  609.                                         ";
  610.                         }
  611.                         $_parent $context['_parent'];
  612.                         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['urunlerDil'], $context['_parent'], $context['loop']);
  613.                         $context array_intersect_key($context$_parent) + $_parent;
  614.                         // line 259
  615.                         echo "
  616.                                     ";
  617.                     }
  618.                     $_parent $context['_parent'];
  619.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['urunler'], $context['_parent'], $context['loop']);
  620.                     $context array_intersect_key($context$_parent) + $_parent;
  621.                     // line 261
  622.                     echo "
  623.                                 ";
  624.                 }
  625.                 $_parent $context['_parent'];
  626.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['grup'], $context['_parent'], $context['loop']);
  627.                 $context array_intersect_key($context$_parent) + $_parent;
  628.                 // line 263
  629.                 echo "                            ";
  630.             }
  631.             $_parent $context['_parent'];
  632.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['kategoriDil'], $context['_parent'], $context['loop']);
  633.             $context array_intersect_key($context$_parent) + $_parent;
  634.             // line 264
  635.             echo "                        ";
  636.         }
  637.         $_parent $context['_parent'];
  638.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['kategori'], $context['_parent'], $context['loop']);
  639.         $context array_intersect_key($context$_parent) + $_parent;
  640.         // line 265
  641.         echo "
  642.                     </div>
  643.                     <div class=\"products__section-navbar__products-button__wrapper\">
  644.                         <button class=\"products__section-navbar__products-button__wrapper-button\"
  645.                                 onclick=\"AllProducts()\" class=\"filter-1\"
  646.                                 data-filter=\"all\">All Products
  647.                         </button>
  648.                     </div>
  649.                 </div>
  650.             </div>
  651.         </div>
  652.         ";
  653.         // line 278
  654.         $this->loadTemplate("main/default/new-catalogue.html.twig""main/default/urun_gruplari.html.twig"278)->display($context);
  655.         // line 279
  656.         echo "        <div class=\"products__msayfabaslikl__wrapper\">
  657.             <div class=\"products__msayfabaslikl-bg\">
  658.                 <div class=\"products__msayfabaslikl__wrapper-title\">
  659.                     <h3>White Maya Top Smocked Waist, Yoga/Harem Pants</h3>
  660.                     <div class=\"products__msayfabaslikl__wrapper-title-crossed__out\" id=\"products__prossed__out\">
  661.                         <div class=\"crossed__out-1\"></div>
  662.                         <div class=\"crossed__out-2\"></div>
  663.                     </div>
  664.                 </div>
  665.                 <div class=\"products__msayfabaslikl__wrapper-product__description\">
  666.                     <div class=\"products__msayfabaslikl__wrapper-product__description-img__wrapper\">
  667.                         <div class=\"swiper myProductsSwiper\">
  668.                             <div class=\"swiper-wrapper\">
  669.                             </div>
  670.                             <div class=\"products-msayfabaslikl-swiper-button-next\">
  671.                                 <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"16\" width=\"10\" viewBox=\"0 0 320 512\">
  672.                                     <path d=\"M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z\"/>
  673.                                 </svg>
  674.                             </div>
  675.                             <div class=\"products-msayfabaslikl-swiper-button-prev\">
  676.                                 <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"16\" width=\"10\" viewBox=\"0 0 320 512\">
  677.                                     <path d=\"M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z\"/>
  678.                                 </svg>
  679.                             </div>
  680.                         </div>
  681.                     </div>
  682.                     <div class=\"products__msayfabaslikl__wrapper-product__description-about__product\">
  683.                         <div class=\"products__msayfabaslikl__wrapper-product__description-about__product-colors_wrapper\">
  684.                             <h4>Colours</h4>
  685.                                 <div class=\"products__msayfabaslikl__wrapper-product__description-about__product-colors\">
  686.                                 </div>
  687.                         </div>
  688.                         <div class=\"products__msayfabaslikl__wrapper-product__description-about__product-dimensions\">
  689.                             <p>Size:<span class=\"msayfabaslikl-size\"></span></p>
  690.                             <p>Weight:<span class=\"msayfabaslikl-weight\"></span></p>
  691.                             <p>Material:<span class=\"msayfabaslikl-material\"></span></p>
  692.                             <p>Description:<span class=\"msayfabaslikl-metin\"></span></p>
  693.                         </div>
  694.                         <div class=\"products__msayfabaslikl__wrapper-product__description-about__product-logos\">
  695.                             <img src=\"";
  696.         // line 320
  697.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/ayarlar/referans/" twig_get_attribute($this->env$this->source, (isset($context["ayarlar"]) || array_key_exists("ayarlar"$context) ? $context["ayarlar"] : (function () { throw new RuntimeError('Variable "ayarlar" does not exist.'320$this->source); })()), "referans", [], "any"falsefalsefalse320))), "html"nulltrue);
  698.         echo "\"
  699.                                  alt=\"references-logo\">
  700.                         </div>
  701.                     </div>
  702.                 </div>
  703.             </div>
  704.         </div>
  705.     </div>
  706. ";
  707.         
  708.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  709.         
  710.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  711.     }
  712.     // line 333
  713.     public function block_body_js($context, array $blocks = [])
  714.     {
  715.         $macros $this->macros;
  716.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  717.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_js"));
  718.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  719.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_js"));
  720.         // line 334
  721.         echo "    ";
  722.         $this->loadTemplate("main/default/scripts.html.twig""main/default/urun_gruplari.html.twig"334)->display($context);
  723.         // line 335
  724.         echo "    <script>
  725.         const products = document.querySelectorAll(\".products__section-navbar__products-products-product-img__wrapper\");
  726.         const productsMsayfabaslikl = document.querySelector(\".products__msayfabaslikl__wrapper\");
  727.         const prossedOut = document.querySelector(\"#products__prossed__out\");
  728.         const swiperWrapper = document.querySelector(\".products__msayfabaslikl__wrapper-product__description-img__wrapper .swiper .swiper-wrapper\");
  729.         function initializeSwiper() {
  730.             swiper = new Swiper(\".myProductsSwiper\", {
  731.                 navigation: {
  732.                     nextEl: \".products-msayfabaslikl-swiper-button-next\",
  733.                     prevEl: \".products-msayfabaslikl-swiper-button-prev\",
  734.                 },
  735.                 autoplay: {
  736.                     delay: 4000,
  737.                     disableOnInteraction: false,
  738.                 },
  739.                 loop: true,
  740.             });
  741.         }
  742.         initializeSwiper();
  743.         products.forEach((item, index) => {
  744.             item.addEventListener(\"click\", () => {
  745.                 swiperWrapper.innerHTML = \"\";
  746.                 productsMsayfabaslikl.classList.add(\"active\");
  747.                 document.body.style.overflow = \"hidden\";
  748.                 const templateEl = item.closest('.products__section-navbar__products-products-product-img__wrapper').querySelector('.template');
  749.                 if (templateEl) {
  750.                     const templateClone = document.importNode(templateEl.content, true);
  751.                     const titleEl = templateClone.querySelector(\".title\").textContent;
  752.                     const sizeEl = templateClone.querySelector(\".size\").textContent;
  753.                     const weightEl = templateClone.querySelector(\".weight\").textContent;
  754.                     const materialEl = templateClone.querySelector(\".material\").textContent;
  755.                     const metinlEl = templateClone.querySelector(\".metin\").textContent;
  756.                     const imgs = templateClone.querySelectorAll(\".imgs\");
  757.                     imgs.forEach((imgItem) => {
  758.                         let swiperSlide = document.createElement(\"div\");
  759.                         swiperSlide.classList.add(\"swiper-slide\");
  760.                         let imgClone = imgItem.cloneNode(true);
  761.                         swiperSlide.appendChild(imgClone);
  762.                         swiperWrapper.appendChild(swiperSlide);
  763.                     });
  764.                     const msayfabasliklTitle = document.querySelector(\".products__msayfabaslikl__wrapper-title h3\");
  765.                     const msayfabasliklSize = document.querySelectorAll(\".products__msayfabaslikl__wrapper-product__description-about__product-dimensions span\")[0];
  766.                     const msayfabasliklWeight = document.querySelectorAll(\".products__msayfabaslikl__wrapper-product__description-about__product-dimensions span\")[1];
  767.                     const msayfabasliklMaterial = document.querySelectorAll(\".products__msayfabaslikl__wrapper-product__description-about__product-dimensions span\")[2];
  768.                     const msayfabasliklMetin = document.querySelectorAll(\".products__msayfabaslikl__wrapper-product__description-about__product-dimensions span\")[3];
  769.                     msayfabasliklTitle.textContent = titleEl;
  770.                     msayfabasliklSize.textContent = sizeEl;
  771.                     msayfabasliklWeight.textContent = weightEl;
  772.                     msayfabasliklMaterial.textContent = materialEl;
  773.                     msayfabasliklMetin.textContent = metinlEl;
  774.                     // Renkleri aktar
  775.                     const colorsModal = document.querySelector(\".products__msayfabaslikl__wrapper-product__description-about__product-colors\");
  776.                     colorsModal.innerHTML = ''; // Önceki renkleri temizle
  777.                     const colorNames = templateClone.querySelectorAll(\"[class^='colorname']\");
  778.                     const colorCodes = templateClone.querySelectorAll(\"[class^='colorkod']\");
  779.                     colorNames.forEach((colorName, index) => {
  780.                         const colorNameText = colorName.textContent;
  781.                         const colorCodeText = colorCodes[index].textContent;
  782.                         const colorItem = document.createElement(\"div\");
  783.                         colorItem.classList.add(\"products__msayfabaslikl__wrapper-product__description-about__product-colors-color\");
  784.                         const colorCircle = document.createElement(\"div\");
  785.                         colorCircle.classList.add(\"products__msayfabaslikl__wrapper-product__description-about__product-colors-color-circle\");
  786.                         colorCircle.style.backgroundColor = colorCodeText;
  787.                         const colorDescription = document.createElement(\"p\");
  788.                         colorDescription.classList.add(\"products__modal__wrapper-product__description-about__product-colors-color-description\");
  789.                         colorDescription.textContent = colorNameText;
  790.                         colorItem.appendChild(colorCircle);
  791.                         colorItem.appendChild(colorDescription);
  792.                         colorsModal.appendChild(colorItem);
  793.                     });
  794.                 } else {
  795.                     console.error(\"Template element not found!\");
  796.                 }
  797.                 swiper.destroy();
  798.                 initializeSwiper();
  799.                 swiper.update();
  800.                 swiper.slideTo(0);
  801.                 swiper.autoplay.start();
  802.             });
  803.         });
  804.         prossedOut.addEventListener(\"click\", () => {
  805.             productsMsayfabaslikl.classList.remove(\"active\");
  806.             document.body.style.overflow = \"auto\";
  807.         })
  808.         const productImgMainWrapper = document.querySelectorAll(\".products__section-navbar__products-products-product-img__wrapper\")
  809.         const productimgsWrapper = document.querySelectorAll(\".products__section-navbar__products-products-product .products__section-navbar__products-products-product-img__wrapper img\")
  810.         productImgMainWrapper.forEach((item) => {
  811.             item.addEventListener(\"mouseover\", () => {
  812.                 const secondaryImgs = item.getElementsByTagName('img');
  813.                 const specificSecondaryImg = secondaryImgs[1];
  814.                 const specificFirstImg = secondaryImgs[0];
  815.                 if (specificSecondaryImg) {
  816.                     specificSecondaryImg.classList.add(\"active\");
  817.                 }
  818.                 if (specificSecondaryImg) {
  819.                     specificFirstImg.classList.add(\"remove\");
  820.                 }
  821.             })
  822.             item.addEventListener(\"mouseleave\", () => {
  823.                 const secondaryImgs = item.getElementsByTagName('img');
  824.                 const specificSecondaryImg = secondaryImgs[1];
  825.                 const specificFirstImg = secondaryImgs[0];
  826.                 if (specificSecondaryImg) {
  827.                     specificSecondaryImg.classList.remove(\"active\");
  828.                 }
  829.                 if (specificFirstImg) {
  830.                     specificFirstImg.classList.remove(\"remove\");
  831.                 }
  832.             })
  833.         });
  834.     </script>
  835.     <script>
  836.         document.addEventListener(\"DOMContentLoaded\", function () {
  837.             const pageHeight = window.innerHeight;
  838.             const msayfabasliklEl = document.querySelector(\".products__msayfabaslikl-bg\");
  839.             if (pageHeight < 816) {
  840.                 msayfabasliklEl.classList.add(\"small\")
  841.             } else {
  842.                 msayfabasliklEl.classList.remove(\"small\")
  843.             }
  844.             const contentEl = document.querySelector(\".products__msayfabaslikl__wrapper-product__description-about__product\");
  845.             const containerEl = document.querySelector(\".products__msayfabaslikl__wrapper-product__description\");
  846.             /* if (pageHeight < 800) {
  847.                 contentEl.style.overflowY = 'scroll';
  848.             } else {
  849.                 contentEl.style.overflowY = 'hidden';
  850.             } */
  851.         })
  852.     </script>
  853.     <script>
  854.         const controllerBtn = document.querySelectorAll(\".products__section-navbar__products-navbar .controls button\");
  855.         controllerBtn.forEach((item) => {
  856.             item.addEventListener(\"mouseover\", () => {
  857.                 item.click();
  858.             })
  859.         })
  860.         const kategoryClicked = (button) => {
  861.             const controllerBtn = document.querySelectorAll(\".products__section-navbar__products-navbar .controls button\");
  862.             controllerBtn.forEach((item) => {
  863.                 item.classList.remove(\"active\");
  864.             })
  865.             button.classList.add(\"active\");
  866.         }
  867.         var mixer = mixitup('#MixItUp1');
  868.     </script>
  869.     <script>
  870.         function AllProducts() {
  871.             document.querySelectorAll('.filter-1').forEach(item => {
  872.                 item.classList.remove('active');
  873.             });
  874.             document.querySelector('.All').classList.add('active');
  875.         }
  876.     </script>
  877. ";
  878.         
  879.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  880.         
  881.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  882.     }
  883.     public function getTemplateName()
  884.     {
  885.         return "main/default/urun_gruplari.html.twig";
  886.     }
  887.     public function isTraitable()
  888.     {
  889.         return false;
  890.     }
  891.     public function getDebugInfo()
  892.     {
  893.         return array (  778 => 335,  775 => 334,  765 => 333,  743 => 320,  700 => 279,  698 => 278,  683 => 265,  677 => 264,  671 => 263,  664 => 261,  657 => 259,  645 => 253,  641 => 252,  635 => 249,  631 => 248,  627 => 247,  623 => 246,  619 => 245,  615 => 244,  611 => 243,  607 => 242,  603 => 241,  599 => 240,  595 => 239,  591 => 238,  587 => 237,  583 => 236,  579 => 235,  575 => 234,  571 => 233,  566 => 232,  557 => 229,  554 => 228,  550 => 227,  543 => 222,  533 => 219,  529 => 218,  523 => 216,  518 => 215,  513 => 214,  508 => 213,  503 => 212,  499 => 211,  494 => 208,  488 => 207,  479 => 204,  475 => 203,  472 => 202,  467 => 201,  463 => 200,  453 => 192,  444 => 189,  440 => 188,  437 => 187,  433 => 186,  420 => 175,  417 => 174,  415 => 173,  410 => 171,  408 => 170,  406 => 169,  404 => 168,  402 => 167,  400 => 166,  398 => 165,  396 => 164,  394 => 163,  392 => 162,  390 => 161,  388 => 160,  386 => 159,  384 => 158,  382 => 157,  380 => 156,  378 => 155,  376 => 154,  374 => 153,  372 => 152,  370 => 151,  368 => 150,  365 => 148,  363 => 147,  361 => 146,  359 => 145,  357 => 144,  355 => 143,  353 => 142,  351 => 141,  349 => 140,  347 => 139,  345 => 138,  343 => 137,  341 => 136,  339 => 135,  337 => 134,  335 => 133,  333 => 132,  331 => 131,  329 => 130,  327 => 129,  325 => 128,  323 => 127,  321 => 126,  319 => 125,  317 => 124,  315 => 123,  313 => 122,  311 => 121,  309 => 120,  307 => 119,  305 => 118,  303 => 117,  301 => 116,  299 => 115,  297 => 114,  295 => 113,  293 => 112,  291 => 111,  289 => 110,  287 => 109,  285 => 108,  283 => 107,  281 => 106,  279 => 105,  277 => 104,  275 => 103,  273 => 102,  271 => 101,  269 => 100,  267 => 99,  265 => 98,  263 => 97,  261 => 96,  259 => 95,  257 => 94,  255 => 93,  253 => 92,  251 => 91,  248 => 89,  246 => 88,  244 => 87,  242 => 86,  240 => 85,  238 => 84,  236 => 83,  234 => 82,  232 => 81,  230 => 80,  228 => 79,  226 => 78,  224 => 77,  222 => 76,  219 => 74,  217 => 73,  215 => 72,  213 => 71,  211 => 70,  209 => 69,  207 => 68,  205 => 67,  203 => 66,  201 => 65,  199 => 64,  197 => 63,  195 => 62,  153 => 21,  143 => 20,  129 => 17,  127 => 16,  122 => 15,  120 => 14,  115 => 13,  112 => 12,  102 => 11,  88 => 8,  86 => 7,  81 => 6,  79 => 5,  74 => 4,  71 => 3,  61 => 2,  38 => 1,);
  894.     }
  895.     public function getSourceContext()
  896.     {
  897.         return new Source("{% extends 'main_base.html.twig' %}
  898. {% block title %}
  899.     {% if app.request.get('link') == '' and app.request.get('link2') == '' %}
  900.         {{ 'anasayfa.urungruplarikucuk'|trans }}
  901.     {% elseif app.request.get('link2') != '' %}
  902.         {{ urunGruplariDil.baslik }}
  903.     {% elseif app.request.get('link') != '' %}
  904.         {{ urunKategorileriDil.baslik }}
  905.     {% endif %}
  906. {% endblock %}
  907. {% block description %}
  908.     {% if app.request.get('link') == '' and app.request.get('link2') == '' %}
  909.         {{ 'anasayfa.urungruplarikucuk'|trans }}
  910.     {% elseif app.request.get('link2') != '' %}
  911.         {{ urunGruplariDil.baslik }}
  912.     {% elseif app.request.get('link') != '' %}
  913.         {{ urunKategorileriDil.baslik }}
  914.     {% endif %}
  915. {% endblock %}
  916. {% block content %}
  917.     <style>
  918.         .navbar__section-links__wrapper :not(.PRODUCTS) {
  919.             opacity: 0.4 !important;
  920.         }
  921.         .navbar__section-logo__wrapper-img {
  922.             filter: brightness(0) invert(1) !important;
  923.         }
  924.         .navbar__section::before {
  925.             content: \"\";
  926.             position: absolute;
  927.             top: 0;
  928.             right: 0;
  929.             left: 0;
  930.             bottom: 0;
  931.             background: rgba(0, 0, 0, 0.4);
  932.             z-index: -1;
  933.         }
  934.         .navbar__section::after {
  935.             content: \"\";
  936.             background-image: url(\"../../../public/assets/main/images/navbar/navbar-bg-products.jpg\");
  937.             background-position: center;
  938.             background-size: cover;
  939.             position: absolute;
  940.             top: 0;
  941.             right: 0;
  942.             left: 0;
  943.             bottom: 0;
  944.             z-index: -2;
  945.         }
  946.     </style>
  947.     <style>
  948.         {#    <header>#}
  949.         {#        <div class=\"header-image\"><img src=\"{{ asset('assets/main/images/productGroups.webp') }}\" alt=\"\"></div>#}
  950.         {#        <div class=\"header-text\">#}
  951.         {#            <a href=\"{{ path('app_main_default') }}\">#}
  952.         {#                <div class=\"header-logo\"><img src=\"{{ asset('assets/main/images/elefante.svg') }}\" alt=\"\"></div>#}
  953.         {#            </a>#}
  954.         {#            <div class=\"header-name\"><span>{{ 'anasayfa.urungruplarikucuk'|trans }}</span></div>#}
  955.         {#            <div class=\"header-text-line\">#}
  956.         {#                <span>SINCE</span>#}
  957.         {#                <span>1995</span>#}
  958.         {#            </div>#}
  959.         {#        </div>#}
  960.         {#    </header>#}
  961.         {#    <div id=\"container\">#}
  962.         {#        <div class=\"content\">#}
  963.         {#            <div class=\"router-url\">#}
  964.         {#                <a href=\"{{ path('app_main_default') }}\">{{ 'anasayfa'|trans }}</a> /#}
  965.         {#                <a href=\"{{ path('app_main_urun_gruplari') }}\">{{ 'anasayfa.urungruplarikucuk'|trans }}</a>#}
  966.         {#                {% if app.request.get('link') != '' %}#}
  967.         {#                    / <a#}
  968.         {#                        href=\"{{ path('app_main_urun_gruplari', {'link': urunKategorileriDil.link}) }}\">{{ urunKategorileriDil.baslik }}</a>#}
  969.         {#                {% endif %}#}
  970.         {#                {% if app.request.get('link2') != '' %}#}
  971.         {#                    / <a#}
  972.         {#                        href=\"{{ path('app_main_urun_gruplari', {'link': urunKategorileriDil.link, 'link2': urunGruplariDil.link}) }}\">{{ urunGruplariDil.baslik }}</a>#}
  973.         {#                {% endif %}#}
  974.         {#            </div>#}
  975.         {#            <div class=\"product-groups-wrapper\">#}
  976.         {#                <div class=\"productgroups-nav\">#}
  977.         {#                    {% for uk in urunkategorileri %}#}
  978.         {#                        {% set ukDil = uk.diller|filter(d => d.dil.kisaBaslik == app.request.locale)|first %}#}
  979.         {#                        <div class=\"productgroups-nav-item\">#}
  980.         {#                            <div class=\"productgroups-nav-item-header border {% if app.request.get('link') == ukDil.link %}active{% endif %}\">#}
  981.         {#                                <h1>{{ ukDil.baslik }} <span>({{ uk.gruplar|filter(r => r.del == 0)|length }})</span></h1>#}
  982.         {#                                <i class=\"rotate-i active fas fa-chevron-down\"></i>#}
  983.         {#                            </div>#}
  984.         {#                            <ul class=\"productgroups-nav-item-content {% if app.request.get('link') == ukDil.link %}productgroups-nav-item-content-all{% endif %}\">#}
  985.         {#                                {% for grup in uk.gruplar|filter(r => r.del == 0) %}#}
  986.         {#                                    {% set grupDil = grup.diller|filter(d => d.dil.kisaBaslik == app.request.locale)|first %}#}
  987.         {#                                    <li>#}
  988.         {#                                        <a href=\"{{ path('app_main_urun_gruplari', {'link': ukDil.link, 'link2': grupDil.link}) }}\"#}
  989.         {#                                           style=\"color: inherit;\"><p>{{ grupDil.baslik }}#}
  990.         {#                                                <span>({{ grup.urunler|filter(r => r.del == 0)|length }})</span>#}
  991.         {#                                            </p>#}
  992.         {#                                        </a>#}
  993.         {#                                    </li>#}
  994.         {#                                {% endfor %}#}
  995.         {#                            </ul>#}
  996.         {#                        </div>#}
  997.         {#                    {% endfor %}#}
  998.         {#                </div>#}
  999.         {#                <div class=\"productgroups\">#}
  1000.         {#                    {% for urun in urunler %}#}
  1001.         {#                        {% set urunDil = urun.diller|filter(d => d.dil.kisaBaslik == app.request.locale)|first %}#}
  1002.         {#                        <div class=\"productgroup-item\">#}
  1003.         {#                            <div class=\"productgroups-drop-items\">#}
  1004.         {#                                <div class=\"productgroups-drop-item-off\"><i class=\"bx bx-x\"></i></div>#}
  1005.         {#                                <div class=\"productgroups-drop-item\">#}
  1006.         {#                                    <div class=\"productgroups-drop-item-logo\">#}
  1007.         {#                                        <img src=\"{{ asset('assets/main/images/elefante.svg') }}\" alt=\"\">#}
  1008.         {#                                    </div>#}
  1009.         {#                                    <svg xmlns=\"http://www.w3.org/2000/svg\" style=\"display: none\">#}
  1010.         {#                                        <symbol id=\"ei-arrow-left-icon\" viewBox=\"0 0 50 50\">#}
  1011.         {#                                            <path d=\"M25 42c-9.4 0-17-7.6-17-17S15.6 8 25 8s17 7.6 17 17-7.6 17-17 17zm0-32c-8.3 0-15 6.7-15 15s6.7 15 15 15 15-6.7 15-15-6.7-15-15-15z\"></path>#}
  1012.         {#                                            <path d=\"M25.3 34.7L15.6 25l9.7-9.7 1.4 1.4-8.3 8.3 8.3 8.3z\"></path>#}
  1013.         {#                                            <path d=\"M17 24h17v2H17z\"></path>#}
  1014.         {#                                        </symbol>#}
  1015.         {#                                        <symbol id=\"ei-arrow-right-icon\" viewBox=\"0 0 50 50\">#}
  1016.         {#                                            <path d=\"M25 42c-9.4 0-17-7.6-17-17S15.6 8 25 8s17 7.6 17 17-7.6 17-17 17zm0-32c-8.3 0-15 6.7-15 15s6.7 15 15 15 15-6.7 15-15-6.7-15-15-15z\"></path>#}
  1017.         {#                                            <path d=\"M24.7 34.7l-1.4-1.4 8.3-8.3-8.3-8.3 1.4-1.4 9.7 9.7z\"></path>#}
  1018.         {#                                            <path d=\"M16 24h17v2H16z\"></path>#}
  1019.         {#                                        </symbol>#}
  1020.         {#                                    </svg>#}
  1021.         {#                                    <div class=\"layout\">#}
  1022.         {#                                        <ul class=\"slider\">#}
  1023.         {#                                            {% for resim in urun.resimler|filter(r => r.del == 0) %}#}
  1024.         {#                                                <li>#}
  1025.         {#                                                    <div data-zoom=\"{{ asset('uploads/urungruplari/urunler/' ~ resim.resim) }}\" class=\"zoom\">#}
  1026.         {#                                                        <img src=\"{{ asset('uploads/urungruplari/urunler/' ~ resim.resim) }}\" />#}
  1027.         {#                                                    </div>#}
  1028.         {#                                                </li>#}
  1029.         {#                                            {% endfor %}#}
  1030.         {#                                        </ul>#}
  1031.         {#                                    </div>#}
  1032.         {#                                </div>#}
  1033.         {#                            <div class=\"productgroups-drop-item-content\">#}
  1034.         {#                                <h2 class=\"productgroups-drop-item-content-header\">{{ urunDil.baslik }}</h2>#}
  1035.         {#                                <h3 class=\"productgroups-drop-item-content-header-small\">{{ urunDil.baslik }}</h3>#}
  1036.         {#                                <div class=\"productgroups-drop-item-content-text\">#}
  1037.         {#                                    {{ urunDil.metin|raw }}#}
  1038.         {#                                </div>#}
  1039.         {#                            </div>#}
  1040.         {#                            </div>#}
  1041.         {#                            <div class=\"productgroup-item-image\">#}
  1042.         {#                                {% if urun.resimler|length > 0 %}#}
  1043.         {#                                    <img src=\"{{ asset('uploads/urungruplari/urunler/' ~ urun.resimler|sort((a,b) => a.sira > b.sira)|first.resim) }}\" alt=\"\">#}
  1044.         {#                                {% endif %}#}
  1045.         {#                            </div>#}
  1046.         {#                            <div class=\"productgroup-item-content\">#}
  1047.         {#                                <h3>{{ urunDil.baslik }}</h3>#}
  1048.         {#                                <p>{{ urunDil.baslik2 }}</p>#}
  1049.         {#                            </div>#}
  1050.         {#                        </div>#}
  1051.         {#                    {% endfor %}#}
  1052.         {#                </div>#}
  1053.         {#            </div>#}
  1054.         {#        </div>#}
  1055.         {#    </div> #}</style>
  1056.     <div id=\"products\">
  1057.         {% include 'main/default/loader.html.twig' %}
  1058.         {% include 'main/default/cookie.html.twig' %}
  1059.         <div class=\"main-container\">
  1060.             <div class=\"products__section\">
  1061.                 <div class=\"products__section-active__page\">
  1062.                     <p><a href=\"https://technoone.net/elefante/\">Elefante </a> / <a class=\"active\"
  1063.                                                                                     href=\"https://technoone.net/elefante/products\">Products</a>
  1064.                     </p>
  1065.                 </div>
  1066.                 <div class=\"products__section-description\">
  1067.                     {% for urunsayfasi in sayfa[0].sayfabaslikDilleri %}
  1068.                         <h2>{{ urunsayfasi.baslik|raw }}</h2>
  1069.                         <p>{{ urunsayfasi.title|raw }}</p>
  1070.                     {% endfor %}
  1071.                 </div>
  1072.                 <div class=\"products__section-navbar__products\">
  1073.                     <div class=\"products__section-navbar__products-navbar\">
  1074.                         <ul class=\"controls\">
  1075.                             <button class=\"filter-1 active All\" onclick=\"kategoryClicked(this)\" data-filter=\"all\">ALL
  1076.                             </button>
  1077.                             {% for kategori in urunkategorileri|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira) %}
  1078.                                 {% for kategoriler in kategori.diller %}
  1079.                                     <button class=\"filter-1\" onclick=\"kategoryClicked(this)\"
  1080.                                             data-filter=\".{{ kategoriler.baslik|upper|replace({ '½': '-', '/': '-', '%': '-','&': '-', ' ': '-', '/\\W+/': '-' }) }}\">
  1081.                                         {{ kategoriler.baslik }}
  1082.                                     </button>
  1083.                                 {% endfor %}
  1084.                             {% endfor %}
  1085.                         </ul>
  1086.                     </div>
  1087.                     <div class=\"products__section-navbar__products-products container\" id=\"MixItUp1\">
  1088.                         {% for kategori in urunkategorileri|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira) %}
  1089.                             {% for kategoriDil in kategori.diller|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira) %}
  1090.                                 {% for grup in kategori.gruplar|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira) %}
  1091.                                     {% for urunler in grup.urunler|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira) %}
  1092.                                         {% for urunlerDil in urunler.diller|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira) %}
  1093.                                             <div class=\"products__section-navbar__products-products-product mix {{ kategoriDil.baslik|upper|replace({ '½': '-', '%': '-','&': '-', ' ': '-', '/\\W+/': '-' }) }}\">
  1094.                                                 <div class=\"products__section-navbar__products-products-product-img__wrapper\">
  1095.                                                     {% for resim in urunler.resimler|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira)|slice(0, 2) %}
  1096.                                                         <img src=\"{{ asset('uploads/urungruplari/urunler/' ~ resim.resim) }}\"
  1097.                                                              alt=\"product-img\">
  1098.                                                     {% endfor %}
  1099.                                                     <div class=\"products__section-navbar__products-products-product-mousetracker\">
  1100.                                                         <div class=\"products__section-navbar__products-products-product-mousetracker-x\"></div>
  1101.                                                         <div class=\"products__section-navbar__products-products-product-mousetracker-y\"></div>
  1102.                                                     </div>
  1103.                                                     <template class=\"template\">
  1104.                                                         {% for resim in urunler.resimler|filter(r => r.del == 0) %}
  1105.                                                             <img class=\"imgs\"
  1106.                                                                  src=\"{{ asset('uploads/urungruplari/urunler/' ~ resim.resim) }}\"
  1107.                                                                  alt=\"product__img\">
  1108.                                                         {% endfor %}
  1109.                                                         <h4 class=\"mini__title\">{{ urunlerDil.baslik2|default }}</h4>
  1110.                                                         <h3 class=\"title\">{{ urunlerDil.baslik2|default }}</h3>
  1111.                                                         <span class=\"size\">{{ urunlerDil.boyut|default }}</span>
  1112.                                                         <span class=\"weight\">{{ urunlerDil.agirlik|default }}</span>
  1113.                                                         <span class=\"metin\">{{ urunlerDil.metin|default|raw }}</span>
  1114.                                                         <span class=\"material\">{{ urunlerDil.materyal|default }}</span>
  1115.                                                         <span class=\"colorname1\">{{ urunlerDil.renkAd1|default }}</span>
  1116.                                                         <span class=\"colorkod1\">{{ urunlerDil.renkKod1|default }}</span>
  1117.                                                         <span class=\"colorname2\">{{ urunlerDil.renkAd2|default }}</span>
  1118.                                                         <span class=\"colorkod2\">{{ urunlerDil.renkKod2|default }}</span>
  1119.                                                         <span class=\"colorname3\">{{ urunlerDil.renkAd3|default }}</span>
  1120.                                                         <span class=\"colorkod3\">{{ urunlerDil.renkKod3|default }}</span>
  1121.                                                         <span class=\"colorname4\">{{ urunlerDil.renkAd4|default }}</span>
  1122.                                                         <span class=\"colorkod4\">{{ urunlerDil.renkKod4|default }}</span>
  1123.                                                         <span class=\"colorname5\">{{ urunlerDil.renkAd5|default }}</span>
  1124.                                                         <span class=\"colorkod5\">{{ urunlerDil.renkKod5|default }}</span>
  1125.                                                         <span class=\"colorname6\">{{ urunlerDil.renkAd6|default }}</span>
  1126.                                                         <span class=\"colorkod6\">{{ urunlerDil.renkKod6|default }}</span>
  1127.                                                     </template>
  1128.                                                 </div>
  1129.                                                 <h4>{{ kategoriDil.baslik|upper }}</h4>
  1130.                                                 <h3>{{ urunlerDil.baslik|default }}</h3>
  1131.                                             </div>
  1132.                                         {% endfor %}
  1133.                                     {% endfor %}
  1134.                                 {% endfor %}
  1135.                             {% endfor %}
  1136.                         {% endfor %}
  1137.                     </div>
  1138.                     <div class=\"products__section-navbar__products-button__wrapper\">
  1139.                         <button class=\"products__section-navbar__products-button__wrapper-button\"
  1140.                                 onclick=\"AllProducts()\" class=\"filter-1\"
  1141.                                 data-filter=\"all\">All Products
  1142.                         </button>
  1143.                     </div>
  1144.                 </div>
  1145.             </div>
  1146.         </div>
  1147.         {% include 'main/default/new-catalogue.html.twig' %}
  1148.         <div class=\"products__msayfabaslikl__wrapper\">
  1149.             <div class=\"products__msayfabaslikl-bg\">
  1150.                 <div class=\"products__msayfabaslikl__wrapper-title\">
  1151.                     <h3>White Maya Top Smocked Waist, Yoga/Harem Pants</h3>
  1152.                     <div class=\"products__msayfabaslikl__wrapper-title-crossed__out\" id=\"products__prossed__out\">
  1153.                         <div class=\"crossed__out-1\"></div>
  1154.                         <div class=\"crossed__out-2\"></div>
  1155.                     </div>
  1156.                 </div>
  1157.                 <div class=\"products__msayfabaslikl__wrapper-product__description\">
  1158.                     <div class=\"products__msayfabaslikl__wrapper-product__description-img__wrapper\">
  1159.                         <div class=\"swiper myProductsSwiper\">
  1160.                             <div class=\"swiper-wrapper\">
  1161.                             </div>
  1162.                             <div class=\"products-msayfabaslikl-swiper-button-next\">
  1163.                                 <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"16\" width=\"10\" viewBox=\"0 0 320 512\">
  1164.                                     <path d=\"M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z\"/>
  1165.                                 </svg>
  1166.                             </div>
  1167.                             <div class=\"products-msayfabaslikl-swiper-button-prev\">
  1168.                                 <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"16\" width=\"10\" viewBox=\"0 0 320 512\">
  1169.                                     <path d=\"M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z\"/>
  1170.                                 </svg>
  1171.                             </div>
  1172.                         </div>
  1173.                     </div>
  1174.                     <div class=\"products__msayfabaslikl__wrapper-product__description-about__product\">
  1175.                         <div class=\"products__msayfabaslikl__wrapper-product__description-about__product-colors_wrapper\">
  1176.                             <h4>Colours</h4>
  1177.                                 <div class=\"products__msayfabaslikl__wrapper-product__description-about__product-colors\">
  1178.                                 </div>
  1179.                         </div>
  1180.                         <div class=\"products__msayfabaslikl__wrapper-product__description-about__product-dimensions\">
  1181.                             <p>Size:<span class=\"msayfabaslikl-size\"></span></p>
  1182.                             <p>Weight:<span class=\"msayfabaslikl-weight\"></span></p>
  1183.                             <p>Material:<span class=\"msayfabaslikl-material\"></span></p>
  1184.                             <p>Description:<span class=\"msayfabaslikl-metin\"></span></p>
  1185.                         </div>
  1186.                         <div class=\"products__msayfabaslikl__wrapper-product__description-about__product-logos\">
  1187.                             <img src=\"{{ asset('uploads/ayarlar/referans/' ~ ayarlar.referans) }}\"
  1188.                                  alt=\"references-logo\">
  1189.                         </div>
  1190.                     </div>
  1191.                 </div>
  1192.             </div>
  1193.         </div>
  1194.     </div>
  1195. {% endblock %}
  1196. {% block body_js %}
  1197.     {% include 'main/default/scripts.html.twig' %}
  1198.     <script>
  1199.         const products = document.querySelectorAll(\".products__section-navbar__products-products-product-img__wrapper\");
  1200.         const productsMsayfabaslikl = document.querySelector(\".products__msayfabaslikl__wrapper\");
  1201.         const prossedOut = document.querySelector(\"#products__prossed__out\");
  1202.         const swiperWrapper = document.querySelector(\".products__msayfabaslikl__wrapper-product__description-img__wrapper .swiper .swiper-wrapper\");
  1203.         function initializeSwiper() {
  1204.             swiper = new Swiper(\".myProductsSwiper\", {
  1205.                 navigation: {
  1206.                     nextEl: \".products-msayfabaslikl-swiper-button-next\",
  1207.                     prevEl: \".products-msayfabaslikl-swiper-button-prev\",
  1208.                 },
  1209.                 autoplay: {
  1210.                     delay: 4000,
  1211.                     disableOnInteraction: false,
  1212.                 },
  1213.                 loop: true,
  1214.             });
  1215.         }
  1216.         initializeSwiper();
  1217.         products.forEach((item, index) => {
  1218.             item.addEventListener(\"click\", () => {
  1219.                 swiperWrapper.innerHTML = \"\";
  1220.                 productsMsayfabaslikl.classList.add(\"active\");
  1221.                 document.body.style.overflow = \"hidden\";
  1222.                 const templateEl = item.closest('.products__section-navbar__products-products-product-img__wrapper').querySelector('.template');
  1223.                 if (templateEl) {
  1224.                     const templateClone = document.importNode(templateEl.content, true);
  1225.                     const titleEl = templateClone.querySelector(\".title\").textContent;
  1226.                     const sizeEl = templateClone.querySelector(\".size\").textContent;
  1227.                     const weightEl = templateClone.querySelector(\".weight\").textContent;
  1228.                     const materialEl = templateClone.querySelector(\".material\").textContent;
  1229.                     const metinlEl = templateClone.querySelector(\".metin\").textContent;
  1230.                     const imgs = templateClone.querySelectorAll(\".imgs\");
  1231.                     imgs.forEach((imgItem) => {
  1232.                         let swiperSlide = document.createElement(\"div\");
  1233.                         swiperSlide.classList.add(\"swiper-slide\");
  1234.                         let imgClone = imgItem.cloneNode(true);
  1235.                         swiperSlide.appendChild(imgClone);
  1236.                         swiperWrapper.appendChild(swiperSlide);
  1237.                     });
  1238.                     const msayfabasliklTitle = document.querySelector(\".products__msayfabaslikl__wrapper-title h3\");
  1239.                     const msayfabasliklSize = document.querySelectorAll(\".products__msayfabaslikl__wrapper-product__description-about__product-dimensions span\")[0];
  1240.                     const msayfabasliklWeight = document.querySelectorAll(\".products__msayfabaslikl__wrapper-product__description-about__product-dimensions span\")[1];
  1241.                     const msayfabasliklMaterial = document.querySelectorAll(\".products__msayfabaslikl__wrapper-product__description-about__product-dimensions span\")[2];
  1242.                     const msayfabasliklMetin = document.querySelectorAll(\".products__msayfabaslikl__wrapper-product__description-about__product-dimensions span\")[3];
  1243.                     msayfabasliklTitle.textContent = titleEl;
  1244.                     msayfabasliklSize.textContent = sizeEl;
  1245.                     msayfabasliklWeight.textContent = weightEl;
  1246.                     msayfabasliklMaterial.textContent = materialEl;
  1247.                     msayfabasliklMetin.textContent = metinlEl;
  1248.                     // Renkleri aktar
  1249.                     const colorsModal = document.querySelector(\".products__msayfabaslikl__wrapper-product__description-about__product-colors\");
  1250.                     colorsModal.innerHTML = ''; // Önceki renkleri temizle
  1251.                     const colorNames = templateClone.querySelectorAll(\"[class^='colorname']\");
  1252.                     const colorCodes = templateClone.querySelectorAll(\"[class^='colorkod']\");
  1253.                     colorNames.forEach((colorName, index) => {
  1254.                         const colorNameText = colorName.textContent;
  1255.                         const colorCodeText = colorCodes[index].textContent;
  1256.                         const colorItem = document.createElement(\"div\");
  1257.                         colorItem.classList.add(\"products__msayfabaslikl__wrapper-product__description-about__product-colors-color\");
  1258.                         const colorCircle = document.createElement(\"div\");
  1259.                         colorCircle.classList.add(\"products__msayfabaslikl__wrapper-product__description-about__product-colors-color-circle\");
  1260.                         colorCircle.style.backgroundColor = colorCodeText;
  1261.                         const colorDescription = document.createElement(\"p\");
  1262.                         colorDescription.classList.add(\"products__modal__wrapper-product__description-about__product-colors-color-description\");
  1263.                         colorDescription.textContent = colorNameText;
  1264.                         colorItem.appendChild(colorCircle);
  1265.                         colorItem.appendChild(colorDescription);
  1266.                         colorsModal.appendChild(colorItem);
  1267.                     });
  1268.                 } else {
  1269.                     console.error(\"Template element not found!\");
  1270.                 }
  1271.                 swiper.destroy();
  1272.                 initializeSwiper();
  1273.                 swiper.update();
  1274.                 swiper.slideTo(0);
  1275.                 swiper.autoplay.start();
  1276.             });
  1277.         });
  1278.         prossedOut.addEventListener(\"click\", () => {
  1279.             productsMsayfabaslikl.classList.remove(\"active\");
  1280.             document.body.style.overflow = \"auto\";
  1281.         })
  1282.         const productImgMainWrapper = document.querySelectorAll(\".products__section-navbar__products-products-product-img__wrapper\")
  1283.         const productimgsWrapper = document.querySelectorAll(\".products__section-navbar__products-products-product .products__section-navbar__products-products-product-img__wrapper img\")
  1284.         productImgMainWrapper.forEach((item) => {
  1285.             item.addEventListener(\"mouseover\", () => {
  1286.                 const secondaryImgs = item.getElementsByTagName('img');
  1287.                 const specificSecondaryImg = secondaryImgs[1];
  1288.                 const specificFirstImg = secondaryImgs[0];
  1289.                 if (specificSecondaryImg) {
  1290.                     specificSecondaryImg.classList.add(\"active\");
  1291.                 }
  1292.                 if (specificSecondaryImg) {
  1293.                     specificFirstImg.classList.add(\"remove\");
  1294.                 }
  1295.             })
  1296.             item.addEventListener(\"mouseleave\", () => {
  1297.                 const secondaryImgs = item.getElementsByTagName('img');
  1298.                 const specificSecondaryImg = secondaryImgs[1];
  1299.                 const specificFirstImg = secondaryImgs[0];
  1300.                 if (specificSecondaryImg) {
  1301.                     specificSecondaryImg.classList.remove(\"active\");
  1302.                 }
  1303.                 if (specificFirstImg) {
  1304.                     specificFirstImg.classList.remove(\"remove\");
  1305.                 }
  1306.             })
  1307.         });
  1308.     </script>
  1309.     <script>
  1310.         document.addEventListener(\"DOMContentLoaded\", function () {
  1311.             const pageHeight = window.innerHeight;
  1312.             const msayfabasliklEl = document.querySelector(\".products__msayfabaslikl-bg\");
  1313.             if (pageHeight < 816) {
  1314.                 msayfabasliklEl.classList.add(\"small\")
  1315.             } else {
  1316.                 msayfabasliklEl.classList.remove(\"small\")
  1317.             }
  1318.             const contentEl = document.querySelector(\".products__msayfabaslikl__wrapper-product__description-about__product\");
  1319.             const containerEl = document.querySelector(\".products__msayfabaslikl__wrapper-product__description\");
  1320.             /* if (pageHeight < 800) {
  1321.                 contentEl.style.overflowY = 'scroll';
  1322.             } else {
  1323.                 contentEl.style.overflowY = 'hidden';
  1324.             } */
  1325.         })
  1326.     </script>
  1327.     <script>
  1328.         const controllerBtn = document.querySelectorAll(\".products__section-navbar__products-navbar .controls button\");
  1329.         controllerBtn.forEach((item) => {
  1330.             item.addEventListener(\"mouseover\", () => {
  1331.                 item.click();
  1332.             })
  1333.         })
  1334.         const kategoryClicked = (button) => {
  1335.             const controllerBtn = document.querySelectorAll(\".products__section-navbar__products-navbar .controls button\");
  1336.             controllerBtn.forEach((item) => {
  1337.                 item.classList.remove(\"active\");
  1338.             })
  1339.             button.classList.add(\"active\");
  1340.         }
  1341.         var mixer = mixitup('#MixItUp1');
  1342.     </script>
  1343.     <script>
  1344.         function AllProducts() {
  1345.             document.querySelectorAll('.filter-1').forEach(item => {
  1346.                 item.classList.remove('active');
  1347.             });
  1348.             document.querySelector('.All').classList.add('active');
  1349.         }
  1350.     </script>
  1351. {% endblock %}""main/default/urun_gruplari.html.twig""/home/technoon/public_html/elefante/templates/main/default/urun_gruplari.html.twig");
  1352.     }
  1353. }