<?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;
/* @galgos/full/main.html.twig */
class __TwigTemplate_1fb7a0af27f885853f2d98a7d5c6b75a3ec85591413b53c48f3dac028ac0bec2 extends \eZ\Bundle\EzPublishDebugBundle\Twig\DebugTemplate
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'metatags' => [$this, 'block_metatags'],
'content' => [$this, 'block_content'],
'modules' => [$this, 'block_modules'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@ezdesign/layout.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", "@galgos/full/main.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@galgos/full/main.html.twig"));
$this->parent = $this->loadTemplate("@ezdesign/layout.html.twig", "@galgos/full/main.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 3
public function block_metatags($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", "metatags"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatags"));
// line 4
echo " ";
$this->displayParentBlock("metatags", $context, $blocks);
echo "
";
// line 5
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("AppBundle:Block:paginationMeta", ["locationId" => twig_get_attribute($this->env, $this->source, (isset($context["location"]) || array_key_exists("location", $context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.', 5, $this->source); })()), "id", [], "any", false, false, false, 5)]));
echo "
<!--
Start of global snippet: Please do not remove
Place this snippet between the <head> and </head> tags on every page of your site.
-->
<!-- Google tag (gtag.js) -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=DC-4625548\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'DC-4625548');
</script>
<script>
gtag('event', 'conversion', {
'allow_custom_scripts': true,
'u10': 'Landing RAPA',
'u24': 'https://rapa.movistarplus.es/',
'send_to': 'DC-4625548/movis00a/lpg_m0+standard'
});
window.addEventListener('load', function () {
let btnHire = document.getElementsByClassName(\"hire-now\")
for (var i = 0; i < btnHire.length; i++) {
btnHire[i].addEventListener('mousedown', gtagBtn, false);
}
let btnWatch = document.getElementsByClassName(\"watch-now\")
for (var i = 0; i < btnHire.length; i++) {
btnWatch[i].addEventListener('mousedown', gtagBtn2, false);
}
});
const gtagBtn = ()=> {
let noScript = document.createElement('div');
noScript.innerHTML ='<noscript> <img src=\"https://ad.doubleclick.net/ddm/activity/src=4625548;type=movis00a;cat=eng_b0;u10=[Landing RAPA];u24=[https://rapa.movistarplus.es/];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;gdpr=\${GDPR};gdpr_consent=\${GDPR_CONSENT_755};ord=1?\" width=\"1\" height=\"1\" alt=\"\"/></noscript>';
document.body.appendChild(noScript);
gtag('event', 'conversion', {
'allow_custom_scripts': true,
'u10': 'Landing RAPA',
'u24': 'https://rapa.movistarplus.es/',
'send_to': 'DC-4625548/movis00a/eng_b0+standard'
});
console.log('Click contratar');
};
const gtagBtn2 = ()=> {
let noScript = document.createElement('div');
noScript.innerHTML ='<noscript> <img src=\"https://ad.doubleclick.net/ddm/activity/src=4625548;type=movis00a;cat=eng_v0;u10=[Landing RAPA];u24=[https://rapa.movistarplus.es/];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;gdpr=\${GDPR};gdpr_consent=\${GDPR_CONSENT_755};ord=1?\" width=\"1\" height=\"1\" alt=\"\"/></noscript>';
document.body.appendChild(noScript);
gtag('event', 'conversion', {
'allow_custom_scripts': true,
'u10': 'Landing RAPA',
'u24': 'https://rapa.movistarplus.es/',
'send_to': 'DC-4625548/movis00a/eng_v0+standard'
});
// document.write('<noscript> <img src=\"https://ad.doubleclick.net/ddm/activity/src=4625548;type=movis00a;cat=eng_v0;u10=[Landing RAPA];u24=[https://rapa.movistarplus.es/];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;gdpr=\${GDPR};gdpr_consent=\${GDPR_CONSENT_755};ord=1?\" width=\"1\" height=\"1\" alt=\"\"/></noscript>');
console.log('Click ver')
};
</script>
<noscript>
<img src=\"https://ad.doubleclick.net/ddm/activity/src=4625548;type=movis00a;cat=lpg_m0;u10=[Landing RAPA];u24=[https://rapa.movistarplus.es/];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;gdpr=\${GDPR};gdpr_consent=\${GDPR_CONSENT_755};ord=1?\" width=\"1\" height=\"1\" alt=\"\"/>
</noscript>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 72
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 73
echo " <div class=\"m-shows-header h3\">
<div class=\"menu-header\">
";
// line 75
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("AppBundle:Menu:callToActionButtons", ["location" => twig_get_attribute($this->env, $this->source, (isset($context["ezpublish"]) || array_key_exists("ezpublish", $context) ? $context["ezpublish"] : (function () { throw new RuntimeError('Variable "ezpublish" does not exist.', 75, $this->source); })()), "rootLocation", [], "any", false, false, false, 75)]));
echo "
<div class=\"wrapper row\">
";
// line 77
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("AppBundle:Block:renderIconBlock", ["contentId" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ezpublish"]) || array_key_exists("ezpublish", $context) ? $context["ezpublish"] : (function () { throw new RuntimeError('Variable "ezpublish" does not exist.', 77, $this->source); })()), "rootLocation", [], "any", false, false, false, 77), "contentId", [], "any", false, false, false, 77)]));
echo "
";
// line 79
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("AppBundle:Menu:header", ["locationId" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ezpublish"]) || array_key_exists("ezpublish", $context) ? $context["ezpublish"] : (function () { throw new RuntimeError('Variable "ezpublish" does not exist.', 79, $this->source); })()), "rootLocation", [], "any", false, false, false, 79), "id", [], "any", false, false, false, 79)]));
echo "
<a href=\"";
// line 82
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("ez_urlalias", ["locationId" => (isset($context["base_locationId"]) || array_key_exists("base_locationId", $context) ? $context["base_locationId"] : (function () { throw new RuntimeError('Variable "base_locationId" does not exist.', 82, $this->source); })()), "siteaccess" => "originales"]), "html", null, true);
echo "\" class=\"e-arrow-link\" rel=\"follow\">
";
// line 83
echo twig_include($this->env, $context, "icons/link-arrow.svg.twig");
echo "
<img src=\"/assets/images/logo-originales.svg\"/>
</a>
<a href=\"#\" class=\"menu-toggle\" rel=\"follow\">
";
// line 87
echo twig_include($this->env, $context, "icons/menu.svg.twig");
echo "
</a>
</div>
</div>
</div>
";
// line 93
$this->displayBlock('modules', $context, $blocks);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function block_modules($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", "modules"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "modules"));
// line 94
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("AppBundle:Block:renderBlocks", ["locationId" => twig_get_attribute($this->env, $this->source, (isset($context["location"]) || array_key_exists("location", $context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.', 94, $this->source); })()), "id", [], "any", false, false, false, 94)]));
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@galgos/full/main.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 221 => 94, 202 => 93, 193 => 87, 186 => 83, 182 => 82, 176 => 79, 171 => 77, 166 => 75, 162 => 73, 152 => 72, 75 => 5, 70 => 4, 60 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ezdesign/layout.html.twig' %}
{% block metatags %}
{{ parent() }}
{{ render(controller('AppBundle:Block:paginationMeta', { 'locationId': location.id } )) }}
<!--
Start of global snippet: Please do not remove
Place this snippet between the <head> and </head> tags on every page of your site.
-->
<!-- Google tag (gtag.js) -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=DC-4625548\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'DC-4625548');
</script>
<script>
gtag('event', 'conversion', {
'allow_custom_scripts': true,
'u10': 'Landing RAPA',
'u24': 'https://rapa.movistarplus.es/',
'send_to': 'DC-4625548/movis00a/lpg_m0+standard'
});
window.addEventListener('load', function () {
let btnHire = document.getElementsByClassName(\"hire-now\")
for (var i = 0; i < btnHire.length; i++) {
btnHire[i].addEventListener('mousedown', gtagBtn, false);
}
let btnWatch = document.getElementsByClassName(\"watch-now\")
for (var i = 0; i < btnHire.length; i++) {
btnWatch[i].addEventListener('mousedown', gtagBtn2, false);
}
});
const gtagBtn = ()=> {
let noScript = document.createElement('div');
noScript.innerHTML ='<noscript> <img src=\"https://ad.doubleclick.net/ddm/activity/src=4625548;type=movis00a;cat=eng_b0;u10=[Landing RAPA];u24=[https://rapa.movistarplus.es/];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;gdpr=\${GDPR};gdpr_consent=\${GDPR_CONSENT_755};ord=1?\" width=\"1\" height=\"1\" alt=\"\"/></noscript>';
document.body.appendChild(noScript);
gtag('event', 'conversion', {
'allow_custom_scripts': true,
'u10': 'Landing RAPA',
'u24': 'https://rapa.movistarplus.es/',
'send_to': 'DC-4625548/movis00a/eng_b0+standard'
});
console.log('Click contratar');
};
const gtagBtn2 = ()=> {
let noScript = document.createElement('div');
noScript.innerHTML ='<noscript> <img src=\"https://ad.doubleclick.net/ddm/activity/src=4625548;type=movis00a;cat=eng_v0;u10=[Landing RAPA];u24=[https://rapa.movistarplus.es/];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;gdpr=\${GDPR};gdpr_consent=\${GDPR_CONSENT_755};ord=1?\" width=\"1\" height=\"1\" alt=\"\"/></noscript>';
document.body.appendChild(noScript);
gtag('event', 'conversion', {
'allow_custom_scripts': true,
'u10': 'Landing RAPA',
'u24': 'https://rapa.movistarplus.es/',
'send_to': 'DC-4625548/movis00a/eng_v0+standard'
});
// document.write('<noscript> <img src=\"https://ad.doubleclick.net/ddm/activity/src=4625548;type=movis00a;cat=eng_v0;u10=[Landing RAPA];u24=[https://rapa.movistarplus.es/];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;gdpr=\${GDPR};gdpr_consent=\${GDPR_CONSENT_755};ord=1?\" width=\"1\" height=\"1\" alt=\"\"/></noscript>');
console.log('Click ver')
};
</script>
<noscript>
<img src=\"https://ad.doubleclick.net/ddm/activity/src=4625548;type=movis00a;cat=lpg_m0;u10=[Landing RAPA];u24=[https://rapa.movistarplus.es/];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;gdpr=\${GDPR};gdpr_consent=\${GDPR_CONSENT_755};ord=1?\" width=\"1\" height=\"1\" alt=\"\"/>
</noscript>
{% endblock %}
{% block content %}
<div class=\"m-shows-header h3\">
<div class=\"menu-header\">
{{ render(controller('AppBundle:Menu:callToActionButtons', { 'location': ezpublish.rootLocation } )) }}
<div class=\"wrapper row\">
{{ render(controller('AppBundle:Block:renderIconBlock', { 'contentId': ezpublish.rootLocation.contentId } )) }}
{{ render(controller('AppBundle:Menu:header', {'locationId': ezpublish.rootLocation.id } )) }}
<a href=\"{{ url( 'ez_urlalias', {'locationId': base_locationId, 'siteaccess': 'originales'} ) }}\" class=\"e-arrow-link\" rel=\"follow\">
{{ include('icons/link-arrow.svg.twig') }}
<img src=\"/assets/images/logo-originales.svg\"/>
</a>
<a href=\"#\" class=\"menu-toggle\" rel=\"follow\">
{{ include('icons/menu.svg.twig') }}
</a>
</div>
</div>
</div>
{% block modules %}
{{ render(controller('AppBundle:Block:renderBlocks', { 'locationId': location.id } )) }}
{% endblock %}
{% endblock %}
", "@galgos/full/main.html.twig", "/var/www/app/Resources/views/themes/galgos/full/main.html.twig");
}
}