<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* Slivki/mobile/sale/videoguide/details.html.twig */
class __TwigTemplate_7cb6f98690fddf66529190c14a077bb35da84270544edaf068d6942ae2b7002e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'styles' => [$this, 'block_styles'],
'content' => [$this, 'block_content'],
'popup' => [$this, 'block_popup'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "Slivki/mobile/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Slivki/mobile/sale/videoguide/details.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Slivki/mobile/sale/videoguide/details.html.twig"));
$this->parent = $this->loadTemplate("Slivki/mobile/base.html.twig", "Slivki/mobile/sale/videoguide/details.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_styles($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles"));
// line 4
echo " <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.5/jquery.fancybox.min.css\" />
";
// line 5
$this->displayParentBlock("styles", $context, $blocks);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 8
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 9
echo "<div id=\"videoguideDetailsPage\">
<nav aria-label=\"breadcrumb\">
<ol class=\"breadcrumb m-0 py-1 px-2 bg-white\">
<li class=\"breadcrumb-item\"><a href=\"";
// line 12
echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url", $context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.', 12, $this->source); })()), "html", null, true);
echo "\">Главная</a></li>
<li class=\"breadcrumb-item\"><a href=\"";
// line 13
echo twig_escape_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getURL("Slivki:Sale:category", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["videoguideCategory"]) || array_key_exists("videoguideCategory", $context) ? $context["videoguideCategory"] : (function () { throw new RuntimeError('Variable "videoguideCategory" does not exist.', 13, $this->source); })()), "category", [], "any", false, false, false, 13), "getID", [], "method", false, false, false, 13)), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["videoguideCategory"]) || array_key_exists("videoguideCategory", $context) ? $context["videoguideCategory"] : (function () { throw new RuntimeError('Variable "videoguideCategory" does not exist.', 13, $this->source); })()), "category", [], "any", false, false, false, 13), "getName", [], "method", false, false, false, 13), "html", null, true);
echo "</a></li>
<li class=\"breadcrumb-item active\" aria-current=\"page\">";
// line 14
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["sale"]) || array_key_exists("sale", $context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.', 14, $this->source); })()), "getTitle", [], "method", false, false, false, 14), "html", null, true);
echo "</li>
</ol>
</nav>
<div class=\"m-2\">
<div class=\"embed-responsive embed-responsive-16by9\">
<iframe src=\"//www.youtube.com/embed/";
// line 19
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["sale"]) || array_key_exists("sale", $context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.', 19, $this->source); })()), "getVideoGuideYoutubeID", [], "method", false, false, false, 19), "html", null, true);
echo "\" frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen></iframe>
</div>
<h1 class=\"my-3 p-0\">";
// line 21
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["sale"]) || array_key_exists("sale", $context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.', 21, $this->source); })()), "getTitle", [], "method", false, false, false, 21), "html", null, true);
echo "</h1>
<div class=\"clearfix\">
<div class=\"text-muted float-left\">
<div><i class=\"slivki-icon-calendar-empty\"></i> Опубликовано: ";
// line 24
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["sale"]) || array_key_exists("sale", $context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.', 24, $this->source); })()), "getSince", [], "method", false, false, false, 24), "d.m.Y"), "html", null, true);
echo "</div>
<div><i class=\"slivki-icon-eye\"></i> Просмотров: ";
// line 25
echo twig_escape_filter($this->env, (isset($context["visitCount"]) || array_key_exists("visitCount", $context) ? $context["visitCount"] : (function () { throw new RuntimeError('Variable "visitCount" does not exist.', 25, $this->source); })()), "html", null, true);
echo "</div>
</div>
";
// line 27
if ((((twig_get_attribute($this->env, $this->source, (isset($context["sale"]) || array_key_exists("sale", $context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.', 27, $this->source); })()), "getOfferLinkUrl", [], "method", false, false, false, 27) && twig_get_attribute($this->env, $this->source, (isset($context["sale"]) || array_key_exists("sale", $context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.', 27, $this->source); })()), "getOfferLinkName", [], "method", false, false, false, 27)) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["sale"]) || array_key_exists("sale", $context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.', 27, $this->source); })()), "getOfferLinkUrl", [], "method", false, false, false, 27), ""))) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["sale"]) || array_key_exists("sale", $context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.', 27, $this->source); })()), "getOfferLinkName", [], "method", false, false, false, 27), "")))) {
// line 28
echo " <div class=\"clearfix mb-2\"></div>
<a class=\"bg-slivki text-white rounded-20 border-slivki py-2 px-3 float-left\" href=\"";
// line 29
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["sale"]) || array_key_exists("sale", $context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.', 29, $this->source); })()), "getOfferLinkUrl", [], "method", false, false, false, 29), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["sale"]) || array_key_exists("sale", $context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.', 29, $this->source); })()), "getOfferLinkName", [], "method", false, false, false, 29), "html", null, true);
echo "</a>
";
}
// line 31
echo " <div class=\"slivki-share-block-open text-dark border p-2 float-right\"><i class=\"slivki-icon-share\"></i>Поделиться</div>
</div>
</div>
<div class=\"row no-gutters\">
";
// line 35
if (array_key_exists("authorCategory", $context)) {
// line 36
echo " <div class=\"text-center col-sm-6\">
<a class=\"card border-0 d-inline-block videoguide-author-category my-1 clearfix\" href=\"";
// line 37
echo twig_escape_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getURL("Slivki:Sale:category", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["authorCategory"]) || array_key_exists("authorCategory", $context) ? $context["authorCategory"] : (function () { throw new RuntimeError('Variable "authorCategory" does not exist.', 37, $this->source); })()), "category", [], "any", false, false, false, 37), "getID", [], "method", false, false, false, 37)), "html", null, true);
echo "\" target=\"_blank\">
<div class=\"row no-gutters\">
<div class=\"col-auto\">
<img width=\"64\" height=\"64\" class=\"d-block border rounded-circle float-left p-1 mr-2\" src=\"";
// line 40
echo twig_escape_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->getImageURL(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["authorCategory"]) || array_key_exists("authorCategory", $context) ? $context["authorCategory"] : (function () { throw new RuntimeError('Variable "authorCategory" does not exist.', 40, $this->source); })()), "category", [], "any", false, false, false, 40), "getHotFeedIconMedia", [], "method", false, false, false, 40), 128, 128), "html", null, true);
echo "\" alt=''/>
</div>
<div class=\"col text-left\">
<div class=\"card-block px-1 text-dark\">
";
// line 44
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["authorCategory"]) || array_key_exists("authorCategory", $context) ? $context["authorCategory"] : (function () { throw new RuntimeError('Variable "authorCategory" does not exist.', 44, $this->source); })()), "category", [], "any", false, false, false, 44), "getName", [], "method", false, false, false, 44), "html", null, true);
echo "<br />
<span class=\"text-muted\">";
// line 45
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["authorCategory"]) || array_key_exists("authorCategory", $context) ? $context["authorCategory"] : (function () { throw new RuntimeError('Variable "authorCategory" does not exist.', 45, $this->source); })()), "category", [], "any", false, false, false, 45), "getEntityCount", [], "method", false, false, false, 45), "html", null, true);
echo " репортаж";
echo twig_escape_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->pluralFilter([0 => "", 1 => "a", 2 => "ей"], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["authorCategory"]) || array_key_exists("authorCategory", $context) ? $context["authorCategory"] : (function () { throw new RuntimeError('Variable "authorCategory" does not exist.', 45, $this->source); })()), "category", [], "any", false, false, false, 45), "getEntityCount", [], "method", false, false, false, 45)), "html", null, true);
echo "</span><br />
<span class=\"text-muted\">";
// line 46
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["authorCategory"]) || array_key_exists("authorCategory", $context) ? $context["authorCategory"] : (function () { throw new RuntimeError('Variable "authorCategory" does not exist.', 46, $this->source); })()), "visitCount", [], "any", false, false, false, 46), "html", null, true);
echo " просмотр";
echo twig_escape_filter($this->env, $this->extensions['Slivki\Twig\SlivkiTwigExtension']->pluralFilter([0 => "", 1 => "a", 2 => "ов"], twig_get_attribute($this->env, $this->source, (isset($context["authorCategory"]) || array_key_exists("authorCategory", $context) ? $context["authorCategory"] : (function () { throw new RuntimeError('Variable "authorCategory" does not exist.', 46, $this->source); })()), "visitCount", [], "any", false, false, false, 46)), "html", null, true);
echo "</span>
</div>
</div>
</div>
</a>
</div>
";
}
// line 53
echo " ";
$this->loadTemplate("Slivki/mobile/sale/vote_entity_block.html.twig", "Slivki/mobile/sale/videoguide/details.html.twig", 53)->display(twig_array_merge($context, ["pleaseVoteText" => "Оцените, пожалуйста, это видео:", "additionalClass" => "col-sm-6"]));
// line 55
echo " </div>
<div class=\"bg-light-gray py-3 my-2 text-center subscribe-on-youtube\">
<div class=\"d-inline-block text-center align-middle mr-sm-2 mb-sm-0 mb-2\">
<strong>Подписывайтесь на наш канал в Youtube!</strong><br>
Свежие обзоры из магазинов каждый день!
</div>
<a target=\"_blank\" href=\"https://www.youtube.com/channel/UCDy2sjRppCchend8p76cBxA?sub_confirmation=1\">
► Подписаться
</a>
</div>
<div id=\"commentsBlock\" class=\"m-2 d-none\"></div>
<div class=\"h6 m-2\"><strong>Следущее:</strong></div>
<div id=\"nextVideoGuides\" class=\"row no-gutters\">
";
// line 70
$this->loadTemplate("Slivki/mobile/sale/videoguide/next.html.twig", "Slivki/mobile/sale/videoguide/details.html.twig", 70)->display($context);
// line 71
echo " </div>
<img class=\"d-block my-3 mx-auto\" id='nextVideoGuideLoader' src='/images/image-preview-ajax-loader.gif' alt='Загрузка...'/>
</div>
<input type=\"hidden\" id=\"entityID\" value=\"";
// line 74
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["sale"]) || array_key_exists("sale", $context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.', 74, $this->source); })()), "getID", [], "method", false, false, false, 74), "html", null, true);
echo "\">
<input type=\"hidden\" id=\"seenVideoguides\" value=\"";
// line 75
echo twig_escape_filter($this->env, (isset($context["seenVideoguides"]) || array_key_exists("seenVideoguides", $context) ? $context["seenVideoguides"] : (function () { throw new RuntimeError('Variable "seenVideoguides" does not exist.', 75, $this->source); })()), "html", null, true);
echo "\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 78
public function block_popup($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "popup"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "popup"));
// line 79
echo " ";
$this->displayParentBlock("popup", $context, $blocks);
echo "
";
// line 80
$this->loadTemplate("Slivki/mobile/share_block.html.twig", "Slivki/mobile/sale/videoguide/details.html.twig", 80)->display($context);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 83
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "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 84
echo " <script src=\"https://yastatic.net/es5-shims/0.0.2/es5-shims.min.js\"></script>
<script src=\"https://yastatic.net/share2/share.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.5/jquery.fancybox.min.js\"></script>
";
// line 87
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script src=\"/mobile/js/videoguide.js?v=";
// line 88
echo twig_escape_filter($this->env, (isset($context["mobile_videoguide_js_version"]) || array_key_exists("mobile_videoguide_js_version", $context) ? $context["mobile_videoguide_js_version"] : (function () { throw new RuntimeError('Variable "mobile_videoguide_js_version" does not exist.', 88, $this->source); })()), "html", null, true);
echo "\"></script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "Slivki/mobile/sale/videoguide/details.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 284 => 88, 280 => 87, 275 => 84, 265 => 83, 255 => 80, 250 => 79, 240 => 78, 228 => 75, 224 => 74, 219 => 71, 217 => 70, 200 => 55, 197 => 53, 185 => 46, 179 => 45, 175 => 44, 168 => 40, 162 => 37, 159 => 36, 157 => 35, 151 => 31, 144 => 29, 141 => 28, 139 => 27, 134 => 25, 130 => 24, 124 => 21, 119 => 19, 111 => 14, 105 => 13, 101 => 12, 96 => 9, 86 => 8, 74 => 5, 71 => 4, 61 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'Slivki/mobile/base.html.twig' %}
{% block styles %}
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.5/jquery.fancybox.min.css\" />
{{ parent() }}
{% endblock %}
{% block content %}
<div id=\"videoguideDetailsPage\">
<nav aria-label=\"breadcrumb\">
<ol class=\"breadcrumb m-0 py-1 px-2 bg-white\">
<li class=\"breadcrumb-item\"><a href=\"{{ base_url }}\">Главная</a></li>
<li class=\"breadcrumb-item\"><a href=\"{{ getURL(\"Slivki:Sale:category\", videoguideCategory.category.getID()) }}\">{{ videoguideCategory.category.getName() }}</a></li>
<li class=\"breadcrumb-item active\" aria-current=\"page\">{{ sale.getTitle() }}</li>
</ol>
</nav>
<div class=\"m-2\">
<div class=\"embed-responsive embed-responsive-16by9\">
<iframe src=\"//www.youtube.com/embed/{{ sale.getVideoGuideYoutubeID() }}\" frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen></iframe>
</div>
<h1 class=\"my-3 p-0\">{{ sale.getTitle() }}</h1>
<div class=\"clearfix\">
<div class=\"text-muted float-left\">
<div><i class=\"slivki-icon-calendar-empty\"></i> Опубликовано: {{ sale.getSince()|date('d.m.Y') }}</div>
<div><i class=\"slivki-icon-eye\"></i> Просмотров: {{ visitCount }}</div>
</div>
{% if sale.getOfferLinkUrl() and sale.getOfferLinkName() and sale.getOfferLinkUrl() != '' and sale.getOfferLinkName() != '' %}
<div class=\"clearfix mb-2\"></div>
<a class=\"bg-slivki text-white rounded-20 border-slivki py-2 px-3 float-left\" href=\"{{ sale.getOfferLinkUrl() }}\">{{ sale.getOfferLinkName() }}</a>
{% endif %}
<div class=\"slivki-share-block-open text-dark border p-2 float-right\"><i class=\"slivki-icon-share\"></i>Поделиться</div>
</div>
</div>
<div class=\"row no-gutters\">
{% if authorCategory is defined %}
<div class=\"text-center col-sm-6\">
<a class=\"card border-0 d-inline-block videoguide-author-category my-1 clearfix\" href=\"{{ getURL(\"Slivki:Sale:category\", authorCategory.category.getID()) }}\" target=\"_blank\">
<div class=\"row no-gutters\">
<div class=\"col-auto\">
<img width=\"64\" height=\"64\" class=\"d-block border rounded-circle float-left p-1 mr-2\" src=\"{{ getImageURL(authorCategory.category.getHotFeedIconMedia(), 128, 128) }}\" alt=''/>
</div>
<div class=\"col text-left\">
<div class=\"card-block px-1 text-dark\">
{{ authorCategory.category.getName() }}<br />
<span class=\"text-muted\">{{ authorCategory.category.getEntityCount() }} репортаж{{ ['', 'a', 'ей']|plural(authorCategory.category.getEntityCount()) }}</span><br />
<span class=\"text-muted\">{{ authorCategory.visitCount }} просмотр{{ ['', 'a', 'ов']|plural(authorCategory.visitCount) }}</span>
</div>
</div>
</div>
</a>
</div>
{% endif %}
{% include 'Slivki/mobile/sale/vote_entity_block.html.twig'
with {'pleaseVoteText': 'Оцените, пожалуйста, это видео:', 'additionalClass': 'col-sm-6'} %}
</div>
<div class=\"bg-light-gray py-3 my-2 text-center subscribe-on-youtube\">
<div class=\"d-inline-block text-center align-middle mr-sm-2 mb-sm-0 mb-2\">
<strong>Подписывайтесь на наш канал в Youtube!</strong><br>
Свежие обзоры из магазинов каждый день!
</div>
<a target=\"_blank\" href=\"https://www.youtube.com/channel/UCDy2sjRppCchend8p76cBxA?sub_confirmation=1\">
► Подписаться
</a>
</div>
<div id=\"commentsBlock\" class=\"m-2 d-none\"></div>
<div class=\"h6 m-2\"><strong>Следущее:</strong></div>
<div id=\"nextVideoGuides\" class=\"row no-gutters\">
{% include 'Slivki/mobile/sale/videoguide/next.html.twig' %}
</div>
<img class=\"d-block my-3 mx-auto\" id='nextVideoGuideLoader' src='/images/image-preview-ajax-loader.gif' alt='Загрузка...'/>
</div>
<input type=\"hidden\" id=\"entityID\" value=\"{{ sale.getID() }}\">
<input type=\"hidden\" id=\"seenVideoguides\" value=\"{{ seenVideoguides }}\">
{% endblock %}
{% block popup %}
{{ parent() }}
{% include 'Slivki/mobile/share_block.html.twig' %}
{% endblock %}
{% block javascripts %}
<script src=\"https://yastatic.net/es5-shims/0.0.2/es5-shims.min.js\"></script>
<script src=\"https://yastatic.net/share2/share.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.5/jquery.fancybox.min.js\"></script>
{{ parent() }}
<script src=\"/mobile/js/videoguide.js?v={{ mobile_videoguide_js_version }}\"></script>
{% endblock %}", "Slivki/mobile/sale/videoguide/details.html.twig", "/mnt/data/virtwww/slivki/templates/Slivki/mobile/sale/videoguide/details.html.twig");
}
}