<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* application/layout.html.twig */
class __TwigTemplate_907db1589121684e5876545efdbed81164c427ddede643828df18e8e7109b70c extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'header_class' => [$this, 'block_header_class'],
'content' => [$this, 'block_content'],
'popups' => [$this, 'block_popups'],
'scripts' => [$this, 'block_scripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "application/layout.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "application/layout.html.twig"));
// line 1
yield "<!DOCTYPE html>
<html lang=\"ru\">
<head>
<meta charset=\"UTF-8\">
";
// line 5
if ((array_key_exists("seoTitle", $context) && (isset($context["seoTitle"]) || array_key_exists("seoTitle", $context) ? $context["seoTitle"] : (function () { throw new RuntimeError('Variable "seoTitle" does not exist.', 5, $this->source); })()))) {
// line 6
yield " <title>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seoTitle"]) || array_key_exists("seoTitle", $context) ? $context["seoTitle"] : (function () { throw new RuntimeError('Variable "seoTitle" does not exist.', 6, $this->source); })()), "html", null, true);
yield "</title>
";
}
// line 8
yield "
";
// line 9
if ((array_key_exists("seoDescription", $context) && (isset($context["seoDescription"]) || array_key_exists("seoDescription", $context) ? $context["seoDescription"] : (function () { throw new RuntimeError('Variable "seoDescription" does not exist.', 9, $this->source); })()))) {
// line 10
yield " <meta name=\"description\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seoDescription"]) || array_key_exists("seoDescription", $context) ? $context["seoDescription"] : (function () { throw new RuntimeError('Variable "seoDescription" does not exist.', 10, $this->source); })()), "html", null, true);
yield "\">
";
}
// line 12
yield "
";
// line 13
if ((array_key_exists("seoKeywords", $context) && (isset($context["seoKeywords"]) || array_key_exists("seoKeywords", $context) ? $context["seoKeywords"] : (function () { throw new RuntimeError('Variable "seoKeywords" does not exist.', 13, $this->source); })()))) {
// line 14
yield " <meta name=\"keywords\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seoKeywords"]) || array_key_exists("seoKeywords", $context) ? $context["seoKeywords"] : (function () { throw new RuntimeError('Variable "seoKeywords" does not exist.', 14, $this->source); })()), "html", null, true);
yield "\">
";
}
// line 16
yield "
<link href=\"";
// line 17
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 17, $this->source); })()), "request", [], "any", false, false, false, 17), "schemeAndHttpHost", [], "any", false, false, false, 17) . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 17, $this->source); })()), "request", [], "any", false, false, false, 17), "pathInfo", [], "any", false, false, false, 17)), "html", null, true);
yield "\" rel=\"canonical\">
";
// line 19
if (array_key_exists("headMeta", $context)) {
// line 20
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["headMeta"]) || array_key_exists("headMeta", $context) ? $context["headMeta"] : (function () { throw new RuntimeError('Variable "headMeta" does not exist.', 20, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 21
yield " <meta property=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "property", [], "any", false, false, false, 21), "html", null, true);
yield "\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, false, 21), "html", null, true);
yield "\">
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 23
yield " ";
} else {
// line 24
yield " <meta property=\"og:type\" content=\"website\">
<meta property=\"og:url\" content=\"";
// line 25
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 25, $this->source); })()), "request", [], "any", false, false, false, 25), "uri", [], "any", false, false, false, 25), "html", null, true);
yield "\">
<meta property=\"og:title\" content=\"Decostore\">
<meta property=\"og:description\" content=\"Оптовые и розничные продажи декоративных отделочных материалов\">
<meta property=\"og:image\" content=\"/img/cover.png\">
<meta property=\"og:image:type\" content=\"image/png\">
<meta property=\"og:image:width\" content=\"1200\">
<meta property=\"og:image:height\" content=\"630\">
<meta property=\"twitter:card\" content=\"summary_large_image\">
";
}
// line 34
yield "
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
<link rel=\"icon\" type=\"image/x-icon\" href=\"/favicon.ico\">
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicon-32x32.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicon-16x16.png\">
<link rel=\"manifest\" href=\"/site.webmanifest\">
<link rel=\"mask-icon\" href=\"/safari-pinned-tab.svg\" color=\"#222F59\">
<meta name=\"msapplication-TileColor\" content=\"#222f59\">
<meta name=\"theme-color\" content=\"#ffffff\">
<link rel=\"stylesheet\" href=\"/css/style.min.css?4\">
<script src=\"//unpkg.com/alpinejs\" defer></script>
<!-- Google Tag Manager -->
<script>
document.addEventListener('DOMContentLoaded', () => {
/** init gtm after 3500 seconds - this could be adjusted */
setTimeout(initGTM, 3500);
});
document.addEventListener('scroll', initGTMOnEvent);
document.addEventListener('mousemove', initGTMOnEvent);
document.addEventListener('touchstart', initGTMOnEvent);
function initGTMOnEvent (event) {
initGTM();
event.currentTarget.removeEventListener(event.type, initGTMOnEvent); // remove the event listener that got triggered
}
function initGTM () {
if (window.gtmDidInit) {
return false;
}
window.gtmDidInit = true; // flag to ensure script does not get added to DOM more than once.
const script = document.createElement('script');
script.type = 'text/javascript';
script.async = true;
script.onload = () => { dataLayer.push({ event: 'gtm.js', 'gtm.start': (new Date()).getTime(), 'gtm.uniqueEventId': 0 }); } // this part ensures PageViews is always tracked
script.src = 'https://www.googletagmanager.com/gtm.js?id=GTM-53CS9H5';
document.head.appendChild(script);
}
</script>
<!-- End Google Tag Manager -->
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<!-- <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-53CS9H5\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript> -->
<!-- End Google Tag Manager (noscript) -->
<div class=\"wrapper\">
<header id=\"header\" class=\"header ";
// line 101
yield from $this->unwrap()->yieldBlock('header_class', $context, $blocks);
yield "\">
<div class=\"container\">
<div class=\"helpnav\">
<div class=\"helpnav__left\">
<a href=\"\" class=\"helpnav__item location\">
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10 6.25A1.875 1.875 0 1 0 10 10a1.875 1.875 0 0 0 0-3.75zM6.875 8.125a3.125 3.125 0 1 1 6.25 0 3.125 3.125 0 0 1-6.25 0z\"/><path d=\"M10 2.5a5.625 5.625 0 0 0-5.625 5.625c0 2.588 1.445 4.944 2.972 6.7A19.707 19.707 0 0 0 10 17.343a19.716 19.716 0 0 0 2.653-2.52c1.527-1.755 2.972-4.111 2.972-6.699A5.625 5.625 0 0 0 10 2.5zm0 15.625-.359.512-.002-.002-.004-.003-.005-.003a20.946 20.946 0 0 1-3.227-2.984c-1.598-1.838-3.278-4.482-3.278-7.52a6.875 6.875 0 0 1 13.75 0c0 3.037-1.68 5.681-3.278 7.52a20.935 20.935 0 0 1-2.949 2.778 12.291 12.291 0 0 1-.267.198l-.016.011-.004.003-.002.001-.359-.511zm0 0 .358.512a.625.625 0 0 1-.716 0l.358-.512z\"/></svg>
Доставка по всей России и СНГ
</a>
";
// line 134
yield " </div>
<div class=\"helpnav__center\">
";
// line 136
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["cart"]) || array_key_exists("cart", $context) ? $context["cart"] : (function () { throw new RuntimeError('Variable "cart" does not exist.', 136, $this->source); })()), "counterpartyId", [], "any", false, false, false, 136) && Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $this->extensions['AvenueAdminBundle\Twig\TwigExtension']->getIdentity(), "managers", [], "any", false, false, false, 136)))) {
// line 137
yield " <div class=\"helpnav__item helpnav__person\">
";
// line 138
$context["manager"] = Twig\Extension\CoreExtension::first($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $this->extensions['AvenueAdminBundle\Twig\TwigExtension']->getIdentity(), "managers", [], "any", false, false, false, 138));
// line 139
yield " <a href=\"tel:";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["manager"]) || array_key_exists("manager", $context) ? $context["manager"] : (function () { throw new RuntimeError('Variable "manager" does not exist.', 139, $this->source); })()), "phone", [], "any", false, false, false, 139), "html", null, true);
yield "\" class=\"person\">
";
// line 140
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["manager"]) || array_key_exists("manager", $context) ? $context["manager"] : (function () { throw new RuntimeError('Variable "manager" does not exist.', 140, $this->source); })()), "picture", [], "any", false, false, false, 140)) {
// line 141
yield " <span class=\"person__photo\">
";
// line 142
yield Twig\Extension\CoreExtension::include($this->env, $context, "application/partial/picture.html.twig", ["image" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["manager"]) || array_key_exists("manager", $context) ? $context["manager"] : (function () { throw new RuntimeError('Variable "manager" does not exist.', 142, $this->source); })()), "picture", [], "any", false, false, false, 142), "width" => 38, "height" => 38]);
yield "
</span>
";
}
// line 145
yield " <span class=\"person__detail\">
<span class=\"person__name\">";
// line 146
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["manager"]) || array_key_exists("manager", $context) ? $context["manager"] : (function () { throw new RuntimeError('Variable "manager" does not exist.', 146, $this->source); })()), "fullName", [], "any", false, false, false, 146), "html", null, true);
yield "</span>
<span class=\"person__status\">";
// line 147
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["manager"]) || array_key_exists("manager", $context) ? $context["manager"] : (function () { throw new RuntimeError('Variable "manager" does not exist.', 147, $this->source); })()), "formattedPhone", [], "any", false, false, false, 147), "html", null, true);
yield "</span>
</span>
</a>
</div>
";
}
// line 152
yield "
<div class=\"helpnav__item\">
<a href=\"tel:+ 78124091555\" class=\"phone-link\">
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.294 2.275c.217.186.358.41.42.564.035.086.277.653.558 1.314l.165.386c.317.745.644 1.515.742 1.755.17.315.201.81-.116 1.29a.626.626 0 0 1-.011.017c-.036.05-.143.215-.287.434l-.3.461c-.24.364-.517.783-.674.987a5.906 5.906 0 0 0 2.747 2.74 1.72 1.72 0 0 0 .043-.024l.005-.003.076-.05.212-.143a165.778 165.778 0 0 0 .608-.415c.22-.15.445-.303.63-.426.153-.102.31-.204.41-.26a1.243 1.243 0 0 1 1.158-.095c.33.135 3.242 1.367 3.676 1.579a1.242 1.242 0 0 1 .732 1.295 4.375 4.375 0 0 1-1.448 2.728 4.229 4.229 0 0 1-2.89 1.091A11.25 11.25 0 0 1 2.816 8.897v-.002a9.436 9.436 0 0 1-.218-2.549c.054-.99.292-2.12.976-2.966a.593.593 0 0 1 .006-.007c.735-.881 1.592-1.306 2.643-1.44a1.407 1.407 0 0 1 1.071.343zm-.93.9c-.749.099-1.306.38-1.82.995-.441.547-.65 1.364-.697 2.244a8.195 8.195 0 0 0 .184 2.19 10 10 0 0 0 9.719 7.646 2.98 2.98 0 0 0 2.064-.78c.569-.5.936-1.19 1.034-1.942a.58.58 0 0 1-.037-.018c-.295-.15-3.287-1.417-3.61-1.549a.443.443 0 0 1-.01-.004.61.61 0 0 1-.058.035l-.026.015a13.82 13.82 0 0 0-.302.196c-.18.119-.4.268-.619.418l-.257.175-.352.24a8.529 8.529 0 0 1-.377.25 1.58 1.58 0 0 1-.277.13 1.25 1.25 0 0 1-.917-.062l-.004-.002a7.157 7.157 0 0 1-3.338-3.33l-.001-.002a1.25 1.25 0 0 1 .119-1.275c.09-.111.353-.503.637-.935l.265-.405c.154-.236.285-.436.34-.515a.26.26 0 0 0 .027-.054 210.658 210.658 0 0 0-.765-1.807c-.054-.13-.11-.258-.163-.384-.27-.635-.51-1.199-.562-1.325a.413.413 0 0 0-.08-.096.227.227 0 0 0-.067-.041.126.126 0 0 0-.05-.009z\"/></svg>
+7 (812) 409 1 555
</a>
</div>
<div class=\"helpnav__item\">
<button class=\"btn btn--outline btn--sm\" data-fancybox=\"feedback\" data-src=\"#requestCall\">
<span class=\"btn__text\">Перезвоните мне</span>
</button>
</div>
</div>
<div class=\"helpnav__right\">
";
// line 166
if ($this->extensions['AvenueAdminBundle\Twig\TwigExtension']->getIdentity()) {
// line 167
yield " <div class=\"dropdown user\">
<a href=\"#\" class=\"dropdown__toggle\">
";
// line 169
if (CoreExtension::getAttribute($this->env, $this->source, $this->extensions['AvenueAdminBundle\Twig\TwigExtension']->getIdentity(), "seller", [], "any", false, false, false, 169)) {
// line 170
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["cart"]) || array_key_exists("cart", $context) ? $context["cart"] : (function () { throw new RuntimeError('Variable "cart" does not exist.', 170, $this->source); })()), "counterpartyName", [], "any", false, false, false, 170)) {
// line 171
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cart"]) || array_key_exists("cart", $context) ? $context["cart"] : (function () { throw new RuntimeError('Variable "cart" does not exist.', 171, $this->source); })()), "counterpartyName", [], "any", false, false, false, 171), "html", null, true);
yield "
";
} else {
// line 173
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['AvenueAdminBundle\Twig\TwigExtension']->getIdentity(), "name", [], "any", false, false, false, 173), "html", null, true);
yield "
";
}
// line 175
yield " ";
} else {
// line 176
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['AvenueAdminBundle\Twig\TwigExtension']->getIdentity(), "name", [], "any", false, false, false, 176), "html", null, true);
yield "
";
}
// line 178
yield " <span class=\"caret\"><svg width=\"18\" height=\"18\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.867 5.146a.536.536 0 0 1 0 .708l-4.546 5a.426.426 0 0 1-.642 0l-4.546-5a.536.536 0 0 1 0-.708.426.426 0 0 1 .643 0L8 9.793l4.224-4.647a.426.426 0 0 1 .643 0z\"></path></svg></span>
</a>
<div class=\"dropdown__menu\">
<ul class=\"dropdown__list scroll\">
";
// line 182
if (CoreExtension::getAttribute($this->env, $this->source, $this->extensions['AvenueAdminBundle\Twig\TwigExtension']->getIdentity(), "seller", [], "any", false, false, false, 182)) {
// line 183
yield " <li class=\"dropdown__item\">
<div class=\"counterparty-link dropdown__link form__check\">
<input type=\"radio\" name=\"userTypeMobile\" value=\"\" id=\"userTypeMobile01\" ";
// line 185
if ( !CoreExtension::getAttribute($this->env, $this->source, (isset($context["cart"]) || array_key_exists("cart", $context) ? $context["cart"] : (function () { throw new RuntimeError('Variable "cart" does not exist.', 185, $this->source); })()), "counterpartyId", [], "any", false, false, false, 185)) {
yield "checked";
}
yield ">
<label for=\"userTypeMobile01\">
Розница
</label>
</div>
</li>
";
// line 192
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['AvenueAdminBundle\Twig\TwigExtension']->getIdentity(), "activeCounterparties", [], "any", false, false, false, 192));
foreach ($context['_seq'] as $context["_key"] => $context["counterparty"]) {
// line 193
yield " <li class=\"dropdown__item\">
<div data-id=\"";
// line 194
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["counterparty"], "id", [], "any", false, false, false, 194), "html", null, true);
yield "\" class=\"counterparty-link dropdown__link form__check\">
<input type=\"radio\" name=\"userTypeMobile\" value=\"\" id=\"userTypeMobile";
// line 195
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["counterparty"], "id", [], "any", false, false, false, 195), "html", null, true);
yield "\" ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cart"]) || array_key_exists("cart", $context) ? $context["cart"] : (function () { throw new RuntimeError('Variable "cart" does not exist.', 195, $this->source); })()), "counterpartyId", [], "any", false, false, false, 195), CoreExtension::getAttribute($this->env, $this->source, $context["counterparty"], "id", [], "any", false, false, false, 195)))) {
yield "checked";
}
yield ">
<label for=\"userTypeMobile";
// line 196
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["counterparty"], "id", [], "any", false, false, false, 196), "html", null, true);
yield "\">
";
// line 197
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["counterparty"], "name", [], "any", false, false, false, 197), "html", null, true);
yield "
</label>
</div>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['counterparty'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 202
yield " <li class=\"divider\"></li>
";
}
// line 204
yield " <li class=\"dropdown__item\"><a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("orders");
yield "\" class=\"dropdown__link\">Мои заказы</a></li>
";
// line 205
if (CoreExtension::getAttribute($this->env, $this->source, $this->extensions['AvenueAdminBundle\Twig\TwigExtension']->getIdentity(), "seller", [], "any", false, false, false, 205)) {
// line 206
yield " <li class=\"dropdown__item\"><a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("managers");
yield "\" class=\"dropdown__link\">Мои менеджеры</a></li>
";
}
// line 208
yield " <li class=\"dropdown__item\"><a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile");
yield "\" class=\"dropdown__link\">Личные данные</a></li>
<li class=\"dropdown__item\"><a href=\"";
// line 209
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("logout");
yield "\" class=\"dropdown__link\">Выйти</a></li>
</ul>
</div>
</div>
";
} else {
// line 214
yield " <a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
yield "\" class=\"helpnav__item login-link\">
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10 3.125a6.875 6.875 0 1 0 0 13.75 6.875 6.875 0 0 0 0-13.75zM1.875 10a8.125 8.125 0 1 1 16.25 0 8.125 8.125 0 0 1-16.25 0z\" fill=\"#fff\"/><path d=\"M10 6.875a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zm-3.75 2.5a3.75 3.75 0 1 1 7.5 0 3.75 3.75 0 0 1-7.5 0z\" fill=\"#fff\"/><path d=\"M10 13.124a5 5 0 0 0-4.458 2.737.625.625 0 1 1-1.115-.566 6.25 6.25 0 0 1 11.146 0 .625.625 0 1 1-1.114.566A5 5 0 0 0 10 13.124z\"/></svg>
Войти
</a>
";
}
// line 219
yield " </div>
</div>
</div>
<div class=\"header__container\">
<div class=\"header__content\">
<div class=\"container\">
<div class=\"navbar\">
<div class=\"navbar__logo\">
<a href=\"/\" class=\"navbar__brand brand\" aria-label=\"Decostore - На главную\">
<img src=\"/img/";
// line 228
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["cart"]) || array_key_exists("cart", $context) ? $context["cart"] : (function () { throw new RuntimeError('Variable "cart" does not exist.', 228, $this->source); })()), "counterparty", [], "any", false, false, false, 228)) {
yield "decostore-b2b.svg";
} else {
yield "decostore.svg";
}
yield "\" alt=\"\" class=\"brand__logo\">
</a>
</div>
<div class=\"navbar__nav\">
<nav class=\"nav\">
<ul class=\"nav__list\">
<li class=\"nav__item dropdown\">
<a href=\"";
// line 235
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("catalog");
yield "\" class=\"nav__link dropdown__toggle\">
Каталог
<span class=\"caret\"><svg width=\"18\" height=\"18\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.867 5.146a.536.536 0 0 1 0 .708l-4.546 5a.426.426 0 0 1-.642 0l-4.546-5a.536.536 0 0 1 0-.708.426.426 0 0 1 .643 0L8 9.793l4.224-4.647a.426.426 0 0 1 .643 0z\"/></svg></span>
</a>
<div class=\"dropdown__menu\">
<ul class=\"dropdown__list scroll\">
";
// line 241
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["global"]) || array_key_exists("global", $context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.', 241, $this->source); })()), "menu", [], "any", false, false, false, 241));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 242
yield " <li class=\"dropdown__item\"><a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['AvenueAdminBundle\Twig\TwigExtension']->documentUrl($context["category"]), "html", null, true);
yield "\" class=\"dropdown__link\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 242, $this->source); })()), "request", [], "any", false, false, false, 242), "locale", [], "any", false, false, false, 242)], "method", false, false, false, 242), "html", null, true);
yield "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 244
yield " </ul>
</div>
</li>
<li class=\"nav__item\">
<a href=\"";
// line 248
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("gallery");
yield "\" class=\"nav__link\">Галерея проектов</a>
</li>
<li class=\"nav__item dropdown\">
<a href=\"#\" class=\"nav__link dropdown__toggle\">
Компания
<span class=\"caret\"><svg width=\"18\" height=\"18\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.867 5.146a.536.536 0 0 1 0 .708l-4.546 5a.426.426 0 0 1-.642 0l-4.546-5a.536.536 0 0 1 0-.708.426.426 0 0 1 .643 0L8 9.793l4.224-4.647a.426.426 0 0 1 .643 0z\"/></svg></span>
</a>
<div class=\"dropdown__menu\">
<ul class=\"dropdown__list scroll\">
<li class=\"dropdown__item\"><a href=\"";
// line 257
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("about");
yield "\" class=\"dropdown__link\">О нас</a></li>
<li class=\"dropdown__item\"><a href=\"";
// line 258
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("arhitektoram-i-stroitelyam");
yield "\" class=\"dropdown__link\">Архитекторам, дизайнерам и строителям</a></li>
<li class=\"dropdown__item\"><a href=\"";
// line 259
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("izgotovlenie-individualnih-izdelii");
yield "\" class=\"dropdown__link\">Изготовление индивидуальных изделий</a></li>
<li class=\"dropdown__item\"><a href=\"";
// line 260
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("montazh");
yield "\" class=\"dropdown__link\">Инструкции по монтажу</a></li>
<li class=\"dropdown__item\"><a href=\"";
// line 261
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("catalog");
yield "/sale\" class=\"dropdown__link\">Распродажа</a></li>
<li class=\"dropdown__item\"><a href=\"";
// line 262
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blog");
yield "\" class=\"dropdown__link\">Статьи</a></li>
<li class=\"dropdown__item\"><a href=\"";
// line 263
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contacts");
yield "\" class=\"dropdown__link\">Контакты</a></li>
</ul>
</div>
</li>
";
// line 267
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["cart"]) || array_key_exists("cart", $context) ? $context["cart"] : (function () { throw new RuntimeError('Variable "cart" does not exist.', 267, $this->source); })()), "counterparty", [], "any", false, false, false, 267)) {
// line 268
yield " <li class=\"nav__item dropdown\">
<a href=\"#\" class=\"nav__link dropdown__toggle\">
Дилерам
<span class=\"caret\"><svg width=\"18\" height=\"18\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.867 5.146a.536.536 0 0 1 0 .708l-4.546 5a.426.426 0 0 1-.642 0l-4.546-5a.536.536 0 0 1 0-.708.426.426 0 0 1 .643 0L8 9.793l4.224-4.647a.426.426 0 0 1 .643 0z\"/></svg></span>
</a>
<div class=\"dropdown__menu\">
<ul class=\"dropdown__list scroll\">
";
// line 276
yield " ";
// line 277
yield " <li class=\"dropdown__item\"><a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("prices");
yield "\" class=\"dropdown__link\">Прайс листы</a></li>
<li class=\"dropdown__item\"><a href=\"";
// line 278
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("presentations");
yield "\" class=\"dropdown__link\">Презентации</a></li>
<li class=\"dropdown__item\"><a href=\"";
// line 279
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("catalogs");
yield "\" class=\"dropdown__link\">Каталоги</a></li>
<li class=\"dropdown__item\"><a href=\"";
// line 280
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("booklets");
yield "\" class=\"dropdown__link\">Листовки</a></li>
</ul>
</div>
</li>
";
} else {
// line 285
yield " <li class=\"nav__item\">
<a href=\"";
// line 286
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dileram");
yield "\" class=\"nav__link\">Дилерам</a>
</li>
";
}
// line 289
yield " <li class=\"nav__item nav__item--search\">
<button class=\"nav__link navbar__btn a-search-toggle\" title=\"Искать на сайте\">
<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.25 2.5a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5zM1.5 7.25a5.75 5.75 0 1 1 11.5 0 5.75 5.75 0 0 1-11.5 0z\"/><path d=\"M10.609 10.609a.5.5 0 0 1 .707 0l3.038 3.037a.5.5 0 0 1-.707.707l-3.038-3.037a.5.5 0 0 1 0-.707z\"/></svg>
</button>
</li>
</ul>
</nav>
<form x-data=\"searchForm\" x-init=\"getSearchData(text); \$watch('text', value => getSearchData(value))\" action=\"";
// line 296
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("search");
yield "\" class=\"navbar__search search form a-search dropdown\">
<div class=\"form__group\"><input x-model=\"text\" name=\"searchText\" type=\"text\" class=\"form__control\" aria-label=\"Поиск по сайту\"></div>
<div class=\"form__btn\">
<button class=\"search__clear a-search-toggle\" type=\"reset\" aria-label=\"Сбросить\">
<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M3.146 3.146a.5.5 0 0 1 .708 0l9 9a.5.5 0 0 1-.708.708l-9-9a.5.5 0 0 1 0-.708z\"/><path d=\"M12.854 3.146a.5.5 0 0 0-.708 0l-9 9a.5.5 0 0 0 .708.708l9-9a.5.5 0 0 0 0-.708z\"/></svg>
</button>
<button class=\"search__btn navbar__btn\" title=\"Искать\" disabled>
<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.25 2.5a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5zM1.5 7.25a5.75 5.75 0 1 1 11.5 0 5.75 5.75 0 0 1-11.5 0z\"/><path d=\"M10.609 10.609a.5.5 0 0 1 .707 0l3.038 3.037a.5.5 0 0 1-.707.707l-3.038-3.037a.5.5 0 0 1 0-.707z\"/></svg>
</button>
</div>
<div class=\"dropdown__menu\">
<div class=\"scroll\">
<ul x-show=\"categories.length > 0\" class=\"dropdown__list\">
<template x-for=\"(item, index) in categories\" :key=\"index\">
<li class=\"dropdown__item\"><a x-text=\"item.name\" x-bind:href=\"item.url\" class=\"dropdown__link\"></a></li>
</template>
</ul>
<div x-show=\"products.length > 0\" class=\"dropdown__title\"><span class=\"dropdown__title-text\">Популярные товары</span></div>
<ul x-show=\"products.length > 0\" class=\"dropdown__list\">
<template x-for=\"(item, index) in products\" :key=\"index\">
<li class=\"dropdown__item item-search\">
<div class=\"item-search__photo\">
<picture x-show=\"item.image\">
<source x-bind:srcset=\"item.webp + ' 1x, ' + item.webpRetina + ' 2x'\"
type=\"image/webp\">
<img x-bind:src=\"item.image\" x-bind:srcset=\"item.imageRetina + ' 2x'\"
alt=\"\" width=\"74\" height=\"61\">
</picture>
</div>
<div class=\"item-search__title\"><a x-text=\"item.name\" x-bind:href=\"item.url\"></a></div>
<div x-text=\"item.price ? Math.round(item.price) + ' ₽' : ''\" class=\"item-search__price\" ></div>
</li>
</template>
</ul>
</div>
</div>
</form>
</div>
<div class=\"navbar__control\">
<button class=\"navbar__btn navbar__btn--phone\" data-fancybox=\"feedbackM\" data-src=\"#requestCall\" aria-label=\"Перезвонить мне\">
<svg width=\"32\" height=\"32\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.294 2.275c.217.186.358.41.42.564.035.086.277.653.558 1.314l.165.386c.317.745.644 1.515.742 1.755.17.315.201.81-.116 1.29a.626.626 0 0 1-.011.017c-.036.05-.143.215-.287.434l-.3.461c-.24.364-.517.783-.674.987a5.906 5.906 0 0 0 2.747 2.74 1.72 1.72 0 0 0 .043-.024l.005-.003.076-.05.212-.143a165.778 165.778 0 0 0 .608-.415c.22-.15.445-.303.63-.426.153-.102.31-.204.41-.26a1.243 1.243 0 0 1 1.158-.095c.33.135 3.242 1.367 3.676 1.579a1.242 1.242 0 0 1 .732 1.295 4.375 4.375 0 0 1-1.448 2.728 4.229 4.229 0 0 1-2.89 1.091A11.25 11.25 0 0 1 2.816 8.897v-.002a9.436 9.436 0 0 1-.218-2.549c.054-.99.292-2.12.976-2.966a.593.593 0 0 1 .006-.007c.735-.881 1.592-1.306 2.643-1.44a1.407 1.407 0 0 1 1.071.343zm-.93.9c-.749.099-1.306.38-1.82.995-.441.547-.65 1.364-.697 2.244a8.195 8.195 0 0 0 .184 2.19 10 10 0 0 0 9.719 7.646 2.98 2.98 0 0 0 2.064-.78c.569-.5.936-1.19 1.034-1.942a.58.58 0 0 1-.037-.018c-.295-.15-3.287-1.417-3.61-1.549a.443.443 0 0 1-.01-.004.61.61 0 0 1-.058.035l-.026.015a13.82 13.82 0 0 0-.302.196c-.18.119-.4.268-.619.418l-.257.175-.352.24a8.529 8.529 0 0 1-.377.25 1.58 1.58 0 0 1-.277.13 1.25 1.25 0 0 1-.917-.062l-.004-.002a7.157 7.157 0 0 1-3.338-3.33l-.001-.002a1.25 1.25 0 0 1 .119-1.275c.09-.111.353-.503.637-.935l.265-.405c.154-.236.285-.436.34-.515a.26.26 0 0 0 .027-.054 210.658 210.658 0 0 0-.765-1.807c-.054-.13-.11-.258-.163-.384-.27-.635-.51-1.199-.562-1.325a.413.413 0 0 0-.08-.096.227.227 0 0 0-.067-.041.126.126 0 0 0-.05-.009z\"/></svg>
</button>
";
// line 338
if ($this->extensions['AvenueAdminBundle\Twig\TwigExtension']->getIdentity()) {
// line 339
yield " <div class=\"navbar__btn navbar__btn--user dropdown user\">
<a href=\"#\" class=\"dropdown__toggle\" aria-label=\"Профиль пользователя\">
<svg width=\"32\" height=\"32\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10 3.125a6.875 6.875 0 1 0 0 13.75 6.875 6.875 0 0 0 0-13.75zM1.875 10a8.125 8.125 0 1 1 16.25 0 8.125 8.125 0 0 1-16.25 0z\" fill=\"#fff\"/><path d=\"M10 6.875a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zm-3.75 2.5a3.75 3.75 0 1 1 7.5 0 3.75 3.75 0 0 1-7.5 0z\" fill=\"#fff\"/><path d=\"M10 13.124a5 5 0 0 0-4.458 2.737.625.625 0 1 1-1.115-.566 6.25 6.25 0 0 1 11.146 0 .625.625 0 1 1-1.114.566A5 5 0 0 0 10 13.124z\"/></svg>
</a>
<div class=\"dropdown__menu\">
<ul class=\"dropdown__list scroll\">
";
// line 345
if (CoreExtension::getAttribute($this->env, $this->source, $this->extensions['AvenueAdminBundle\Twig\TwigExtension']->getIdentity(), "seller", [], "any", false, false, false, 345)) {
// line 346
yield " <li class=\"dropdown__item\">
<div class=\"counterparty-link dropdown__link form__check\">
<input type=\"radio\" name=\"userType\" value=\"\" id=\"userType01\" ";
// line 348
if ( !CoreExtension::getAttribute($this->env, $this->source, (isset($context["cart"]) || array_key_exists("cart", $context) ? $context["cart"] : (function () { throw new RuntimeError('Variable "cart" does not exist.', 348, $this->source); })()), "counterpartyId", [], "any", false, false, false, 348)) {
yield "checked";
}
yield ">
<label for=\"userType01\">
Розница
</label>
</div>
</li>
";
// line 355
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['AvenueAdminBundle\Twig\TwigExtension']->getIdentity(), "activeCounterparties", [], "any", false, false, false, 355));
foreach ($context['_seq'] as $context["_key"] => $context["counterparty"]) {
// line 356
yield " <li class=\"dropdown__item\">
<div data-id=\"";
// line 357
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["counterparty"], "id", [], "any", false, false, false, 357), "html", null, true);
yield "\" class=\"counterparty-link dropdown__link form__check\">
<input type=\"radio\" name=\"userType\" value=\"\" id=\"userType";
// line 358
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["counterparty"], "id", [], "any", false, false, false, 358), "html", null, true);
yield "\" ";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cart"]) || array_key_exists("cart", $context) ? $context["cart"] : (function () { throw new RuntimeError('Variable "cart" does not exist.', 358, $this->source); })()), "counterpartyId", [], "any", false, false, false, 358), CoreExtension::getAttribute($this->env, $this->source, $context["counterparty"], "id", [], "any", false, false, false, 358)))) {
yield "checked";
}
yield ">
<label for=\"userType";
// line 359
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["counterparty"], "id", [], "any", false, false, false, 359), "html", null, true);
yield "\">
";
// line 360
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["counterparty"], "name", [], "any", false, false, false, 360), "html", null, true);
yield "
</label>
</div>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['counterparty'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 365
yield " <li class=\"divider\"></li>
";
}
// line 367
yield " <li class=\"dropdown__item\"><a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("orders");
yield "\" class=\"dropdown__link\">Мои заказы</a></li>
";
// line 368
if (CoreExtension::getAttribute($this->env, $this->source, $this->extensions['AvenueAdminBundle\Twig\TwigExtension']->getIdentity(), "seller", [], "any", false, false, false, 368)) {
// line 369
yield " <li class=\"dropdown__item\"><a href=\"\" class=\"dropdown__link\">Мои менеджеры</a></li>
";
}
// line 371
yield " <li class=\"dropdown__item\"><a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile");
yield "\" class=\"dropdown__link\">Личные данные</a></li>
<li class=\"dropdown__item\"><a href=\"";
// line 372
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("logout");
yield "\" class=\"dropdown__link\">Выйти</a></li>
</ul>
</div>
</div>
";
} else {
// line 377
yield " <a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
yield "\" class=\"navbar__btn navbar__btn--user\" aria-label=\"Войти\">
<svg width=\"32\" height=\"32\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10 3.125a6.875 6.875 0 1 0 0 13.75 6.875 6.875 0 0 0 0-13.75zM1.875 10a8.125 8.125 0 1 1 16.25 0 8.125 8.125 0 0 1-16.25 0z\" fill=\"#fff\"/><path d=\"M10 6.875a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zm-3.75 2.5a3.75 3.75 0 1 1 7.5 0 3.75 3.75 0 0 1-7.5 0z\" fill=\"#fff\"/><path d=\"M10 13.124a5 5 0 0 0-4.458 2.737.625.625 0 1 1-1.115-.566 6.25 6.25 0 0 1 11.146 0 .625.625 0 1 1-1.114.566A5 5 0 0 0 10 13.124z\"/></svg>
</a>
";
}
// line 381
yield " <button class=\"navbar__btn navbar__btn--search a-search-toggle\" aria-label=\"Искать на сайте\">
<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.25 2.5a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5zM1.5 7.25a5.75 5.75 0 1 1 11.5 0 5.75 5.75 0 0 1-11.5 0z\"/><path d=\"M10.609 10.609a.5.5 0 0 1 .707 0l3.038 3.037a.5.5 0 0 1-.707.707l-3.038-3.037a.5.5 0 0 1 0-.707z\"/></svg>
</button>
<div id=\"compareDiv\">
";
// line 385
yield Twig\Extension\CoreExtension::include($this->env, $context, "application/partial/compare.html.twig");
yield "
</div>
<div id=\"cartDiv\">
";
// line 388
yield Twig\Extension\CoreExtension::include($this->env, $context, "application/partial/cart.html.twig");
yield "
</div>
</div>
<button class=\"navbar__toggle\" aria-label=\"Показать меню\" data-fancybox=\"menu\" data-src=\"#mainNav\">
<span class=\"navbar__toggle-icon\"></span>
</button>
</div>
</div>
<div class=\"search__backdrop a-search-toggle\"></div>
</div>
</div>
<div class=\"modal mainnav\" id=\"mainNav\" style=\"display:none;\">
<div class=\"mainnav__content\">
<div class=\"mainnav__sidebar\">
<div class=\"mainnav__header\">
<div class=\"navbar__logo\">
<a href=\"/\" class=\"navbar__brand brand\">
<img src=\"/img/decostore.svg\" alt=\"\" width=\"180\" class=\"brand__logo\" loading=\"lazy\">
</a>
</div>
";
// line 434
yield " </div>
<div class=\"site-nav\">
<div class=\"site-nav__group collapse a-collapse\">
<div class=\"site-nav__title collapse__toggle\">
<a href=\"";
// line 438
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("about");
yield "\">
Компания
<span class=\"caret\"><svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.867 5.146a.536.536 0 0 1 0 .708l-4.546 5a.426.426 0 0 1-.642 0l-4.546-5a.536.536 0 0 1 0-.708.426.426 0 0 1 .643 0L8 9.793l4.224-4.647a.426.426 0 0 1 .643 0z\"/></svg></span>
</a>
</div>
<ul class=\"site-nav__list collapse__body\">
<li class=\"site-nav__item\"><a href=\"";
// line 444
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("about");
yield "\" class=\"site-nav__link\">О нас</a></li>
<li class=\"site-nav__item\"><a href=\"";
// line 445
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("gallery");
yield "\" class=\"site-nav__link\">Галерея проектов</a></li>
<li class=\"site-nav__item\"><a href=\"";
// line 446
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dileram");
yield "\" class=\"site-nav__link\">Стать дилером</a></li>
<li class=\"site-nav__item\"><a href=\"";
// line 447
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("arhitektoram-i-stroitelyam");
yield "\" class=\"site-nav__link\">Архитекторам, дизайнерам и строителям</a></li>
<li class=\"site-nav__item\"><a href=\"";
// line 448
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("izgotovlenie-individualnih-izdelii");
yield "\" class=\"site-nav__link\">Изготовление индивидуальных изделий</a></li>
<li class=\"site-nav__item\"><a href=\"";
// line 449
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("montazh");
yield "\" class=\"site-nav__link\">Инструкции по монтажу</a></li>
<li class=\"site-nav__item\"><a href=\"";
// line 450
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("catalog");
yield "/sale\" class=\"site-nav__link\">Распродажа</a></li>
<li class=\"site-nav__item\"><a href=\"";
// line 451
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blog");
yield "\" class=\"site-nav__link\">Статьи</a></li>
<li class=\"site-nav__item\"><a href=\"";
// line 452
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contacts");
yield "\" class=\"site-nav__link\">Контакты</a></li>
</ul>
</div>
";
// line 455
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["cart"]) || array_key_exists("cart", $context) ? $context["cart"] : (function () { throw new RuntimeError('Variable "cart" does not exist.', 455, $this->source); })()), "counterparty", [], "any", false, false, false, 455)) {
// line 456
yield " <div class=\"site-nav__group collapse a-collapse\">
<div class=\"site-nav__title collapse__toggle\">
<a href=\"";
// line 458
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("marketing");
yield "\">
Дилерам
<span class=\"caret\"><svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.867 5.146a.536.536 0 0 1 0 .708l-4.546 5a.426.426 0 0 1-.642 0l-4.546-5a.536.536 0 0 1 0-.708.426.426 0 0 1 .643 0L8 9.793l4.224-4.647a.426.426 0 0 1 .643 0z\"/></svg></span>
</a>
</div>
<ul class=\"site-nav__list collapse__body\">
";
// line 465
yield " ";
// line 466
yield " <li class=\"site-nav__item\"><a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("prices");
yield "\" class=\"site-nav__link\">Прайс листы</a></li>
<li class=\"site-nav__item\"><a href=\"";
// line 467
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("presentations");
yield "\" class=\"site-nav__link\">Презентации</a></li>
<li class=\"site-nav__item\"><a href=\"";
// line 468
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("catalogs");
yield "\" class=\"site-nav__link\">Каталоги</a></li>
<li class=\"site-nav__item\"><a href=\"";
// line 469
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("booklets");
yield "\" class=\"site-nav__link\">Листовки</a></li>
</ul>
</div>
";
}
// line 473
yield " <div class=\"site-nav__group collapse a-collapse\">
<ul class=\"site-nav__list collapse__body\">
";
// line 477
yield " <li class=\"site-nav__item\"><a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("delivery");
yield "\" class=\"site-nav__link\">Доставка и оплата</a></li>
<li class=\"site-nav__item\"><a href=\"";
// line 478
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("help");
yield "\" class=\"site-nav__link\">Помощь</a></li>
";
// line 484
yield " </ul>
</div>
";
// line 504
yield "
</div>
</div>
<div class=\"mainnav__main\">
<div class=\"category\">
";
// line 509
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["global"]) || array_key_exists("global", $context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.', 509, $this->source); })()), "menu", [], "any", false, false, false, 509));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 510
yield " <div class=\"category__group\">
";
// line 511
if (CoreExtension::getAttribute($this->env, $this->source, $context["category"], "image", [], "any", false, false, false, 511)) {
// line 512
yield " <div class=\"category__photo\">
";
// line 513
yield Twig\Extension\CoreExtension::include($this->env, $context, "application/partial/picture.html.twig", ["image" => CoreExtension::getAttribute($this->env, $this->source, $context["category"], "image", [], "any", false, false, false, 513), "width" => 70, "height" => 102]);
yield "
</div>
";
}
// line 516
yield " <div class=\"category__detail collapse a-collapse\">
<div class=\"category__title collapse__toggle\">
<a href=\"";
// line 518
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['AvenueAdminBundle\Twig\TwigExtension']->documentUrl($context["category"]), "html", null, true);
yield "\">
";
// line 519
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 519, $this->source); })()), "request", [], "any", false, false, false, 519), "locale", [], "any", false, false, false, 519)], "method", false, false, false, 519), "html", null, true);
yield "
<span class=\"caret\"><svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.867 5.146a.536.536 0 0 1 0 .708l-4.546 5a.426.426 0 0 1-.642 0l-4.546-5a.536.536 0 0 1 0-.708.426.426 0 0 1 .643 0L8 9.793l4.224-4.647a.426.426 0 0 1 .643 0z\"/></svg></span>
</a>
</div>
";
// line 523
if (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 523))) {
// line 524
yield " <ul class=\"category__list collapse__body\">
";
// line 525
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "children", [], "any", false, false, false, 525));
foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
// line 526
yield " <li class=\"category__item\"><a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['AvenueAdminBundle\Twig\TwigExtension']->documentUrl($context["child"]), "html", null, true);
yield "\" class=\"category__link\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["child"], "name", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 526, $this->source); })()), "request", [], "any", false, false, false, 526), "locale", [], "any", false, false, false, 526)], "method", false, false, false, 526), "html", null, true);
yield "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 528
yield " </ul>
";
}
// line 530
yield " </div>
</div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 533
yield " </div>
</div>
</div>
</div>
</header>
";
// line 539
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 542
yield "
<footer class=\"footer\">
<div class=\"container\">
<div class=\"footer__content\">
<div class=\"footer__row\">
<div class=\"footer__sidebar\">
<img src=\"/img/decostore.svg\" width=\"210\" alt=\"Decostore\" loading=\"lazy\">
</div>
<div class=\"footer__main\">
<div class=\"footer__row\">
<div class=\"footer__column collapse a-collapse\">
<div class=\"footer__title collapse__toggle\">
<a class=\"\">
Каталог
<span class=\"caret\"><svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.867 5.146a.536.536 0 0 1 0 .708l-4.546 5a.426.426 0 0 1-.642 0l-4.546-5a.536.536 0 0 1 0-.708.426.426 0 0 1 .643 0L8 9.793l4.224-4.647a.426.426 0 0 1 .643 0z\"/></svg></span>
</a>
</div>
<div class=\"collapse__body\">
<ul class=\"footernav\">
";
// line 561
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["global"]) || array_key_exists("global", $context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.', 561, $this->source); })()), "menu", [], "any", false, false, false, 561));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 562
yield " <li class=\"footernav__item\"><a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['AvenueAdminBundle\Twig\TwigExtension']->documentUrl($context["category"]), "html", null, true);
yield "\" class=\"footernav__link\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 562, $this->source); })()), "request", [], "any", false, false, false, 562), "locale", [], "any", false, false, false, 562)], "method", false, false, false, 562), "html", null, true);
yield "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 564
yield " </ul>
</div>
</div>
<div class=\"footer__column collapse a-collapse\">
<div class=\"footer__title collapse__toggle\">
<a class=\"\">
Компания
<span class=\"caret\"><svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.867 5.146a.536.536 0 0 1 0 .708l-4.546 5a.426.426 0 0 1-.642 0l-4.546-5a.536.536 0 0 1 0-.708.426.426 0 0 1 .643 0L8 9.793l4.224-4.647a.426.426 0 0 1 .643 0z\"/></svg></span>
</a>
</div>
<div class=\"collapse__body\">
<ul class=\"footernav\">
<li class=\"footernav__item\"><a href=\"";
// line 576
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("about");
yield "\" class=\"footernav__link\">О нас</a></li>
<li class=\"footernav__item\"><a href=\"";
// line 577
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("gallery");
yield "\" class=\"footernav__link\">Галерея проектов</a></li>
<li class=\"footernav__item\"><a href=\"";
// line 578
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dileram");
yield "\" class=\"footernav__link\">Стать дилером</a></li>
<li class=\"footernav__item\"><a href=\"";
// line 579
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("arhitektoram-i-stroitelyam");
yield "\" class=\"footernav__link\">Архитекторам, дизайнерам и строителям</a></li>
<li class=\"footernav__item\"><a href=\"";
// line 580
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("izgotovlenie-individualnih-izdelii");
yield "\" class=\"footernav__link\">Изготовление индивидуальных изделий</a></li>
<li class=\"footernav__item\"><a href=\"";
// line 581
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("montazh");
yield "\" class=\"footernav__link\">Инструкции по монтажу</a></li>
<li class=\"footernav__item\"><a href=\"";
// line 582
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("catalog");
yield "/sale\" class=\"footernav__link\">Распродажа</a></li>
<li class=\"footernav__item\"><a href=\"";
// line 583
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blog");
yield "\" class=\"footernav__link\">Статьи</a></li>
<li class=\"footernav__item\"><a href=\"";
// line 584
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contacts");
yield "\" class=\"footernav__link\">Контакты</a></li>
</ul>
</div>
</div>
<div class=\"footer__column collapse a-collapse\">
<div class=\"collapse__body\">
<ul class=\"footernav\">
";
// line 593
yield " <li class=\"footernav__item\"><a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("delivery");
yield "\" class=\"footernav__link\">Доставка и оплата</a></li>
<li class=\"footernav__item\"><a href=\"";
// line 594
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("help");
yield "\" class=\"footernav__link\">Помощь</a></li>
";
// line 599
yield " <li class=\"footernav__item\"><a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blog");
yield "\" class=\"footernav__link\">Статьи</a></li>
</ul>
</div>
</div>
<div class=\"footer__column\">
<div class=\"footer__title\">Контакты</div>
<div class=\"item-contact\">
СПб, Ленинский пр-т, д. 140Е, ТВЦ \"Загородный дом\",
1-й этаж, мод. 9.
</div>
<div class=\"item-contact\"><a href=\"tel:+78124091555\" class=\"phone-link\">+7 (812) 380-87-93</a></div>
<div class=\"item-contact\"><a href=\"mailto:cosca@coscadecor.com\" class=\"mail-link\">cosca@coscadecor.com</a></div>
";
// line 618
yield " <div class=\"item-contact footer__requisites\">
ООО «Декостор»<br />
ИНН 470300285480<br />
ОГРН 304470335000088
</div>
<div class=\"item-contact\">
<button class=\"btn btn--outline\" data-fancybox=\"feedback2\" data-src=\"#requestCall\">
<span class=\"btn__text\">перезвоните мне</span>
</button>
</div>
<ul class=\"social\">
<li class=\"social__item\">
<a href=\"https://www.youtube.com/channel/UCGtVDT427P_lwGt5OPCiv1w\" target=\"_blank\" class=\"social__link\" aria-label=\"Youtube\">
<svg width=\"25\" height=\"17\" viewBox=\"0 0 25 17\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M24.86 3.8c0-.2-.327-1.8-1.09-2.5C22.79.3 21.698.2 21.153.2h-.109C17.664 0 12.648 0 12.54 0c0 0-5.124 0-8.505.2h-.109C3.38.2 2.29.3 1.308 1.3.545 2.1.218 3.7.218 3.9.218 4 0 5.8 0 7.7v1.7c0 1.9.218 3.7.218 3.8 0 .2.327 1.8 1.09 2.5.873.9 1.963 1 2.617 1.1h.327c1.963.2 7.96.2 8.178.2 0 0 5.125 0 8.505-.2h.11c.544-.1 1.635-.2 2.616-1.1.763-.8 1.09-2.4 1.09-2.6 0-.1.218-1.9.218-3.8V7.6c.11-1.8-.109-3.7-.109-3.8zm-8.068 4.9-6.543 3.2c-.109 0-.109.1-.218.1s-.218 0-.218-.1c-.109-.1-.218-.2-.218-.4V5c0-.2.11-.3.218-.4.11-.1.327-.1.545 0l6.543 3.2c.218.1.327.2.327.4s-.218.4-.436.5z\"/></svg>
</a>
</li>
<li class=\"social__item\">
<a href=\"https://vk.com/cosca_decor\" target=\"_blank\" class=\"social__link\" aria-label=\"ВКонтакте\">
<svg width=\"26\" height=\"14\" viewBox=\"0 0 26 14\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M25.412.962a8.12 8.12 0 0 1-1.181 2.215l.02-.03c-.485.732-1.065 1.577-1.739 2.537-.578.757-.884 1.149-.918 1.176-.15.17-.253.377-.289.606v.006c.028.208.134.39.29.525l.433.437c2.319 2.155 3.623 3.641 3.912 4.458.038.09.06.194.06.302 0 .19-.067.366-.18.51l.001-.003a1.102 1.102 0 0 1-.85.283h.005-2.856c-.365 0-.701-.115-.964-.307l.003.002a7.196 7.196 0 0 1-1.03-.93l-.01-.011c-.5-.51-.942-.94-1.329-1.29-1.287-1.106-2.237-1.66-2.85-1.66a.917.917 0 0 0-.56.132l.005-.001a.708.708 0 0 0-.174.572v-.004a11.138 11.138 0 0 0-.04 1.375v-.016 1.136a.68.68 0 0 1 .017.153c0 .237-.12.448-.306.589h-.001a3.754 3.754 0 0 1-1.752.262l.014.001a9.72 9.72 0 0 1-4.632-1.242l.038.02c-1.637-.9-2.994-2.072-4.027-3.456l-.03-.041a25.568 25.568 0 0 1-2.677-3.913l-.076-.15A23.06 23.06 0 0 1 .403 2.457l-.065-.181A5.974 5.974 0 0 1 .002.772L0 .748C0 .253.322.005.966.005h2.85a1.225 1.225 0 0 1 .8.22L4.616.223c.216.215.377.479.456.773l.003.012a23.773 23.773 0 0 0 1.72 3.543l-.073-.135c.522.951 1.1 1.77 1.759 2.525l-.025-.03c.578.641 1.028.962 1.352.962l.035.001c.16 0 .3-.078.375-.196l.002-.002a1.6 1.6 0 0 0 .12-.771v.006-3.802a2.91 2.91 0 0 0-.347-1.242l.009.019a2.884 2.884 0 0 0-.488-.681l.004.003c-.178-.16-.3-.371-.337-.606L9.178.596c0-.167.085-.317.217-.415h.001a.78.78 0 0 1 .499-.175h4.501a.718.718 0 0 1 .606.218 1.234 1.234 0 0 1 .173.748V.967v5.07a.892.892 0 0 0 .147.572l-.002-.003c.079.106.211.174.36.174a1.1 1.1 0 0 0 .512-.158l-.003.002c.294-.184.548-.392.768-.629l.004-.005a15.483 15.483 0 0 0 1.794-2.205l.042-.068c.372-.56.776-1.247 1.14-1.954l.068-.144.483-.874C20.656.308 21.107 0 21.637 0l.061.001h-.003 2.85c.77 0 1.059.32.867.961z\"/></svg>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class=\"footer__info\">
<div class=\"footer__row\">
<div class=\"footer__sidebar\">
<div class=\"footer__brand\">
© ";
// line 649
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "Y"), "html", null, true);
yield " Decostore
</div>
</div>
<div class=\"footer__main\">
<ul class=\"infonav\">
<li class=\"infonav__item\">
<a href=\"";
// line 655
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("agreement");
yield "\" class=\"infonav__link\">Политика конфиденциальности</a>
</li>
<li class=\"infonav__item\">
<a href=\"";
// line 658
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("map");
yield "\" class=\"infonav__link\">Карта сайта</a>
</li>
</ul>
<ul class=\"payment\">
<li class=\"payment__item\">
<svg width=\"42\" height=\"15\" viewBox=\"0 0 42 15\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m16.817 1.82-2.135 12.848h3.415l2.136-12.847h-3.416zm-4.997.015-3.343 8.761-.357-1.322C7.46 7.68 5.59 5.39 3.392 3.947l3.056 10.715 3.612-.007 5.376-12.823-3.616.003z\"/><path d=\"M6.825 2.754c-.2-.783-.776-1.015-1.489-1.044H.044L0 1.967C4.12 2.991 6.844 5.46 7.975 8.43l-1.15-5.676zm20.327 1.53a6.164 6.164 0 0 1 2.555.492l.307.148.462-2.785a8.613 8.613 0 0 0-3.057-.538c-3.374 0-5.751 1.741-5.77 4.239-.021 1.844 1.694 2.875 2.99 3.49 1.33.631 1.776 1.032 1.77 1.594-.011.86-1.061 1.254-2.042 1.254-1.367 0-2.093-.194-3.215-.672l-.439-.205-.48 2.875c.799.36 2.273.668 3.804.684 3.587 0 5.92-1.721 5.945-4.39.014-1.46-.896-2.574-2.869-3.488-1.194-.595-1.925-.992-1.917-1.594 0-.534.62-1.105 1.956-1.105zm12.087-2.45h-2.64c-.818 0-1.427.23-1.787 1.067l-5.07 11.775h3.586s.584-1.583.717-1.93l4.371.005c.102.45.417 1.925.417 1.925H42L39.239 1.834zm-4.211 8.282 1.36-3.592c-.02.036.278-.743.454-1.226l.231 1.108.79 3.709h-2.835v.001z\"/></svg>
</li>
<li class=\"payment__item\">
<svg width=\"50\" height=\"16\" viewBox=\"0 0 50 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.569 1.001C5.01 1 6.322.871 6.878 2.877c.375 1.348.971 3.56 1.79 6.632H9c.597-2.213 1.2-4.424 1.808-6.632C11.372.85 12.775 1 13.336 1h4.333V15.4h-4.416V6.915h-.295l-2.462 8.484H7.173l-2.462-8.49h-.295v8.49H0V1h4.569zm19.439 0v8.492h.352l2.995-6.982c.58-1.39 1.82-1.51 1.82-1.51h4.272V15.4h-4.508v-8.49h-.353l-2.934 6.982c-.581 1.382-1.879 1.508-1.879 1.508h-4.272V1h4.507zm25.02 6.842c-.63 1.904-2.604 3.268-4.79 3.268H39.51V15.4h-4.287V7.843H49.027zm-4.584-6.842h-9.445c.225 3.206 2.808 5.95 5.484 5.95h8.842c.51-2.665-1.246-5.95-4.881-5.95z\"/></svg>
</li>
<li class=\"payment__item\">
<svg width=\"34\" height=\"21\" viewBox=\"0 0 34 21\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M24.2847 20.285C29.6496 20.285 33.9987 15.9679 33.9987 10.6425C33.9987 5.31709 29.6496 1 24.2847 1C18.9199 1 14.5708 5.31709 14.5708 10.6425C14.5708 15.9679 18.9199 20.285 24.2847 20.285Z\"/><path d=\"M16.5968 3.83625C15.697 4.73019 14.9836 5.79147 14.4974 6.95936C14.0112 8.12725 13.7618 9.37883 13.7634 10.6425C13.7634 13.2988 14.8451 15.705 16.5968 17.4488C15.2396 18.8007 13.5088 19.7224 11.6236 20.0972C9.73831 20.472 7.78341 20.2831 6.00643 19.5543C4.22945 18.8254 2.71032 17.5896 1.64142 16.0031C0.572529 14.4167 0.00195313 12.5511 0.00195312 10.6425C0.00195312 8.73395 0.572529 6.86832 1.64142 5.28189C2.71032 3.69545 4.22945 2.45957 6.00643 1.73075C7.78341 1.00193 9.73831 0.812963 11.6236 1.18778C13.5088 1.56259 15.2396 2.48433 16.5968 3.83625ZM18.8722 9.9125C18.7249 7.5075 17.8346 5.42625 16.7403 4.5225L17.2591 3.905C18.5939 5.00875 19.5258 7.34875 19.6807 9.86375C19.8368 12.3988 19.2148 15.2288 17.3007 17.3388L16.6988 16.8013C18.4277 14.895 19.0196 12.3 18.8722 9.91375V9.9125Z\"/></svg>
</li>
<li class=\"payment__item\">
<svg width=\"50\" height=\"28\" viewBox=\"0 0 50 28\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m9.596 15.408 3.425 2.252v4.178L9.58 28l.015-12.592z\"/><path d=\"m6.756 13.629 3.418 1.98L.027 21.771l3.311-6.027 3.417-2.115zM22.692 7.935l-6.53-.033-3.144-1.89L9.6.03l13.092 7.905z\"/><path d=\"m9.6.03 3.418 5.981.007 8.243L9.579 13.2 9.6.03zM0 6.048l3.35 6.09-.01 3.606L.027 21.77 0 6.048z\"/><path d=\"M0 6.048 22.64 19.9l-6.487.045L3.35 12.138 0 6.048zM16.163 7.902l6.53.033-9.665 5.94-.01-4.057 3.145-1.916zM34.992 8.884c.794-.724 1.881-1.09 2.951-1.056 1.118-.023 2.244.053 3.356-.079-.24.738-.73 1.378-1.055 2.084-.801.015-1.603-.015-2.404.013-1.029.084-2.01.918-2.11 1.966.936-.933 2.401-.996 3.615-.69.813.277 1.538.887 1.833 1.708.272.721.316 1.513.139 2.262-.27 1.028-1.096 1.823-2.07 2.199-1.148.432-2.47.455-3.613-.003-1.085-.442-1.853-1.468-2.116-2.594-.287-1.002-.249-2.485.046-3.504a5.063 5.063 0 0 1 1.428-2.306zm2.778 3.911c-.61-.12-1.298.128-1.615.665-.575.975.215 2.43 1.505 2.247 1.407-.2 1.773-2.468.11-2.912zm-9.092-2.52c1.265-.312 2.712-.221 3.793.567-.358.577-.68 1.173-1.008 1.766-.528-.176-1.041-.455-1.612-.441-.606-.02-1.262.218-1.607.739a1.749 1.749 0 0 0-.027 1.872c.317.53.942.776 1.535.831.463-.052.934-.117 1.362-.313.102-.064.22-.062.337-.054.21.598.667 1.093.848 1.697-1.165.623-2.555.75-3.83.44-.88-.258-1.718-.761-2.22-1.545-.797-1.221-.767-2.949.148-4.1.552-.743 1.395-1.228 2.281-1.46zm13.867.03a495.22 495.22 0 0 1 7.374 0c-.022 2.335-.008 4.672-.006 7.006-.827.005-1.655.006-2.481 0 .038-1.533-.039-3.063.01-4.59a.618.618 0 0 0-.083-.333c-.754.017-1.511.018-2.266-.001-.048 1.638-.009 3.28-.019 4.92-.841.014-1.683.007-2.524.004.001-2.336.01-4.67-.005-7.005zM13.02 21.838l3.133-1.892 6.488-.045L9.58 28l3.44-6.163z\"/></svg>
</li>
</ul>
<!--<div class=\"avenue\"><a href=\"https://avenuemedia.ru/\" target=\"_blank\"><svg width=\"85\" height=\"12\" viewBox=\"0 0 85 12\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5.577 0c1.844 0 3.26.433 4.248 1.3.989.852 1.483 2.144 1.483 3.877v6.65h-3.23v-1.451C7.427 11.459 6.217 12 4.447 12c-.915 0-1.711-.152-2.39-.455-.664-.303-1.173-.722-1.527-1.256A3.22 3.22 0 0 1 0 8.469c0-1.083.413-1.935 1.24-2.556.84-.62 2.131-.931 3.872-.931h2.744c0-.737-.229-1.3-.686-1.69-.457-.404-1.143-.606-2.058-.606a6.03 6.03 0 0 0-1.881.303 4.838 4.838 0 0 0-1.55.78L.444 1.408C1.092.96 1.866.614 2.766.368A10.795 10.795 0 0 1 5.576 0zM5.31 9.726c.59 0 1.114-.13 1.571-.39.458-.275.782-.672.974-1.192v-1.19H5.488c-1.416 0-2.124.454-2.124 1.364 0 .433.17.78.509 1.04.354.245.833.368 1.438.368zM25.37.173l-5.024 11.654h-3.563l-5-11.654h3.562l3.297 7.928L22.05.173h3.32zM37.452 6.043c0 .044-.022.347-.066.91h-9.007a2.743 2.743 0 0 0 1.15 1.711c.606.419 1.358.628 2.258.628.62 0 1.166-.086 1.638-.26a4.121 4.121 0 0 0 1.35-.866l1.836 1.95C35.49 11.372 33.852 12 31.7 12c-1.343 0-2.53-.253-3.563-.758-1.033-.52-1.83-1.235-2.39-2.145-.56-.91-.841-1.942-.841-3.097 0-1.14.273-2.166.819-3.076A5.757 5.757 0 0 1 28.003.78C28.977.26 30.061 0 31.256 0c1.165 0 2.22.245 3.164.736a5.348 5.348 0 0 1 2.213 2.123c.546.91.82 1.971.82 3.184zm-6.174-3.487c-.782 0-1.438.217-1.97.65-.53.433-.855 1.025-.973 1.776h5.864c-.118-.737-.442-1.321-.974-1.755-.53-.447-1.18-.671-1.947-.671zM46.323 0c1.475 0 2.663.433 3.563 1.3.914.866 1.372 2.151 1.372 3.855v6.672h-3.453V5.675c0-.924-.206-1.61-.62-2.058-.412-.462-1.01-.693-1.792-.693-.87 0-1.563.267-2.08.802-.516.52-.774 1.3-.774 2.339v5.762h-3.452V.173h3.297v1.365A4.475 4.475 0 0 1 44.088.412 5.909 5.909 0 0 1 46.323 0zM65.717.173v11.654h-3.275V10.44a4.696 4.696 0 0 1-1.638 1.17c-.634.26-1.32.39-2.058.39-1.564 0-2.803-.44-3.717-1.321-.915-.881-1.372-2.188-1.372-3.92V.172h3.452V6.26c0 1.877.804 2.816 2.412 2.816.826 0 1.49-.26 1.991-.78.502-.534.753-1.321.753-2.361V.173h3.452zM79.913 6.043c0 .044-.022.347-.066.91H70.84a2.743 2.743 0 0 0 1.151 1.711c.605.419 1.357.628 2.257.628.62 0 1.166-.086 1.638-.26a4.122 4.122 0 0 0 1.35-.866l1.837 1.95C77.95 11.372 76.313 12 74.16 12c-1.343 0-2.53-.253-3.563-.758-1.033-.52-1.83-1.235-2.39-2.145-.56-.91-.84-1.942-.84-3.097 0-1.14.272-2.166.818-3.076A5.757 5.757 0 0 1 70.465.78C71.437.26 72.521 0 73.716 0c1.166 0 2.22.245 3.165.736a5.348 5.348 0 0 1 2.213 2.123c.546.91.818 1.971.818 3.184zM73.74 2.556c-.782 0-1.438.217-1.97.65-.53.433-.855 1.025-.973 1.776h5.864c-.118-.737-.442-1.321-.973-1.755-.531-.447-1.18-.671-1.948-.671zM82.853 12c-.604 0-1.113-.202-1.526-.607-.413-.404-.62-.91-.62-1.516 0-.62.207-1.119.62-1.494.413-.39.922-.585 1.526-.585.605 0 1.114.195 1.527.585.413.375.62.873.62 1.494 0 .607-.207 1.112-.62 1.516-.413.405-.922.607-1.526.607z\" fill=\"#fff\"/></svg></a></div>-->
</div>
</div>
</div>
</div>
</footer>
</div>
<div class=\"modal modal--mobile\" id=\"requestCall\" style=\"display:none;\">
<h3 class=\"modal__title\">Перезвоните мне</h3>
<form id=\"callbackForm\" action=\"#\" class=\"form\">
<input name=\"type\" value=\"callback\" type=\"hidden\">
<input name=\"token\" type=\"hidden\">
<div class=\"form__group\">
<input name=\"name\" class=\"form__control\" type=\"text\" placeholder=\"Имя\" required>
</div>
<div class=\"form__group\">
<input name=\"phone\" type=\"tel\" class=\"form__control\" placeholder=\"+7 (\" id=\"a-phone-modal\" required>
</div>
<div class=\"form__btn\">
<button type=\"submit\" class=\"btn\">Отправить заявку</button>
</div>
<div class=\"form__help\">
Нажимая кнопку «Отправить», я даю <a href=\"";
// line 699
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("agreement");
yield "\" target=\"_blank\">согласие</a> на обработку персональных данных.
</div>
<div class=\"form__help\">
This site is protected by reCAPTCHA and the Google
<a rel=\"nofollow\" href=\"https://policies.google.com/privacy\">Privacy Policy</a>
and <a rel=\"nofollow\" href=\"https://policies.google.com/terms\">Terms of Service</a> apply.
</div>
</form>
</div>
<link rel=\"stylesheet\" href=\"/css/swiper-bundle.min.css\">
<link rel=\"stylesheet\" href=\"/css/fancybox.css\">
<link rel=\"stylesheet\" href=\"/css/select2.min.css\">
<link rel=\"stylesheet\" href=\"/css/nouislider.min.css\">
<script src=\"/js/jquery-3.6.0.min.js\"></script>
<script src=\"/js/swiper-bundle.min.js\"></script>
<script src=\"/js/fancybox.umd.js\"></script>
<script src=\"/js/select2.min.js\"></script>
<script src=\"/js/nouislider.min.js\"></script>
<script src=\"/js/wNumb.min.js\"></script>
<script src=\"/js/imask.min.js\"></script>
";
// line 722
yield "<script src=\"/js/index.umd.js\"></script>
<script>
function alertPopup(text) {
new Fancybox([
{
src: text,
type: \"html\",
},
]);
}
function closePopup() {
Fancybox.close();
}
";
// line 738
if ((array_key_exists("message", $context) && (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 738, $this->source); })()))) {
// line 739
yield " alertPopup(";
yield json_encode((isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 739, $this->source); })()));
yield ");
";
}
// line 741
yield "</script>
<div class=\"modal modal--mobile\" id=\"forgot\" style=\"display:none;\">
<h3 class=\"modal__title\">Восстановление<br> доступа</h3>
<p>Укажите почту, чтобы получить новый пароль</p>
<form id=\"resetForm\" action=\"#\" class=\"form\">
<div class=\"form__group\">
<input name=\"email\" class=\"form__control\" type=\"email\" placeholder=\"www@mymail.ru\" required>
</div>
<div class=\"form__btn\">
<button type=\"submit\" class=\"btn\">
<span class=\"btn__text\">Получить ссылку</span>
</button>
</div>
</form>
</div>
<script>
\$('#resetForm').submit(function () {
\$.ajax({
type: \"POST\",
url: '";
// line 762
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("reset-ajax");
yield "',
data: \$(this).serialize(),
success: function (data) {
closePopup();
alertPopup(data.message);
}
}).fail(function() {
alertPopup('Ошибка');
});
return false;
});
</script>
";
// line 776
yield from $this->unwrap()->yieldBlock('popups', $context, $blocks);
// line 779
yield "
<script src=\"/js/script.js?5\"></script>
<script>
function prepareProductBlockCount(parent) {
console.log(\"prepareProductBlockCount\", parent);
if (!parent) {
parent = \$(document);
}
let productBlockCount = parent.find('.product-block-count');
productBlockCount.find('input').change(function () {
let plus = \$(this).parent().find('.count__plus');
let minus = \$(this).parent().find('.count__minus');
let val = Number(\$(this).val());
if (val < 1) {
val = 1;
}
\$(this).val(val);
if (val == 1) {
minus.attr('disabled', 'disabled');
} else {
minus.removeAttr('disabled');
}
});
productBlockCount.find('button').click(function () {
let input = \$(this).parent().find('input');
let val = Number(input.val());
let inc = Number(\$(this).attr('data-value'));
input.val(val + inc);
input.change();
return false;
});
parent.find('.add-to-cart-button').click(function () {
let button = \$(this);
if (button.hasClass('btn--success')) {
location.href = '";
// line 821
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cart");
yield "';
return false;
}
button.attr('disabled', 'disabled');
\$.ajax({
type: \"POST\",
url: '";
// line 828
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cart-add-ajax");
yield "',
data: {
id: button.attr('data-id'),
count: button.closest('.add-to-cart-block').find('input').val()
},
success: function (data) {
\$('#cartDiv').html(data.cartHtml);
button.addClass('btn--success');
button.html('В корзине ' + data.count + ' шт');
//alertPopup('Товар добавлен в корзину');
}
}).fail(function() {
alertPopup('Ошибка');
}).always(function() {
button.removeAttr('disabled');
});
return false;
});
}
prepareProductBlockCount();
\$('.counterparty-link').click(function () {
\$.ajax({
type: \"POST\",
url: '";
// line 854
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cart-set-counterparty-ajax");
yield "',
data: {
id: \$(this).attr('data-id'),
},
success: function (data) {
location.reload();
}
}).fail(function() {
alertPopup('Ошибка');
});
return false;
});
function call_ym(b, c) {
console.log(\"ym: \" + b, c);
try {
ym(37566365, b, c);
} catch (e) {
console.error(e);
}
return true;
}
\$('#callbackForm,form.requestForm').submit(function () {
let goal = \$(this).find('input[name=goal]').val();
if (goal) {
call_ym('reachGoal', goal);
}
submitFormWithCaptcha(\$(this), function (form) {
\$.ajax({
type: \"POST\",
url: '";
// line 887
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback-ajax");
yield "',
data: form.serialize() + '&source=' + location.pathname,
success: function (data) {
if (data.ok) {
closePopup();
}
alertPopup(data.message);
}
}).fail(function() {
alertPopup('Ошибка');
});
});
return false;
});
</script>
<script>
document.addEventListener(\"alpine:init\", () => {
Alpine.data(\"searchForm\", () => ({
text: '',
categories: [],
products: [],
async getSearchData(text) {
let fullResponse = await (
await fetch(
`/quick-search/?text=\${text}`
)).json();
this.categories = fullResponse.response.categories;
this.products = fullResponse.response.products;
},
}));
});
</script>
<style>
.grecaptcha-badge {
visibility: hidden;
}
.not-visible {
display: none;
}
</style>
<script src='https://www.google.com/recaptcha/api.js?render=";
// line 933
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["recaptchaSiteKey"]) || array_key_exists("recaptchaSiteKey", $context) ? $context["recaptchaSiteKey"] : (function () { throw new RuntimeError('Variable "recaptchaSiteKey" does not exist.', 933, $this->source); })()), "html", null, true);
yield "' async></script>
<script>
function submitFormWithCaptcha(form, handler) {
let tokenInput = form.find('input[name=token]');
if (tokenInput.val()) {
return true;
}
grecaptcha.ready(function() {
console.log('grecaptcha.ready');
grecaptcha.execute('";
// line 943
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["recaptchaSiteKey"]) || array_key_exists("recaptchaSiteKey", $context) ? $context["recaptchaSiteKey"] : (function () { throw new RuntimeError('Variable "recaptchaSiteKey" does not exist.', 943, $this->source); })()), "html", null, true);
yield "', {action: 'request'}).then(function (token) {
console.log('grecaptcha.execute', token);
tokenInput.val(token);
if (handler) {
console.log('handler', token);
handler(form);
} else {
setTimeout(() => {
console.log('submit', token);
form.submit();
}, 100);
}
console.log('grecaptcha.execute end');
}).catch((e) => {
console.error(e);
alertPopup('Произошел технический сбой. Попробуйте повторить позднее');
});
console.log('grecaptcha.ready end');
});
return false;
}
</script>
";
// line 971
yield from $this->unwrap()->yieldBlock('scripts', $context, $blocks);
// line 974
yield "
</body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
return; yield '';
}
// line 101
public function block_header_class($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_class"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_class"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 539
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 540
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 776
public function block_popups($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "popups"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "popups"));
// line 777
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 971
public function block_scripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "scripts"));
// line 972
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "application/layout.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 1544 => 972, 1534 => 971, 1522 => 777, 1512 => 776, 1500 => 540, 1490 => 539, 1471 => 101, 1452 => 974, 1450 => 971, 1419 => 943, 1406 => 933, 1357 => 887, 1321 => 854, 1292 => 828, 1282 => 821, 1238 => 779, 1236 => 776, 1219 => 762, 1196 => 741, 1190 => 739, 1188 => 738, 1170 => 722, 1145 => 699, 1101 => 658, 1095 => 655, 1086 => 649, 1053 => 618, 1036 => 599, 1032 => 594, 1027 => 593, 1017 => 584, 1013 => 583, 1009 => 582, 1005 => 581, 1001 => 580, 997 => 579, 993 => 578, 989 => 577, 985 => 576, 971 => 564, 960 => 562, 956 => 561, 935 => 542, 933 => 539, 925 => 533, 909 => 530, 905 => 528, 894 => 526, 890 => 525, 887 => 524, 885 => 523, 878 => 519, 874 => 518, 870 => 516, 864 => 513, 861 => 512, 859 => 511, 856 => 510, 839 => 509, 832 => 504, 827 => 484, 823 => 478, 818 => 477, 814 => 473, 807 => 469, 803 => 468, 799 => 467, 794 => 466, 792 => 465, 783 => 458, 779 => 456, 777 => 455, 771 => 452, 767 => 451, 763 => 450, 759 => 449, 755 => 448, 751 => 447, 747 => 446, 743 => 445, 739 => 444, 730 => 438, 724 => 434, 700 => 388, 694 => 385, 688 => 381, 680 => 377, 672 => 372, 667 => 371, 663 => 369, 661 => 368, 656 => 367, 652 => 365, 641 => 360, 637 => 359, 629 => 358, 625 => 357, 622 => 356, 618 => 355, 606 => 348, 602 => 346, 600 => 345, 592 => 339, 590 => 338, 545 => 296, 536 => 289, 530 => 286, 527 => 285, 519 => 280, 515 => 279, 511 => 278, 506 => 277, 504 => 276, 495 => 268, 493 => 267, 486 => 263, 482 => 262, 478 => 261, 474 => 260, 470 => 259, 466 => 258, 462 => 257, 450 => 248, 444 => 244, 433 => 242, 429 => 241, 420 => 235, 406 => 228, 395 => 219, 386 => 214, 378 => 209, 373 => 208, 367 => 206, 365 => 205, 360 => 204, 356 => 202, 345 => 197, 341 => 196, 333 => 195, 329 => 194, 326 => 193, 322 => 192, 310 => 185, 306 => 183, 304 => 182, 298 => 178, 292 => 176, 289 => 175, 283 => 173, 277 => 171, 274 => 170, 272 => 169, 268 => 167, 266 => 166, 250 => 152, 242 => 147, 238 => 146, 235 => 145, 229 => 142, 226 => 141, 224 => 140, 219 => 139, 217 => 138, 214 => 137, 212 => 136, 208 => 134, 197 => 101, 128 => 34, 116 => 25, 113 => 24, 110 => 23, 99 => 21, 94 => 20, 92 => 19, 87 => 17, 84 => 16, 78 => 14, 76 => 13, 73 => 12, 67 => 10, 65 => 9, 62 => 8, 56 => 6, 54 => 5, 48 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"ru\">
<head>
<meta charset=\"UTF-8\">
{% if seoTitle is defined and seoTitle %}
<title>{{ seoTitle }}</title>
{% endif %}
{% if seoDescription is defined and seoDescription %}
<meta name=\"description\" content=\"{{ seoDescription }}\">
{% endif %}
{% if seoKeywords is defined and seoKeywords %}
<meta name=\"keywords\" content=\"{{ seoKeywords }}\">
{% endif %}
<link href=\"{{ app.request.schemeAndHttpHost ~ app.request.pathInfo }}\" rel=\"canonical\">
{% if headMeta is defined %}
{% for item in headMeta %}
<meta property=\"{{ item.property }}\" content=\"{{ item.content }}\">
{% endfor %}
{% else %}
<meta property=\"og:type\" content=\"website\">
<meta property=\"og:url\" content=\"{{ app.request.uri }}\">
<meta property=\"og:title\" content=\"Decostore\">
<meta property=\"og:description\" content=\"Оптовые и розничные продажи декоративных отделочных материалов\">
<meta property=\"og:image\" content=\"/img/cover.png\">
<meta property=\"og:image:type\" content=\"image/png\">
<meta property=\"og:image:width\" content=\"1200\">
<meta property=\"og:image:height\" content=\"630\">
<meta property=\"twitter:card\" content=\"summary_large_image\">
{% endif %}
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
<link rel=\"icon\" type=\"image/x-icon\" href=\"/favicon.ico\">
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicon-32x32.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicon-16x16.png\">
<link rel=\"manifest\" href=\"/site.webmanifest\">
<link rel=\"mask-icon\" href=\"/safari-pinned-tab.svg\" color=\"#222F59\">
<meta name=\"msapplication-TileColor\" content=\"#222f59\">
<meta name=\"theme-color\" content=\"#ffffff\">
<link rel=\"stylesheet\" href=\"/css/style.min.css?4\">
<script src=\"//unpkg.com/alpinejs\" defer></script>
<!-- Google Tag Manager -->
<script>
document.addEventListener('DOMContentLoaded', () => {
/** init gtm after 3500 seconds - this could be adjusted */
setTimeout(initGTM, 3500);
});
document.addEventListener('scroll', initGTMOnEvent);
document.addEventListener('mousemove', initGTMOnEvent);
document.addEventListener('touchstart', initGTMOnEvent);
function initGTMOnEvent (event) {
initGTM();
event.currentTarget.removeEventListener(event.type, initGTMOnEvent); // remove the event listener that got triggered
}
function initGTM () {
if (window.gtmDidInit) {
return false;
}
window.gtmDidInit = true; // flag to ensure script does not get added to DOM more than once.
const script = document.createElement('script');
script.type = 'text/javascript';
script.async = true;
script.onload = () => { dataLayer.push({ event: 'gtm.js', 'gtm.start': (new Date()).getTime(), 'gtm.uniqueEventId': 0 }); } // this part ensures PageViews is always tracked
script.src = 'https://www.googletagmanager.com/gtm.js?id=GTM-53CS9H5';
document.head.appendChild(script);
}
</script>
<!-- End Google Tag Manager -->
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<!-- <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-53CS9H5\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript> -->
<!-- End Google Tag Manager (noscript) -->
<div class=\"wrapper\">
<header id=\"header\" class=\"header {% block header_class %}{% endblock %}\">
<div class=\"container\">
<div class=\"helpnav\">
<div class=\"helpnav__left\">
<a href=\"\" class=\"helpnav__item location\">
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10 6.25A1.875 1.875 0 1 0 10 10a1.875 1.875 0 0 0 0-3.75zM6.875 8.125a3.125 3.125 0 1 1 6.25 0 3.125 3.125 0 0 1-6.25 0z\"/><path d=\"M10 2.5a5.625 5.625 0 0 0-5.625 5.625c0 2.588 1.445 4.944 2.972 6.7A19.707 19.707 0 0 0 10 17.343a19.716 19.716 0 0 0 2.653-2.52c1.527-1.755 2.972-4.111 2.972-6.699A5.625 5.625 0 0 0 10 2.5zm0 15.625-.359.512-.002-.002-.004-.003-.005-.003a20.946 20.946 0 0 1-3.227-2.984c-1.598-1.838-3.278-4.482-3.278-7.52a6.875 6.875 0 0 1 13.75 0c0 3.037-1.68 5.681-3.278 7.52a20.935 20.935 0 0 1-2.949 2.778 12.291 12.291 0 0 1-.267.198l-.016.011-.004.003-.002.001-.359-.511zm0 0 .358.512a.625.625 0 0 1-.716 0l.358-.512z\"/></svg>
Доставка по всей России и СНГ
</a>
{#
<div class=\"helpnav__item language dropdown\">
<a href=\"#\" class=\"dropdown__toggle\">
<!-- <span class=\"language__flag\"><img src=\"/img/flag-ru.png\" width=\"24\" height=\"24\" alt=\"\"></span>-->
<span class=\"language__value\">RU</span>
<span class=\"caret\"><svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.867 5.146a.536.536 0 0 1 0 .708l-4.546 5a.426.426 0 0 1-.642 0l-4.546-5a.536.536 0 0 1 0-.708.426.426 0 0 1 .643 0L8 9.793l4.224-4.647a.426.426 0 0 1 .643 0z\"/></svg></span>
</a>
<div class=\"dropdown__menu\">
<ul class=\"dropdown__list\">
<li class=\"dropdown__item active\">
<a href=\"/\" class=\"dropdown__link\">
<!-- <span class=\"language__flag\"><img src=\"/img/flag-ru.png\" width=\"24\" height=\"24\" alt=\"\"></span>-->
<span class=\"language__value\">RU</span>
</a>
</li>
<li class=\"dropdown__item\">
<a href=\"https://en.cosca.ru/\" class=\"dropdown__link\">
<!-- <span class=\"language__flag\"><img src=\"/img/flag-ru.png\" width=\"24\" height=\"24\" alt=\"\"></span>-->
<span class=\"language__value\">EN</span>
</a>
</li>
</ul>
</div>
</div>
#}
</div>
<div class=\"helpnav__center\">
{% if cart.counterpartyId and getIdentity().managers|length %}
<div class=\"helpnav__item helpnav__person\">
{% set manager = getIdentity().managers|first %}
<a href=\"tel:{{ manager.phone }}\" class=\"person\">
{% if manager.picture %}
<span class=\"person__photo\">
{{ include('application/partial/picture.html.twig', {image: manager.picture, width: 38, height: 38}) }}
</span>
{% endif %}
<span class=\"person__detail\">
<span class=\"person__name\">{{ manager.fullName }}</span>
<span class=\"person__status\">{{ manager.formattedPhone }}</span>
</span>
</a>
</div>
{% endif %}
<div class=\"helpnav__item\">
<a href=\"tel:+ 78124091555\" class=\"phone-link\">
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.294 2.275c.217.186.358.41.42.564.035.086.277.653.558 1.314l.165.386c.317.745.644 1.515.742 1.755.17.315.201.81-.116 1.29a.626.626 0 0 1-.011.017c-.036.05-.143.215-.287.434l-.3.461c-.24.364-.517.783-.674.987a5.906 5.906 0 0 0 2.747 2.74 1.72 1.72 0 0 0 .043-.024l.005-.003.076-.05.212-.143a165.778 165.778 0 0 0 .608-.415c.22-.15.445-.303.63-.426.153-.102.31-.204.41-.26a1.243 1.243 0 0 1 1.158-.095c.33.135 3.242 1.367 3.676 1.579a1.242 1.242 0 0 1 .732 1.295 4.375 4.375 0 0 1-1.448 2.728 4.229 4.229 0 0 1-2.89 1.091A11.25 11.25 0 0 1 2.816 8.897v-.002a9.436 9.436 0 0 1-.218-2.549c.054-.99.292-2.12.976-2.966a.593.593 0 0 1 .006-.007c.735-.881 1.592-1.306 2.643-1.44a1.407 1.407 0 0 1 1.071.343zm-.93.9c-.749.099-1.306.38-1.82.995-.441.547-.65 1.364-.697 2.244a8.195 8.195 0 0 0 .184 2.19 10 10 0 0 0 9.719 7.646 2.98 2.98 0 0 0 2.064-.78c.569-.5.936-1.19 1.034-1.942a.58.58 0 0 1-.037-.018c-.295-.15-3.287-1.417-3.61-1.549a.443.443 0 0 1-.01-.004.61.61 0 0 1-.058.035l-.026.015a13.82 13.82 0 0 0-.302.196c-.18.119-.4.268-.619.418l-.257.175-.352.24a8.529 8.529 0 0 1-.377.25 1.58 1.58 0 0 1-.277.13 1.25 1.25 0 0 1-.917-.062l-.004-.002a7.157 7.157 0 0 1-3.338-3.33l-.001-.002a1.25 1.25 0 0 1 .119-1.275c.09-.111.353-.503.637-.935l.265-.405c.154-.236.285-.436.34-.515a.26.26 0 0 0 .027-.054 210.658 210.658 0 0 0-.765-1.807c-.054-.13-.11-.258-.163-.384-.27-.635-.51-1.199-.562-1.325a.413.413 0 0 0-.08-.096.227.227 0 0 0-.067-.041.126.126 0 0 0-.05-.009z\"/></svg>
+7 (812) 409 1 555
</a>
</div>
<div class=\"helpnav__item\">
<button class=\"btn btn--outline btn--sm\" data-fancybox=\"feedback\" data-src=\"#requestCall\">
<span class=\"btn__text\">Перезвоните мне</span>
</button>
</div>
</div>
<div class=\"helpnav__right\">
{% if getIdentity() %}
<div class=\"dropdown user\">
<a href=\"#\" class=\"dropdown__toggle\">
{% if getIdentity().seller %}
{% if cart.counterpartyName %}
{{ cart.counterpartyName }}
{% else %}
{{ getIdentity().name }}
{% endif %}
{% else %}
{{ getIdentity().name }}
{% endif %}
<span class=\"caret\"><svg width=\"18\" height=\"18\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.867 5.146a.536.536 0 0 1 0 .708l-4.546 5a.426.426 0 0 1-.642 0l-4.546-5a.536.536 0 0 1 0-.708.426.426 0 0 1 .643 0L8 9.793l4.224-4.647a.426.426 0 0 1 .643 0z\"></path></svg></span>
</a>
<div class=\"dropdown__menu\">
<ul class=\"dropdown__list scroll\">
{% if getIdentity().seller %}
<li class=\"dropdown__item\">
<div class=\"counterparty-link dropdown__link form__check\">
<input type=\"radio\" name=\"userTypeMobile\" value=\"\" id=\"userTypeMobile01\" {% if not cart.counterpartyId %}checked{% endif %}>
<label for=\"userTypeMobile01\">
Розница
</label>
</div>
</li>
{% for counterparty in getIdentity().activeCounterparties %}
<li class=\"dropdown__item\">
<div data-id=\"{{ counterparty.id }}\" class=\"counterparty-link dropdown__link form__check\">
<input type=\"radio\" name=\"userTypeMobile\" value=\"\" id=\"userTypeMobile{{ counterparty.id }}\" {% if cart.counterpartyId == counterparty.id %}checked{% endif %}>
<label for=\"userTypeMobile{{ counterparty.id }}\">
{{ counterparty.name }}
</label>
</div>
</li>
{% endfor %}
<li class=\"divider\"></li>
{% endif %}
<li class=\"dropdown__item\"><a href=\"{{ path('orders') }}\" class=\"dropdown__link\">Мои заказы</a></li>
{% if getIdentity().seller %}
<li class=\"dropdown__item\"><a href=\"{{ path('managers') }}\" class=\"dropdown__link\">Мои менеджеры</a></li>
{% endif %}
<li class=\"dropdown__item\"><a href=\"{{ path('profile') }}\" class=\"dropdown__link\">Личные данные</a></li>
<li class=\"dropdown__item\"><a href=\"{{ path('logout') }}\" class=\"dropdown__link\">Выйти</a></li>
</ul>
</div>
</div>
{% else %}
<a href=\"{{ path('login') }}\" class=\"helpnav__item login-link\">
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10 3.125a6.875 6.875 0 1 0 0 13.75 6.875 6.875 0 0 0 0-13.75zM1.875 10a8.125 8.125 0 1 1 16.25 0 8.125 8.125 0 0 1-16.25 0z\" fill=\"#fff\"/><path d=\"M10 6.875a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zm-3.75 2.5a3.75 3.75 0 1 1 7.5 0 3.75 3.75 0 0 1-7.5 0z\" fill=\"#fff\"/><path d=\"M10 13.124a5 5 0 0 0-4.458 2.737.625.625 0 1 1-1.115-.566 6.25 6.25 0 0 1 11.146 0 .625.625 0 1 1-1.114.566A5 5 0 0 0 10 13.124z\"/></svg>
Войти
</a>
{% endif %}
</div>
</div>
</div>
<div class=\"header__container\">
<div class=\"header__content\">
<div class=\"container\">
<div class=\"navbar\">
<div class=\"navbar__logo\">
<a href=\"/\" class=\"navbar__brand brand\" aria-label=\"Decostore - На главную\">
<img src=\"/img/{% if cart.counterparty %}decostore-b2b.svg{% else %}decostore.svg{% endif %}\" alt=\"\" class=\"brand__logo\">
</a>
</div>
<div class=\"navbar__nav\">
<nav class=\"nav\">
<ul class=\"nav__list\">
<li class=\"nav__item dropdown\">
<a href=\"{{ path('catalog') }}\" class=\"nav__link dropdown__toggle\">
Каталог
<span class=\"caret\"><svg width=\"18\" height=\"18\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.867 5.146a.536.536 0 0 1 0 .708l-4.546 5a.426.426 0 0 1-.642 0l-4.546-5a.536.536 0 0 1 0-.708.426.426 0 0 1 .643 0L8 9.793l4.224-4.647a.426.426 0 0 1 .643 0z\"/></svg></span>
</a>
<div class=\"dropdown__menu\">
<ul class=\"dropdown__list scroll\">
{% for category in global.menu %}
<li class=\"dropdown__item\"><a href=\"{{ documentUrl(category) }}\" class=\"dropdown__link\">{{ category.name(app.request.locale) }}</a></li>
{% endfor %}
</ul>
</div>
</li>
<li class=\"nav__item\">
<a href=\"{{ path('gallery') }}\" class=\"nav__link\">Галерея проектов</a>
</li>
<li class=\"nav__item dropdown\">
<a href=\"#\" class=\"nav__link dropdown__toggle\">
Компания
<span class=\"caret\"><svg width=\"18\" height=\"18\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.867 5.146a.536.536 0 0 1 0 .708l-4.546 5a.426.426 0 0 1-.642 0l-4.546-5a.536.536 0 0 1 0-.708.426.426 0 0 1 .643 0L8 9.793l4.224-4.647a.426.426 0 0 1 .643 0z\"/></svg></span>
</a>
<div class=\"dropdown__menu\">
<ul class=\"dropdown__list scroll\">
<li class=\"dropdown__item\"><a href=\"{{ path('about') }}\" class=\"dropdown__link\">О нас</a></li>
<li class=\"dropdown__item\"><a href=\"{{ path('arhitektoram-i-stroitelyam') }}\" class=\"dropdown__link\">Архитекторам, дизайнерам и строителям</a></li>
<li class=\"dropdown__item\"><a href=\"{{ path('izgotovlenie-individualnih-izdelii') }}\" class=\"dropdown__link\">Изготовление индивидуальных изделий</a></li>
<li class=\"dropdown__item\"><a href=\"{{ path('montazh') }}\" class=\"dropdown__link\">Инструкции по монтажу</a></li>
<li class=\"dropdown__item\"><a href=\"{{ path('catalog') }}/sale\" class=\"dropdown__link\">Распродажа</a></li>
<li class=\"dropdown__item\"><a href=\"{{ path('blog') }}\" class=\"dropdown__link\">Статьи</a></li>
<li class=\"dropdown__item\"><a href=\"{{ path('contacts') }}\" class=\"dropdown__link\">Контакты</a></li>
</ul>
</div>
</li>
{% if cart.counterparty %}
<li class=\"nav__item dropdown\">
<a href=\"#\" class=\"nav__link dropdown__toggle\">
Дилерам
<span class=\"caret\"><svg width=\"18\" height=\"18\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.867 5.146a.536.536 0 0 1 0 .708l-4.546 5a.426.426 0 0 1-.642 0l-4.546-5a.536.536 0 0 1 0-.708.426.426 0 0 1 .643 0L8 9.793l4.224-4.647a.426.426 0 0 1 .643 0z\"/></svg></span>
</a>
<div class=\"dropdown__menu\">
<ul class=\"dropdown__list scroll\">
{# <li class=\"dropdown__item\"><a href=\"#\" class=\"dropdown__link\">Образцы продукции</a></li> #}
{# <li class=\"dropdown__item\"><a href=\"#\" class=\"dropdown__link\">Торговое оборудование</a></li> #}
<li class=\"dropdown__item\"><a href=\"{{ path('prices') }}\" class=\"dropdown__link\">Прайс листы</a></li>
<li class=\"dropdown__item\"><a href=\"{{ path('presentations') }}\" class=\"dropdown__link\">Презентации</a></li>
<li class=\"dropdown__item\"><a href=\"{{ path('catalogs') }}\" class=\"dropdown__link\">Каталоги</a></li>
<li class=\"dropdown__item\"><a href=\"{{ path('booklets') }}\" class=\"dropdown__link\">Листовки</a></li>
</ul>
</div>
</li>
{% else %}
<li class=\"nav__item\">
<a href=\"{{ path('dileram') }}\" class=\"nav__link\">Дилерам</a>
</li>
{% endif %}
<li class=\"nav__item nav__item--search\">
<button class=\"nav__link navbar__btn a-search-toggle\" title=\"Искать на сайте\">
<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.25 2.5a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5zM1.5 7.25a5.75 5.75 0 1 1 11.5 0 5.75 5.75 0 0 1-11.5 0z\"/><path d=\"M10.609 10.609a.5.5 0 0 1 .707 0l3.038 3.037a.5.5 0 0 1-.707.707l-3.038-3.037a.5.5 0 0 1 0-.707z\"/></svg>
</button>
</li>
</ul>
</nav>
<form x-data=\"searchForm\" x-init=\"getSearchData(text); \$watch('text', value => getSearchData(value))\" action=\"{{ path('search') }}\" class=\"navbar__search search form a-search dropdown\">
<div class=\"form__group\"><input x-model=\"text\" name=\"searchText\" type=\"text\" class=\"form__control\" aria-label=\"Поиск по сайту\"></div>
<div class=\"form__btn\">
<button class=\"search__clear a-search-toggle\" type=\"reset\" aria-label=\"Сбросить\">
<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M3.146 3.146a.5.5 0 0 1 .708 0l9 9a.5.5 0 0 1-.708.708l-9-9a.5.5 0 0 1 0-.708z\"/><path d=\"M12.854 3.146a.5.5 0 0 0-.708 0l-9 9a.5.5 0 0 0 .708.708l9-9a.5.5 0 0 0 0-.708z\"/></svg>
</button>
<button class=\"search__btn navbar__btn\" title=\"Искать\" disabled>
<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.25 2.5a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5zM1.5 7.25a5.75 5.75 0 1 1 11.5 0 5.75 5.75 0 0 1-11.5 0z\"/><path d=\"M10.609 10.609a.5.5 0 0 1 .707 0l3.038 3.037a.5.5 0 0 1-.707.707l-3.038-3.037a.5.5 0 0 1 0-.707z\"/></svg>
</button>
</div>
<div class=\"dropdown__menu\">
<div class=\"scroll\">
<ul x-show=\"categories.length > 0\" class=\"dropdown__list\">
<template x-for=\"(item, index) in categories\" :key=\"index\">
<li class=\"dropdown__item\"><a x-text=\"item.name\" x-bind:href=\"item.url\" class=\"dropdown__link\"></a></li>
</template>
</ul>
<div x-show=\"products.length > 0\" class=\"dropdown__title\"><span class=\"dropdown__title-text\">Популярные товары</span></div>
<ul x-show=\"products.length > 0\" class=\"dropdown__list\">
<template x-for=\"(item, index) in products\" :key=\"index\">
<li class=\"dropdown__item item-search\">
<div class=\"item-search__photo\">
<picture x-show=\"item.image\">
<source x-bind:srcset=\"item.webp + ' 1x, ' + item.webpRetina + ' 2x'\"
type=\"image/webp\">
<img x-bind:src=\"item.image\" x-bind:srcset=\"item.imageRetina + ' 2x'\"
alt=\"\" width=\"74\" height=\"61\">
</picture>
</div>
<div class=\"item-search__title\"><a x-text=\"item.name\" x-bind:href=\"item.url\"></a></div>
<div x-text=\"item.price ? Math.round(item.price) + ' ₽' : ''\" class=\"item-search__price\" ></div>
</li>
</template>
</ul>
</div>
</div>
</form>
</div>
<div class=\"navbar__control\">
<button class=\"navbar__btn navbar__btn--phone\" data-fancybox=\"feedbackM\" data-src=\"#requestCall\" aria-label=\"Перезвонить мне\">
<svg width=\"32\" height=\"32\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.294 2.275c.217.186.358.41.42.564.035.086.277.653.558 1.314l.165.386c.317.745.644 1.515.742 1.755.17.315.201.81-.116 1.29a.626.626 0 0 1-.011.017c-.036.05-.143.215-.287.434l-.3.461c-.24.364-.517.783-.674.987a5.906 5.906 0 0 0 2.747 2.74 1.72 1.72 0 0 0 .043-.024l.005-.003.076-.05.212-.143a165.778 165.778 0 0 0 .608-.415c.22-.15.445-.303.63-.426.153-.102.31-.204.41-.26a1.243 1.243 0 0 1 1.158-.095c.33.135 3.242 1.367 3.676 1.579a1.242 1.242 0 0 1 .732 1.295 4.375 4.375 0 0 1-1.448 2.728 4.229 4.229 0 0 1-2.89 1.091A11.25 11.25 0 0 1 2.816 8.897v-.002a9.436 9.436 0 0 1-.218-2.549c.054-.99.292-2.12.976-2.966a.593.593 0 0 1 .006-.007c.735-.881 1.592-1.306 2.643-1.44a1.407 1.407 0 0 1 1.071.343zm-.93.9c-.749.099-1.306.38-1.82.995-.441.547-.65 1.364-.697 2.244a8.195 8.195 0 0 0 .184 2.19 10 10 0 0 0 9.719 7.646 2.98 2.98 0 0 0 2.064-.78c.569-.5.936-1.19 1.034-1.942a.58.58 0 0 1-.037-.018c-.295-.15-3.287-1.417-3.61-1.549a.443.443 0 0 1-.01-.004.61.61 0 0 1-.058.035l-.026.015a13.82 13.82 0 0 0-.302.196c-.18.119-.4.268-.619.418l-.257.175-.352.24a8.529 8.529 0 0 1-.377.25 1.58 1.58 0 0 1-.277.13 1.25 1.25 0 0 1-.917-.062l-.004-.002a7.157 7.157 0 0 1-3.338-3.33l-.001-.002a1.25 1.25 0 0 1 .119-1.275c.09-.111.353-.503.637-.935l.265-.405c.154-.236.285-.436.34-.515a.26.26 0 0 0 .027-.054 210.658 210.658 0 0 0-.765-1.807c-.054-.13-.11-.258-.163-.384-.27-.635-.51-1.199-.562-1.325a.413.413 0 0 0-.08-.096.227.227 0 0 0-.067-.041.126.126 0 0 0-.05-.009z\"/></svg>
</button>
{% if getIdentity() %}
<div class=\"navbar__btn navbar__btn--user dropdown user\">
<a href=\"#\" class=\"dropdown__toggle\" aria-label=\"Профиль пользователя\">
<svg width=\"32\" height=\"32\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10 3.125a6.875 6.875 0 1 0 0 13.75 6.875 6.875 0 0 0 0-13.75zM1.875 10a8.125 8.125 0 1 1 16.25 0 8.125 8.125 0 0 1-16.25 0z\" fill=\"#fff\"/><path d=\"M10 6.875a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zm-3.75 2.5a3.75 3.75 0 1 1 7.5 0 3.75 3.75 0 0 1-7.5 0z\" fill=\"#fff\"/><path d=\"M10 13.124a5 5 0 0 0-4.458 2.737.625.625 0 1 1-1.115-.566 6.25 6.25 0 0 1 11.146 0 .625.625 0 1 1-1.114.566A5 5 0 0 0 10 13.124z\"/></svg>
</a>
<div class=\"dropdown__menu\">
<ul class=\"dropdown__list scroll\">
{% if getIdentity().seller %}
<li class=\"dropdown__item\">
<div class=\"counterparty-link dropdown__link form__check\">
<input type=\"radio\" name=\"userType\" value=\"\" id=\"userType01\" {% if not cart.counterpartyId %}checked{% endif %}>
<label for=\"userType01\">
Розница
</label>
</div>
</li>
{% for counterparty in getIdentity().activeCounterparties %}
<li class=\"dropdown__item\">
<div data-id=\"{{ counterparty.id }}\" class=\"counterparty-link dropdown__link form__check\">
<input type=\"radio\" name=\"userType\" value=\"\" id=\"userType{{ counterparty.id }}\" {% if cart.counterpartyId == counterparty.id %}checked{% endif %}>
<label for=\"userType{{ counterparty.id }}\">
{{ counterparty.name }}
</label>
</div>
</li>
{% endfor %}
<li class=\"divider\"></li>
{% endif %}
<li class=\"dropdown__item\"><a href=\"{{ path('orders') }}\" class=\"dropdown__link\">Мои заказы</a></li>
{% if getIdentity().seller %}
<li class=\"dropdown__item\"><a href=\"\" class=\"dropdown__link\">Мои менеджеры</a></li>
{% endif %}
<li class=\"dropdown__item\"><a href=\"{{ path('profile') }}\" class=\"dropdown__link\">Личные данные</a></li>
<li class=\"dropdown__item\"><a href=\"{{ path('logout') }}\" class=\"dropdown__link\">Выйти</a></li>
</ul>
</div>
</div>
{% else %}
<a href=\"{{ path('login') }}\" class=\"navbar__btn navbar__btn--user\" aria-label=\"Войти\">
<svg width=\"32\" height=\"32\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10 3.125a6.875 6.875 0 1 0 0 13.75 6.875 6.875 0 0 0 0-13.75zM1.875 10a8.125 8.125 0 1 1 16.25 0 8.125 8.125 0 0 1-16.25 0z\" fill=\"#fff\"/><path d=\"M10 6.875a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zm-3.75 2.5a3.75 3.75 0 1 1 7.5 0 3.75 3.75 0 0 1-7.5 0z\" fill=\"#fff\"/><path d=\"M10 13.124a5 5 0 0 0-4.458 2.737.625.625 0 1 1-1.115-.566 6.25 6.25 0 0 1 11.146 0 .625.625 0 1 1-1.114.566A5 5 0 0 0 10 13.124z\"/></svg>
</a>
{% endif %}
<button class=\"navbar__btn navbar__btn--search a-search-toggle\" aria-label=\"Искать на сайте\">
<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.25 2.5a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5zM1.5 7.25a5.75 5.75 0 1 1 11.5 0 5.75 5.75 0 0 1-11.5 0z\"/><path d=\"M10.609 10.609a.5.5 0 0 1 .707 0l3.038 3.037a.5.5 0 0 1-.707.707l-3.038-3.037a.5.5 0 0 1 0-.707z\"/></svg>
</button>
<div id=\"compareDiv\">
{{ include('application/partial/compare.html.twig') }}
</div>
<div id=\"cartDiv\">
{{ include('application/partial/cart.html.twig') }}
</div>
</div>
<button class=\"navbar__toggle\" aria-label=\"Показать меню\" data-fancybox=\"menu\" data-src=\"#mainNav\">
<span class=\"navbar__toggle-icon\"></span>
</button>
</div>
</div>
<div class=\"search__backdrop a-search-toggle\"></div>
</div>
</div>
<div class=\"modal mainnav\" id=\"mainNav\" style=\"display:none;\">
<div class=\"mainnav__content\">
<div class=\"mainnav__sidebar\">
<div class=\"mainnav__header\">
<div class=\"navbar__logo\">
<a href=\"/\" class=\"navbar__brand brand\">
<img src=\"/img/decostore.svg\" alt=\"\" width=\"180\" class=\"brand__logo\" loading=\"lazy\">
</a>
</div>
{#
<div class=\"language dropdown\">
<a href=\"#\" class=\"dropdown__toggle\">
<!-- <span class=\"language__flag\"><img src=\"/img/flag-ru.png\" width=\"24\" height=\"24\" alt=\"\"></span> -->
<span class=\"language__value\">RU</span>
<span class=\"caret\"><svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.867 5.146a.536.536 0 0 1 0 .708l-4.546 5a.426.426 0 0 1-.642 0l-4.546-5a.536.536 0 0 1 0-.708.426.426 0 0 1 .643 0L8 9.793l4.224-4.647a.426.426 0 0 1 .643 0z\"/></svg></span>
</a>
<div class=\"dropdown__menu\">
<ul class=\"dropdown__list\">
<li class=\"dropdown__item active\">
<a href=\"/\" class=\"dropdown__link\">
<!-- <span class=\"language__flag\"><img src=\"/img/flag-ru.png\" width=\"24\" height=\"24\" alt=\"\"></span> -->
<span class=\"language__value\">RU</span>
</a>
</li>
<li class=\"dropdown__item\">
<a href=\"https://en.cosca.ru/\" class=\"dropdown__link\">
<!-- <span class=\"language__flag\"><img src=\"/img/flag-ru.png\" width=\"24\" height=\"24\" alt=\"\"></span> -->
<span class=\"language__value\">EN</span>
</a>
</li>
</ul>
</div>
</div>
#}
</div>
<div class=\"site-nav\">
<div class=\"site-nav__group collapse a-collapse\">
<div class=\"site-nav__title collapse__toggle\">
<a href=\"{{ path('about') }}\">
Компания
<span class=\"caret\"><svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.867 5.146a.536.536 0 0 1 0 .708l-4.546 5a.426.426 0 0 1-.642 0l-4.546-5a.536.536 0 0 1 0-.708.426.426 0 0 1 .643 0L8 9.793l4.224-4.647a.426.426 0 0 1 .643 0z\"/></svg></span>
</a>
</div>
<ul class=\"site-nav__list collapse__body\">
<li class=\"site-nav__item\"><a href=\"{{ path('about') }}\" class=\"site-nav__link\">О нас</a></li>
<li class=\"site-nav__item\"><a href=\"{{ path('gallery') }}\" class=\"site-nav__link\">Галерея проектов</a></li>
<li class=\"site-nav__item\"><a href=\"{{ path('dileram') }}\" class=\"site-nav__link\">Стать дилером</a></li>
<li class=\"site-nav__item\"><a href=\"{{ path('arhitektoram-i-stroitelyam') }}\" class=\"site-nav__link\">Архитекторам, дизайнерам и строителям</a></li>
<li class=\"site-nav__item\"><a href=\"{{ path('izgotovlenie-individualnih-izdelii') }}\" class=\"site-nav__link\">Изготовление индивидуальных изделий</a></li>
<li class=\"site-nav__item\"><a href=\"{{ path('montazh') }}\" class=\"site-nav__link\">Инструкции по монтажу</a></li>
<li class=\"site-nav__item\"><a href=\"{{ path('catalog') }}/sale\" class=\"site-nav__link\">Распродажа</a></li>
<li class=\"site-nav__item\"><a href=\"{{ path('blog') }}\" class=\"site-nav__link\">Статьи</a></li>
<li class=\"site-nav__item\"><a href=\"{{ path('contacts') }}\" class=\"site-nav__link\">Контакты</a></li>
</ul>
</div>
{% if cart.counterparty %}
<div class=\"site-nav__group collapse a-collapse\">
<div class=\"site-nav__title collapse__toggle\">
<a href=\"{{ path('marketing') }}\">
Дилерам
<span class=\"caret\"><svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.867 5.146a.536.536 0 0 1 0 .708l-4.546 5a.426.426 0 0 1-.642 0l-4.546-5a.536.536 0 0 1 0-.708.426.426 0 0 1 .643 0L8 9.793l4.224-4.647a.426.426 0 0 1 .643 0z\"/></svg></span>
</a>
</div>
<ul class=\"site-nav__list collapse__body\">
{# <li class=\"site-nav__item\"><a href=\"#\" class=\"site-nav__link\">Образцы продукции</a></li> #}
{# <li class=\"site-nav__item\"><a href=\"#\" class=\"site-nav__link\">Торговое оборудование</a></li> #}
<li class=\"site-nav__item\"><a href=\"{{ path('prices') }}\" class=\"site-nav__link\">Прайс листы</a></li>
<li class=\"site-nav__item\"><a href=\"{{ path('presentations') }}\" class=\"site-nav__link\">Презентации</a></li>
<li class=\"site-nav__item\"><a href=\"{{ path('catalogs') }}\" class=\"site-nav__link\">Каталоги</a></li>
<li class=\"site-nav__item\"><a href=\"{{ path('booklets') }}\" class=\"site-nav__link\">Листовки</a></li>
</ul>
</div>
{% endif %}
<div class=\"site-nav__group collapse a-collapse\">
<ul class=\"site-nav__list collapse__body\">
{# <li class=\"site-nav__item\"><a href=\"#\" class=\"site-nav__link\">Оформление заказа</a></li>#}
{# <li class=\"site-nav__item\"><a href=\"#\" class=\"site-nav__link\">Гарантии</a></li>#}
<li class=\"site-nav__item\"><a href=\"{{ path('delivery') }}\" class=\"site-nav__link\">Доставка и оплата</a></li>
<li class=\"site-nav__item\"><a href=\"{{ path('help') }}\" class=\"site-nav__link\">Помощь</a></li>
{# <li class=\"site-nav__item\"><a href=\"#\" class=\"site-nav__link\">Безопасность</a></li>#}
{# <li class=\"site-nav__item\"><a href=\"#\" class=\"site-nav__link\">Как выбрать</a></li>#}
{# <li class=\"site-nav__item\"><a href=\"#\" class=\"site-nav__link\">Калькуляторы</a></li>#}
{# <li class=\"site-nav__item\"><a href=\"#\" class=\"site-nav__link\">Монтаж</a></li>#}
{# <li class=\"site-nav__item\"><a href=\"{{ path('blog') }}\" class=\"site-nav__link\">Статьи</a></li>#}
</ul>
</div>
{# <div class=\"site-nav__group collapse a-collapse\">#}
{# <div class=\"site-nav__title collapse__toggle\">#}
{# <a href=\"#\">#}
{# Дилерам#}
{# <span class=\"caret\"><svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.867 5.146a.536.536 0 0 1 0 .708l-4.546 5a.426.426 0 0 1-.642 0l-4.546-5a.536.536 0 0 1 0-.708.426.426 0 0 1 .643 0L8 9.793l4.224-4.647a.426.426 0 0 1 .643 0z\"/></svg></span>#}
{# </a>#}
{# </div>#}
{# <ul class=\"site-nav__list collapse__body\">#}
{# <li class=\"site-nav__item\"><a href=\"#\" class=\"site-nav__link\">Образцы продукции</a></li>#}
{# <li class=\"site-nav__item\"><a href=\"#\" class=\"site-nav__link\">Торговое оборудование</a></li>#}
{# <li class=\"site-nav__item\"><a href=\"#\" class=\"site-nav__link\">Прайс-листы</a></li>#}
{# <li class=\"site-nav__item\"><a href=\"#\" class=\"site-nav__link\">Презентации</a></li>#}
{# <li class=\"site-nav__item\"><a href=\"#\" class=\"site-nav__link\">Каталоги</a></li>#}
{# <li class=\"site-nav__item\"><a href=\"#\" class=\"site-nav__link\">Листовки</a></li>#}
{# <li class=\"site-nav__item\"><a href=\"#\" class=\"site-nav__link\">Живая лента</a></li>#}
{# </ul>#}
{# </div>#}
</div>
</div>
<div class=\"mainnav__main\">
<div class=\"category\">
{% for category in global.menu %}
<div class=\"category__group\">
{% if category.image %}
<div class=\"category__photo\">
{{ include('application/partial/picture.html.twig', {image: category.image, width: 70, height: 102}) }}
</div>
{% endif %}
<div class=\"category__detail collapse a-collapse\">
<div class=\"category__title collapse__toggle\">
<a href=\"{{ documentUrl(category) }}\">
{{ category.name(app.request.locale) }}
<span class=\"caret\"><svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.867 5.146a.536.536 0 0 1 0 .708l-4.546 5a.426.426 0 0 1-.642 0l-4.546-5a.536.536 0 0 1 0-.708.426.426 0 0 1 .643 0L8 9.793l4.224-4.647a.426.426 0 0 1 .643 0z\"/></svg></span>
</a>
</div>
{% if category.children|length %}
<ul class=\"category__list collapse__body\">
{% for child in category.children %}
<li class=\"category__item\"><a href=\"{{ documentUrl(child) }}\" class=\"category__link\">{{ child.name(app.request.locale) }}</a></li>
{% endfor %}
</ul>
{% endif %}
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
</header>
{% block content %}
{% endblock %}
<footer class=\"footer\">
<div class=\"container\">
<div class=\"footer__content\">
<div class=\"footer__row\">
<div class=\"footer__sidebar\">
<img src=\"/img/decostore.svg\" width=\"210\" alt=\"Decostore\" loading=\"lazy\">
</div>
<div class=\"footer__main\">
<div class=\"footer__row\">
<div class=\"footer__column collapse a-collapse\">
<div class=\"footer__title collapse__toggle\">
<a class=\"\">
Каталог
<span class=\"caret\"><svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.867 5.146a.536.536 0 0 1 0 .708l-4.546 5a.426.426 0 0 1-.642 0l-4.546-5a.536.536 0 0 1 0-.708.426.426 0 0 1 .643 0L8 9.793l4.224-4.647a.426.426 0 0 1 .643 0z\"/></svg></span>
</a>
</div>
<div class=\"collapse__body\">
<ul class=\"footernav\">
{% for category in global.menu %}
<li class=\"footernav__item\"><a href=\"{{ documentUrl(category) }}\" class=\"footernav__link\">{{ category.name(app.request.locale) }}</a></li>
{% endfor %}
</ul>
</div>
</div>
<div class=\"footer__column collapse a-collapse\">
<div class=\"footer__title collapse__toggle\">
<a class=\"\">
Компания
<span class=\"caret\"><svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.867 5.146a.536.536 0 0 1 0 .708l-4.546 5a.426.426 0 0 1-.642 0l-4.546-5a.536.536 0 0 1 0-.708.426.426 0 0 1 .643 0L8 9.793l4.224-4.647a.426.426 0 0 1 .643 0z\"/></svg></span>
</a>
</div>
<div class=\"collapse__body\">
<ul class=\"footernav\">
<li class=\"footernav__item\"><a href=\"{{ path('about') }}\" class=\"footernav__link\">О нас</a></li>
<li class=\"footernav__item\"><a href=\"{{ path('gallery') }}\" class=\"footernav__link\">Галерея проектов</a></li>
<li class=\"footernav__item\"><a href=\"{{ path('dileram') }}\" class=\"footernav__link\">Стать дилером</a></li>
<li class=\"footernav__item\"><a href=\"{{ path('arhitektoram-i-stroitelyam') }}\" class=\"footernav__link\">Архитекторам, дизайнерам и строителям</a></li>
<li class=\"footernav__item\"><a href=\"{{ path('izgotovlenie-individualnih-izdelii') }}\" class=\"footernav__link\">Изготовление индивидуальных изделий</a></li>
<li class=\"footernav__item\"><a href=\"{{ path('montazh') }}\" class=\"footernav__link\">Инструкции по монтажу</a></li>
<li class=\"footernav__item\"><a href=\"{{ path('catalog') }}/sale\" class=\"footernav__link\">Распродажа</a></li>
<li class=\"footernav__item\"><a href=\"{{ path('blog') }}\" class=\"footernav__link\">Статьи</a></li>
<li class=\"footernav__item\"><a href=\"{{ path('contacts') }}\" class=\"footernav__link\">Контакты</a></li>
</ul>
</div>
</div>
<div class=\"footer__column collapse a-collapse\">
<div class=\"collapse__body\">
<ul class=\"footernav\">
{# <li class=\"footernav__item\"><a href=\"#\" class=\"footernav__link\">Оформление заказа</a></li>#}
{# <li class=\"footernav__item\"><a href=\"#\" class=\"footernav__link\">Гарантии</a></li>#}
<li class=\"footernav__item\"><a href=\"{{ path('delivery') }}\" class=\"footernav__link\">Доставка и оплата</a></li>
<li class=\"footernav__item\"><a href=\"{{ path('help') }}\" class=\"footernav__link\">Помощь</a></li>
{# <li class=\"footernav__item\"><a href=\"#\" class=\"footernav__link\">Безопасность</a></li>#}
{# <li class=\"footernav__item\"><a href=\"#\" class=\"footernav__link\">Как выбрать</a></li>#}
{# <li class=\"footernav__item\"><a href=\"#\" class=\"footernav__link\">Калькуляторы</a></li>#}
{# <li class=\"footernav__item\"><a href=\"#\" class=\"footernav__link\">Монтаж</a></li>#}
<li class=\"footernav__item\"><a href=\"{{ path('blog') }}\" class=\"footernav__link\">Статьи</a></li>
</ul>
</div>
</div>
<div class=\"footer__column\">
<div class=\"footer__title\">Контакты</div>
<div class=\"item-contact\">
СПб, Ленинский пр-т, д. 140Е, ТВЦ \"Загородный дом\",
1-й этаж, мод. 9.
</div>
<div class=\"item-contact\"><a href=\"tel:+78124091555\" class=\"phone-link\">+7 (812) 380-87-93</a></div>
<div class=\"item-contact\"><a href=\"mailto:cosca@coscadecor.com\" class=\"mail-link\">cosca@coscadecor.com</a></div>
{#
<div class=\"item-contact footer__requisites\">
ООО «Коска Декор»<br>
ИНН 7811515010
</div>
#}
<div class=\"item-contact footer__requisites\">
ООО «Декостор»<br />
ИНН 470300285480<br />
ОГРН 304470335000088
</div>
<div class=\"item-contact\">
<button class=\"btn btn--outline\" data-fancybox=\"feedback2\" data-src=\"#requestCall\">
<span class=\"btn__text\">перезвоните мне</span>
</button>
</div>
<ul class=\"social\">
<li class=\"social__item\">
<a href=\"https://www.youtube.com/channel/UCGtVDT427P_lwGt5OPCiv1w\" target=\"_blank\" class=\"social__link\" aria-label=\"Youtube\">
<svg width=\"25\" height=\"17\" viewBox=\"0 0 25 17\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M24.86 3.8c0-.2-.327-1.8-1.09-2.5C22.79.3 21.698.2 21.153.2h-.109C17.664 0 12.648 0 12.54 0c0 0-5.124 0-8.505.2h-.109C3.38.2 2.29.3 1.308 1.3.545 2.1.218 3.7.218 3.9.218 4 0 5.8 0 7.7v1.7c0 1.9.218 3.7.218 3.8 0 .2.327 1.8 1.09 2.5.873.9 1.963 1 2.617 1.1h.327c1.963.2 7.96.2 8.178.2 0 0 5.125 0 8.505-.2h.11c.544-.1 1.635-.2 2.616-1.1.763-.8 1.09-2.4 1.09-2.6 0-.1.218-1.9.218-3.8V7.6c.11-1.8-.109-3.7-.109-3.8zm-8.068 4.9-6.543 3.2c-.109 0-.109.1-.218.1s-.218 0-.218-.1c-.109-.1-.218-.2-.218-.4V5c0-.2.11-.3.218-.4.11-.1.327-.1.545 0l6.543 3.2c.218.1.327.2.327.4s-.218.4-.436.5z\"/></svg>
</a>
</li>
<li class=\"social__item\">
<a href=\"https://vk.com/cosca_decor\" target=\"_blank\" class=\"social__link\" aria-label=\"ВКонтакте\">
<svg width=\"26\" height=\"14\" viewBox=\"0 0 26 14\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M25.412.962a8.12 8.12 0 0 1-1.181 2.215l.02-.03c-.485.732-1.065 1.577-1.739 2.537-.578.757-.884 1.149-.918 1.176-.15.17-.253.377-.289.606v.006c.028.208.134.39.29.525l.433.437c2.319 2.155 3.623 3.641 3.912 4.458.038.09.06.194.06.302 0 .19-.067.366-.18.51l.001-.003a1.102 1.102 0 0 1-.85.283h.005-2.856c-.365 0-.701-.115-.964-.307l.003.002a7.196 7.196 0 0 1-1.03-.93l-.01-.011c-.5-.51-.942-.94-1.329-1.29-1.287-1.106-2.237-1.66-2.85-1.66a.917.917 0 0 0-.56.132l.005-.001a.708.708 0 0 0-.174.572v-.004a11.138 11.138 0 0 0-.04 1.375v-.016 1.136a.68.68 0 0 1 .017.153c0 .237-.12.448-.306.589h-.001a3.754 3.754 0 0 1-1.752.262l.014.001a9.72 9.72 0 0 1-4.632-1.242l.038.02c-1.637-.9-2.994-2.072-4.027-3.456l-.03-.041a25.568 25.568 0 0 1-2.677-3.913l-.076-.15A23.06 23.06 0 0 1 .403 2.457l-.065-.181A5.974 5.974 0 0 1 .002.772L0 .748C0 .253.322.005.966.005h2.85a1.225 1.225 0 0 1 .8.22L4.616.223c.216.215.377.479.456.773l.003.012a23.773 23.773 0 0 0 1.72 3.543l-.073-.135c.522.951 1.1 1.77 1.759 2.525l-.025-.03c.578.641 1.028.962 1.352.962l.035.001c.16 0 .3-.078.375-.196l.002-.002a1.6 1.6 0 0 0 .12-.771v.006-3.802a2.91 2.91 0 0 0-.347-1.242l.009.019a2.884 2.884 0 0 0-.488-.681l.004.003c-.178-.16-.3-.371-.337-.606L9.178.596c0-.167.085-.317.217-.415h.001a.78.78 0 0 1 .499-.175h4.501a.718.718 0 0 1 .606.218 1.234 1.234 0 0 1 .173.748V.967v5.07a.892.892 0 0 0 .147.572l-.002-.003c.079.106.211.174.36.174a1.1 1.1 0 0 0 .512-.158l-.003.002c.294-.184.548-.392.768-.629l.004-.005a15.483 15.483 0 0 0 1.794-2.205l.042-.068c.372-.56.776-1.247 1.14-1.954l.068-.144.483-.874C20.656.308 21.107 0 21.637 0l.061.001h-.003 2.85c.77 0 1.059.32.867.961z\"/></svg>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class=\"footer__info\">
<div class=\"footer__row\">
<div class=\"footer__sidebar\">
<div class=\"footer__brand\">
© {{ \"now\"|date('Y') }} Decostore
</div>
</div>
<div class=\"footer__main\">
<ul class=\"infonav\">
<li class=\"infonav__item\">
<a href=\"{{ path('agreement') }}\" class=\"infonav__link\">Политика конфиденциальности</a>
</li>
<li class=\"infonav__item\">
<a href=\"{{ path('map') }}\" class=\"infonav__link\">Карта сайта</a>
</li>
</ul>
<ul class=\"payment\">
<li class=\"payment__item\">
<svg width=\"42\" height=\"15\" viewBox=\"0 0 42 15\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m16.817 1.82-2.135 12.848h3.415l2.136-12.847h-3.416zm-4.997.015-3.343 8.761-.357-1.322C7.46 7.68 5.59 5.39 3.392 3.947l3.056 10.715 3.612-.007 5.376-12.823-3.616.003z\"/><path d=\"M6.825 2.754c-.2-.783-.776-1.015-1.489-1.044H.044L0 1.967C4.12 2.991 6.844 5.46 7.975 8.43l-1.15-5.676zm20.327 1.53a6.164 6.164 0 0 1 2.555.492l.307.148.462-2.785a8.613 8.613 0 0 0-3.057-.538c-3.374 0-5.751 1.741-5.77 4.239-.021 1.844 1.694 2.875 2.99 3.49 1.33.631 1.776 1.032 1.77 1.594-.011.86-1.061 1.254-2.042 1.254-1.367 0-2.093-.194-3.215-.672l-.439-.205-.48 2.875c.799.36 2.273.668 3.804.684 3.587 0 5.92-1.721 5.945-4.39.014-1.46-.896-2.574-2.869-3.488-1.194-.595-1.925-.992-1.917-1.594 0-.534.62-1.105 1.956-1.105zm12.087-2.45h-2.64c-.818 0-1.427.23-1.787 1.067l-5.07 11.775h3.586s.584-1.583.717-1.93l4.371.005c.102.45.417 1.925.417 1.925H42L39.239 1.834zm-4.211 8.282 1.36-3.592c-.02.036.278-.743.454-1.226l.231 1.108.79 3.709h-2.835v.001z\"/></svg>
</li>
<li class=\"payment__item\">
<svg width=\"50\" height=\"16\" viewBox=\"0 0 50 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.569 1.001C5.01 1 6.322.871 6.878 2.877c.375 1.348.971 3.56 1.79 6.632H9c.597-2.213 1.2-4.424 1.808-6.632C11.372.85 12.775 1 13.336 1h4.333V15.4h-4.416V6.915h-.295l-2.462 8.484H7.173l-2.462-8.49h-.295v8.49H0V1h4.569zm19.439 0v8.492h.352l2.995-6.982c.58-1.39 1.82-1.51 1.82-1.51h4.272V15.4h-4.508v-8.49h-.353l-2.934 6.982c-.581 1.382-1.879 1.508-1.879 1.508h-4.272V1h4.507zm25.02 6.842c-.63 1.904-2.604 3.268-4.79 3.268H39.51V15.4h-4.287V7.843H49.027zm-4.584-6.842h-9.445c.225 3.206 2.808 5.95 5.484 5.95h8.842c.51-2.665-1.246-5.95-4.881-5.95z\"/></svg>
</li>
<li class=\"payment__item\">
<svg width=\"34\" height=\"21\" viewBox=\"0 0 34 21\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M24.2847 20.285C29.6496 20.285 33.9987 15.9679 33.9987 10.6425C33.9987 5.31709 29.6496 1 24.2847 1C18.9199 1 14.5708 5.31709 14.5708 10.6425C14.5708 15.9679 18.9199 20.285 24.2847 20.285Z\"/><path d=\"M16.5968 3.83625C15.697 4.73019 14.9836 5.79147 14.4974 6.95936C14.0112 8.12725 13.7618 9.37883 13.7634 10.6425C13.7634 13.2988 14.8451 15.705 16.5968 17.4488C15.2396 18.8007 13.5088 19.7224 11.6236 20.0972C9.73831 20.472 7.78341 20.2831 6.00643 19.5543C4.22945 18.8254 2.71032 17.5896 1.64142 16.0031C0.572529 14.4167 0.00195313 12.5511 0.00195312 10.6425C0.00195312 8.73395 0.572529 6.86832 1.64142 5.28189C2.71032 3.69545 4.22945 2.45957 6.00643 1.73075C7.78341 1.00193 9.73831 0.812963 11.6236 1.18778C13.5088 1.56259 15.2396 2.48433 16.5968 3.83625ZM18.8722 9.9125C18.7249 7.5075 17.8346 5.42625 16.7403 4.5225L17.2591 3.905C18.5939 5.00875 19.5258 7.34875 19.6807 9.86375C19.8368 12.3988 19.2148 15.2288 17.3007 17.3388L16.6988 16.8013C18.4277 14.895 19.0196 12.3 18.8722 9.91375V9.9125Z\"/></svg>
</li>
<li class=\"payment__item\">
<svg width=\"50\" height=\"28\" viewBox=\"0 0 50 28\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m9.596 15.408 3.425 2.252v4.178L9.58 28l.015-12.592z\"/><path d=\"m6.756 13.629 3.418 1.98L.027 21.771l3.311-6.027 3.417-2.115zM22.692 7.935l-6.53-.033-3.144-1.89L9.6.03l13.092 7.905z\"/><path d=\"m9.6.03 3.418 5.981.007 8.243L9.579 13.2 9.6.03zM0 6.048l3.35 6.09-.01 3.606L.027 21.77 0 6.048z\"/><path d=\"M0 6.048 22.64 19.9l-6.487.045L3.35 12.138 0 6.048zM16.163 7.902l6.53.033-9.665 5.94-.01-4.057 3.145-1.916zM34.992 8.884c.794-.724 1.881-1.09 2.951-1.056 1.118-.023 2.244.053 3.356-.079-.24.738-.73 1.378-1.055 2.084-.801.015-1.603-.015-2.404.013-1.029.084-2.01.918-2.11 1.966.936-.933 2.401-.996 3.615-.69.813.277 1.538.887 1.833 1.708.272.721.316 1.513.139 2.262-.27 1.028-1.096 1.823-2.07 2.199-1.148.432-2.47.455-3.613-.003-1.085-.442-1.853-1.468-2.116-2.594-.287-1.002-.249-2.485.046-3.504a5.063 5.063 0 0 1 1.428-2.306zm2.778 3.911c-.61-.12-1.298.128-1.615.665-.575.975.215 2.43 1.505 2.247 1.407-.2 1.773-2.468.11-2.912zm-9.092-2.52c1.265-.312 2.712-.221 3.793.567-.358.577-.68 1.173-1.008 1.766-.528-.176-1.041-.455-1.612-.441-.606-.02-1.262.218-1.607.739a1.749 1.749 0 0 0-.027 1.872c.317.53.942.776 1.535.831.463-.052.934-.117 1.362-.313.102-.064.22-.062.337-.054.21.598.667 1.093.848 1.697-1.165.623-2.555.75-3.83.44-.88-.258-1.718-.761-2.22-1.545-.797-1.221-.767-2.949.148-4.1.552-.743 1.395-1.228 2.281-1.46zm13.867.03a495.22 495.22 0 0 1 7.374 0c-.022 2.335-.008 4.672-.006 7.006-.827.005-1.655.006-2.481 0 .038-1.533-.039-3.063.01-4.59a.618.618 0 0 0-.083-.333c-.754.017-1.511.018-2.266-.001-.048 1.638-.009 3.28-.019 4.92-.841.014-1.683.007-2.524.004.001-2.336.01-4.67-.005-7.005zM13.02 21.838l3.133-1.892 6.488-.045L9.58 28l3.44-6.163z\"/></svg>
</li>
</ul>
<!--<div class=\"avenue\"><a href=\"https://avenuemedia.ru/\" target=\"_blank\"><svg width=\"85\" height=\"12\" viewBox=\"0 0 85 12\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5.577 0c1.844 0 3.26.433 4.248 1.3.989.852 1.483 2.144 1.483 3.877v6.65h-3.23v-1.451C7.427 11.459 6.217 12 4.447 12c-.915 0-1.711-.152-2.39-.455-.664-.303-1.173-.722-1.527-1.256A3.22 3.22 0 0 1 0 8.469c0-1.083.413-1.935 1.24-2.556.84-.62 2.131-.931 3.872-.931h2.744c0-.737-.229-1.3-.686-1.69-.457-.404-1.143-.606-2.058-.606a6.03 6.03 0 0 0-1.881.303 4.838 4.838 0 0 0-1.55.78L.444 1.408C1.092.96 1.866.614 2.766.368A10.795 10.795 0 0 1 5.576 0zM5.31 9.726c.59 0 1.114-.13 1.571-.39.458-.275.782-.672.974-1.192v-1.19H5.488c-1.416 0-2.124.454-2.124 1.364 0 .433.17.78.509 1.04.354.245.833.368 1.438.368zM25.37.173l-5.024 11.654h-3.563l-5-11.654h3.562l3.297 7.928L22.05.173h3.32zM37.452 6.043c0 .044-.022.347-.066.91h-9.007a2.743 2.743 0 0 0 1.15 1.711c.606.419 1.358.628 2.258.628.62 0 1.166-.086 1.638-.26a4.121 4.121 0 0 0 1.35-.866l1.836 1.95C35.49 11.372 33.852 12 31.7 12c-1.343 0-2.53-.253-3.563-.758-1.033-.52-1.83-1.235-2.39-2.145-.56-.91-.841-1.942-.841-3.097 0-1.14.273-2.166.819-3.076A5.757 5.757 0 0 1 28.003.78C28.977.26 30.061 0 31.256 0c1.165 0 2.22.245 3.164.736a5.348 5.348 0 0 1 2.213 2.123c.546.91.82 1.971.82 3.184zm-6.174-3.487c-.782 0-1.438.217-1.97.65-.53.433-.855 1.025-.973 1.776h5.864c-.118-.737-.442-1.321-.974-1.755-.53-.447-1.18-.671-1.947-.671zM46.323 0c1.475 0 2.663.433 3.563 1.3.914.866 1.372 2.151 1.372 3.855v6.672h-3.453V5.675c0-.924-.206-1.61-.62-2.058-.412-.462-1.01-.693-1.792-.693-.87 0-1.563.267-2.08.802-.516.52-.774 1.3-.774 2.339v5.762h-3.452V.173h3.297v1.365A4.475 4.475 0 0 1 44.088.412 5.909 5.909 0 0 1 46.323 0zM65.717.173v11.654h-3.275V10.44a4.696 4.696 0 0 1-1.638 1.17c-.634.26-1.32.39-2.058.39-1.564 0-2.803-.44-3.717-1.321-.915-.881-1.372-2.188-1.372-3.92V.172h3.452V6.26c0 1.877.804 2.816 2.412 2.816.826 0 1.49-.26 1.991-.78.502-.534.753-1.321.753-2.361V.173h3.452zM79.913 6.043c0 .044-.022.347-.066.91H70.84a2.743 2.743 0 0 0 1.151 1.711c.605.419 1.357.628 2.257.628.62 0 1.166-.086 1.638-.26a4.122 4.122 0 0 0 1.35-.866l1.837 1.95C77.95 11.372 76.313 12 74.16 12c-1.343 0-2.53-.253-3.563-.758-1.033-.52-1.83-1.235-2.39-2.145-.56-.91-.84-1.942-.84-3.097 0-1.14.272-2.166.818-3.076A5.757 5.757 0 0 1 70.465.78C71.437.26 72.521 0 73.716 0c1.166 0 2.22.245 3.165.736a5.348 5.348 0 0 1 2.213 2.123c.546.91.818 1.971.818 3.184zM73.74 2.556c-.782 0-1.438.217-1.97.65-.53.433-.855 1.025-.973 1.776h5.864c-.118-.737-.442-1.321-.973-1.755-.531-.447-1.18-.671-1.948-.671zM82.853 12c-.604 0-1.113-.202-1.526-.607-.413-.404-.62-.91-.62-1.516 0-.62.207-1.119.62-1.494.413-.39.922-.585 1.526-.585.605 0 1.114.195 1.527.585.413.375.62.873.62 1.494 0 .607-.207 1.112-.62 1.516-.413.405-.922.607-1.526.607z\" fill=\"#fff\"/></svg></a></div>-->
</div>
</div>
</div>
</div>
</footer>
</div>
<div class=\"modal modal--mobile\" id=\"requestCall\" style=\"display:none;\">
<h3 class=\"modal__title\">Перезвоните мне</h3>
<form id=\"callbackForm\" action=\"#\" class=\"form\">
<input name=\"type\" value=\"callback\" type=\"hidden\">
<input name=\"token\" type=\"hidden\">
<div class=\"form__group\">
<input name=\"name\" class=\"form__control\" type=\"text\" placeholder=\"Имя\" required>
</div>
<div class=\"form__group\">
<input name=\"phone\" type=\"tel\" class=\"form__control\" placeholder=\"+7 (\" id=\"a-phone-modal\" required>
</div>
<div class=\"form__btn\">
<button type=\"submit\" class=\"btn\">Отправить заявку</button>
</div>
<div class=\"form__help\">
Нажимая кнопку «Отправить», я даю <a href=\"{{ path('agreement') }}\" target=\"_blank\">согласие</a> на обработку персональных данных.
</div>
<div class=\"form__help\">
This site is protected by reCAPTCHA and the Google
<a rel=\"nofollow\" href=\"https://policies.google.com/privacy\">Privacy Policy</a>
and <a rel=\"nofollow\" href=\"https://policies.google.com/terms\">Terms of Service</a> apply.
</div>
</form>
</div>
<link rel=\"stylesheet\" href=\"/css/swiper-bundle.min.css\">
<link rel=\"stylesheet\" href=\"/css/fancybox.css\">
<link rel=\"stylesheet\" href=\"/css/select2.min.css\">
<link rel=\"stylesheet\" href=\"/css/nouislider.min.css\">
<script src=\"/js/jquery-3.6.0.min.js\"></script>
<script src=\"/js/swiper-bundle.min.js\"></script>
<script src=\"/js/fancybox.umd.js\"></script>
<script src=\"/js/select2.min.js\"></script>
<script src=\"/js/nouislider.min.js\"></script>
<script src=\"/js/wNumb.min.js\"></script>
<script src=\"/js/imask.min.js\"></script>
{#<script type=\"module\" src=\"/js/lite-youtube.min.js\"></script>#}
<script src=\"/js/index.umd.js\"></script>
<script>
function alertPopup(text) {
new Fancybox([
{
src: text,
type: \"html\",
},
]);
}
function closePopup() {
Fancybox.close();
}
{% if message is defined and message %}
alertPopup({{ message|json_encode|raw }});
{% endif %}
</script>
<div class=\"modal modal--mobile\" id=\"forgot\" style=\"display:none;\">
<h3 class=\"modal__title\">Восстановление<br> доступа</h3>
<p>Укажите почту, чтобы получить новый пароль</p>
<form id=\"resetForm\" action=\"#\" class=\"form\">
<div class=\"form__group\">
<input name=\"email\" class=\"form__control\" type=\"email\" placeholder=\"www@mymail.ru\" required>
</div>
<div class=\"form__btn\">
<button type=\"submit\" class=\"btn\">
<span class=\"btn__text\">Получить ссылку</span>
</button>
</div>
</form>
</div>
<script>
\$('#resetForm').submit(function () {
\$.ajax({
type: \"POST\",
url: '{{ path('reset-ajax') }}',
data: \$(this).serialize(),
success: function (data) {
closePopup();
alertPopup(data.message);
}
}).fail(function() {
alertPopup('Ошибка');
});
return false;
});
</script>
{% block popups %}
{% endblock %}
<script src=\"/js/script.js?5\"></script>
<script>
function prepareProductBlockCount(parent) {
console.log(\"prepareProductBlockCount\", parent);
if (!parent) {
parent = \$(document);
}
let productBlockCount = parent.find('.product-block-count');
productBlockCount.find('input').change(function () {
let plus = \$(this).parent().find('.count__plus');
let minus = \$(this).parent().find('.count__minus');
let val = Number(\$(this).val());
if (val < 1) {
val = 1;
}
\$(this).val(val);
if (val == 1) {
minus.attr('disabled', 'disabled');
} else {
minus.removeAttr('disabled');
}
});
productBlockCount.find('button').click(function () {
let input = \$(this).parent().find('input');
let val = Number(input.val());
let inc = Number(\$(this).attr('data-value'));
input.val(val + inc);
input.change();
return false;
});
parent.find('.add-to-cart-button').click(function () {
let button = \$(this);
if (button.hasClass('btn--success')) {
location.href = '{{ path('cart') }}';
return false;
}
button.attr('disabled', 'disabled');
\$.ajax({
type: \"POST\",
url: '{{ path('cart-add-ajax') }}',
data: {
id: button.attr('data-id'),
count: button.closest('.add-to-cart-block').find('input').val()
},
success: function (data) {
\$('#cartDiv').html(data.cartHtml);
button.addClass('btn--success');
button.html('В корзине ' + data.count + ' шт');
//alertPopup('Товар добавлен в корзину');
}
}).fail(function() {
alertPopup('Ошибка');
}).always(function() {
button.removeAttr('disabled');
});
return false;
});
}
prepareProductBlockCount();
\$('.counterparty-link').click(function () {
\$.ajax({
type: \"POST\",
url: '{{ path('cart-set-counterparty-ajax') }}',
data: {
id: \$(this).attr('data-id'),
},
success: function (data) {
location.reload();
}
}).fail(function() {
alertPopup('Ошибка');
});
return false;
});
function call_ym(b, c) {
console.log(\"ym: \" + b, c);
try {
ym(37566365, b, c);
} catch (e) {
console.error(e);
}
return true;
}
\$('#callbackForm,form.requestForm').submit(function () {
let goal = \$(this).find('input[name=goal]').val();
if (goal) {
call_ym('reachGoal', goal);
}
submitFormWithCaptcha(\$(this), function (form) {
\$.ajax({
type: \"POST\",
url: '{{ path('callback-ajax') }}',
data: form.serialize() + '&source=' + location.pathname,
success: function (data) {
if (data.ok) {
closePopup();
}
alertPopup(data.message);
}
}).fail(function() {
alertPopup('Ошибка');
});
});
return false;
});
</script>
<script>
document.addEventListener(\"alpine:init\", () => {
Alpine.data(\"searchForm\", () => ({
text: '',
categories: [],
products: [],
async getSearchData(text) {
let fullResponse = await (
await fetch(
`/quick-search/?text=\${text}`
)).json();
this.categories = fullResponse.response.categories;
this.products = fullResponse.response.products;
},
}));
});
</script>
<style>
.grecaptcha-badge {
visibility: hidden;
}
.not-visible {
display: none;
}
</style>
<script src='https://www.google.com/recaptcha/api.js?render={{ recaptchaSiteKey }}' async></script>
<script>
function submitFormWithCaptcha(form, handler) {
let tokenInput = form.find('input[name=token]');
if (tokenInput.val()) {
return true;
}
grecaptcha.ready(function() {
console.log('grecaptcha.ready');
grecaptcha.execute('{{ recaptchaSiteKey }}', {action: 'request'}).then(function (token) {
console.log('grecaptcha.execute', token);
tokenInput.val(token);
if (handler) {
console.log('handler', token);
handler(form);
} else {
setTimeout(() => {
console.log('submit', token);
form.submit();
}, 100);
}
console.log('grecaptcha.execute end');
}).catch((e) => {
console.error(e);
alertPopup('Произошел технический сбой. Попробуйте повторить позднее');
});
console.log('grecaptcha.ready end');
});
return false;
}
</script>
{% block scripts %}
{% endblock %}
</body>
</html>
", "application/layout.html.twig", "/var/www/html/templates/application/layout.html.twig");
}
}