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

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