<?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_c842f6d8e44f55ad65bfda29d388feab4cb6c91f99688d6923a4c53b04deb972"] = $this->macros["__internal_c842f6d8e44f55ad65bfda29d388feab4cb6c91f99688d6923a4c53b04deb972"] = $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 " ";
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.', 73, $this->source); })()), "library", [], "any", false, false, false, 73)) && (isset($context["credentials"]) || array_key_exists("credentials", $context) ? $context["credentials"] : (function () { throw new RuntimeError('Variable "credentials" does not exist.', 73, $this->source); })()))) {
// line 74
echo " <div id=\"wrap-video-init\">
";
// line 75
$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=") . $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]));
// line 82
echo " </div>
";
// line 84
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.', 84, $this->source); })()), "video", [], "any", false, false, false, 84))) {
// line 85
echo " <div id=\"wrap-video-init\">
";
// line 86
$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]));
// line 93
echo " </div>
";
}
// line 95
echo "
<div class=\"contem-menu-anchors\">
<section class=\"menu-anchors\" data-page-height-top=\"";
// line 97
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.', 97, $this->source); })()), "showShortageControlTime", [], "any", false, false, false, 97)) ? ("1") : ("0"));
echo "\">
<div class=\"container\">
<nav class=\"lateral-products\">
";
// line 100
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.', 100, $this->source); })()), "about", [], "any", false, false, false, 100)), 0))) {
// line 101
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 103
echo "
";
// line 104
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.', 104, $this->source); })()), "type", [], "any", false, false, false, 104), $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.', 104, $this->source); })())), 0)))) {
// line 105
echo " <a data-link-scroll=\"#sec-content\">
";
// line 106
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("content", "product"), "html", null, true);
echo "
</a>
";
}
// line 109
echo "
";
// line 110
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.', 110, $this->source); })()), "type", [], "any", false, false, false, 110), $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.', 110, $this->source); })()), "type", [], "any", false, false, false, 110), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::COMBO"))))) {
// line 111
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.', 111, $this->source); })())), 0))) {
// line 112
echo " <a data-link-scroll=\"#sec-content\">
";
// line 113
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("courses", "product"), "html", null, true);
echo "
</a>
";
}
// line 116
echo " ";
}
// line 117
echo "
";
// line 118
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.', 118, $this->source); })()), "teachers", [], "any", false, false, false, 118)), 0))) {
// line 119
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 121
echo "
";
// line 122
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.', 122, $this->source); })())), 0)))) {
// line 123
echo " <a data-link-scroll=\"#sec-faq\">FAQ</a>
";
}
// line 125
echo "
";
// line 126
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.', 126, $this->source); })()), "scoreTotal", [], "any", false, false, false, 126), 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.', 126, $this->source); })()), "showModuleTestimonials", [], "any", false, false, false, 126))) {
// line 127
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 129
echo " </nav>
</div>
</section>
</div>
<div class=\"container\">
";
// line 136
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.', 136, $this->source); })()), "about", [], "any", false, false, false, 136)), 0))) {
// line 137
echo " <section id=\"sec-about\" class=\"text-open lateral-products\">
<h2>
";
// line 139
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.', 139, $this->source); })()), "type", [], "any", false, false, false, 139), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::SUBSCRIPTION")))) {
// line 140
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.', 140, $this->source); })()))), "html", null, true);
echo "
";
} else {
// line 142
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.', 142, $this->source); })()))), "html", null, true);
echo "
";
}
// line 144
echo " </h2>
<div class=\"wrap txt\">
<div class=\"contem fr-view\">
";
// line 148
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.', 148, $this->source); })()), "about", [], "any", false, false, false, 148);
echo "
</div>
</div>
<button class=\"mais js--abre\">
<span>";
// line 152
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("show_more", "product"), "html", null, true);
echo "</span>
<span>";
// line 153
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("show_less", "product"), "html", null, true);
echo "</span>
</button>
</section>
";
}
// line 157
echo "
";
// line 159
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.', 159, $this->source); })()), "target", [], "any", false, false, false, 159)), 0))) {
// line 160
echo " <section id=\"sec-publico\" class=\"text-open lateral-products\">
<h2>";
// line 161
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 164
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.', 164, $this->source); })()), "target", [], "any", false, false, false, 164);
echo "
</div>
</div>
<button class=\"mais js--abre\">
<span>";
// line 168
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("show_more", "product"), "html", null, true);
echo "</span>
<span>";
// line 169
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("show_less", "product"), "html", null, true);
echo "</span>
</button>
</section>
";
}
// line 173
echo "
";
// line 175
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.', 175, $this->source); })()), "aboutCertificate", [], "any", false, false, false, 175)), 0)) && (isset($context["certificate"]) || array_key_exists("certificate", $context) ? $context["certificate"] : (function () { throw new RuntimeError('Variable "certificate" does not exist.', 175, $this->source); })())) && $this->extensions['EADPlataforma\Twig\FunctionsExtension']->isModuleActive("course_certificate_module"))) {
// line 176
echo " <section id=\"sec-publico\" class=\"text-open lateral-products\">
<h2>";
// line 177
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 180
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.', 180, $this->source); })()), "aboutCertificate", [], "any", false, false, false, 180);
echo "
</div>
</div>
<button class=\"mais js--abre\">
<span>";
// line 184
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("show_more", "product"), "html", null, true);
echo "</span>
<span>";
// line 185
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("show_less", "product"), "html", null, true);
echo "</span>
</button>
</section>
";
}
// line 189
echo " </div>
<div class=\"container\">
";
// line 193
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.', 193, $this->source); })()), "type", [], "any", false, false, false, 193), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::COURSE")))) {
// line 194
echo " ";
if (((0 === twig_compare((isset($context["lifetimePeriod"]) || array_key_exists("lifetimePeriod", $context) ? $context["lifetimePeriod"] : (function () { throw new RuntimeError('Variable "lifetimePeriod" does not exist.', 194, $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.', 194, $this->source); })()))) {
// line 195
echo " <div class=\"lateral-products\">
<div class=\"product-validade\">
";
// line 197
if ((0 === twig_compare((isset($context["lifetimePeriod"]) || array_key_exists("lifetimePeriod", $context) ? $context["lifetimePeriod"] : (function () { throw new RuntimeError('Variable "lifetimePeriod" does not exist.', 197, $this->source); })()), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("CourseEnum::YES")))) {
// line 198
echo " <div class=\"period\">
<i class=\"fas fa-infinity\"></i>
";
// line 201
echo " </div>
<p class=\"title\">";
// line 202
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("no_time", "product"), "html", null, true);
echo "</p>
<p class=\"desc\">";
// line 203
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 204
(isset($context["accessPeriod"]) || array_key_exists("accessPeriod", $context) ? $context["accessPeriod"] : (function () { throw new RuntimeError('Variable "accessPeriod" does not exist.', 204, $this->source); })())) {
// line 205
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.', 205, $this->source); })()), "html", null, true);
echo "</div>
<p class=\"title\">";
// line 206
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("no_time", "product"), "html", null, true);
echo "</p>
<p class=\"desc\">";
// line 207
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("rest_assured", "product"), "html", null, true);
echo "
";
// line 208
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.', 208, $this->source); })()), "html", null, true);
echo "
";
// line 209
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("after_enrollment", "product"), "html", null, true);
echo "</p>
";
}
// line 211
echo " </div>
</div>
";
}
// line 214
echo " ";
}
// line 215
echo "
";
// line 217
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.', 217, $this->source); })()), "type", [], "any", false, false, false, 217), $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.', 217, $this->source); })())))) {
// line 218
echo " <div class=\"lateral-products\">
<div class=\"product-validade\">
<div class=\"period\">
<p>";
// line 221
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.', 221, $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.', 221, $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 223
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("subscribe_now", "product"), "html", null, true);
echo "</p>
";
// line 225
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.', 225, $this->source); })()), "membershipFee", [], "any", false, false, false, 225), 0))) {
// line 226
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 228
echo " <p class=\"desc\">";
echo sprintf((" + %s " . $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("membership_fee", "product")), twig_call_macro($macros["__internal_c842f6d8e44f55ad65bfda29d388feab4cb6c91f99688d6923a4c53b04deb972"], "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.', 228, $this->source); })()), "membershipFee", [], "any", false, false, false, 228)], 228, $context, $this->getSourceContext()));
echo "</p>
";
}
// line 230
echo " <div class=\"acoes\">
";
// line 231
if ((isset($context["isOne"]) || array_key_exists("isOne", $context) ? $context["isOne"] : (function () { throw new RuntimeError('Variable "isOne" does not exist.', 231, $this->source); })())) {
// line 232
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 234
echo " </div>
</div>
</div>
";
}
// line 238
echo " </div>
";
// line 241
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.', 241, $this->source); })()), "type", [], "any", false, false, false, 241), $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.', 241, $this->source); })()), "type", [], "any", false, false, false, 241), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::COMBO"))))) {
// line 242
echo " ";
// line 243
echo " <div id=\"sec-content\" class=\"inclusos\">
";
// line 244
$this->loadTemplate("website/course/course-section.html.twig", "website/product/product-detail.html.twig", 244)->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.', 244, $this->source); })())]));
// line 245
echo " </div>
";
}
// line 247
echo "
";
// line 249
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.', 249, $this->source); })()), "type", [], "any", false, false, false, 249), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::COURSE")))) {
// line 250
echo " <div id=\"sec-content\">
<div class=\"container\">
<div class=\"lateral-products\">
";
// line 253
$this->loadTemplate("website/product/product-detail-course-content-section.html.twig", "website/product/product-detail.html.twig", 253)->display(twig_array_merge($context, ["show" => 3, "open" => 1]));
// line 254
echo " </div>
</div>
</div>
";
}
// line 258
echo "
";
// line 260
echo " <div id=\"sec-instructors\">
<div class=\"container\">
<div class=\"lateral-products\">
";
// line 263
$this->loadTemplate("website/teacher/teacher-section.html.twig", "website/product/product-detail.html.twig", 263)->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.', 263, $this->source); })())) ? ("dark") : ("light"))]));
// line 264
echo " </div>
</div>
</div>
";
// line 269
echo " ";
if ($this->extensions['EADPlataforma\Twig\FunctionsExtension']->isModuleActive("faq_module")) {
// line 270
echo " ";
$this->loadTemplate("website/faq/faq-section.html.twig", "website/product/product-detail.html.twig", 270)->display(twig_array_merge($context, ["layout" => "produto"]));
// line 271
echo " ";
}
// line 272
echo "
";
// line 274
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.', 274, $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.', 274, $this->source); })()), "type", [], "any", false, false, false, 274), $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.', 274, $this->source); })())))) {
// line 275
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 279
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 280
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("choose_the_plan", "product"), "html", null, true);
echo "</span>
</header>
";
// line 282
$this->loadTemplate("website/product/product-detail-plan-cycles-section.html.twig", "website/product/product-detail.html.twig", 282)->display(twig_array_merge($context, ["full" => (((-1 === twig_compare(twig_length_filter($this->env, // line 283
(isset($context["productOffers"]) || array_key_exists("productOffers", $context) ? $context["productOffers"] : (function () { throw new RuntimeError('Variable "productOffers" does not exist.', 283, $this->source); })())), 3))) ? (false) : (true)), "layout" => "product"]));
// line 286
echo " </div>
</div>
</section>
";
}
// line 290
echo "
";
// line 292
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.', 292, $this->source); })()), "type", [], "any", false, false, false, 292), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::COURSE")))) {
// line 293
echo " <div class=\"sec-bg-strip\">
<div class=\"container\">
<div class=\"lateral-products\">
<div class=\"advantages\">
";
// line 297
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.', 297, $this->source); })()), "warranty", [], "any", false, false, false, 297), 1))) {
// line 298
echo " <p>";
echo twig_call_macro($macros["__internal_c842f6d8e44f55ad65bfda29d388feab4cb6c91f99688d6923a4c53b04deb972"], "macro_ico", ["dollar"], 298, $context, $this->getSourceContext());
echo "
<span>";
// line 299
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("day_warranty", "product"), "html", null, true);
echo "
";
// line 300
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.', 300, $this->source); })()), "warrantyOption", [], "any", false, false, false, 300), "html", null, true);
echo "
";
// line 301
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.', 301, $this->source); })()), "warrantyOption", [], "any", false, false, false, 301), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("warranty_devolution_day", "product"), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("warranty_devolution_days", "product")), "html", null, true);
// line 304
echo "</span>
</p>
";
}
// line 307
echo "
";
// line 308
if ((0 === twig_compare((isset($context["lifetimePeriod"]) || array_key_exists("lifetimePeriod", $context) ? $context["lifetimePeriod"] : (function () { throw new RuntimeError('Variable "lifetimePeriod" does not exist.', 308, $this->source); })()), 1))) {
// line 309
echo " <p><i class=\"fas fa-infinity\"></i>
";
// line 311
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 312
(isset($context["accessPeriod"]) || array_key_exists("accessPeriod", $context) ? $context["accessPeriod"] : (function () { throw new RuntimeError('Variable "accessPeriod" does not exist.', 312, $this->source); })())) {
// line 313
echo " <p>";
echo twig_call_macro($macros["__internal_c842f6d8e44f55ad65bfda29d388feab4cb6c91f99688d6923a4c53b04deb972"], "macro_ico", ["calendar"], 313, $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.', 313, $this->source); })()), "html", null, true);
echo "</span></p>
";
}
// line 315
echo "
";
// line 317
echo " ";
if ((0 === twig_compare((isset($context["support"]) || array_key_exists("support", $context) ? $context["support"] : (function () { throw new RuntimeError('Variable "support" does not exist.', 317, $this->source); })()), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("CourseEnum::YES")))) {
// line 318
echo " ";
if ((0 === twig_compare((isset($context["lifetimeSupport"]) || array_key_exists("lifetimeSupport", $context) ? $context["lifetimeSupport"] : (function () { throw new RuntimeError('Variable "lifetimeSupport" does not exist.', 318, $this->source); })()), 1))) {
// line 319
echo " <p><i class=\"fas fa-infinity\"></i>
<span>";
// line 320
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("lifetime_support", "product"), "html", null, true);
echo "</span></p>
";
} elseif ( // line 321
(isset($context["supportPeriod"]) || array_key_exists("supportPeriod", $context) ? $context["supportPeriod"] : (function () { throw new RuntimeError('Variable "supportPeriod" does not exist.', 321, $this->source); })())) {
// line 322
echo " <p>";
echo twig_call_macro($macros["__internal_c842f6d8e44f55ad65bfda29d388feab4cb6c91f99688d6923a4c53b04deb972"], "macro_ico", ["calendar"], 322, $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.', 322, $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 324
echo " ";
}
// line 325
echo "
<p>";
// line 326
echo twig_call_macro($macros["__internal_c842f6d8e44f55ad65bfda29d388feab4cb6c91f99688d6923a4c53b04deb972"], "macro_ico", ["coffee"], 326, $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 328
if ((1 === twig_compare((isset($context["fileTotal"]) || array_key_exists("fileTotal", $context) ? $context["fileTotal"] : (function () { throw new RuntimeError('Variable "fileTotal" does not exist.', 328, $this->source); })()), 0))) {
// line 329
echo " <p>";
echo twig_call_macro($macros["__internal_c842f6d8e44f55ad65bfda29d388feab4cb6c91f99688d6923a4c53b04deb972"], "macro_ico", ["smartphone"], 329, $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 331
echo " </div>
</div>
</div>
</div>
";
}
// line 336
echo "
";
// line 338
echo " ";
if (( !twig_test_empty((isset($context["productOfferSuggestions"]) || array_key_exists("productOfferSuggestions", $context) ? $context["productOfferSuggestions"] : (function () { throw new RuntimeError('Variable "productOfferSuggestions" does not exist.', 338, $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.', 338, $this->source); })())))) {
// line 339
echo " <div class=\"container\">
<div class=\"lateral-products\">
";
// line 341
$this->loadTemplate("website/product/product-detail-upsell-section.html.twig", "website/product/product-detail.html.twig", 341)->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.', 341, $this->source); })())]));
// line 342
echo " </div>
</div>
";
}
// line 345
echo "
";
// line 346
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.', 346, $this->source); })()), "scoreTotal", [], "any", false, false, false, 346), 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.', 346, $this->source); })()), "showModuleTestimonials", [], "any", false, false, false, 346))) {
// line 347
echo " ";
// line 348
echo " ";
$this->loadTemplate("website/product/product-detail-reviews-section.html.twig", "website/product/product-detail.html.twig", 348)->display($context);
// line 349
echo "
";
// line 351
echo " <div class=\"container mobile--wid\">
<div class=\"lateral-products\">
";
// line 353
$this->loadTemplate("website/course/course-testimonial-section.html.twig", "website/product/product-detail.html.twig", 353)->display(twig_array_merge($context, ["layout" => "produto"]));
// line 354
echo " </div>
</div>
";
}
// line 357
echo "
";
// line 359
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.', 359, $this->source); })()), "items", [], "any", false, false, false, 359)), 0))) {
// line 360
echo " <div class=\"container\">
<div class=\"relacionados\">
";
// line 362
$this->loadTemplate("website/product/product-section.html.twig", "website/product/product-detail.html.twig", 362)->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.', 362, $this->source); })())]));
// line 363
echo " </div>
</div>
";
}
// line 366
echo "
";
// line 368
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.', 368, $this->source); })()), "type", [], "any", false, false, false, 368), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::COURSE"))) && !twig_test_empty(twig_get_attribute($this->env, $this->source, // line 369
(isset($context["productOffersSubscriptionSection"]) || array_key_exists("productOffersSubscriptionSection", $context) ? $context["productOffersSubscriptionSection"] : (function () { throw new RuntimeError('Variable "productOffersSubscriptionSection" does not exist.', 369, $this->source); })()), "items", [], "any", false, false, false, 369)))) {
// line 370
echo " ";
$this->loadTemplate("website/product/product-plans-section.html.twig", "website/product/product-detail.html.twig", 370)->display(twig_array_merge($context, ["layout" => "product"]));
// line 371
echo " ";
}
// line 372
echo "
";
// line 374
echo " ";
$this->loadTemplate("website/product/product-detail-buy-section.html.twig", "website/product/product-detail.html.twig", 374)->display($context);
// line 375
echo "
";
// line 378
echo " ";
$this->loadTemplate("website/includes/modal-waitlist.html.twig", "website/product/product-detail.html.twig", 378)->display(twig_array_merge($context, ["languageKey" => "product"]));
// line 379
echo "
";
// line 381
echo " ";
$this->loadTemplate("website/includes/modal-register.html.twig", "website/product/product-detail.html.twig", 381)->display(twig_array_merge($context, ["languageKey" => "product"]));
// line 382
echo "
";
// line 384
echo " ";
$this->loadTemplate("website/product/product-detail.html.twig", "website/product/product-detail.html.twig", 384, "454664145")->display(twig_array_merge($context, ["id" => "modal-terms-of-use", "title" => $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("ready_terms", "register"), "back" => true]));
// line 389
echo "
";
// line 391
echo " ";
$this->loadTemplate("website/product/product-detail.html.twig", "website/product/product-detail.html.twig", 391, "938008870")->display(twig_array_merge($context, ["id" => "coupons-modal", "title" => $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("avaliable_coupons", "product")]));
// line 401
echo "
";
// line 403
echo " ";
$this->loadTemplate("website/includes/modal-coupon-rules.html.twig", "website/product/product-detail.html.twig", 403)->display($context);
// line 404
echo "
";
// line 406
echo " ";
$this->loadTemplate("website/includes/modal-share.html.twig", "website/product/product-detail.html.twig", 406)->display(twig_array_merge($context, ["id" => "modal-share", "title" => $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("share", "product")]));
// line 407
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 ( 980 => 407, 977 => 406, 974 => 404, 971 => 403, 968 => 401, 965 => 391, 962 => 389, 959 => 384, 956 => 382, 953 => 381, 950 => 379, 947 => 378, 943 => 375, 940 => 374, 937 => 372, 934 => 371, 931 => 370, 929 => 369, 927 => 368, 924 => 366, 919 => 363, 917 => 362, 913 => 360, 910 => 359, 907 => 357, 902 => 354, 900 => 353, 896 => 351, 893 => 349, 890 => 348, 888 => 347, 886 => 346, 883 => 345, 878 => 342, 876 => 341, 872 => 339, 869 => 338, 866 => 336, 859 => 331, 851 => 329, 849 => 328, 842 => 326, 839 => 325, 836 => 324, 824 => 322, 822 => 321, 818 => 320, 815 => 319, 812 => 318, 809 => 317, 806 => 315, 796 => 313, 794 => 312, 789 => 311, 786 => 309, 784 => 308, 781 => 307, 776 => 304, 774 => 301, 770 => 300, 766 => 299, 761 => 298, 759 => 297, 753 => 293, 750 => 292, 747 => 290, 741 => 286, 739 => 283, 738 => 282, 733 => 280, 727 => 279, 721 => 275, 718 => 274, 715 => 272, 712 => 271, 709 => 270, 706 => 269, 700 => 264, 698 => 263, 693 => 260, 690 => 258, 684 => 254, 682 => 253, 677 => 250, 674 => 249, 671 => 247, 667 => 245, 665 => 244, 662 => 243, 660 => 242, 657 => 241, 653 => 238, 647 => 234, 641 => 232, 639 => 231, 636 => 230, 630 => 228, 624 => 226, 622 => 225, 617 => 223, 610 => 221, 605 => 218, 602 => 217, 599 => 215, 596 => 214, 591 => 211, 586 => 209, 580 => 208, 576 => 207, 572 => 206, 567 => 205, 565 => 204, 559 => 203, 555 => 202, 552 => 201, 548 => 198, 546 => 197, 542 => 195, 539 => 194, 536 => 193, 531 => 189, 524 => 185, 520 => 184, 513 => 180, 507 => 177, 504 => 176, 501 => 175, 498 => 173, 491 => 169, 487 => 168, 480 => 164, 474 => 161, 471 => 160, 468 => 159, 465 => 157, 458 => 153, 454 => 152, 447 => 148, 441 => 144, 435 => 142, 429 => 140, 427 => 139, 423 => 137, 420 => 136, 412 => 129, 406 => 127, 404 => 126, 401 => 125, 397 => 123, 395 => 122, 392 => 121, 386 => 119, 384 => 118, 381 => 117, 378 => 116, 372 => 113, 369 => 112, 366 => 111, 364 => 110, 361 => 109, 355 => 106, 352 => 105, 350 => 104, 347 => 103, 341 => 101, 339 => 100, 333 => 97, 329 => 95, 325 => 93, 323 => 89, 322 => 88, 321 => 87, 320 => 86, 317 => 85, 314 => 84, 311 => 82, 309 => 78, 308 => 77, 307 => 76, 306 => 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 #}
{% if productPage.library is not empty and credentials %}
<div id=\"wrap-video-init\">
{% include 'website/includes/video.html.twig' with {
url: \"https://player.vdocipher.com/v2/?otp=#{ credentials.otp }&playbackInfo=#{ credentials.playbackInfo }&primaryColor=#{ getConfig('primary_color') }\",
autoplay: productPage.autoplay,
title: product.title,
width: 353,
height: 211
}%}
</div>
{# VIDEO INIT #}
{% elseif productPage.video is not empty %}
<div id=\"wrap-video-init\">
{% include 'website/includes/video.html.twig' with {
url: productPage.video,
autoplay: productPage.autoplay,
title: product.title,
width: 353,
height: 211
}%}
</div>
{% endif %}
<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 %}
<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 %}
{# 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___454664145 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 384
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", 384);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 385
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 386
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 ( 1472 => 386, 1462 => 385, 1439 => 384, 980 => 407, 977 => 406, 974 => 404, 971 => 403, 968 => 401, 965 => 391, 962 => 389, 959 => 384, 956 => 382, 953 => 381, 950 => 379, 947 => 378, 943 => 375, 940 => 374, 937 => 372, 934 => 371, 931 => 370, 929 => 369, 927 => 368, 924 => 366, 919 => 363, 917 => 362, 913 => 360, 910 => 359, 907 => 357, 902 => 354, 900 => 353, 896 => 351, 893 => 349, 890 => 348, 888 => 347, 886 => 346, 883 => 345, 878 => 342, 876 => 341, 872 => 339, 869 => 338, 866 => 336, 859 => 331, 851 => 329, 849 => 328, 842 => 326, 839 => 325, 836 => 324, 824 => 322, 822 => 321, 818 => 320, 815 => 319, 812 => 318, 809 => 317, 806 => 315, 796 => 313, 794 => 312, 789 => 311, 786 => 309, 784 => 308, 781 => 307, 776 => 304, 774 => 301, 770 => 300, 766 => 299, 761 => 298, 759 => 297, 753 => 293, 750 => 292, 747 => 290, 741 => 286, 739 => 283, 738 => 282, 733 => 280, 727 => 279, 721 => 275, 718 => 274, 715 => 272, 712 => 271, 709 => 270, 706 => 269, 700 => 264, 698 => 263, 693 => 260, 690 => 258, 684 => 254, 682 => 253, 677 => 250, 674 => 249, 671 => 247, 667 => 245, 665 => 244, 662 => 243, 660 => 242, 657 => 241, 653 => 238, 647 => 234, 641 => 232, 639 => 231, 636 => 230, 630 => 228, 624 => 226, 622 => 225, 617 => 223, 610 => 221, 605 => 218, 602 => 217, 599 => 215, 596 => 214, 591 => 211, 586 => 209, 580 => 208, 576 => 207, 572 => 206, 567 => 205, 565 => 204, 559 => 203, 555 => 202, 552 => 201, 548 => 198, 546 => 197, 542 => 195, 539 => 194, 536 => 193, 531 => 189, 524 => 185, 520 => 184, 513 => 180, 507 => 177, 504 => 176, 501 => 175, 498 => 173, 491 => 169, 487 => 168, 480 => 164, 474 => 161, 471 => 160, 468 => 159, 465 => 157, 458 => 153, 454 => 152, 447 => 148, 441 => 144, 435 => 142, 429 => 140, 427 => 139, 423 => 137, 420 => 136, 412 => 129, 406 => 127, 404 => 126, 401 => 125, 397 => 123, 395 => 122, 392 => 121, 386 => 119, 384 => 118, 381 => 117, 378 => 116, 372 => 113, 369 => 112, 366 => 111, 364 => 110, 361 => 109, 355 => 106, 352 => 105, 350 => 104, 347 => 103, 341 => 101, 339 => 100, 333 => 97, 329 => 95, 325 => 93, 323 => 89, 322 => 88, 321 => 87, 320 => 86, 317 => 85, 314 => 84, 311 => 82, 309 => 78, 308 => 77, 307 => 76, 306 => 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 #}
{% if productPage.library is not empty and credentials %}
<div id=\"wrap-video-init\">
{% include 'website/includes/video.html.twig' with {
url: \"https://player.vdocipher.com/v2/?otp=#{ credentials.otp }&playbackInfo=#{ credentials.playbackInfo }&primaryColor=#{ getConfig('primary_color') }\",
autoplay: productPage.autoplay,
title: product.title,
width: 353,
height: 211
}%}
</div>
{# VIDEO INIT #}
{% elseif productPage.video is not empty %}
<div id=\"wrap-video-init\">
{% include 'website/includes/video.html.twig' with {
url: productPage.video,
autoplay: productPage.autoplay,
title: product.title,
width: 353,
height: 211
}%}
</div>
{% endif %}
<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 %}
<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 %}
{# 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___938008870 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 391
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", 391);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 392
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 393
echo " ";
$macros["__internal_c842f6d8e44f55ad65bfda29d388feab4cb6c91f99688d6923a4c53b04deb972"] = $this->loadTemplate("utils.html.twig", "website/product/product-detail.html.twig", 393)->unwrap();
// line 394
echo " <div class=\"modal-coupons-content\">
\t<div class=\"modal-loading\">
\t\t\t\t\t<i class=\"modal-loader\">";
// line 396
echo twig_call_macro($macros["__internal_c842f6d8e44f55ad65bfda29d388feab4cb6c91f99688d6923a4c53b04deb972"], "macro_ico", ["loader-wish"], 396, $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 => 396, 1969 => 394, 1966 => 393, 1956 => 392, 1933 => 391, 1472 => 386, 1462 => 385, 1439 => 384, 980 => 407, 977 => 406, 974 => 404, 971 => 403, 968 => 401, 965 => 391, 962 => 389, 959 => 384, 956 => 382, 953 => 381, 950 => 379, 947 => 378, 943 => 375, 940 => 374, 937 => 372, 934 => 371, 931 => 370, 929 => 369, 927 => 368, 924 => 366, 919 => 363, 917 => 362, 913 => 360, 910 => 359, 907 => 357, 902 => 354, 900 => 353, 896 => 351, 893 => 349, 890 => 348, 888 => 347, 886 => 346, 883 => 345, 878 => 342, 876 => 341, 872 => 339, 869 => 338, 866 => 336, 859 => 331, 851 => 329, 849 => 328, 842 => 326, 839 => 325, 836 => 324, 824 => 322, 822 => 321, 818 => 320, 815 => 319, 812 => 318, 809 => 317, 806 => 315, 796 => 313, 794 => 312, 789 => 311, 786 => 309, 784 => 308, 781 => 307, 776 => 304, 774 => 301, 770 => 300, 766 => 299, 761 => 298, 759 => 297, 753 => 293, 750 => 292, 747 => 290, 741 => 286, 739 => 283, 738 => 282, 733 => 280, 727 => 279, 721 => 275, 718 => 274, 715 => 272, 712 => 271, 709 => 270, 706 => 269, 700 => 264, 698 => 263, 693 => 260, 690 => 258, 684 => 254, 682 => 253, 677 => 250, 674 => 249, 671 => 247, 667 => 245, 665 => 244, 662 => 243, 660 => 242, 657 => 241, 653 => 238, 647 => 234, 641 => 232, 639 => 231, 636 => 230, 630 => 228, 624 => 226, 622 => 225, 617 => 223, 610 => 221, 605 => 218, 602 => 217, 599 => 215, 596 => 214, 591 => 211, 586 => 209, 580 => 208, 576 => 207, 572 => 206, 567 => 205, 565 => 204, 559 => 203, 555 => 202, 552 => 201, 548 => 198, 546 => 197, 542 => 195, 539 => 194, 536 => 193, 531 => 189, 524 => 185, 520 => 184, 513 => 180, 507 => 177, 504 => 176, 501 => 175, 498 => 173, 491 => 169, 487 => 168, 480 => 164, 474 => 161, 471 => 160, 468 => 159, 465 => 157, 458 => 153, 454 => 152, 447 => 148, 441 => 144, 435 => 142, 429 => 140, 427 => 139, 423 => 137, 420 => 136, 412 => 129, 406 => 127, 404 => 126, 401 => 125, 397 => 123, 395 => 122, 392 => 121, 386 => 119, 384 => 118, 381 => 117, 378 => 116, 372 => 113, 369 => 112, 366 => 111, 364 => 110, 361 => 109, 355 => 106, 352 => 105, 350 => 104, 347 => 103, 341 => 101, 339 => 100, 333 => 97, 329 => 95, 325 => 93, 323 => 89, 322 => 88, 321 => 87, 320 => 86, 317 => 85, 314 => 84, 311 => 82, 309 => 78, 308 => 77, 307 => 76, 306 => 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 #}
{% if productPage.library is not empty and credentials %}
<div id=\"wrap-video-init\">
{% include 'website/includes/video.html.twig' with {
url: \"https://player.vdocipher.com/v2/?otp=#{ credentials.otp }&playbackInfo=#{ credentials.playbackInfo }&primaryColor=#{ getConfig('primary_color') }\",
autoplay: productPage.autoplay,
title: product.title,
width: 353,
height: 211
}%}
</div>
{# VIDEO INIT #}
{% elseif productPage.video is not empty %}
<div id=\"wrap-video-init\">
{% include 'website/includes/video.html.twig' with {
url: productPage.video,
autoplay: productPage.autoplay,
title: product.title,
width: 353,
height: 211
}%}
</div>
{% endif %}
<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 %}
<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 %}
{# 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");
}
}