<?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;
/* website/product/product-detail.html.twig */
class __TwigTemplate_7bd341caba59cada86ba2a08d22426841593bb038868d17d56ad47bf37245460 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'bodyTag' => [$this, 'block_bodyTag'],
'product_detail_css' => [$this, 'block_product_detail_css'],
'meta' => [$this, 'block_meta'],
'metaIndex' => [$this, 'block_metaIndex'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 2
return "website/main.template.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", "website/product/product-detail.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "website/product/product-detail.html.twig"));
// line 1
$macros["__internal_70214ba143efd016b4a87900e77ca88a060e0220e98556f349dbae2d8003c0dc"] = $this->macros["__internal_70214ba143efd016b4a87900e77ca88a060e0220e98556f349dbae2d8003c0dc"] = $this->loadTemplate("utils.html.twig", "website/product/product-detail.html.twig", 1)->unwrap();
// line 54
$context["productTypeText"] = $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getProductTypeTextTranslate(twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 54, $this->source); })()), "type", [], "any", false, false, false, 54));
// line 56
$context["isOne"] = ((1 === twig_compare(twig_length_filter($this->env, (isset($context["productOffers"]) || array_key_exists("productOffers", $context) ? $context["productOffers"] : (function () { throw new RuntimeError('Variable "productOffers" does not exist.', 56, $this->source); })())), 1)) || (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 56, $this->source); })()), "type", [], "any", false, false, false, 56), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::SUBSCRIPTION"))));
// line 57
$context["infoOffer"] = $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getInfoAccessProductOffer((isset($context["productOffer"]) || array_key_exists("productOffer", $context) ? $context["productOffer"] : (function () { throw new RuntimeError('Variable "productOffer" does not exist.', 57, $this->source); })()), false, (isset($context["productCoupon"]) || array_key_exists("productCoupon", $context) ? $context["productCoupon"] : (function () { throw new RuntimeError('Variable "productCoupon" does not exist.', 57, $this->source); })()), (isset($context["isOne"]) || array_key_exists("isOne", $context) ? $context["isOne"] : (function () { throw new RuntimeError('Variable "isOne" does not exist.', 57, $this->source); })()));
// line 58
$context["isInCart"] = $this->extensions['EADPlataforma\Twig\FunctionsExtension']->productIsInCart(twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 58, $this->source); })()), "id", [], "any", false, false, false, 58), twig_get_attribute($this->env, $this->source, (isset($context["productOffer"]) || array_key_exists("productOffer", $context) ? $context["productOffer"] : (function () { throw new RuntimeError('Variable "productOffer" does not exist.', 58, $this->source); })()), "id", [], "any", false, false, false, 58));
// line 59
$context["canBuyNow"] = (twig_get_attribute($this->env, $this->source, (isset($context["infoOffer"]) || array_key_exists("infoOffer", $context) ? $context["infoOffer"] : (function () { throw new RuntimeError('Variable "infoOffer" does not exist.', 59, $this->source); })()), "allowBuyNow", [], "any", false, false, false, 59) || twig_get_attribute($this->env, $this->source, (isset($context["infoOffer"]) || array_key_exists("infoOffer", $context) ? $context["infoOffer"] : (function () { throw new RuntimeError('Variable "infoOffer" does not exist.', 59, $this->source); })()), "isFree", [], "any", false, false, false, 59));
// line 2
$this->parent = $this->loadTemplate("website/main.template.html.twig", "website/product/product-detail.html.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 4
public function block_title($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", "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
echo " <title>";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 5, $this->source); })()), "title", [], "any", false, false, false, 5) . " - ") . twig_get_attribute($this->env, $this->source, (isset($context["client"]) || array_key_exists("client", $context) ? $context["client"] : (function () { throw new RuntimeError('Variable "client" does not exist.', 5, $this->source); })()), "brand", [], "any", false, false, false, 5)), "html", null, true);
echo "</title>
<meta name=\"title\" content=\"";
// line 6
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 6, $this->source); })()), "title", [], "any", false, false, false, 6) . " - ") . twig_get_attribute($this->env, $this->source, (isset($context["client"]) || array_key_exists("client", $context) ? $context["client"] : (function () { throw new RuntimeError('Variable "client" does not exist.', 6, $this->source); })()), "brand", [], "any", false, false, false, 6)), "html", null, true);
echo "\">
<meta property=\"og:title\" content=\"";
// line 7
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 7, $this->source); })()), "title", [], "any", false, false, false, 7) . " - ") . twig_get_attribute($this->env, $this->source, (isset($context["client"]) || array_key_exists("client", $context) ? $context["client"] : (function () { throw new RuntimeError('Variable "client" does not exist.', 7, $this->source); })()), "brand", [], "any", false, false, false, 7)), "html", null, true);
echo "\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 10
public function block_bodyTag($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", "bodyTag"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyTag"));
// line 11
echo " <body
id=\"body\"
class=\"product-detail-body ";
// line 13
echo ((twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 13, $this->source); })()), "showShortageControlTime", [], "any", false, false, false, 13)) ? ("page-height-top") : (""));
echo "\"
data-theme=\"";
// line 14
echo (((isset($context["isDarkTheme"]) || array_key_exists("isDarkTheme", $context) ? $context["isDarkTheme"] : (function () { throw new RuntimeError('Variable "isDarkTheme" does not exist.', 14, $this->source); })())) ? ("dark") : ("light"));
echo "\"
";
// line 15
if ((isset($context["isDarkTheme"]) || array_key_exists("isDarkTheme", $context) ? $context["isDarkTheme"] : (function () { throw new RuntimeError('Variable "isDarkTheme" does not exist.', 15, $this->source); })())) {
echo " data-hide-deco=\"";
echo (((isset($context["hideBgDeco"]) || array_key_exists("hideBgDeco", $context) ? $context["hideBgDeco"] : (function () { throw new RuntimeError('Variable "hideBgDeco" does not exist.', 15, $this->source); })())) ? (1) : (0));
echo "\"";
}
// line 16
echo "
data-shortagevisualizationnumber=\"";
// line 17
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 17, $this->source); })()), "shortageVisualizationNumber", [], "any", false, false, false, 17), "html", null, true);
echo "\"
data-shortagebuyersnumber=\"";
// line 18
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 18, $this->source); })()), "shortageBuyersNumber", [], "any", false, false, false, 18), "html", null, true);
echo "\"
data-shortagevacanciesnumber=\"";
// line 19
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 19, $this->source); })()), "shortageVacanciesNumber", [], "any", false, false, false, 19), "html", null, true);
echo "\"
data-shortagevisualization=\"";
// line 21
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 21, $this->source); })()), "showShortageControlVisualization", [], "any", false, false, false, 21), "html", null, true);
echo "\"
data-shortagebuyers=\"";
// line 22
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 22, $this->source); })()), "showShortageControlBuyers", [], "any", false, false, false, 22), "html", null, true);
echo "\"
data-shortagevacancies=\"";
// line 23
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 23, $this->source); })()), "showShortageControlVacancies", [], "any", false, false, false, 23), "html", null, true);
echo "\"
data-shortagestorage=\"";
// line 24
echo twig_escape_filter($this->env, (isset($context["actualDomain"]) || array_key_exists("actualDomain", $context) ? $context["actualDomain"] : (function () { throw new RuntimeError('Variable "actualDomain" does not exist.', 24, $this->source); })()), "html", null, true);
echo "_";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["productOffer"]) || array_key_exists("productOffer", $context) ? $context["productOffer"] : (function () { throw new RuntimeError('Variable "productOffer" does not exist.', 24, $this->source); })()), "id", [], "any", false, false, false, 24), "html", null, true);
echo "_";
(((isset($context["session"]) || array_key_exists("session", $context) ? $context["session"] : (function () { throw new RuntimeError('Variable "session" does not exist.', 24, $this->source); })())) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["session"]) || array_key_exists("session", $context) ? $context["session"] : (function () { throw new RuntimeError('Variable "session" does not exist.', 24, $this->source); })()), "user", [], "any", false, false, false, 24), "id", [], "any", false, false, false, 24), "html", null, true))) : (print ("")));
echo "\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 27
public function block_product_detail_css($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", "product_detail_css"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "product_detail_css"));
// line 28
echo " ";
$this->loadTemplate("website/includes/css-product-detail.html.twig", "website/product/product-detail.html.twig", 28)->display($context);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 31
public function block_meta($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", "meta"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
// line 32
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 32, $this->source); })()), "overview", [], "any", false, false, false, 32)) {
// line 33
echo " <meta name=\"description\" content=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 33, $this->source); })()), "overview", [], "any", false, false, false, 33), "html", null, true);
echo "\">
<meta property=\"og:description\" content=\"";
// line 34
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 34, $this->source); })()), "overview", [], "any", false, false, false, 34), "html", null, true);
echo "\">
";
}
// line 36
echo "
<meta property=\"og:image\" content=\"https:";
// line 37
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getFilePathComplete(["fileName" => (((1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, // line 39
(isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 39, $this->source); })()), "photo", [], "any", false, false, false, 39)), 0))) ? (twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 39, $this->source); })()), "photo", [], "any", false, false, false, 39)) : ($this->extensions['EADPlataforma\Twig\FunctionsExtension']->getConfig("image_default"))), "pathConst" => $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("AbstractEnum::PATH_PRODUCT_PHOTO"), "addUpload" => $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("AbstractEnum::YES")]), "pathCdn", [], "any", false, false, false, 38), "html", null, true);
// line 43
echo "\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 46
public function block_metaIndex($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", "metaIndex"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaIndex"));
// line 47
echo " ";
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["productOffer"]) || array_key_exists("productOffer", $context) ? $context["productOffer"] : (function () { throw new RuntimeError('Variable "productOffer" does not exist.', 47, $this->source); })()), "default", [], "any", false, false, false, 47), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::YES")))) {
// line 48
echo " <meta name=\"robots\" content=\"nofollow\">
";
} else {
// line 50
echo " <meta name=\"robots\" content=\"index, follow\">
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 61
public function block_body($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", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 62
echo "
";
// line 64
echo " ";
$this->loadTemplate("website/includes/fast-timer.html.twig", "website/product/product-detail.html.twig", 64)->display($context);
// line 65
echo "
";
// line 67
echo " ";
$this->loadTemplate("website/includes/search-section.html.twig", "website/product/product-detail.html.twig", 67)->display($context);
// line 68
echo "
";
// line 70
echo " ";
$this->loadTemplate("website/product/product-detail-banner-section.html.twig", "website/product/product-detail.html.twig", 70)->display($context);
// line 71
echo "
";
// line 73
echo " <div id=\"wrap-video-init\">
";
// line 74
if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 74, $this->source); })()), "library", [], "any", false, false, false, 74)) && (isset($context["credentials"]) || array_key_exists("credentials", $context) ? $context["credentials"] : (function () { throw new RuntimeError('Variable "credentials" does not exist.', 74, $this->source); })()))) {
// line 75
echo " ";
$this->loadTemplate("website/includes/video.html.twig", "website/product/product-detail.html.twig", 75)->display(twig_array_merge($context, ["url" => ((((("https://player.vdocipher.com/v2/?otp=" . twig_get_attribute($this->env, $this->source, // line 76
(isset($context["credentials"]) || array_key_exists("credentials", $context) ? $context["credentials"] : (function () { throw new RuntimeError('Variable "credentials" does not exist.', 76, $this->source); })()), "otp", [], "any", false, false, false, 76)) . "&playbackInfo=") . twig_get_attribute($this->env, $this->source, (isset($context["credentials"]) || array_key_exists("credentials", $context) ? $context["credentials"] : (function () { throw new RuntimeError('Variable "credentials" does not exist.', 76, $this->source); })()), "playbackInfo", [], "any", false, false, false, 76)) . "&primaryColor=") . twig_trim_filter($this->extensions['EADPlataforma\Twig\FunctionsExtension']->getConfig("primary_color"), "#")), "autoplay" => twig_get_attribute($this->env, $this->source, // line 77
(isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 77, $this->source); })()), "autoplay", [], "any", false, false, false, 77), "title" => twig_get_attribute($this->env, $this->source, // line 78
(isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 78, $this->source); })()), "title", [], "any", false, false, false, 78), "width" => 353, "height" => 211, "library" => true]));
// line 83
echo "
";
// line 85
echo " ";
} elseif ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 85, $this->source); })()), "video", [], "any", false, false, false, 85))) {
// line 86
echo " ";
$this->loadTemplate("website/includes/video.html.twig", "website/product/product-detail.html.twig", 86)->display(twig_array_merge($context, ["url" => twig_get_attribute($this->env, $this->source, // line 87
(isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 87, $this->source); })()), "video", [], "any", false, false, false, 87), "autoplay" => twig_get_attribute($this->env, $this->source, // line 88
(isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 88, $this->source); })()), "autoplay", [], "any", false, false, false, 88), "title" => twig_get_attribute($this->env, $this->source, // line 89
(isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 89, $this->source); })()), "title", [], "any", false, false, false, 89), "width" => 353, "height" => 211, "library" => false]));
// line 94
echo " ";
}
// line 95
echo " </div>
<div class=\"contem-menu-anchors\">
<section class=\"menu-anchors\" data-page-height-top=\"";
// line 98
echo ((twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 98, $this->source); })()), "showShortageControlTime", [], "any", false, false, false, 98)) ? ("1") : ("0"));
echo "\">
<div class=\"container\">
<nav class=\"lateral-products\">
";
// line 101
if ((1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 101, $this->source); })()), "about", [], "any", false, false, false, 101)), 0))) {
// line 102
echo " <a data-link-scroll=\"#sec-about\">";
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("about", "product"), "html", null, true);
echo "</a>
";
}
// line 104
echo "
";
// line 105
if (((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 105, $this->source); })()), "type", [], "any", false, false, false, 105), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::COURSE"))) && (1 === twig_compare(twig_length_filter($this->env, (isset($context["lessonModules"]) || array_key_exists("lessonModules", $context) ? $context["lessonModules"] : (function () { throw new RuntimeError('Variable "lessonModules" does not exist.', 105, $this->source); })())), 0)))) {
// line 106
echo " <a data-link-scroll=\"#sec-content\">
";
// line 107
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("content", "product"), "html", null, true);
echo "
</a>
";
}
// line 110
echo "
";
// line 111
if (((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 111, $this->source); })()), "type", [], "any", false, false, false, 111), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::SUBSCRIPTION"))) || (0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 111, $this->source); })()), "type", [], "any", false, false, false, 111), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::COMBO"))))) {
// line 112
echo " ";
if ((1 === twig_compare(twig_length_filter($this->env, (isset($context["courses"]) || array_key_exists("courses", $context) ? $context["courses"] : (function () { throw new RuntimeError('Variable "courses" does not exist.', 112, $this->source); })())), 0))) {
// line 113
echo " <a data-link-scroll=\"#sec-content\">
";
// line 114
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("courses", "product"), "html", null, true);
echo "
</a>
";
}
// line 117
echo " ";
}
// line 118
echo "
";
// line 119
if ((1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["teacherSection"]) || array_key_exists("teacherSection", $context) ? $context["teacherSection"] : (function () { throw new RuntimeError('Variable "teacherSection" does not exist.', 119, $this->source); })()), "teachers", [], "any", false, false, false, 119)), 0))) {
// line 120
echo " <a data-link-scroll=\"#sec-instructors\">";
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("instructors", "product"), "html", null, true);
echo "</a>
";
}
// line 122
echo "
";
// line 123
if (($this->extensions['EADPlataforma\Twig\FunctionsExtension']->isModuleActive("faq_module") && (1 === twig_compare(twig_length_filter($this->env, (isset($context["faqs"]) || array_key_exists("faqs", $context) ? $context["faqs"] : (function () { throw new RuntimeError('Variable "faqs" does not exist.', 123, $this->source); })())), 0)))) {
// line 124
echo " <a data-link-scroll=\"#sec-faq\">FAQ</a>
";
}
// line 126
echo "
";
// line 127
if ((((1 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["scoreProduct"]) || array_key_exists("scoreProduct", $context) ? $context["scoreProduct"] : (function () { throw new RuntimeError('Variable "scoreProduct" does not exist.', 127, $this->source); })()), "scoreTotal", [], "any", false, false, false, 127), 0)) && twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 127, $this->source); })()), "showModuleTestimonials", [], "any", false, false, false, 127)) && (0 === twig_compare($this->extensions['EADPlataforma\Twig\FunctionsExtension']->getConfig("allow_testimonial"), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("CourseEnum::YES"))))) {
// line 128
echo " <a data-link-scroll=\"#sec-reviews\">";
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("rates", "product"), "html", null, true);
echo "</a>
";
}
// line 130
echo " </nav>
</div>
</section>
</div>
<div class=\"container\">
";
// line 137
echo " ";
if ((1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 137, $this->source); })()), "about", [], "any", false, false, false, 137)), 0))) {
// line 138
echo " <section id=\"sec-about\" class=\"text-open lateral-products\">
<h2>
";
// line 140
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 140, $this->source); })()), "type", [], "any", false, false, false, 140), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::SUBSCRIPTION")))) {
// line 141
echo " ";
echo twig_escape_filter($this->env, (($this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("about_the2", "product") . " ") . twig_capitalize_string_filter($this->env, (isset($context["productTypeText"]) || array_key_exists("productTypeText", $context) ? $context["productTypeText"] : (function () { throw new RuntimeError('Variable "productTypeText" does not exist.', 141, $this->source); })()))), "html", null, true);
echo "
";
} else {
// line 143
echo " ";
echo twig_escape_filter($this->env, (($this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("about_the", "product") . " ") . twig_capitalize_string_filter($this->env, (isset($context["productTypeText"]) || array_key_exists("productTypeText", $context) ? $context["productTypeText"] : (function () { throw new RuntimeError('Variable "productTypeText" does not exist.', 143, $this->source); })()))), "html", null, true);
echo "
";
}
// line 145
echo " </h2>
<div class=\"wrap txt\">
<div class=\"contem fr-view\">
";
// line 149
echo twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 149, $this->source); })()), "about", [], "any", false, false, false, 149);
echo "
</div>
</div>
<button class=\"mais js--abre\">
<span>";
// line 153
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("show_more", "product"), "html", null, true);
echo "</span>
<span>";
// line 154
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("show_less", "product"), "html", null, true);
echo "</span>
</button>
</section>
";
}
// line 158
echo "
";
// line 160
echo " ";
if ((1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 160, $this->source); })()), "target", [], "any", false, false, false, 160)), 0))) {
// line 161
echo " <section id=\"sec-publico\" class=\"text-open lateral-products\">
<h2>";
// line 162
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("target_audience", "product"), "html", null, true);
echo "</h2>
<div class=\"wrap txt\">
<div class=\"contem fr-view\">
";
// line 165
echo twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 165, $this->source); })()), "target", [], "any", false, false, false, 165);
echo "
</div>
</div>
<button class=\"mais js--abre\">
<span>";
// line 169
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("show_more", "product"), "html", null, true);
echo "</span>
<span>";
// line 170
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("show_less", "product"), "html", null, true);
echo "</span>
</button>
</section>
";
}
// line 174
echo "
";
// line 176
echo " ";
if ((((1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 176, $this->source); })()), "aboutCertificate", [], "any", false, false, false, 176)), 0)) && (isset($context["certificate"]) || array_key_exists("certificate", $context) ? $context["certificate"] : (function () { throw new RuntimeError('Variable "certificate" does not exist.', 176, $this->source); })())) && $this->extensions['EADPlataforma\Twig\FunctionsExtension']->isModuleActive("course_certificate_module"))) {
// line 177
echo " <section id=\"sec-publico\" class=\"text-open lateral-products\">
<h2>";
// line 178
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("about_certificate", "product"), "html", null, true);
echo "</h2>
<div class=\"wrap txt\">
<div class=\"contem fr-view\">
";
// line 181
echo twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 181, $this->source); })()), "aboutCertificate", [], "any", false, false, false, 181);
echo "
</div>
</div>
<button class=\"mais js--abre\">
<span>";
// line 185
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("show_more", "product"), "html", null, true);
echo "</span>
<span>";
// line 186
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("show_less", "product"), "html", null, true);
echo "</span>
</button>
</section>
";
}
// line 190
echo " </div>
<div class=\"container\">
";
// line 194
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 194, $this->source); })()), "type", [], "any", false, false, false, 194), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::COURSE")))) {
// line 195
echo " ";
if (((0 === twig_compare((isset($context["lifetimePeriod"]) || array_key_exists("lifetimePeriod", $context) ? $context["lifetimePeriod"] : (function () { throw new RuntimeError('Variable "lifetimePeriod" does not exist.', 195, $this->source); })()), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("CourseEnum::YES"))) || (isset($context["accessPeriod"]) || array_key_exists("accessPeriod", $context) ? $context["accessPeriod"] : (function () { throw new RuntimeError('Variable "accessPeriod" does not exist.', 195, $this->source); })()))) {
// line 196
echo " <div class=\"lateral-products\">
<div class=\"product-validade\">
";
// line 198
if ((0 === twig_compare((isset($context["lifetimePeriod"]) || array_key_exists("lifetimePeriod", $context) ? $context["lifetimePeriod"] : (function () { throw new RuntimeError('Variable "lifetimePeriod" does not exist.', 198, $this->source); })()), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("CourseEnum::YES")))) {
// line 199
echo " <div class=\"period\">
<i class=\"fas fa-infinity\"></i>
";
// line 202
echo " </div>
<p class=\"title\">";
// line 203
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("no_time", "product"), "html", null, true);
echo "</p>
<p class=\"desc\">";
// line 204
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("rest_assured", "product"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("lifetime_period", "product"), "html", null, true);
echo "</p>
";
} elseif ( // line 205
(isset($context["accessPeriod"]) || array_key_exists("accessPeriod", $context) ? $context["accessPeriod"] : (function () { throw new RuntimeError('Variable "accessPeriod" does not exist.', 205, $this->source); })())) {
// line 206
echo " <div class=\"period\">";
echo twig_escape_filter($this->env, (isset($context["accessPeriod"]) || array_key_exists("accessPeriod", $context) ? $context["accessPeriod"] : (function () { throw new RuntimeError('Variable "accessPeriod" does not exist.', 206, $this->source); })()), "html", null, true);
echo "</div>
<p class=\"title\">";
// line 207
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("no_time", "product"), "html", null, true);
echo "</p>
<p class=\"desc\">";
// line 208
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("rest_assured", "product"), "html", null, true);
echo "
";
// line 209
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("in_until", "product"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, (isset($context["accessPeriod"]) || array_key_exists("accessPeriod", $context) ? $context["accessPeriod"] : (function () { throw new RuntimeError('Variable "accessPeriod" does not exist.', 209, $this->source); })()), "html", null, true);
echo "
";
// line 210
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("after_enrollment", "product"), "html", null, true);
echo "</p>
";
}
// line 212
echo " </div>
</div>
";
}
// line 215
echo " ";
}
// line 216
echo "
";
// line 218
echo " ";
if (((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 218, $this->source); })()), "type", [], "any", false, false, false, 218), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::SUBSCRIPTION"))) && !$this->extensions['EADPlataforma\Twig\FunctionsExtension']->userHasProduct((isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 218, $this->source); })())))) {
// line 219
echo " <div class=\"lateral-products\">
<div class=\"product-validade\">
<div class=\"period\">
<p>";
// line 222
echo twig_escape_filter($this->env, twig_length_filter($this->env, (isset($context["courses"]) || array_key_exists("courses", $context) ? $context["courses"] : (function () { throw new RuntimeError('Variable "courses" does not exist.', 222, $this->source); })())), "html", null, true);
echo " <small>";
echo twig_escape_filter($this->env, (((1 === twig_compare(twig_length_filter($this->env, (isset($context["courses"]) || array_key_exists("courses", $context) ? $context["courses"] : (function () { throw new RuntimeError('Variable "courses" does not exist.', 222, $this->source); })())), 1))) ? ($this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("courses_lowercase", "product")) : ($this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("course_lowercase", "product"))), "html", null, true);
echo "</small></p>
</div>
<p class=\"title\">";
// line 224
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("subscribe_now", "product"), "html", null, true);
echo "</p>
";
// line 226
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["productOffer"]) || array_key_exists("productOffer", $context) ? $context["productOffer"] : (function () { throw new RuntimeError('Variable "productOffer" does not exist.', 226, $this->source); })()), "membershipFee", [], "any", false, false, false, 226), 0))) {
// line 227
echo " <p class=\"desc\">";
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("free_membership_fee", "product"), "html", null, true);
echo "!</p>
";
} else {
// line 229
echo " <p class=\"desc\">";
echo sprintf((" + %s " . $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("membership_fee", "product")), twig_call_macro($macros["__internal_70214ba143efd016b4a87900e77ca88a060e0220e98556f349dbae2d8003c0dc"], "macro_moeda", [twig_get_attribute($this->env, $this->source, (isset($context["productOffer"]) || array_key_exists("productOffer", $context) ? $context["productOffer"] : (function () { throw new RuntimeError('Variable "productOffer" does not exist.', 229, $this->source); })()), "membershipFee", [], "any", false, false, false, 229)], 229, $context, $this->getSourceContext()));
echo "</p>
";
}
// line 231
echo " <div class=\"acoes\">
";
// line 232
if ((isset($context["isOne"]) || array_key_exists("isOne", $context) ? $context["isOne"] : (function () { throw new RuntimeError('Variable "isOne" does not exist.', 232, $this->source); })())) {
// line 233
echo " <a data-link-scroll=\"#ofertas-planos\" class=\"btn-matricula\">";
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("subscribe", "product"), "html", null, true);
echo "</a>
";
}
// line 235
echo " </div>
</div>
</div>
";
}
// line 239
echo " </div>
";
// line 242
echo " ";
if (((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 242, $this->source); })()), "type", [], "any", false, false, false, 242), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::SUBSCRIPTION"))) || (0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 242, $this->source); })()), "type", [], "any", false, false, false, 242), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::COMBO"))))) {
// line 243
echo " ";
// line 244
echo " <div id=\"sec-content\" class=\"inclusos\">
";
// line 245
$this->loadTemplate("website/course/course-section.html.twig", "website/product/product-detail.html.twig", 245)->display(twig_array_merge($context, ["section" => (isset($context["planCoursesSection"]) || array_key_exists("planCoursesSection", $context) ? $context["planCoursesSection"] : (function () { throw new RuntimeError('Variable "planCoursesSection" does not exist.', 245, $this->source); })())]));
// line 246
echo " </div>
";
}
// line 248
echo "
";
// line 250
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 250, $this->source); })()), "type", [], "any", false, false, false, 250), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::COURSE")))) {
// line 251
echo " <div id=\"sec-content\">
<div class=\"container\">
<div class=\"lateral-products\">
";
// line 254
$this->loadTemplate("website/product/product-detail-course-content-section.html.twig", "website/product/product-detail.html.twig", 254)->display(twig_array_merge($context, ["show" => 3, "open" => 1]));
// line 255
echo " </div>
</div>
</div>
";
}
// line 259
echo "
";
// line 261
echo " <div id=\"sec-instructors\">
<div class=\"container\">
<div class=\"lateral-products\">
";
// line 264
$this->loadTemplate("website/teacher/teacher-section.html.twig", "website/product/product-detail.html.twig", 264)->display(twig_array_merge($context, ["layout" => "product", "theme" => (((isset($context["isDarkTheme"]) || array_key_exists("isDarkTheme", $context) ? $context["isDarkTheme"] : (function () { throw new RuntimeError('Variable "isDarkTheme" does not exist.', 264, $this->source); })())) ? ("dark") : ("light"))]));
// line 265
echo " </div>
</div>
</div>
";
// line 270
echo " ";
if ($this->extensions['EADPlataforma\Twig\FunctionsExtension']->isModuleActive("faq_module")) {
// line 271
echo " ";
$this->loadTemplate("website/faq/faq-section.html.twig", "website/product/product-detail.html.twig", 271)->display(twig_array_merge($context, ["layout" => "produto"]));
// line 272
echo " ";
}
// line 273
echo "
";
// line 275
echo " ";
if ((((1 === twig_compare(twig_length_filter($this->env, (isset($context["productOffers"]) || array_key_exists("productOffers", $context) ? $context["productOffers"] : (function () { throw new RuntimeError('Variable "productOffers" does not exist.', 275, $this->source); })())), 1)) && (0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 275, $this->source); })()), "type", [], "any", false, false, false, 275), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::SUBSCRIPTION")))) && !$this->extensions['EADPlataforma\Twig\FunctionsExtension']->userHasProduct((isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 275, $this->source); })())))) {
// line 276
echo " <section id=\"ofertas-planos\" class=\"pag-sec sec-bg-alt\">
<div class=\"container\">
<div class=\"lateral-products\">
<header class=\"tit-sec tx-centro\">
<h2>";
// line 280
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("offers", "product"), "html", null, true);
echo " <b>";
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("flexible", "product"), "html", null, true);
echo "</b></h2>
<span class=\"sub\">";
// line 281
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("choose_the_plan", "product"), "html", null, true);
echo "</span>
</header>
";
// line 283
$this->loadTemplate("website/product/product-detail-plan-cycles-section.html.twig", "website/product/product-detail.html.twig", 283)->display(twig_array_merge($context, ["full" => (((-1 === twig_compare(twig_length_filter($this->env, // line 284
(isset($context["productOffers"]) || array_key_exists("productOffers", $context) ? $context["productOffers"] : (function () { throw new RuntimeError('Variable "productOffers" does not exist.', 284, $this->source); })())), 3))) ? (false) : (true)), "layout" => "product"]));
// line 287
echo " </div>
</div>
</section>
";
}
// line 291
echo "
";
// line 293
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 293, $this->source); })()), "type", [], "any", false, false, false, 293), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::COURSE")))) {
// line 294
echo " <div class=\"sec-bg-strip\">
<div class=\"container\">
<div class=\"lateral-products\">
<div class=\"advantages\">
";
// line 298
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["productOffer"]) || array_key_exists("productOffer", $context) ? $context["productOffer"] : (function () { throw new RuntimeError('Variable "productOffer" does not exist.', 298, $this->source); })()), "warranty", [], "any", false, false, false, 298), 1))) {
// line 299
echo " <p>";
echo twig_call_macro($macros["__internal_70214ba143efd016b4a87900e77ca88a060e0220e98556f349dbae2d8003c0dc"], "macro_ico", ["dollar"], 299, $context, $this->getSourceContext());
echo "
<span>";
// line 300
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("day_warranty", "product"), "html", null, true);
echo "
";
// line 301
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["productOffer"]) || array_key_exists("productOffer", $context) ? $context["productOffer"] : (function () { throw new RuntimeError('Variable "productOffer" does not exist.', 301, $this->source); })()), "warrantyOption", [], "any", false, false, false, 301), "html", null, true);
echo "
";
// line 302
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->plural(twig_get_attribute($this->env, $this->source, (isset($context["productOffer"]) || array_key_exists("productOffer", $context) ? $context["productOffer"] : (function () { throw new RuntimeError('Variable "productOffer" does not exist.', 302, $this->source); })()), "warrantyOption", [], "any", false, false, false, 302), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("warranty_devolution_day", "product"), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("warranty_devolution_days", "product")), "html", null, true);
// line 305
echo "</span>
</p>
";
}
// line 308
echo "
";
// line 309
if ((0 === twig_compare((isset($context["lifetimePeriod"]) || array_key_exists("lifetimePeriod", $context) ? $context["lifetimePeriod"] : (function () { throw new RuntimeError('Variable "lifetimePeriod" does not exist.', 309, $this->source); })()), 1))) {
// line 310
echo " <p><i class=\"fas fa-infinity\"></i>
";
// line 312
echo " <span>";
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("lifetime_access", "product"), "html", null, true);
echo "</span></p>
";
} elseif ( // line 313
(isset($context["accessPeriod"]) || array_key_exists("accessPeriod", $context) ? $context["accessPeriod"] : (function () { throw new RuntimeError('Variable "accessPeriod" does not exist.', 313, $this->source); })())) {
// line 314
echo " <p>";
echo twig_call_macro($macros["__internal_70214ba143efd016b4a87900e77ca88a060e0220e98556f349dbae2d8003c0dc"], "macro_ico", ["calendar"], 314, $context, $this->getSourceContext());
echo "<span>";
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("access_by", "product"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, (isset($context["accessPeriod"]) || array_key_exists("accessPeriod", $context) ? $context["accessPeriod"] : (function () { throw new RuntimeError('Variable "accessPeriod" does not exist.', 314, $this->source); })()), "html", null, true);
echo "</span></p>
";
}
// line 316
echo "
";
// line 318
echo " ";
if ((0 === twig_compare((isset($context["support"]) || array_key_exists("support", $context) ? $context["support"] : (function () { throw new RuntimeError('Variable "support" does not exist.', 318, $this->source); })()), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("CourseEnum::YES")))) {
// line 319
echo " ";
if ((0 === twig_compare((isset($context["lifetimeSupport"]) || array_key_exists("lifetimeSupport", $context) ? $context["lifetimeSupport"] : (function () { throw new RuntimeError('Variable "lifetimeSupport" does not exist.', 319, $this->source); })()), 1))) {
// line 320
echo " <p><i class=\"fas fa-infinity\"></i>
<span>";
// line 321
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("lifetime_support", "product"), "html", null, true);
echo "</span></p>
";
} elseif ( // line 322
(isset($context["supportPeriod"]) || array_key_exists("supportPeriod", $context) ? $context["supportPeriod"] : (function () { throw new RuntimeError('Variable "supportPeriod" does not exist.', 322, $this->source); })())) {
// line 323
echo " <p>";
echo twig_call_macro($macros["__internal_70214ba143efd016b4a87900e77ca88a060e0220e98556f349dbae2d8003c0dc"], "macro_ico", ["calendar"], 323, $context, $this->getSourceContext());
echo "<span>";
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("until", "product"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, (isset($context["supportPeriod"]) || array_key_exists("supportPeriod", $context) ? $context["supportPeriod"] : (function () { throw new RuntimeError('Variable "supportPeriod" does not exist.', 323, $this->source); })()), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("of_support", "product"), "html", null, true);
echo "</span></p>
";
}
// line 325
echo " ";
}
// line 326
echo "
<p>";
// line 327
echo twig_call_macro($macros["__internal_70214ba143efd016b4a87900e77ca88a060e0220e98556f349dbae2d8003c0dc"], "macro_ico", ["coffee"], 327, $context, $this->getSourceContext());
echo "<span>";
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("study_whenever", "product"), "html", null, true);
echo "</span></p>
";
// line 329
if ((1 === twig_compare((isset($context["fileTotal"]) || array_key_exists("fileTotal", $context) ? $context["fileTotal"] : (function () { throw new RuntimeError('Variable "fileTotal" does not exist.', 329, $this->source); })()), 0))) {
// line 330
echo " <p>";
echo twig_call_macro($macros["__internal_70214ba143efd016b4a87900e77ca88a060e0220e98556f349dbae2d8003c0dc"], "macro_ico", ["smartphone"], 330, $context, $this->getSourceContext());
echo "<span>";
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("downloadable_materials", "product"), "html", null, true);
echo "</span></p>
";
}
// line 332
echo " </div>
</div>
</div>
</div>
";
}
// line 337
echo "
";
// line 339
echo " ";
if (( !twig_test_empty((isset($context["productOfferSuggestions"]) || array_key_exists("productOfferSuggestions", $context) ? $context["productOfferSuggestions"] : (function () { throw new RuntimeError('Variable "productOfferSuggestions" does not exist.', 339, $this->source); })())) && !$this->extensions['EADPlataforma\Twig\FunctionsExtension']->userHasProduct((isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 339, $this->source); })())))) {
// line 340
echo " <div class=\"container\">
<div class=\"lateral-products\">
";
// line 342
$this->loadTemplate("website/product/product-detail-upsell-section.html.twig", "website/product/product-detail.html.twig", 342)->display(twig_array_merge($context, ["suggestions" => (isset($context["productOfferSuggestions"]) || array_key_exists("productOfferSuggestions", $context) ? $context["productOfferSuggestions"] : (function () { throw new RuntimeError('Variable "productOfferSuggestions" does not exist.', 342, $this->source); })())]));
// line 343
echo " </div>
</div>
";
}
// line 346
echo "
";
// line 347
if ((((1 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["scoreProduct"]) || array_key_exists("scoreProduct", $context) ? $context["scoreProduct"] : (function () { throw new RuntimeError('Variable "scoreProduct" does not exist.', 347, $this->source); })()), "scoreTotal", [], "any", false, false, false, 347), 0)) && twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 347, $this->source); })()), "showModuleTestimonials", [], "any", false, false, false, 347)) && (0 === twig_compare($this->extensions['EADPlataforma\Twig\FunctionsExtension']->getConfig("allow_testimonial"), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("CourseEnum::YES"))))) {
// line 348
echo " ";
// line 349
echo " ";
$this->loadTemplate("website/product/product-detail-reviews-section.html.twig", "website/product/product-detail.html.twig", 349)->display($context);
// line 350
echo "
";
// line 352
echo " <div class=\"container mobile--wid\">
<div class=\"lateral-products\">
";
// line 354
$this->loadTemplate("website/course/course-testimonial-section.html.twig", "website/product/product-detail.html.twig", 354)->display(twig_array_merge($context, ["layout" => "produto"]));
// line 355
echo " </div>
</div>
";
}
// line 358
echo "
";
// line 360
echo " ";
if ((0 !== twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["productOffersRelatedsSection"]) || array_key_exists("productOffersRelatedsSection", $context) ? $context["productOffersRelatedsSection"] : (function () { throw new RuntimeError('Variable "productOffersRelatedsSection" does not exist.', 360, $this->source); })()), "items", [], "any", false, false, false, 360)), 0))) {
// line 361
echo " <div class=\"container\">
<div class=\"relacionados\">
";
// line 363
$this->loadTemplate("website/product/product-section.html.twig", "website/product/product-detail.html.twig", 363)->display(twig_array_merge($context, ["section" => (isset($context["productOffersRelatedsSection"]) || array_key_exists("productOffersRelatedsSection", $context) ? $context["productOffersRelatedsSection"] : (function () { throw new RuntimeError('Variable "productOffersRelatedsSection" does not exist.', 363, $this->source); })())]));
// line 364
echo " </div>
</div>
";
}
// line 367
echo "
";
// line 369
echo " ";
if (((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 369, $this->source); })()), "type", [], "any", false, false, false, 369), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::COURSE"))) && !twig_test_empty(twig_get_attribute($this->env, $this->source, // line 370
(isset($context["productOffersSubscriptionSection"]) || array_key_exists("productOffersSubscriptionSection", $context) ? $context["productOffersSubscriptionSection"] : (function () { throw new RuntimeError('Variable "productOffersSubscriptionSection" does not exist.', 370, $this->source); })()), "items", [], "any", false, false, false, 370)))) {
// line 371
echo " ";
$this->loadTemplate("website/product/product-plans-section.html.twig", "website/product/product-detail.html.twig", 371)->display(twig_array_merge($context, ["layout" => "product"]));
// line 372
echo " ";
}
// line 373
echo "
";
// line 375
echo " ";
$this->loadTemplate("website/product/product-detail-buy-section.html.twig", "website/product/product-detail.html.twig", 375)->display($context);
// line 376
echo "
";
// line 379
echo " ";
$this->loadTemplate("website/includes/modal-waitlist.html.twig", "website/product/product-detail.html.twig", 379)->display(twig_array_merge($context, ["languageKey" => "product"]));
// line 380
echo "
";
// line 382
echo " ";
$this->loadTemplate("website/includes/modal-register.html.twig", "website/product/product-detail.html.twig", 382)->display(twig_array_merge($context, ["languageKey" => "product"]));
// line 383
echo "
";
// line 385
echo " ";
$this->loadTemplate("website/product/product-detail.html.twig", "website/product/product-detail.html.twig", 385, "404629737")->display(twig_array_merge($context, ["id" => "modal-terms-of-use", "title" => $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("ready_terms", "register"), "back" => true]));
// line 390
echo "
";
// line 392
echo " ";
$this->loadTemplate("website/product/product-detail.html.twig", "website/product/product-detail.html.twig", 392, "790886565")->display(twig_array_merge($context, ["id" => "coupons-modal", "title" => $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("avaliable_coupons", "product")]));
// line 402
echo "
";
// line 404
echo " ";
$this->loadTemplate("website/includes/modal-coupon-rules.html.twig", "website/product/product-detail.html.twig", 404)->display($context);
// line 405
echo "
";
// line 407
echo " ";
$this->loadTemplate("website/includes/modal-share.html.twig", "website/product/product-detail.html.twig", 407)->display(twig_array_merge($context, ["id" => "modal-share", "title" => $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("share", "product")]));
// line 408
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "website/product/product-detail.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 978 => 408, 975 => 407, 972 => 405, 969 => 404, 966 => 402, 963 => 392, 960 => 390, 957 => 385, 954 => 383, 951 => 382, 948 => 380, 945 => 379, 941 => 376, 938 => 375, 935 => 373, 932 => 372, 929 => 371, 927 => 370, 925 => 369, 922 => 367, 917 => 364, 915 => 363, 911 => 361, 908 => 360, 905 => 358, 900 => 355, 898 => 354, 894 => 352, 891 => 350, 888 => 349, 886 => 348, 884 => 347, 881 => 346, 876 => 343, 874 => 342, 870 => 340, 867 => 339, 864 => 337, 857 => 332, 849 => 330, 847 => 329, 840 => 327, 837 => 326, 834 => 325, 822 => 323, 820 => 322, 816 => 321, 813 => 320, 810 => 319, 807 => 318, 804 => 316, 794 => 314, 792 => 313, 787 => 312, 784 => 310, 782 => 309, 779 => 308, 774 => 305, 772 => 302, 768 => 301, 764 => 300, 759 => 299, 757 => 298, 751 => 294, 748 => 293, 745 => 291, 739 => 287, 737 => 284, 736 => 283, 731 => 281, 725 => 280, 719 => 276, 716 => 275, 713 => 273, 710 => 272, 707 => 271, 704 => 270, 698 => 265, 696 => 264, 691 => 261, 688 => 259, 682 => 255, 680 => 254, 675 => 251, 672 => 250, 669 => 248, 665 => 246, 663 => 245, 660 => 244, 658 => 243, 655 => 242, 651 => 239, 645 => 235, 639 => 233, 637 => 232, 634 => 231, 628 => 229, 622 => 227, 620 => 226, 615 => 224, 608 => 222, 603 => 219, 600 => 218, 597 => 216, 594 => 215, 589 => 212, 584 => 210, 578 => 209, 574 => 208, 570 => 207, 565 => 206, 563 => 205, 557 => 204, 553 => 203, 550 => 202, 546 => 199, 544 => 198, 540 => 196, 537 => 195, 534 => 194, 529 => 190, 522 => 186, 518 => 185, 511 => 181, 505 => 178, 502 => 177, 499 => 176, 496 => 174, 489 => 170, 485 => 169, 478 => 165, 472 => 162, 469 => 161, 466 => 160, 463 => 158, 456 => 154, 452 => 153, 445 => 149, 439 => 145, 433 => 143, 427 => 141, 425 => 140, 421 => 138, 418 => 137, 410 => 130, 404 => 128, 402 => 127, 399 => 126, 395 => 124, 393 => 123, 390 => 122, 384 => 120, 382 => 119, 379 => 118, 376 => 117, 370 => 114, 367 => 113, 364 => 112, 362 => 111, 359 => 110, 353 => 107, 350 => 106, 348 => 105, 345 => 104, 339 => 102, 337 => 101, 331 => 98, 326 => 95, 323 => 94, 321 => 89, 320 => 88, 319 => 87, 317 => 86, 314 => 85, 311 => 83, 309 => 78, 308 => 77, 307 => 76, 305 => 75, 303 => 74, 300 => 73, 297 => 71, 294 => 70, 291 => 68, 288 => 67, 285 => 65, 282 => 64, 279 => 62, 269 => 61, 257 => 50, 253 => 48, 250 => 47, 240 => 46, 229 => 43, 227 => 39, 226 => 37, 223 => 36, 218 => 34, 213 => 33, 210 => 32, 200 => 31, 189 => 28, 179 => 27, 163 => 24, 159 => 23, 155 => 22, 151 => 21, 146 => 19, 142 => 18, 138 => 17, 135 => 16, 129 => 15, 125 => 14, 121 => 13, 117 => 11, 107 => 10, 95 => 7, 91 => 6, 86 => 5, 76 => 4, 65 => 2, 63 => 59, 61 => 58, 59 => 57, 57 => 56, 55 => 54, 53 => 1, 40 => 2,);
}
public function getSourceContext()
{
return new Source("{% from 'utils.html.twig' import moeda, ico, imgUpload %}
{% extends 'website/main.template.html.twig' %}
{% block title %}
<title>{{ \"#{productPage.title} - #{client.brand}\" }}</title>
<meta name=\"title\" content=\"{{ \"#{productPage.title} - #{client.brand}\" }}\">
<meta property=\"og:title\" content=\"{{ \"#{productPage.title} - #{client.brand}\" }}\">
{% endblock %}
{% block bodyTag %}
<body
id=\"body\"
class=\"product-detail-body {{ productPage.showShortageControlTime ? 'page-height-top' }}\"
data-theme=\"{{ isDarkTheme? 'dark':'light' }}\"
{% if isDarkTheme %} data-hide-deco=\"{{ hideBgDeco? 1:0 }}\"{% endif %}
data-shortagevisualizationnumber=\"{{ productPage.shortageVisualizationNumber }}\"
data-shortagebuyersnumber=\"{{ productPage.shortageBuyersNumber }}\"
data-shortagevacanciesnumber=\"{{ productPage.shortageVacanciesNumber }}\"
data-shortagevisualization=\"{{ productPage.showShortageControlVisualization }}\"
data-shortagebuyers=\"{{ productPage.showShortageControlBuyers }}\"
data-shortagevacancies=\"{{ productPage.showShortageControlVacancies }}\"
data-shortagestorage=\"{{ actualDomain }}_{{ productOffer.id }}_{{ session ? session.user.id }}\">
{% endblock %}
{% block product_detail_css %}
{% include 'website/includes/css-product-detail.html.twig' %}
{% endblock %}
{% block meta %}
{% if (productPage.overview) %}
<meta name=\"description\" content=\"{{ productPage.overview }}\">
<meta property=\"og:description\" content=\"{{ productPage.overview }}\">
{% endif %}
<meta property=\"og:image\" content=\"https:{{
getFilePathComplete({
fileName: (productPage.photo|length > 0)? productPage.photo : getConfig('image_default'),
pathConst: enum('AbstractEnum::PATH_PRODUCT_PHOTO'),
addUpload: enum('AbstractEnum::YES')
}).pathCdn
}}\">
{% endblock %}
{% block metaIndex %}
{% if productOffer.default != enum('ProductEnum::YES') %}
<meta name=\"robots\" content=\"nofollow\">
{% else %}
<meta name=\"robots\" content=\"index, follow\">
{% endif %}
{% endblock %}
{% set productTypeText = getProductTypeTextTranslate(product.type) %}
{% set isOne = (productOffers|length > 1 or product.type != enum('ProductEnum::SUBSCRIPTION')) %}
{% set infoOffer = getInfoAccessProductOffer(productOffer, false, productCoupon, isOne) %}
{% set isInCart = productIsInCart(product.id, productOffer.id) %}
{% set canBuyNow = (infoOffer.allowBuyNow or infoOffer.isFree) %}
{% block body %}
{# FAST TIMER #}
{% include 'website/includes/fast-timer.html.twig' %}
{# SEARCH #}
{% include 'website/includes/search-section.html.twig' %}
{# BANNER #}
{% include 'website/product/product-detail-banner-section.html.twig' %}
{# LIBRARY INIT #}
<div id=\"wrap-video-init\">
{% if productPage.library is not empty and credentials %}
{% include 'website/includes/video.html.twig' with {
url: \"https://player.vdocipher.com/v2/?otp=#{ credentials.otp }&playbackInfo=#{ credentials.playbackInfo }&primaryColor=#{ getConfig('primary_color')|trim('#') }\",
autoplay: productPage.autoplay,
title: product.title,
width: 353,
height: 211,
library: true,
}%}
{# VIDEO INIT #}
{% elseif productPage.video is not empty %}
{% include 'website/includes/video.html.twig' with {
url: productPage.video,
autoplay: productPage.autoplay,
title: product.title,
width: 353,
height: 211,
library: false,
}%}
{% endif %}
</div>
<div class=\"contem-menu-anchors\">
<section class=\"menu-anchors\" data-page-height-top=\"{{ productPage.showShortageControlTime ? '1':'0' }}\">
<div class=\"container\">
<nav class=\"lateral-products\">
{% if productPage.about|length > 0 %}
<a data-link-scroll=\"#sec-about\">{{ getLanguage('about', 'product') }}</a>
{% endif %}
{% if product.type == enum('ProductEnum::COURSE') and lessonModules|length > 0 %}
<a data-link-scroll=\"#sec-content\">
{{ getLanguage('content', 'product') }}
</a>
{% endif %}
{% if product.type == enum('ProductEnum::SUBSCRIPTION') or product.type == enum('ProductEnum::COMBO') %}
{% if courses|length > 0 %}
<a data-link-scroll=\"#sec-content\">
{{ getLanguage('courses', 'product') }}
</a>
{% endif %}
{% endif %}
{% if teacherSection.teachers|length > 0 %}
<a data-link-scroll=\"#sec-instructors\">{{ getLanguage('instructors', 'product') }}</a>
{% endif %}
{% if isModuleActive('faq_module') and faqs|length > 0 %}
<a data-link-scroll=\"#sec-faq\">FAQ</a>
{% endif %}
{% if scoreProduct.scoreTotal > 0 and productPage.showModuleTestimonials and getConfig('allow_testimonial') == enum('CourseEnum::YES') %}
<a data-link-scroll=\"#sec-reviews\">{{ getLanguage('rates', 'product') }}</a>
{% endif %}
</nav>
</div>
</section>
</div>
<div class=\"container\">
{# ABOUT #}
{% if productPage.about|length > 0 %}
<section id=\"sec-about\" class=\"text-open lateral-products\">
<h2>
{% if product.type == enum('ProductEnum::SUBSCRIPTION') %}
{{\"#{getLanguage('about_the2', 'product')} #{productTypeText|capitalize}\"}}
{% else %}
{{\"#{getLanguage('about_the', 'product')} #{productTypeText|capitalize}\"}}
{% endif %}
</h2>
<div class=\"wrap txt\">
<div class=\"contem fr-view\">
{{ productPage.about|raw }}
</div>
</div>
<button class=\"mais js--abre\">
<span>{{ getLanguage('show_more', 'product') }}</span>
<span>{{ getLanguage('show_less', 'product') }}</span>
</button>
</section>
{% endif %}
{# PUBLIC #}
{% if productPage.target|length > 0 %}
<section id=\"sec-publico\" class=\"text-open lateral-products\">
<h2>{{ getLanguage('target_audience', 'product') }}</h2>
<div class=\"wrap txt\">
<div class=\"contem fr-view\">
{{ productPage.target|raw }}
</div>
</div>
<button class=\"mais js--abre\">
<span>{{ getLanguage('show_more', 'product') }}</span>
<span>{{ getLanguage('show_less', 'product') }}</span>
</button>
</section>
{% endif %}
{# ABOUT CERTIFICATE #}
{% if productPage.aboutCertificate|length > 0 and certificate and isModuleActive('course_certificate_module') %}
<section id=\"sec-publico\" class=\"text-open lateral-products\">
<h2>{{ getLanguage('about_certificate', 'product') }}</h2>
<div class=\"wrap txt\">
<div class=\"contem fr-view\">
{{ productPage.aboutCertificate|raw }}
</div>
</div>
<button class=\"mais js--abre\">
<span>{{ getLanguage('show_more', 'product') }}</span>
<span>{{ getLanguage('show_less', 'product') }}</span>
</button>
</section>
{% endif %}
</div>
<div class=\"container\">
{# MATRÍCULA -- CURSO #}
{% if product.type == enum('ProductEnum::COURSE') %}
{% if lifetimePeriod == enum('CourseEnum::YES') or accessPeriod %}
<div class=\"lateral-products\">
<div class=\"product-validade\">
{% if lifetimePeriod == enum('CourseEnum::YES') %}
<div class=\"period\">
<i class=\"fas fa-infinity\"></i>
{# {{ ico('infinity') }} !!! #}
</div>
<p class=\"title\">{{ getLanguage('no_time', 'product') }}</p>
<p class=\"desc\">{{ getLanguage('rest_assured', 'product') }} {{ getLanguage('lifetime_period', 'product') }}</p>
{% elseif accessPeriod %}
<div class=\"period\">{{ accessPeriod }}</div>
<p class=\"title\">{{ getLanguage('no_time', 'product') }}</p>
<p class=\"desc\">{{ getLanguage('rest_assured', 'product') }}
{{ getLanguage('in_until', 'product') }} {{ accessPeriod }}
{{ getLanguage('after_enrollment', 'product') }}</p>
{% endif %}
</div>
</div>
{% endif %}
{% endif %}
{# MATRÍCULA -- PLANO #}
{% if product.type == enum('ProductEnum::SUBSCRIPTION') and not userHasProduct(product) %}
<div class=\"lateral-products\">
<div class=\"product-validade\">
<div class=\"period\">
<p>{{ courses|length }} <small>{{ (courses|length > 1) ? getLanguage('courses_lowercase', 'product') : getLanguage('course_lowercase', 'product') }}</small></p>
</div>
<p class=\"title\">{{ getLanguage('subscribe_now', 'product') }}</p>
{% if productOffer.membershipFee == 0 %}
<p class=\"desc\">{{ getLanguage('free_membership_fee', 'product') }}!</p>
{% else %}
<p class=\"desc\">{{ \" + %s #{getLanguage('membership_fee', 'product')}\"|format(moeda(productOffer.membershipFee))|raw }}</p>
{% endif %}
<div class=\"acoes\">
{% if isOne %}
<a data-link-scroll=\"#ofertas-planos\" class=\"btn-matricula\">{{ getLanguage('subscribe', 'product') }}</a>
{% endif %}
</div>
</div>
</div>
{% endif %}
</div>
{# CURSOS INCLUSOS #}
{% if product.type == enum('ProductEnum::SUBSCRIPTION') or product.type == enum('ProductEnum::COMBO') %}
{# @??? !!! #}
<div id=\"sec-content\" class=\"inclusos\">
{% include 'website/course/course-section.html.twig' with { section: planCoursesSection } %}
</div>
{% endif %}
{# CONTEÚDO #}
{% if product.type == enum('ProductEnum::COURSE') %}
<div id=\"sec-content\">
<div class=\"container\">
<div class=\"lateral-products\">
{% include 'website/product/product-detail-course-content-section.html.twig' with { show: 3, open: 1 } %}
</div>
</div>
</div>
{% endif %}
{# INSTRUCTORS #}
<div id=\"sec-instructors\">
<div class=\"container\">
<div class=\"lateral-products\">
{% include 'website/teacher/teacher-section.html.twig' with { layout: 'product', theme: (isDarkTheme? 'dark':'light') }%}
</div>
</div>
</div>
{# FAQ #}
{% if isModuleActive('faq_module') %}
{% include 'website/faq/faq-section.html.twig' with { layout: 'produto' } %}
{% endif %}
{# CURRENT PLAN - CYCLES #}
{% if productOffers|length > 1 and product.type == enum('ProductEnum::SUBSCRIPTION') and not userHasProduct(product) %}
<section id=\"ofertas-planos\" class=\"pag-sec sec-bg-alt\">
<div class=\"container\">
<div class=\"lateral-products\">
<header class=\"tit-sec tx-centro\">
<h2>{{ getLanguage('offers', 'product') }} <b>{{ getLanguage('flexible', 'product') }}</b></h2>
<span class=\"sub\">{{ getLanguage('choose_the_plan', 'product') }}</span>
</header>
{% include 'website/product/product-detail-plan-cycles-section.html.twig' with {
full: (productOffers|length < 3) ? false : true,
layout: 'product'
} %}
</div>
</div>
</section>
{% endif %}
{# VANTAGENS #}
{% if product.type == enum('ProductEnum::COURSE') %}
<div class=\"sec-bg-strip\">
<div class=\"container\">
<div class=\"lateral-products\">
<div class=\"advantages\">
{% if productOffer.warranty == 1 %}
<p>{{ ico('dollar') }}
<span>{{ getLanguage('day_warranty', 'product') }}
{{ productOffer.warrantyOption }}
{{ plural(productOffer.warrantyOption,
getLanguage('warranty_devolution_day', 'product'),
getLanguage('warranty_devolution_days', 'product')
)}}</span>
</p>
{% endif %}
{% if lifetimePeriod == 1 %}
<p><i class=\"fas fa-infinity\"></i>
{# {{ ico('infinity') }} #}
<span>{{ getLanguage('lifetime_access', 'product') }}</span></p>
{% elseif accessPeriod %}
<p>{{ ico('calendar') }}<span>{{ getLanguage('access_by', 'product') }} {{ accessPeriod }}</span></p>
{% endif %}
{# SUPPORT #}
{% if support == enum('CourseEnum::YES') %}
{% if lifetimeSupport == 1 %}
<p><i class=\"fas fa-infinity\"></i>
<span>{{ getLanguage('lifetime_support', 'product') }}</span></p>
{% elseif supportPeriod %}
<p>{{ ico('calendar') }}<span>{{ getLanguage('until', 'product') }} {{ supportPeriod }} {{ getLanguage('of_support', 'product') }}</span></p>
{% endif %}
{% endif %}
<p>{{ ico('coffee') }}<span>{{ getLanguage('study_whenever', 'product') }}</span></p>
{% if fileTotal > 0 %}
<p>{{ ico('smartphone') }}<span>{{ getLanguage('downloadable_materials', 'product') }}</span></p>
{% endif %}
</div>
</div>
</div>
</div>
{% endif %}
{# SUGESTÃO DO UPSELL #}
{% if productOfferSuggestions is not empty and not userHasProduct(product) %}
<div class=\"container\">
<div class=\"lateral-products\">
{% include 'website/product/product-detail-upsell-section.html.twig' with { suggestions: productOfferSuggestions } %}
</div>
</div>
{% endif %}
{% if scoreProduct.scoreTotal > 0 and productPage.showModuleTestimonials and getConfig('allow_testimonial') == enum('CourseEnum::YES') %}
{# REVIEWS #}
{% include 'website/product/product-detail-reviews-section.html.twig' %}
{# TESTIMONIALS #}
<div class=\"container mobile--wid\">
<div class=\"lateral-products\">
{% include 'website/course/course-testimonial-section.html.twig' with { layout: 'produto' } %}
</div>
</div>
{% endif %}
{# RELATED PRODUCTS #}
{% if (productOffersRelatedsSection.items|length != 0) %}
<div class=\"container\">
<div class=\"relacionados\">
{% include 'website/product/product-section.html.twig' with { section: productOffersRelatedsSection } %}
</div>
</div>
{% endif %}
{# CURRENT COURSE - PLANS #}
{% if product.type == enum('ProductEnum::COURSE')
and productOffersSubscriptionSection.items is not empty %}
{% include 'website/product/product-plans-section.html.twig' with { layout: 'product' } %}
{% endif %}
{# BUY INFO #}
{% include 'website/product/product-detail-buy-section.html.twig' %}
{# MODAL -- WAITLIST #}
{% include 'website/includes/modal-waitlist.html.twig' with { languageKey: 'product' } %}
{# MODAL -- FAST USER REGISTER #}
{% include 'website/includes/modal-register.html.twig' with { languageKey: 'product' } %}
{# MODAL -- TERMOS DE USO #}
{% embed \"website/includes/modal.html.twig\" with {'id': 'modal-terms-of-use', 'title': getLanguage('ready_terms', 'register'), 'back': true } %}
{% block content %}
{{ getConfig('contract')|raw }}
{% endblock %}
{% endembed %}
{# MODAL -- COUPONS LIST #}
{% embed \"website/includes/modal.html.twig\" with { 'id': 'coupons-modal', 'title': getLanguage('avaliable_coupons', 'product')} %}
{% block content %}
{% from 'utils.html.twig' import ico %}
<div class=\"modal-coupons-content\">
\t<div class=\"modal-loading\">
\t\t\t\t\t<i class=\"modal-loader\">{{ ico('loader-wish') }}</i> {{ getLanguage('wait', 'util') }}…
\t</div>
</div>
{% endblock %}
{% endembed %}
{# MODAL -- COUPON RULES #}
{% include \"website/includes/modal-coupon-rules.html.twig\" %}
{# MODAL -- SHARE #}
{% include \"website/includes/modal-share.html.twig\" with { id: 'modal-share', title: getLanguage('share', 'product') } %}
{% endblock %}", "website/product/product-detail.html.twig", "/var/www/html/templates/website/product/product-detail.html.twig");
}
}
/* website/product/product-detail.html.twig */
class __TwigTemplate_7bd341caba59cada86ba2a08d22426841593bb038868d17d56ad47bf37245460___404629737 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 385
return "website/includes/modal.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", "website/product/product-detail.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "website/product/product-detail.html.twig"));
$this->parent = $this->loadTemplate("website/includes/modal.html.twig", "website/product/product-detail.html.twig", 385);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 386
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 387
echo " ";
echo $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getConfig("contract");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "website/product/product-detail.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1471 => 387, 1461 => 386, 1438 => 385, 978 => 408, 975 => 407, 972 => 405, 969 => 404, 966 => 402, 963 => 392, 960 => 390, 957 => 385, 954 => 383, 951 => 382, 948 => 380, 945 => 379, 941 => 376, 938 => 375, 935 => 373, 932 => 372, 929 => 371, 927 => 370, 925 => 369, 922 => 367, 917 => 364, 915 => 363, 911 => 361, 908 => 360, 905 => 358, 900 => 355, 898 => 354, 894 => 352, 891 => 350, 888 => 349, 886 => 348, 884 => 347, 881 => 346, 876 => 343, 874 => 342, 870 => 340, 867 => 339, 864 => 337, 857 => 332, 849 => 330, 847 => 329, 840 => 327, 837 => 326, 834 => 325, 822 => 323, 820 => 322, 816 => 321, 813 => 320, 810 => 319, 807 => 318, 804 => 316, 794 => 314, 792 => 313, 787 => 312, 784 => 310, 782 => 309, 779 => 308, 774 => 305, 772 => 302, 768 => 301, 764 => 300, 759 => 299, 757 => 298, 751 => 294, 748 => 293, 745 => 291, 739 => 287, 737 => 284, 736 => 283, 731 => 281, 725 => 280, 719 => 276, 716 => 275, 713 => 273, 710 => 272, 707 => 271, 704 => 270, 698 => 265, 696 => 264, 691 => 261, 688 => 259, 682 => 255, 680 => 254, 675 => 251, 672 => 250, 669 => 248, 665 => 246, 663 => 245, 660 => 244, 658 => 243, 655 => 242, 651 => 239, 645 => 235, 639 => 233, 637 => 232, 634 => 231, 628 => 229, 622 => 227, 620 => 226, 615 => 224, 608 => 222, 603 => 219, 600 => 218, 597 => 216, 594 => 215, 589 => 212, 584 => 210, 578 => 209, 574 => 208, 570 => 207, 565 => 206, 563 => 205, 557 => 204, 553 => 203, 550 => 202, 546 => 199, 544 => 198, 540 => 196, 537 => 195, 534 => 194, 529 => 190, 522 => 186, 518 => 185, 511 => 181, 505 => 178, 502 => 177, 499 => 176, 496 => 174, 489 => 170, 485 => 169, 478 => 165, 472 => 162, 469 => 161, 466 => 160, 463 => 158, 456 => 154, 452 => 153, 445 => 149, 439 => 145, 433 => 143, 427 => 141, 425 => 140, 421 => 138, 418 => 137, 410 => 130, 404 => 128, 402 => 127, 399 => 126, 395 => 124, 393 => 123, 390 => 122, 384 => 120, 382 => 119, 379 => 118, 376 => 117, 370 => 114, 367 => 113, 364 => 112, 362 => 111, 359 => 110, 353 => 107, 350 => 106, 348 => 105, 345 => 104, 339 => 102, 337 => 101, 331 => 98, 326 => 95, 323 => 94, 321 => 89, 320 => 88, 319 => 87, 317 => 86, 314 => 85, 311 => 83, 309 => 78, 308 => 77, 307 => 76, 305 => 75, 303 => 74, 300 => 73, 297 => 71, 294 => 70, 291 => 68, 288 => 67, 285 => 65, 282 => 64, 279 => 62, 269 => 61, 257 => 50, 253 => 48, 250 => 47, 240 => 46, 229 => 43, 227 => 39, 226 => 37, 223 => 36, 218 => 34, 213 => 33, 210 => 32, 200 => 31, 189 => 28, 179 => 27, 163 => 24, 159 => 23, 155 => 22, 151 => 21, 146 => 19, 142 => 18, 138 => 17, 135 => 16, 129 => 15, 125 => 14, 121 => 13, 117 => 11, 107 => 10, 95 => 7, 91 => 6, 86 => 5, 76 => 4, 65 => 2, 63 => 59, 61 => 58, 59 => 57, 57 => 56, 55 => 54, 53 => 1, 40 => 2,);
}
public function getSourceContext()
{
return new Source("{% from 'utils.html.twig' import moeda, ico, imgUpload %}
{% extends 'website/main.template.html.twig' %}
{% block title %}
<title>{{ \"#{productPage.title} - #{client.brand}\" }}</title>
<meta name=\"title\" content=\"{{ \"#{productPage.title} - #{client.brand}\" }}\">
<meta property=\"og:title\" content=\"{{ \"#{productPage.title} - #{client.brand}\" }}\">
{% endblock %}
{% block bodyTag %}
<body
id=\"body\"
class=\"product-detail-body {{ productPage.showShortageControlTime ? 'page-height-top' }}\"
data-theme=\"{{ isDarkTheme? 'dark':'light' }}\"
{% if isDarkTheme %} data-hide-deco=\"{{ hideBgDeco? 1:0 }}\"{% endif %}
data-shortagevisualizationnumber=\"{{ productPage.shortageVisualizationNumber }}\"
data-shortagebuyersnumber=\"{{ productPage.shortageBuyersNumber }}\"
data-shortagevacanciesnumber=\"{{ productPage.shortageVacanciesNumber }}\"
data-shortagevisualization=\"{{ productPage.showShortageControlVisualization }}\"
data-shortagebuyers=\"{{ productPage.showShortageControlBuyers }}\"
data-shortagevacancies=\"{{ productPage.showShortageControlVacancies }}\"
data-shortagestorage=\"{{ actualDomain }}_{{ productOffer.id }}_{{ session ? session.user.id }}\">
{% endblock %}
{% block product_detail_css %}
{% include 'website/includes/css-product-detail.html.twig' %}
{% endblock %}
{% block meta %}
{% if (productPage.overview) %}
<meta name=\"description\" content=\"{{ productPage.overview }}\">
<meta property=\"og:description\" content=\"{{ productPage.overview }}\">
{% endif %}
<meta property=\"og:image\" content=\"https:{{
getFilePathComplete({
fileName: (productPage.photo|length > 0)? productPage.photo : getConfig('image_default'),
pathConst: enum('AbstractEnum::PATH_PRODUCT_PHOTO'),
addUpload: enum('AbstractEnum::YES')
}).pathCdn
}}\">
{% endblock %}
{% block metaIndex %}
{% if productOffer.default != enum('ProductEnum::YES') %}
<meta name=\"robots\" content=\"nofollow\">
{% else %}
<meta name=\"robots\" content=\"index, follow\">
{% endif %}
{% endblock %}
{% set productTypeText = getProductTypeTextTranslate(product.type) %}
{% set isOne = (productOffers|length > 1 or product.type != enum('ProductEnum::SUBSCRIPTION')) %}
{% set infoOffer = getInfoAccessProductOffer(productOffer, false, productCoupon, isOne) %}
{% set isInCart = productIsInCart(product.id, productOffer.id) %}
{% set canBuyNow = (infoOffer.allowBuyNow or infoOffer.isFree) %}
{% block body %}
{# FAST TIMER #}
{% include 'website/includes/fast-timer.html.twig' %}
{# SEARCH #}
{% include 'website/includes/search-section.html.twig' %}
{# BANNER #}
{% include 'website/product/product-detail-banner-section.html.twig' %}
{# LIBRARY INIT #}
<div id=\"wrap-video-init\">
{% if productPage.library is not empty and credentials %}
{% include 'website/includes/video.html.twig' with {
url: \"https://player.vdocipher.com/v2/?otp=#{ credentials.otp }&playbackInfo=#{ credentials.playbackInfo }&primaryColor=#{ getConfig('primary_color')|trim('#') }\",
autoplay: productPage.autoplay,
title: product.title,
width: 353,
height: 211,
library: true,
}%}
{# VIDEO INIT #}
{% elseif productPage.video is not empty %}
{% include 'website/includes/video.html.twig' with {
url: productPage.video,
autoplay: productPage.autoplay,
title: product.title,
width: 353,
height: 211,
library: false,
}%}
{% endif %}
</div>
<div class=\"contem-menu-anchors\">
<section class=\"menu-anchors\" data-page-height-top=\"{{ productPage.showShortageControlTime ? '1':'0' }}\">
<div class=\"container\">
<nav class=\"lateral-products\">
{% if productPage.about|length > 0 %}
<a data-link-scroll=\"#sec-about\">{{ getLanguage('about', 'product') }}</a>
{% endif %}
{% if product.type == enum('ProductEnum::COURSE') and lessonModules|length > 0 %}
<a data-link-scroll=\"#sec-content\">
{{ getLanguage('content', 'product') }}
</a>
{% endif %}
{% if product.type == enum('ProductEnum::SUBSCRIPTION') or product.type == enum('ProductEnum::COMBO') %}
{% if courses|length > 0 %}
<a data-link-scroll=\"#sec-content\">
{{ getLanguage('courses', 'product') }}
</a>
{% endif %}
{% endif %}
{% if teacherSection.teachers|length > 0 %}
<a data-link-scroll=\"#sec-instructors\">{{ getLanguage('instructors', 'product') }}</a>
{% endif %}
{% if isModuleActive('faq_module') and faqs|length > 0 %}
<a data-link-scroll=\"#sec-faq\">FAQ</a>
{% endif %}
{% if scoreProduct.scoreTotal > 0 and productPage.showModuleTestimonials and getConfig('allow_testimonial') == enum('CourseEnum::YES') %}
<a data-link-scroll=\"#sec-reviews\">{{ getLanguage('rates', 'product') }}</a>
{% endif %}
</nav>
</div>
</section>
</div>
<div class=\"container\">
{# ABOUT #}
{% if productPage.about|length > 0 %}
<section id=\"sec-about\" class=\"text-open lateral-products\">
<h2>
{% if product.type == enum('ProductEnum::SUBSCRIPTION') %}
{{\"#{getLanguage('about_the2', 'product')} #{productTypeText|capitalize}\"}}
{% else %}
{{\"#{getLanguage('about_the', 'product')} #{productTypeText|capitalize}\"}}
{% endif %}
</h2>
<div class=\"wrap txt\">
<div class=\"contem fr-view\">
{{ productPage.about|raw }}
</div>
</div>
<button class=\"mais js--abre\">
<span>{{ getLanguage('show_more', 'product') }}</span>
<span>{{ getLanguage('show_less', 'product') }}</span>
</button>
</section>
{% endif %}
{# PUBLIC #}
{% if productPage.target|length > 0 %}
<section id=\"sec-publico\" class=\"text-open lateral-products\">
<h2>{{ getLanguage('target_audience', 'product') }}</h2>
<div class=\"wrap txt\">
<div class=\"contem fr-view\">
{{ productPage.target|raw }}
</div>
</div>
<button class=\"mais js--abre\">
<span>{{ getLanguage('show_more', 'product') }}</span>
<span>{{ getLanguage('show_less', 'product') }}</span>
</button>
</section>
{% endif %}
{# ABOUT CERTIFICATE #}
{% if productPage.aboutCertificate|length > 0 and certificate and isModuleActive('course_certificate_module') %}
<section id=\"sec-publico\" class=\"text-open lateral-products\">
<h2>{{ getLanguage('about_certificate', 'product') }}</h2>
<div class=\"wrap txt\">
<div class=\"contem fr-view\">
{{ productPage.aboutCertificate|raw }}
</div>
</div>
<button class=\"mais js--abre\">
<span>{{ getLanguage('show_more', 'product') }}</span>
<span>{{ getLanguage('show_less', 'product') }}</span>
</button>
</section>
{% endif %}
</div>
<div class=\"container\">
{# MATRÍCULA -- CURSO #}
{% if product.type == enum('ProductEnum::COURSE') %}
{% if lifetimePeriod == enum('CourseEnum::YES') or accessPeriod %}
<div class=\"lateral-products\">
<div class=\"product-validade\">
{% if lifetimePeriod == enum('CourseEnum::YES') %}
<div class=\"period\">
<i class=\"fas fa-infinity\"></i>
{# {{ ico('infinity') }} !!! #}
</div>
<p class=\"title\">{{ getLanguage('no_time', 'product') }}</p>
<p class=\"desc\">{{ getLanguage('rest_assured', 'product') }} {{ getLanguage('lifetime_period', 'product') }}</p>
{% elseif accessPeriod %}
<div class=\"period\">{{ accessPeriod }}</div>
<p class=\"title\">{{ getLanguage('no_time', 'product') }}</p>
<p class=\"desc\">{{ getLanguage('rest_assured', 'product') }}
{{ getLanguage('in_until', 'product') }} {{ accessPeriod }}
{{ getLanguage('after_enrollment', 'product') }}</p>
{% endif %}
</div>
</div>
{% endif %}
{% endif %}
{# MATRÍCULA -- PLANO #}
{% if product.type == enum('ProductEnum::SUBSCRIPTION') and not userHasProduct(product) %}
<div class=\"lateral-products\">
<div class=\"product-validade\">
<div class=\"period\">
<p>{{ courses|length }} <small>{{ (courses|length > 1) ? getLanguage('courses_lowercase', 'product') : getLanguage('course_lowercase', 'product') }}</small></p>
</div>
<p class=\"title\">{{ getLanguage('subscribe_now', 'product') }}</p>
{% if productOffer.membershipFee == 0 %}
<p class=\"desc\">{{ getLanguage('free_membership_fee', 'product') }}!</p>
{% else %}
<p class=\"desc\">{{ \" + %s #{getLanguage('membership_fee', 'product')}\"|format(moeda(productOffer.membershipFee))|raw }}</p>
{% endif %}
<div class=\"acoes\">
{% if isOne %}
<a data-link-scroll=\"#ofertas-planos\" class=\"btn-matricula\">{{ getLanguage('subscribe', 'product') }}</a>
{% endif %}
</div>
</div>
</div>
{% endif %}
</div>
{# CURSOS INCLUSOS #}
{% if product.type == enum('ProductEnum::SUBSCRIPTION') or product.type == enum('ProductEnum::COMBO') %}
{# @??? !!! #}
<div id=\"sec-content\" class=\"inclusos\">
{% include 'website/course/course-section.html.twig' with { section: planCoursesSection } %}
</div>
{% endif %}
{# CONTEÚDO #}
{% if product.type == enum('ProductEnum::COURSE') %}
<div id=\"sec-content\">
<div class=\"container\">
<div class=\"lateral-products\">
{% include 'website/product/product-detail-course-content-section.html.twig' with { show: 3, open: 1 } %}
</div>
</div>
</div>
{% endif %}
{# INSTRUCTORS #}
<div id=\"sec-instructors\">
<div class=\"container\">
<div class=\"lateral-products\">
{% include 'website/teacher/teacher-section.html.twig' with { layout: 'product', theme: (isDarkTheme? 'dark':'light') }%}
</div>
</div>
</div>
{# FAQ #}
{% if isModuleActive('faq_module') %}
{% include 'website/faq/faq-section.html.twig' with { layout: 'produto' } %}
{% endif %}
{# CURRENT PLAN - CYCLES #}
{% if productOffers|length > 1 and product.type == enum('ProductEnum::SUBSCRIPTION') and not userHasProduct(product) %}
<section id=\"ofertas-planos\" class=\"pag-sec sec-bg-alt\">
<div class=\"container\">
<div class=\"lateral-products\">
<header class=\"tit-sec tx-centro\">
<h2>{{ getLanguage('offers', 'product') }} <b>{{ getLanguage('flexible', 'product') }}</b></h2>
<span class=\"sub\">{{ getLanguage('choose_the_plan', 'product') }}</span>
</header>
{% include 'website/product/product-detail-plan-cycles-section.html.twig' with {
full: (productOffers|length < 3) ? false : true,
layout: 'product'
} %}
</div>
</div>
</section>
{% endif %}
{# VANTAGENS #}
{% if product.type == enum('ProductEnum::COURSE') %}
<div class=\"sec-bg-strip\">
<div class=\"container\">
<div class=\"lateral-products\">
<div class=\"advantages\">
{% if productOffer.warranty == 1 %}
<p>{{ ico('dollar') }}
<span>{{ getLanguage('day_warranty', 'product') }}
{{ productOffer.warrantyOption }}
{{ plural(productOffer.warrantyOption,
getLanguage('warranty_devolution_day', 'product'),
getLanguage('warranty_devolution_days', 'product')
)}}</span>
</p>
{% endif %}
{% if lifetimePeriod == 1 %}
<p><i class=\"fas fa-infinity\"></i>
{# {{ ico('infinity') }} #}
<span>{{ getLanguage('lifetime_access', 'product') }}</span></p>
{% elseif accessPeriod %}
<p>{{ ico('calendar') }}<span>{{ getLanguage('access_by', 'product') }} {{ accessPeriod }}</span></p>
{% endif %}
{# SUPPORT #}
{% if support == enum('CourseEnum::YES') %}
{% if lifetimeSupport == 1 %}
<p><i class=\"fas fa-infinity\"></i>
<span>{{ getLanguage('lifetime_support', 'product') }}</span></p>
{% elseif supportPeriod %}
<p>{{ ico('calendar') }}<span>{{ getLanguage('until', 'product') }} {{ supportPeriod }} {{ getLanguage('of_support', 'product') }}</span></p>
{% endif %}
{% endif %}
<p>{{ ico('coffee') }}<span>{{ getLanguage('study_whenever', 'product') }}</span></p>
{% if fileTotal > 0 %}
<p>{{ ico('smartphone') }}<span>{{ getLanguage('downloadable_materials', 'product') }}</span></p>
{% endif %}
</div>
</div>
</div>
</div>
{% endif %}
{# SUGESTÃO DO UPSELL #}
{% if productOfferSuggestions is not empty and not userHasProduct(product) %}
<div class=\"container\">
<div class=\"lateral-products\">
{% include 'website/product/product-detail-upsell-section.html.twig' with { suggestions: productOfferSuggestions } %}
</div>
</div>
{% endif %}
{% if scoreProduct.scoreTotal > 0 and productPage.showModuleTestimonials and getConfig('allow_testimonial') == enum('CourseEnum::YES') %}
{# REVIEWS #}
{% include 'website/product/product-detail-reviews-section.html.twig' %}
{# TESTIMONIALS #}
<div class=\"container mobile--wid\">
<div class=\"lateral-products\">
{% include 'website/course/course-testimonial-section.html.twig' with { layout: 'produto' } %}
</div>
</div>
{% endif %}
{# RELATED PRODUCTS #}
{% if (productOffersRelatedsSection.items|length != 0) %}
<div class=\"container\">
<div class=\"relacionados\">
{% include 'website/product/product-section.html.twig' with { section: productOffersRelatedsSection } %}
</div>
</div>
{% endif %}
{# CURRENT COURSE - PLANS #}
{% if product.type == enum('ProductEnum::COURSE')
and productOffersSubscriptionSection.items is not empty %}
{% include 'website/product/product-plans-section.html.twig' with { layout: 'product' } %}
{% endif %}
{# BUY INFO #}
{% include 'website/product/product-detail-buy-section.html.twig' %}
{# MODAL -- WAITLIST #}
{% include 'website/includes/modal-waitlist.html.twig' with { languageKey: 'product' } %}
{# MODAL -- FAST USER REGISTER #}
{% include 'website/includes/modal-register.html.twig' with { languageKey: 'product' } %}
{# MODAL -- TERMOS DE USO #}
{% embed \"website/includes/modal.html.twig\" with {'id': 'modal-terms-of-use', 'title': getLanguage('ready_terms', 'register'), 'back': true } %}
{% block content %}
{{ getConfig('contract')|raw }}
{% endblock %}
{% endembed %}
{# MODAL -- COUPONS LIST #}
{% embed \"website/includes/modal.html.twig\" with { 'id': 'coupons-modal', 'title': getLanguage('avaliable_coupons', 'product')} %}
{% block content %}
{% from 'utils.html.twig' import ico %}
<div class=\"modal-coupons-content\">
\t<div class=\"modal-loading\">
\t\t\t\t\t<i class=\"modal-loader\">{{ ico('loader-wish') }}</i> {{ getLanguage('wait', 'util') }}…
\t</div>
</div>
{% endblock %}
{% endembed %}
{# MODAL -- COUPON RULES #}
{% include \"website/includes/modal-coupon-rules.html.twig\" %}
{# MODAL -- SHARE #}
{% include \"website/includes/modal-share.html.twig\" with { id: 'modal-share', title: getLanguage('share', 'product') } %}
{% endblock %}", "website/product/product-detail.html.twig", "/var/www/html/templates/website/product/product-detail.html.twig");
}
}
/* website/product/product-detail.html.twig */
class __TwigTemplate_7bd341caba59cada86ba2a08d22426841593bb038868d17d56ad47bf37245460___790886565 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 392
return "website/includes/modal.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", "website/product/product-detail.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "website/product/product-detail.html.twig"));
$this->parent = $this->loadTemplate("website/includes/modal.html.twig", "website/product/product-detail.html.twig", 392);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 393
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 394
echo " ";
$macros["__internal_70214ba143efd016b4a87900e77ca88a060e0220e98556f349dbae2d8003c0dc"] = $this->loadTemplate("utils.html.twig", "website/product/product-detail.html.twig", 394)->unwrap();
// line 395
echo " <div class=\"modal-coupons-content\">
\t<div class=\"modal-loading\">
\t\t\t\t\t<i class=\"modal-loader\">";
// line 397
echo twig_call_macro($macros["__internal_70214ba143efd016b4a87900e77ca88a060e0220e98556f349dbae2d8003c0dc"], "macro_ico", ["loader-wish"], 397, $context, $this->getSourceContext());
echo "</i> ";
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("wait", "util"), "html", null, true);
echo "…
\t</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "website/product/product-detail.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1973 => 397, 1969 => 395, 1966 => 394, 1956 => 393, 1933 => 392, 1471 => 387, 1461 => 386, 1438 => 385, 978 => 408, 975 => 407, 972 => 405, 969 => 404, 966 => 402, 963 => 392, 960 => 390, 957 => 385, 954 => 383, 951 => 382, 948 => 380, 945 => 379, 941 => 376, 938 => 375, 935 => 373, 932 => 372, 929 => 371, 927 => 370, 925 => 369, 922 => 367, 917 => 364, 915 => 363, 911 => 361, 908 => 360, 905 => 358, 900 => 355, 898 => 354, 894 => 352, 891 => 350, 888 => 349, 886 => 348, 884 => 347, 881 => 346, 876 => 343, 874 => 342, 870 => 340, 867 => 339, 864 => 337, 857 => 332, 849 => 330, 847 => 329, 840 => 327, 837 => 326, 834 => 325, 822 => 323, 820 => 322, 816 => 321, 813 => 320, 810 => 319, 807 => 318, 804 => 316, 794 => 314, 792 => 313, 787 => 312, 784 => 310, 782 => 309, 779 => 308, 774 => 305, 772 => 302, 768 => 301, 764 => 300, 759 => 299, 757 => 298, 751 => 294, 748 => 293, 745 => 291, 739 => 287, 737 => 284, 736 => 283, 731 => 281, 725 => 280, 719 => 276, 716 => 275, 713 => 273, 710 => 272, 707 => 271, 704 => 270, 698 => 265, 696 => 264, 691 => 261, 688 => 259, 682 => 255, 680 => 254, 675 => 251, 672 => 250, 669 => 248, 665 => 246, 663 => 245, 660 => 244, 658 => 243, 655 => 242, 651 => 239, 645 => 235, 639 => 233, 637 => 232, 634 => 231, 628 => 229, 622 => 227, 620 => 226, 615 => 224, 608 => 222, 603 => 219, 600 => 218, 597 => 216, 594 => 215, 589 => 212, 584 => 210, 578 => 209, 574 => 208, 570 => 207, 565 => 206, 563 => 205, 557 => 204, 553 => 203, 550 => 202, 546 => 199, 544 => 198, 540 => 196, 537 => 195, 534 => 194, 529 => 190, 522 => 186, 518 => 185, 511 => 181, 505 => 178, 502 => 177, 499 => 176, 496 => 174, 489 => 170, 485 => 169, 478 => 165, 472 => 162, 469 => 161, 466 => 160, 463 => 158, 456 => 154, 452 => 153, 445 => 149, 439 => 145, 433 => 143, 427 => 141, 425 => 140, 421 => 138, 418 => 137, 410 => 130, 404 => 128, 402 => 127, 399 => 126, 395 => 124, 393 => 123, 390 => 122, 384 => 120, 382 => 119, 379 => 118, 376 => 117, 370 => 114, 367 => 113, 364 => 112, 362 => 111, 359 => 110, 353 => 107, 350 => 106, 348 => 105, 345 => 104, 339 => 102, 337 => 101, 331 => 98, 326 => 95, 323 => 94, 321 => 89, 320 => 88, 319 => 87, 317 => 86, 314 => 85, 311 => 83, 309 => 78, 308 => 77, 307 => 76, 305 => 75, 303 => 74, 300 => 73, 297 => 71, 294 => 70, 291 => 68, 288 => 67, 285 => 65, 282 => 64, 279 => 62, 269 => 61, 257 => 50, 253 => 48, 250 => 47, 240 => 46, 229 => 43, 227 => 39, 226 => 37, 223 => 36, 218 => 34, 213 => 33, 210 => 32, 200 => 31, 189 => 28, 179 => 27, 163 => 24, 159 => 23, 155 => 22, 151 => 21, 146 => 19, 142 => 18, 138 => 17, 135 => 16, 129 => 15, 125 => 14, 121 => 13, 117 => 11, 107 => 10, 95 => 7, 91 => 6, 86 => 5, 76 => 4, 65 => 2, 63 => 59, 61 => 58, 59 => 57, 57 => 56, 55 => 54, 53 => 1, 40 => 2,);
}
public function getSourceContext()
{
return new Source("{% from 'utils.html.twig' import moeda, ico, imgUpload %}
{% extends 'website/main.template.html.twig' %}
{% block title %}
<title>{{ \"#{productPage.title} - #{client.brand}\" }}</title>
<meta name=\"title\" content=\"{{ \"#{productPage.title} - #{client.brand}\" }}\">
<meta property=\"og:title\" content=\"{{ \"#{productPage.title} - #{client.brand}\" }}\">
{% endblock %}
{% block bodyTag %}
<body
id=\"body\"
class=\"product-detail-body {{ productPage.showShortageControlTime ? 'page-height-top' }}\"
data-theme=\"{{ isDarkTheme? 'dark':'light' }}\"
{% if isDarkTheme %} data-hide-deco=\"{{ hideBgDeco? 1:0 }}\"{% endif %}
data-shortagevisualizationnumber=\"{{ productPage.shortageVisualizationNumber }}\"
data-shortagebuyersnumber=\"{{ productPage.shortageBuyersNumber }}\"
data-shortagevacanciesnumber=\"{{ productPage.shortageVacanciesNumber }}\"
data-shortagevisualization=\"{{ productPage.showShortageControlVisualization }}\"
data-shortagebuyers=\"{{ productPage.showShortageControlBuyers }}\"
data-shortagevacancies=\"{{ productPage.showShortageControlVacancies }}\"
data-shortagestorage=\"{{ actualDomain }}_{{ productOffer.id }}_{{ session ? session.user.id }}\">
{% endblock %}
{% block product_detail_css %}
{% include 'website/includes/css-product-detail.html.twig' %}
{% endblock %}
{% block meta %}
{% if (productPage.overview) %}
<meta name=\"description\" content=\"{{ productPage.overview }}\">
<meta property=\"og:description\" content=\"{{ productPage.overview }}\">
{% endif %}
<meta property=\"og:image\" content=\"https:{{
getFilePathComplete({
fileName: (productPage.photo|length > 0)? productPage.photo : getConfig('image_default'),
pathConst: enum('AbstractEnum::PATH_PRODUCT_PHOTO'),
addUpload: enum('AbstractEnum::YES')
}).pathCdn
}}\">
{% endblock %}
{% block metaIndex %}
{% if productOffer.default != enum('ProductEnum::YES') %}
<meta name=\"robots\" content=\"nofollow\">
{% else %}
<meta name=\"robots\" content=\"index, follow\">
{% endif %}
{% endblock %}
{% set productTypeText = getProductTypeTextTranslate(product.type) %}
{% set isOne = (productOffers|length > 1 or product.type != enum('ProductEnum::SUBSCRIPTION')) %}
{% set infoOffer = getInfoAccessProductOffer(productOffer, false, productCoupon, isOne) %}
{% set isInCart = productIsInCart(product.id, productOffer.id) %}
{% set canBuyNow = (infoOffer.allowBuyNow or infoOffer.isFree) %}
{% block body %}
{# FAST TIMER #}
{% include 'website/includes/fast-timer.html.twig' %}
{# SEARCH #}
{% include 'website/includes/search-section.html.twig' %}
{# BANNER #}
{% include 'website/product/product-detail-banner-section.html.twig' %}
{# LIBRARY INIT #}
<div id=\"wrap-video-init\">
{% if productPage.library is not empty and credentials %}
{% include 'website/includes/video.html.twig' with {
url: \"https://player.vdocipher.com/v2/?otp=#{ credentials.otp }&playbackInfo=#{ credentials.playbackInfo }&primaryColor=#{ getConfig('primary_color')|trim('#') }\",
autoplay: productPage.autoplay,
title: product.title,
width: 353,
height: 211,
library: true,
}%}
{# VIDEO INIT #}
{% elseif productPage.video is not empty %}
{% include 'website/includes/video.html.twig' with {
url: productPage.video,
autoplay: productPage.autoplay,
title: product.title,
width: 353,
height: 211,
library: false,
}%}
{% endif %}
</div>
<div class=\"contem-menu-anchors\">
<section class=\"menu-anchors\" data-page-height-top=\"{{ productPage.showShortageControlTime ? '1':'0' }}\">
<div class=\"container\">
<nav class=\"lateral-products\">
{% if productPage.about|length > 0 %}
<a data-link-scroll=\"#sec-about\">{{ getLanguage('about', 'product') }}</a>
{% endif %}
{% if product.type == enum('ProductEnum::COURSE') and lessonModules|length > 0 %}
<a data-link-scroll=\"#sec-content\">
{{ getLanguage('content', 'product') }}
</a>
{% endif %}
{% if product.type == enum('ProductEnum::SUBSCRIPTION') or product.type == enum('ProductEnum::COMBO') %}
{% if courses|length > 0 %}
<a data-link-scroll=\"#sec-content\">
{{ getLanguage('courses', 'product') }}
</a>
{% endif %}
{% endif %}
{% if teacherSection.teachers|length > 0 %}
<a data-link-scroll=\"#sec-instructors\">{{ getLanguage('instructors', 'product') }}</a>
{% endif %}
{% if isModuleActive('faq_module') and faqs|length > 0 %}
<a data-link-scroll=\"#sec-faq\">FAQ</a>
{% endif %}
{% if scoreProduct.scoreTotal > 0 and productPage.showModuleTestimonials and getConfig('allow_testimonial') == enum('CourseEnum::YES') %}
<a data-link-scroll=\"#sec-reviews\">{{ getLanguage('rates', 'product') }}</a>
{% endif %}
</nav>
</div>
</section>
</div>
<div class=\"container\">
{# ABOUT #}
{% if productPage.about|length > 0 %}
<section id=\"sec-about\" class=\"text-open lateral-products\">
<h2>
{% if product.type == enum('ProductEnum::SUBSCRIPTION') %}
{{\"#{getLanguage('about_the2', 'product')} #{productTypeText|capitalize}\"}}
{% else %}
{{\"#{getLanguage('about_the', 'product')} #{productTypeText|capitalize}\"}}
{% endif %}
</h2>
<div class=\"wrap txt\">
<div class=\"contem fr-view\">
{{ productPage.about|raw }}
</div>
</div>
<button class=\"mais js--abre\">
<span>{{ getLanguage('show_more', 'product') }}</span>
<span>{{ getLanguage('show_less', 'product') }}</span>
</button>
</section>
{% endif %}
{# PUBLIC #}
{% if productPage.target|length > 0 %}
<section id=\"sec-publico\" class=\"text-open lateral-products\">
<h2>{{ getLanguage('target_audience', 'product') }}</h2>
<div class=\"wrap txt\">
<div class=\"contem fr-view\">
{{ productPage.target|raw }}
</div>
</div>
<button class=\"mais js--abre\">
<span>{{ getLanguage('show_more', 'product') }}</span>
<span>{{ getLanguage('show_less', 'product') }}</span>
</button>
</section>
{% endif %}
{# ABOUT CERTIFICATE #}
{% if productPage.aboutCertificate|length > 0 and certificate and isModuleActive('course_certificate_module') %}
<section id=\"sec-publico\" class=\"text-open lateral-products\">
<h2>{{ getLanguage('about_certificate', 'product') }}</h2>
<div class=\"wrap txt\">
<div class=\"contem fr-view\">
{{ productPage.aboutCertificate|raw }}
</div>
</div>
<button class=\"mais js--abre\">
<span>{{ getLanguage('show_more', 'product') }}</span>
<span>{{ getLanguage('show_less', 'product') }}</span>
</button>
</section>
{% endif %}
</div>
<div class=\"container\">
{# MATRÍCULA -- CURSO #}
{% if product.type == enum('ProductEnum::COURSE') %}
{% if lifetimePeriod == enum('CourseEnum::YES') or accessPeriod %}
<div class=\"lateral-products\">
<div class=\"product-validade\">
{% if lifetimePeriod == enum('CourseEnum::YES') %}
<div class=\"period\">
<i class=\"fas fa-infinity\"></i>
{# {{ ico('infinity') }} !!! #}
</div>
<p class=\"title\">{{ getLanguage('no_time', 'product') }}</p>
<p class=\"desc\">{{ getLanguage('rest_assured', 'product') }} {{ getLanguage('lifetime_period', 'product') }}</p>
{% elseif accessPeriod %}
<div class=\"period\">{{ accessPeriod }}</div>
<p class=\"title\">{{ getLanguage('no_time', 'product') }}</p>
<p class=\"desc\">{{ getLanguage('rest_assured', 'product') }}
{{ getLanguage('in_until', 'product') }} {{ accessPeriod }}
{{ getLanguage('after_enrollment', 'product') }}</p>
{% endif %}
</div>
</div>
{% endif %}
{% endif %}
{# MATRÍCULA -- PLANO #}
{% if product.type == enum('ProductEnum::SUBSCRIPTION') and not userHasProduct(product) %}
<div class=\"lateral-products\">
<div class=\"product-validade\">
<div class=\"period\">
<p>{{ courses|length }} <small>{{ (courses|length > 1) ? getLanguage('courses_lowercase', 'product') : getLanguage('course_lowercase', 'product') }}</small></p>
</div>
<p class=\"title\">{{ getLanguage('subscribe_now', 'product') }}</p>
{% if productOffer.membershipFee == 0 %}
<p class=\"desc\">{{ getLanguage('free_membership_fee', 'product') }}!</p>
{% else %}
<p class=\"desc\">{{ \" + %s #{getLanguage('membership_fee', 'product')}\"|format(moeda(productOffer.membershipFee))|raw }}</p>
{% endif %}
<div class=\"acoes\">
{% if isOne %}
<a data-link-scroll=\"#ofertas-planos\" class=\"btn-matricula\">{{ getLanguage('subscribe', 'product') }}</a>
{% endif %}
</div>
</div>
</div>
{% endif %}
</div>
{# CURSOS INCLUSOS #}
{% if product.type == enum('ProductEnum::SUBSCRIPTION') or product.type == enum('ProductEnum::COMBO') %}
{# @??? !!! #}
<div id=\"sec-content\" class=\"inclusos\">
{% include 'website/course/course-section.html.twig' with { section: planCoursesSection } %}
</div>
{% endif %}
{# CONTEÚDO #}
{% if product.type == enum('ProductEnum::COURSE') %}
<div id=\"sec-content\">
<div class=\"container\">
<div class=\"lateral-products\">
{% include 'website/product/product-detail-course-content-section.html.twig' with { show: 3, open: 1 } %}
</div>
</div>
</div>
{% endif %}
{# INSTRUCTORS #}
<div id=\"sec-instructors\">
<div class=\"container\">
<div class=\"lateral-products\">
{% include 'website/teacher/teacher-section.html.twig' with { layout: 'product', theme: (isDarkTheme? 'dark':'light') }%}
</div>
</div>
</div>
{# FAQ #}
{% if isModuleActive('faq_module') %}
{% include 'website/faq/faq-section.html.twig' with { layout: 'produto' } %}
{% endif %}
{# CURRENT PLAN - CYCLES #}
{% if productOffers|length > 1 and product.type == enum('ProductEnum::SUBSCRIPTION') and not userHasProduct(product) %}
<section id=\"ofertas-planos\" class=\"pag-sec sec-bg-alt\">
<div class=\"container\">
<div class=\"lateral-products\">
<header class=\"tit-sec tx-centro\">
<h2>{{ getLanguage('offers', 'product') }} <b>{{ getLanguage('flexible', 'product') }}</b></h2>
<span class=\"sub\">{{ getLanguage('choose_the_plan', 'product') }}</span>
</header>
{% include 'website/product/product-detail-plan-cycles-section.html.twig' with {
full: (productOffers|length < 3) ? false : true,
layout: 'product'
} %}
</div>
</div>
</section>
{% endif %}
{# VANTAGENS #}
{% if product.type == enum('ProductEnum::COURSE') %}
<div class=\"sec-bg-strip\">
<div class=\"container\">
<div class=\"lateral-products\">
<div class=\"advantages\">
{% if productOffer.warranty == 1 %}
<p>{{ ico('dollar') }}
<span>{{ getLanguage('day_warranty', 'product') }}
{{ productOffer.warrantyOption }}
{{ plural(productOffer.warrantyOption,
getLanguage('warranty_devolution_day', 'product'),
getLanguage('warranty_devolution_days', 'product')
)}}</span>
</p>
{% endif %}
{% if lifetimePeriod == 1 %}
<p><i class=\"fas fa-infinity\"></i>
{# {{ ico('infinity') }} #}
<span>{{ getLanguage('lifetime_access', 'product') }}</span></p>
{% elseif accessPeriod %}
<p>{{ ico('calendar') }}<span>{{ getLanguage('access_by', 'product') }} {{ accessPeriod }}</span></p>
{% endif %}
{# SUPPORT #}
{% if support == enum('CourseEnum::YES') %}
{% if lifetimeSupport == 1 %}
<p><i class=\"fas fa-infinity\"></i>
<span>{{ getLanguage('lifetime_support', 'product') }}</span></p>
{% elseif supportPeriod %}
<p>{{ ico('calendar') }}<span>{{ getLanguage('until', 'product') }} {{ supportPeriod }} {{ getLanguage('of_support', 'product') }}</span></p>
{% endif %}
{% endif %}
<p>{{ ico('coffee') }}<span>{{ getLanguage('study_whenever', 'product') }}</span></p>
{% if fileTotal > 0 %}
<p>{{ ico('smartphone') }}<span>{{ getLanguage('downloadable_materials', 'product') }}</span></p>
{% endif %}
</div>
</div>
</div>
</div>
{% endif %}
{# SUGESTÃO DO UPSELL #}
{% if productOfferSuggestions is not empty and not userHasProduct(product) %}
<div class=\"container\">
<div class=\"lateral-products\">
{% include 'website/product/product-detail-upsell-section.html.twig' with { suggestions: productOfferSuggestions } %}
</div>
</div>
{% endif %}
{% if scoreProduct.scoreTotal > 0 and productPage.showModuleTestimonials and getConfig('allow_testimonial') == enum('CourseEnum::YES') %}
{# REVIEWS #}
{% include 'website/product/product-detail-reviews-section.html.twig' %}
{# TESTIMONIALS #}
<div class=\"container mobile--wid\">
<div class=\"lateral-products\">
{% include 'website/course/course-testimonial-section.html.twig' with { layout: 'produto' } %}
</div>
</div>
{% endif %}
{# RELATED PRODUCTS #}
{% if (productOffersRelatedsSection.items|length != 0) %}
<div class=\"container\">
<div class=\"relacionados\">
{% include 'website/product/product-section.html.twig' with { section: productOffersRelatedsSection } %}
</div>
</div>
{% endif %}
{# CURRENT COURSE - PLANS #}
{% if product.type == enum('ProductEnum::COURSE')
and productOffersSubscriptionSection.items is not empty %}
{% include 'website/product/product-plans-section.html.twig' with { layout: 'product' } %}
{% endif %}
{# BUY INFO #}
{% include 'website/product/product-detail-buy-section.html.twig' %}
{# MODAL -- WAITLIST #}
{% include 'website/includes/modal-waitlist.html.twig' with { languageKey: 'product' } %}
{# MODAL -- FAST USER REGISTER #}
{% include 'website/includes/modal-register.html.twig' with { languageKey: 'product' } %}
{# MODAL -- TERMOS DE USO #}
{% embed \"website/includes/modal.html.twig\" with {'id': 'modal-terms-of-use', 'title': getLanguage('ready_terms', 'register'), 'back': true } %}
{% block content %}
{{ getConfig('contract')|raw }}
{% endblock %}
{% endembed %}
{# MODAL -- COUPONS LIST #}
{% embed \"website/includes/modal.html.twig\" with { 'id': 'coupons-modal', 'title': getLanguage('avaliable_coupons', 'product')} %}
{% block content %}
{% from 'utils.html.twig' import ico %}
<div class=\"modal-coupons-content\">
\t<div class=\"modal-loading\">
\t\t\t\t\t<i class=\"modal-loader\">{{ ico('loader-wish') }}</i> {{ getLanguage('wait', 'util') }}…
\t</div>
</div>
{% endblock %}
{% endembed %}
{# MODAL -- COUPON RULES #}
{% include \"website/includes/modal-coupon-rules.html.twig\" %}
{# MODAL -- SHARE #}
{% include \"website/includes/modal-share.html.twig\" with { id: 'modal-share', title: getLanguage('share', 'product') } %}
{% endblock %}", "website/product/product-detail.html.twig", "/var/www/html/templates/website/product/product-detail.html.twig");
}
}