<?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;
/* front/_common/_base.html.twig */
class __TwigTemplate_234d478456b338d3dfd64657e6e7175f7b8f5fad41e611a08d0607b88dfe728f extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'linkcanonical' => [$this, 'block_linkcanonical'],
'cssadicional' => [$this, 'block_cssadicional'],
'classbody' => [$this, 'block_classbody'],
'content' => [$this, 'block_content'],
'jsfinal' => [$this, 'block_jsfinal'],
];
}
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", "front/_common/_base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/_common/_base.html.twig"));
// line 1
$context["STATIC_URL"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/");
// line 2
$context["BUILD_ID"] = "1";
// line 3
echo "<!DOCTYPE html>
<html lang=\"";
// line 4
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 4, $this->source); })()), "request", [], "any", false, false, false, 4), "locale", [], "any", false, false, false, 4), "html", null, true);
echo "\">
<head>
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"initial-scale=1, maximum-scale=1, user-scalable=no\"/>
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"/>
<meta name=\"theme-color\" content=\"#000000\"/>
\t<link rel=\"stylesheet\" href=\"";
// line 10
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/validationform/validationEngine.jquery.css"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"";
// line 11
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/styles.css"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"";
// line 12
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/blocks_styl.css"), "html", null, true);
echo "\">
";
// line 14
$context["seo"] = null;
// line 15
echo " ";
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 15, $this->source); })()), "request", [], "any", false, false, false, 15), "attributes", [], "any", false, false, false, 15), "get", [0 => "_route"], "method", false, false, false, 15), ""))) {
// line 16
echo " ";
$context["url_seo"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 16, $this->source); })()), "request", [], "any", false, false, false, 16), "attributes", [], "any", false, false, false, 16), "get", [0 => "_route"], "method", false, false, false, 16), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 17
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 17, $this->source); })()), "request", [], "any", false, false, false, 17), "attributes", [], "any", false, false, false, 17), "get", [0 => "_route_params"], "method", false, false, false, 17));
// line 18
echo " ";
$context["seo"] = $this->extensions['App\Twig\MetatagsExtension']->metatags((isset($context["url_seo"]) || array_key_exists("url_seo", $context) ? $context["url_seo"] : (function () { throw new RuntimeError('Variable "url_seo" does not exist.', 18, $this->source); })()));
// line 19
echo " ";
}
// line 20
echo "
";
// line 21
$this->displayBlock('linkcanonical', $context, $blocks);
// line 22
echo "
";
// line 23
$this->loadTemplate("front/_common/_metatags.html.twig", "front/_common/_base.html.twig", 23)->display($context);
// line 24
echo "
";
// line 25
if (twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 25, $this->source); })()), "scriptsMeta", [], "any", false, false, false, 25)) {
// line 26
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 26, $this->source); })()), "scriptsMeta", [], "any", false, false, false, 26);
echo "
";
}
// line 28
echo " ";
if (( !(null === (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 28, $this->source); })())) && twig_get_attribute($this->env, $this->source, (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 28, $this->source); })()), "scriptsMeta", [], "any", false, false, false, 28))) {
// line 29
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 29, $this->source); })()), "scriptsMeta", [], "any", false, false, false, 29);
echo "
";
}
// line 31
echo "
";
// line 32
if (twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 32, $this->source); })()), "seoFavicon", [], "any", false, false, false, 32)) {
// line 33
echo " ";
// line 34
echo " <!-- inicio favicon iphone retina, ipad, iphone en orden-->
<link rel=\"icon\" type=\"image/png\" href=\"";
// line 35
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\ImagePathExtension']->path(twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 35, $this->source); })()), "seoFavicon", [], "any", false, false, false, 35))), "html", null, true);
echo "\"/>
<link rel=\"apple-touch-icon-precomposed\" sizes=\"114x114\" href=\"";
// line 36
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\ImagePathExtension']->path(twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 36, $this->source); })()), "seoFavicon", [], "any", false, false, false, 36))), "html", null, true);
echo "\">
<link rel=\"apple-touch-icon-precomposed\" sizes=\"72x72\" href=\"";
// line 37
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\ImagePathExtension']->path(twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 37, $this->source); })()), "seoFavicon", [], "any", false, false, false, 37))), "html", null, true);
echo "\">
<link rel=\"apple-touch-icon-precomposed\" href=\"";
// line 38
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\ImagePathExtension']->path(twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 38, $this->source); })()), "seoFavicon", [], "any", false, false, false, 38))), "html", null, true);
echo "\">
<!-- end favicon -->
";
}
// line 41
echo "
";
// line 42
$this->displayBlock('cssadicional', $context, $blocks);
// line 43
echo "
";
// line 45
echo "
";
// line 47
echo "
";
// line 48
if (twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 48, $this->source); })()), "scriptsHeader", [], "any", false, false, false, 48)) {
// line 49
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 49, $this->source); })()), "scriptsHeader", [], "any", false, false, false, 49);
echo "
";
}
// line 51
echo " ";
if (( !(null === (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 51, $this->source); })())) && twig_get_attribute($this->env, $this->source, (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 51, $this->source); })()), "scriptsHeader", [], "any", false, false, false, 51))) {
// line 52
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 52, $this->source); })()), "scriptsHeader", [], "any", false, false, false, 52);
echo "
";
}
// line 54
echo "</head>
<body class=\"";
// line 56
$this->displayBlock('classbody', $context, $blocks);
echo "\">
";
// line 58
if (twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 58, $this->source); })()), "scriptsBody", [], "any", false, false, false, 58)) {
// line 59
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 59, $this->source); })()), "scriptsBody", [], "any", false, false, false, 59);
echo "
";
}
// line 61
if (( !(null === (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 61, $this->source); })())) && twig_get_attribute($this->env, $this->source, (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 61, $this->source); })()), "scriptsBody", [], "any", false, false, false, 61))) {
// line 62
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 62, $this->source); })()), "scriptsBody", [], "any", false, false, false, 62);
echo "
";
}
// line 64
echo "
";
// line 65
$this->loadTemplate("front/_common/_header.html.twig", "front/_common/_base.html.twig", 65)->display($context);
// line 66
$this->displayBlock('content', $context, $blocks);
// line 67
$this->loadTemplate("front/_common/_footer.html.twig", "front/_common/_base.html.twig", 67)->display($context);
// line 68
echo "
";
// line 70
echo "<script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/jquery-3.2.1.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 71
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/main.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 72
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/header.js"), "html", null, true);
echo "\"></script>
";
// line 74
echo "
";
// line 75
$this->displayBlock('jsfinal', $context, $blocks);
// line 76
echo "
<script>
\$(function(){
//+++ FOOTER RESPONSIVE - ACORDEON +++
if(\$(window).innerWidth() < 1025){
\$('.footer_subtitle_resp').on('click', function(event){
console.log(\"footer aquiiiii\");
if (\$(this).hasClass('active')) {
\$(this).removeClass('active').parent().find('.footer_menu').stop().slideUp();
}else{
\$('.footer_subtitle_resp').removeClass('active');
\$('.footer_menu').stop().slideUp();
\$(this).addClass('active').parent().find('.footer_menu').stop().slideToggle();
};
})
}
//<<< END >>>
});
";
// line 95
echo "
";
// line 97
echo "
function storeUtms(\$data) {
\$.ajax({
url: '";
// line 100
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("store_utms");
echo "',
type: 'get',
dataType: 'json',
data: \$data,
success: function (data) {
updateUtm(data);
}
})
}
function updateUtm(data) {
if (data['utm_source']) {
\$('.form_utmsource').val(data['utm_source']);
}
if (data['utm_medium']) {
\$('.form_utmmedium').val(data['utm_medium']);
}
if (data['utm_source']) {
\$('.form_utmsource').val(data['utm_source']);
}
if (data['utm_campaign']) {
\$('.form_utmcampaign').val(data['utm_campaign']);
}
if (data['utm_term']) {
\$('.form_utmterm').val(data['utm_term']);
}
if (data['utm_content']) {
\$('.form_utmcontent').val(data['utm_content']);
}
if (data['utm_gclid']) {
\$('.form_gclid').val(data['utm_gclid']);
}
}
let utm_data = {};
";
// line 135
$context["utm_params"] = [0 => "utm_source", 1 => "utm_campaign", 2 => "utm_medium", 3 => "utm_term", 4 => "utm_content", 5 => "gclid"];
// line 136
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["utm_params"]) || array_key_exists("utm_params", $context) ? $context["utm_params"] : (function () { throw new RuntimeError('Variable "utm_params" does not exist.', 136, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["u"]) {
// line 137
echo " ";
if (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 137), "get", [0 => $context["u"]], "method", true, true, false, 137)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 137), "get", [0 => $context["u"]], "method", false, false, false, 137), "")) : (""))) {
// line 138
echo " utm_data['";
echo twig_escape_filter($this->env, $context["u"], "html", null, true);
echo "'] = '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 138, $this->source); })()), "request", [], "any", false, false, false, 138), "get", [0 => $context["u"]], "method", false, false, false, 138), "html", null, true);
echo "';
";
}
// line 140
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['u'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 141
echo " if (!\$.isEmptyObject(utm_data)) {
storeUtms(utm_data);
}
";
// line 145
$this->loadTemplate("front/templates/utms.html.twig", "front/_common/_base.html.twig", 145)->display($context);
// line 146
echo "</script>
";
// line 148
if (twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 148, $this->source); })()), "scriptsFooter", [], "any", false, false, false, 148)) {
// line 149
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 149, $this->source); })()), "scriptsFooter", [], "any", false, false, false, 149);
echo "
";
}
// line 151
if (( !(null === (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 151, $this->source); })())) && twig_get_attribute($this->env, $this->source, (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 151, $this->source); })()), "scriptsFooter", [], "any", false, false, false, 151))) {
// line 152
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["seo"]) || array_key_exists("seo", $context) ? $context["seo"] : (function () { throw new RuntimeError('Variable "seo" does not exist.', 152, $this->source); })()), "scriptsFooter", [], "any", false, false, false, 152);
echo "
";
}
// line 154
echo "
</body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 21
public function block_linkcanonical($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", "linkcanonical"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "linkcanonical"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 42
public function block_cssadicional($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", "cssadicional"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cssadicional"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 56
public function block_classbody($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", "classbody"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "classbody"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 66
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"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 75
public function block_jsfinal($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", "jsfinal"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "jsfinal"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "front/_common/_base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 439 => 75, 421 => 66, 403 => 56, 385 => 42, 367 => 21, 354 => 154, 348 => 152, 346 => 151, 340 => 149, 338 => 148, 334 => 146, 332 => 145, 326 => 141, 320 => 140, 312 => 138, 309 => 137, 304 => 136, 302 => 135, 264 => 100, 259 => 97, 256 => 95, 236 => 76, 234 => 75, 231 => 74, 227 => 72, 223 => 71, 218 => 70, 215 => 68, 213 => 67, 211 => 66, 209 => 65, 206 => 64, 200 => 62, 198 => 61, 192 => 59, 190 => 58, 185 => 56, 181 => 54, 175 => 52, 172 => 51, 166 => 49, 164 => 48, 161 => 47, 158 => 45, 155 => 43, 153 => 42, 150 => 41, 144 => 38, 140 => 37, 136 => 36, 132 => 35, 129 => 34, 127 => 33, 125 => 32, 122 => 31, 116 => 29, 113 => 28, 107 => 26, 105 => 25, 102 => 24, 100 => 23, 97 => 22, 95 => 21, 92 => 20, 89 => 19, 86 => 18, 84 => 17, 82 => 16, 79 => 15, 77 => 14, 72 => 12, 68 => 11, 64 => 10, 55 => 4, 52 => 3, 50 => 2, 48 => 1,);
}
public function getSourceContext()
{
return new Source("{% set STATIC_URL = asset('static/') %}
{% set BUILD_ID = '1' %}
<!DOCTYPE html>
<html lang=\"{{ app.request.locale }}\">
<head>
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"initial-scale=1, maximum-scale=1, user-scalable=no\"/>
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"/>
<meta name=\"theme-color\" content=\"#000000\"/>
\t<link rel=\"stylesheet\" href=\"{{ asset('static/js/validationform/validationEngine.jquery.css') }}\">
<link rel=\"stylesheet\" href=\"{{ asset('static/css/styles.css') }}\">
<link rel=\"stylesheet\" href=\"{{ asset('static/css/blocks_styl.css') }}\">
{% set seo = null %}
{% if app.request.attributes.get('_route') != '' %}
{% set url_seo = path(app.request.attributes.get('_route'),
app.request.attributes.get('_route_params')) %}
{% set seo = url_seo|metatags %}
{% endif %}
{% block linkcanonical %}{% endblock %}
{% include 'front/_common/_metatags.html.twig' %}
{% if info.scriptsMeta %}
{{ info.scriptsMeta|raw }}
{% endif %}
{% if seo is not null and seo.scriptsMeta %}
{{ seo.scriptsMeta|raw }}
{% endif %}
{% if info.seoFavicon %}
{# TODO: Check thumbnail #}
<!-- inicio favicon iphone retina, ipad, iphone en orden-->
<link rel=\"icon\" type=\"image/png\" href=\"{{ asset(info.seoFavicon|image_path) }}\"/>
<link rel=\"apple-touch-icon-precomposed\" sizes=\"114x114\" href=\"{{ asset(info.seoFavicon|image_path) }}\">
<link rel=\"apple-touch-icon-precomposed\" sizes=\"72x72\" href=\"{{ asset(info.seoFavicon|image_path) }}\">
<link rel=\"apple-touch-icon-precomposed\" href=\"{{ asset(info.seoFavicon|image_path) }}\">
<!-- end favicon -->
{% endif %}
{% block cssadicional %}{% endblock %}
{# Start CSS Links #}
{# End CSS Links #}
{% if info.scriptsHeader %}
{{ info.scriptsHeader|raw }}
{% endif %}
{% if seo is not null and seo.scriptsHeader %}
{{ seo.scriptsHeader|raw }}
{% endif %}
</head>
<body class=\"{% block classbody %}{% endblock %}\">
{% if info.scriptsBody %}
{{ info.scriptsBody|raw }}
{% endif %}
{% if seo is not null and seo.scriptsBody %}
{{ seo.scriptsBody|raw }}
{% endif %}
{% include 'front/_common/_header.html.twig' %}
{% block content %}{% endblock %}
{% include 'front/_common/_footer.html.twig' %}
{# Start JS Links #}
<script src=\"{{ asset('static/js/jquery-3.2.1.min.js') }}\"></script>
<script src=\"{{ asset('static/js/main.js') }}\"></script>
<script src=\"{{ asset('static/js/header.js') }}\"></script>
{# End JS Links #}
{% block jsfinal %}{% endblock %}
<script>
\$(function(){
//+++ FOOTER RESPONSIVE - ACORDEON +++
if(\$(window).innerWidth() < 1025){
\$('.footer_subtitle_resp').on('click', function(event){
console.log(\"footer aquiiiii\");
if (\$(this).hasClass('active')) {
\$(this).removeClass('active').parent().find('.footer_menu').stop().slideUp();
}else{
\$('.footer_subtitle_resp').removeClass('active');
\$('.footer_menu').stop().slideUp();
\$(this).addClass('active').parent().find('.footer_menu').stop().slideToggle();
};
})
}
//<<< END >>>
});
{# Start Custom JS Links #}
{# End Custom JS Links #}
function storeUtms(\$data) {
\$.ajax({
url: '{{ path('store_utms') }}',
type: 'get',
dataType: 'json',
data: \$data,
success: function (data) {
updateUtm(data);
}
})
}
function updateUtm(data) {
if (data['utm_source']) {
\$('.form_utmsource').val(data['utm_source']);
}
if (data['utm_medium']) {
\$('.form_utmmedium').val(data['utm_medium']);
}
if (data['utm_source']) {
\$('.form_utmsource').val(data['utm_source']);
}
if (data['utm_campaign']) {
\$('.form_utmcampaign').val(data['utm_campaign']);
}
if (data['utm_term']) {
\$('.form_utmterm').val(data['utm_term']);
}
if (data['utm_content']) {
\$('.form_utmcontent').val(data['utm_content']);
}
if (data['utm_gclid']) {
\$('.form_gclid').val(data['utm_gclid']);
}
}
let utm_data = {};
{% set utm_params = ['utm_source', 'utm_campaign', 'utm_medium', 'utm_term', 'utm_content', 'gclid'] %}
{% for u in utm_params %}
{% if app.request.get(u)|default('') %}
utm_data['{{ u }}'] = '{{ app.request.get(u) }}';
{% endif %}
{% endfor %}
if (!\$.isEmptyObject(utm_data)) {
storeUtms(utm_data);
}
{% include 'front/templates/utms.html.twig' %}
</script>
{% if info.scriptsFooter %}
{{ info.scriptsFooter|raw }}
{% endif %}
{% if seo is not null and seo.scriptsFooter %}
{{ seo.scriptsFooter|raw }}
{% endif %}
</body>
</html>
", "front/_common/_base.html.twig", "/mnt/volume_nyc1_01/webapps/eurocamiones/templates/front/_common/_base.html.twig");
}
}