<?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;
use Twig\TemplateWrapper;
/* frontend/product/product.html.twig */
class __TwigTemplate_4d97a37bb073b656b0f9f4c722d3b4ce5b85ce16ab0e5179b1de299011f39fe7 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'meta_desc_key' => [$this, 'block_meta_desc_key'],
'facebook' => [$this, 'block_facebook'],
'css' => [$this, 'block_css'],
'javascripts' => [$this, 'block_javascripts'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$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", "frontend/product/product.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/product/product.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "frontend/product/product.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 4
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$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", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 5
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, ($context["product"] ?? null), "metaTitle", [], "any", true, true, false, 5)) {
// line 6
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 6, $this->source); })()), "metaTitle", [], "any", false, false, false, 6), "html", null, true);
yield "
";
} else {
// line 8
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 8, $this->source); })()), "nazwa", [], "any", false, false, false, 8), "html", null, true);
yield "
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
// line 12
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_meta_desc_key(array $context, array $blocks = []): iterable
{
$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", "meta_desc_key"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_desc_key"));
// line 13
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, ($context["product"] ?? null), "metaDescription", [], "any", true, true, false, 13)) {
// line 14
yield " <meta name=\"description\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::slice($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 14, $this->source); })()), "metaDescription", [], "any", false, false, false, 14), 0, 300), "html", null, true);
yield "...\">
";
} else {
// line 16
yield " <meta name=\"description\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::slice($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 16, $this->source); })()), "getDescriptionFb", [], "any", false, false, false, 16), 0, 60), "html", null, true);
yield "\">
";
}
// line 18
yield "
";
// line 19
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 19, $this->source); })()), "metaKeywords", [], "any", false, false, false, 19)) {
// line 20
yield " <meta name=\"keywords\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 20, $this->source); })()), "metaKeywords", [], "any", false, false, false, 20), "html", null, true);
yield "\">
";
}
// line 22
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 22, $this->source); })()), "getCanonical", [], "any", false, false, false, 22)) {
// line 23
yield " <link rel=\"canonical\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 23, $this->source); })()), "getCanonical", [], "any", false, false, false, 23), "html", null, true);
yield "\" />
";
}
// line 25
yield "
";
// line 26
if ((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.', 26, $this->source); })()), "request", [], "any", false, false, false, 26), "locale", [], "any", false, false, false, 26) == "pl")) {
// line 27
yield " ";
// line 28
yield " ";
// line 31
yield " ";
}
// line 32
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
// line 35
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_facebook(array $context, array $blocks = []): iterable
{
$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", "facebook"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "facebook"));
// line 36
yield " ";
$context["imgShow"] = 0;
// line 37
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 37, $this->source); })()), "photos", [], "any", false, false, false, 37));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 38
yield " ";
if (((CoreExtension::getAttribute($this->env, $this->source, $context["image"], "main", [], "any", false, false, false, 38) == 1) && ((isset($context["imgShow"]) || array_key_exists("imgShow", $context) ? $context["imgShow"] : (function () { throw new RuntimeError('Variable "imgShow" does not exist.', 38, $this->source); })()) == 0))) {
// line 39
yield " <meta property=\"og:image\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 39, $this->source); })()), "storeUrl", [], "any", false, false, false, 39), "html", null, true);
yield "/images/product/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 39), "html", null, true);
yield "\"/>
";
// line 40
$context["imgShow"] = 1;
// line 41
yield " ";
}
// line 42
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['image'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 43
yield " ";
// line 44
yield " <meta property=\"og:title\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 44, $this->source); })()), "name", [], "any", false, false, false, 44), "html", null, true);
yield "\"/>
";
// line 46
yield " <meta property=\"og:url\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 46, $this->source); })()), "storeUrl", [], "any", false, false, false, 46), "html", null, true);
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("product", ["slug" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 46, $this->source); })()), "slug", [], "any", false, false, false, 46), "id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 46, $this->source); })()), "id", [], "any", false, false, false, 46)]), "html", null, true);
yield "\"/>
<meta property=\"og:description\" content=\"";
// line 47
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::slice($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 47, $this->source); })()), "metaDescription", [], "any", false, false, false, 47), 0, 300), "html", null, true);
yield "...\">
<meta property=\"og:type\" content=\"product\">
";
// line 50
if ((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.', 50, $this->source); })()), "request", [], "any", false, false, false, 50), "locale", [], "any", false, false, false, 50) == "pl")) {
// line 51
yield " ";
if (CoreExtension::inFilter("ckdev", 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.', 51, $this->source); })()), "request", [], "any", false, false, false, 51), "getSchemeAndHttpHost", [], "method", false, false, false, 51))) {
// line 52
yield " <meta name=\"robots\" content=\"noindex, nofollow\" />
";
}
// line 54
yield " ";
}
// line 55
yield " ";
if ((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.', 55, $this->source); })()), "request", [], "any", false, false, false, 55), "locale", [], "any", false, false, false, 55) == "cz")) {
// line 56
yield " ";
if (CoreExtension::inFilter("dev.ezidle", 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.', 56, $this->source); })()), "request", [], "any", false, false, false, 56), "getSchemeAndHttpHost", [], "method", false, false, false, 56))) {
// line 57
yield " <meta name=\"robots\" content=\"noindex, nofollow\" />
";
}
// line 59
yield " ";
}
// line 60
yield " ";
if ((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.', 60, $this->source); })()), "request", [], "any", false, false, false, 60), "locale", [], "any", false, false, false, 60) == "sk")) {
// line 61
yield " ";
if (CoreExtension::inFilter("dev.stolicky24", 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.', 61, $this->source); })()), "request", [], "any", false, false, false, 61), "getSchemeAndHttpHost", [], "method", false, false, false, 61))) {
// line 62
yield " <meta name=\"robots\" content=\"noindex, nofollow\" />
";
}
// line 64
yield " ";
}
// line 65
yield " ";
if ((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.', 65, $this->source); })()), "request", [], "any", false, false, false, 65), "locale", [], "any", false, false, false, 65) == "ro")) {
// line 66
yield " ";
if (CoreExtension::inFilter("ro.centrumkrzesel", 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.', 66, $this->source); })()), "request", [], "any", false, false, false, 66), "getSchemeAndHttpHost", [], "method", false, false, false, 66))) {
// line 67
yield " <meta name=\"robots\" content=\"noindex, nofollow\" />
";
}
// line 69
yield " ";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
// line 72
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_css(array $context, array $blocks = []): iterable
{
$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", "css"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "css"));
// line 73
yield " ";
yield from $this->yieldParentBlock("css", $context, $blocks);
yield "
<style>
.modele_i_cechy .left-25 ul {
list-style: initial;
}
.eye-icon {
margin-top: -113px;
margin-left: 6px;
position: absolute;
color: white;
font-size: 14px;
}
.ck-table th {
padding-top:29px;
font-size:14px;
}
.ck-table td {
font-size:14px;
padding-top:15px;
vertical-align: middle;
}
.image.is-square img, .image.is-1by1 img, .image.is-5by4 img, .image.is-4by3 img, .image.is-3by2 img, .image.is-5by3 img, .image.is-16by9 img, .image.is-2by1 img, .image.is-3by1 img, .image.is-4by5 img, .image.is-3by4 img, .image.is-2by3 img, .image.is-3by5 img, .image.is-9by16 img, .image.is-1by2 img, .image.is-1by3 img {
width:auto;
height:auto;
margin-left:auto;
margin-right: auto;
}
.dropdown-content {
max-height: 400px;
overflow: auto;
}
@media (max-width: 1024px) {
.video-container iframe {
width:100%!important;
height:auto!important;
min-height: 300px!important;
}
.blueimp-gallery>.close {
top:13%!important;
right: 15px!important;
}
.select-image-display {
margin-top:-50px;
}
}
@media (max-width: 767px) {
.image.is-square img, .image.is-1by1 img, .image.is-5by4 img, .image.is-4by3 img, .image.is-3by2 img, .image.is-5by3 img, .image.is-16by9 img, .image.is-2by1 img, .image.is-3by1 img, .image.is-4by5 img, .image.is-3by4 img, .image.is-2by3 img, .image.is-3by5 img, .image.is-9by16 img, .image.is-1by2 img, .image.is-1by3 img {
width:auto;
height:auto;
margin-left:auto;
margin-right: auto;
max-height: 450px;
}
.left-25 {
padding-left:0px;
}
.pricingContainer {
overflow: auto;
}
}
.descriptionDiv a {
color:#23d160 !important;
}
.descriptionDiv .column {
padding:0.5rem;
}
.descriptionDiv img {
margin:0px!important;
padding:0px!important;
}
.main-image img {
cursor: pointer;
}
.blueimp-gallery {
background: rgba(0, 0, 0, 0.50)!important;
}
@media (max-width: 550px) {
.material-presentation-mobile {
width: 50%; float: left; min-height: 250px;
}
}
.ck-table td:first-child {
padding: 6px 12px!important;
border:1px solid #ebebeb;
}
#podobne .tabs ul .is-active a{
font-weight: bold;
}
.zoom-on-hover img {
cursor: pointer;
}
.remove-first-element .column:first-child {
display: none;
}
@media (max-width: 730px) {
.zoom-on-hover .normal {
width: fit-content !important;
}
.main-content-mobile-up {
margin-top:-80px;
}
.main-content-mobile-up .is-full {
padding-bottom:0px!important;
}
.hr {
margin-top:20px!important;
margin-bottom:50px!important;
}
}
.removeDot {
margin:0;
padding:0;
list-style:none;
}
.removeDot div a {
text-decoration: underline!important;
}
@media (max-width: 1024px) {
.removeDot div p img, .removeDot div img {
width: auto!important;
height:auto!important;
}
}
.author-circle {
object-fit: cover;
border-radius: 50%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
color: #ffffff;
font-weight: normal;
text-align: center;
vertical-align: middle;
display: table;
}
.author-container {
position: relative;
margin: auto;
/* overflow: hidden; */
border-radius: 50%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border: 2px solid #ffffff;
overflow: visible;
}
.blue-notifi-notification {
background-color: rgb(242, 248, 255);
color: rgb(48, 133, 229);
font-weight: bold;
}
.rateit .rateit-preset {
color:#f8d52f!important;
}
#show_comments_button {
margin-left:10px;
}
/* Styling for details section */
#detailsSection {
max-width: 200px; /* Adjust width as needed */
word-wrap: break-word; /* Ensures long words wrap properly */
line-height: 23px;
}
/* Align \"Podmiot odpowiedzialny\" container */
#toggleDetails {
max-width: 230px; /* Ensure this container aligns with content */
display: block;
}
/* Icon alignment */
#toggleDetails span.icon {
margin-left: 10px; /* Space between text and icon */
}
</style>
<style>
@media (max-width: 730px) {
.level-item-name {
display: block!important;
}
.content-comment {
width:87%!important;
}
.hide-mobile {
display: none!important;
}
}
</style>
<link rel=\"stylesheet\" href=\"/metronic/lightbox2/dist/css/lightbox.min.css\">
<link rel=\"stylesheet\" href=\"/js/rate-script/scripts/rateit.css\" />
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
// line 278
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(array $context, array $blocks = []): iterable
{
$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", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 279
yield " ";
yield from $this->yieldParentBlock("javascripts", $context, $blocks);
yield "
<script>
document.addEventListener('DOMContentLoaded', function () {
// Modals
var rootEl = document.documentElement;
var allModals = getAll('.modal');
var modalButtons = getAll('.modal-button');
var modalCloses = getAll('.modal-background, .modal-close, .modal-card-head .delete, .modal-card-foot .button');
if (modalButtons.length > 0) {
modalButtons.forEach(function (el) {
el.addEventListener('click', function () {
var target = document.getElementById(el.dataset.target);
target.classList.add('is-active');
});
});
}
if (modalCloses.length > 0) {
modalCloses.forEach(function (el) {
el.addEventListener('click', function () {
closeModals();
});
});
}
document.addEventListener('keydown', function (event) {
var e = event || window.event;
if (e.keyCode === 27) {
closeModals();
}
});
function closeModals() {
rootEl.classList.remove('is-clipped');
allModals.forEach(function (el) {
el.classList.remove('is-active');
});
}
// Functions
function getAll(selector) {
return Array.prototype.slice.call(document.querySelectorAll(selector), 0);
}
});
// Popup window code
function newPopup(url) {
popupWindow = window.open(
url,'popUpWindow','height=700,width=800,left=10,top=10,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')
}
function newPopupImage(url) {
popupWindow = window.open(
url,'popUpWindow','left=10,top=10,width=800;height=700;resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')
}
\$(document).ready(function () {
\$('.similarLinkStart').trigger(\"click\");
var chosen = [];
var \$list = \$(\".chosen_params_list\");
function collectParameters() {
\$list.each(function() {
chosen.push({'param':\$(this).attr('data-id'), 'value':\$(this).val()});
});
return chosen;
}
function collectEquipment() {
var chosenEquipment = [];
var \$equipmentContainer = \$(\".equipmentCheckbox\");
\$equipmentContainer.each(function() {
if (\$(this).is(':checked')) {
chosenEquipment.push(\$(this).attr('data-id'));
}
});
return chosenEquipment;
}
function isOK(string) {
var regex = /^([a-zA-Z0-9_.+-])+\\@(([a-zA-Z0-9-])+\\.)+([a-zA-Z0-9]{2,4})+\$/;
return regex.test(string);
}
\$('#notify-button').on(\"click\", function() {
\$('#error_notify_container').hide();
var notifyOn = \$('#notify_input').val();
if (isOK(notifyOn)) {
\$(this).append(' <i class=\"fas fa-spinner fa-pulse\"></i>').css(\"opacity\", '0.6');
var url = \$('#new_waiting_list').val();
var productId = \$('#product_id').val();
var email = \$('#notify_input').val();
\$.ajax({
type: \"POST\",
url: url,
data: {'email':email, 'productId':productId},
success: function (data) {
\$('#notify_container').html(\"<div class='notification blue-notifi-notification'>";
// line 384
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("notify_thankyou_text", [], "store"), "html", null, true);
yield "</div>\")
}
});
} else {
\$('#error_notify_container').show();
}
});
\$('.modal-button').on(\"click\", function() {
var url = \$(this).attr('data-href');
\$.ajax({
type: \"POST\",
url: url,
success: function (data) {
\$('.modal-card-body').html(data);
}
});
});
function addToCart() {
\$('.cart-error-notification').hide();
let parameters = collectParameters();
let \$variant = \$('#variant').val();
var product_id = \$('#product_id').val();
var quantity = \$('#amount').val();
var url = \$('#add_to_cart_url').val();
var equipments = collectEquipment();
\$.ajax({
type: \"POST\",
url: url,
data: {'equipments':equipments, 'product_id':product_id, 'quantity':quantity, 'variant':\$variant, 'parameters':parameters},
success: function (data) {
if (parseInt(data.error) === 1) {
\$('.cart-error-notification').show();
\$('.cart-error-notification').html(data.message);
\$('#ask-button').prop('disabled', false);
} else {
var price = \$('#productPriceContainer').html();
price.replace(\",\",'.');
let gaPrice = parseFloat(price);
var name = \$('#item_name').val();
window.dataLayer.push({ ecommerce: null }); // Clear the previous ecommerce object.
window.dataLayer.push({
event: 'add_to_cart',
value: gaPrice,
currency: \"\"+\$('#getGa4CodeCurrency').val()+\"\",
ecommerce: {
items: [{
item_name: \"\"+name+\"\",
item_id: \"\"+product_id+\"\",
price: gaPrice,
quantity: \"\"+quantity+\"\"
}]
}
});
";
// line 446
if ((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.', 446, $this->source); })()), "request", [], "any", false, false, false, 446), "locale", [], "any", false, false, false, 446) == "ro")) {
// line 447
yield " if (typeof bianoTrack === 'function') {
bianoTrack('track', 'add_to_cart', {
id: 'CK";
// line 449
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 449, $this->source); })()), "id", [], "any", false, false, false, 449), "html", null, true);
yield "', // Unique identifier of the product
quantity: parseInt(quantity), // Category of the product
unit_price: gaPrice, // Product price (e.g., 99.99)
currency: 'RON' // Currency of the product price (e.g., 'USD', 'EUR')
});
}
";
}
// line 456
yield "
window.location.href = '/cart';
}
}
});
}
\$('#ask-button').on(\"click\", function(e) {
e.preventDefault();
let allowToAdd = isAllowToAdd();
if (allowToAdd) {
e.preventDefault();
\$(this).prop('disabled', true);
addToCart();
}
});
";
// line 473
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["parameterValues"]) || array_key_exists("parameterValues", $context) ? $context["parameterValues"] : (function () { throw new RuntimeError('Variable "parameterValues" does not exist.', 473, $this->source); })())) >= 1)) {
// line 474
yield " \$('#ask-button').css('opacity', '0.5');
";
}
// line 476
yield " });
\$('.equipmentCheckbox').on(\"click\", function(){
var productPriceContainer = \$('#productPriceContainer');
var currentPrice = productPriceContainer.html();
var currencySeparator = \$('#currencySeparator').val();
isComma = currencySeparator.includes(',');
currentPrice = currentPrice.replace(/,/g, '.');
//currentPrice = currentPrice.replace(/\\D/g,'');
currentPrice = parseFloat(currentPrice);
var equipmentPrice = parseFloat(\$(this).attr('data-price'));
var currencySign = \$('#currencySign').val();
if (\$(this).is(':checked')) {
var newValue = (currentPrice + equipmentPrice).toFixed(2);
productPriceContainer.html(newValue+' '+currencySign);
if (isComma) {
var productPriceContainer = \$('#productPriceContainer');
var currentPrice = productPriceContainer.html();
currentPrice = currentPrice.replace(/\\./g, \",\");
productPriceContainer.html(currentPrice);
} else {
productPriceContainer.html(newValue+' '+currencySign);
}
} else {
var newValue = (currentPrice - equipmentPrice).toFixed(2);
productPriceContainer.html(newValue + ' ' + currencySign);
if (isComma) {
var productPriceContainer = \$('#productPriceContainer');
var currentPrice = productPriceContainer.html();
currentPrice = currentPrice.replace(/\\./g, \",\");
productPriceContainer.html(currentPrice);
} else {
productPriceContainer.html(newValue + ' ' + currencySign);
}
}
});
\$('#show_comments_button').on(\"click\", function() {
\$('#comment_container').show();
\$(this).hide();
\$('.rateit').rateit({ max: 5, step: 1, backingfld: '#backing7' });
});
</script>
<script src=\"/metronic/lightbox2/dist/js/lightbox.js\"></script>
<script>
lightbox.option({
'fitImagesInViewport': false,
'disableScrolling': false,
})
</script>
<script src=\"/js/rate-script/scripts/jquery.rateit.js\"></script>
";
// line 536
if ((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.', 536, $this->source); })()), "request", [], "any", false, false, false, 536), "locale", [], "any", false, false, false, 536) == "ro")) {
// line 537
yield " <script>
window.addEventListener(\"ucEvent\", function (e) {
if (e.detail && e.detail.event === \"consent_status\") {
const ucBianoService = 'Biano Pixel';
if (e.detail.hasOwnProperty(ucBianoService) && e.detail[ucBianoService]) {
bianoTrack('track', 'product_view', {
id: 'CK";
// line 543
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 543, $this->source); })()), "id", [], "any", false, false, false, 543), "html", null, true);
yield "', // Unique identifier of the product
productName: '";
// line 544
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 544, $this->source); })()), "name", [], "any", false, false, false, 544), "html", null, true);
yield "', // Name of the product
productCategory: '";
// line 545
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 545, $this->source); })()), "mainCategory", [], "any", false, false, false, 545), "name", [], "any", false, false, false, 545), "html", null, true);
yield "', // Category of the product
productValue: ";
// line 546
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["minPrice"]) || array_key_exists("minPrice", $context) ? $context["minPrice"] : (function () { throw new RuntimeError('Variable "minPrice" does not exist.', 546, $this->source); })()), "html", null, true);
yield ", // Product price (e.g., 99.99)
currency: 'RON' // Currency of the product price (e.g., 'USD', 'EUR')
});
}
}
});
</script>
";
}
// line 554
yield " <script>
\$(document).ready(function() {
\$(\"#toggleDetails\").on(\"click\", function() {
// Toggle the details section
\$(\"#detailsSection\").slideToggle();
// Swap the caret icon
const icon = \$(\"#toggleIcon i\");
if (icon.hasClass(\"fa-caret-down\")) {
icon.removeClass(\"fa-caret-down\").addClass(\"fa-caret-up\");
} else {
icon.removeClass(\"fa-caret-up\").addClass(\"fa-caret-down\");
}
});
});
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
// line 572
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$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 573
yield "
";
// line 574
$context["pProduct"] = (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 574, $this->source); })());
// line 575
yield "
<div vocab=\"http://schema.org/\" typeof=\"Product\">
<input type=\"hidden\" name=\"product_id\" id=\"product_id\" value=\"";
// line 577
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 577, $this->source); })()), "id", [], "any", false, false, false, 577), "html", null, true);
yield "\"/>
<input type=\"hidden\" name=\"add_to_cart_url\" id=\"add_to_cart_url\" value=\"";
// line 578
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("add_to_cart");
yield "\"/>
<input type=\"hidden\" name=\"home_url\" id=\"home_url\" value=\"";
// line 579
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
yield "\">
<input type=\"hidden\" name=\"variant\" id=\"variant\" value=\"\">
<input type=\"hidden\" id=\"currencySeparator\" value=\"";
// line 581
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 581, $this->source); })()), "currency", [], "any", false, false, false, 581), "separator", [], "any", false, false, false, 581), "html", null, true);
yield "\">
<input type=\"hidden\" id=\"currencySign\" value=\"";
// line 582
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 582, $this->source); })()), "currency", [], "any", false, false, false, 582), "sign", [], "any", false, false, false, 582), "html", null, true);
yield "\">
<input type=\"hidden\" id=\"new_waiting_list\" value=\"";
// line 583
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("new_waiting_list");
yield "\"/>
<input type=\"hidden\" id=\"item_name\" value=\"";
// line 584
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 584, $this->source); })()), "name", [], "any", false, false, false, 584), "html", null, true);
yield "\"/>
<input type=\"hidden\" id=\"getGa4CodeCurrency\" value=\"";
// line 585
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 585, $this->source); })()), "getGa4Code", [], "any", false, false, false, 585), "html", null, true);
yield "\"/>
";
// line 586
if (((array_key_exists("vat", $context) && (isset($context["vat"]) || array_key_exists("vat", $context) ? $context["vat"] : (function () { throw new RuntimeError('Variable "vat" does not exist.', 586, $this->source); })())) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["vat"]) || array_key_exists("vat", $context) ? $context["vat"] : (function () { throw new RuntimeError('Variable "vat" does not exist.', 586, $this->source); })()), "value", [], "any", false, false, false, 586))) {
// line 587
yield " <input type=\"hidden\" id=\"vat\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((1 + (CoreExtension::getAttribute($this->env, $this->source, (isset($context["vat"]) || array_key_exists("vat", $context) ? $context["vat"] : (function () { throw new RuntimeError('Variable "vat" does not exist.', 587, $this->source); })()), "value", [], "any", false, false, false, 587) / 100)), "html", null, true);
yield "\"/>
";
}
// line 589
yield "
";
// line 590
$context["c"] = 0;
// line 591
yield " ";
if (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["parameterValues"]) || array_key_exists("parameterValues", $context) ? $context["parameterValues"] : (function () { throw new RuntimeError('Variable "parameterValues" does not exist.', 591, $this->source); })()))) {
// line 592
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["parameterValues"]) || array_key_exists("parameterValues", $context) ? $context["parameterValues"] : (function () { throw new RuntimeError('Variable "parameterValues" does not exist.', 592, $this->source); })()));
foreach ($context['_seq'] as $context["key"] => $context["param"]) {
// line 593
yield " ";
$context["c"] = ((isset($context["c"]) || array_key_exists("c", $context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.', 593, $this->source); })()) + 1);
// line 594
yield " ";
if (((isset($context["c"]) || array_key_exists("c", $context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.', 594, $this->source); })()) == 1)) {
// line 595
yield " ";
if (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["firstParamValues"]) || array_key_exists("firstParamValues", $context) ? $context["firstParamValues"] : (function () { throw new RuntimeError('Variable "firstParamValues" does not exist.', 595, $this->source); })()))) {
// line 596
yield " ";
$context["variant"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["firstParamValues"]) || array_key_exists("firstParamValues", $context) ? $context["firstParamValues"] : (function () { throw new RuntimeError('Variable "firstParamValues" does not exist.', 596, $this->source); })()), 0, [], "array", false, false, false, 596);
// line 597
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["variant"]) || array_key_exists("variant", $context) ? $context["variant"] : (function () { throw new RuntimeError('Variable "variant" does not exist.', 597, $this->source); })()), "value", [], "any", false, false, false, 597)) {
// line 598
yield " ";
// line 601
yield " ";
}
// line 602
yield " ";
}
// line 603
yield " <input id=\"chosen_param_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
yield "\" class=\"chosen_params_list\" type=\"hidden\" data-sort=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["c"]) || array_key_exists("c", $context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.', 603, $this->source); })()), "html", null, true);
yield "\" name=\"chosen_param_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
yield "\" data-id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
yield "\" value=\"0\"/>
";
} else {
// line 605
yield " <input id=\"chosen_param_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
yield "\" class=\"chosen_params_list\" type=\"hidden\" data-sort=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["c"]) || array_key_exists("c", $context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.', 605, $this->source); })()), "html", null, true);
yield "\" name=\"chosen_param_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
yield "\" data-id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
yield "\" value=\"0\"/>
";
}
// line 607
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['key'], $context['param'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 608
yield " ";
}
// line 609
yield " <input type=\"hidden\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("loadNextParam", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 609, $this->source); })()), "id", [], "any", false, false, false, 609)]), "html", null, true);
yield "\" id=\"loadNextParam\"/>
<input type=\"hidden\" value=\"";
// line 610
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["parameterValues"]) || array_key_exists("parameterValues", $context) ? $context["parameterValues"] : (function () { throw new RuntimeError('Variable "parameterValues" does not exist.', 610, $this->source); })())), "html", null, true);
yield "\" id=\"paramCounter\"/>
<!-- START OF BREADCRUMBS SECTION -->
<section class=\"section topSection\">
<div class=\"container\">
<div class=\"columns is-multiline\">
<!-- START OF BREADCRUMBS -->
<div class=\"column is-full\">
<nav class=\"breadcrumb has-arrow-separator is-hidden-mobile\" aria-label=\"breadcrumb\">
<ul vocab=\"https://schema.org/\" typeof=\"BreadcrumbList\">
<li property=\"itemListElement\" typeof=\"ListItem\">
<a property=\"item\" typeof=\"WebPage\" href=\"";
// line 621
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
yield "\"><span property=\"name\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 621, $this->source); })()), "shopName", [], "any", false, false, false, 621), "html", null, true);
yield "</span></a>
<meta property=\"position\" content=\"1\">
</li>
";
// line 624
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 624, $this->source); })()), "mainCategory", [], "any", false, false, false, 624), "deletedBy", [], "any", false, false, false, 624) == null)) {
// line 625
yield " <li property=\"itemListElement\" typeof=\"ListItem\">
<a property=\"item\" typeof=\"WebPage\" href=\"";
// line 626
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["id" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 626, $this->source); })()), "mainCategory", [], "any", false, false, false, 626), "id", [], "any", false, false, false, 626), "slug" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 626, $this->source); })()), "mainCategory", [], "any", false, false, false, 626), "slug", [], "any", false, false, false, 626)]), "html", null, true);
yield "\"><span property=\"name\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 626, $this->source); })()), "mainCategory", [], "any", false, false, false, 626), "name", [], "any", false, false, false, 626), "html", null, true);
yield "</span></a>
<meta property=\"position\" content=\"2\">
</li>
";
}
// line 630
yield " <li class=\"is-active\" property=\"itemListElement\" typeof=\"ListItem\">
<a property=\"item\" typeof=\"WebPage\" href=\"#\"><span property=\"name\">";
// line 631
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 631, $this->source); })()), "name", [], "any", false, false, false, 631), "html", null, true);
yield "</span></a>
<meta property=\"position\" content=\"3\">
</li>
</ul>
</nav>
</div>
<!-- END OF BREADCRUMBS -->
</div>
</div>
</section>
<!-- END OF BREADCRUMBS NAME SECTION -->
<!-- START OF MAIN SECTION -->
<section class=\"section topSection\">
<div class=\"container\">
<div class=\"columns is-multiline\">
<!-- START OF PRODUCT IMAGES -->
<div class=\"column is-half-desktop is-full-touch\">
<div id=\"galleryMain\">
<carousel-gallery inline-template v-cloak
:small-imgs=\"[
";
// line 652
$context["imgArr"] = [];
// line 653
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 653, $this->source); })()), "photos", [], "any", false, false, false, 653));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 654
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["image"], "getIsAvailableForLang", [(isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 654, $this->source); })())], "method", false, false, false, 654)) {
// line 655
yield " ";
if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 655), (isset($context["imgArr"]) || array_key_exists("imgArr", $context) ? $context["imgArr"] : (function () { throw new RuntimeError('Variable "imgArr" does not exist.', 655, $this->source); })()))) {
// line 656
yield " ";
} else {
// line 657
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["image"], "main", [], "any", false, false, false, 657) == 1)) {
// line 658
yield " ";
$context["imgArr"] = Twig\Extension\CoreExtension::merge((isset($context["imgArr"]) || array_key_exists("imgArr", $context) ? $context["imgArr"] : (function () { throw new RuntimeError('Variable "imgArr" does not exist.', 658, $this->source); })()), [CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 658)]);
// line 659
yield " '";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("/images/product/" . CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 659)) . "")), "smallProdImage"), "html", null, true);
yield "',
";
}
// line 661
yield " ";
}
// line 662
yield " ";
}
// line 663
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['image'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 664
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 664, $this->source); })()), "photos", [], "any", false, false, false, 664));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 665
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["image"], "getIsAvailableForLang", [(isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 665, $this->source); })())], "method", false, false, false, 665)) {
// line 666
yield " ";
if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 666), (isset($context["imgArr"]) || array_key_exists("imgArr", $context) ? $context["imgArr"] : (function () { throw new RuntimeError('Variable "imgArr" does not exist.', 666, $this->source); })()))) {
// line 667
yield " ";
} else {
// line 668
yield " '";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("/images/product/" . CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 668)) . "")), "smallProdImage"), "html", null, true);
yield "',
";
// line 669
$context["imgArr"] = Twig\Extension\CoreExtension::merge((isset($context["imgArr"]) || array_key_exists("imgArr", $context) ? $context["imgArr"] : (function () { throw new RuntimeError('Variable "imgArr" does not exist.', 669, $this->source); })()), [CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 669)]);
// line 670
yield " ";
}
// line 671
yield " ";
}
// line 672
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['image'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 673
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 673, $this->source); })()), "photos", [], "any", false, false, false, 673));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 674
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["image"], "getIsAvailableForLang", [(isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 674, $this->source); })())], "method", false, false, false, 674)) {
// line 675
yield " ";
if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 675), (isset($context["imgArr"]) || array_key_exists("imgArr", $context) ? $context["imgArr"] : (function () { throw new RuntimeError('Variable "imgArr" does not exist.', 675, $this->source); })()))) {
// line 676
yield " ";
} else {
// line 677
yield " '";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("/images/product/" . CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 677)) . "")), "smallProdImage"), "html", null, true);
yield "',
";
// line 678
$context["imgArr"] = Twig\Extension\CoreExtension::merge((isset($context["imgArr"]) || array_key_exists("imgArr", $context) ? $context["imgArr"] : (function () { throw new RuntimeError('Variable "imgArr" does not exist.', 678, $this->source); })()), [CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 678)]);
// line 679
yield " ";
}
// line 680
yield " ";
}
// line 681
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['image'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 682
yield " ]\"
:big-imgs=\"[
";
// line 684
$context["imgArr"] = [];
// line 685
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 685, $this->source); })()), "photos", [], "any", false, false, false, 685));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 686
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["image"], "getIsAvailableForLang", [(isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 686, $this->source); })())], "method", false, false, false, 686)) {
// line 687
yield " ";
if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 687), (isset($context["imgArr"]) || array_key_exists("imgArr", $context) ? $context["imgArr"] : (function () { throw new RuntimeError('Variable "imgArr" does not exist.', 687, $this->source); })()))) {
// line 688
yield " ";
} else {
// line 689
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["image"], "main", [], "any", false, false, false, 689) == 1)) {
// line 690
yield " ";
$context["imgArr"] = Twig\Extension\CoreExtension::merge((isset($context["imgArr"]) || array_key_exists("imgArr", $context) ? $context["imgArr"] : (function () { throw new RuntimeError('Variable "imgArr" does not exist.', 690, $this->source); })()), [CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 690)]);
// line 691
yield " {
title: ' ',
href: '";
// line 693
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("/images/product/" . CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 693)) . "")), "bigProductImageLowerQuality"), "html", null, true);
yield "',
type: 'image/jpeg',
thumbnail: '";
// line 695
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("/images/product/" . CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 695)) . "")), "bigProductImageLowerQuality"), "html", null, true);
yield "',
},
";
}
// line 698
yield " ";
}
// line 699
yield " ";
}
// line 700
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['image'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 701
yield "
";
// line 702
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 702, $this->source); })()), "photos", [], "any", false, false, false, 702));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 703
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["image"], "getIsAvailableForLang", [(isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 703, $this->source); })())], "method", false, false, false, 703)) {
// line 704
yield " ";
if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 704), (isset($context["imgArr"]) || array_key_exists("imgArr", $context) ? $context["imgArr"] : (function () { throw new RuntimeError('Variable "imgArr" does not exist.', 704, $this->source); })()))) {
// line 705
yield " ";
} else {
// line 706
yield " {
title: ' ',
href: '";
// line 708
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("/images/product/" . CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 708)) . "")), "bigProductImageLowerQuality"), "html", null, true);
yield "',
type: 'image/jpeg',
thumbnail: '";
// line 710
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("/images/product/" . CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 710)) . "")), "bigProductImageLowerQuality"), "html", null, true);
yield "',
},
";
// line 712
$context["imgArr"] = Twig\Extension\CoreExtension::merge((isset($context["imgArr"]) || array_key_exists("imgArr", $context) ? $context["imgArr"] : (function () { throw new RuntimeError('Variable "imgArr" does not exist.', 712, $this->source); })()), [CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 712)]);
// line 713
yield " ";
}
// line 714
yield " ";
}
// line 715
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['image'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 716
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 716, $this->source); })()), "photos", [], "any", false, false, false, 716));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 717
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["image"], "getIsAvailableForLang", [(isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 717, $this->source); })())], "method", false, false, false, 717)) {
// line 718
yield " ";
if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 718), (isset($context["imgArr"]) || array_key_exists("imgArr", $context) ? $context["imgArr"] : (function () { throw new RuntimeError('Variable "imgArr" does not exist.', 718, $this->source); })()))) {
// line 719
yield " ";
} else {
// line 720
yield " {
title: ' ',
href: '";
// line 722
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("/images/product/" . CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 722)) . "")), "bigProductImageLowerQuality"), "html", null, true);
yield "',
type: 'image/jpeg',
thumbnail: '";
// line 724
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("/images/product/" . CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 724)) . "")), "bigProductImageLowerQuality"), "html", null, true);
yield "',
},
";
// line 726
$context["imgArr"] = Twig\Extension\CoreExtension::merge((isset($context["imgArr"]) || array_key_exists("imgArr", $context) ? $context["imgArr"] : (function () { throw new RuntimeError('Variable "imgArr" does not exist.', 726, $this->source); })()), [CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 726)]);
// line 727
yield " ";
}
// line 728
yield " ";
}
// line 729
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['image'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 730
yield "
";
// line 732
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 732, $this->source); })()), "getYoutubeGalleryUrl", [], "any", false, false, false, 732)) {
// line 733
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::slice($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 733, $this->source); })()), "photos", [], "any", false, false, false, 733), 1, 1));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 734
yield " {
title: 'YouTube Film',
href: ' ',
type: 'text/html',
youtube: '";
// line 738
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 738, $this->source); })()), "getYoutubeGalleryUrl", [], "any", false, false, false, 738), "html", null, true);
yield "',
poster: '";
// line 739
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("/images/product/" . CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 739)) . "")), "bigProductImageLowerQuality"), "html", null, true);
yield "'
}
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['image'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 742
yield " ,
";
}
// line 744
yield "
";
// line 746
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 746, $this->source); })()), "getPhoto3dGalleryUrl", [], "any", false, false, false, 746)) {
// line 747
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::slice($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 747, $this->source); })()), "photos", [], "any", false, false, false, 747), 2, 1));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 748
yield " {
title: '3D',
href: ' ',
id: '";
// line 751
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->extractOrbitturId(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 751, $this->source); })()), "getPhoto3dGalleryUrl", [], "any", false, false, false, 751)), "html", null, true);
yield "',
script: '";
// line 752
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 752, $this->source); })()), "getPhoto3dGalleryUrl", [], "any", false, false, false, 752), "html", null, true);
yield "',
type: 'orbittour',
poster: '";
// line 754
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("/images/product/" . CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 754)) . "")), "bigProductImageLowerQuality"), "html", null, true);
yield "'
},
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['image'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 757
yield " ";
}
// line 758
yield "
]\">
<div>
<!-- START CAROUSEL-ITEM -->
<gallery
:images=\"bigImgs\"
:index=\"index\"
:options=\"{
youTubeVideoIdProperty: 'youtube',
youTubePlayerVars: { autoplay: 1 },
youTubeClickToPlay: true,
toggleControlsOnReturn: true,
toggleControlsOnSlideClick: true
}\"
@onslide=\"slideHandler\"
@close=\"index = null\" >
</gallery>
<agile
class=\"main\"
ref=\"main\"
:options=\"options1\"
:as-nav-for=\"asNavFor1\">
<div
class=\"slide\"
v-for=\"(big, index) in bigImgs\"
:key=\"index\"
:class=\"'slide--' + index\">
<div @click=\"openGallery( index )\">
<zoom-on-hover
:img-normal=\"big.poster || big.thumbnail\"
:scale=\"2\" />
</div>
</div>
</agile>
<agile
class=\"thumbnails thb-gallery\"
ref=\"thumbnails\"
:options=\"options2\"
:as-nav-for=\"asNavFor2\"
v-if=\"smallImgs.length > 1\">
<div
class=\"slide slide--thumbniail\"
v-for=\"(slide, index) in smallImgs\"
:key=\"index\"
:class=\"'slide--' + index\"
@click=\"\$refs.thumbnails.goTo(index)\">
<img :src=\"slide\"/>
</div>
<template slot=\"prevButton\"><i class=\"fas fa-chevron-left\"></i></template>
<template slot=\"nextButton\"><i class=\"fas fa-chevron-right\"></i></template>
</agile>
</div>
<!-- END CAROUSEL-ITEM -->
</carousel-gallery>
</div>
</div>
<!-- END OF PRODUCT IMAGES -->
<!-- START OF SHORT DESCRIPTION -->
<div class=\"column is-half-desktop is-full-touch select-boxy\">
<div class=\"columns is-multiline\">
";
// line 823
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 823, $this->source); })()), "getProducer", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 823, $this->source); })()), "localeShort", [], "any", false, false, false, 823)], "method", false, false, false, 823), "imageName", [], "any", false, false, false, 823)) {
// line 824
yield " <div class=\"column is-full has-text-centered-touch no-bot-padding gallery-container\">
<figure class=\"image is-64x64-desktop is-48x48-tablet\" style=\"min-height: initial!important;\">
";
// line 827
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->productProducerUrl(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 827, $this->source); })()), "getProducer", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 827, $this->source); })()), "localeShort", [], "any", false, false, false, 827)], "method", false, false, false, 827), "id", [], "any", false, false, false, 827), 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.', 827, $this->source); })()), "request", [], "any", false, false, false, 827), "locale", [], "any", false, false, false, 827)), "html", null, true);
yield "\">
<img style=\"width:90px!important;\" src=\"/images/producer/";
// line 828
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 828, $this->source); })()), "getProducer", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 828, $this->source); })()), "localeShort", [], "any", false, false, false, 828)], "method", false, false, false, 828), "imageName", [], "any", false, false, false, 828), "html", null, true);
yield "\" class=\"dropdown-img producer-image\">
</a>
</figure>
</div>
";
}
// line 833
yield " <div class=\"column is-full has-text-centered-touch\">
<h1 class=\"title is-3\">
<span property=\"name\">
<strong>
";
// line 837
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 837, $this->source); })()), "name", [], "any", false, false, false, 837), "html", null, true);
yield "
</strong>
</span>
</h1>
</div>
<div class=\"column is-full has-text-centered-touch\" property=\"offers\" typeof=\"Offer\">
";
// line 843
if (((CoreExtension::getAttribute($this->env, $this->source, ($context["productData"] ?? null), "priceCrossed", [], "any", true, true, false, 843) && CoreExtension::getAttribute($this->env, $this->source, ($context["productData"] ?? null), "currencySign", [], "any", true, true, false, 843)) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["productData"]) || array_key_exists("productData", $context) ? $context["productData"] : (function () { throw new RuntimeError('Variable "productData" does not exist.', 843, $this->source); })()), "priceCrossed", [], "any", false, false, false, 843))) {
// line 844
yield " <div class=\"title is-1\">
<span class=\"title is-1\" id=\"productPriceContainer\" property=\"price\" content=\"";
// line 846
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["minPrice"]) || array_key_exists("minPrice", $context) ? $context["minPrice"] : (function () { throw new RuntimeError('Variable "minPrice" does not exist.', 846, $this->source); })()), "html", null, true);
yield "\" style=\"font-weight:900;
";
// line 847
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["productData"]) || array_key_exists("productData", $context) ? $context["productData"] : (function () { throw new RuntimeError('Variable "productData" does not exist.', 847, $this->source); })()), "priceCrossed", [], "any", false, false, false, 847)) {
// line 848
yield " color: #ef1b2b!important;
";
}
// line 850
yield " \">
";
// line 851
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->formatPrice((isset($context["minPrice"]) || array_key_exists("minPrice", $context) ? $context["minPrice"] : (function () { throw new RuntimeError('Variable "minPrice" does not exist.', 851, $this->source); })()), CoreExtension::getAttribute($this->env, $this->source, (isset($context["productData"]) || array_key_exists("productData", $context) ? $context["productData"] : (function () { throw new RuntimeError('Variable "productData" does not exist.', 851, $this->source); })()), "currencyId", [], "any", false, false, false, 851)), "html", null, true);
yield "
</span>
<span class=\"standard-color\" style=\"font-weight: 300; font-size:32px;\"><strike>";
// line 856
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->formatPrice(CoreExtension::getAttribute($this->env, $this->source, (isset($context["productData"]) || array_key_exists("productData", $context) ? $context["productData"] : (function () { throw new RuntimeError('Variable "productData" does not exist.', 856, $this->source); })()), "priceCrossed", [], "any", false, false, false, 856), CoreExtension::getAttribute($this->env, $this->source, (isset($context["productData"]) || array_key_exists("productData", $context) ? $context["productData"] : (function () { throw new RuntimeError('Variable "productData" does not exist.', 856, $this->source); })()), "currencyId", [], "any", false, false, false, 856)), "html", null, true);
yield "</strike></span>
";
// line 858
if (((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.', 858, $this->source); })()), "request", [], "any", false, false, false, 858), "locale", [], "any", false, false, false, 858) == "pl") && CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 858, $this->source); })()), "payu", [], "any", false, false, false, 858))) {
// line 859
yield "
<span class=\"is-hidden-touch raty\"> ";
// line 860
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("raty_0_procent", [], "store"), "html", null, true);
yield "</span>
";
}
// line 862
yield "
<div class=\"netto-price\">
<em>";
// line 864
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("netto", [], "store"), "html", null, true);
yield " <span id=\"netto-price\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->formatPrice((isset($context["priceNetto"]) || array_key_exists("priceNetto", $context) ? $context["priceNetto"] : (function () { throw new RuntimeError('Variable "priceNetto" does not exist.', 864, $this->source); })()), CoreExtension::getAttribute($this->env, $this->source, (isset($context["productData"]) || array_key_exists("productData", $context) ? $context["productData"] : (function () { throw new RuntimeError('Variable "productData" does not exist.', 864, $this->source); })()), "currencyId", [], "any", false, false, false, 864)), "html", null, true);
yield "</span></em>
</div>
</div>
";
} else {
// line 869
yield " <div class=\"title is-1\">
<span class=\"title is-1\" id=\"productPriceContainer\" property=\"price\" content=\"";
// line 870
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["minPrice"]) || array_key_exists("minPrice", $context) ? $context["minPrice"] : (function () { throw new RuntimeError('Variable "minPrice" does not exist.', 870, $this->source); })()), "html", null, true);
yield "\" style=\"font-weight:900;\">
";
// line 871
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->formatPrice((isset($context["minPrice"]) || array_key_exists("minPrice", $context) ? $context["minPrice"] : (function () { throw new RuntimeError('Variable "minPrice" does not exist.', 871, $this->source); })()), CoreExtension::getAttribute($this->env, $this->source, (isset($context["productData"]) || array_key_exists("productData", $context) ? $context["productData"] : (function () { throw new RuntimeError('Variable "productData" does not exist.', 871, $this->source); })()), "currencyId", [], "any", false, false, false, 871)), "html", null, true);
yield "
</span>
";
// line 873
if (((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.', 873, $this->source); })()), "request", [], "any", false, false, false, 873), "locale", [], "any", false, false, false, 873) == "pl") && CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 873, $this->source); })()), "payu", [], "any", false, false, false, 873))) {
// line 874
yield "
<span class=\"is-hidden-touch raty\"> ";
// line 875
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("raty_0_procent", [], "store"), "html", null, true);
yield "</span>
";
}
// line 877
yield "
<div class=\"netto-price\">
<em>";
// line 879
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("netto", [], "store"), "html", null, true);
yield " <span id=\"netto-price\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->formatPrice((isset($context["priceNetto"]) || array_key_exists("priceNetto", $context) ? $context["priceNetto"] : (function () { throw new RuntimeError('Variable "priceNetto" does not exist.', 879, $this->source); })()), CoreExtension::getAttribute($this->env, $this->source, (isset($context["productData"]) || array_key_exists("productData", $context) ? $context["productData"] : (function () { throw new RuntimeError('Variable "productData" does not exist.', 879, $this->source); })()), "currencyId", [], "any", false, false, false, 879)), "html", null, true);
yield "</span></em>
</div>
</div>
";
}
// line 883
yield " <div class=\"subtitle is-6\" style=\"margin-top:10px;\">
";
// line 884
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("weShipIn", [], "store"), "html", null, true);
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 884, $this->source); })()), "getAvailability", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 884, $this->source); })()), "localeShort", [], "any", false, false, false, 884)], "method", false, false, false, 884), "name", [], "any", false, false, false, 884), "html", null, true);
yield "
</div>
<link property=\"availability\" href=\"http://schema.org/InStock\" />
";
// line 887
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 887, $this->source); })()), "id", [], "any", false, false, false, 887) == 1)) {
// line 888
yield " <span property=\"priceCurrency\" content=\"PLN\"></span>
<span property=\"url\" content=\"https://www.centrumkrzesel.pl";
// line 889
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("product", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 889, $this->source); })()), "id", [], "any", false, false, false, 889), "slug" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 889, $this->source); })()), "slug", [], "any", false, false, false, 889)], false), "html", null, true);
yield "\"></span>
";
}
// line 891
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 891, $this->source); })()), "id", [], "any", false, false, false, 891) == 2)) {
// line 892
yield " <span property=\"priceCurrency\" content=\"CZK\"></span>
<span property=\"url\" content=\"https://www.ezidle.cz";
// line 893
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("product", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 893, $this->source); })()), "id", [], "any", false, false, false, 893), "slug" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 893, $this->source); })()), "slug", [], "any", false, false, false, 893)], false), "html", null, true);
yield "\"></span>
";
}
// line 895
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 895, $this->source); })()), "id", [], "any", false, false, false, 895) == 3)) {
// line 896
yield " <span property=\"priceCurrency\" content=\"EUR\"></span>
<span property=\"url\" content=\"https://www.stolicky24.sk";
// line 897
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("product", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 897, $this->source); })()), "id", [], "any", false, false, false, 897), "slug" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 897, $this->source); })()), "slug", [], "any", false, false, false, 897)], false), "html", null, true);
yield "\"></span>
";
}
// line 899
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 899, $this->source); })()), "id", [], "any", false, false, false, 899) == 4)) {
// line 900
yield " <span property=\"priceCurrency\" content=\"RON\"></span>
<span property=\"url\" content=\"https://www.mobila24.ro";
// line 901
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("product", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 901, $this->source); })()), "id", [], "any", false, false, false, 901), "slug" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 901, $this->source); })()), "slug", [], "any", false, false, false, 901)], false), "html", null, true);
yield "\"></span>
";
}
// line 903
yield " </div>
";
// line 904
$context["imgShowProperty"] = 0;
// line 905
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 905, $this->source); })()), "photos", [], "any", false, false, false, 905));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 906
yield " ";
if (((CoreExtension::getAttribute($this->env, $this->source, $context["image"], "main", [], "any", false, false, false, 906) == 1) && ((isset($context["imgShowProperty"]) || array_key_exists("imgShowProperty", $context) ? $context["imgShowProperty"] : (function () { throw new RuntimeError('Variable "imgShowProperty" does not exist.', 906, $this->source); })()) == 0))) {
// line 907
yield " <span property=\"image\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 907, $this->source); })()), "storeUrl", [], "any", false, false, false, 907), "html", null, true);
yield "/images/product/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 907), "html", null, true);
yield "\"></span>
";
// line 908
$context["imgShowProperty"] = 1;
// line 909
yield " ";
}
// line 910
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['image'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 911
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 911, $this->source); })()), "getProducer", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 911, $this->source); })()), "localeShort", [], "any", false, false, false, 911)], "method", false, false, false, 911)) {
// line 912
yield " <span property=\"brand\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 912, $this->source); })()), "getProducer", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 912, $this->source); })()), "localeShort", [], "any", false, false, false, 912)], "method", false, false, false, 912), "name", [], "any", false, false, false, 912), "html", null, true);
yield "\"></span>
";
}
// line 914
yield " ";
// line 919
yield " </div>
<!-- START OF DROPDOWNS SECTION -->
<!-- START OF MODEL DROPDOWN -->
";
// line 923
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 923, $this->source); })()), "isVariants", [], "any", false, false, false, 923)) {
// line 924
yield " ";
yield from $this->loadTemplate("frontend/product/_dropdown.html.twig", "frontend/product/product.html.twig", 924)->unwrap()->yield($context);
// line 925
yield " ";
}
// line 926
yield " <div id=\"equipmentContainer\" style=\"";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 926, $this->source); })()), "isVariants", [], "any", false, false, false, 926)) {
yield "display: none";
}
yield "; font-size:15px;\">
";
// line 928
$context["eqCounter"] = 0;
// line 929
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["equipments"]) || array_key_exists("equipments", $context) ? $context["equipments"] : (function () { throw new RuntimeError('Variable "equipments" does not exist.', 929, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["equipment"]) {
// line 930
yield " ";
if ((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.', 930, $this->source); })()), "request", [], "any", false, false, false, 930), "locale", [], "any", false, false, false, 930) == CoreExtension::getAttribute($this->env, $this->source, $context["equipment"], "locale", [], "any", false, false, false, 930))) {
// line 931
yield " ";
$context["eqCounter"] = ((isset($context["eqCounter"]) || array_key_exists("eqCounter", $context) ? $context["eqCounter"] : (function () { throw new RuntimeError('Variable "eqCounter" does not exist.', 931, $this->source); })()) + 1);
// line 932
yield " ";
}
// line 933
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['equipment'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 934
yield "
";
// line 935
if ((isset($context["eqCounter"]) || array_key_exists("eqCounter", $context) ? $context["eqCounter"] : (function () { throw new RuntimeError('Variable "eqCounter" does not exist.', 935, $this->source); })())) {
// line 936
yield " <p>
";
// line 937
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("additional_equipment", [], "store"), "html", null, true);
yield "
</p>
";
// line 939
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["equipments"]) || array_key_exists("equipments", $context) ? $context["equipments"] : (function () { throw new RuntimeError('Variable "equipments" does not exist.', 939, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["equipment"]) {
// line 940
yield " ";
if ((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.', 940, $this->source); })()), "request", [], "any", false, false, false, 940), "locale", [], "any", false, false, false, 940) == CoreExtension::getAttribute($this->env, $this->source, $context["equipment"], "locale", [], "any", false, false, false, 940))) {
// line 941
yield " <label class=\"checkbox\">
";
// line 942
if ((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.', 942, $this->source); })()), "request", [], "any", false, false, false, 942), "locale", [], "any", false, false, false, 942) == "ro")) {
// line 943
yield " <input class=\"equipmentCheckbox\" type=\"checkbox\" data-price=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["equipment"], "price", [], "any", false, false, false, 943), "html", null, true);
yield "\" data-id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["equipment"], "id", [], "any", false, false, false, 943), "html", null, true);
yield "\" name=\"equipment[]\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["equipment"], "id", [], "any", false, false, false, 943), "html", null, true);
yield "\">
";
// line 944
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["equipment"], "name", [], "any", false, false, false, 944), "html", null, true);
yield " <strong>+";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["equipment"], "priceFormatted", [], "any", false, false, false, 944), "html", null, true);
yield "</strong>
";
} else {
// line 946
yield " <input class=\"equipmentCheckbox\" type=\"checkbox\" data-price=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["equipment"], "price", [], "any", false, false, false, 946), "html", null, true);
yield "\" data-id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["equipment"], "id", [], "any", false, false, false, 946), "html", null, true);
yield "\" name=\"equipment[]\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["equipment"], "id", [], "any", false, false, false, 946), "html", null, true);
yield "\">
";
// line 947
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["equipment"], "name", [], "any", false, false, false, 947), "html", null, true);
yield " <strong>+";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["equipment"], "priceFormatted", [], "any", false, false, false, 947), "html", null, true);
yield "</strong>
";
}
// line 949
yield " </label>
";
}
// line 951
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['equipment'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 952
yield " ";
}
// line 953
yield " </div>
<!-- END OF SEAT TRIM DROPDOWN -->
<!-- END OF DROPDOWNS SECTION -->
<!-- START OF PICTOGRAMS -->
";
// line 957
if (((CoreExtension::getAttribute($this->env, $this->source, ($context["productData"] ?? null), "priceCrossed", [], "any", true, true, false, 957) && CoreExtension::getAttribute($this->env, $this->source, ($context["productData"] ?? null), "currencySign", [], "any", true, true, false, 957)) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["productData"]) || array_key_exists("productData", $context) ? $context["productData"] : (function () { throw new RuntimeError('Variable "productData" does not exist.', 957, $this->source); })()), "priceCrossed", [], "any", false, false, false, 957))) {
// line 958
yield " <div class=\"column is-full is-size-7-tablet\" style=\"margin-bottom:-30px;\">
<div class=\"level-left\">
<div class=\"level-item\">
";
// line 961
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("omnibus_text", [], "store"), "html", null, true);
yield "
";
// line 962
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["productData"]) || array_key_exists("productData", $context) ? $context["productData"] : (function () { throw new RuntimeError('Variable "productData" does not exist.', 962, $this->source); })()), "omnibusPrice", [], "any", false, false, false, 962)) {
// line 963
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->formatPrice(CoreExtension::getAttribute($this->env, $this->source, (isset($context["productData"]) || array_key_exists("productData", $context) ? $context["productData"] : (function () { throw new RuntimeError('Variable "productData" does not exist.', 963, $this->source); })()), "omnibusPrice", [], "any", false, false, false, 963), CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 963, $this->source); })()), "currency", [], "any", false, false, false, 963)), "html", null, true);
yield "
";
} else {
// line 965
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->formatPrice((isset($context["minPrice"]) || array_key_exists("minPrice", $context) ? $context["minPrice"] : (function () { throw new RuntimeError('Variable "minPrice" does not exist.', 965, $this->source); })()), CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 965, $this->source); })()), "currency", [], "any", false, false, false, 965)), "html", null, true);
yield "
";
}
// line 967
yield " </div>
</div>
</div>
";
}
// line 971
yield " <div class=\"column is-full is-size-7-tablet is-hidden-mobile zajawki\">
<div class=\"level is-mobile\">
";
// line 973
if (((((CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 973, $this->source); })()), "availability", [], "any", false, false, false, 973) && (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 973, $this->source); })()), "availability", [], "any", false, false, false, 973), "id", [], "any", false, false, false, 973) == 1)) || ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 973, $this->source); })()), "availability", [], "any", false, false, false, 973) && (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 973, $this->source); })()), "availability", [], "any", false, false, false, 973), "id", [], "any", false, false, false, 973) == 15)) && (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.', 973, $this->source); })()), "request", [], "any", false, false, false, 973), "locale", [], "any", false, false, false, 973) == "pl"))) || ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 973, $this->source); })()), "availability", [], "any", false, false, false, 973) && (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 973, $this->source); })()), "availability", [], "any", false, false, false, 973), "id", [], "any", false, false, false, 973) == 12)) && (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.', 973, $this->source); })()), "request", [], "any", false, false, false, 973), "locale", [], "any", false, false, false, 973) == "pl"))) || (CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 973, $this->source); })()), "availability", [], "any", false, false, false, 973) && (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 973, $this->source); })()), "availability", [], "any", false, false, false, 973), "id", [], "any", false, false, false, 973) == 5)))) {
// line 974
yield " <div class=\"level-left\" style=\"width: 30%\">
<div class=\"level-item\">
<img style=\"max-height: 4rem\" class=\"margin-right-8\" src=\"/v2/ico/24h_ico.png\" alt=\"24h delivery\">
<span>";
// line 977
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("products_in_24h_delivery_ico", [], "store");
yield "</span>
</div>
</div>
";
} else {
// line 981
yield " <div class=\"level-left\" style=\"width: 30%\">
<div class=\"level-item\">
<img style=\"max-height: 4rem; max-width:50px;\" class=\"margin-right-8\" src=\"/v2/ico/ico_300_customers.svg\" alt=\"300 000 customers\">
<span>";
// line 984
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("text_300_customers_product_ico", [], "store");
yield "</span>
</div>
</div>
";
}
// line 988
yield " <div class=\"level-item\" style=\"width: 36%;\">
<img style=\"max-height: 4rem\" class=\"margin-right-8\" src=\"";
// line 989
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["staticImages"]) || array_key_exists("staticImages", $context) ? $context["staticImages"] : (function () { throw new RuntimeError('Variable "staticImages" does not exist.', 989, $this->source); })()), (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 989, $this->source); })()), [], "array", false, false, false, 989), "freeDelivery", [], "any", false, false, false, 989), "html", null, true);
yield "\" alt=\"\">
<span>";
// line 990
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("free_delivery_return_product_ico", [], "store");
yield "</span>
</div>
<div class=\"level-right\" style=\"width: 33%\">
<div class=\"level-item\">
<img style=\"max-height: 4rem\" class=\"margin-right-8\" src=\"/v2/ico_pig_new.png\" alt=\"\">
<div style=\"max-width: 100px;\">";
// line 995
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("price_with_negotiations", [], "store");
yield "</div>
</div>
</div>
";
// line 1010
yield " </div>
</div>
<!-- END OF PICTOGRAMS -->
";
// line 1014
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1014, $this->source); })()), "markers", [], "any", false, false, false, 1014));
foreach ($context['_seq'] as $context["_key"] => $context["marker"]) {
// line 1015
yield " ";
if (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["marker"], "language", [], "any", false, false, false, 1015), "id", [], "any", false, false, false, 1015) == CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1015, $this->source); })()), "id", [], "any", false, false, false, 1015)) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["marker"], "content", [], "any", false, false, false, 1015)) > 0))) {
// line 1016
yield " <!-- START OF GREEN NOTIFICATION -->
<div class=\"notification ";
// line 1017
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["marker"], "color", [], "any", false, false, false, 1017), "html", null, true);
yield "-notification\" style=\"margin-top:30px;\">
<span class=\"icon\">
<i class=\"fas fa-info-circle\"></i>
</span>
<span class=\"has-text-weight-bold\">
";
// line 1022
yield CoreExtension::getAttribute($this->env, $this->source, $context["marker"], "content", [], "any", false, false, false, 1022);
yield "
</span>
</div>
";
}
// line 1026
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['marker'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1027
yield "
";
// line 1028
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1028, $this->source); })()), "getProducer", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1028, $this->source); })()), "localeShort", [], "any", false, false, false, 1028)], "method", false, false, false, 1028)) {
// line 1029
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1029, $this->source); })()), "getProducer", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1029, $this->source); })()), "localeShort", [], "any", false, false, false, 1029)], "method", false, false, false, 1029), "markers", [], "any", false, false, false, 1029));
foreach ($context['_seq'] as $context["_key"] => $context["marker"]) {
// line 1030
yield " ";
if (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["marker"], "language", [], "any", false, false, false, 1030), "id", [], "any", false, false, false, 1030) == CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1030, $this->source); })()), "id", [], "any", false, false, false, 1030)) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["marker"], "content", [], "any", false, false, false, 1030)) > 0))) {
// line 1031
yield " <!-- START OF GREEN NOTIFICATION -->
<div class=\"notification ";
// line 1032
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["marker"], "color", [], "any", false, false, false, 1032), "html", null, true);
yield "-notification\" style=\"margin-top:30px;\">
<!-- TODO: jak coś to wytnij z projektu i wstaw ikonkę -->
<span class=\"icon\">
<i class=\"fas fa-info-circle\"></i>
</span>
<span class=\"has-text-weight-bold\">
";
// line 1038
yield CoreExtension::getAttribute($this->env, $this->source, $context["marker"], "content", [], "any", false, false, false, 1038);
yield "
</span>
</div>
<!-- END OF GREEN NOTIFICATION -->
";
}
// line 1043
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['marker'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1044
yield " ";
}
// line 1045
yield "
";
// line 1046
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1046, $this->source); })()), "getLandingPagesMarkers", [], "any", false, false, false, 1046));
foreach ($context['_seq'] as $context["_key"] => $context["marker"]) {
// line 1047
yield " ";
if (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["marker"], "language", [], "any", false, false, false, 1047), "id", [], "any", false, false, false, 1047) == CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1047, $this->source); })()), "id", [], "any", false, false, false, 1047)) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["marker"], "content", [], "any", false, false, false, 1047)) > 0))) {
// line 1048
yield " <!-- START OF GREEN NOTIFICATION -->
<div class=\"notification ";
// line 1049
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["marker"], "color", [], "any", false, false, false, 1049), "html", null, true);
yield "-notification\" style=\"margin-top:30px;\">
<!-- TODO: jak coś to wytnij z projektu i wstaw ikonkę -->
<span class=\"icon\">
<i class=\"fas fa-info-circle\"></i>
</span>
<span class=\"has-text-weight-bold\">
";
// line 1055
yield CoreExtension::getAttribute($this->env, $this->source, $context["marker"], "content", [], "any", false, false, false, 1055);
yield "
</span>
</div>
<!-- END OF GREEN NOTIFICATION -->
";
}
// line 1060
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['marker'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1061
yield "
";
// line 1072
yield "
<!-- START OF AMOUNT SECTION -->
<div class=\"column is-full\">
";
// line 1076
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1076, $this->source); })()), "temporaryUnavailable", [], "any", false, false, false, 1076)) {
// line 1077
yield " <div class=\"column is-full\">
<div class=\"level-item\">
<div>
<strong>
";
// line 1081
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_temp_unavailable", [], "store"), "html", null, true);
yield "
</strong>
</div>
</div>
</div>
<div id=\"notify_container\">
<div class=\"column is-full\">
<div class=\"level-left\">
<div class=\"\">
";
// line 1090
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("notify_me", [], "store"), "html", null, true);
yield "
</div>
</div>
</div>
<div class=\"column is-full\">
<div class=\"\">
<div class=\"field\">
<div class=\"control\">
<input type=\"text\" placeholder=\"";
// line 1098
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("your_email", [], "store"), "html", null, true);
yield "\" id=\"notify_input\" value=\"\" class=\"input\" style=\"padding:25px;\">
<div style=\"display: none; margin-top:10px; color:red; text-align: center\" id=\"error_notify_container\">
";
// line 1100
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("please_enter_valid_email", [], "store"), "html", null, true);
yield "
</div>
</div>
</div>
</div>
</div>
<div class=\"column is-full\">
<div class=\"\">
<button type=\"button\" class=\"button is-success has-text-weight-bold\" id=\"notify-button\" style=\"width:100%;\">
";
// line 1109
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("inform_me_about_availability_button", [], "store"), "html", null, true);
yield "
</button>
</div>
</div>
</div>
";
} else {
// line 1115
yield " <div class=\"level is-mobile\">
<div class=\"level-left\">
<div class=\"level-item\">
<div class=\"field\">
<div class=\"control\">
<input type=\"text\" id=\"amount\" value=\"1\" class=\"input cool-shadow has-text-centered\">
</div>
</div>
</div>
</div>
<div class=\"level-item\">
<button type=\"button\" class=\"button is-success has-text-weight-bold\" id=\"ask-button\">
";
// line 1128
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("order_or_ask", [], "store"), "html", null, true);
yield "
</button>
</div>
</div>
";
}
// line 1133
yield " <div class=\"column is-full\">
<div class=\"notification is-danger cart-notification\" style=\"text-align: center; display: none\">
";
// line 1135
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("choose_aboce_parameters_first", [], "store"), "html", null, true);
yield "
</div>
<div class=\"notification is-danger cart-error-notification\" style=\"text-align: center; display: none\">
</div>
</div>
</div>
<!-- END OF AMOUNT SECTION -->
<!-- START OF ADD TO COMPARE -->
<div class=\"column is-full\">
";
// line 1146
if (((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.', 1146, $this->source); })()), "request", [], "any", false, false, false, 1146), "locale", [], "any", false, false, false, 1146) == "pl") && CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1146, $this->source); })()), "payu", [], "any", false, false, false, 1146))) {
// line 1147
yield " <table style=\"margin-top:-20px; display: none\" id=\"payuraty\">
<tr>
<td style=\"width:40px;\">
<img style=\"cursor: pointer; margin-bottom:-18px;\" id=\"payuLogo\" src=\"https://poland.payu.com/wp-content/themes/global-website/assets/src/images/payu-logo.svg\" hidden/>
</td>
<td style=\"width:4px;\"></td>
<td><p><span id=\"installment-mini\"></span></p></td>
<td><div style=\"font-size:15px; margin-top: 17px; padding-left:2px;\">miesięcznie</div></td>
</tr>
</table>
<script type=\"text/javascript\">
\$(document).ready(function () {
const button = document.getElementById('payuLogo');
button.addEventListener('click', function handleClick() {
});
var value = ";
// line 1165
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["minPrice"]) || array_key_exists("minPrice", $context) ? $context["minPrice"] : (function () { throw new RuntimeError('Variable "minPrice" does not exist.', 1165, $this->source); })()), "html", null, true);
yield ";
var options = {
creditAmount: value, // wartość jako number (w PLN)
posId: 1056481, // identyfikator punktu płatności
key: 'e8', // pierwsze dwa znaki klucza api
showLongDescription: true,
};
window.OpenPayU.Installments.miniInstallment(\"#installment-mini\", options)
.then(function (result) {
if (result.isWidgetAvailable) {
\$('#payuraty').show();
\$(document).on('click', '#payuLogo', function () {
result.openWidget();
});
\$(document).on('click', '.payu-mini-installments-widget-amount', function () {
result.openWidget();
});
\$(document).on('click', '.payu-mini-installments-widget-details', function () {
result.openWidget();
});
document.querySelector(\"#payuLogo\").removeAttribute(\"hidden\"); // wyświetla element
document.querySelector(\"#payuLogo\").onclick = function () {
result.openWidget();
}; // dodaje akcję na kliknięcie
} else {
\$('#payuraty').hide();
}
})
.catch(function (e) {
console.error(e.toString());
});
});
</script>
";
}
// line 1205
yield "
<label class=\"checkbox\" style=\"margin-top:5px; font-size:14px;\">
<input ";
// line 1207
if ((array_key_exists("compareIds", $context) && CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1207, $this->source); })()), "id", [], "any", false, false, false, 1207), (isset($context["compareIds"]) || array_key_exists("compareIds", $context) ? $context["compareIds"] : (function () { throw new RuntimeError('Variable "compareIds" does not exist.', 1207, $this->source); })())))) {
yield " checked=\"checked\" ";
}
yield " type=\"checkbox\" data-removepath=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("remove_compare");
yield "\" data-path=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("add_to_compare");
yield "\" class=\"add_to_compare\" data-product=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1207, $this->source); })()), "id", [], "any", false, false, false, 1207), "html", null, true);
yield "\" id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1207, $this->source); })()), "id", [], "any", false, false, false, 1207), "html", null, true);
yield "\">
";
// line 1208
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("add_to_compare", [], "store"), "html", null, true);
yield "
</label>
<br/>
";
// line 1212
if (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["similarColors"]) || array_key_exists("similarColors", $context) ? $context["similarColors"] : (function () { throw new RuntimeError('Variable "similarColors" does not exist.', 1212, $this->source); })()))) {
// line 1213
yield " <div class=\"has-text-weight-semibold\">
";
// line 1214
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("similarColors", [], "store"), "html", null, true);
yield "
</div>
<div class=\"columns is-flex is-flex-wrap-nowrap is-align-items-center\">
";
// line 1217
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::slice($this->env->getCharset(), (isset($context["similarColors"]) || array_key_exists("similarColors", $context) ? $context["similarColors"] : (function () { throw new RuntimeError('Variable "similarColors" does not exist.', 1217, $this->source); })()), 0, 5));
foreach ($context['_seq'] as $context["_key"] => $context["similarColor"]) {
// line 1218
yield " ";
$context["localProduct"] = CoreExtension::getAttribute($this->env, $this->source, $context["similarColor"], 0, [], "array", false, false, false, 1218);
// line 1219
yield " ";
$context["localProductData"] = $context["similarColor"];
// line 1220
yield " <div class=\"column is-narrow\">
<a href=\"";
// line 1221
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("product", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["localProduct"]) || array_key_exists("localProduct", $context) ? $context["localProduct"] : (function () { throw new RuntimeError('Variable "localProduct" does not exist.', 1221, $this->source); })()), "id", [], "any", false, false, false, 1221), "slug" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["localProduct"]) || array_key_exists("localProduct", $context) ? $context["localProduct"] : (function () { throw new RuntimeError('Variable "localProduct" does not exist.', 1221, $this->source); })()), "slug", [], "any", false, false, false, 1221)]), "html", null, true);
yield "\">
<img style=\"max-width: 100px;\" data-main=\"";
// line 1222
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("/images/product/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["localProductData"]) || array_key_exists("localProductData", $context) ? $context["localProductData"] : (function () { throw new RuntimeError('Variable "localProductData" does not exist.', 1222, $this->source); })()), "mainPhoto", [], "any", false, false, false, 1222)) . "")), "small"), "html", null, true);
yield "\" src=\"/images/ajax-loader.gif\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["localProduct"]) || array_key_exists("localProduct", $context) ? $context["localProduct"] : (function () { throw new RuntimeError('Variable "localProduct" does not exist.', 1222, $this->source); })()), "name", [], "any", false, false, false, 1222), "html", null, true);
yield "\" class=\"lazy img-responsive small-photo\" data-src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("/images/product/" . CoreExtension::getAttribute($this->env, $this->source, (isset($context["localProductData"]) || array_key_exists("localProductData", $context) ? $context["localProductData"] : (function () { throw new RuntimeError('Variable "localProductData" does not exist.', 1222, $this->source); })()), "mainPhoto", [], "any", false, false, false, 1222)) . "")), "small"), "html", null, true);
yield "\" />
</a>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['similarColor'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1226
yield " </div>
";
}
// line 1228
yield " </div>
<!-- END OF ADD TO COMPARE -->
</div>
<!-- END OF SHORT DESCRIPTION -->
</div>
<hr class=\"hr\">
</div>
</section>
<!-- END OF MAIN SECTION -->
<!-- START OF DETAIL DESCRIPTION SECTION -->
";
// line 1238
$context["parametersIds"] = [];
// line 1239
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["priceVariants"]) || array_key_exists("priceVariants", $context) ? $context["priceVariants"] : (function () { throw new RuntimeError('Variable "priceVariants" does not exist.', 1239, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["variant"]) {
// line 1240
yield " ";
if (!CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["variant"], "parameterValueGroup", [], "any", false, false, false, 1240), "parameter", [], "any", false, false, false, 1240), "id", [], "any", false, false, false, 1240), (isset($context["parametersIds"]) || array_key_exists("parametersIds", $context) ? $context["parametersIds"] : (function () { throw new RuntimeError('Variable "parametersIds" does not exist.', 1240, $this->source); })()))) {
// line 1241
yield " ";
$context["parametersIds"] = Twig\Extension\CoreExtension::merge((isset($context["parametersIds"]) || array_key_exists("parametersIds", $context) ? $context["parametersIds"] : (function () { throw new RuntimeError('Variable "parametersIds" does not exist.', 1241, $this->source); })()), [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["variant"], "parameterValueGroup", [], "any", false, false, false, 1241), "parameter", [], "any", false, false, false, 1241), "id", [], "any", false, false, false, 1241)]);
// line 1242
yield " ";
}
// line 1243
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['variant'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1244
yield "
";
// line 1245
$context["shortFunctions"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1245, $this->source); })()), "getShortFunctionDescription", [], "any", false, false, false, 1245);
// line 1246
yield " <section class=\"section\">
<div class=\"container\">
<div class=\"columns\">
<!-- START OF SIDEBAR MENU SECTION -->
<div class=\"column is-one-fifth\">
<affix class=\"sidebar-menu\" relative-element-selector=\"#main_content\">
<aside class=\"columns is-multiline\">
<scrollactive active-class=\"active-scroll\" :highlight-first-item=\"true\">
<!-- START SIDEBAR FOR DESKTOP -->
<nav>
";
// line 1256
if (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["shortFunctions"]) || array_key_exists("shortFunctions", $context) ? $context["shortFunctions"] : (function () { throw new RuntimeError('Variable "shortFunctions" does not exist.', 1256, $this->source); })()))) {
// line 1257
yield " <div class=\"column is-full has-text-weight-semibold\">
<a href=\"#";
// line 1258
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tag_shortcut", [], "store"), "html", null, true);
yield "\" class=\"scrollactive-item is-hidden-touch\" style=\"color: #989898;\">
";
// line 1259
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("inShortcut", [], "store"), "html", null, true);
yield "
</a>
</div>
";
}
// line 1263
yield " <div class=\"column is-full has-text-weight-semibold\">
<a href=\"#";
// line 1264
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tag_models_features", [], "store"), "html", null, true);
yield "\" class=\"modele_i_cechy scrollactive-item is-hidden-touch\" style=\"color: #989898;\">
";
// line 1265
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("functionsProductDescription", [], "store"), "html", null, true);
yield "
</a>
</div>
";
// line 1268
if (CoreExtension::inFilter(Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_TEXTILE"), (isset($context["parametersIds"]) || array_key_exists("parametersIds", $context) ? $context["parametersIds"] : (function () { throw new RuntimeError('Variable "parametersIds" does not exist.', 1268, $this->source); })()))) {
// line 1269
yield " <div class=\"column is-full has-text-weight-semibold\">
<a href=\"#";
// line 1270
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tag_material_textile", [], "store"), "html", null, true);
yield "\" class=\"scrollactive-item is-hidden-touch\" style=\"color: #989898;\">
";
// line 1271
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("materials_textiles", [], "store"), "html", null, true);
yield "
</a>
</div>
";
}
// line 1275
yield " ";
if (CoreExtension::inFilter(Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_WOOD"), (isset($context["parametersIds"]) || array_key_exists("parametersIds", $context) ? $context["parametersIds"] : (function () { throw new RuntimeError('Variable "parametersIds" does not exist.', 1275, $this->source); })()))) {
// line 1276
yield " <div class=\"column is-full has-text-weight-semibold\">
<a href=\"#";
// line 1277
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tag_material_wood", [], "store"), "html", null, true);
yield "\" class=\"scrollactive-item is-hidden-touch\" style=\"color: #989898;\">
";
// line 1278
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("materials_wood", [], "store"), "html", null, true);
yield "
</a>
</div>
";
}
// line 1282
yield " ";
if (CoreExtension::inFilter(Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_NET"), (isset($context["parametersIds"]) || array_key_exists("parametersIds", $context) ? $context["parametersIds"] : (function () { throw new RuntimeError('Variable "parametersIds" does not exist.', 1282, $this->source); })()))) {
// line 1283
yield " <div class=\"column is-full has-text-weight-semibold\">
<a href=\"#";
// line 1284
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tag_material_net", [], "store"), "html", null, true);
yield "\" class=\"scrollactive-item is-hidden-touch\" style=\"color: #989898;\">
";
// line 1285
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("material_net", [], "store"), "html", null, true);
yield "
</a>
</div>
";
}
// line 1289
yield " ";
if (CoreExtension::inFilter(Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_KOLATKA_PINEZKA"), (isset($context["parametersIds"]) || array_key_exists("parametersIds", $context) ? $context["parametersIds"] : (function () { throw new RuntimeError('Variable "parametersIds" does not exist.', 1289, $this->source); })()))) {
// line 1290
yield " <div class=\"column is-full has-text-weight-semibold\">
<a href=\"#";
// line 1291
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tag_materialy_kolatka", [], "store"), "html", null, true);
yield "\" class=\"scrollactive-item is-hidden-touch\" style=\"color: #989898;\">
";
// line 1292
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("materials_others", [], "store"), "html", null, true);
yield "
</a>
</div>
";
}
// line 1296
yield " ";
if (CoreExtension::inFilter(Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_WOOD_LEGS"), (isset($context["parametersIds"]) || array_key_exists("parametersIds", $context) ? $context["parametersIds"] : (function () { throw new RuntimeError('Variable "parametersIds" does not exist.', 1296, $this->source); })()))) {
// line 1297
yield " <div class=\"column is-full has-text-weight-semibold\">
<a href=\"#";
// line 1298
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tag_legs_wood", [], "store"), "html", null, true);
yield "\" class=\"scrollactive-item is-hidden-touch\" style=\"color: #989898;\">
";
// line 1299
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("material_wood_legs", [], "store"), "html", null, true);
yield "
</a>
</div>
";
}
// line 1303
yield " <div class=\"column is-full has-text-weight-semibold\">
<a href=\"#";
// line 1304
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tag_pricing", [], "store"), "html", null, true);
yield "\" class=\"scrollactive-item is-hidden-touch\" style=\"color: #989898;\">
";
// line 1305
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pricing", [], "store"), "html", null, true);
yield "
</a>
</div>
";
// line 1308
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1308, $this->source); })()), "photo3d", [], "any", false, false, false, 1308)) {
// line 1309
yield " <div class=\"column is-full has-text-weight-semibold is-hidden-touch\">
<a href=\"#desc360\" class=\"scrollactive-item\" style=\"color: #989898;\">";
// line 1310
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("presentation_360", [], "store"), "html", null, true);
yield "</a>
</div>
";
}
// line 1313
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1313, $this->source); })()), "photo3dAdditional", [], "any", false, false, false, 1313)) > 25)) {
// line 1314
yield " <div class=\"column is-full has-text-weight-semibold is-hidden-touch\">
<a href=\"#desc360Additional\" class=\"scrollactive-item\" style=\"color: #989898;\">";
// line 1315
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("presentation_360_additional", [], "store"), "html", null, true);
yield "</a>
</div>
";
}
// line 1318
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1318, $this->source); })()), "film", [], "any", false, false, false, 1318)) {
// line 1319
yield " <div class=\"column is-full has-text-weight-semibold is-hidden-touch\">
<a href=\"#film\" class=\"scrollactive-item\" style=\"color: #989898;\">";
// line 1320
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("film", [], "store"), "html", null, true);
yield "</a>
</div>
";
}
// line 1323
yield " <div class=\"column is-full has-text-weight-semibold is-hidden-touch\">
<a href=\"#gallery\" class=\"scrollactive-item\" style=\"color: #989898;\">";
// line 1324
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("gallery", [], "store"), "html", null, true);
yield "</a>
</div>
<div class=\"column is-full has-text-weight-semibold is-hidden-touch\">
<a href=\"#podobne\" class=\"scrollactive-item\" style=\"color: #989898;\">";
// line 1327
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("similarProducs", [], "store"), "html", null, true);
yield "</a>
</div>
";
// line 1329
if ((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.', 1329, $this->source); })()), "request", [], "any", false, false, false, 1329), "locale", [], "any", false, false, false, 1329) == "pl")) {
// line 1330
yield " ";
if (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1330, $this->source); })()), "getActiveSubProducts", [], "any", false, false, false, 1330), "count", [], "any", false, false, false, 1330) && array_key_exists("buyCheaperLP", $context)) && (isset($context["buyCheaperLP"]) || array_key_exists("buyCheaperLP", $context) ? $context["buyCheaperLP"] : (function () { throw new RuntimeError('Variable "buyCheaperLP" does not exist.', 1330, $this->source); })()))) {
// line 1331
yield " <div class=\"column is-full has-text-weight-semibold is-hidden-touch\">
<a href=\"";
// line 1332
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("landing-page-front", ["product" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1332, $this->source); })()), "id", [], "any", false, false, false, 1332), "id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["buyCheaperLP"]) || array_key_exists("buyCheaperLP", $context) ? $context["buyCheaperLP"] : (function () { throw new RuntimeError('Variable "buyCheaperLP" does not exist.', 1332, $this->source); })()), "id", [], "any", false, false, false, 1332), "slug" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["buyCheaperLP"]) || array_key_exists("buyCheaperLP", $context) ? $context["buyCheaperLP"] : (function () { throw new RuntimeError('Variable "buyCheaperLP" does not exist.', 1332, $this->source); })()), "slug", [], "any", false, false, false, 1332)]), "html", null, true);
yield "\" class=\"\" style=\"color: red;\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("buy_cheaper", [], "store"), "html", null, true);
yield "</a>
</div>
";
}
// line 1335
yield " ";
}
// line 1336
yield "
";
// line 1337
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1337, $this->source); })()), "getProducer", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1337, $this->source); })()), "localeShort", [], "any", false, false, false, 1337)], "method", false, false, false, 1337), "responsibleEntity", [], "any", false, false, false, 1337)) {
// line 1338
yield " <div class=\"column is-full has-text-weight-semibold\">
<a href=\"javascript:void(0);\" id=\"toggleDetails\" class=\"scrollactive-item is-hidden-touch\" style=\"color: rgb(152, 152, 152); display: flex; justify-content: space-between; align-items: center;\">
";
// line 1340
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("responsibleEntity_front_store", [], "store"), "html", null, true);
yield "
<span id=\"toggleIcon\" class=\"icon\">
<i class=\"fas fa-caret-down\"></i>
</span>
</a>
</div>
<!-- Hidden details div -->
<div id=\"detailsSection\" class=\"column is-full\" style=\"display: none; padding-left: 20px; color: rgb(100, 100, 100);\">
";
// line 1349
yield CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1349, $this->source); })()), "getProducer", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1349, $this->source); })()), "localeShort", [], "any", false, false, false, 1349)], "method", false, false, false, 1349), "responsibleEntity", [], "any", false, false, false, 1349);
yield "
</div>
";
}
// line 1352
yield " </nav>
<!-- END SIDEBAR FOR DESKTOP -->
</scrollactive>
</aside>
</affix>
</div>
<!-- END OF SIDEBAR MENU SECTION -->
<!-- START OF CONTENT SECTION -->
<div class=\"content-single-product column is-three-fifths-desktop is-four-fifths-tablet\">
<div class=\"columns is-multiline main-content-mobile-up\" id=\"main_content\">
";
// line 1362
if (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["shortFunctions"]) || array_key_exists("shortFunctions", $context) ? $context["shortFunctions"] : (function () { throw new RuntimeError('Variable "shortFunctions" does not exist.', 1362, $this->source); })()))) {
// line 1363
yield " <div class=\"left-25\" id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tag_shortcut", [], "store"), "html", null, true);
yield "\">
<div class=\"column is-full\">
";
// line 1365
yield (isset($context["shortFunctions"]) || array_key_exists("shortFunctions", $context) ? $context["shortFunctions"] : (function () { throw new RuntimeError('Variable "shortFunctions" does not exist.', 1365, $this->source); })());
yield "
</div>
</div>
";
}
// line 1369
yield " <section-accordion :open=\"1\" inline-template v-cloak>
<div class=\"column is-full\" id=\"";
// line 1370
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tag_models_features", [], "store"), "html", null, true);
yield "\">
";
// line 1371
if (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["shortFunctions"]) || array_key_exists("shortFunctions", $context) ? $context["shortFunctions"] : (function () { throw new RuntimeError('Variable "shortFunctions" does not exist.', 1371, $this->source); })()))) {
// line 1372
yield " <hr class=\"hr\">
";
}
// line 1374
yield "
<div class=\"level is-mobile\" @click=\"toggleAccordion\">
<div class=\"level-left\">
<div class=\"level-item\">
<h3 class=\"title is-3\">
";
// line 1379
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("functionsProductDescription", [], "store"), "html", null, true);
yield "
</h3>
</div>
</div>
<div class=\"level-right\">
<div class=\"level-item\" v-show=\"isMobile\">
<!-- down arrow / minus -->
<span class=\"icon\">
<i :class=\"isOpen ? 'fas fa-minus' : 'fas fa-chevron-down'\"></i>
</span>
</div>
</div>
</div>
<div class=\"divider2\"></div>
<!-- TODO: jakaś klasa do złapania -->
<div :class=\"isMobile ? '' : 'left-25'\" v-show=\"isOpen\">
";
// line 1397
$context["desc"] = $this->extensions['App\Twig\AppExtension']->shortFunctionDescriptionFilter(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1397, $this->source); })()), "description", [], "any", false, false, false, 1397));
// line 1398
yield " <ul class=\"removeDot\">
";
// line 1399
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["desc"]) || array_key_exists("desc", $context) ? $context["desc"] : (function () { throw new RuntimeError('Variable "desc" does not exist.', 1399, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
// line 1400
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), Twig\Extension\CoreExtension::striptags($context["row"])) > 5)) {
// line 1401
yield " <li class=\"removeDot\">
<div class=\"column is-full\">
<span class=\"icon\"><i class=\"fas fa-check has-text-success\"></i></span>
";
// line 1404
yield $this->extensions['App\Twig\AppExtension']->strongReplacer($context["row"]);
yield "
</div>
</li>
";
}
// line 1408
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['row'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1409
yield " </ul>
</div>
</div>
</section-accordion>
";
// line 1414
if (CoreExtension::inFilter(Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_TEXTILE"), (isset($context["parametersIds"]) || array_key_exists("parametersIds", $context) ? $context["parametersIds"] : (function () { throw new RuntimeError('Variable "parametersIds" does not exist.', 1414, $this->source); })()))) {
// line 1415
yield " <section-accordion :open=\"0\" inline-template v-cloak>
<div class=\"column is-full\" id=\"";
// line 1416
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tag_material_textile", [], "store"), "html", null, true);
yield "\">
<hr class=\"hr\">
<div class=\"level is-mobile\" @click=\"toggleAccordion\">
<div class=\"level-left\">
<div class=\"level-item\">
<h3 class=\"title is-3\">
";
// line 1422
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::capitalize($this->env->getCharset(), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("textiles", [], "store")), "html", null, true);
yield " (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->transChoice("count_variant_types", CoreExtension::getAttribute($this->env, $this->source, (isset($context["groupCounter"]) || array_key_exists("groupCounter", $context) ? $context["groupCounter"] : (function () { throw new RuntimeError('Variable "groupCounter" does not exist.', 1422, $this->source); })()), Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_TEXTILE"), [], "array", false, false, false, 1422)), "html", null, true);
yield ")
</h3>
</div>
</div>
<div class=\"level-right\">
<div class=\"level-item\" v-show=\"isMobile\">
<!-- down arrow / minus -->
<span class=\"icon\">
<i :class=\"isOpen ? 'fas fa-minus' : 'fas fa-chevron-down'\"></i>
</span>
</div>
</div>
</div>
<div class=\"divider2\"></div>
<div :class=\"isMobile ? '' : 'left-25'\" v-show=\"isOpen\">
";
// line 1438
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["variantsArray"]) || array_key_exists("variantsArray", $context) ? $context["variantsArray"] : (function () { throw new RuntimeError('Variable "variantsArray" does not exist.', 1438, $this->source); })()));
$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["variant"]) {
// line 1439
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["variant"], "parameter", [], "any", false, false, false, 1439), "id", [], "any", false, false, false, 1439) == Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_TEXTILE"))) {
// line 1440
yield " ";
yield from $this->loadTemplate("frontend/product/_materialPresentation.html.twig", "frontend/product/product.html.twig", 1440)->unwrap()->yield($context);
// line 1441
yield " ";
}
// line 1442
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['variant'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1443
yield " </div>
</div>
</section-accordion>
";
}
// line 1447
yield "
";
// line 1448
if (CoreExtension::inFilter(Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_WOOD"), (isset($context["parametersIds"]) || array_key_exists("parametersIds", $context) ? $context["parametersIds"] : (function () { throw new RuntimeError('Variable "parametersIds" does not exist.', 1448, $this->source); })()))) {
// line 1449
yield " <section-accordion :open=\"0\" inline-template v-cloak>
<div class=\"column is-full\" id=\"";
// line 1450
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tag_material_wood", [], "store"), "html", null, true);
yield "\">
<hr class=\"hr\">
<div class=\"level is-mobile\" @click=\"toggleAccordion\">
<div class=\"level-left\">
<div class=\"level-item\">
<h3 class=\"title is-3\">
";
// line 1456
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::capitalize($this->env->getCharset(), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("wood", [], "store")), "html", null, true);
yield " (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->transChoice("count_variant_types", CoreExtension::getAttribute($this->env, $this->source, (isset($context["groupCounter"]) || array_key_exists("groupCounter", $context) ? $context["groupCounter"] : (function () { throw new RuntimeError('Variable "groupCounter" does not exist.', 1456, $this->source); })()), Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_WOOD"), [], "array", false, false, false, 1456)), "html", null, true);
yield ")
</h3>
</div>
</div>
<div class=\"level-right\">
<div class=\"level-item\" v-show=\"isMobile\">
<!-- down arrow / minus -->
<span class=\"icon\">
<i :class=\"isOpen ? 'fas fa-minus' : 'fas fa-chevron-down'\"></i>
</span>
</div>
</div>
</div>
<div :class=\"isMobile ? '' : 'left-25'\" v-show=\"isOpen\">
";
// line 1471
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["variantsArray"]) || array_key_exists("variantsArray", $context) ? $context["variantsArray"] : (function () { throw new RuntimeError('Variable "variantsArray" does not exist.', 1471, $this->source); })()));
$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["variant"]) {
// line 1472
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["variant"], "parameter", [], "any", false, false, false, 1472), "id", [], "any", false, false, false, 1472) == Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_WOOD"))) {
// line 1473
yield " ";
yield from $this->loadTemplate("frontend/product/_materialPresentation.html.twig", "frontend/product/product.html.twig", 1473)->unwrap()->yield($context);
// line 1474
yield " ";
}
// line 1475
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['variant'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1476
yield " </div>
</div>
</section-accordion>
";
}
// line 1480
yield " ";
if (CoreExtension::inFilter(Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_NET"), (isset($context["parametersIds"]) || array_key_exists("parametersIds", $context) ? $context["parametersIds"] : (function () { throw new RuntimeError('Variable "parametersIds" does not exist.', 1480, $this->source); })()))) {
// line 1481
yield " <section-accordion :open=\"0\" inline-template v-cloak>
<div class=\"column is-full\" id=\"";
// line 1482
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tag_material_net", [], "store"), "html", null, true);
yield "\">
<hr class=\"hr\">
<div class=\"level is-mobile\" @click=\"toggleAccordion\">
<div class=\"level-left\">
<div class=\"level-item\">
<h3 class=\"title is-3\">
";
// line 1488
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::capitalize($this->env->getCharset(), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("net", [], "store")), "html", null, true);
yield " (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->transChoice("count_variant_types", CoreExtension::getAttribute($this->env, $this->source, (isset($context["groupCounter"]) || array_key_exists("groupCounter", $context) ? $context["groupCounter"] : (function () { throw new RuntimeError('Variable "groupCounter" does not exist.', 1488, $this->source); })()), Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_NET"), [], "array", false, false, false, 1488)), "html", null, true);
yield ")
</h3>
</div>
</div>
<div class=\"level-right\">
<div class=\"level-item\" v-show=\"isMobile\">
<!-- down arrow / minus -->
<span class=\"icon\">
<i :class=\"isOpen ? 'fas fa-minus' : 'fas fa-chevron-down'\"></i>
</span>
</div>
</div>
</div>
<div :class=\"isMobile ? '' : 'left-25'\" v-show=\"isOpen\">
";
// line 1503
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["variantsArray"]) || array_key_exists("variantsArray", $context) ? $context["variantsArray"] : (function () { throw new RuntimeError('Variable "variantsArray" does not exist.', 1503, $this->source); })()));
$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["variant"]) {
// line 1504
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["variant"], "parameter", [], "any", false, false, false, 1504), "id", [], "any", false, false, false, 1504) == Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_NET"))) {
// line 1505
yield " ";
yield from $this->loadTemplate("frontend/product/_materialPresentation.html.twig", "frontend/product/product.html.twig", 1505)->unwrap()->yield($context);
// line 1506
yield " ";
}
// line 1507
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['variant'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1508
yield " </div>
</div>
</section-accordion>
";
}
// line 1512
yield " ";
if (CoreExtension::inFilter(Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_KOLATKA_PINEZKA"), (isset($context["parametersIds"]) || array_key_exists("parametersIds", $context) ? $context["parametersIds"] : (function () { throw new RuntimeError('Variable "parametersIds" does not exist.', 1512, $this->source); })()))) {
// line 1513
yield " <section-accordion :open=\"0\" inline-template v-cloak>
<div class=\"column is-full\" id=\"";
// line 1514
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tag_materialy_kolatka", [], "store"), "html", null, true);
yield "\">
<hr class=\"hr\">
<div class=\"level is-mobile\" @click=\"toggleAccordion\">
<div class=\"level-left\">
<div class=\"level-item\">
<h3 class=\"title is-3\">
";
// line 1520
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::capitalize($this->env->getCharset(), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pins_kolatka", [], "store")), "html", null, true);
yield " (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->transChoice("count_variant_types", CoreExtension::getAttribute($this->env, $this->source, (isset($context["groupCounter"]) || array_key_exists("groupCounter", $context) ? $context["groupCounter"] : (function () { throw new RuntimeError('Variable "groupCounter" does not exist.', 1520, $this->source); })()), Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_KOLATKA_PINEZKA"), [], "array", false, false, false, 1520)), "html", null, true);
yield ")
</h3>
</div>
</div>
<div class=\"level-right\">
<div class=\"level-item\" v-show=\"isMobile\">
<!-- down arrow / minus -->
<span class=\"icon\">
<i :class=\"isOpen ? 'fas fa-minus' : 'fas fa-chevron-down'\"></i>
</span>
</div>
</div>
</div>
<div :class=\"isMobile ? '' : 'left-25'\" v-show=\"isOpen\">
";
// line 1535
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["variantsArray"]) || array_key_exists("variantsArray", $context) ? $context["variantsArray"] : (function () { throw new RuntimeError('Variable "variantsArray" does not exist.', 1535, $this->source); })()));
$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["variant"]) {
// line 1536
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["variant"], "parameter", [], "any", false, false, false, 1536), "id", [], "any", false, false, false, 1536) == Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_KOLATKA_PINEZKA"))) {
// line 1537
yield " ";
yield from $this->loadTemplate("frontend/product/_materialPresentation.html.twig", "frontend/product/product.html.twig", 1537)->unwrap()->yield($context);
// line 1538
yield " ";
}
// line 1539
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['variant'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1540
yield " </div>
</div>
</section-accordion>
";
}
// line 1544
yield " ";
if (CoreExtension::inFilter(Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_WOOD_LEGS"), (isset($context["parametersIds"]) || array_key_exists("parametersIds", $context) ? $context["parametersIds"] : (function () { throw new RuntimeError('Variable "parametersIds" does not exist.', 1544, $this->source); })()))) {
// line 1545
yield " <section-accordion :open=\"0\" inline-template v-cloak>
<div class=\"column is-full\" id=\"";
// line 1546
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tag_legs_wood", [], "store"), "html", null, true);
yield "\">
<hr class=\"hr\">
<div class=\"level is-mobile\" @click=\"toggleAccordion\">
<div class=\"level-left\">
<div class=\"level-item\">
<h3 class=\"title is-3\">
";
// line 1552
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("wood_legs", [], "store"), "html", null, true);
yield " (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->transChoice("count_variant_types", CoreExtension::getAttribute($this->env, $this->source, (isset($context["groupCounter"]) || array_key_exists("groupCounter", $context) ? $context["groupCounter"] : (function () { throw new RuntimeError('Variable "groupCounter" does not exist.', 1552, $this->source); })()), Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_WOOD_LEGS"), [], "array", false, false, false, 1552)), "html", null, true);
yield ")
</h3>
</div>
</div>
<div class=\"level-right\">
<div class=\"level-item\" v-show=\"isMobile\">
<!-- down arrow / minus -->
<span class=\"icon\">
<i :class=\"isOpen ? 'fas fa-minus' : 'fas fa-chevron-down'\"></i>
</span>
</div>
</div>
</div>
<div :class=\"isMobile ? '' : 'left-25'\" v-show=\"isOpen\">
";
// line 1567
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["variantsArray"]) || array_key_exists("variantsArray", $context) ? $context["variantsArray"] : (function () { throw new RuntimeError('Variable "variantsArray" does not exist.', 1567, $this->source); })()));
$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["variant"]) {
// line 1568
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["variant"], "parameter", [], "any", false, false, false, 1568), "id", [], "any", false, false, false, 1568) == Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_WOOD_LEGS"))) {
// line 1569
yield " ";
yield from $this->loadTemplate("frontend/product/_materialPresentation.html.twig", "frontend/product/product.html.twig", 1569)->unwrap()->yield($context);
// line 1570
yield " ";
}
// line 1571
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['variant'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1572
yield " </div>
</div>
</section-accordion>
";
}
// line 1576
yield "
<div class=\"column is-full\" id=\"";
// line 1577
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tag_pricing", [], "store"), "html", null, true);
yield "\">
<hr class=\"hr\">
<h2 class=\"title is-3\">
";
// line 1580
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pricing", [], "store"), "html", null, true);
yield "
</h2>
<div class=\"divider\"></div>
";
// line 1583
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1583, $this->source); })()), "shippingCategory", [], "any", false, false, false, 1583) && (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.', 1583, $this->source); })()), "request", [], "any", false, false, false, 1583), "locale", [], "any", false, false, false, 1583) == "pl"))) {
// line 1584
yield " ";
$context["sc"] = (CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1584, $this->source); })()), "shippingCategory", [], "any", false, false, false, 1584) . "_store");
// line 1585
yield " <h4 style=\"margin-bottom:20px;\">
";
// line 1586
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["sc"]) || array_key_exists("sc", $context) ? $context["sc"] : (function () { throw new RuntimeError('Variable "sc" does not exist.', 1586, $this->source); })()), [], "store"), "html", null, true);
yield "
</h4>
";
}
// line 1589
yield " <div class=\"pricingContainer\">
";
// line 1590
if (((CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1590, $this->source); })()), "isVariants", [], "any", false, false, false, 1590) == 1) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["groupCounter"]) || array_key_exists("groupCounter", $context) ? $context["groupCounter"] : (function () { throw new RuntimeError('Variable "groupCounter" does not exist.', 1590, $this->source); })())) > 0))) {
// line 1591
yield " <table class=\"ck-table\">
<tr>
<td></td>
";
// line 1594
if (CoreExtension::getAttribute($this->env, $this->source, ($context["groupCounter"] ?? null), Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_TEXTILE"), [], "array", true, true, false, 1594)) {
// line 1595
yield " <th style=\"text-align: center; padding-top:10px;\" colspan=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["groupCounter"]) || array_key_exists("groupCounter", $context) ? $context["groupCounter"] : (function () { throw new RuntimeError('Variable "groupCounter" does not exist.', 1595, $this->source); })()), Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_TEXTILE"), [], "array", false, false, false, 1595), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("available_materials", [], "store"), "html", null, true);
yield "</th>
";
} elseif (CoreExtension::getAttribute($this->env, $this->source, // line 1596
($context["groupCounter"] ?? null), Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_WOOD"), [], "array", true, true, false, 1596)) {
// line 1597
yield " <th style=\"text-align: center; padding-top:10px;\" colspan=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["groupCounter"]) || array_key_exists("groupCounter", $context) ? $context["groupCounter"] : (function () { throw new RuntimeError('Variable "groupCounter" does not exist.', 1597, $this->source); })()), Twig\Extension\CoreExtension::constant("App\\Entity\\ProductParameter::CHOOSABLE_WOOD"), [], "array", false, false, false, 1597), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("available_materials", [], "store"), "html", null, true);
yield "</th>
";
}
// line 1599
yield " </tr>
<tr>
<th style=\"text-align: center\">";
// line 1601
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("version", [], "store"), "html", null, true);
yield "</th>
";
// line 1602
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::slice($this->env->getCharset(), (isset($context["pricing"]) || array_key_exists("pricing", $context) ? $context["pricing"] : (function () { throw new RuntimeError('Variable "pricing" does not exist.', 1602, $this->source); })()), 0, 1));
foreach ($context['_seq'] as $context["_key"] => $context["price"]) {
// line 1603
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["price"], "tkaniny", [], "any", false, false, false, 1603));
foreach ($context['_seq'] as $context["_key"] => $context["textile"]) {
// line 1604
yield " ";
if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["textile"], "parameter", [], "any", false, false, false, 1604), "id", [], "any", false, false, false, 1604), [9, 23, 55, 121, 126, 124, 37, 22])) {
// line 1605
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["textile"], "parameterValueGroup", [], "any", false, false, false, 1605)) {
// line 1606
yield " <th style=\"text-align:center;\"><a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("textileDescription", ["id" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["textile"], "parameterValueGroup", [], "any", false, false, false, 1606), "id", [], "any", false, false, false, 1606)]), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["textile"], "parameterValueGroup", [], "any", false, false, false, 1606), "name", [], "any", false, false, false, 1606), "html", null, true);
yield "</a></th>
";
} else {
// line 1608
yield " <th style=\"text-align:center;\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["textile"], "parameterValue", [], "any", false, false, false, 1608), "name", [], "any", false, false, false, 1608), "html", null, true);
yield "</th>
";
}
// line 1610
yield " ";
}
// line 1611
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['textile'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1612
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['price'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1613
yield " </tr>
";
// line 1614
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["pricing"]) || array_key_exists("pricing", $context) ? $context["pricing"] : (function () { throw new RuntimeError('Variable "pricing" does not exist.', 1614, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["price"]) {
// line 1615
yield " <tr>
<td style=\"\">";
// line 1616
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["price"], "wersja", [], "any", false, false, false, 1616), "name", [], "any", false, false, false, 1616), "html", null, true);
yield "</td>
";
// line 1617
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["price"], "tkaniny", [], "any", false, false, false, 1617));
foreach ($context['_seq'] as $context["_key"] => $context["textile"]) {
// line 1618
yield " ";
if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["textile"], "parameter", [], "any", false, false, false, 1618), "id", [], "any", false, false, false, 1618), [9, 23, 55, 121, 126, 124, 37, 22])) {
// line 1619
yield " <td style=\"text-align:center;overflow: hidden;white-space: nowrap; vertical-align: middle\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->formatPrice(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["textile"], "productPrice", [], "any", false, false, false, 1619), "priceGross", [(isset($context["vat"]) || array_key_exists("vat", $context) ? $context["vat"] : (function () { throw new RuntimeError('Variable "vat" does not exist.', 1619, $this->source); })())], "method", false, false, false, 1619), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["textile"], "productPrice", [], "any", false, false, false, 1619), "currency", [], "any", false, false, false, 1619)), "html", null, true);
yield "</td>
";
}
// line 1621
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['textile'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1622
yield " </tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['price'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1624
yield " </table>
";
} elseif ((Twig\Extension\CoreExtension::length($this->env->getCharset(), // line 1625
(isset($context["productPrices"]) || array_key_exists("productPrices", $context) ? $context["productPrices"] : (function () { throw new RuntimeError('Variable "productPrices" does not exist.', 1625, $this->source); })())) > 1)) {
// line 1626
yield " <table class=\"ck-table\" style=\"max-width: 650px;\">
";
// line 1627
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["productPrices"]) || array_key_exists("productPrices", $context) ? $context["productPrices"] : (function () { throw new RuntimeError('Variable "productPrices" does not exist.', 1627, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["productPrice"]) {
// line 1628
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["productPrice"], "variants", [], "any", false, false, false, 1628)) == 1)) {
// line 1629
yield " <tr>
<th style=\"text-align: center; width:30%;\">
";
// line 1631
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["productPrice"], "variants", [], "any", false, false, false, 1631));
foreach ($context['_seq'] as $context["_key"] => $context["variants"]) {
// line 1632
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["variants"], "parameterValue", [], "any", false, false, false, 1632), "name", [], "any", false, false, false, 1632), "html", null, true);
yield "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['variants'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1634
yield " </th>
<td style=\"width: 90%; text-align: center; padding-top:19px;\">
";
// line 1636
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->formatPrice(CoreExtension::getAttribute($this->env, $this->source, $context["productPrice"], "getPriceGross", [(isset($context["vat"]) || array_key_exists("vat", $context) ? $context["vat"] : (function () { throw new RuntimeError('Variable "vat" does not exist.', 1636, $this->source); })())], "method", false, false, false, 1636), CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1636, $this->source); })()), "currency", [], "any", false, false, false, 1636)), "html", null, true);
yield "
</td>
</tr>
";
}
// line 1640
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['productPrice'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1641
yield " </table>
";
} else {
// line 1643
yield " <table class=\"ck-table\" style=\"max-width: 650px;\">
<tr>
<th style=\"text-align: center; width:30%;\">
";
// line 1646
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1646, $this->source); })()), "name", [], "any", false, false, false, 1646), "html", null, true);
yield "
</th>
<td style=\"width: 90%; text-align: center; padding-top:19px;\">
";
// line 1649
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::slice($this->env->getCharset(), (isset($context["productPrices"]) || array_key_exists("productPrices", $context) ? $context["productPrices"] : (function () { throw new RuntimeError('Variable "productPrices" does not exist.', 1649, $this->source); })()), 0, 1));
foreach ($context['_seq'] as $context["_key"] => $context["price"]) {
// line 1650
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->formatPrice(CoreExtension::getAttribute($this->env, $this->source, $context["price"], "getPriceGross", [(isset($context["vat"]) || array_key_exists("vat", $context) ? $context["vat"] : (function () { throw new RuntimeError('Variable "vat" does not exist.', 1650, $this->source); })()), CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1650, $this->source); })()), "roundingPrecision", [], "any", false, false, false, 1650), true], "method", false, false, false, 1650), CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1650, $this->source); })()), "currency", [], "any", false, false, false, 1650)), "html", null, true);
yield "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['price'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1652
yield " </td>
</tr>
</table>
";
}
// line 1656
yield " </div>
</div>
";
// line 1669
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1669, $this->source); })()), "photo3d", [], "any", false, false, false, 1669)) {
// line 1670
yield " <div class=\"column is-full\" id=\"desc360\">
<hr class=\"hr\">
<h2 class=\"title is-3\">
";
// line 1673
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("presentation360", [], "store"), "html", null, true);
yield "
</h2>
<div class=\"left-25 descriptionDiv\">
";
// line 1676
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1676, $this->source); })()), "photo3d", [], "any", false, false, false, 1676);
yield "
</div>
</div>
";
}
// line 1680
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1680, $this->source); })()), "photo3dAdditional", [], "any", false, false, false, 1680)) > 25)) {
// line 1681
yield " <div class=\"column is-full\" id=\"desc360Additional\">
<hr class=\"hr\">
<h2 class=\"title is-3\">
";
// line 1684
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("presentation_360_additional", [], "store"), "html", null, true);
yield "
</h2>
<div class=\"left-25 descriptionDiv\">
";
// line 1687
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1687, $this->source); })()), "photo3dAdditional", [], "any", false, false, false, 1687);
yield "
</div>
</div>
";
}
// line 1691
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1691, $this->source); })()), "film", [], "any", false, false, false, 1691)) {
// line 1692
yield " <div class=\"column is-full descriptionDiv\" id=\"film\">
<hr class=\"hr\">
<h2 class=\"title is-3\">
";
// line 1695
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("film", [], "store"), "html", null, true);
yield "
</h2>
<div class=\"left-25 video-container\" itemprop=\"video\" itemscope itemtype=\"http://schema.org/VideoObject\">
";
// line 1698
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1698, $this->source); })()), "film", [], "any", false, false, false, 1698);
yield "
<span style=\"display: none\" itemprop=\"name\">";
// line 1699
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product_presentation", [], "store"), "html", null, true);
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1699, $this->source); })()), "name", [], "any", false, false, false, 1699), "html", null, true);
yield " - ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1699, $this->source); })()), "getProducer", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1699, $this->source); })()), "localeShort", [], "any", false, false, false, 1699)], "method", false, false, false, 1699), "name", [], "any", false, false, false, 1699), "html", null, true);
yield "</span>
<span style=\"display: none\" itemprop=\"description\">";
// line 1700
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1700, $this->source); })()), "shortDescription", [], "any", false, false, false, 1700), "html", null, true);
yield "</span>
<span style=\"display: none\" itemprop=\"uploadDate\">";
// line 1701
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1701, $this->source); })()), "createdAt", [], "any", false, false, false, 1701), "Y-m-d"), "html", null, true);
yield "</span>
";
// line 1702
$context["imgShow"] = 0;
// line 1703
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1703, $this->source); })()), "photos", [], "any", false, false, false, 1703));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 1704
yield " ";
if (((CoreExtension::getAttribute($this->env, $this->source, $context["image"], "main", [], "any", false, false, false, 1704) == 1) && ((isset($context["imgShow"]) || array_key_exists("imgShow", $context) ? $context["imgShow"] : (function () { throw new RuntimeError('Variable "imgShow" does not exist.', 1704, $this->source); })()) == 0))) {
// line 1705
yield " <span style=\"display: none\" itemprop=\"thumbnailUrl\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1705, $this->source); })()), "storeUrl", [], "any", false, false, false, 1705), "html", null, true);
yield "/images/product/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 1705), "html", null, true);
yield "</span>
";
// line 1706
$context["imgShow"] = 1;
// line 1707
yield " ";
}
// line 1708
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['image'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1709
yield "
</div>
</div>
";
}
// line 1714
yield " <div class=\"column is-full descriptionDiv\" id=\"gallery\">
<hr class=\"hr\">
<h2 class=\"title is-3\">
";
// line 1717
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("gallery", [], "store"), "html", null, true);
yield "
</h2>
<div class=\"left-25\">
<div class=\"columns is-multiline\">
";
// line 1721
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1721, $this->source); })()), "photos", [], "any", false, false, false, 1721));
foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
// line 1722
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["photo"], "getIsAvailableForLang", [(isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1722, $this->source); })())], "method", false, false, false, 1722)) {
// line 1723
yield " <div class=\"column is-one-third\" style=\"float: left; padding:0px;\">
<a id=\"";
// line 1724
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["photo"], "id", [], "any", false, false, false, 1724), "html", null, true);
yield "\" class=\"modal-button\" data-href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("load_gallery_image", ["id" => CoreExtension::getAttribute($this->env, $this->source, $context["photo"], "id", [], "any", false, false, false, 1724)]), "html", null, true);
yield "\" data-target=\"modal\" aria-haspopup=\"true\">
<img ";
// line 1725
if (CoreExtension::getAttribute($this->env, $this->source, $context["photo"], "alt", [], "any", false, false, false, 1725)) {
yield "alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["photo"], "alt", [], "any", false, false, false, 1725), "html", null, true);
yield "\"";
}
yield " style=\"max-height:210px;\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1725, $this->source); })()), "storeUrl", [], "any", false, false, false, 1725), "html", null, true);
yield "/images/product/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["photo"], "imageName", [], "any", false, false, false, 1725), "html", null, true);
yield "\"/>
</a>
<div style=\"font-size:14px; width: 130px;\">
";
// line 1728
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["photo"], "getTranslatedDescription", [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.', 1728, $this->source); })()), "request", [], "any", false, false, false, 1728), "locale", [], "any", false, false, false, 1728)], "method", false, false, false, 1728), "html", null, true);
yield "
</div>
</div>
";
}
// line 1732
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['photo'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1733
yield " <div style=\"clear: both\"></div>
</div>
</div>
</div>
";
// line 1738
if (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["comments"]) || array_key_exists("comments", $context) ? $context["comments"] : (function () { throw new RuntimeError('Variable "comments" does not exist.', 1738, $this->source); })()))) {
// line 1739
yield " <div class=\"column is-full descriptionDiv\" id=\"comments\">
<hr class=\"hr\">
<h2 class=\"title is-3\" style=\"margin-left:-5px;\">
";
// line 1742
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("comments_front_txt_title", [], "store"), "html", null, true);
yield "
</h2>
<div class=\"left-25\">
<div class=\"columns is-multiline\">
<div class=\"column is-full\" style=\"margin-bottom: 20px; margin-top:10px;\">
<div class=\"is-mobile\">
<div class=\"level-left\">
";
// line 1750
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("average_rating", [], "store"), "html", null, true);
yield " <strong>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::round((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 1750, $this->source); })()), 2), "html", null, true);
yield "/5</strong> <span id=\"rateit\" data-rateit-readonly=\"true\" data-rateit-value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 1750, $this->source); })()), "html", null, true);
yield "\" data-readonly=\"true\" data-rateit-ispreset=\"true\" data-rateit-mode=\"font\" style=\"font-size:20px\" class=\"rateit hide-mobile\"></span>
";
// line 1752
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["comments"]) || array_key_exists("comments", $context) ? $context["comments"] : (function () { throw new RuntimeError('Variable "comments" does not exist.', 1752, $this->source); })())) == 1)) {
// line 1753
yield " (1 ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("single_opinion", [], "store"), "html", null, true);
yield ")
";
} elseif ((((Twig\Extension\CoreExtension::length($this->env->getCharset(), // line 1754
(isset($context["comments"]) || array_key_exists("comments", $context) ? $context["comments"] : (function () { throw new RuntimeError('Variable "comments" does not exist.', 1754, $this->source); })())) == 2) || (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["comments"]) || array_key_exists("comments", $context) ? $context["comments"] : (function () { throw new RuntimeError('Variable "comments" does not exist.', 1754, $this->source); })())) == 3)) || (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["comments"]) || array_key_exists("comments", $context) ? $context["comments"] : (function () { throw new RuntimeError('Variable "comments" does not exist.', 1754, $this->source); })())) == 4))) {
// line 1755
yield " (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["comments"]) || array_key_exists("comments", $context) ? $context["comments"] : (function () { throw new RuntimeError('Variable "comments" does not exist.', 1755, $this->source); })())), "html", null, true);
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pl_two_three_fours_opinions_lexical", [], "store"), "html", null, true);
yield ")
";
} else {
// line 1757
yield " (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["comments"]) || array_key_exists("comments", $context) ? $context["comments"] : (function () { throw new RuntimeError('Variable "comments" does not exist.', 1757, $this->source); })())), "html", null, true);
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("opinions", [], "store"), "html", null, true);
yield ")
";
}
// line 1759
yield " </div>
</div>
</div>
<div style=\"color:red; cursor: pointer\" id=\"show_comments_button\">
";
// line 1764
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("show_comments", [], "store"), "html", null, true);
yield " <i class=\"fa fa-arrow-circle-down\"></i>
</div>
<div id=\"comment_container\" style=\"display: none\">
<div itemscope itemtype=\"https://schema.org/Product\">
<div itemprop=\"brand\" itemtype=\"https://schema.org/Brand\" itemscope>
";
// line 1771
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["pProduct"]) || array_key_exists("pProduct", $context) ? $context["pProduct"] : (function () { throw new RuntimeError('Variable "pProduct" does not exist.', 1771, $this->source); })()), "getProducer", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1771, $this->source); })()), "localeShort", [], "any", false, false, false, 1771)], "method", false, false, false, 1771)) {
// line 1772
yield " <meta itemprop=\"name\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pProduct"]) || array_key_exists("pProduct", $context) ? $context["pProduct"] : (function () { throw new RuntimeError('Variable "pProduct" does not exist.', 1772, $this->source); })()), "getProducer", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1772, $this->source); })()), "localeShort", [], "any", false, false, false, 1772)], "method", false, false, false, 1772), "name", [], "any", false, false, false, 1772), "html", null, true);
yield "\" />
";
}
// line 1774
yield " </div>
<meta itemprop=\"description\" content=\"";
// line 1775
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::slice($this->env->getCharset(), Twig\Extension\CoreExtension::striptags(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1775, $this->source); })()), "description", [], "any", false, false, false, 1775)), 0, 200), "html", null, true);
yield "\" />
<meta itemprop=\"sku\" content=\"";
// line 1776
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1776, $this->source); })()), "id", [], "any", false, false, false, 1776), "html", null, true);
yield "\" />
";
// line 1778
$context["imgShow"] = 0;
// line 1779
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1779, $this->source); })()), "photos", [], "any", false, false, false, 1779));
foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
// line 1780
yield " ";
if (((CoreExtension::getAttribute($this->env, $this->source, $context["image"], "main", [], "any", false, false, false, 1780) == 1) && ((isset($context["imgShow"]) || array_key_exists("imgShow", $context) ? $context["imgShow"] : (function () { throw new RuntimeError('Variable "imgShow" does not exist.', 1780, $this->source); })()) == 0))) {
// line 1781
yield " <img style=\"visibility: hidden; left:-1000px; position: absolute;\" itemprop=\"image\" src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1781, $this->source); })()), "storeUrl", [], "any", false, false, false, 1781), "html", null, true);
yield "/images/product/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["image"], "imageName", [], "any", false, false, false, 1781), "html", null, true);
yield "\"/>
";
// line 1782
$context["imgShow"] = 1;
// line 1783
yield " ";
}
// line 1784
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['image'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1785
yield "
<span style=\"visibility: hidden; left:-1000px; position: absolute\" itemprop=\"name\">";
// line 1786
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1786, $this->source); })()), "name", [], "any", false, false, false, 1786), "html", null, true);
yield "</span>
<div itemprop=\"aggregateRating\" itemtype=\"https://schema.org/AggregateRating\" itemscope>
<meta itemprop=\"reviewCount\" content=\"";
// line 1789
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["comments"]) || array_key_exists("comments", $context) ? $context["comments"] : (function () { throw new RuntimeError('Variable "comments" does not exist.', 1789, $this->source); })())), "html", null, true);
yield "\" />
<span itemprop=\"ratingValue\" content=\"";
// line 1790
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::round((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 1790, $this->source); })()), 2), "html", null, true);
yield "\"></span>
</div>
<div itemprop=\"offers\" itemtype=\"https://schema.org/Offer\" itemscope>
";
// line 1793
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1793, $this->source); })()), "id", [], "any", false, false, false, 1793) == 1)) {
// line 1794
yield " <link itemprop=\"url\" href=\"https://www.centrumkrzesel.pl";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("product", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1794, $this->source); })()), "id", [], "any", false, false, false, 1794), "slug" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1794, $this->source); })()), "slug", [], "any", false, false, false, 1794)], false), "html", null, true);
yield "\" />
";
}
// line 1796
yield "
<meta itemprop=\"availability\" content=\"https://schema.org/InStock\" />
";
// line 1798
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1798, $this->source); })()), "id", [], "any", false, false, false, 1798) == 1)) {
// line 1799
yield " <meta itemprop=\"priceCurrency\" content=\"PLN\" />
";
}
// line 1801
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1801, $this->source); })()), "id", [], "any", false, false, false, 1801) == 2)) {
// line 1802
yield " <meta itemprop=\"priceCurrency\" content=\"CZK\" />
";
}
// line 1804
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1804, $this->source); })()), "id", [], "any", false, false, false, 1804) == 3)) {
// line 1805
yield " <meta itemprop=\"priceCurrency\" content=\"EUR\" />
";
}
// line 1807
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1807, $this->source); })()), "id", [], "any", false, false, false, 1807) == 4)) {
// line 1808
yield " <meta itemprop=\"priceCurrency\" content=\"RON\" />
";
}
// line 1810
yield " <meta itemprop=\"itemCondition\" content=\"https://schema.org/NewCondition\" />
<meta itemprop=\"price\" content=\"";
// line 1811
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["minPrice"]) || array_key_exists("minPrice", $context) ? $context["minPrice"] : (function () { throw new RuntimeError('Variable "minPrice" does not exist.', 1811, $this->source); })()), "html", null, true);
yield "\" />
<meta itemprop=\"priceValidUntil\" content=\"";
// line 1812
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "Y") + 1), "html", null, true);
yield "-";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "m"), "html", null, true);
yield "-";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "d"), "html", null, true);
yield "\" />
</div>
";
// line 1815
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["comments"]) || array_key_exists("comments", $context) ? $context["comments"] : (function () { throw new RuntimeError('Variable "comments" does not exist.', 1815, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["comment"]) {
// line 1816
yield "
<div itemprop=\"review\" itemscope itemtype=\"https://schema.org/Review\">
<span itemprop=\"reviewRating\" itemscope itemtype=\"https://schema.org/Rating\">
<span itemprop=\"ratingValue\" style=\"position: absolute; margin-left: -2000px;\">";
// line 1819
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["comment"], "opinionRate", [], "any", false, false, false, 1819), "html", null, true);
yield "</span>
</span>
<meta itemprop=\"datePublished\" content=\"";
// line 1821
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["comment"], "createdAt", [], "any", false, false, false, 1821), "Y-m-d"), "html", null, true);
yield "\">
<div class=\"level is-mobile\">
<div class=\"level-left\" style=\"width: 10%;\">
<div class=\"author-container \" style=\"width: 52px!important;\">
<div style=\"margin:auto; font-size: 20px; background-color: ";
// line 1825
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::random($this->env->getCharset(), ["#ffb213", "#b390f1", "#785d55", "#ee8260", "#5abe10"]), "html", null, true);
yield "; width: 30px; height: 30px;\" class=\"author-circle\">
<span>";
// line 1826
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::upper($this->env->getCharset(), Twig\Extension\CoreExtension::slice($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["comment"], "user", [], "any", false, false, false, 1826), "firstname", [], "any", false, false, false, 1826), 0, 1)), "html", null, true);
yield "</span>
</div>
</div>
</div>
<div class=\"level-left\" style=\"width: 90%;\">
<div class=\"level-item level-item-name\" style=\"justify-content: left;\">
<span itemprop=\"author\" itemscope itemtype=\"https://schema.org/Person\">
<strong><span itemprop=\"name\">";
// line 1834
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["comment"], "user", [], "any", false, false, false, 1834), "firstname", [], "any", false, false, false, 1834), "html", null, true);
yield "</span></strong>
</span>
<span style=\"color:grey; font-size:13px;\">
";
// line 1839
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["comment"], "createdAt", [], "any", false, false, false, 1839), "Y-m-d"), "html", null, true);
yield "
</span>
<span id=\"rateit\" data-rateit-readonly=\"true\" data-rateit-value=\"";
// line 1842
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["comment"], "opinionRate", [], "any", false, false, false, 1842), "html", null, true);
yield "\" data-readonly=\"true\" data-rateit-ispreset=\"true\" data-rateit-mode=\"font\" style=\"font-size:20px\" class=\"rateit\"></span>
</div>
</div>
</div>
<div class=\"column is-full\" style=\"margin-bottom: 20px;\">
<div class=\"level is-mobile\">
<div class=\"level-left\" style=\"width: 9%;\">
</div>
<div class=\"level-left content-comment\" style=\"width: 92.5%; display: block\">
";
// line 1852
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["comment"], "content", [], "any", false, false, false, 1852), "html", null, true);
yield "
";
// line 1853
if (CoreExtension::getAttribute($this->env, $this->source, $context["comment"], "imageName", [], "any", false, false, false, 1853)) {
// line 1854
yield " <br/>
<div>
<img style=\"max-width: 600px; margin-top:10px;\" src=\"";
// line 1856
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("/images/important/" . CoreExtension::getAttribute($this->env, $this->source, $context["comment"], "imageName", [], "any", false, false, false, 1856)) . "")), "smallProdImage"), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1856, $this->source); })()), "name", [], "any", false, false, false, 1856), "html", null, true);
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::lower($this->env->getCharset(), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("customer_photo", [], "store")), "html", null, true);
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["comment"], "user", [], "any", false, false, false, 1856), "firstname", [], "any", false, false, false, 1856), "html", null, true);
yield "\">
</div>
";
}
// line 1859
yield " </div>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['comment'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1864
yield " </div>
</div>
<div style=\"clear: both\"></div>
</div>
</div>
</div>
";
}
// line 1871
yield "
</div>
</div>
<!-- END OF CONTENT SECTION -->
<!-- START OF RIGHT (EMPTY) SECTION -->
<div class=\"column is-one-fifth-desktop is-hidden-touch\">
</div>
<!-- END OF RIGHT (EMPTY) SECTION -->
</div>
<div class=\"columns\">
<div class=\"column\">
<div class=\"columns\">
<div class=\"column is-two-third is-offset-one-fifths is-hidden-touch pytania\">
<div class=\"is-size-4 is-600 has-text-centered is-3 \">
";
// line 1886
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("have_question_call", [], "store"), "html", null, true);
yield "
<span class=\"\"><i class=\"fas fa-phone\"></i> ";
// line 1887
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1887, $this->source); })()), "helpline", [], "any", false, false, false, 1887), "html", null, true);
yield "</span>
</div>
";
// line 1889
if ((isset($context["helplineHours"]) || array_key_exists("helplineHours", $context) ? $context["helplineHours"] : (function () { throw new RuntimeError('Variable "helplineHours" does not exist.', 1889, $this->source); })())) {
// line 1890
yield " <div class=\"is-size-5 has-text-centered\">
";
// line 1891
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("call_center_work_hours", [], "store"), "html", null, true);
yield ": ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["helplineHours"]) || array_key_exists("helplineHours", $context) ? $context["helplineHours"] : (function () { throw new RuntimeError('Variable "helplineHours" does not exist.', 1891, $this->source); })()), "name", [], "any", false, false, false, 1891), "html", null, true);
yield "
</div>
";
}
// line 1894
yield " </div>
</div>
";
// line 1898
if (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["family"]) || array_key_exists("family", $context) ? $context["family"] : (function () { throw new RuntimeError('Variable "family" does not exist.', 1898, $this->source); })()))) {
// line 1899
yield " <div class=\"section\">
<div class=\"container\">
<h4 class=\"subtitle is-4 mobile-spacer has-text-centered\">
";
// line 1902
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("productsFromFamily", [], "store"), "html", null, true);
yield "
</h4>
<div class=\"columns is-multiline is-mobile lista-produktow\">
";
// line 1906
$context["c"] = 0;
// line 1907
yield "
";
// line 1908
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["family"]) || array_key_exists("family", $context) ? $context["family"] : (function () { throw new RuntimeError('Variable "family" does not exist.', 1908, $this->source); })()));
$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["productRow"]) {
// line 1909
yield " ";
$context["product"] = CoreExtension::getAttribute($this->env, $this->source, $context["productRow"], 0, [], "array", false, false, false, 1909);
// line 1910
yield " ";
$context["productData"] = $context["productRow"];
// line 1911
yield " ";
if (((isset($context["c"]) || array_key_exists("c", $context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.', 1911, $this->source); })()) < 4)) {
// line 1912
yield " ";
$context["c"] = ((isset($context["c"]) || array_key_exists("c", $context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.', 1912, $this->source); })()) + 1);
// line 1913
yield " ";
yield from $this->loadTemplate("frontend/components/smallProduct.html.twig", "frontend/product/product.html.twig", 1913)->unwrap()->yield(CoreExtension::merge($context, ["cssClass" => "card-homepage", "isOneQuarter" => 1, "product" => (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1913, $this->source); })()), "productData" => (isset($context["productData"]) || array_key_exists("productData", $context) ? $context["productData"] : (function () { throw new RuntimeError('Variable "productData" does not exist.', 1913, $this->source); })())]));
// line 1914
yield " ";
}
// line 1915
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['productRow'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1916
yield " </div>
</div>
</div>
";
}
// line 1920
yield "
";
// line 1922
if (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["recommendations"]) || array_key_exists("recommendations", $context) ? $context["recommendations"] : (function () { throw new RuntimeError('Variable "recommendations" does not exist.', 1922, $this->source); })()))) {
// line 1923
yield " <div class=\"section\" id=\"podobne\">
<div class=\"container\">
<h4 class=\"subtitle is-4 mobile-spacer has-text-centered\">
";
// line 1926
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("similarProductsFull", [], "store"), "html", null, true);
yield "
</h4>
<div class=\"columns is-multiline is-mobile lista-produktow\">
";
// line 1930
$context["c"] = 0;
// line 1931
yield "
";
// line 1932
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["recommendations"]) || array_key_exists("recommendations", $context) ? $context["recommendations"] : (function () { throw new RuntimeError('Variable "recommendations" does not exist.', 1932, $this->source); })()));
$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["productRow"]) {
// line 1933
yield " ";
$context["product"] = CoreExtension::getAttribute($this->env, $this->source, $context["productRow"], 0, [], "array", false, false, false, 1933);
// line 1934
yield " ";
$context["productData"] = $context["productRow"];
// line 1935
yield " ";
if (((isset($context["c"]) || array_key_exists("c", $context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.', 1935, $this->source); })()) < 4)) {
// line 1936
yield " ";
$context["c"] = ((isset($context["c"]) || array_key_exists("c", $context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.', 1936, $this->source); })()) + 1);
// line 1937
yield " ";
yield from $this->loadTemplate("frontend/components/smallProduct.html.twig", "frontend/product/product.html.twig", 1937)->unwrap()->yield(CoreExtension::merge($context, ["cssClass" => "card-homepage", "isOneQuarter" => 1, "product" => (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 1937, $this->source); })()), "productData" => (isset($context["productData"]) || array_key_exists("productData", $context) ? $context["productData"] : (function () { throw new RuntimeError('Variable "productData" does not exist.', 1937, $this->source); })())]));
// line 1938
yield " ";
}
// line 1939
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['productRow'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 1940
yield " </div>
</div>
</div>
";
}
// line 1944
yield " </div>
</div>
</div>
</section>
<!-- END OF DETAIL DESCRIPTION SECTION -->
<!-- START OF FOOTER -->
</div>
";
// line 1952
if ((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.', 1952, $this->source); })()), "request", [], "any", false, false, false, 1952), "locale", [], "any", false, false, false, 1952) == "pl")) {
// line 1953
yield " <script type=\"text/javascript\" src=\"//static.criteo.net/js/ld/ld.js\" async=\"true\"></script>
<script type=\"text/javascript\">
window.criteo_q = window.criteo_q || [];
var deviceType = /iPad/.test(navigator.userAgent) ? \"t\" : /Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Silk/.test(navigator.userAgent) ? \"m\" : \"d\";
window.criteo_q.push(
{ event: \"setAccount\", account: 36267 },
{ event: \"setEmail\", email: \"";
// line 1959
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 1959), "email", [], "any", true, true, false, 1959)) {
yield " ";
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.', 1959, $this->source); })()), "user", [], "any", false, false, false, 1959), "email", [], "any", false, false, false, 1959), "html", null, true);
yield " ";
}
yield "\" },
{ event: \"setSiteType\", type: deviceType },
{ event: \"viewItem\", item: \"";
// line 1961
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["pProduct"]) || array_key_exists("pProduct", $context) ? $context["pProduct"] : (function () { throw new RuntimeError('Variable "pProduct" does not exist.', 1961, $this->source); })()), "id", [], "any", false, false, false, 1961), "html", null, true);
yield "\" }
);
</script>
";
}
// line 1965
yield "
<script>
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: 'view_item',
currency: '";
// line 1970
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1970, $this->source); })()), "getGa4Code", [], "any", false, false, false, 1970), "html", null, true);
yield "',
value: '";
// line 1971
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["minPrice"]) || array_key_exists("minPrice", $context) ? $context["minPrice"] : (function () { throw new RuntimeError('Variable "minPrice" does not exist.', 1971, $this->source); })()), "html", null, true);
yield "',
ecommerce: {
items: [{
item_name: '";
// line 1974
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["pProduct"]) || array_key_exists("pProduct", $context) ? $context["pProduct"] : (function () { throw new RuntimeError('Variable "pProduct" does not exist.', 1974, $this->source); })()), "name", [], "any", false, false, false, 1974), "html", null, true);
yield "',
item_id: '";
// line 1975
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["pProduct"]) || array_key_exists("pProduct", $context) ? $context["pProduct"] : (function () { throw new RuntimeError('Variable "pProduct" does not exist.', 1975, $this->source); })()), "id", [], "any", false, false, false, 1975), "html", null, true);
yield "',
currency: '";
// line 1976
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["language"]) || array_key_exists("language", $context) ? $context["language"] : (function () { throw new RuntimeError('Variable "language" does not exist.', 1976, $this->source); })()), "getGa4Code", [], "any", false, false, false, 1976), "html", null, true);
yield "',
price: '";
// line 1977
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["minPrice"]) || array_key_exists("minPrice", $context) ? $context["minPrice"] : (function () { throw new RuntimeError('Variable "minPrice" does not exist.', 1977, $this->source); })()), "html", null, true);
yield "',
";
// line 1978
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["pProduct"]) || array_key_exists("pProduct", $context) ? $context["pProduct"] : (function () { throw new RuntimeError('Variable "pProduct" does not exist.', 1978, $this->source); })()), "productProducer", [], "any", false, false, false, 1978)) {
// line 1979
yield " item_brand: '";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["pProduct"]) || array_key_exists("pProduct", $context) ? $context["pProduct"] : (function () { throw new RuntimeError('Variable "pProduct" does not exist.', 1979, $this->source); })()), "productProducer", [], "any", false, false, false, 1979), "name", [], "any", false, false, false, 1979), "html", null, true);
yield "',
";
}
// line 1981
yield " quantity: '1'
}]
}
});
</script>
<div class=\"modal\" id=\"modal\">
<div class=\"modal-background\"></div>
<div class=\"modal-card\">
<header class=\"modal-card-head\">
<p class=\"modal-card-title\">";
// line 1992
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["pProduct"]) || array_key_exists("pProduct", $context) ? $context["pProduct"] : (function () { throw new RuntimeError('Variable "pProduct" does not exist.', 1992, $this->source); })()), "name", [], "any", false, false, false, 1992), "html", null, true);
yield "</p>
<button class=\"delete\" style=\"float: right\" aria-label=\"close\"></button>
</header>
<section class=\"modal-card-body\">
<!-- Content ... -->
</section>
<footer class=\"modal-card-foot\">
<button class=\"button\">";
// line 1999
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("close", [], "store"), "html", null, true);
yield "</button>
</footer>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "frontend/product/product.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 4029 => 1999, 4019 => 1992, 4006 => 1981, 4000 => 1979, 3998 => 1978, 3994 => 1977, 3990 => 1976, 3986 => 1975, 3982 => 1974, 3976 => 1971, 3972 => 1970, 3965 => 1965, 3958 => 1961, 3949 => 1959, 3941 => 1953, 3939 => 1952, 3929 => 1944, 3923 => 1940, 3909 => 1939, 3906 => 1938, 3903 => 1937, 3900 => 1936, 3897 => 1935, 3894 => 1934, 3891 => 1933, 3874 => 1932, 3871 => 1931, 3869 => 1930, 3862 => 1926, 3857 => 1923, 3855 => 1922, 3851 => 1920, 3845 => 1916, 3831 => 1915, 3828 => 1914, 3825 => 1913, 3822 => 1912, 3819 => 1911, 3816 => 1910, 3813 => 1909, 3796 => 1908, 3793 => 1907, 3791 => 1906, 3784 => 1902, 3779 => 1899, 3777 => 1898, 3771 => 1894, 3763 => 1891, 3760 => 1890, 3758 => 1889, 3753 => 1887, 3749 => 1886, 3732 => 1871, 3723 => 1864, 3713 => 1859, 3701 => 1856, 3697 => 1854, 3695 => 1853, 3691 => 1852, 3678 => 1842, 3672 => 1839, 3664 => 1834, 3653 => 1826, 3649 => 1825, 3642 => 1821, 3637 => 1819, 3632 => 1816, 3628 => 1815, 3618 => 1812, 3614 => 1811, 3611 => 1810, 3607 => 1808, 3604 => 1807, 3600 => 1805, 3597 => 1804, 3593 => 1802, 3590 => 1801, 3586 => 1799, 3584 => 1798, 3580 => 1796, 3574 => 1794, 3572 => 1793, 3566 => 1790, 3562 => 1789, 3556 => 1786, 3553 => 1785, 3547 => 1784, 3544 => 1783, 3542 => 1782, 3535 => 1781, 3532 => 1780, 3527 => 1779, 3525 => 1778, 3520 => 1776, 3516 => 1775, 3513 => 1774, 3507 => 1772, 3505 => 1771, 3495 => 1764, 3488 => 1759, 3480 => 1757, 3472 => 1755, 3470 => 1754, 3465 => 1753, 3463 => 1752, 3454 => 1750, 3443 => 1742, 3438 => 1739, 3436 => 1738, 3429 => 1733, 3423 => 1732, 3416 => 1728, 3402 => 1725, 3396 => 1724, 3393 => 1723, 3390 => 1722, 3386 => 1721, 3379 => 1717, 3374 => 1714, 3367 => 1709, 3361 => 1708, 3358 => 1707, 3356 => 1706, 3349 => 1705, 3346 => 1704, 3341 => 1703, 3339 => 1702, 3335 => 1701, 3331 => 1700, 3323 => 1699, 3319 => 1698, 3313 => 1695, 3308 => 1692, 3305 => 1691, 3298 => 1687, 3292 => 1684, 3287 => 1681, 3284 => 1680, 3277 => 1676, 3271 => 1673, 3266 => 1670, 3263 => 1669, 3259 => 1656, 3253 => 1652, 3244 => 1650, 3240 => 1649, 3234 => 1646, 3229 => 1643, 3225 => 1641, 3219 => 1640, 3212 => 1636, 3208 => 1634, 3199 => 1632, 3195 => 1631, 3191 => 1629, 3188 => 1628, 3184 => 1627, 3181 => 1626, 3179 => 1625, 3176 => 1624, 3169 => 1622, 3163 => 1621, 3157 => 1619, 3154 => 1618, 3150 => 1617, 3146 => 1616, 3143 => 1615, 3139 => 1614, 3136 => 1613, 3130 => 1612, 3124 => 1611, 3121 => 1610, 3115 => 1608, 3107 => 1606, 3104 => 1605, 3101 => 1604, 3096 => 1603, 3092 => 1602, 3088 => 1601, 3084 => 1599, 3076 => 1597, 3074 => 1596, 3067 => 1595, 3065 => 1594, 3060 => 1591, 3058 => 1590, 3055 => 1589, 3049 => 1586, 3046 => 1585, 3043 => 1584, 3041 => 1583, 3035 => 1580, 3029 => 1577, 3026 => 1576, 3020 => 1572, 3006 => 1571, 3003 => 1570, 3000 => 1569, 2997 => 1568, 2980 => 1567, 2960 => 1552, 2951 => 1546, 2948 => 1545, 2945 => 1544, 2939 => 1540, 2925 => 1539, 2922 => 1538, 2919 => 1537, 2916 => 1536, 2899 => 1535, 2879 => 1520, 2870 => 1514, 2867 => 1513, 2864 => 1512, 2858 => 1508, 2844 => 1507, 2841 => 1506, 2838 => 1505, 2835 => 1504, 2818 => 1503, 2798 => 1488, 2789 => 1482, 2786 => 1481, 2783 => 1480, 2777 => 1476, 2763 => 1475, 2760 => 1474, 2757 => 1473, 2754 => 1472, 2737 => 1471, 2717 => 1456, 2708 => 1450, 2705 => 1449, 2703 => 1448, 2700 => 1447, 2694 => 1443, 2680 => 1442, 2677 => 1441, 2674 => 1440, 2671 => 1439, 2654 => 1438, 2633 => 1422, 2624 => 1416, 2621 => 1415, 2619 => 1414, 2612 => 1409, 2606 => 1408, 2599 => 1404, 2594 => 1401, 2591 => 1400, 2587 => 1399, 2584 => 1398, 2582 => 1397, 2561 => 1379, 2554 => 1374, 2550 => 1372, 2548 => 1371, 2544 => 1370, 2541 => 1369, 2534 => 1365, 2528 => 1363, 2526 => 1362, 2514 => 1352, 2508 => 1349, 2496 => 1340, 2492 => 1338, 2490 => 1337, 2487 => 1336, 2484 => 1335, 2476 => 1332, 2473 => 1331, 2470 => 1330, 2468 => 1329, 2463 => 1327, 2457 => 1324, 2454 => 1323, 2448 => 1320, 2445 => 1319, 2442 => 1318, 2436 => 1315, 2433 => 1314, 2430 => 1313, 2424 => 1310, 2421 => 1309, 2419 => 1308, 2413 => 1305, 2409 => 1304, 2406 => 1303, 2399 => 1299, 2395 => 1298, 2392 => 1297, 2389 => 1296, 2382 => 1292, 2378 => 1291, 2375 => 1290, 2372 => 1289, 2365 => 1285, 2361 => 1284, 2358 => 1283, 2355 => 1282, 2348 => 1278, 2344 => 1277, 2341 => 1276, 2338 => 1275, 2331 => 1271, 2327 => 1270, 2324 => 1269, 2322 => 1268, 2316 => 1265, 2312 => 1264, 2309 => 1263, 2302 => 1259, 2298 => 1258, 2295 => 1257, 2293 => 1256, 2281 => 1246, 2279 => 1245, 2276 => 1244, 2270 => 1243, 2267 => 1242, 2264 => 1241, 2261 => 1240, 2256 => 1239, 2254 => 1238, 2242 => 1228, 2238 => 1226, 2224 => 1222, 2220 => 1221, 2217 => 1220, 2214 => 1219, 2211 => 1218, 2207 => 1217, 2201 => 1214, 2198 => 1213, 2196 => 1212, 2189 => 1208, 2175 => 1207, 2171 => 1205, 2128 => 1165, 2108 => 1147, 2106 => 1146, 2092 => 1135, 2088 => 1133, 2080 => 1128, 2065 => 1115, 2056 => 1109, 2044 => 1100, 2039 => 1098, 2028 => 1090, 2016 => 1081, 2010 => 1077, 2008 => 1076, 2002 => 1072, 1999 => 1061, 1993 => 1060, 1985 => 1055, 1976 => 1049, 1973 => 1048, 1970 => 1047, 1966 => 1046, 1963 => 1045, 1960 => 1044, 1954 => 1043, 1946 => 1038, 1937 => 1032, 1934 => 1031, 1931 => 1030, 1926 => 1029, 1924 => 1028, 1921 => 1027, 1915 => 1026, 1908 => 1022, 1900 => 1017, 1897 => 1016, 1894 => 1015, 1890 => 1014, 1884 => 1010, 1878 => 995, 1870 => 990, 1866 => 989, 1863 => 988, 1856 => 984, 1851 => 981, 1844 => 977, 1839 => 974, 1837 => 973, 1833 => 971, 1827 => 967, 1821 => 965, 1815 => 963, 1813 => 962, 1809 => 961, 1804 => 958, 1802 => 957, 1796 => 953, 1793 => 952, 1787 => 951, 1783 => 949, 1776 => 947, 1767 => 946, 1760 => 944, 1751 => 943, 1749 => 942, 1746 => 941, 1743 => 940, 1739 => 939, 1734 => 937, 1731 => 936, 1729 => 935, 1726 => 934, 1720 => 933, 1717 => 932, 1714 => 931, 1711 => 930, 1706 => 929, 1704 => 928, 1696 => 926, 1693 => 925, 1690 => 924, 1688 => 923, 1682 => 919, 1680 => 914, 1674 => 912, 1671 => 911, 1665 => 910, 1662 => 909, 1660 => 908, 1653 => 907, 1650 => 906, 1645 => 905, 1643 => 904, 1640 => 903, 1635 => 901, 1632 => 900, 1629 => 899, 1624 => 897, 1621 => 896, 1618 => 895, 1613 => 893, 1610 => 892, 1607 => 891, 1602 => 889, 1599 => 888, 1597 => 887, 1589 => 884, 1586 => 883, 1577 => 879, 1573 => 877, 1568 => 875, 1565 => 874, 1563 => 873, 1558 => 871, 1554 => 870, 1551 => 869, 1541 => 864, 1537 => 862, 1532 => 860, 1529 => 859, 1527 => 858, 1522 => 856, 1514 => 851, 1511 => 850, 1507 => 848, 1505 => 847, 1501 => 846, 1497 => 844, 1495 => 843, 1486 => 837, 1480 => 833, 1472 => 828, 1467 => 827, 1463 => 824, 1461 => 823, 1394 => 758, 1391 => 757, 1382 => 754, 1377 => 752, 1373 => 751, 1368 => 748, 1363 => 747, 1360 => 746, 1357 => 744, 1353 => 742, 1344 => 739, 1340 => 738, 1334 => 734, 1329 => 733, 1326 => 732, 1323 => 730, 1317 => 729, 1314 => 728, 1311 => 727, 1309 => 726, 1304 => 724, 1299 => 722, 1295 => 720, 1292 => 719, 1289 => 718, 1286 => 717, 1281 => 716, 1275 => 715, 1272 => 714, 1269 => 713, 1267 => 712, 1262 => 710, 1257 => 708, 1253 => 706, 1250 => 705, 1247 => 704, 1244 => 703, 1240 => 702, 1237 => 701, 1231 => 700, 1228 => 699, 1225 => 698, 1219 => 695, 1214 => 693, 1210 => 691, 1207 => 690, 1204 => 689, 1201 => 688, 1198 => 687, 1195 => 686, 1190 => 685, 1188 => 684, 1184 => 682, 1178 => 681, 1175 => 680, 1172 => 679, 1170 => 678, 1165 => 677, 1162 => 676, 1159 => 675, 1156 => 674, 1151 => 673, 1145 => 672, 1142 => 671, 1139 => 670, 1137 => 669, 1132 => 668, 1129 => 667, 1126 => 666, 1123 => 665, 1118 => 664, 1112 => 663, 1109 => 662, 1106 => 661, 1100 => 659, 1097 => 658, 1094 => 657, 1091 => 656, 1088 => 655, 1085 => 654, 1080 => 653, 1078 => 652, 1054 => 631, 1051 => 630, 1042 => 626, 1039 => 625, 1037 => 624, 1029 => 621, 1015 => 610, 1010 => 609, 1007 => 608, 1001 => 607, 989 => 605, 977 => 603, 974 => 602, 971 => 601, 969 => 598, 966 => 597, 963 => 596, 960 => 595, 957 => 594, 954 => 593, 949 => 592, 946 => 591, 944 => 590, 941 => 589, 935 => 587, 933 => 586, 929 => 585, 925 => 584, 921 => 583, 917 => 582, 913 => 581, 908 => 579, 904 => 578, 900 => 577, 896 => 575, 894 => 574, 891 => 573, 878 => 572, 851 => 554, 840 => 546, 836 => 545, 832 => 544, 828 => 543, 820 => 537, 818 => 536, 756 => 476, 752 => 474, 750 => 473, 731 => 456, 721 => 449, 717 => 447, 715 => 446, 650 => 384, 541 => 279, 528 => 278, 311 => 73, 298 => 72, 286 => 69, 282 => 67, 279 => 66, 276 => 65, 273 => 64, 269 => 62, 266 => 61, 263 => 60, 260 => 59, 256 => 57, 253 => 56, 250 => 55, 247 => 54, 243 => 52, 240 => 51, 238 => 50, 232 => 47, 226 => 46, 221 => 44, 219 => 43, 213 => 42, 210 => 41, 208 => 40, 201 => 39, 198 => 38, 193 => 37, 190 => 36, 177 => 35, 165 => 32, 162 => 31, 160 => 28, 158 => 27, 156 => 26, 153 => 25, 147 => 23, 144 => 22, 138 => 20, 136 => 19, 133 => 18, 127 => 16, 121 => 14, 118 => 13, 105 => 12, 90 => 8, 84 => 6, 81 => 5, 68 => 4, 45 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'base.html.twig' %}
{% trans_default_domain 'store' %}
{% block title %}
{% if product.metaTitle is defined %}
{{ product.metaTitle }}
{% else %}
{{ product.nazwa }}
{% endif %}
{% endblock %}
{% block meta_desc_key %}
{% if product.metaDescription is defined %}
<meta name=\"description\" content=\"{{ product.metaDescription|slice(0,300) }}...\">
{% else %}
<meta name=\"description\" content=\"{{ product.getDescriptionFb|slice(0,60) }}\">
{% endif %}
{% if product.metaKeywords %}
<meta name=\"keywords\" content=\"{{ product.metaKeywords }}\">
{% endif %}
{% if product.getCanonical %}
<link rel=\"canonical\" href=\"{{ product.getCanonical }}\" />
{% endif %}
{% if app.request.locale == 'pl' %}
{# veltis tag #}
{#
<script async src='https://app.veltis.io/uploads/veltis.js'></script><script>window.veltisData = window.veltisData || []; function veltisTag() { veltisData.push(arguments); } veltisTag('js', new Date()); veltisTag('config', '1aadaf84c154d3e3'); </script>
#}
{% endif %}
{% endblock %}
{% block facebook %}
{% set imgShow = 0 %}
{% for image in product.photos %}
{% if image.main == 1 and imgShow == 0 %}
<meta property=\"og:image\" content=\"{{ language.storeUrl }}/images/product/{{ image.imageName }}\"/>
{% set imgShow = 1 %}
{% endif %}
{% endfor %}
{% autoescape %}
<meta property=\"og:title\" content=\"{{ product.name }}\"/>
{% endautoescape %}
<meta property=\"og:url\" content=\"{{ language.storeUrl }}{{ path('product', {'slug':product.slug, 'id':product.id}) }}\"/>
<meta property=\"og:description\" content=\"{{ product.metaDescription|slice(0,300) }}...\">
<meta property=\"og:type\" content=\"product\">
{% if app.request.locale == 'pl' %}
{% if 'ckdev' in app.request.getSchemeAndHttpHost() %}
<meta name=\"robots\" content=\"noindex, nofollow\" />
{% endif %}
{% endif %}
{% if app.request.locale == 'cz' %}
{% if 'dev.ezidle' in app.request.getSchemeAndHttpHost() %}
<meta name=\"robots\" content=\"noindex, nofollow\" />
{% endif %}
{% endif %}
{% if app.request.locale == 'sk' %}
{% if 'dev.stolicky24' in app.request.getSchemeAndHttpHost() %}
<meta name=\"robots\" content=\"noindex, nofollow\" />
{% endif %}
{% endif %}
{% if app.request.locale == 'ro' %}
{% if 'ro.centrumkrzesel' in app.request.getSchemeAndHttpHost() %}
<meta name=\"robots\" content=\"noindex, nofollow\" />
{% endif %}
{% endif %}
{% endblock %}
{% block css %}
{{ parent() }}
<style>
.modele_i_cechy .left-25 ul {
list-style: initial;
}
.eye-icon {
margin-top: -113px;
margin-left: 6px;
position: absolute;
color: white;
font-size: 14px;
}
.ck-table th {
padding-top:29px;
font-size:14px;
}
.ck-table td {
font-size:14px;
padding-top:15px;
vertical-align: middle;
}
.image.is-square img, .image.is-1by1 img, .image.is-5by4 img, .image.is-4by3 img, .image.is-3by2 img, .image.is-5by3 img, .image.is-16by9 img, .image.is-2by1 img, .image.is-3by1 img, .image.is-4by5 img, .image.is-3by4 img, .image.is-2by3 img, .image.is-3by5 img, .image.is-9by16 img, .image.is-1by2 img, .image.is-1by3 img {
width:auto;
height:auto;
margin-left:auto;
margin-right: auto;
}
.dropdown-content {
max-height: 400px;
overflow: auto;
}
@media (max-width: 1024px) {
.video-container iframe {
width:100%!important;
height:auto!important;
min-height: 300px!important;
}
.blueimp-gallery>.close {
top:13%!important;
right: 15px!important;
}
.select-image-display {
margin-top:-50px;
}
}
@media (max-width: 767px) {
.image.is-square img, .image.is-1by1 img, .image.is-5by4 img, .image.is-4by3 img, .image.is-3by2 img, .image.is-5by3 img, .image.is-16by9 img, .image.is-2by1 img, .image.is-3by1 img, .image.is-4by5 img, .image.is-3by4 img, .image.is-2by3 img, .image.is-3by5 img, .image.is-9by16 img, .image.is-1by2 img, .image.is-1by3 img {
width:auto;
height:auto;
margin-left:auto;
margin-right: auto;
max-height: 450px;
}
.left-25 {
padding-left:0px;
}
.pricingContainer {
overflow: auto;
}
}
.descriptionDiv a {
color:#23d160 !important;
}
.descriptionDiv .column {
padding:0.5rem;
}
.descriptionDiv img {
margin:0px!important;
padding:0px!important;
}
.main-image img {
cursor: pointer;
}
.blueimp-gallery {
background: rgba(0, 0, 0, 0.50)!important;
}
@media (max-width: 550px) {
.material-presentation-mobile {
width: 50%; float: left; min-height: 250px;
}
}
.ck-table td:first-child {
padding: 6px 12px!important;
border:1px solid #ebebeb;
}
#podobne .tabs ul .is-active a{
font-weight: bold;
}
.zoom-on-hover img {
cursor: pointer;
}
.remove-first-element .column:first-child {
display: none;
}
@media (max-width: 730px) {
.zoom-on-hover .normal {
width: fit-content !important;
}
.main-content-mobile-up {
margin-top:-80px;
}
.main-content-mobile-up .is-full {
padding-bottom:0px!important;
}
.hr {
margin-top:20px!important;
margin-bottom:50px!important;
}
}
.removeDot {
margin:0;
padding:0;
list-style:none;
}
.removeDot div a {
text-decoration: underline!important;
}
@media (max-width: 1024px) {
.removeDot div p img, .removeDot div img {
width: auto!important;
height:auto!important;
}
}
.author-circle {
object-fit: cover;
border-radius: 50%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
color: #ffffff;
font-weight: normal;
text-align: center;
vertical-align: middle;
display: table;
}
.author-container {
position: relative;
margin: auto;
/* overflow: hidden; */
border-radius: 50%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border: 2px solid #ffffff;
overflow: visible;
}
.blue-notifi-notification {
background-color: rgb(242, 248, 255);
color: rgb(48, 133, 229);
font-weight: bold;
}
.rateit .rateit-preset {
color:#f8d52f!important;
}
#show_comments_button {
margin-left:10px;
}
/* Styling for details section */
#detailsSection {
max-width: 200px; /* Adjust width as needed */
word-wrap: break-word; /* Ensures long words wrap properly */
line-height: 23px;
}
/* Align \"Podmiot odpowiedzialny\" container */
#toggleDetails {
max-width: 230px; /* Ensure this container aligns with content */
display: block;
}
/* Icon alignment */
#toggleDetails span.icon {
margin-left: 10px; /* Space between text and icon */
}
</style>
<style>
@media (max-width: 730px) {
.level-item-name {
display: block!important;
}
.content-comment {
width:87%!important;
}
.hide-mobile {
display: none!important;
}
}
</style>
<link rel=\"stylesheet\" href=\"/metronic/lightbox2/dist/css/lightbox.min.css\">
<link rel=\"stylesheet\" href=\"/js/rate-script/scripts/rateit.css\" />
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script>
document.addEventListener('DOMContentLoaded', function () {
// Modals
var rootEl = document.documentElement;
var allModals = getAll('.modal');
var modalButtons = getAll('.modal-button');
var modalCloses = getAll('.modal-background, .modal-close, .modal-card-head .delete, .modal-card-foot .button');
if (modalButtons.length > 0) {
modalButtons.forEach(function (el) {
el.addEventListener('click', function () {
var target = document.getElementById(el.dataset.target);
target.classList.add('is-active');
});
});
}
if (modalCloses.length > 0) {
modalCloses.forEach(function (el) {
el.addEventListener('click', function () {
closeModals();
});
});
}
document.addEventListener('keydown', function (event) {
var e = event || window.event;
if (e.keyCode === 27) {
closeModals();
}
});
function closeModals() {
rootEl.classList.remove('is-clipped');
allModals.forEach(function (el) {
el.classList.remove('is-active');
});
}
// Functions
function getAll(selector) {
return Array.prototype.slice.call(document.querySelectorAll(selector), 0);
}
});
// Popup window code
function newPopup(url) {
popupWindow = window.open(
url,'popUpWindow','height=700,width=800,left=10,top=10,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')
}
function newPopupImage(url) {
popupWindow = window.open(
url,'popUpWindow','left=10,top=10,width=800;height=700;resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')
}
\$(document).ready(function () {
\$('.similarLinkStart').trigger(\"click\");
var chosen = [];
var \$list = \$(\".chosen_params_list\");
function collectParameters() {
\$list.each(function() {
chosen.push({'param':\$(this).attr('data-id'), 'value':\$(this).val()});
});
return chosen;
}
function collectEquipment() {
var chosenEquipment = [];
var \$equipmentContainer = \$(\".equipmentCheckbox\");
\$equipmentContainer.each(function() {
if (\$(this).is(':checked')) {
chosenEquipment.push(\$(this).attr('data-id'));
}
});
return chosenEquipment;
}
function isOK(string) {
var regex = /^([a-zA-Z0-9_.+-])+\\@(([a-zA-Z0-9-])+\\.)+([a-zA-Z0-9]{2,4})+\$/;
return regex.test(string);
}
\$('#notify-button').on(\"click\", function() {
\$('#error_notify_container').hide();
var notifyOn = \$('#notify_input').val();
if (isOK(notifyOn)) {
\$(this).append(' <i class=\"fas fa-spinner fa-pulse\"></i>').css(\"opacity\", '0.6');
var url = \$('#new_waiting_list').val();
var productId = \$('#product_id').val();
var email = \$('#notify_input').val();
\$.ajax({
type: \"POST\",
url: url,
data: {'email':email, 'productId':productId},
success: function (data) {
\$('#notify_container').html(\"<div class='notification blue-notifi-notification'>{{ 'notify_thankyou_text'|trans }}</div>\")
}
});
} else {
\$('#error_notify_container').show();
}
});
\$('.modal-button').on(\"click\", function() {
var url = \$(this).attr('data-href');
\$.ajax({
type: \"POST\",
url: url,
success: function (data) {
\$('.modal-card-body').html(data);
}
});
});
function addToCart() {
\$('.cart-error-notification').hide();
let parameters = collectParameters();
let \$variant = \$('#variant').val();
var product_id = \$('#product_id').val();
var quantity = \$('#amount').val();
var url = \$('#add_to_cart_url').val();
var equipments = collectEquipment();
\$.ajax({
type: \"POST\",
url: url,
data: {'equipments':equipments, 'product_id':product_id, 'quantity':quantity, 'variant':\$variant, 'parameters':parameters},
success: function (data) {
if (parseInt(data.error) === 1) {
\$('.cart-error-notification').show();
\$('.cart-error-notification').html(data.message);
\$('#ask-button').prop('disabled', false);
} else {
var price = \$('#productPriceContainer').html();
price.replace(\",\",'.');
let gaPrice = parseFloat(price);
var name = \$('#item_name').val();
window.dataLayer.push({ ecommerce: null }); // Clear the previous ecommerce object.
window.dataLayer.push({
event: 'add_to_cart',
value: gaPrice,
currency: \"\"+\$('#getGa4CodeCurrency').val()+\"\",
ecommerce: {
items: [{
item_name: \"\"+name+\"\",
item_id: \"\"+product_id+\"\",
price: gaPrice,
quantity: \"\"+quantity+\"\"
}]
}
});
{% if app.request.locale == 'ro' %}
if (typeof bianoTrack === 'function') {
bianoTrack('track', 'add_to_cart', {
id: 'CK{{ product.id }}', // Unique identifier of the product
quantity: parseInt(quantity), // Category of the product
unit_price: gaPrice, // Product price (e.g., 99.99)
currency: 'RON' // Currency of the product price (e.g., 'USD', 'EUR')
});
}
{% endif %}
window.location.href = '/cart';
}
}
});
}
\$('#ask-button').on(\"click\", function(e) {
e.preventDefault();
let allowToAdd = isAllowToAdd();
if (allowToAdd) {
e.preventDefault();
\$(this).prop('disabled', true);
addToCart();
}
});
{% if parameterValues|length >= 1 %}
\$('#ask-button').css('opacity', '0.5');
{% endif %}
});
\$('.equipmentCheckbox').on(\"click\", function(){
var productPriceContainer = \$('#productPriceContainer');
var currentPrice = productPriceContainer.html();
var currencySeparator = \$('#currencySeparator').val();
isComma = currencySeparator.includes(',');
currentPrice = currentPrice.replace(/,/g, '.');
//currentPrice = currentPrice.replace(/\\D/g,'');
currentPrice = parseFloat(currentPrice);
var equipmentPrice = parseFloat(\$(this).attr('data-price'));
var currencySign = \$('#currencySign').val();
if (\$(this).is(':checked')) {
var newValue = (currentPrice + equipmentPrice).toFixed(2);
productPriceContainer.html(newValue+' '+currencySign);
if (isComma) {
var productPriceContainer = \$('#productPriceContainer');
var currentPrice = productPriceContainer.html();
currentPrice = currentPrice.replace(/\\./g, \",\");
productPriceContainer.html(currentPrice);
} else {
productPriceContainer.html(newValue+' '+currencySign);
}
} else {
var newValue = (currentPrice - equipmentPrice).toFixed(2);
productPriceContainer.html(newValue + ' ' + currencySign);
if (isComma) {
var productPriceContainer = \$('#productPriceContainer');
var currentPrice = productPriceContainer.html();
currentPrice = currentPrice.replace(/\\./g, \",\");
productPriceContainer.html(currentPrice);
} else {
productPriceContainer.html(newValue + ' ' + currencySign);
}
}
});
\$('#show_comments_button').on(\"click\", function() {
\$('#comment_container').show();
\$(this).hide();
\$('.rateit').rateit({ max: 5, step: 1, backingfld: '#backing7' });
});
</script>
<script src=\"/metronic/lightbox2/dist/js/lightbox.js\"></script>
<script>
lightbox.option({
'fitImagesInViewport': false,
'disableScrolling': false,
})
</script>
<script src=\"/js/rate-script/scripts/jquery.rateit.js\"></script>
{% if app.request.locale == 'ro' %}
<script>
window.addEventListener(\"ucEvent\", function (e) {
if (e.detail && e.detail.event === \"consent_status\") {
const ucBianoService = 'Biano Pixel';
if (e.detail.hasOwnProperty(ucBianoService) && e.detail[ucBianoService]) {
bianoTrack('track', 'product_view', {
id: 'CK{{ product.id }}', // Unique identifier of the product
productName: '{{ product.name }}', // Name of the product
productCategory: '{{ product.mainCategory.name }}', // Category of the product
productValue: {{ minPrice }}, // Product price (e.g., 99.99)
currency: 'RON' // Currency of the product price (e.g., 'USD', 'EUR')
});
}
}
});
</script>
{% endif %}
<script>
\$(document).ready(function() {
\$(\"#toggleDetails\").on(\"click\", function() {
// Toggle the details section
\$(\"#detailsSection\").slideToggle();
// Swap the caret icon
const icon = \$(\"#toggleIcon i\");
if (icon.hasClass(\"fa-caret-down\")) {
icon.removeClass(\"fa-caret-down\").addClass(\"fa-caret-up\");
} else {
icon.removeClass(\"fa-caret-up\").addClass(\"fa-caret-down\");
}
});
});
</script>
{% endblock %}
{% block content %}
{% set pProduct = product %}
<div vocab=\"http://schema.org/\" typeof=\"Product\">
<input type=\"hidden\" name=\"product_id\" id=\"product_id\" value=\"{{ product.id }}\"/>
<input type=\"hidden\" name=\"add_to_cart_url\" id=\"add_to_cart_url\" value=\"{{ path('add_to_cart') }}\"/>
<input type=\"hidden\" name=\"home_url\" id=\"home_url\" value=\"{{ path('homepage') }}\">
<input type=\"hidden\" name=\"variant\" id=\"variant\" value=\"\">
<input type=\"hidden\" id=\"currencySeparator\" value=\"{{ language.currency.separator }}\">
<input type=\"hidden\" id=\"currencySign\" value=\"{{ language.currency.sign }}\">
<input type=\"hidden\" id=\"new_waiting_list\" value=\"{{ path('new_waiting_list') }}\"/>
<input type=\"hidden\" id=\"item_name\" value=\"{{ product.name }}\"/>
<input type=\"hidden\" id=\"getGa4CodeCurrency\" value=\"{{ language.getGa4Code }}\"/>
{% if vat is defined and vat and vat.value %}
<input type=\"hidden\" id=\"vat\" value=\"{{ 1+(vat.value/100) }}\"/>
{% endif %}
{% set c = 0 %}
{% if parameterValues|length %}
{% for key, param in parameterValues %}
{% set c = c +1 %}
{% if c == 1 %}
{% if firstParamValues|length %}
{% set variant = firstParamValues[0] %}
{% if variant.value %}
{#
<input id=\"chosen_param_{{ key }}\" class=\"chosen_params_list\" type=\"hidden\" data-sort=\"{{ c }}\" name=\"chosen_param_{{ key }}\" data-id=\"{{ key }}\" value=\"{{ variant.value.id }}\"/>
#}
{% endif %}
{% endif %}
<input id=\"chosen_param_{{ key }}\" class=\"chosen_params_list\" type=\"hidden\" data-sort=\"{{ c }}\" name=\"chosen_param_{{ key }}\" data-id=\"{{ key }}\" value=\"0\"/>
{% else %}
<input id=\"chosen_param_{{ key }}\" class=\"chosen_params_list\" type=\"hidden\" data-sort=\"{{ c }}\" name=\"chosen_param_{{ key }}\" data-id=\"{{ key }}\" value=\"0\"/>
{% endif %}
{% endfor %}
{% endif %}
<input type=\"hidden\" value=\"{{ path('loadNextParam', {'id':product.id}) }}\" id=\"loadNextParam\"/>
<input type=\"hidden\" value=\"{{ parameterValues|length }}\" id=\"paramCounter\"/>
<!-- START OF BREADCRUMBS SECTION -->
<section class=\"section topSection\">
<div class=\"container\">
<div class=\"columns is-multiline\">
<!-- START OF BREADCRUMBS -->
<div class=\"column is-full\">
<nav class=\"breadcrumb has-arrow-separator is-hidden-mobile\" aria-label=\"breadcrumb\">
<ul vocab=\"https://schema.org/\" typeof=\"BreadcrumbList\">
<li property=\"itemListElement\" typeof=\"ListItem\">
<a property=\"item\" typeof=\"WebPage\" href=\"{{ path('homepage') }}\"><span property=\"name\">{{ language.shopName }}</span></a>
<meta property=\"position\" content=\"1\">
</li>
{% if product.mainCategory.deletedBy == null %}
<li property=\"itemListElement\" typeof=\"ListItem\">
<a property=\"item\" typeof=\"WebPage\" href=\"{{ path('category', {'id':product.mainCategory.id, 'slug':product.mainCategory.slug}) }}\"><span property=\"name\">{{ product.mainCategory.name }}</span></a>
<meta property=\"position\" content=\"2\">
</li>
{% endif %}
<li class=\"is-active\" property=\"itemListElement\" typeof=\"ListItem\">
<a property=\"item\" typeof=\"WebPage\" href=\"#\"><span property=\"name\">{{ product.name }}</span></a>
<meta property=\"position\" content=\"3\">
</li>
</ul>
</nav>
</div>
<!-- END OF BREADCRUMBS -->
</div>
</div>
</section>
<!-- END OF BREADCRUMBS NAME SECTION -->
<!-- START OF MAIN SECTION -->
<section class=\"section topSection\">
<div class=\"container\">
<div class=\"columns is-multiline\">
<!-- START OF PRODUCT IMAGES -->
<div class=\"column is-half-desktop is-full-touch\">
<div id=\"galleryMain\">
<carousel-gallery inline-template v-cloak
:small-imgs=\"[
{% set imgArr = [] %}
{% for image in product.photos %}
{% if image.getIsAvailableForLang(language) %}
{% if image.imageName in imgArr %}
{% else %}
{% if image.main == 1 %}
{% set imgArr = imgArr|merge([image.imageName]) %}
'{{ asset('/images/product/'~image.imageName~'') | imagine_filter('smallProdImage') }}',
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% for image in product.photos %}
{% if image.getIsAvailableForLang(language) %}
{% if image.imageName in imgArr %}
{% else %}
'{{ asset('/images/product/'~image.imageName~'') | imagine_filter('smallProdImage') }}',
{% set imgArr = imgArr|merge([image.imageName]) %}
{% endif %}
{% endif %}
{% endfor %}
{% for image in product.photos %}
{% if image.getIsAvailableForLang(language) %}
{% if image.imageName in imgArr %}
{% else %}
'{{ asset('/images/product/'~image.imageName~'') | imagine_filter('smallProdImage') }}',
{% set imgArr = imgArr|merge([image.imageName]) %}
{% endif %}
{% endif %}
{% endfor %}
]\"
:big-imgs=\"[
{% set imgArr = [] %}
{% for image in product.photos %}
{% if image.getIsAvailableForLang(language) %}
{% if image.imageName in imgArr %}
{% else %}
{% if image.main == 1 %}
{% set imgArr = imgArr|merge([image.imageName]) %}
{
title: ' ',
href: '{{ asset('/images/product/'~image.imageName~'') | imagine_filter('bigProductImageLowerQuality') }}',
type: 'image/jpeg',
thumbnail: '{{ asset('/images/product/'~image.imageName~'') | imagine_filter('bigProductImageLowerQuality') }}',
},
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% for image in product.photos %}
{% if image.getIsAvailableForLang(language) %}
{% if image.imageName in imgArr %}
{% else %}
{
title: ' ',
href: '{{ asset('/images/product/'~image.imageName~'') | imagine_filter('bigProductImageLowerQuality') }}',
type: 'image/jpeg',
thumbnail: '{{ asset('/images/product/'~image.imageName~'') | imagine_filter('bigProductImageLowerQuality') }}',
},
{% set imgArr = imgArr|merge([image.imageName]) %}
{% endif %}
{% endif %}
{% endfor %}
{% for image in product.photos %}
{% if image.getIsAvailableForLang(language) %}
{% if image.imageName in imgArr %}
{% else %}
{
title: ' ',
href: '{{ asset('/images/product/'~image.imageName~'') | imagine_filter('bigProductImageLowerQuality') }}',
type: 'image/jpeg',
thumbnail: '{{ asset('/images/product/'~image.imageName~'') | imagine_filter('bigProductImageLowerQuality') }}',
},
{% set imgArr = imgArr|merge([image.imageName]) %}
{% endif %}
{% endif %}
{% endfor %}
{# film youtube #}
{% if product.getYoutubeGalleryUrl %}
{% for image in product.photos|slice(1,1) %}
{
title: 'YouTube Film',
href: ' ',
type: 'text/html',
youtube: '{{ product.getYoutubeGalleryUrl }}',
poster: '{{ asset('/images/product/'~image.imageName~'') | imagine_filter('bigProductImageLowerQuality') }}'
}
{% endfor %}
,
{% endif %}
{# prezentacja 3D Orbittour #}
{% if product.getPhoto3dGalleryUrl %}
{% for image in product.photos|slice(2,1) %}
{
title: '3D',
href: ' ',
id: '{{ product.getPhoto3dGalleryUrl|extractOrbitturId }}',
script: '{{ product.getPhoto3dGalleryUrl }}',
type: 'orbittour',
poster: '{{ asset('/images/product/'~image.imageName~'') | imagine_filter('bigProductImageLowerQuality') }}'
},
{% endfor %}
{% endif %}
]\">
<div>
<!-- START CAROUSEL-ITEM -->
<gallery
:images=\"bigImgs\"
:index=\"index\"
:options=\"{
youTubeVideoIdProperty: 'youtube',
youTubePlayerVars: { autoplay: 1 },
youTubeClickToPlay: true,
toggleControlsOnReturn: true,
toggleControlsOnSlideClick: true
}\"
@onslide=\"slideHandler\"
@close=\"index = null\" >
</gallery>
<agile
class=\"main\"
ref=\"main\"
:options=\"options1\"
:as-nav-for=\"asNavFor1\">
<div
class=\"slide\"
v-for=\"(big, index) in bigImgs\"
:key=\"index\"
:class=\"'slide--' + index\">
<div @click=\"openGallery( index )\">
<zoom-on-hover
:img-normal=\"big.poster || big.thumbnail\"
:scale=\"2\" />
</div>
</div>
</agile>
<agile
class=\"thumbnails thb-gallery\"
ref=\"thumbnails\"
:options=\"options2\"
:as-nav-for=\"asNavFor2\"
v-if=\"smallImgs.length > 1\">
<div
class=\"slide slide--thumbniail\"
v-for=\"(slide, index) in smallImgs\"
:key=\"index\"
:class=\"'slide--' + index\"
@click=\"\$refs.thumbnails.goTo(index)\">
<img :src=\"slide\"/>
</div>
<template slot=\"prevButton\"><i class=\"fas fa-chevron-left\"></i></template>
<template slot=\"nextButton\"><i class=\"fas fa-chevron-right\"></i></template>
</agile>
</div>
<!-- END CAROUSEL-ITEM -->
</carousel-gallery>
</div>
</div>
<!-- END OF PRODUCT IMAGES -->
<!-- START OF SHORT DESCRIPTION -->
<div class=\"column is-half-desktop is-full-touch select-boxy\">
<div class=\"columns is-multiline\">
{% if product.getProducer(language.localeShort).imageName %}
<div class=\"column is-full has-text-centered-touch no-bot-padding gallery-container\">
<figure class=\"image is-64x64-desktop is-48x48-tablet\" style=\"min-height: initial!important;\">
{#<a href=\"/search/query?query=&productProducer={{ product.getProducer(language.localeShort).id }}\"> #}
<a href=\"{{ productProducerUrl(product.getProducer(language.localeShort).id, app.request.locale) }}\">
<img style=\"width:90px!important;\" src=\"/images/producer/{{ product.getProducer(language.localeShort).imageName }}\" class=\"dropdown-img producer-image\">
</a>
</figure>
</div>
{% endif %}
<div class=\"column is-full has-text-centered-touch\">
<h1 class=\"title is-3\">
<span property=\"name\">
<strong>
{{ product.name }}
</strong>
</span>
</h1>
</div>
<div class=\"column is-full has-text-centered-touch\" property=\"offers\" typeof=\"Offer\">
{% if productData.priceCrossed is defined and productData.currencySign is defined and productData.priceCrossed %}
<div class=\"title is-1\">
<span class=\"title is-1\" id=\"productPriceContainer\" property=\"price\" content=\"{{ minPrice }}\" style=\"font-weight:900;
{% if productData.priceCrossed %}
color: #ef1b2b!important;
{% endif %}
\">
{{ minPrice|formatPrice(productData.currencyId) }}
</span>
<span class=\"standard-color\" style=\"font-weight: 300; font-size:32px;\"><strike>{{ productData.priceCrossed|formatPrice(productData.currencyId) }}</strike></span>
{% if app.request.locale == 'pl' and product.payu %}
<span class=\"is-hidden-touch raty\"> {{ 'raty_0_procent'|trans }}</span>
{% endif %}
<div class=\"netto-price\">
<em>{{ 'netto'|trans }} <span id=\"netto-price\">{{ priceNetto|formatPrice(productData.currencyId) }}</span></em>
</div>
</div>
{% else %}
<div class=\"title is-1\">
<span class=\"title is-1\" id=\"productPriceContainer\" property=\"price\" content=\"{{ minPrice }}\" style=\"font-weight:900;\">
{{ minPrice|formatPrice(productData.currencyId) }}
</span>
{% if app.request.locale == 'pl' and product.payu %}
<span class=\"is-hidden-touch raty\"> {{ 'raty_0_procent'|trans }}</span>
{% endif %}
<div class=\"netto-price\">
<em>{{ 'netto'|trans }} <span id=\"netto-price\">{{ priceNetto|formatPrice(productData.currencyId) }}</span></em>
</div>
</div>
{% endif %}
<div class=\"subtitle is-6\" style=\"margin-top:10px;\">
{{ 'weShipIn'|trans }} {{ product.getAvailability(language.localeShort).name }}
</div>
<link property=\"availability\" href=\"http://schema.org/InStock\" />
{% if language.id == 1 %}
<span property=\"priceCurrency\" content=\"PLN\"></span>
<span property=\"url\" content=\"https://www.centrumkrzesel.pl{{ path('product', {'id':product.id, 'slug':product.slug}, false) }}\"></span>
{% endif %}
{% if language.id == 2 %}
<span property=\"priceCurrency\" content=\"CZK\"></span>
<span property=\"url\" content=\"https://www.ezidle.cz{{ path('product', {'id':product.id, 'slug':product.slug}, false) }}\"></span>
{% endif %}
{% if language.id == 3 %}
<span property=\"priceCurrency\" content=\"EUR\"></span>
<span property=\"url\" content=\"https://www.stolicky24.sk{{ path('product', {'id':product.id, 'slug':product.slug}, false) }}\"></span>
{% endif %}
{% if language.id == 4 %}
<span property=\"priceCurrency\" content=\"RON\"></span>
<span property=\"url\" content=\"https://www.mobila24.ro{{ path('product', {'id':product.id, 'slug':product.slug}, false) }}\"></span>
{% endif %}
</div>
{% set imgShowProperty = 0 %}
{% for image in product.photos %}
{% if image.main == 1 and imgShowProperty == 0 %}
<span property=\"image\" content=\"{{ language.storeUrl }}/images/product/{{ image.imageName }}\"></span>
{% set imgShowProperty = 1 %}
{% endif %}
{% endfor %}
{% if product.getProducer(language.localeShort) %}
<span property=\"brand\" content=\"{{ product.getProducer(language.localeShort).name }}\"></span>
{% endif %}
{#
{% if comments|length %}
<span property=\"{{ rating|round(2) }}\" content=\"{{ product.getProducer(language.localeShort).name }}\"></span>
{% endif %}
#}
</div>
<!-- START OF DROPDOWNS SECTION -->
<!-- START OF MODEL DROPDOWN -->
{% if product.isVariants %}
{% include 'frontend/product/_dropdown.html.twig' %}
{% endif %}
<div id=\"equipmentContainer\" style=\"{% if product.isVariants %}display: none{% endif %}; font-size:15px;\">
{% set eqCounter = 0 %}
{% for equipment in equipments %}
{% if app.request.locale == equipment.locale %}
{% set eqCounter = eqCounter + 1 %}
{% endif %}
{% endfor %}
{% if eqCounter %}
<p>
{{ 'additional_equipment'|trans }}
</p>
{% for equipment in equipments %}
{% if app.request.locale == equipment.locale %}
<label class=\"checkbox\">
{% if app.request.locale == 'ro' %}
<input class=\"equipmentCheckbox\" type=\"checkbox\" data-price=\"{{ equipment.price }}\" data-id=\"{{ equipment.id }}\" name=\"equipment[]\" value=\"{{ equipment.id }}\">
{{ equipment.name }} <strong>+{{ equipment.priceFormatted }}</strong>
{% else %}
<input class=\"equipmentCheckbox\" type=\"checkbox\" data-price=\"{{ equipment.price }}\" data-id=\"{{ equipment.id }}\" name=\"equipment[]\" value=\"{{ equipment.id }}\">
{{ equipment.name }} <strong>+{{ equipment.priceFormatted }}</strong>
{% endif %}
</label>
{% endif %}
{% endfor %}
{% endif %}
</div>
<!-- END OF SEAT TRIM DROPDOWN -->
<!-- END OF DROPDOWNS SECTION -->
<!-- START OF PICTOGRAMS -->
{% if productData.priceCrossed is defined and productData.currencySign is defined and productData.priceCrossed %}
<div class=\"column is-full is-size-7-tablet\" style=\"margin-bottom:-30px;\">
<div class=\"level-left\">
<div class=\"level-item\">
{{ 'omnibus_text'|trans }}
{% if productData.omnibusPrice %}
{{ productData.omnibusPrice|formatPrice(language.currency) }}
{% else %}
{{ minPrice|formatPrice(language.currency) }}
{% endif %}
</div>
</div>
</div>
{% endif %}
<div class=\"column is-full is-size-7-tablet is-hidden-mobile zajawki\">
<div class=\"level is-mobile\">
{% if (product.availability and product.availability.id == 1) or (product.availability and product.availability.id == 15 and app.request.locale == 'pl') or (product.availability and product.availability.id == 12 and app.request.locale == 'pl') or (product.availability and product.availability.id == 5) %}
<div class=\"level-left\" style=\"width: 30%\">
<div class=\"level-item\">
<img style=\"max-height: 4rem\" class=\"margin-right-8\" src=\"/v2/ico/24h_ico.png\" alt=\"24h delivery\">
<span>{{ 'products_in_24h_delivery_ico'|trans|raw }}</span>
</div>
</div>
{% else %}
<div class=\"level-left\" style=\"width: 30%\">
<div class=\"level-item\">
<img style=\"max-height: 4rem; max-width:50px;\" class=\"margin-right-8\" src=\"/v2/ico/ico_300_customers.svg\" alt=\"300 000 customers\">
<span>{{ 'text_300_customers_product_ico'|trans|raw }}</span>
</div>
</div>
{% endif %}
<div class=\"level-item\" style=\"width: 36%;\">
<img style=\"max-height: 4rem\" class=\"margin-right-8\" src=\"{{ staticImages[locale].freeDelivery }}\" alt=\"\">
<span>{{ 'free_delivery_return_product_ico'|trans|raw }}</span>
</div>
<div class=\"level-right\" style=\"width: 33%\">
<div class=\"level-item\">
<img style=\"max-height: 4rem\" class=\"margin-right-8\" src=\"/v2/ico_pig_new.png\" alt=\"\">
<div style=\"max-width: 100px;\">{{ 'price_with_negotiations'|trans|raw }}</div>
</div>
</div>
{#
<div class=\"level-item\" style=\"width: 36%\">
<img style=\"max-height: 4rem\" class=\"margin-right-8\" src=\"{{ staticImages[locale].freeDelivery }}\" alt=\"\">
<span>{{ 'free_delivery_return'|trans|raw }}</span>
</div>
<div class=\"level-right\" style=\"width: 33%\">
<div class=\"level-item\">
<img style=\"max-height: 4rem\" class=\"margin-right-8\" src=\"{{ staticImages[locale].onMarket }}\" alt=\"\">
<span>{{ 'gwarancja_ico'|trans|raw }}</span>
</div>
</div>
#}
</div>
</div>
<!-- END OF PICTOGRAMS -->
{% for marker in product.markers %}
{% if marker.language.id == language.id and marker.content|length>0 %}
<!-- START OF GREEN NOTIFICATION -->
<div class=\"notification {{ marker.color }}-notification\" style=\"margin-top:30px;\">
<span class=\"icon\">
<i class=\"fas fa-info-circle\"></i>
</span>
<span class=\"has-text-weight-bold\">
{{ marker.content|raw }}
</span>
</div>
{% endif %}
{% endfor %}
{% if product.getProducer(language.localeShort) %}
{% for marker in product.getProducer(language.localeShort).markers %}
{% if marker.language.id == language.id and marker.content|length>0 %}
<!-- START OF GREEN NOTIFICATION -->
<div class=\"notification {{ marker.color }}-notification\" style=\"margin-top:30px;\">
<!-- TODO: jak coś to wytnij z projektu i wstaw ikonkę -->
<span class=\"icon\">
<i class=\"fas fa-info-circle\"></i>
</span>
<span class=\"has-text-weight-bold\">
{{ marker.content|raw }}
</span>
</div>
<!-- END OF GREEN NOTIFICATION -->
{% endif %}
{% endfor %}
{% endif %}
{% for marker in product.getLandingPagesMarkers %}
{% if marker.language.id == language.id and marker.content|length>0 %}
<!-- START OF GREEN NOTIFICATION -->
<div class=\"notification {{ marker.color }}-notification\" style=\"margin-top:30px;\">
<!-- TODO: jak coś to wytnij z projektu i wstaw ikonkę -->
<span class=\"icon\">
<i class=\"fas fa-info-circle\"></i>
</span>
<span class=\"has-text-weight-bold\">
{{ marker.content|raw }}
</span>
</div>
<!-- END OF GREEN NOTIFICATION -->
{% endif %}
{% endfor %}
{#
{% if markerConstant is defined and markerConstant and app.request.locale == 'ro' %}
<div class=\"notification blue-notification\" style=\"margin-top:30px; background-color:#f2f8ff; color: #3085e5\">
<!-- TODO: jak coś to wytnij z projektu i wstaw ikonkę -->
<span class=\"has-text-weight-bold\">
{{ markerConstant.content|raw }}
</span>
</div>
{% endif %}
#}
<!-- START OF AMOUNT SECTION -->
<div class=\"column is-full\">
{% if product.temporaryUnavailable %}
<div class=\"column is-full\">
<div class=\"level-item\">
<div>
<strong>
{{ 'product_temp_unavailable'|trans }}
</strong>
</div>
</div>
</div>
<div id=\"notify_container\">
<div class=\"column is-full\">
<div class=\"level-left\">
<div class=\"\">
{{ 'notify_me'|trans }}
</div>
</div>
</div>
<div class=\"column is-full\">
<div class=\"\">
<div class=\"field\">
<div class=\"control\">
<input type=\"text\" placeholder=\"{{ 'your_email'|trans }}\" id=\"notify_input\" value=\"\" class=\"input\" style=\"padding:25px;\">
<div style=\"display: none; margin-top:10px; color:red; text-align: center\" id=\"error_notify_container\">
{{ 'please_enter_valid_email'|trans }}
</div>
</div>
</div>
</div>
</div>
<div class=\"column is-full\">
<div class=\"\">
<button type=\"button\" class=\"button is-success has-text-weight-bold\" id=\"notify-button\" style=\"width:100%;\">
{{ 'inform_me_about_availability_button'|trans }}
</button>
</div>
</div>
</div>
{% else %}
<div class=\"level is-mobile\">
<div class=\"level-left\">
<div class=\"level-item\">
<div class=\"field\">
<div class=\"control\">
<input type=\"text\" id=\"amount\" value=\"1\" class=\"input cool-shadow has-text-centered\">
</div>
</div>
</div>
</div>
<div class=\"level-item\">
<button type=\"button\" class=\"button is-success has-text-weight-bold\" id=\"ask-button\">
{{ 'order_or_ask'|trans }}
</button>
</div>
</div>
{% endif %}
<div class=\"column is-full\">
<div class=\"notification is-danger cart-notification\" style=\"text-align: center; display: none\">
{{ 'choose_aboce_parameters_first'|trans }}
</div>
<div class=\"notification is-danger cart-error-notification\" style=\"text-align: center; display: none\">
</div>
</div>
</div>
<!-- END OF AMOUNT SECTION -->
<!-- START OF ADD TO COMPARE -->
<div class=\"column is-full\">
{% if app.request.locale == 'pl' and product.payu %}
<table style=\"margin-top:-20px; display: none\" id=\"payuraty\">
<tr>
<td style=\"width:40px;\">
<img style=\"cursor: pointer; margin-bottom:-18px;\" id=\"payuLogo\" src=\"https://poland.payu.com/wp-content/themes/global-website/assets/src/images/payu-logo.svg\" hidden/>
</td>
<td style=\"width:4px;\"></td>
<td><p><span id=\"installment-mini\"></span></p></td>
<td><div style=\"font-size:15px; margin-top: 17px; padding-left:2px;\">miesięcznie</div></td>
</tr>
</table>
<script type=\"text/javascript\">
\$(document).ready(function () {
const button = document.getElementById('payuLogo');
button.addEventListener('click', function handleClick() {
});
var value = {{ minPrice }};
var options = {
creditAmount: value, // wartość jako number (w PLN)
posId: 1056481, // identyfikator punktu płatności
key: 'e8', // pierwsze dwa znaki klucza api
showLongDescription: true,
};
window.OpenPayU.Installments.miniInstallment(\"#installment-mini\", options)
.then(function (result) {
if (result.isWidgetAvailable) {
\$('#payuraty').show();
\$(document).on('click', '#payuLogo', function () {
result.openWidget();
});
\$(document).on('click', '.payu-mini-installments-widget-amount', function () {
result.openWidget();
});
\$(document).on('click', '.payu-mini-installments-widget-details', function () {
result.openWidget();
});
document.querySelector(\"#payuLogo\").removeAttribute(\"hidden\"); // wyświetla element
document.querySelector(\"#payuLogo\").onclick = function () {
result.openWidget();
}; // dodaje akcję na kliknięcie
} else {
\$('#payuraty').hide();
}
})
.catch(function (e) {
console.error(e.toString());
});
});
</script>
{% endif %}
<label class=\"checkbox\" style=\"margin-top:5px; font-size:14px;\">
<input {% if compareIds is defined and product.id in compareIds %} checked=\"checked\" {% endif %} type=\"checkbox\" data-removepath=\"{{ path('remove_compare') }}\" data-path=\"{{ path('add_to_compare') }}\" class=\"add_to_compare\" data-product=\"{{ product.id }}\" id=\"{{ product.id }}\">
{{ 'add_to_compare'|trans }}
</label>
<br/>
{% if similarColors|length %}
<div class=\"has-text-weight-semibold\">
{{ 'similarColors'|trans }}
</div>
<div class=\"columns is-flex is-flex-wrap-nowrap is-align-items-center\">
{% for similarColor in similarColors|slice(0,5) %}
{% set localProduct = similarColor[0] %}
{% set localProductData = similarColor %}
<div class=\"column is-narrow\">
<a href=\"{{ path('product', {'id':localProduct.id, 'slug':localProduct.slug}) }}\">
<img style=\"max-width: 100px;\" data-main=\"{{ asset('/images/product/'~localProductData.mainPhoto~'') | imagine_filter('small') }}\" src=\"/images/ajax-loader.gif\" alt=\"{{ localProduct.name }}\" class=\"lazy img-responsive small-photo\" data-src=\"{{ asset('/images/product/'~localProductData.mainPhoto~'') | imagine_filter('small') }}\" />
</a>
</div>
{% endfor %}
</div>
{% endif %}
</div>
<!-- END OF ADD TO COMPARE -->
</div>
<!-- END OF SHORT DESCRIPTION -->
</div>
<hr class=\"hr\">
</div>
</section>
<!-- END OF MAIN SECTION -->
<!-- START OF DETAIL DESCRIPTION SECTION -->
{% set parametersIds = [] %}
{% for variant in priceVariants %}
{% if variant.parameterValueGroup.parameter.id not in parametersIds %}
{% set parametersIds = parametersIds|merge([variant.parameterValueGroup.parameter.id]) %}
{% endif %}
{% endfor %}
{% set shortFunctions = product.getShortFunctionDescription %}
<section class=\"section\">
<div class=\"container\">
<div class=\"columns\">
<!-- START OF SIDEBAR MENU SECTION -->
<div class=\"column is-one-fifth\">
<affix class=\"sidebar-menu\" relative-element-selector=\"#main_content\">
<aside class=\"columns is-multiline\">
<scrollactive active-class=\"active-scroll\" :highlight-first-item=\"true\">
<!-- START SIDEBAR FOR DESKTOP -->
<nav>
{% if shortFunctions|length %}
<div class=\"column is-full has-text-weight-semibold\">
<a href=\"#{{ 'tag_shortcut'|trans }}\" class=\"scrollactive-item is-hidden-touch\" style=\"color: #989898;\">
{{ 'inShortcut'|trans }}
</a>
</div>
{% endif %}
<div class=\"column is-full has-text-weight-semibold\">
<a href=\"#{{ 'tag_models_features'|trans }}\" class=\"modele_i_cechy scrollactive-item is-hidden-touch\" style=\"color: #989898;\">
{{ 'functionsProductDescription'|trans }}
</a>
</div>
{% if constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_TEXTILE') in parametersIds %}
<div class=\"column is-full has-text-weight-semibold\">
<a href=\"#{{ 'tag_material_textile'|trans }}\" class=\"scrollactive-item is-hidden-touch\" style=\"color: #989898;\">
{{ 'materials_textiles'|trans }}
</a>
</div>
{% endif %}
{% if constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_WOOD') in parametersIds %}
<div class=\"column is-full has-text-weight-semibold\">
<a href=\"#{{ 'tag_material_wood'|trans }}\" class=\"scrollactive-item is-hidden-touch\" style=\"color: #989898;\">
{{ 'materials_wood'|trans }}
</a>
</div>
{% endif %}
{% if constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_NET') in parametersIds %}
<div class=\"column is-full has-text-weight-semibold\">
<a href=\"#{{ 'tag_material_net'|trans }}\" class=\"scrollactive-item is-hidden-touch\" style=\"color: #989898;\">
{{ 'material_net'|trans }}
</a>
</div>
{% endif %}
{% if constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_KOLATKA_PINEZKA') in parametersIds %}
<div class=\"column is-full has-text-weight-semibold\">
<a href=\"#{{ 'tag_materialy_kolatka'|trans }}\" class=\"scrollactive-item is-hidden-touch\" style=\"color: #989898;\">
{{ 'materials_others'|trans }}
</a>
</div>
{% endif %}
{% if constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_WOOD_LEGS') in parametersIds %}
<div class=\"column is-full has-text-weight-semibold\">
<a href=\"#{{ 'tag_legs_wood'|trans }}\" class=\"scrollactive-item is-hidden-touch\" style=\"color: #989898;\">
{{ 'material_wood_legs'|trans }}
</a>
</div>
{% endif %}
<div class=\"column is-full has-text-weight-semibold\">
<a href=\"#{{ 'tag_pricing'|trans }}\" class=\"scrollactive-item is-hidden-touch\" style=\"color: #989898;\">
{{ 'pricing'|trans }}
</a>
</div>
{% if product.photo3d %}
<div class=\"column is-full has-text-weight-semibold is-hidden-touch\">
<a href=\"#desc360\" class=\"scrollactive-item\" style=\"color: #989898;\">{{ 'presentation_360'|trans }}</a>
</div>
{% endif %}
{% if product.photo3dAdditional|length > 25 %}
<div class=\"column is-full has-text-weight-semibold is-hidden-touch\">
<a href=\"#desc360Additional\" class=\"scrollactive-item\" style=\"color: #989898;\">{{ 'presentation_360_additional'|trans }}</a>
</div>
{% endif %}
{% if product.film %}
<div class=\"column is-full has-text-weight-semibold is-hidden-touch\">
<a href=\"#film\" class=\"scrollactive-item\" style=\"color: #989898;\">{{ 'film'|trans }}</a>
</div>
{% endif %}
<div class=\"column is-full has-text-weight-semibold is-hidden-touch\">
<a href=\"#gallery\" class=\"scrollactive-item\" style=\"color: #989898;\">{{ 'gallery'|trans }}</a>
</div>
<div class=\"column is-full has-text-weight-semibold is-hidden-touch\">
<a href=\"#podobne\" class=\"scrollactive-item\" style=\"color: #989898;\">{{ 'similarProducs'|trans }}</a>
</div>
{% if app.request.locale == 'pl' %}
{% if product.getActiveSubProducts.count and buyCheaperLP is defined and buyCheaperLP %}
<div class=\"column is-full has-text-weight-semibold is-hidden-touch\">
<a href=\"{{ path('landing-page-front', {'product':product.id, 'id':buyCheaperLP.id, 'slug':buyCheaperLP.slug}) }}\" class=\"\" style=\"color: red;\">{{ 'buy_cheaper'|trans }}</a>
</div>
{% endif %}
{% endif %}
{% if product.getProducer(language.localeShort).responsibleEntity %}
<div class=\"column is-full has-text-weight-semibold\">
<a href=\"javascript:void(0);\" id=\"toggleDetails\" class=\"scrollactive-item is-hidden-touch\" style=\"color: rgb(152, 152, 152); display: flex; justify-content: space-between; align-items: center;\">
{{ 'responsibleEntity_front_store'|trans }}
<span id=\"toggleIcon\" class=\"icon\">
<i class=\"fas fa-caret-down\"></i>
</span>
</a>
</div>
<!-- Hidden details div -->
<div id=\"detailsSection\" class=\"column is-full\" style=\"display: none; padding-left: 20px; color: rgb(100, 100, 100);\">
{{ product.getProducer(language.localeShort).responsibleEntity|raw }}
</div>
{% endif %}
</nav>
<!-- END SIDEBAR FOR DESKTOP -->
</scrollactive>
</aside>
</affix>
</div>
<!-- END OF SIDEBAR MENU SECTION -->
<!-- START OF CONTENT SECTION -->
<div class=\"content-single-product column is-three-fifths-desktop is-four-fifths-tablet\">
<div class=\"columns is-multiline main-content-mobile-up\" id=\"main_content\">
{% if shortFunctions|length %}
<div class=\"left-25\" id=\"{{ 'tag_shortcut'|trans }}\">
<div class=\"column is-full\">
{{ shortFunctions|raw }}
</div>
</div>
{% endif %}
<section-accordion :open=\"1\" inline-template v-cloak>
<div class=\"column is-full\" id=\"{{ 'tag_models_features'|trans }}\">
{% if shortFunctions|length %}
<hr class=\"hr\">
{% endif %}
<div class=\"level is-mobile\" @click=\"toggleAccordion\">
<div class=\"level-left\">
<div class=\"level-item\">
<h3 class=\"title is-3\">
{{ 'functionsProductDescription'|trans }}
</h3>
</div>
</div>
<div class=\"level-right\">
<div class=\"level-item\" v-show=\"isMobile\">
<!-- down arrow / minus -->
<span class=\"icon\">
<i :class=\"isOpen ? 'fas fa-minus' : 'fas fa-chevron-down'\"></i>
</span>
</div>
</div>
</div>
<div class=\"divider2\"></div>
<!-- TODO: jakaś klasa do złapania -->
<div :class=\"isMobile ? '' : 'left-25'\" v-show=\"isOpen\">
{% set desc = product.description|shortFunctionDescriptionFilter %}
<ul class=\"removeDot\">
{% for row in desc %}
{% if row|striptags|length>5 %}
<li class=\"removeDot\">
<div class=\"column is-full\">
<span class=\"icon\"><i class=\"fas fa-check has-text-success\"></i></span>
{{ row|strongReplacer|raw }}
</div>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
</section-accordion>
{% if constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_TEXTILE') in parametersIds %}
<section-accordion :open=\"0\" inline-template v-cloak>
<div class=\"column is-full\" id=\"{{ 'tag_material_textile'|trans }}\">
<hr class=\"hr\">
<div class=\"level is-mobile\" @click=\"toggleAccordion\">
<div class=\"level-left\">
<div class=\"level-item\">
<h3 class=\"title is-3\">
{{ 'textiles'|trans|capitalize }} ({{ 'count_variant_types'|transchoice(groupCounter[constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_TEXTILE')]) }})
</h3>
</div>
</div>
<div class=\"level-right\">
<div class=\"level-item\" v-show=\"isMobile\">
<!-- down arrow / minus -->
<span class=\"icon\">
<i :class=\"isOpen ? 'fas fa-minus' : 'fas fa-chevron-down'\"></i>
</span>
</div>
</div>
</div>
<div class=\"divider2\"></div>
<div :class=\"isMobile ? '' : 'left-25'\" v-show=\"isOpen\">
{% for variant in variantsArray %}
{% if variant.parameter.id == constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_TEXTILE') %}
{% include 'frontend/product/_materialPresentation.html.twig' %}
{% endif %}
{% endfor %}
</div>
</div>
</section-accordion>
{% endif %}
{% if constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_WOOD') in parametersIds %}
<section-accordion :open=\"0\" inline-template v-cloak>
<div class=\"column is-full\" id=\"{{ 'tag_material_wood'|trans }}\">
<hr class=\"hr\">
<div class=\"level is-mobile\" @click=\"toggleAccordion\">
<div class=\"level-left\">
<div class=\"level-item\">
<h3 class=\"title is-3\">
{{ 'wood'|trans|capitalize }} ({{ 'count_variant_types'|transchoice(groupCounter[constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_WOOD')]) }})
</h3>
</div>
</div>
<div class=\"level-right\">
<div class=\"level-item\" v-show=\"isMobile\">
<!-- down arrow / minus -->
<span class=\"icon\">
<i :class=\"isOpen ? 'fas fa-minus' : 'fas fa-chevron-down'\"></i>
</span>
</div>
</div>
</div>
<div :class=\"isMobile ? '' : 'left-25'\" v-show=\"isOpen\">
{% for variant in variantsArray %}
{% if variant.parameter.id == constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_WOOD') %}
{% include 'frontend/product/_materialPresentation.html.twig' %}
{% endif %}
{% endfor %}
</div>
</div>
</section-accordion>
{% endif %}
{% if constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_NET') in parametersIds %}
<section-accordion :open=\"0\" inline-template v-cloak>
<div class=\"column is-full\" id=\"{{ 'tag_material_net'|trans }}\">
<hr class=\"hr\">
<div class=\"level is-mobile\" @click=\"toggleAccordion\">
<div class=\"level-left\">
<div class=\"level-item\">
<h3 class=\"title is-3\">
{{ 'net'|trans|capitalize }} ({{ 'count_variant_types'|transchoice(groupCounter[constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_NET')]) }})
</h3>
</div>
</div>
<div class=\"level-right\">
<div class=\"level-item\" v-show=\"isMobile\">
<!-- down arrow / minus -->
<span class=\"icon\">
<i :class=\"isOpen ? 'fas fa-minus' : 'fas fa-chevron-down'\"></i>
</span>
</div>
</div>
</div>
<div :class=\"isMobile ? '' : 'left-25'\" v-show=\"isOpen\">
{% for variant in variantsArray %}
{% if variant.parameter.id == constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_NET') %}
{% include 'frontend/product/_materialPresentation.html.twig' %}
{% endif %}
{% endfor %}
</div>
</div>
</section-accordion>
{% endif %}
{% if constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_KOLATKA_PINEZKA') in parametersIds %}
<section-accordion :open=\"0\" inline-template v-cloak>
<div class=\"column is-full\" id=\"{{ 'tag_materialy_kolatka'|trans }}\">
<hr class=\"hr\">
<div class=\"level is-mobile\" @click=\"toggleAccordion\">
<div class=\"level-left\">
<div class=\"level-item\">
<h3 class=\"title is-3\">
{{ 'pins_kolatka'|trans|capitalize }} ({{ 'count_variant_types'|transchoice(groupCounter[constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_KOLATKA_PINEZKA')]) }})
</h3>
</div>
</div>
<div class=\"level-right\">
<div class=\"level-item\" v-show=\"isMobile\">
<!-- down arrow / minus -->
<span class=\"icon\">
<i :class=\"isOpen ? 'fas fa-minus' : 'fas fa-chevron-down'\"></i>
</span>
</div>
</div>
</div>
<div :class=\"isMobile ? '' : 'left-25'\" v-show=\"isOpen\">
{% for variant in variantsArray %}
{% if variant.parameter.id == constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_KOLATKA_PINEZKA') %}
{% include 'frontend/product/_materialPresentation.html.twig' %}
{% endif %}
{% endfor %}
</div>
</div>
</section-accordion>
{% endif %}
{% if constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_WOOD_LEGS') in parametersIds %}
<section-accordion :open=\"0\" inline-template v-cloak>
<div class=\"column is-full\" id=\"{{ 'tag_legs_wood'|trans }}\">
<hr class=\"hr\">
<div class=\"level is-mobile\" @click=\"toggleAccordion\">
<div class=\"level-left\">
<div class=\"level-item\">
<h3 class=\"title is-3\">
{{ 'wood_legs'|trans }} ({{ 'count_variant_types'|transchoice(groupCounter[constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_WOOD_LEGS')]) }})
</h3>
</div>
</div>
<div class=\"level-right\">
<div class=\"level-item\" v-show=\"isMobile\">
<!-- down arrow / minus -->
<span class=\"icon\">
<i :class=\"isOpen ? 'fas fa-minus' : 'fas fa-chevron-down'\"></i>
</span>
</div>
</div>
</div>
<div :class=\"isMobile ? '' : 'left-25'\" v-show=\"isOpen\">
{% for variant in variantsArray %}
{% if variant.parameter.id == constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_WOOD_LEGS') %}
{% include 'frontend/product/_materialPresentation.html.twig' %}
{% endif %}
{% endfor %}
</div>
</div>
</section-accordion>
{% endif %}
<div class=\"column is-full\" id=\"{{ 'tag_pricing'|trans }}\">
<hr class=\"hr\">
<h2 class=\"title is-3\">
{{ 'pricing'|trans }}
</h2>
<div class=\"divider\"></div>
{% if product.shippingCategory and app.request.locale == 'pl' %}
{% set sc = product.shippingCategory~'_store' %}
<h4 style=\"margin-bottom:20px;\">
{{ sc|trans }}
</h4>
{% endif %}
<div class=\"pricingContainer\">
{% if product.isVariants == 1 and groupCounter|length > 0 %}
<table class=\"ck-table\">
<tr>
<td></td>
{% if groupCounter[constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_TEXTILE')] is defined %}
<th style=\"text-align: center; padding-top:10px;\" colspan=\"{{ groupCounter[constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_TEXTILE')] }}\">{{ 'available_materials'|trans }}</th>
{% elseif groupCounter[constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_WOOD')] is defined %}
<th style=\"text-align: center; padding-top:10px;\" colspan=\"{{ groupCounter[constant('App\\\\Entity\\\\ProductParameter::CHOOSABLE_WOOD')] }}\">{{ 'available_materials'|trans }}</th>
{% endif %}
</tr>
<tr>
<th style=\"text-align: center\">{{ 'version'|trans }}</th>
{% for price in pricing|slice(0,1) %}
{% for textile in price.tkaniny %}
{% if textile.parameter.id in [9,23,55,121,126,124,37,22] %}
{% if textile.parameterValueGroup %}
<th style=\"text-align:center;\"><a href=\"{{ path('textileDescription', {'id':textile.parameterValueGroup.id}) }}\">{{ textile.parameterValueGroup.name }}</a></th>
{% else %}
<th style=\"text-align:center;\">{{ textile.parameterValue.name }}</th>
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
</tr>
{% for price in pricing %}
<tr>
<td style=\"\">{{ price.wersja.name }}</td>
{% for textile in price.tkaniny %}
{% if textile.parameter.id in [9,23,55,121,126,124,37,22] %}
<td style=\"text-align:center;overflow: hidden;white-space: nowrap; vertical-align: middle\">{{ textile.productPrice.priceGross(vat)|formatPrice(textile.productPrice.currency) }}</td>
{% endif %}
{% endfor %}
</tr>
{% endfor %}
</table>
{% elseif productPrices|length>1 %}
<table class=\"ck-table\" style=\"max-width: 650px;\">
{% for productPrice in productPrices %}
{% if productPrice.variants|length == 1 %}
<tr>
<th style=\"text-align: center; width:30%;\">
{% for variants in productPrice.variants %}
{{ variants.parameterValue.name }}
{% endfor %}
</th>
<td style=\"width: 90%; text-align: center; padding-top:19px;\">
{{ productPrice.getPriceGross(vat)|formatPrice(language.currency) }}
</td>
</tr>
{% endif %}
{% endfor %}
</table>
{% else %}
<table class=\"ck-table\" style=\"max-width: 650px;\">
<tr>
<th style=\"text-align: center; width:30%;\">
{{ product.name }}
</th>
<td style=\"width: 90%; text-align: center; padding-top:19px;\">
{% for price in productPrices|slice(0,1) %}
{{ price.getPriceGross(vat, language.roundingPrecision, true)|formatPrice(language.currency) }}
{% endfor %}
</td>
</tr>
</table>
{% endif %}
</div>
</div>
{#
<div class=\"column is-full is-hidden-touch pytania\">
<div class=\"is-size-4 is-600 is-red has-text-centered is-3 \">
Masz pytanie? Zadzwoń
<span class=\"\"><i class=\"fas fa-phone\"></i> 801 044 034</span>
</div>
<div class=\"is-size-5 has-text-centered\">
Infolinia - Czynna dziÅ› do 16:00
</div>
</div>
#}
{% if product.photo3d %}
<div class=\"column is-full\" id=\"desc360\">
<hr class=\"hr\">
<h2 class=\"title is-3\">
{{ 'presentation360'|trans }}
</h2>
<div class=\"left-25 descriptionDiv\">
{{ product.photo3d|raw }}
</div>
</div>
{% endif %}
{% if product.photo3dAdditional|length > 25 %}
<div class=\"column is-full\" id=\"desc360Additional\">
<hr class=\"hr\">
<h2 class=\"title is-3\">
{{ 'presentation_360_additional'|trans }}
</h2>
<div class=\"left-25 descriptionDiv\">
{{ product.photo3dAdditional|raw }}
</div>
</div>
{% endif %}
{% if product.film %}
<div class=\"column is-full descriptionDiv\" id=\"film\">
<hr class=\"hr\">
<h2 class=\"title is-3\">
{{ 'film'|trans }}
</h2>
<div class=\"left-25 video-container\" itemprop=\"video\" itemscope itemtype=\"http://schema.org/VideoObject\">
{{ product.film|raw }}
<span style=\"display: none\" itemprop=\"name\">{{ 'product_presentation'|trans }} {{ product.name }} - {{ product.getProducer(language.localeShort).name }}</span>
<span style=\"display: none\" itemprop=\"description\">{{ product.shortDescription }}</span>
<span style=\"display: none\" itemprop=\"uploadDate\">{{ product.createdAt|date('Y-m-d') }}</span>
{% set imgShow = 0 %}
{% for image in product.photos %}
{% if image.main == 1 and imgShow == 0 %}
<span style=\"display: none\" itemprop=\"thumbnailUrl\">{{ language.storeUrl }}/images/product/{{ image.imageName }}</span>
{% set imgShow = 1 %}
{% endif %}
{% endfor %}
</div>
</div>
{% endif %}
<div class=\"column is-full descriptionDiv\" id=\"gallery\">
<hr class=\"hr\">
<h2 class=\"title is-3\">
{{ 'gallery'|trans }}
</h2>
<div class=\"left-25\">
<div class=\"columns is-multiline\">
{% for photo in product.photos %}
{% if photo.getIsAvailableForLang(language) %}
<div class=\"column is-one-third\" style=\"float: left; padding:0px;\">
<a id=\"{{ photo.id }}\" class=\"modal-button\" data-href=\"{{ path('load_gallery_image', {'id':photo.id}) }}\" data-target=\"modal\" aria-haspopup=\"true\">
<img {% if photo.alt %}alt=\"{{ photo.alt }}\"{% endif %} style=\"max-height:210px;\" src=\"{{ language.storeUrl }}/images/product/{{ photo.imageName }}\"/>
</a>
<div style=\"font-size:14px; width: 130px;\">
{{ photo.getTranslatedDescription(app.request.locale) }}
</div>
</div>
{% endif %}
{% endfor %}
<div style=\"clear: both\"></div>
</div>
</div>
</div>
{% if comments|length %}
<div class=\"column is-full descriptionDiv\" id=\"comments\">
<hr class=\"hr\">
<h2 class=\"title is-3\" style=\"margin-left:-5px;\">
{{ 'comments_front_txt_title'|trans }}
</h2>
<div class=\"left-25\">
<div class=\"columns is-multiline\">
<div class=\"column is-full\" style=\"margin-bottom: 20px; margin-top:10px;\">
<div class=\"is-mobile\">
<div class=\"level-left\">
{{ 'average_rating'|trans }} <strong>{{ rating|round(2) }}/5</strong> <span id=\"rateit\" data-rateit-readonly=\"true\" data-rateit-value=\"{{ rating }}\" data-readonly=\"true\" data-rateit-ispreset=\"true\" data-rateit-mode=\"font\" style=\"font-size:20px\" class=\"rateit hide-mobile\"></span>
{% if comments|length == 1 %}
(1 {{ 'single_opinion'|trans }})
{% elseif (comments|length == 2 or comments|length == 3 or comments|length == 4) %}
({{ comments|length }} {{ 'pl_two_three_fours_opinions_lexical'|trans }})
{% else %}
({{ comments|length }} {{ 'opinions'|trans }})
{% endif %}
</div>
</div>
</div>
<div style=\"color:red; cursor: pointer\" id=\"show_comments_button\">
{{ 'show_comments'|trans }} <i class=\"fa fa-arrow-circle-down\"></i>
</div>
<div id=\"comment_container\" style=\"display: none\">
<div itemscope itemtype=\"https://schema.org/Product\">
<div itemprop=\"brand\" itemtype=\"https://schema.org/Brand\" itemscope>
{% if pProduct.getProducer(language.localeShort) %}
<meta itemprop=\"name\" content=\"{{ pProduct.getProducer(language.localeShort).name }}\" />
{% endif %}
</div>
<meta itemprop=\"description\" content=\"{{ product.description|striptags|slice(0,200) }}\" />
<meta itemprop=\"sku\" content=\"{{ product.id }}\" />
{% set imgShow = 0 %}
{% for image in product.photos %}
{% if image.main == 1 and imgShow == 0 %}
<img style=\"visibility: hidden; left:-1000px; position: absolute;\" itemprop=\"image\" src=\"{{ language.storeUrl }}/images/product/{{ image.imageName }}\"/>
{% set imgShow = 1 %}
{% endif %}
{% endfor %}
<span style=\"visibility: hidden; left:-1000px; position: absolute\" itemprop=\"name\">{{ product.name }}</span>
<div itemprop=\"aggregateRating\" itemtype=\"https://schema.org/AggregateRating\" itemscope>
<meta itemprop=\"reviewCount\" content=\"{{ comments|length }}\" />
<span itemprop=\"ratingValue\" content=\"{{ rating|round(2) }}\"></span>
</div>
<div itemprop=\"offers\" itemtype=\"https://schema.org/Offer\" itemscope>
{% if language.id == 1 %}
<link itemprop=\"url\" href=\"https://www.centrumkrzesel.pl{{ path('product', {'id':product.id, 'slug':product.slug}, false) }}\" />
{% endif %}
<meta itemprop=\"availability\" content=\"https://schema.org/InStock\" />
{% if language.id == 1 %}
<meta itemprop=\"priceCurrency\" content=\"PLN\" />
{% endif %}
{% if language.id == 2 %}
<meta itemprop=\"priceCurrency\" content=\"CZK\" />
{% endif %}
{% if language.id == 3 %}
<meta itemprop=\"priceCurrency\" content=\"EUR\" />
{% endif %}
{% if language.id == 4 %}
<meta itemprop=\"priceCurrency\" content=\"RON\" />
{% endif %}
<meta itemprop=\"itemCondition\" content=\"https://schema.org/NewCondition\" />
<meta itemprop=\"price\" content=\"{{ minPrice }}\" />
<meta itemprop=\"priceValidUntil\" content=\"{{ 'now'|date('Y')+1 }}-{{ 'now'|date('m') }}-{{ 'now'|date('d') }}\" />
</div>
{% for comment in comments %}
<div itemprop=\"review\" itemscope itemtype=\"https://schema.org/Review\">
<span itemprop=\"reviewRating\" itemscope itemtype=\"https://schema.org/Rating\">
<span itemprop=\"ratingValue\" style=\"position: absolute; margin-left: -2000px;\">{{ comment.opinionRate }}</span>
</span>
<meta itemprop=\"datePublished\" content=\"{{ comment.createdAt|date('Y-m-d') }}\">
<div class=\"level is-mobile\">
<div class=\"level-left\" style=\"width: 10%;\">
<div class=\"author-container \" style=\"width: 52px!important;\">
<div style=\"margin:auto; font-size: 20px; background-color: {{ random(['#ffb213', '#b390f1', '#785d55', '#ee8260', '#5abe10']) }}; width: 30px; height: 30px;\" class=\"author-circle\">
<span>{{ comment.user.firstname|slice(0,1)|upper }}</span>
</div>
</div>
</div>
<div class=\"level-left\" style=\"width: 90%;\">
<div class=\"level-item level-item-name\" style=\"justify-content: left;\">
<span itemprop=\"author\" itemscope itemtype=\"https://schema.org/Person\">
<strong><span itemprop=\"name\">{{ comment.user.firstname }}</span></strong>
</span>
<span style=\"color:grey; font-size:13px;\">
{{ comment.createdAt|date('Y-m-d') }}
</span>
<span id=\"rateit\" data-rateit-readonly=\"true\" data-rateit-value=\"{{ comment.opinionRate }}\" data-readonly=\"true\" data-rateit-ispreset=\"true\" data-rateit-mode=\"font\" style=\"font-size:20px\" class=\"rateit\"></span>
</div>
</div>
</div>
<div class=\"column is-full\" style=\"margin-bottom: 20px;\">
<div class=\"level is-mobile\">
<div class=\"level-left\" style=\"width: 9%;\">
</div>
<div class=\"level-left content-comment\" style=\"width: 92.5%; display: block\">
{{ comment.content }}
{% if comment.imageName %}
<br/>
<div>
<img style=\"max-width: 600px; margin-top:10px;\" src=\"{{ asset('/images/important/'~comment.imageName~'') | imagine_filter('smallProdImage') }}\" alt=\"{{ product.name }} {{ 'customer_photo'|trans|lower }} {{ comment.user.firstname }}\">
</div>
{% endif %}
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
<div style=\"clear: both\"></div>
</div>
</div>
</div>
{% endif %}
</div>
</div>
<!-- END OF CONTENT SECTION -->
<!-- START OF RIGHT (EMPTY) SECTION -->
<div class=\"column is-one-fifth-desktop is-hidden-touch\">
</div>
<!-- END OF RIGHT (EMPTY) SECTION -->
</div>
<div class=\"columns\">
<div class=\"column\">
<div class=\"columns\">
<div class=\"column is-two-third is-offset-one-fifths is-hidden-touch pytania\">
<div class=\"is-size-4 is-600 has-text-centered is-3 \">
{{ 'have_question_call'|trans }}
<span class=\"\"><i class=\"fas fa-phone\"></i> {{ language.helpline }}</span>
</div>
{% if helplineHours %}
<div class=\"is-size-5 has-text-centered\">
{{ 'call_center_work_hours'|trans }}: {{ helplineHours.name }}
</div>
{% endif %}
</div>
</div>
{% if family|length %}
<div class=\"section\">
<div class=\"container\">
<h4 class=\"subtitle is-4 mobile-spacer has-text-centered\">
{{ 'productsFromFamily'|trans }}
</h4>
<div class=\"columns is-multiline is-mobile lista-produktow\">
{% set c = 0 %}
{% for productRow in family %}
{% set product = productRow[0] %}
{% set productData = productRow %}
{% if c < 4 %}
{% set c = c + 1 %}
{% include 'frontend/components/smallProduct.html.twig' with {'cssClass':'card-homepage', 'isOneQuarter':1, 'product':product, 'productData':productData} %}
{% endif %}
{% endfor %}
</div>
</div>
</div>
{% endif %}
{% if recommendations|length %}
<div class=\"section\" id=\"podobne\">
<div class=\"container\">
<h4 class=\"subtitle is-4 mobile-spacer has-text-centered\">
{{ 'similarProductsFull'|trans }}
</h4>
<div class=\"columns is-multiline is-mobile lista-produktow\">
{% set c = 0 %}
{% for productRow in recommendations %}
{% set product = productRow[0] %}
{% set productData = productRow %}
{% if c < 4 %}
{% set c = c + 1 %}
{% include 'frontend/components/smallProduct.html.twig' with {'cssClass':'card-homepage', 'isOneQuarter':1, 'product':product, 'productData':productData} %}
{% endif %}
{% endfor %}
</div>
</div>
</div>
{% endif %}
</div>
</div>
</div>
</section>
<!-- END OF DETAIL DESCRIPTION SECTION -->
<!-- START OF FOOTER -->
</div>
{% if app.request.locale == 'pl' %}
<script type=\"text/javascript\" src=\"//static.criteo.net/js/ld/ld.js\" async=\"true\"></script>
<script type=\"text/javascript\">
window.criteo_q = window.criteo_q || [];
var deviceType = /iPad/.test(navigator.userAgent) ? \"t\" : /Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Silk/.test(navigator.userAgent) ? \"m\" : \"d\";
window.criteo_q.push(
{ event: \"setAccount\", account: 36267 },
{ event: \"setEmail\", email: \"{% if app.user.email is defined %} {{ app.user.email }} {% endif %}\" },
{ event: \"setSiteType\", type: deviceType },
{ event: \"viewItem\", item: \"{{ pProduct.id }}\" }
);
</script>
{% endif %}
<script>
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: 'view_item',
currency: '{{ language.getGa4Code }}',
value: '{{ minPrice }}',
ecommerce: {
items: [{
item_name: '{{ pProduct.name }}',
item_id: '{{ pProduct.id }}',
currency: '{{ language.getGa4Code }}',
price: '{{ minPrice }}',
{% if pProduct.productProducer %}
item_brand: '{{ pProduct.productProducer.name }}',
{% endif %}
quantity: '1'
}]
}
});
</script>
<div class=\"modal\" id=\"modal\">
<div class=\"modal-background\"></div>
<div class=\"modal-card\">
<header class=\"modal-card-head\">
<p class=\"modal-card-title\">{{ pProduct.name }}</p>
<button class=\"delete\" style=\"float: right\" aria-label=\"close\"></button>
</header>
<section class=\"modal-card-body\">
<!-- Content ... -->
</section>
<footer class=\"modal-card-foot\">
<button class=\"button\">{{ 'close'|trans }}</button>
</footer>
</div>
</div>
{% endblock %}", "frontend/product/product.html.twig", "/home/users/ck_new/templates/frontend/product/product.html.twig");
}
}