<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Default/default.html.twig */
class __TwigTemplate_e2270ba3406c25cb2958fede97c9402b54f82e2dbdd6ca6532df94dd87ee4dd2 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'bodyClass' => [$this, 'block_bodyClass'],
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
return "Layout/default.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Default/default.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Default/default.html.twig"));
$this->parent = $this->loadTemplate("Layout/default.html.twig", "Default/default.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 2
public function block_bodyClass($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyClass"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyClass"));
echo "mainpage";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 3
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 4
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/mainpage.css")], "method", false, false, true, 4);
// line 5
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/popups.css")], "method", false, false, true, 5);
// line 6
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/plans.css")], "method", false, false, true, 6);
// line 7
echo " ";
// line 8
echo " ";
echo twig_include($this->env, $context, "Elements/header.html.twig");
echo "
";
// line 9
echo twig_include($this->env, $context, "Default/sections/main.html.twig");
echo "
";
// line 10
echo twig_include($this->env, $context, "Default/sections/training-videos.html.twig");
echo "
";
// line 11
echo twig_include($this->env, $context, "Default/sections/order-book.html.twig");
echo "
";
// line 12
echo twig_include($this->env, $context, "Default/sections/about.html.twig");
echo "
";
// line 13
echo twig_include($this->env, $context, "Default/sections/programs.html.twig");
echo "
";
// line 14
echo twig_include($this->env, $context, "Elements/pricing-table.html.twig");
echo "
";
// line 15
echo twig_include($this->env, $context, "Default/sections/before-after.html.twig");
echo "
";
// line 16
echo twig_include($this->env, $context, "Default/sections/anytime.html.twig");
echo "
";
// line 17
echo twig_include($this->env, $context, "Default/sections/testimonials.html.twig");
echo "
";
// line 18
echo twig_include($this->env, $context, "Default/sections/news.html.twig");
echo "
";
// line 19
echo twig_include($this->env, $context, "Elements/footer.html.twig");
echo "
";
// line 20
echo twig_include($this->env, $context, "Default/elements/menu-popup.html.twig");
echo "
";
// line 21
echo twig_include($this->env, $context, "Elements/quiz.html.twig");
echo "
";
// line 22
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", ["https://www.youtube.com/iframe_api", "text/javascript"], "method", false, false, true, 22);
// line 23
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/scripts.js"), "text/javascript"], "method", false, false, true, 23);
// line 24
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/components/home.js"), "text/javascript"], "method", false, false, true, 24);
// line 25
echo " ";
twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/components/quiz.js"), "text/javascript"], "method", false, false, true, 25);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "Default/default.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 166 => 25, 163 => 24, 160 => 23, 158 => 22, 154 => 21, 150 => 20, 146 => 19, 142 => 18, 138 => 17, 134 => 16, 130 => 15, 126 => 14, 122 => 13, 118 => 12, 114 => 11, 110 => 10, 106 => 9, 101 => 8, 99 => 7, 96 => 6, 93 => 5, 90 => 4, 80 => 3, 61 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{%extends \"Layout/default.html.twig\"%}
{% block bodyClass %}mainpage{% endblock %}
{% block content %}
{% do pimcore_head_link().appendStylesheet(asset('css/mainpage.css')) %}
{% do pimcore_head_link().appendStylesheet(asset('css/popups.css')) %}
{% do pimcore_head_link().appendStylesheet(asset('css/plans.css')) %}
{#TODO::Move layout common elements like header/footer/menu-popup into 'Elements' folder#}
{{include('Elements/header.html.twig')}}
{{include('Default/sections/main.html.twig')}}
{{include('Default/sections/training-videos.html.twig')}}
{{include('Default/sections/order-book.html.twig')}}
{{include('Default/sections/about.html.twig')}}
{{include('Default/sections/programs.html.twig')}}
{{include('Elements/pricing-table.html.twig')}}
{{include('Default/sections/before-after.html.twig')}}
{{include('Default/sections/anytime.html.twig')}}
{{include('Default/sections/testimonials.html.twig')}}
{{include('Default/sections/news.html.twig')}}
{{include('Elements/footer.html.twig')}}
{{include('Default/elements/menu-popup.html.twig')}}
{{include('Elements/quiz.html.twig')}}
{% do pimcore_head_script().appendFile('https://www.youtube.com/iframe_api', 'text/javascript') %}
{% do pimcore_head_script().appendFile(asset('js/scripts.js'), 'text/javascript') %}
{% do pimcore_head_script().appendFile(asset('js/components/home.js'), 'text/javascript') %}
{% do pimcore_head_script().appendFile(asset('js/components/quiz.js'), 'text/javascript') %}
{%endblock%}", "Default/default.html.twig", "/var/www/atunp/templates/Default/default.html.twig");
}
public function checkSecurity()
{
static $tags = array("do" => 4);
static $filters = array();
static $functions = array("pimcore_head_link" => 4, "asset" => 4, "include" => 8, "pimcore_head_script" => 22);
try {
$this->sandbox->checkSecurity(
['do'],
[],
['pimcore_head_link', 'asset', 'include', 'pimcore_head_script']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}