var/cache/dev/twig/bd/bd97aa3a3657e45aa03a4d8f7adf0be271dba09c34a9c9f3771faae7c8be4c54.php line 43

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* website/product/product-detail.html.twig */
  14. class __TwigTemplate_7bd341caba59cada86ba2a08d22426841593bb038868d17d56ad47bf37245460 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'bodyTag' => [$this'block_bodyTag'],
  25.             'product_detail_css' => [$this'block_product_detail_css'],
  26.             'meta' => [$this'block_meta'],
  27.             'metaIndex' => [$this'block_metaIndex'],
  28.             'body' => [$this'block_body'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 2
  34.         return "website/main.template.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/product/product-detail.html.twig"));
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/product/product-detail.html.twig"));
  43.         // line 1
  44.         $macros["__internal_c842f6d8e44f55ad65bfda29d388feab4cb6c91f99688d6923a4c53b04deb972"] = $this->macros["__internal_c842f6d8e44f55ad65bfda29d388feab4cb6c91f99688d6923a4c53b04deb972"] = $this->loadTemplate("utils.html.twig""website/product/product-detail.html.twig"1)->unwrap();
  45.         // line 54
  46.         $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"falsefalsefalse54));
  47.         // line 56
  48.         $context["isOne"] = ((=== 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)) || (!== 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"falsefalsefalse56), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::SUBSCRIPTION"))));
  49.         // line 57
  50.         $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); })()));
  51.         // line 58
  52.         $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"falsefalsefalse58), 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"falsefalsefalse58));
  53.         // line 59
  54.         $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"falsefalsefalse59) || 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"falsefalsefalse59));
  55.         // line 2
  56.         $this->parent $this->loadTemplate("website/main.template.html.twig""website/product/product-detail.html.twig"2);
  57.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  58.         
  59.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  60.         
  61.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  62.     }
  63.     // line 4
  64.     public function block_title($context, array $blocks = [])
  65.     {
  66.         $macros $this->macros;
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  68.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  71.         // line 5
  72.         echo "    <title>";
  73.         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"falsefalsefalse5) . " - ") . 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"falsefalsefalse5)), "html"nulltrue);
  74.         echo "</title>
  75.     <meta name=\"title\" content=\"";
  76.         // line 6
  77.         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"falsefalsefalse6) . " - ") . 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"falsefalsefalse6)), "html"nulltrue);
  78.         echo "\">
  79.     <meta property=\"og:title\" content=\"";
  80.         // line 7
  81.         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"falsefalsefalse7) . " - ") . 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"falsefalsefalse7)), "html"nulltrue);
  82.         echo "\">
  83. ";
  84.         
  85.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  86.         
  87.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  88.     }
  89.     // line 10
  90.     public function block_bodyTag($context, array $blocks = [])
  91.     {
  92.         $macros $this->macros;
  93.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  94.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyTag"));
  95.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  96.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyTag"));
  97.         // line 11
  98.         echo "    <body 
  99.         id=\"body\" 
  100.         class=\"product-detail-body ";
  101.         // line 13
  102.         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"falsefalsefalse13)) ? ("page-height-top") : (""));
  103.         echo "\" 
  104.         data-theme=\"";
  105.         // line 14
  106.         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"));
  107.         echo "\"
  108.         ";
  109.         // line 15
  110.         if ((isset($context["isDarkTheme"]) || array_key_exists("isDarkTheme"$context) ? $context["isDarkTheme"] : (function () { throw new RuntimeError('Variable "isDarkTheme" does not exist.'15$this->source); })())) {
  111.             echo " data-hide-deco=\"";
  112.             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));
  113.             echo "\"";
  114.         }
  115.         // line 16
  116.         echo "
  117.         data-shortagevisualizationnumber=\"";
  118.         // line 17
  119.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse17), "html"nulltrue);
  120.         echo "\"
  121.         data-shortagebuyersnumber=\"";
  122.         // line 18
  123.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse18), "html"nulltrue);
  124.         echo "\"
  125.         data-shortagevacanciesnumber=\"";
  126.         // line 19
  127.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse19), "html"nulltrue);
  128.         echo "\"
  129.         data-shortagevisualization=\"";
  130.         // line 21
  131.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse21), "html"nulltrue);
  132.         echo "\"
  133.         data-shortagebuyers=\"";
  134.         // line 22
  135.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse22), "html"nulltrue);
  136.         echo "\"
  137.         data-shortagevacancies=\"";
  138.         // line 23
  139.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse23), "html"nulltrue);
  140.         echo "\"
  141.         data-shortagestorage=\"";
  142.         // line 24
  143.         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"nulltrue);
  144.         echo "_";
  145.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse24), "html"nulltrue);
  146.         echo "_";
  147.         (((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->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse24), "id", [], "any"falsefalsefalse24), "html"nulltrue))) : (print ("")));
  148.         echo "\">
  149. ";
  150.         
  151.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  152.         
  153.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  154.     }
  155.     // line 27
  156.     public function block_product_detail_css($context, array $blocks = [])
  157.     {
  158.         $macros $this->macros;
  159.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  160.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""product_detail_css"));
  161.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  162.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""product_detail_css"));
  163.         // line 28
  164.         echo "    ";
  165.         $this->loadTemplate("website/includes/css-product-detail.html.twig""website/product/product-detail.html.twig"28)->display($context);
  166.         
  167.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  168.         
  169.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  170.     }
  171.     // line 31
  172.     public function block_meta($context, array $blocks = [])
  173.     {
  174.         $macros $this->macros;
  175.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  176.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  177.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  178.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  179.         // line 32
  180.         echo "    ";
  181.         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"falsefalsefalse32)) {
  182.             // line 33
  183.             echo "        <meta name=\"description\" content=\"";
  184.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse33), "html"nulltrue);
  185.             echo "\">
  186.         <meta property=\"og:description\" content=\"";
  187.             // line 34
  188.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse34), "html"nulltrue);
  189.             echo "\">
  190.     ";
  191.         }
  192.         // line 36
  193.         echo "
  194.     <meta property=\"og:image\" content=\"https:";
  195.         // line 37
  196.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getFilePathComplete(["fileName" => (((=== twig_compare(twig_length_filter($this->envtwig_get_attribute($this->env$this->source,         // line 39
  197. (isset($context["productPage"]) || array_key_exists("productPage"$context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.'39$this->source); })()), "photo", [], "any"falsefalsefalse39)), 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"falsefalsefalse39)) : ($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"falsefalsefalse38), "html"nulltrue);
  198.         // line 43
  199.         echo "\">
  200. ";
  201.         
  202.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  203.         
  204.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  205.     }
  206.     // line 46
  207.     public function block_metaIndex($context, array $blocks = [])
  208.     {
  209.         $macros $this->macros;
  210.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  211.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaIndex"));
  212.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  213.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaIndex"));
  214.         // line 47
  215.         echo "    ";
  216.         if ((!== 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"falsefalsefalse47), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::YES")))) {
  217.             // line 48
  218.             echo "        <meta name=\"robots\" content=\"nofollow\">
  219.     ";
  220.         } else {
  221.             // line 50
  222.             echo "        <meta name=\"robots\" content=\"index, follow\">
  223.     ";
  224.         }
  225.         
  226.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  227.         
  228.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  229.     }
  230.     // line 61
  231.     public function block_body($context, array $blocks = [])
  232.     {
  233.         $macros $this->macros;
  234.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  235.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  236.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  237.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  238.         // line 62
  239.         echo "
  240.     ";
  241.         // line 64
  242.         echo "    ";
  243.         $this->loadTemplate("website/includes/fast-timer.html.twig""website/product/product-detail.html.twig"64)->display($context);
  244.         // line 65
  245.         echo "
  246.     ";
  247.         // line 67
  248.         echo "    ";
  249.         $this->loadTemplate("website/includes/search-section.html.twig""website/product/product-detail.html.twig"67)->display($context);
  250.         // line 68
  251.         echo "
  252.     ";
  253.         // line 70
  254.         echo "    ";
  255.         $this->loadTemplate("website/product/product-detail-banner-section.html.twig""website/product/product-detail.html.twig"70)->display($context);
  256.         // line 71
  257.         echo "
  258.     ";
  259.         // line 73
  260.         echo "    ";
  261.         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"falsefalsefalse73)) && (isset($context["credentials"]) || array_key_exists("credentials"$context) ? $context["credentials"] : (function () { throw new RuntimeError('Variable "credentials" does not exist.'73$this->source); })()))) {
  262.             // line 74
  263.             echo "        <div id=\"wrap-video-init\">
  264.             ";
  265.             // line 75
  266.             $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
  267. (isset($context["credentials"]) || array_key_exists("credentials"$context) ? $context["credentials"] : (function () { throw new RuntimeError('Variable "credentials" does not exist.'76$this->source); })()), "otp", [], "any"falsefalsefalse76)) . "&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"falsefalsefalse76)) . "&primaryColor=") . $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getConfig("primary_color")), "autoplay" => twig_get_attribute($this->env$this->source,             // line 77
  268. (isset($context["productPage"]) || array_key_exists("productPage"$context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.'77$this->source); })()), "autoplay", [], "any"falsefalsefalse77), "title" => twig_get_attribute($this->env$this->source,             // line 78
  269. (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'78$this->source); })()), "title", [], "any"falsefalsefalse78), "width" => 353"height" => 211]));
  270.             // line 82
  271.             echo "        </div>
  272.     ";
  273.             // line 84
  274.             echo "    ";
  275.         } 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"falsefalsefalse84))) {
  276.             // line 85
  277.             echo "        <div id=\"wrap-video-init\">
  278.             ";
  279.             // line 86
  280.             $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
  281. (isset($context["productPage"]) || array_key_exists("productPage"$context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.'87$this->source); })()), "video", [], "any"falsefalsefalse87), "autoplay" => twig_get_attribute($this->env$this->source,             // line 88
  282. (isset($context["productPage"]) || array_key_exists("productPage"$context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.'88$this->source); })()), "autoplay", [], "any"falsefalsefalse88), "title" => twig_get_attribute($this->env$this->source,             // line 89
  283. (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'89$this->source); })()), "title", [], "any"falsefalsefalse89), "width" => 353"height" => 211]));
  284.             // line 93
  285.             echo "        </div>
  286.     ";
  287.         }
  288.         // line 95
  289.         echo "
  290.     <div class=\"contem-menu-anchors\">
  291.         <section class=\"menu-anchors\" data-page-height-top=\"";
  292.         // line 97
  293.         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"falsefalsefalse97)) ? ("1") : ("0"));
  294.         echo "\">
  295.             <div class=\"container\">
  296.                 <nav class=\"lateral-products\">
  297.                     ";
  298.         // line 100
  299.         if ((=== twig_compare(twig_length_filter($this->envtwig_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"falsefalsefalse100)), 0))) {
  300.             // line 101
  301.             echo "                        <a data-link-scroll=\"#sec-about\">";
  302.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("about""product"), "html"nulltrue);
  303.             echo "</a>
  304.                     ";
  305.         }
  306.         // line 103
  307.         echo "
  308.                     ";
  309.         // line 104
  310.         if (((=== 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"falsefalsefalse104), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::COURSE"))) && (=== 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)))) {
  311.             // line 105
  312.             echo "                        <a data-link-scroll=\"#sec-content\">
  313.                             ";
  314.             // line 106
  315.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("content""product"), "html"nulltrue);
  316.             echo "
  317.                         </a>
  318.                     ";
  319.         }
  320.         // line 109
  321.         echo "
  322.                     ";
  323.         // line 110
  324.         if (((=== 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"falsefalsefalse110), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::SUBSCRIPTION"))) || (=== 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"falsefalsefalse110), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::COMBO"))))) {
  325.             // line 111
  326.             echo "                        ";
  327.             if ((=== 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))) {
  328.                 // line 112
  329.                 echo "                            <a data-link-scroll=\"#sec-content\">
  330.                                 ";
  331.                 // line 113
  332.                 echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("courses""product"), "html"nulltrue);
  333.                 echo "
  334.                             </a>
  335.                         ";
  336.             }
  337.             // line 116
  338.             echo "                    ";
  339.         }
  340.         // line 117
  341.         echo "
  342.                     ";
  343.         // line 118
  344.         if ((=== twig_compare(twig_length_filter($this->envtwig_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"falsefalsefalse118)), 0))) {
  345.             // line 119
  346.             echo "                        <a data-link-scroll=\"#sec-instructors\">";
  347.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("instructors""product"), "html"nulltrue);
  348.             echo "</a>
  349.                     ";
  350.         }
  351.         // line 121
  352.         echo "
  353.                     ";
  354.         // line 122
  355.         if (($this->extensions['EADPlataforma\Twig\FunctionsExtension']->isModuleActive("faq_module") && (=== 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)))) {
  356.             // line 123
  357.             echo "                        <a data-link-scroll=\"#sec-faq\">FAQ</a>
  358.                     ";
  359.         }
  360.         // line 125
  361.         echo "
  362.                     ";
  363.         // line 126
  364.         if (((=== 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"falsefalsefalse126), 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"falsefalsefalse126))) {
  365.             // line 127
  366.             echo "                        <a data-link-scroll=\"#sec-reviews\">";
  367.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("rates""product"), "html"nulltrue);
  368.             echo "</a>
  369.                     ";
  370.         }
  371.         // line 129
  372.         echo "                </nav>
  373.             </div>
  374.         </section>
  375.     </div>
  376.     <div class=\"container\">
  377.         ";
  378.         // line 136
  379.         echo "        ";
  380.         if ((=== twig_compare(twig_length_filter($this->envtwig_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"falsefalsefalse136)), 0))) {
  381.             // line 137
  382.             echo "            <section id=\"sec-about\" class=\"text-open lateral-products\">
  383.                 <h2>
  384.                     ";
  385.             // line 139
  386.             if ((=== 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"falsefalsefalse139), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::SUBSCRIPTION")))) {
  387.                 // line 140
  388.                 echo "                        ";
  389.                 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"nulltrue);
  390.                 echo "
  391.                     ";
  392.             } else {
  393.                 // line 142
  394.                 echo "                        ";
  395.                 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"nulltrue);
  396.                 echo "
  397.                     ";
  398.             }
  399.             // line 144
  400.             echo "                </h2>
  401.                 <div class=\"wrap txt\">
  402.                     <div class=\"contem fr-view\">
  403.                         ";
  404.             // line 148
  405.             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"falsefalsefalse148);
  406.             echo "
  407.                     </div>
  408.                 </div>
  409.                 <button class=\"mais js--abre\">
  410.                     <span>";
  411.             // line 152
  412.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("show_more""product"), "html"nulltrue);
  413.             echo "</span>
  414.                     <span>";
  415.             // line 153
  416.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("show_less""product"), "html"nulltrue);
  417.             echo "</span>
  418.                 </button>
  419.             </section>
  420.         ";
  421.         }
  422.         // line 157
  423.         echo "
  424.         ";
  425.         // line 159
  426.         echo "        ";
  427.         if ((=== twig_compare(twig_length_filter($this->envtwig_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"falsefalsefalse159)), 0))) {
  428.             // line 160
  429.             echo "            <section id=\"sec-publico\" class=\"text-open lateral-products\">
  430.                 <h2>";
  431.             // line 161
  432.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("target_audience""product"), "html"nulltrue);
  433.             echo "</h2>
  434.                 <div class=\"wrap txt\">
  435.                     <div class=\"contem fr-view\">
  436.                         ";
  437.             // line 164
  438.             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"falsefalsefalse164);
  439.             echo "
  440.                     </div>
  441.                 </div>
  442.                 <button class=\"mais js--abre\">
  443.                     <span>";
  444.             // line 168
  445.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("show_more""product"), "html"nulltrue);
  446.             echo "</span>
  447.                     <span>";
  448.             // line 169
  449.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("show_less""product"), "html"nulltrue);
  450.             echo "</span>
  451.                 </button>
  452.             </section>
  453.         ";
  454.         }
  455.         // line 173
  456.         echo "
  457.         ";
  458.         // line 175
  459.         echo "        ";
  460.         if ((((=== twig_compare(twig_length_filter($this->envtwig_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"falsefalsefalse175)), 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"))) {
  461.             // line 176
  462.             echo "            <section id=\"sec-publico\" class=\"text-open lateral-products\">
  463.                 <h2>";
  464.             // line 177
  465.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("about_certificate""product"), "html"nulltrue);
  466.             echo "</h2>
  467.                 <div class=\"wrap txt\">
  468.                     <div class=\"contem fr-view\">
  469.                         ";
  470.             // line 180
  471.             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"falsefalsefalse180);
  472.             echo "
  473.                     </div>
  474.                 </div>
  475.                 <button class=\"mais js--abre\">
  476.                     <span>";
  477.             // line 184
  478.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("show_more""product"), "html"nulltrue);
  479.             echo "</span>
  480.                     <span>";
  481.             // line 185
  482.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("show_less""product"), "html"nulltrue);
  483.             echo "</span>
  484.                 </button>
  485.             </section>
  486.         ";
  487.         }
  488.         // line 189
  489.         echo "    </div>
  490.     <div class=\"container\">
  491.         ";
  492.         // line 193
  493.         echo "        ";
  494.         if ((=== 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"falsefalsefalse193), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::COURSE")))) {
  495.             // line 194
  496.             echo "            ";
  497.             if (((=== 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); })()))) {
  498.                 // line 195
  499.                 echo "                <div class=\"lateral-products\">
  500.                     <div class=\"product-validade\">
  501.                     ";
  502.                 // line 197
  503.                 if ((=== 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")))) {
  504.                     // line 198
  505.                     echo "                        <div class=\"period\">
  506.                         <i class=\"fas fa-infinity\"></i>
  507.                         ";
  508.                     // line 201
  509.                     echo "                        </div>
  510.                         <p class=\"title\">";
  511.                     // line 202
  512.                     echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("no_time""product"), "html"nulltrue);
  513.                     echo "</p>
  514.                         <p class=\"desc\">";
  515.                     // line 203
  516.                     echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("rest_assured""product"), "html"nulltrue);
  517.                     echo " ";
  518.                     echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("lifetime_period""product"), "html"nulltrue);
  519.                     echo "</p>
  520.                     ";
  521.                 } elseif (                // line 204
  522. (isset($context["accessPeriod"]) || array_key_exists("accessPeriod"$context) ? $context["accessPeriod"] : (function () { throw new RuntimeError('Variable "accessPeriod" does not exist.'204$this->source); })())) {
  523.                     // line 205
  524.                     echo "                        <div class=\"period\">";
  525.                     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"nulltrue);
  526.                     echo "</div>
  527.                         <p class=\"title\">";
  528.                     // line 206
  529.                     echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("no_time""product"), "html"nulltrue);
  530.                     echo "</p>
  531.                         <p class=\"desc\">";
  532.                     // line 207
  533.                     echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("rest_assured""product"), "html"nulltrue);
  534.                     echo 
  535.                         ";
  536.                     // line 208
  537.                     echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("in_until""product"), "html"nulltrue);
  538.                     echo " ";
  539.                     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"nulltrue);
  540.                     echo 
  541.                         ";
  542.                     // line 209
  543.                     echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("after_enrollment""product"), "html"nulltrue);
  544.                     echo "</p>
  545.                     ";
  546.                 }
  547.                 // line 211
  548.                 echo "                    </div>
  549.                 </div>
  550.             ";
  551.             }
  552.             // line 214
  553.             echo "        ";
  554.         }
  555.         // line 215
  556.         echo "
  557.         ";
  558.         // line 217
  559.         echo "        ";
  560.         if (((=== 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"falsefalsefalse217), $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); })())))) {
  561.             // line 218
  562.             echo "            <div class=\"lateral-products\">
  563.                 <div class=\"product-validade\">
  564.                     <div class=\"period\">
  565.                         <p>";
  566.             // line 221
  567.             echo twig_escape_filter($this->envtwig_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"nulltrue);
  568.             echo " <small>";
  569.             echo twig_escape_filter($this->env, (((=== 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"nulltrue);
  570.             echo "</small></p>
  571.                     </div>
  572.                     <p class=\"title\">";
  573.             // line 223
  574.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("subscribe_now""product"), "html"nulltrue);
  575.             echo "</p>
  576.                     ";
  577.             // line 225
  578.             if ((=== 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"falsefalsefalse225), 0))) {
  579.                 // line 226
  580.                 echo "                        <p class=\"desc\">";
  581.                 echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("free_membership_fee""product"), "html"nulltrue);
  582.                 echo "!</p>
  583.                     ";
  584.             } else {
  585.                 // line 228
  586.                 echo "                        <p class=\"desc\">";
  587.                 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"falsefalsefalse228)], 228$context$this->getSourceContext()));
  588.                 echo "</p>
  589.                     ";
  590.             }
  591.             // line 230
  592.             echo "                    <div class=\"acoes\">
  593.                         ";
  594.             // line 231
  595.             if ((isset($context["isOne"]) || array_key_exists("isOne"$context) ? $context["isOne"] : (function () { throw new RuntimeError('Variable "isOne" does not exist.'231$this->source); })())) {
  596.                 // line 232
  597.                 echo "                            <a data-link-scroll=\"#ofertas-planos\" class=\"btn-matricula\">";
  598.                 echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("subscribe""product"), "html"nulltrue);
  599.                 echo "</a>
  600.                         ";
  601.             }
  602.             // line 234
  603.             echo "                    </div>
  604.                 </div>
  605.             </div>
  606.         ";
  607.         }
  608.         // line 238
  609.         echo "    </div>
  610.     ";
  611.         // line 241
  612.         echo "    ";
  613.         if (((=== 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"falsefalsefalse241), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::SUBSCRIPTION"))) || (=== 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"falsefalsefalse241), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::COMBO"))))) {
  614.             // line 242
  615.             echo "        ";
  616.             // line 243
  617.             echo "        <div id=\"sec-content\" class=\"inclusos\">
  618.             ";
  619.             // line 244
  620.             $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); })())]));
  621.             // line 245
  622.             echo "        </div>
  623.     ";
  624.         }
  625.         // line 247
  626.         echo "
  627.     ";
  628.         // line 249
  629.         echo "    ";
  630.         if ((=== 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"falsefalsefalse249), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::COURSE")))) {
  631.             // line 250
  632.             echo "        <div id=\"sec-content\">
  633.             <div class=\"container\">
  634.                 <div class=\"lateral-products\">
  635.                     ";
  636.             // line 253
  637.             $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]));
  638.             // line 254
  639.             echo "                </div>
  640.             </div>
  641.         </div>
  642.     ";
  643.         }
  644.         // line 258
  645.         echo "
  646.     ";
  647.         // line 260
  648.         echo "    <div id=\"sec-instructors\">
  649.         <div class=\"container\">
  650.             <div class=\"lateral-products\">
  651.                 ";
  652.         // line 263
  653.         $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"))]));
  654.         // line 264
  655.         echo "            </div>
  656.         </div>
  657.     </div>
  658.     ";
  659.         // line 269
  660.         echo "    ";
  661.         if ($this->extensions['EADPlataforma\Twig\FunctionsExtension']->isModuleActive("faq_module")) {
  662.             // line 270
  663.             echo "        ";
  664.             $this->loadTemplate("website/faq/faq-section.html.twig""website/product/product-detail.html.twig"270)->display(twig_array_merge($context, ["layout" => "produto"]));
  665.             // line 271
  666.             echo "    ";
  667.         }
  668.         // line 272
  669.         echo "
  670.     ";
  671.         // line 274
  672.         echo "    ";
  673.         if ((((=== 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)) && (=== 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"falsefalsefalse274), $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); })())))) {
  674.             // line 275
  675.             echo "        <section id=\"ofertas-planos\" class=\"pag-sec sec-bg-alt\">
  676.             <div class=\"container\">
  677.                 <div class=\"lateral-products\">
  678.                     <header class=\"tit-sec tx-centro\">
  679.                         <h2>";
  680.             // line 279
  681.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("offers""product"), "html"nulltrue);
  682.             echo " <b>";
  683.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("flexible""product"), "html"nulltrue);
  684.             echo "</b></h2>
  685.                         <span class=\"sub\">";
  686.             // line 280
  687.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("choose_the_plan""product"), "html"nulltrue);
  688.             echo "</span>
  689.                     </header>
  690.                     ";
  691.             // line 282
  692.             $this->loadTemplate("website/product/product-detail-plan-cycles-section.html.twig""website/product/product-detail.html.twig"282)->display(twig_array_merge($context, ["full" => (((-=== twig_compare(twig_length_filter($this->env,             // line 283
  693. (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"]));
  694.             // line 286
  695.             echo "                </div>
  696.             </div>
  697.         </section>
  698.     ";
  699.         }
  700.         // line 290
  701.         echo "
  702.     ";
  703.         // line 292
  704.         echo "    ";
  705.         if ((=== 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"falsefalsefalse292), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::COURSE")))) {
  706.             // line 293
  707.             echo "        <div class=\"sec-bg-strip\">
  708.             <div class=\"container\">
  709.                 <div class=\"lateral-products\">
  710.                     <div class=\"advantages\">
  711.                         ";
  712.             // line 297
  713.             if ((=== 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"falsefalsefalse297), 1))) {
  714.                 // line 298
  715.                 echo "                            <p>";
  716.                 echo twig_call_macro($macros["__internal_c842f6d8e44f55ad65bfda29d388feab4cb6c91f99688d6923a4c53b04deb972"], "macro_ico", ["dollar"], 298$context$this->getSourceContext());
  717.                 echo "
  718.                                 <span>";
  719.                 // line 299
  720.                 echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("day_warranty""product"), "html"nulltrue);
  721.                 echo 
  722.                                 ";
  723.                 // line 300
  724.                 echo twig_escape_filter($this->envtwig_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"falsefalsefalse300), "html"nulltrue);
  725.                 echo "
  726.                                 ";
  727.                 // line 301
  728.                 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"falsefalsefalse301), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("warranty_devolution_day""product"), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("warranty_devolution_days""product")), "html"nulltrue);
  729.                 // line 304
  730.                 echo "</span>
  731.                             </p>
  732.                         ";
  733.             }
  734.             // line 307
  735.             echo "
  736.                         ";
  737.             // line 308
  738.             if ((=== 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))) {
  739.                 // line 309
  740.                 echo "                            <p><i class=\"fas fa-infinity\"></i>
  741.                             ";
  742.                 // line 311
  743.                 echo "                            <span>";
  744.                 echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("lifetime_access""product"), "html"nulltrue);
  745.                 echo "</span></p>
  746.                         ";
  747.             } elseif (            // line 312
  748. (isset($context["accessPeriod"]) || array_key_exists("accessPeriod"$context) ? $context["accessPeriod"] : (function () { throw new RuntimeError('Variable "accessPeriod" does not exist.'312$this->source); })())) {
  749.                 // line 313
  750.                 echo "                            <p>";
  751.                 echo twig_call_macro($macros["__internal_c842f6d8e44f55ad65bfda29d388feab4cb6c91f99688d6923a4c53b04deb972"], "macro_ico", ["calendar"], 313$context$this->getSourceContext());
  752.                 echo "<span>";
  753.                 echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("access_by""product"), "html"nulltrue);
  754.                 echo " ";
  755.                 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"nulltrue);
  756.                 echo "</span></p>
  757.                         ";
  758.             }
  759.             // line 315
  760.             echo "
  761.                         ";
  762.             // line 317
  763.             echo "                        ";
  764.             if ((=== 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")))) {
  765.                 // line 318
  766.                 echo "                            ";
  767.                 if ((=== 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))) {
  768.                     // line 319
  769.                     echo "                            <p><i class=\"fas fa-infinity\"></i>
  770.                                 <span>";
  771.                     // line 320
  772.                     echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("lifetime_support""product"), "html"nulltrue);
  773.                     echo "</span></p>
  774.                             ";
  775.                 } elseif (                // line 321
  776. (isset($context["supportPeriod"]) || array_key_exists("supportPeriod"$context) ? $context["supportPeriod"] : (function () { throw new RuntimeError('Variable "supportPeriod" does not exist.'321$this->source); })())) {
  777.                     // line 322
  778.                     echo "                                <p>";
  779.                     echo twig_call_macro($macros["__internal_c842f6d8e44f55ad65bfda29d388feab4cb6c91f99688d6923a4c53b04deb972"], "macro_ico", ["calendar"], 322$context$this->getSourceContext());
  780.                     echo "<span>";
  781.                     echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("until""product"), "html"nulltrue);
  782.                     echo " ";
  783.                     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"nulltrue);
  784.                     echo " ";
  785.                     echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("of_support""product"), "html"nulltrue);
  786.                     echo "</span></p>
  787.                             ";
  788.                 }
  789.                 // line 324
  790.                 echo "                        ";
  791.             }
  792.             // line 325
  793.             echo "
  794.                         <p>";
  795.             // line 326
  796.             echo twig_call_macro($macros["__internal_c842f6d8e44f55ad65bfda29d388feab4cb6c91f99688d6923a4c53b04deb972"], "macro_ico", ["coffee"], 326$context$this->getSourceContext());
  797.             echo "<span>";
  798.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("study_whenever""product"), "html"nulltrue);
  799.             echo "</span></p>
  800.                         ";
  801.             // line 328
  802.             if ((=== 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))) {
  803.                 // line 329
  804.                 echo "                            <p>";
  805.                 echo twig_call_macro($macros["__internal_c842f6d8e44f55ad65bfda29d388feab4cb6c91f99688d6923a4c53b04deb972"], "macro_ico", ["smartphone"], 329$context$this->getSourceContext());
  806.                 echo "<span>";
  807.                 echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("downloadable_materials""product"), "html"nulltrue);
  808.                 echo "</span></p>
  809.                         ";
  810.             }
  811.             // line 331
  812.             echo "                    </div>
  813.                 </div>
  814.             </div>
  815.         </div>
  816.     ";
  817.         }
  818.         // line 336
  819.         echo "
  820.     ";
  821.         // line 338
  822.         echo "    ";
  823.         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); })())))) {
  824.             // line 339
  825.             echo "        <div class=\"container\">
  826.             <div class=\"lateral-products\">
  827.                 ";
  828.             // line 341
  829.             $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); })())]));
  830.             // line 342
  831.             echo "            </div>
  832.         </div>
  833.     ";
  834.         }
  835.         // line 345
  836.         echo "    
  837.     ";
  838.         // line 346
  839.         if (((=== 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"falsefalsefalse346), 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"falsefalsefalse346))) {
  840.             // line 347
  841.             echo "        ";
  842.             // line 348
  843.             echo "        ";
  844.             $this->loadTemplate("website/product/product-detail-reviews-section.html.twig""website/product/product-detail.html.twig"348)->display($context);
  845.             // line 349
  846.             echo "    
  847.         ";
  848.             // line 351
  849.             echo "        <div class=\"container mobile--wid\">
  850.             <div class=\"lateral-products\">
  851.                 ";
  852.             // line 353
  853.             $this->loadTemplate("website/course/course-testimonial-section.html.twig""website/product/product-detail.html.twig"353)->display(twig_array_merge($context, ["layout" => "produto"]));
  854.             // line 354
  855.             echo "            </div>
  856.         </div>
  857.     ";
  858.         }
  859.         // line 357
  860.         echo "
  861.     ";
  862.         // line 359
  863.         echo "    ";
  864.         if ((!== twig_compare(twig_length_filter($this->envtwig_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"falsefalsefalse359)), 0))) {
  865.             // line 360
  866.             echo "        <div class=\"container\">
  867.             <div class=\"relacionados\">
  868.                 ";
  869.             // line 362
  870.             $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); })())]));
  871.             // line 363
  872.             echo "            </div>
  873.         </div>
  874.     ";
  875.         }
  876.         // line 366
  877.         echo "
  878.     ";
  879.         // line 368
  880.         echo "    ";
  881.         if (((=== 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"falsefalsefalse368), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("ProductEnum::COURSE"))) &&  !twig_test_empty(twig_get_attribute($this->env$this->source,         // line 369
  882. (isset($context["productOffersSubscriptionSection"]) || array_key_exists("productOffersSubscriptionSection"$context) ? $context["productOffersSubscriptionSection"] : (function () { throw new RuntimeError('Variable "productOffersSubscriptionSection" does not exist.'369$this->source); })()), "items", [], "any"falsefalsefalse369)))) {
  883.             // line 370
  884.             echo "        ";
  885.             $this->loadTemplate("website/product/product-plans-section.html.twig""website/product/product-detail.html.twig"370)->display(twig_array_merge($context, ["layout" => "product"]));
  886.             // line 371
  887.             echo "    ";
  888.         }
  889.         // line 372
  890.         echo "
  891.     ";
  892.         // line 374
  893.         echo "    ";
  894.         $this->loadTemplate("website/product/product-detail-buy-section.html.twig""website/product/product-detail.html.twig"374)->display($context);
  895.         // line 375
  896.         echo "
  897.     ";
  898.         // line 378
  899.         echo "    ";
  900.         $this->loadTemplate("website/includes/modal-waitlist.html.twig""website/product/product-detail.html.twig"378)->display(twig_array_merge($context, ["languageKey" => "product"]));
  901.         // line 379
  902.         echo "
  903.     ";
  904.         // line 381
  905.         echo "    ";
  906.         $this->loadTemplate("website/includes/modal-register.html.twig""website/product/product-detail.html.twig"381)->display(twig_array_merge($context, ["languageKey" => "product"]));
  907.         // line 382
  908.         echo "
  909.     ";
  910.         // line 384
  911.         echo "    ";
  912.         $this->loadTemplate("website/product/product-detail.html.twig""website/product/product-detail.html.twig"384"1747409518")->display(twig_array_merge($context, ["id" => "modal-terms-of-use""title" => $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("ready_terms""register"), "back" => true]));
  913.         // line 389
  914.         echo "
  915.     ";
  916.         // line 391
  917.         echo "    ";
  918.         $this->loadTemplate("website/product/product-detail.html.twig""website/product/product-detail.html.twig"391"753885884")->display(twig_array_merge($context, ["id" => "coupons-modal""title" => $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("avaliable_coupons""product")]));
  919.         // line 401
  920.         echo "
  921.     ";
  922.         // line 403
  923.         echo "    ";
  924.         $this->loadTemplate("website/includes/modal-coupon-rules.html.twig""website/product/product-detail.html.twig"403)->display($context);
  925.         // line 404
  926.         echo "
  927.     ";
  928.         // line 406
  929.         echo "    ";
  930.         $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")]));
  931.         // line 407
  932.         echo "
  933. ";
  934.         
  935.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  936.         
  937.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  938.     }
  939.     public function getTemplateName()
  940.     {
  941.         return "website/product/product-detail.html.twig";
  942.     }
  943.     public function isTraitable()
  944.     {
  945.         return false;
  946.     }
  947.     public function getDebugInfo()
  948.     {
  949.         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,);
  950.     }
  951.     public function getSourceContext()
  952.     {
  953.         return new Source("{% from 'utils.html.twig' import moeda, ico, imgUpload %}
  954. {% extends 'website/main.template.html.twig' %}
  955. {% block title %}
  956.     <title>{{ \"#{productPage.title} - #{client.brand}\" }}</title>
  957.     <meta name=\"title\" content=\"{{ \"#{productPage.title} - #{client.brand}\" }}\">
  958.     <meta property=\"og:title\" content=\"{{ \"#{productPage.title} - #{client.brand}\" }}\">
  959. {% endblock %}
  960. {% block bodyTag %}
  961.     <body 
  962.         id=\"body\" 
  963.         class=\"product-detail-body {{ productPage.showShortageControlTime ? 'page-height-top' }}\" 
  964.         data-theme=\"{{ isDarkTheme? 'dark':'light' }}\"
  965.         {% if isDarkTheme %} data-hide-deco=\"{{ hideBgDeco? 1:0 }}\"{% endif %}
  966.         data-shortagevisualizationnumber=\"{{ productPage.shortageVisualizationNumber }}\"
  967.         data-shortagebuyersnumber=\"{{ productPage.shortageBuyersNumber }}\"
  968.         data-shortagevacanciesnumber=\"{{ productPage.shortageVacanciesNumber }}\"
  969.         data-shortagevisualization=\"{{ productPage.showShortageControlVisualization }}\"
  970.         data-shortagebuyers=\"{{ productPage.showShortageControlBuyers }}\"
  971.         data-shortagevacancies=\"{{ productPage.showShortageControlVacancies }}\"
  972.         data-shortagestorage=\"{{ actualDomain }}_{{ productOffer.id }}_{{ session ? session.user.id }}\">
  973. {% endblock %}
  974. {% block product_detail_css %}
  975.     {% include 'website/includes/css-product-detail.html.twig' %}
  976. {% endblock %}
  977. {% block meta %}
  978.     {% if (productPage.overview) %}
  979.         <meta name=\"description\" content=\"{{ productPage.overview }}\">
  980.         <meta property=\"og:description\" content=\"{{ productPage.overview }}\">
  981.     {% endif %}
  982.     <meta property=\"og:image\" content=\"https:{{
  983.         getFilePathComplete({
  984.             fileName: (productPage.photo|length > 0)? productPage.photo : getConfig('image_default'),
  985.             pathConst: enum('AbstractEnum::PATH_PRODUCT_PHOTO'),
  986.             addUpload: enum('AbstractEnum::YES')
  987.         }).pathCdn
  988.     }}\">
  989. {% endblock %}
  990. {% block metaIndex %}
  991.     {% if productOffer.default != enum('ProductEnum::YES') %}
  992.         <meta name=\"robots\" content=\"nofollow\">
  993.     {% else %}
  994.         <meta name=\"robots\" content=\"index, follow\">
  995.     {% endif %}
  996. {% endblock %}
  997. {% set productTypeText = getProductTypeTextTranslate(product.type) %}
  998. {% set isOne = (productOffers|length > 1 or product.type != enum('ProductEnum::SUBSCRIPTION')) %}
  999. {% set infoOffer = getInfoAccessProductOffer(productOffer, false, productCoupon, isOne) %}
  1000. {% set isInCart  = productIsInCart(product.id, productOffer.id) %}
  1001. {% set canBuyNow = (infoOffer.allowBuyNow or infoOffer.isFree) %}
  1002. {% block body %}
  1003.     {# FAST TIMER #}
  1004.     {% include 'website/includes/fast-timer.html.twig' %}
  1005.     {# SEARCH #}
  1006.     {% include 'website/includes/search-section.html.twig' %}
  1007.     {# BANNER #}
  1008.     {% include 'website/product/product-detail-banner-section.html.twig' %}
  1009.     {# LIBRARY INIT #}
  1010.     {% if productPage.library is not empty and credentials %}
  1011.         <div id=\"wrap-video-init\">
  1012.             {% include 'website/includes/video.html.twig' with {
  1013.                 url: \"https://player.vdocipher.com/v2/?otp=#{ credentials.otp }&playbackInfo=#{ credentials.playbackInfo }&primaryColor=#{ getConfig('primary_color') }\",
  1014.                 autoplay: productPage.autoplay,
  1015.                 title: product.title,
  1016.                 width: 353,
  1017.                 height: 211
  1018.             }%}
  1019.         </div>
  1020.     {# VIDEO INIT #}
  1021.     {% elseif productPage.video is not empty %}
  1022.         <div id=\"wrap-video-init\">
  1023.             {% include 'website/includes/video.html.twig' with {
  1024.                 url: productPage.video, 
  1025.                 autoplay: productPage.autoplay,
  1026.                 title: product.title,
  1027.                 width: 353,
  1028.                 height: 211
  1029.             }%}
  1030.         </div>
  1031.     {% endif %}
  1032.     <div class=\"contem-menu-anchors\">
  1033.         <section class=\"menu-anchors\" data-page-height-top=\"{{ productPage.showShortageControlTime ? '1':'0' }}\">
  1034.             <div class=\"container\">
  1035.                 <nav class=\"lateral-products\">
  1036.                     {% if productPage.about|length > 0 %}
  1037.                         <a data-link-scroll=\"#sec-about\">{{ getLanguage('about', 'product') }}</a>
  1038.                     {% endif %}
  1039.                     {% if product.type == enum('ProductEnum::COURSE') and lessonModules|length > 0 %}
  1040.                         <a data-link-scroll=\"#sec-content\">
  1041.                             {{ getLanguage('content', 'product') }}
  1042.                         </a>
  1043.                     {% endif %}
  1044.                     {% if product.type == enum('ProductEnum::SUBSCRIPTION') or product.type == enum('ProductEnum::COMBO') %}
  1045.                         {% if courses|length > 0 %}
  1046.                             <a data-link-scroll=\"#sec-content\">
  1047.                                 {{ getLanguage('courses', 'product') }}
  1048.                             </a>
  1049.                         {% endif %}
  1050.                     {% endif %}
  1051.                     {% if teacherSection.teachers|length > 0 %}
  1052.                         <a data-link-scroll=\"#sec-instructors\">{{ getLanguage('instructors', 'product') }}</a>
  1053.                     {% endif %}
  1054.                     {% if isModuleActive('faq_module') and faqs|length > 0 %}
  1055.                         <a data-link-scroll=\"#sec-faq\">FAQ</a>
  1056.                     {% endif %}
  1057.                     {% if scoreProduct.scoreTotal > 0 and productPage.showModuleTestimonials %}
  1058.                         <a data-link-scroll=\"#sec-reviews\">{{ getLanguage('rates', 'product') }}</a>
  1059.                     {% endif %}
  1060.                 </nav>
  1061.             </div>
  1062.         </section>
  1063.     </div>
  1064.     <div class=\"container\">
  1065.         {# ABOUT #}
  1066.         {% if productPage.about|length > 0 %}
  1067.             <section id=\"sec-about\" class=\"text-open lateral-products\">
  1068.                 <h2>
  1069.                     {% if product.type == enum('ProductEnum::SUBSCRIPTION') %}
  1070.                         {{\"#{getLanguage('about_the2', 'product')} #{productTypeText|capitalize}\"}}
  1071.                     {% else %}
  1072.                         {{\"#{getLanguage('about_the', 'product')} #{productTypeText|capitalize}\"}}
  1073.                     {% endif %}
  1074.                 </h2>
  1075.                 <div class=\"wrap txt\">
  1076.                     <div class=\"contem fr-view\">
  1077.                         {{ productPage.about|raw }}
  1078.                     </div>
  1079.                 </div>
  1080.                 <button class=\"mais js--abre\">
  1081.                     <span>{{ getLanguage('show_more', 'product') }}</span>
  1082.                     <span>{{ getLanguage('show_less', 'product') }}</span>
  1083.                 </button>
  1084.             </section>
  1085.         {% endif %}
  1086.         {# PUBLIC #}
  1087.         {% if productPage.target|length > 0 %}
  1088.             <section id=\"sec-publico\" class=\"text-open lateral-products\">
  1089.                 <h2>{{ getLanguage('target_audience', 'product') }}</h2>
  1090.                 <div class=\"wrap txt\">
  1091.                     <div class=\"contem fr-view\">
  1092.                         {{ productPage.target|raw }}
  1093.                     </div>
  1094.                 </div>
  1095.                 <button class=\"mais js--abre\">
  1096.                     <span>{{ getLanguage('show_more', 'product') }}</span>
  1097.                     <span>{{ getLanguage('show_less', 'product') }}</span>
  1098.                 </button>
  1099.             </section>
  1100.         {% endif %}
  1101.         {# ABOUT CERTIFICATE #}
  1102.         {% if productPage.aboutCertificate|length > 0 and certificate and isModuleActive('course_certificate_module') %}
  1103.             <section id=\"sec-publico\" class=\"text-open lateral-products\">
  1104.                 <h2>{{ getLanguage('about_certificate', 'product') }}</h2>
  1105.                 <div class=\"wrap txt\">
  1106.                     <div class=\"contem fr-view\">
  1107.                         {{ productPage.aboutCertificate|raw }}
  1108.                     </div>
  1109.                 </div>
  1110.                 <button class=\"mais js--abre\">
  1111.                     <span>{{ getLanguage('show_more', 'product') }}</span>
  1112.                     <span>{{ getLanguage('show_less', 'product') }}</span>
  1113.                 </button>
  1114.             </section>
  1115.         {% endif %}
  1116.     </div>
  1117.     <div class=\"container\">
  1118.         {# MATRÍCULA -- CURSO #}
  1119.         {% if product.type == enum('ProductEnum::COURSE') %}
  1120.             {% if lifetimePeriod == enum('CourseEnum::YES') or accessPeriod %}
  1121.                 <div class=\"lateral-products\">
  1122.                     <div class=\"product-validade\">
  1123.                     {% if lifetimePeriod == enum('CourseEnum::YES') %}
  1124.                         <div class=\"period\">
  1125.                         <i class=\"fas fa-infinity\"></i>
  1126.                         {# {{ ico('infinity') }} !!! #}
  1127.                         </div>
  1128.                         <p class=\"title\">{{ getLanguage('no_time', 'product') }}</p>
  1129.                         <p class=\"desc\">{{ getLanguage('rest_assured', 'product') }} {{ getLanguage('lifetime_period', 'product') }}</p>
  1130.                     {% elseif accessPeriod %}
  1131.                         <div class=\"period\">{{ accessPeriod }}</div>
  1132.                         <p class=\"title\">{{ getLanguage('no_time', 'product') }}</p>
  1133.                         <p class=\"desc\">{{ getLanguage('rest_assured', 'product') }} 
  1134.                         {{ getLanguage('in_until', 'product') }} {{ accessPeriod }} 
  1135.                         {{ getLanguage('after_enrollment', 'product') }}</p>
  1136.                     {% endif %}
  1137.                     </div>
  1138.                 </div>
  1139.             {% endif %}
  1140.         {% endif %}
  1141.         {# MATRÍCULA -- PLANO #}
  1142.         {% if product.type == enum('ProductEnum::SUBSCRIPTION') and not userHasProduct(product) %}
  1143.             <div class=\"lateral-products\">
  1144.                 <div class=\"product-validade\">
  1145.                     <div class=\"period\">
  1146.                         <p>{{ courses|length }} <small>{{ (courses|length > 1) ? getLanguage('courses_lowercase', 'product') : getLanguage('course_lowercase', 'product') }}</small></p>
  1147.                     </div>
  1148.                     <p class=\"title\">{{ getLanguage('subscribe_now', 'product') }}</p>
  1149.                     {% if productOffer.membershipFee == 0 %}
  1150.                         <p class=\"desc\">{{ getLanguage('free_membership_fee', 'product') }}!</p>
  1151.                     {% else %}
  1152.                         <p class=\"desc\">{{ \" + %s #{getLanguage('membership_fee', 'product')}\"|format(moeda(productOffer.membershipFee))|raw }}</p>
  1153.                     {% endif %}
  1154.                     <div class=\"acoes\">
  1155.                         {% if isOne %}
  1156.                             <a data-link-scroll=\"#ofertas-planos\" class=\"btn-matricula\">{{ getLanguage('subscribe', 'product') }}</a>
  1157.                         {% endif %}
  1158.                     </div>
  1159.                 </div>
  1160.             </div>
  1161.         {% endif %}
  1162.     </div>
  1163.     {# CURSOS INCLUSOS #}
  1164.     {% if product.type == enum('ProductEnum::SUBSCRIPTION') or product.type == enum('ProductEnum::COMBO') %}
  1165.         {# @??? !!! #}
  1166.         <div id=\"sec-content\" class=\"inclusos\">
  1167.             {% include 'website/course/course-section.html.twig' with { section: planCoursesSection } %}
  1168.         </div>
  1169.     {% endif %}
  1170.     {# CONTEÚDO #}
  1171.     {% if product.type == enum('ProductEnum::COURSE') %}
  1172.         <div id=\"sec-content\">
  1173.             <div class=\"container\">
  1174.                 <div class=\"lateral-products\">
  1175.                     {% include 'website/product/product-detail-course-content-section.html.twig' with { show: 3, open: 1 } %}
  1176.                 </div>
  1177.             </div>
  1178.         </div>
  1179.     {% endif %}
  1180.     {# INSTRUCTORS #}
  1181.     <div id=\"sec-instructors\">
  1182.         <div class=\"container\">
  1183.             <div class=\"lateral-products\">
  1184.                 {% include 'website/teacher/teacher-section.html.twig' with { layout: 'product', theme: (isDarkTheme? 'dark':'light') }%}
  1185.             </div>
  1186.         </div>
  1187.     </div>
  1188.     {# FAQ #}
  1189.     {% if isModuleActive('faq_module') %}
  1190.         {% include 'website/faq/faq-section.html.twig' with { layout: 'produto' } %}
  1191.     {% endif %}
  1192.     {# CURRENT PLAN - CYCLES #}
  1193.     {% if productOffers|length > 1 and product.type == enum('ProductEnum::SUBSCRIPTION') and not userHasProduct(product) %}
  1194.         <section id=\"ofertas-planos\" class=\"pag-sec sec-bg-alt\">
  1195.             <div class=\"container\">
  1196.                 <div class=\"lateral-products\">
  1197.                     <header class=\"tit-sec tx-centro\">
  1198.                         <h2>{{ getLanguage('offers', 'product') }} <b>{{ getLanguage('flexible', 'product') }}</b></h2>
  1199.                         <span class=\"sub\">{{ getLanguage('choose_the_plan', 'product') }}</span>
  1200.                     </header>
  1201.                     {% include 'website/product/product-detail-plan-cycles-section.html.twig' with {
  1202.                         full: (productOffers|length < 3) ? false : true,
  1203.                         layout: 'product'
  1204.                     } %}
  1205.                 </div>
  1206.             </div>
  1207.         </section>
  1208.     {% endif %}
  1209.     {# VANTAGENS #}
  1210.     {% if product.type == enum('ProductEnum::COURSE') %}
  1211.         <div class=\"sec-bg-strip\">
  1212.             <div class=\"container\">
  1213.                 <div class=\"lateral-products\">
  1214.                     <div class=\"advantages\">
  1215.                         {% if productOffer.warranty == 1 %}
  1216.                             <p>{{ ico('dollar') }}
  1217.                                 <span>{{ getLanguage('day_warranty', 'product') }} 
  1218.                                 {{ productOffer.warrantyOption }}
  1219.                                 {{ plural(productOffer.warrantyOption, 
  1220.                                     getLanguage('warranty_devolution_day', 'product'), 
  1221.                                     getLanguage('warranty_devolution_days', 'product')
  1222.                                 )}}</span>
  1223.                             </p>
  1224.                         {% endif %}
  1225.                         {% if lifetimePeriod == 1 %}
  1226.                             <p><i class=\"fas fa-infinity\"></i>
  1227.                             {# {{ ico('infinity') }} #}
  1228.                             <span>{{ getLanguage('lifetime_access', 'product') }}</span></p>
  1229.                         {% elseif accessPeriod %}
  1230.                             <p>{{ ico('calendar') }}<span>{{ getLanguage('access_by', 'product') }} {{ accessPeriod }}</span></p>
  1231.                         {% endif %}
  1232.                         {# SUPPORT #}
  1233.                         {% if support == enum('CourseEnum::YES') %}
  1234.                             {% if lifetimeSupport == 1 %}
  1235.                             <p><i class=\"fas fa-infinity\"></i>
  1236.                                 <span>{{ getLanguage('lifetime_support', 'product') }}</span></p>
  1237.                             {% elseif supportPeriod %}
  1238.                                 <p>{{ ico('calendar') }}<span>{{ getLanguage('until', 'product') }} {{ supportPeriod }} {{ getLanguage('of_support', 'product') }}</span></p>
  1239.                             {% endif %}
  1240.                         {% endif %}
  1241.                         <p>{{ ico('coffee') }}<span>{{ getLanguage('study_whenever', 'product') }}</span></p>
  1242.                         {% if fileTotal > 0 %}
  1243.                             <p>{{ ico('smartphone') }}<span>{{ getLanguage('downloadable_materials', 'product') }}</span></p>
  1244.                         {% endif %}
  1245.                     </div>
  1246.                 </div>
  1247.             </div>
  1248.         </div>
  1249.     {% endif %}
  1250.     {# SUGESTÃO DO UPSELL #}
  1251.     {% if productOfferSuggestions is not empty and not userHasProduct(product) %}
  1252.         <div class=\"container\">
  1253.             <div class=\"lateral-products\">
  1254.                 {% include 'website/product/product-detail-upsell-section.html.twig' with { suggestions: productOfferSuggestions } %}
  1255.             </div>
  1256.         </div>
  1257.     {% endif %}
  1258.     
  1259.     {% if scoreProduct.scoreTotal > 0 and productPage.showModuleTestimonials %}
  1260.         {# REVIEWS #}
  1261.         {% include 'website/product/product-detail-reviews-section.html.twig' %}
  1262.     
  1263.         {# TESTIMONIALS #}
  1264.         <div class=\"container mobile--wid\">
  1265.             <div class=\"lateral-products\">
  1266.                 {% include 'website/course/course-testimonial-section.html.twig' with { layout: 'produto' } %}
  1267.             </div>
  1268.         </div>
  1269.     {% endif %}
  1270.     {# RELATED PRODUCTS #}
  1271.     {% if (productOffersRelatedsSection.items|length != 0) %}
  1272.         <div class=\"container\">
  1273.             <div class=\"relacionados\">
  1274.                 {% include 'website/product/product-section.html.twig' with { section: productOffersRelatedsSection } %}
  1275.             </div>
  1276.         </div>
  1277.     {% endif %}
  1278.     {# CURRENT COURSE - PLANS #}
  1279.     {% if  product.type == enum('ProductEnum::COURSE')
  1280.        and productOffersSubscriptionSection.items is not empty %}
  1281.         {% include 'website/product/product-plans-section.html.twig' with { layout: 'product' } %}
  1282.     {% endif %}
  1283.     {# BUY INFO #}
  1284.     {% include 'website/product/product-detail-buy-section.html.twig' %}
  1285.     {# MODAL -- WAITLIST #}
  1286.     {% include 'website/includes/modal-waitlist.html.twig' with { languageKey: 'product' } %}
  1287.     {# MODAL -- FAST USER REGISTER #}
  1288.     {% include 'website/includes/modal-register.html.twig' with { languageKey: 'product' } %}
  1289.     {# MODAL -- TERMOS DE USO #}
  1290.     {% embed \"website/includes/modal.html.twig\" with {'id': 'modal-terms-of-use', 'title': getLanguage('ready_terms', 'register'), 'back': true } %}
  1291.         {% block content %}
  1292.             {{ getConfig('contract')|raw }}
  1293.         {% endblock %}
  1294.     {% endembed %}
  1295.     {# MODAL -- COUPONS LIST #}
  1296.     {% embed \"website/includes/modal.html.twig\" with { 'id': 'coupons-modal', 'title': getLanguage('avaliable_coupons', 'product')} %}
  1297.         {% block content %}
  1298.             {% from 'utils.html.twig' import ico %}
  1299.             <div class=\"modal-coupons-content\">
  1300.             \t<div class=\"modal-loading\">
  1301. \t\t\t\t\t<i class=\"modal-loader\">{{ ico('loader-wish') }}</i>&ensp;{{ getLanguage('wait', 'util') }}&hellip;
  1302.             \t</div>
  1303.             </div>
  1304.         {% endblock %}
  1305.     {% endembed %}
  1306.     {# MODAL -- COUPON RULES #}
  1307.     {% include \"website/includes/modal-coupon-rules.html.twig\" %}
  1308.     {# MODAL -- SHARE #}
  1309.     {% include \"website/includes/modal-share.html.twig\" with { id: 'modal-share', title: getLanguage('share', 'product') } %}
  1310. {% endblock %}""website/product/product-detail.html.twig""/var/www/html/templates/website/product/product-detail.html.twig");
  1311.     }
  1312. }
  1313. /* website/product/product-detail.html.twig */
  1314. class __TwigTemplate_7bd341caba59cada86ba2a08d22426841593bb038868d17d56ad47bf37245460___1747409518 extends Template
  1315. {
  1316.     private $source;
  1317.     private $macros = [];
  1318.     public function __construct(Environment $env)
  1319.     {
  1320.         parent::__construct($env);
  1321.         $this->source $this->getSourceContext();
  1322.         $this->blocks = [
  1323.             'content' => [$this'block_content'],
  1324.         ];
  1325.     }
  1326.     protected function doGetParent(array $context)
  1327.     {
  1328.         // line 384
  1329.         return "website/includes/modal.html.twig";
  1330.     }
  1331.     protected function doDisplay(array $context, array $blocks = [])
  1332.     {
  1333.         $macros $this->macros;
  1334.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1335.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/product/product-detail.html.twig"));
  1336.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1337.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/product/product-detail.html.twig"));
  1338.         $this->parent $this->loadTemplate("website/includes/modal.html.twig""website/product/product-detail.html.twig"384);
  1339.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  1340.         
  1341.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1342.         
  1343.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1344.     }
  1345.     // line 385
  1346.     public function block_content($context, array $blocks = [])
  1347.     {
  1348.         $macros $this->macros;
  1349.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1350.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  1351.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1352.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  1353.         // line 386
  1354.         echo "            ";
  1355.         echo $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getConfig("contract");
  1356.         echo "
  1357.         ";
  1358.         
  1359.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1360.         
  1361.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1362.     }
  1363.     public function getTemplateName()
  1364.     {
  1365.         return "website/product/product-detail.html.twig";
  1366.     }
  1367.     public function isTraitable()
  1368.     {
  1369.         return false;
  1370.     }
  1371.     public function getDebugInfo()
  1372.     {
  1373.         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,);
  1374.     }
  1375.     public function getSourceContext()
  1376.     {
  1377.         return new Source("{% from 'utils.html.twig' import moeda, ico, imgUpload %}
  1378. {% extends 'website/main.template.html.twig' %}
  1379. {% block title %}
  1380.     <title>{{ \"#{productPage.title} - #{client.brand}\" }}</title>
  1381.     <meta name=\"title\" content=\"{{ \"#{productPage.title} - #{client.brand}\" }}\">
  1382.     <meta property=\"og:title\" content=\"{{ \"#{productPage.title} - #{client.brand}\" }}\">
  1383. {% endblock %}
  1384. {% block bodyTag %}
  1385.     <body 
  1386.         id=\"body\" 
  1387.         class=\"product-detail-body {{ productPage.showShortageControlTime ? 'page-height-top' }}\" 
  1388.         data-theme=\"{{ isDarkTheme? 'dark':'light' }}\"
  1389.         {% if isDarkTheme %} data-hide-deco=\"{{ hideBgDeco? 1:0 }}\"{% endif %}
  1390.         data-shortagevisualizationnumber=\"{{ productPage.shortageVisualizationNumber }}\"
  1391.         data-shortagebuyersnumber=\"{{ productPage.shortageBuyersNumber }}\"
  1392.         data-shortagevacanciesnumber=\"{{ productPage.shortageVacanciesNumber }}\"
  1393.         data-shortagevisualization=\"{{ productPage.showShortageControlVisualization }}\"
  1394.         data-shortagebuyers=\"{{ productPage.showShortageControlBuyers }}\"
  1395.         data-shortagevacancies=\"{{ productPage.showShortageControlVacancies }}\"
  1396.         data-shortagestorage=\"{{ actualDomain }}_{{ productOffer.id }}_{{ session ? session.user.id }}\">
  1397. {% endblock %}
  1398. {% block product_detail_css %}
  1399.     {% include 'website/includes/css-product-detail.html.twig' %}
  1400. {% endblock %}
  1401. {% block meta %}
  1402.     {% if (productPage.overview) %}
  1403.         <meta name=\"description\" content=\"{{ productPage.overview }}\">
  1404.         <meta property=\"og:description\" content=\"{{ productPage.overview }}\">
  1405.     {% endif %}
  1406.     <meta property=\"og:image\" content=\"https:{{
  1407.         getFilePathComplete({
  1408.             fileName: (productPage.photo|length > 0)? productPage.photo : getConfig('image_default'),
  1409.             pathConst: enum('AbstractEnum::PATH_PRODUCT_PHOTO'),
  1410.             addUpload: enum('AbstractEnum::YES')
  1411.         }).pathCdn
  1412.     }}\">
  1413. {% endblock %}
  1414. {% block metaIndex %}
  1415.     {% if productOffer.default != enum('ProductEnum::YES') %}
  1416.         <meta name=\"robots\" content=\"nofollow\">
  1417.     {% else %}
  1418.         <meta name=\"robots\" content=\"index, follow\">
  1419.     {% endif %}
  1420. {% endblock %}
  1421. {% set productTypeText = getProductTypeTextTranslate(product.type) %}
  1422. {% set isOne = (productOffers|length > 1 or product.type != enum('ProductEnum::SUBSCRIPTION')) %}
  1423. {% set infoOffer = getInfoAccessProductOffer(productOffer, false, productCoupon, isOne) %}
  1424. {% set isInCart  = productIsInCart(product.id, productOffer.id) %}
  1425. {% set canBuyNow = (infoOffer.allowBuyNow or infoOffer.isFree) %}
  1426. {% block body %}
  1427.     {# FAST TIMER #}
  1428.     {% include 'website/includes/fast-timer.html.twig' %}
  1429.     {# SEARCH #}
  1430.     {% include 'website/includes/search-section.html.twig' %}
  1431.     {# BANNER #}
  1432.     {% include 'website/product/product-detail-banner-section.html.twig' %}
  1433.     {# LIBRARY INIT #}
  1434.     {% if productPage.library is not empty and credentials %}
  1435.         <div id=\"wrap-video-init\">
  1436.             {% include 'website/includes/video.html.twig' with {
  1437.                 url: \"https://player.vdocipher.com/v2/?otp=#{ credentials.otp }&playbackInfo=#{ credentials.playbackInfo }&primaryColor=#{ getConfig('primary_color') }\",
  1438.                 autoplay: productPage.autoplay,
  1439.                 title: product.title,
  1440.                 width: 353,
  1441.                 height: 211
  1442.             }%}
  1443.         </div>
  1444.     {# VIDEO INIT #}
  1445.     {% elseif productPage.video is not empty %}
  1446.         <div id=\"wrap-video-init\">
  1447.             {% include 'website/includes/video.html.twig' with {
  1448.                 url: productPage.video, 
  1449.                 autoplay: productPage.autoplay,
  1450.                 title: product.title,
  1451.                 width: 353,
  1452.                 height: 211
  1453.             }%}
  1454.         </div>
  1455.     {% endif %}
  1456.     <div class=\"contem-menu-anchors\">
  1457.         <section class=\"menu-anchors\" data-page-height-top=\"{{ productPage.showShortageControlTime ? '1':'0' }}\">
  1458.             <div class=\"container\">
  1459.                 <nav class=\"lateral-products\">
  1460.                     {% if productPage.about|length > 0 %}
  1461.                         <a data-link-scroll=\"#sec-about\">{{ getLanguage('about', 'product') }}</a>
  1462.                     {% endif %}
  1463.                     {% if product.type == enum('ProductEnum::COURSE') and lessonModules|length > 0 %}
  1464.                         <a data-link-scroll=\"#sec-content\">
  1465.                             {{ getLanguage('content', 'product') }}
  1466.                         </a>
  1467.                     {% endif %}
  1468.                     {% if product.type == enum('ProductEnum::SUBSCRIPTION') or product.type == enum('ProductEnum::COMBO') %}
  1469.                         {% if courses|length > 0 %}
  1470.                             <a data-link-scroll=\"#sec-content\">
  1471.                                 {{ getLanguage('courses', 'product') }}
  1472.                             </a>
  1473.                         {% endif %}
  1474.                     {% endif %}
  1475.                     {% if teacherSection.teachers|length > 0 %}
  1476.                         <a data-link-scroll=\"#sec-instructors\">{{ getLanguage('instructors', 'product') }}</a>
  1477.                     {% endif %}
  1478.                     {% if isModuleActive('faq_module') and faqs|length > 0 %}
  1479.                         <a data-link-scroll=\"#sec-faq\">FAQ</a>
  1480.                     {% endif %}
  1481.                     {% if scoreProduct.scoreTotal > 0 and productPage.showModuleTestimonials %}
  1482.                         <a data-link-scroll=\"#sec-reviews\">{{ getLanguage('rates', 'product') }}</a>
  1483.                     {% endif %}
  1484.                 </nav>
  1485.             </div>
  1486.         </section>
  1487.     </div>
  1488.     <div class=\"container\">
  1489.         {# ABOUT #}
  1490.         {% if productPage.about|length > 0 %}
  1491.             <section id=\"sec-about\" class=\"text-open lateral-products\">
  1492.                 <h2>
  1493.                     {% if product.type == enum('ProductEnum::SUBSCRIPTION') %}
  1494.                         {{\"#{getLanguage('about_the2', 'product')} #{productTypeText|capitalize}\"}}
  1495.                     {% else %}
  1496.                         {{\"#{getLanguage('about_the', 'product')} #{productTypeText|capitalize}\"}}
  1497.                     {% endif %}
  1498.                 </h2>
  1499.                 <div class=\"wrap txt\">
  1500.                     <div class=\"contem fr-view\">
  1501.                         {{ productPage.about|raw }}
  1502.                     </div>
  1503.                 </div>
  1504.                 <button class=\"mais js--abre\">
  1505.                     <span>{{ getLanguage('show_more', 'product') }}</span>
  1506.                     <span>{{ getLanguage('show_less', 'product') }}</span>
  1507.                 </button>
  1508.             </section>
  1509.         {% endif %}
  1510.         {# PUBLIC #}
  1511.         {% if productPage.target|length > 0 %}
  1512.             <section id=\"sec-publico\" class=\"text-open lateral-products\">
  1513.                 <h2>{{ getLanguage('target_audience', 'product') }}</h2>
  1514.                 <div class=\"wrap txt\">
  1515.                     <div class=\"contem fr-view\">
  1516.                         {{ productPage.target|raw }}
  1517.                     </div>
  1518.                 </div>
  1519.                 <button class=\"mais js--abre\">
  1520.                     <span>{{ getLanguage('show_more', 'product') }}</span>
  1521.                     <span>{{ getLanguage('show_less', 'product') }}</span>
  1522.                 </button>
  1523.             </section>
  1524.         {% endif %}
  1525.         {# ABOUT CERTIFICATE #}
  1526.         {% if productPage.aboutCertificate|length > 0 and certificate and isModuleActive('course_certificate_module') %}
  1527.             <section id=\"sec-publico\" class=\"text-open lateral-products\">
  1528.                 <h2>{{ getLanguage('about_certificate', 'product') }}</h2>
  1529.                 <div class=\"wrap txt\">
  1530.                     <div class=\"contem fr-view\">
  1531.                         {{ productPage.aboutCertificate|raw }}
  1532.                     </div>
  1533.                 </div>
  1534.                 <button class=\"mais js--abre\">
  1535.                     <span>{{ getLanguage('show_more', 'product') }}</span>
  1536.                     <span>{{ getLanguage('show_less', 'product') }}</span>
  1537.                 </button>
  1538.             </section>
  1539.         {% endif %}
  1540.     </div>
  1541.     <div class=\"container\">
  1542.         {# MATRÍCULA -- CURSO #}
  1543.         {% if product.type == enum('ProductEnum::COURSE') %}
  1544.             {% if lifetimePeriod == enum('CourseEnum::YES') or accessPeriod %}
  1545.                 <div class=\"lateral-products\">
  1546.                     <div class=\"product-validade\">
  1547.                     {% if lifetimePeriod == enum('CourseEnum::YES') %}
  1548.                         <div class=\"period\">
  1549.                         <i class=\"fas fa-infinity\"></i>
  1550.                         {# {{ ico('infinity') }} !!! #}
  1551.                         </div>
  1552.                         <p class=\"title\">{{ getLanguage('no_time', 'product') }}</p>
  1553.                         <p class=\"desc\">{{ getLanguage('rest_assured', 'product') }} {{ getLanguage('lifetime_period', 'product') }}</p>
  1554.                     {% elseif accessPeriod %}
  1555.                         <div class=\"period\">{{ accessPeriod }}</div>
  1556.                         <p class=\"title\">{{ getLanguage('no_time', 'product') }}</p>
  1557.                         <p class=\"desc\">{{ getLanguage('rest_assured', 'product') }} 
  1558.                         {{ getLanguage('in_until', 'product') }} {{ accessPeriod }} 
  1559.                         {{ getLanguage('after_enrollment', 'product') }}</p>
  1560.                     {% endif %}
  1561.                     </div>
  1562.                 </div>
  1563.             {% endif %}
  1564.         {% endif %}
  1565.         {# MATRÍCULA -- PLANO #}
  1566.         {% if product.type == enum('ProductEnum::SUBSCRIPTION') and not userHasProduct(product) %}
  1567.             <div class=\"lateral-products\">
  1568.                 <div class=\"product-validade\">
  1569.                     <div class=\"period\">
  1570.                         <p>{{ courses|length }} <small>{{ (courses|length > 1) ? getLanguage('courses_lowercase', 'product') : getLanguage('course_lowercase', 'product') }}</small></p>
  1571.                     </div>
  1572.                     <p class=\"title\">{{ getLanguage('subscribe_now', 'product') }}</p>
  1573.                     {% if productOffer.membershipFee == 0 %}
  1574.                         <p class=\"desc\">{{ getLanguage('free_membership_fee', 'product') }}!</p>
  1575.                     {% else %}
  1576.                         <p class=\"desc\">{{ \" + %s #{getLanguage('membership_fee', 'product')}\"|format(moeda(productOffer.membershipFee))|raw }}</p>
  1577.                     {% endif %}
  1578.                     <div class=\"acoes\">
  1579.                         {% if isOne %}
  1580.                             <a data-link-scroll=\"#ofertas-planos\" class=\"btn-matricula\">{{ getLanguage('subscribe', 'product') }}</a>
  1581.                         {% endif %}
  1582.                     </div>
  1583.                 </div>
  1584.             </div>
  1585.         {% endif %}
  1586.     </div>
  1587.     {# CURSOS INCLUSOS #}
  1588.     {% if product.type == enum('ProductEnum::SUBSCRIPTION') or product.type == enum('ProductEnum::COMBO') %}
  1589.         {# @??? !!! #}
  1590.         <div id=\"sec-content\" class=\"inclusos\">
  1591.             {% include 'website/course/course-section.html.twig' with { section: planCoursesSection } %}
  1592.         </div>
  1593.     {% endif %}
  1594.     {# CONTEÚDO #}
  1595.     {% if product.type == enum('ProductEnum::COURSE') %}
  1596.         <div id=\"sec-content\">
  1597.             <div class=\"container\">
  1598.                 <div class=\"lateral-products\">
  1599.                     {% include 'website/product/product-detail-course-content-section.html.twig' with { show: 3, open: 1 } %}
  1600.                 </div>
  1601.             </div>
  1602.         </div>
  1603.     {% endif %}
  1604.     {# INSTRUCTORS #}
  1605.     <div id=\"sec-instructors\">
  1606.         <div class=\"container\">
  1607.             <div class=\"lateral-products\">
  1608.                 {% include 'website/teacher/teacher-section.html.twig' with { layout: 'product', theme: (isDarkTheme? 'dark':'light') }%}
  1609.             </div>
  1610.         </div>
  1611.     </div>
  1612.     {# FAQ #}
  1613.     {% if isModuleActive('faq_module') %}
  1614.         {% include 'website/faq/faq-section.html.twig' with { layout: 'produto' } %}
  1615.     {% endif %}
  1616.     {# CURRENT PLAN - CYCLES #}
  1617.     {% if productOffers|length > 1 and product.type == enum('ProductEnum::SUBSCRIPTION') and not userHasProduct(product) %}
  1618.         <section id=\"ofertas-planos\" class=\"pag-sec sec-bg-alt\">
  1619.             <div class=\"container\">
  1620.                 <div class=\"lateral-products\">
  1621.                     <header class=\"tit-sec tx-centro\">
  1622.                         <h2>{{ getLanguage('offers', 'product') }} <b>{{ getLanguage('flexible', 'product') }}</b></h2>
  1623.                         <span class=\"sub\">{{ getLanguage('choose_the_plan', 'product') }}</span>
  1624.                     </header>
  1625.                     {% include 'website/product/product-detail-plan-cycles-section.html.twig' with {
  1626.                         full: (productOffers|length < 3) ? false : true,
  1627.                         layout: 'product'
  1628.                     } %}
  1629.                 </div>
  1630.             </div>
  1631.         </section>
  1632.     {% endif %}
  1633.     {# VANTAGENS #}
  1634.     {% if product.type == enum('ProductEnum::COURSE') %}
  1635.         <div class=\"sec-bg-strip\">
  1636.             <div class=\"container\">
  1637.                 <div class=\"lateral-products\">
  1638.                     <div class=\"advantages\">
  1639.                         {% if productOffer.warranty == 1 %}
  1640.                             <p>{{ ico('dollar') }}
  1641.                                 <span>{{ getLanguage('day_warranty', 'product') }} 
  1642.                                 {{ productOffer.warrantyOption }}
  1643.                                 {{ plural(productOffer.warrantyOption, 
  1644.                                     getLanguage('warranty_devolution_day', 'product'), 
  1645.                                     getLanguage('warranty_devolution_days', 'product')
  1646.                                 )}}</span>
  1647.                             </p>
  1648.                         {% endif %}
  1649.                         {% if lifetimePeriod == 1 %}
  1650.                             <p><i class=\"fas fa-infinity\"></i>
  1651.                             {# {{ ico('infinity') }} #}
  1652.                             <span>{{ getLanguage('lifetime_access', 'product') }}</span></p>
  1653.                         {% elseif accessPeriod %}
  1654.                             <p>{{ ico('calendar') }}<span>{{ getLanguage('access_by', 'product') }} {{ accessPeriod }}</span></p>
  1655.                         {% endif %}
  1656.                         {# SUPPORT #}
  1657.                         {% if support == enum('CourseEnum::YES') %}
  1658.                             {% if lifetimeSupport == 1 %}
  1659.                             <p><i class=\"fas fa-infinity\"></i>
  1660.                                 <span>{{ getLanguage('lifetime_support', 'product') }}</span></p>
  1661.                             {% elseif supportPeriod %}
  1662.                                 <p>{{ ico('calendar') }}<span>{{ getLanguage('until', 'product') }} {{ supportPeriod }} {{ getLanguage('of_support', 'product') }}</span></p>
  1663.                             {% endif %}
  1664.                         {% endif %}
  1665.                         <p>{{ ico('coffee') }}<span>{{ getLanguage('study_whenever', 'product') }}</span></p>
  1666.                         {% if fileTotal > 0 %}
  1667.                             <p>{{ ico('smartphone') }}<span>{{ getLanguage('downloadable_materials', 'product') }}</span></p>
  1668.                         {% endif %}
  1669.                     </div>
  1670.                 </div>
  1671.             </div>
  1672.         </div>
  1673.     {% endif %}
  1674.     {# SUGESTÃO DO UPSELL #}
  1675.     {% if productOfferSuggestions is not empty and not userHasProduct(product) %}
  1676.         <div class=\"container\">
  1677.             <div class=\"lateral-products\">
  1678.                 {% include 'website/product/product-detail-upsell-section.html.twig' with { suggestions: productOfferSuggestions } %}
  1679.             </div>
  1680.         </div>
  1681.     {% endif %}
  1682.     
  1683.     {% if scoreProduct.scoreTotal > 0 and productPage.showModuleTestimonials %}
  1684.         {# REVIEWS #}
  1685.         {% include 'website/product/product-detail-reviews-section.html.twig' %}
  1686.     
  1687.         {# TESTIMONIALS #}
  1688.         <div class=\"container mobile--wid\">
  1689.             <div class=\"lateral-products\">
  1690.                 {% include 'website/course/course-testimonial-section.html.twig' with { layout: 'produto' } %}
  1691.             </div>
  1692.         </div>
  1693.     {% endif %}
  1694.     {# RELATED PRODUCTS #}
  1695.     {% if (productOffersRelatedsSection.items|length != 0) %}
  1696.         <div class=\"container\">
  1697.             <div class=\"relacionados\">
  1698.                 {% include 'website/product/product-section.html.twig' with { section: productOffersRelatedsSection } %}
  1699.             </div>
  1700.         </div>
  1701.     {% endif %}
  1702.     {# CURRENT COURSE - PLANS #}
  1703.     {% if  product.type == enum('ProductEnum::COURSE')
  1704.        and productOffersSubscriptionSection.items is not empty %}
  1705.         {% include 'website/product/product-plans-section.html.twig' with { layout: 'product' } %}
  1706.     {% endif %}
  1707.     {# BUY INFO #}
  1708.     {% include 'website/product/product-detail-buy-section.html.twig' %}
  1709.     {# MODAL -- WAITLIST #}
  1710.     {% include 'website/includes/modal-waitlist.html.twig' with { languageKey: 'product' } %}
  1711.     {# MODAL -- FAST USER REGISTER #}
  1712.     {% include 'website/includes/modal-register.html.twig' with { languageKey: 'product' } %}
  1713.     {# MODAL -- TERMOS DE USO #}
  1714.     {% embed \"website/includes/modal.html.twig\" with {'id': 'modal-terms-of-use', 'title': getLanguage('ready_terms', 'register'), 'back': true } %}
  1715.         {% block content %}
  1716.             {{ getConfig('contract')|raw }}
  1717.         {% endblock %}
  1718.     {% endembed %}
  1719.     {# MODAL -- COUPONS LIST #}
  1720.     {% embed \"website/includes/modal.html.twig\" with { 'id': 'coupons-modal', 'title': getLanguage('avaliable_coupons', 'product')} %}
  1721.         {% block content %}
  1722.             {% from 'utils.html.twig' import ico %}
  1723.             <div class=\"modal-coupons-content\">
  1724.             \t<div class=\"modal-loading\">
  1725. \t\t\t\t\t<i class=\"modal-loader\">{{ ico('loader-wish') }}</i>&ensp;{{ getLanguage('wait', 'util') }}&hellip;
  1726.             \t</div>
  1727.             </div>
  1728.         {% endblock %}
  1729.     {% endembed %}
  1730.     {# MODAL -- COUPON RULES #}
  1731.     {% include \"website/includes/modal-coupon-rules.html.twig\" %}
  1732.     {# MODAL -- SHARE #}
  1733.     {% include \"website/includes/modal-share.html.twig\" with { id: 'modal-share', title: getLanguage('share', 'product') } %}
  1734. {% endblock %}""website/product/product-detail.html.twig""/var/www/html/templates/website/product/product-detail.html.twig");
  1735.     }
  1736. }
  1737. /* website/product/product-detail.html.twig */
  1738. class __TwigTemplate_7bd341caba59cada86ba2a08d22426841593bb038868d17d56ad47bf37245460___753885884 extends Template
  1739. {
  1740.     private $source;
  1741.     private $macros = [];
  1742.     public function __construct(Environment $env)
  1743.     {
  1744.         parent::__construct($env);
  1745.         $this->source $this->getSourceContext();
  1746.         $this->blocks = [
  1747.             'content' => [$this'block_content'],
  1748.         ];
  1749.     }
  1750.     protected function doGetParent(array $context)
  1751.     {
  1752.         // line 391
  1753.         return "website/includes/modal.html.twig";
  1754.     }
  1755.     protected function doDisplay(array $context, array $blocks = [])
  1756.     {
  1757.         $macros $this->macros;
  1758.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1759.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/product/product-detail.html.twig"));
  1760.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1761.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/product/product-detail.html.twig"));
  1762.         $this->parent $this->loadTemplate("website/includes/modal.html.twig""website/product/product-detail.html.twig"391);
  1763.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  1764.         
  1765.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1766.         
  1767.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1768.     }
  1769.     // line 392
  1770.     public function block_content($context, array $blocks = [])
  1771.     {
  1772.         $macros $this->macros;
  1773.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1774.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  1775.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1776.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  1777.         // line 393
  1778.         echo "            ";
  1779.         $macros["__internal_c842f6d8e44f55ad65bfda29d388feab4cb6c91f99688d6923a4c53b04deb972"] = $this->loadTemplate("utils.html.twig""website/product/product-detail.html.twig"393)->unwrap();
  1780.         // line 394
  1781.         echo "            <div class=\"modal-coupons-content\">
  1782.             \t<div class=\"modal-loading\">
  1783. \t\t\t\t\t<i class=\"modal-loader\">";
  1784.         // line 396
  1785.         echo twig_call_macro($macros["__internal_c842f6d8e44f55ad65bfda29d388feab4cb6c91f99688d6923a4c53b04deb972"], "macro_ico", ["loader-wish"], 396$context$this->getSourceContext());
  1786.         echo "</i>&ensp;";
  1787.         echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("wait""util"), "html"nulltrue);
  1788.         echo "&hellip;
  1789.             \t</div>
  1790.             </div>
  1791.         ";
  1792.         
  1793.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1794.         
  1795.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1796.     }
  1797.     public function getTemplateName()
  1798.     {
  1799.         return "website/product/product-detail.html.twig";
  1800.     }
  1801.     public function isTraitable()
  1802.     {
  1803.         return false;
  1804.     }
  1805.     public function getDebugInfo()
  1806.     {
  1807.         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,);
  1808.     }
  1809.     public function getSourceContext()
  1810.     {
  1811.         return new Source("{% from 'utils.html.twig' import moeda, ico, imgUpload %}
  1812. {% extends 'website/main.template.html.twig' %}
  1813. {% block title %}
  1814.     <title>{{ \"#{productPage.title} - #{client.brand}\" }}</title>
  1815.     <meta name=\"title\" content=\"{{ \"#{productPage.title} - #{client.brand}\" }}\">
  1816.     <meta property=\"og:title\" content=\"{{ \"#{productPage.title} - #{client.brand}\" }}\">
  1817. {% endblock %}
  1818. {% block bodyTag %}
  1819.     <body 
  1820.         id=\"body\" 
  1821.         class=\"product-detail-body {{ productPage.showShortageControlTime ? 'page-height-top' }}\" 
  1822.         data-theme=\"{{ isDarkTheme? 'dark':'light' }}\"
  1823.         {% if isDarkTheme %} data-hide-deco=\"{{ hideBgDeco? 1:0 }}\"{% endif %}
  1824.         data-shortagevisualizationnumber=\"{{ productPage.shortageVisualizationNumber }}\"
  1825.         data-shortagebuyersnumber=\"{{ productPage.shortageBuyersNumber }}\"
  1826.         data-shortagevacanciesnumber=\"{{ productPage.shortageVacanciesNumber }}\"
  1827.         data-shortagevisualization=\"{{ productPage.showShortageControlVisualization }}\"
  1828.         data-shortagebuyers=\"{{ productPage.showShortageControlBuyers }}\"
  1829.         data-shortagevacancies=\"{{ productPage.showShortageControlVacancies }}\"
  1830.         data-shortagestorage=\"{{ actualDomain }}_{{ productOffer.id }}_{{ session ? session.user.id }}\">
  1831. {% endblock %}
  1832. {% block product_detail_css %}
  1833.     {% include 'website/includes/css-product-detail.html.twig' %}
  1834. {% endblock %}
  1835. {% block meta %}
  1836.     {% if (productPage.overview) %}
  1837.         <meta name=\"description\" content=\"{{ productPage.overview }}\">
  1838.         <meta property=\"og:description\" content=\"{{ productPage.overview }}\">
  1839.     {% endif %}
  1840.     <meta property=\"og:image\" content=\"https:{{
  1841.         getFilePathComplete({
  1842.             fileName: (productPage.photo|length > 0)? productPage.photo : getConfig('image_default'),
  1843.             pathConst: enum('AbstractEnum::PATH_PRODUCT_PHOTO'),
  1844.             addUpload: enum('AbstractEnum::YES')
  1845.         }).pathCdn
  1846.     }}\">
  1847. {% endblock %}
  1848. {% block metaIndex %}
  1849.     {% if productOffer.default != enum('ProductEnum::YES') %}
  1850.         <meta name=\"robots\" content=\"nofollow\">
  1851.     {% else %}
  1852.         <meta name=\"robots\" content=\"index, follow\">
  1853.     {% endif %}
  1854. {% endblock %}
  1855. {% set productTypeText = getProductTypeTextTranslate(product.type) %}
  1856. {% set isOne = (productOffers|length > 1 or product.type != enum('ProductEnum::SUBSCRIPTION')) %}
  1857. {% set infoOffer = getInfoAccessProductOffer(productOffer, false, productCoupon, isOne) %}
  1858. {% set isInCart  = productIsInCart(product.id, productOffer.id) %}
  1859. {% set canBuyNow = (infoOffer.allowBuyNow or infoOffer.isFree) %}
  1860. {% block body %}
  1861.     {# FAST TIMER #}
  1862.     {% include 'website/includes/fast-timer.html.twig' %}
  1863.     {# SEARCH #}
  1864.     {% include 'website/includes/search-section.html.twig' %}
  1865.     {# BANNER #}
  1866.     {% include 'website/product/product-detail-banner-section.html.twig' %}
  1867.     {# LIBRARY INIT #}
  1868.     {% if productPage.library is not empty and credentials %}
  1869.         <div id=\"wrap-video-init\">
  1870.             {% include 'website/includes/video.html.twig' with {
  1871.                 url: \"https://player.vdocipher.com/v2/?otp=#{ credentials.otp }&playbackInfo=#{ credentials.playbackInfo }&primaryColor=#{ getConfig('primary_color') }\",
  1872.                 autoplay: productPage.autoplay,
  1873.                 title: product.title,
  1874.                 width: 353,
  1875.                 height: 211
  1876.             }%}
  1877.         </div>
  1878.     {# VIDEO INIT #}
  1879.     {% elseif productPage.video is not empty %}
  1880.         <div id=\"wrap-video-init\">
  1881.             {% include 'website/includes/video.html.twig' with {
  1882.                 url: productPage.video, 
  1883.                 autoplay: productPage.autoplay,
  1884.                 title: product.title,
  1885.                 width: 353,
  1886.                 height: 211
  1887.             }%}
  1888.         </div>
  1889.     {% endif %}
  1890.     <div class=\"contem-menu-anchors\">
  1891.         <section class=\"menu-anchors\" data-page-height-top=\"{{ productPage.showShortageControlTime ? '1':'0' }}\">
  1892.             <div class=\"container\">
  1893.                 <nav class=\"lateral-products\">
  1894.                     {% if productPage.about|length > 0 %}
  1895.                         <a data-link-scroll=\"#sec-about\">{{ getLanguage('about', 'product') }}</a>
  1896.                     {% endif %}
  1897.                     {% if product.type == enum('ProductEnum::COURSE') and lessonModules|length > 0 %}
  1898.                         <a data-link-scroll=\"#sec-content\">
  1899.                             {{ getLanguage('content', 'product') }}
  1900.                         </a>
  1901.                     {% endif %}
  1902.                     {% if product.type == enum('ProductEnum::SUBSCRIPTION') or product.type == enum('ProductEnum::COMBO') %}
  1903.                         {% if courses|length > 0 %}
  1904.                             <a data-link-scroll=\"#sec-content\">
  1905.                                 {{ getLanguage('courses', 'product') }}
  1906.                             </a>
  1907.                         {% endif %}
  1908.                     {% endif %}
  1909.                     {% if teacherSection.teachers|length > 0 %}
  1910.                         <a data-link-scroll=\"#sec-instructors\">{{ getLanguage('instructors', 'product') }}</a>
  1911.                     {% endif %}
  1912.                     {% if isModuleActive('faq_module') and faqs|length > 0 %}
  1913.                         <a data-link-scroll=\"#sec-faq\">FAQ</a>
  1914.                     {% endif %}
  1915.                     {% if scoreProduct.scoreTotal > 0 and productPage.showModuleTestimonials %}
  1916.                         <a data-link-scroll=\"#sec-reviews\">{{ getLanguage('rates', 'product') }}</a>
  1917.                     {% endif %}
  1918.                 </nav>
  1919.             </div>
  1920.         </section>
  1921.     </div>
  1922.     <div class=\"container\">
  1923.         {# ABOUT #}
  1924.         {% if productPage.about|length > 0 %}
  1925.             <section id=\"sec-about\" class=\"text-open lateral-products\">
  1926.                 <h2>
  1927.                     {% if product.type == enum('ProductEnum::SUBSCRIPTION') %}
  1928.                         {{\"#{getLanguage('about_the2', 'product')} #{productTypeText|capitalize}\"}}
  1929.                     {% else %}
  1930.                         {{\"#{getLanguage('about_the', 'product')} #{productTypeText|capitalize}\"}}
  1931.                     {% endif %}
  1932.                 </h2>
  1933.                 <div class=\"wrap txt\">
  1934.                     <div class=\"contem fr-view\">
  1935.                         {{ productPage.about|raw }}
  1936.                     </div>
  1937.                 </div>
  1938.                 <button class=\"mais js--abre\">
  1939.                     <span>{{ getLanguage('show_more', 'product') }}</span>
  1940.                     <span>{{ getLanguage('show_less', 'product') }}</span>
  1941.                 </button>
  1942.             </section>
  1943.         {% endif %}
  1944.         {# PUBLIC #}
  1945.         {% if productPage.target|length > 0 %}
  1946.             <section id=\"sec-publico\" class=\"text-open lateral-products\">
  1947.                 <h2>{{ getLanguage('target_audience', 'product') }}</h2>
  1948.                 <div class=\"wrap txt\">
  1949.                     <div class=\"contem fr-view\">
  1950.                         {{ productPage.target|raw }}
  1951.                     </div>
  1952.                 </div>
  1953.                 <button class=\"mais js--abre\">
  1954.                     <span>{{ getLanguage('show_more', 'product') }}</span>
  1955.                     <span>{{ getLanguage('show_less', 'product') }}</span>
  1956.                 </button>
  1957.             </section>
  1958.         {% endif %}
  1959.         {# ABOUT CERTIFICATE #}
  1960.         {% if productPage.aboutCertificate|length > 0 and certificate and isModuleActive('course_certificate_module') %}
  1961.             <section id=\"sec-publico\" class=\"text-open lateral-products\">
  1962.                 <h2>{{ getLanguage('about_certificate', 'product') }}</h2>
  1963.                 <div class=\"wrap txt\">
  1964.                     <div class=\"contem fr-view\">
  1965.                         {{ productPage.aboutCertificate|raw }}
  1966.                     </div>
  1967.                 </div>
  1968.                 <button class=\"mais js--abre\">
  1969.                     <span>{{ getLanguage('show_more', 'product') }}</span>
  1970.                     <span>{{ getLanguage('show_less', 'product') }}</span>
  1971.                 </button>
  1972.             </section>
  1973.         {% endif %}
  1974.     </div>
  1975.     <div class=\"container\">
  1976.         {# MATRÍCULA -- CURSO #}
  1977.         {% if product.type == enum('ProductEnum::COURSE') %}
  1978.             {% if lifetimePeriod == enum('CourseEnum::YES') or accessPeriod %}
  1979.                 <div class=\"lateral-products\">
  1980.                     <div class=\"product-validade\">
  1981.                     {% if lifetimePeriod == enum('CourseEnum::YES') %}
  1982.                         <div class=\"period\">
  1983.                         <i class=\"fas fa-infinity\"></i>
  1984.                         {# {{ ico('infinity') }} !!! #}
  1985.                         </div>
  1986.                         <p class=\"title\">{{ getLanguage('no_time', 'product') }}</p>
  1987.                         <p class=\"desc\">{{ getLanguage('rest_assured', 'product') }} {{ getLanguage('lifetime_period', 'product') }}</p>
  1988.                     {% elseif accessPeriod %}
  1989.                         <div class=\"period\">{{ accessPeriod }}</div>
  1990.                         <p class=\"title\">{{ getLanguage('no_time', 'product') }}</p>
  1991.                         <p class=\"desc\">{{ getLanguage('rest_assured', 'product') }} 
  1992.                         {{ getLanguage('in_until', 'product') }} {{ accessPeriod }} 
  1993.                         {{ getLanguage('after_enrollment', 'product') }}</p>
  1994.                     {% endif %}
  1995.                     </div>
  1996.                 </div>
  1997.             {% endif %}
  1998.         {% endif %}
  1999.         {# MATRÍCULA -- PLANO #}
  2000.         {% if product.type == enum('ProductEnum::SUBSCRIPTION') and not userHasProduct(product) %}
  2001.             <div class=\"lateral-products\">
  2002.                 <div class=\"product-validade\">
  2003.                     <div class=\"period\">
  2004.                         <p>{{ courses|length }} <small>{{ (courses|length > 1) ? getLanguage('courses_lowercase', 'product') : getLanguage('course_lowercase', 'product') }}</small></p>
  2005.                     </div>
  2006.                     <p class=\"title\">{{ getLanguage('subscribe_now', 'product') }}</p>
  2007.                     {% if productOffer.membershipFee == 0 %}
  2008.                         <p class=\"desc\">{{ getLanguage('free_membership_fee', 'product') }}!</p>
  2009.                     {% else %}
  2010.                         <p class=\"desc\">{{ \" + %s #{getLanguage('membership_fee', 'product')}\"|format(moeda(productOffer.membershipFee))|raw }}</p>
  2011.                     {% endif %}
  2012.                     <div class=\"acoes\">
  2013.                         {% if isOne %}
  2014.                             <a data-link-scroll=\"#ofertas-planos\" class=\"btn-matricula\">{{ getLanguage('subscribe', 'product') }}</a>
  2015.                         {% endif %}
  2016.                     </div>
  2017.                 </div>
  2018.             </div>
  2019.         {% endif %}
  2020.     </div>
  2021.     {# CURSOS INCLUSOS #}
  2022.     {% if product.type == enum('ProductEnum::SUBSCRIPTION') or product.type == enum('ProductEnum::COMBO') %}
  2023.         {# @??? !!! #}
  2024.         <div id=\"sec-content\" class=\"inclusos\">
  2025.             {% include 'website/course/course-section.html.twig' with { section: planCoursesSection } %}
  2026.         </div>
  2027.     {% endif %}
  2028.     {# CONTEÚDO #}
  2029.     {% if product.type == enum('ProductEnum::COURSE') %}
  2030.         <div id=\"sec-content\">
  2031.             <div class=\"container\">
  2032.                 <div class=\"lateral-products\">
  2033.                     {% include 'website/product/product-detail-course-content-section.html.twig' with { show: 3, open: 1 } %}
  2034.                 </div>
  2035.             </div>
  2036.         </div>
  2037.     {% endif %}
  2038.     {# INSTRUCTORS #}
  2039.     <div id=\"sec-instructors\">
  2040.         <div class=\"container\">
  2041.             <div class=\"lateral-products\">
  2042.                 {% include 'website/teacher/teacher-section.html.twig' with { layout: 'product', theme: (isDarkTheme? 'dark':'light') }%}
  2043.             </div>
  2044.         </div>
  2045.     </div>
  2046.     {# FAQ #}
  2047.     {% if isModuleActive('faq_module') %}
  2048.         {% include 'website/faq/faq-section.html.twig' with { layout: 'produto' } %}
  2049.     {% endif %}
  2050.     {# CURRENT PLAN - CYCLES #}
  2051.     {% if productOffers|length > 1 and product.type == enum('ProductEnum::SUBSCRIPTION') and not userHasProduct(product) %}
  2052.         <section id=\"ofertas-planos\" class=\"pag-sec sec-bg-alt\">
  2053.             <div class=\"container\">
  2054.                 <div class=\"lateral-products\">
  2055.                     <header class=\"tit-sec tx-centro\">
  2056.                         <h2>{{ getLanguage('offers', 'product') }} <b>{{ getLanguage('flexible', 'product') }}</b></h2>
  2057.                         <span class=\"sub\">{{ getLanguage('choose_the_plan', 'product') }}</span>
  2058.                     </header>
  2059.                     {% include 'website/product/product-detail-plan-cycles-section.html.twig' with {
  2060.                         full: (productOffers|length < 3) ? false : true,
  2061.                         layout: 'product'
  2062.                     } %}
  2063.                 </div>
  2064.             </div>
  2065.         </section>
  2066.     {% endif %}
  2067.     {# VANTAGENS #}
  2068.     {% if product.type == enum('ProductEnum::COURSE') %}
  2069.         <div class=\"sec-bg-strip\">
  2070.             <div class=\"container\">
  2071.                 <div class=\"lateral-products\">
  2072.                     <div class=\"advantages\">
  2073.                         {% if productOffer.warranty == 1 %}
  2074.                             <p>{{ ico('dollar') }}
  2075.                                 <span>{{ getLanguage('day_warranty', 'product') }} 
  2076.                                 {{ productOffer.warrantyOption }}
  2077.                                 {{ plural(productOffer.warrantyOption, 
  2078.                                     getLanguage('warranty_devolution_day', 'product'), 
  2079.                                     getLanguage('warranty_devolution_days', 'product')
  2080.                                 )}}</span>
  2081.                             </p>
  2082.                         {% endif %}
  2083.                         {% if lifetimePeriod == 1 %}
  2084.                             <p><i class=\"fas fa-infinity\"></i>
  2085.                             {# {{ ico('infinity') }} #}
  2086.                             <span>{{ getLanguage('lifetime_access', 'product') }}</span></p>
  2087.                         {% elseif accessPeriod %}
  2088.                             <p>{{ ico('calendar') }}<span>{{ getLanguage('access_by', 'product') }} {{ accessPeriod }}</span></p>
  2089.                         {% endif %}
  2090.                         {# SUPPORT #}
  2091.                         {% if support == enum('CourseEnum::YES') %}
  2092.                             {% if lifetimeSupport == 1 %}
  2093.                             <p><i class=\"fas fa-infinity\"></i>
  2094.                                 <span>{{ getLanguage('lifetime_support', 'product') }}</span></p>
  2095.                             {% elseif supportPeriod %}
  2096.                                 <p>{{ ico('calendar') }}<span>{{ getLanguage('until', 'product') }} {{ supportPeriod }} {{ getLanguage('of_support', 'product') }}</span></p>
  2097.                             {% endif %}
  2098.                         {% endif %}
  2099.                         <p>{{ ico('coffee') }}<span>{{ getLanguage('study_whenever', 'product') }}</span></p>
  2100.                         {% if fileTotal > 0 %}
  2101.                             <p>{{ ico('smartphone') }}<span>{{ getLanguage('downloadable_materials', 'product') }}</span></p>
  2102.                         {% endif %}
  2103.                     </div>
  2104.                 </div>
  2105.             </div>
  2106.         </div>
  2107.     {% endif %}
  2108.     {# SUGESTÃO DO UPSELL #}
  2109.     {% if productOfferSuggestions is not empty and not userHasProduct(product) %}
  2110.         <div class=\"container\">
  2111.             <div class=\"lateral-products\">
  2112.                 {% include 'website/product/product-detail-upsell-section.html.twig' with { suggestions: productOfferSuggestions } %}
  2113.             </div>
  2114.         </div>
  2115.     {% endif %}
  2116.     
  2117.     {% if scoreProduct.scoreTotal > 0 and productPage.showModuleTestimonials %}
  2118.         {# REVIEWS #}
  2119.         {% include 'website/product/product-detail-reviews-section.html.twig' %}
  2120.     
  2121.         {# TESTIMONIALS #}
  2122.         <div class=\"container mobile--wid\">
  2123.             <div class=\"lateral-products\">
  2124.                 {% include 'website/course/course-testimonial-section.html.twig' with { layout: 'produto' } %}
  2125.             </div>
  2126.         </div>
  2127.     {% endif %}
  2128.     {# RELATED PRODUCTS #}
  2129.     {% if (productOffersRelatedsSection.items|length != 0) %}
  2130.         <div class=\"container\">
  2131.             <div class=\"relacionados\">
  2132.                 {% include 'website/product/product-section.html.twig' with { section: productOffersRelatedsSection } %}
  2133.             </div>
  2134.         </div>
  2135.     {% endif %}
  2136.     {# CURRENT COURSE - PLANS #}
  2137.     {% if  product.type == enum('ProductEnum::COURSE')
  2138.        and productOffersSubscriptionSection.items is not empty %}
  2139.         {% include 'website/product/product-plans-section.html.twig' with { layout: 'product' } %}
  2140.     {% endif %}
  2141.     {# BUY INFO #}
  2142.     {% include 'website/product/product-detail-buy-section.html.twig' %}
  2143.     {# MODAL -- WAITLIST #}
  2144.     {% include 'website/includes/modal-waitlist.html.twig' with { languageKey: 'product' } %}
  2145.     {# MODAL -- FAST USER REGISTER #}
  2146.     {% include 'website/includes/modal-register.html.twig' with { languageKey: 'product' } %}
  2147.     {# MODAL -- TERMOS DE USO #}
  2148.     {% embed \"website/includes/modal.html.twig\" with {'id': 'modal-terms-of-use', 'title': getLanguage('ready_terms', 'register'), 'back': true } %}
  2149.         {% block content %}
  2150.             {{ getConfig('contract')|raw }}
  2151.         {% endblock %}
  2152.     {% endembed %}
  2153.     {# MODAL -- COUPONS LIST #}
  2154.     {% embed \"website/includes/modal.html.twig\" with { 'id': 'coupons-modal', 'title': getLanguage('avaliable_coupons', 'product')} %}
  2155.         {% block content %}
  2156.             {% from 'utils.html.twig' import ico %}
  2157.             <div class=\"modal-coupons-content\">
  2158.             \t<div class=\"modal-loading\">
  2159. \t\t\t\t\t<i class=\"modal-loader\">{{ ico('loader-wish') }}</i>&ensp;{{ getLanguage('wait', 'util') }}&hellip;
  2160.             \t</div>
  2161.             </div>
  2162.         {% endblock %}
  2163.     {% endembed %}
  2164.     {# MODAL -- COUPON RULES #}
  2165.     {% include \"website/includes/modal-coupon-rules.html.twig\" %}
  2166.     {# MODAL -- SHARE #}
  2167.     {% include \"website/includes/modal-share.html.twig\" with { id: 'modal-share', title: getLanguage('share', 'product') } %}
  2168. {% endblock %}""website/product/product-detail.html.twig""/var/www/html/templates/website/product/product-detail.html.twig");
  2169.     }
  2170. }