<?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;
/* @templates/Mobile/Shop/layout.html.twig */
class __TwigTemplate_5c2abc160484666583faf9c3eafeb2f54cb4f132fda91f6549cfacf8eb7418af extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'head' => [$this, 'block_head'],
'title' => [$this, 'block_title'],
'metatags' => [$this, 'block_metatags'],
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
'javascripts_app' => [$this, 'block_javascripts_app'],
'webpack_app' => [$this, 'block_webpack_app'],
'mobile_header' => [$this, 'block_mobile_header'],
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
'loaderContainer' => [$this, 'block_loaderContainer'],
];
}
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", "@templates/Mobile/Shop/layout.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@templates/Mobile/Shop/layout.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html lang=\"";
// line 3
echo twig_escape_filter($this->env, twig_slice($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.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "locale", [], "any", false, false, false, 3), 0, 2), "html", null, true);
echo "\">
";
// line 5
$this->displayBlock('head', $context, $blocks);
// line 77
echo "<body class=\"";
echo twig_escape_filter($this->env, 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.', 77, $this->source); })()), "request", [], "any", false, false, false, 77), "attributes", [], "any", false, false, false, 77), "get", [0 => "_route"], "method", false, false, false, 77), "html", null, true);
echo "\" style=\"background-color: #F2F2F2\">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=";
// line 79
echo twig_escape_filter($this->env, (isset($context["gtm_code"]) || array_key_exists("gtm_code", $context) ? $context["gtm_code"] : (function () { throw new RuntimeError('Variable "gtm_code" does not exist.', 79, $this->source); })()), "html", null, true);
echo "\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
";
// line 82
$this->displayBlock('mobile_header', $context, $blocks);
// line 85
echo "
";
// line 86
$this->displayBlock('content', $context, $blocks);
// line 89
echo "
";
// line 90
$this->displayBlock('footer', $context, $blocks);
// line 93
echo "
";
// line 94
$this->displayBlock('loaderContainer', $context, $blocks);
// line 99
echo "
<script>
\$(document).ready(function () {
let hostname = '";
// line 102
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.', 102, $this->source); })()), "request", [], "any", false, false, false, 102), "host", [], "any", false, false, false, 102), "html", null, true);
echo "';
let l = document.links;
let taxaDePodUrl = 'taxadepod.ro';
let blogUrl = 'asigur.blogspot.com';
let telUrl = 'tel:';
let mailUrl = 'mailto:';
for (let i = 0; i < l.length; i++) {
let urlPath = l[i].href;
if (typeof urlPath === 'string' && !urlPath.includes(hostname) && !urlPath.includes(taxaDePodUrl) && !urlPath.includes(blogUrl)
&& !urlPath.includes(telUrl) && !urlPath.includes(mailUrl)) {
l[i].setAttribute('rel','nofollow');
l[i].setAttribute('target', '_blank');
// UrlExists(urlPath, l[i]);
}
}
function UrlExists(url, element) {
\$.ajax({
url: url,
dataType: 'jsonp',
statusCode: {
200: function() {
},
404: function() {
element.removeAttribute('href');
}
},
error:function(){
}
});
}
});
</script>
</body>
</html>
<style>
</style>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 5
public function block_head($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", "head"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
// line 6
echo " <head>
";
// line 7
if ((( !twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "environment", [], "any", true, true, false, 7) && !(null === 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.', 7, $this->source); })()), "environment", [], "any", false, false, false, 7))) && (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.', 7, $this->source); })()), "environment", [], "any", false, false, false, 7) == "dev"))) {
// line 8
echo " <meta name=\"robots\" content=\"noindex,nofollow\">
";
}
// line 10
echo " <meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta http-equiv=\"Content-Language\" content=\"ro\">
<meta name=\"google-site-verification\" content=\"BEtIqk-choaMawpOxG98NtbWKAZK5MuTxV_2-pSHGFQ\">
<title>";
// line 14
$this->displayBlock('title', $context, $blocks);
echo "</title>
<meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=yes\" name=\"viewport\">
";
// line 18
$this->displayBlock('metatags', $context, $blocks);
// line 22
echo "
";
// line 23
$this->displayBlock('stylesheets', $context, $blocks);
// line 30
echo "
";
// line 31
echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.layout.head"]);
echo "
";
// line 33
$this->displayBlock('javascripts', $context, $blocks);
// line 75
echo " </head>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 14
public function block_title($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", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo " Roviniete.ro ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 18
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 19
echo " <meta name=\"description\" content=\"Cumpara roviniete online! Aici gasesti toate informaţiile legate de taxa de drum din Romania: legislaţie, calculator rovinieta si verificare valabilitate.\">
<meta name=\"keywords\" content=\"rovinieta online, roviniete online, rovinieta preţ, verificare valabilitate rovinieta, plata rovinieta online, calculator rovinieta\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 23
public function block_stylesheets($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", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 24
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app", null, "bootstrapTheme");
echo "
";
// line 25
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("bootstrap-fix", null, "bootstrapTheme");
echo "
";
// line 26
echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.layout.stylesheets"]);
echo "
<link rel=\"stylesheet\" href=\"/assets/shop/css/bs-stepper.css\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 33
public function block_javascripts($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", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 34
echo " ";
$this->displayBlock('javascripts_app', $context, $blocks);
// line 37
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/jquery-ui.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 38
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/popper.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 39
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/bootstrap.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 40
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/leftmenu.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 41
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/fosjsrouting/js/router.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 42
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/shop/js/_bootstrap_select.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 43
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_js_routing_js", ["callback" => "fos.Router.setData"]);
echo "\"></script>
<script src=\"";
// line 44
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/jquery.validate.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 45
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/sentry-bundle.min.js"), "html", null, true);
echo "\"></script>
<script>
if (typeof Sentry !== 'undefined') {
Sentry.init({
dsn: \"";
// line 49
echo twig_escape_filter($this->env, (isset($context["sentry_dsn"]) || array_key_exists("sentry_dsn", $context) ? $context["sentry_dsn"] : (function () { throw new RuntimeError('Variable "sentry_dsn" does not exist.', 49, $this->source); })()), "html", null, true);
echo "\",
integrations: [new Sentry.Integrations.TryCatch({
eventTarget: false,
})]
});
}
</script>
<script src=\"";
// line 56
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/shop/js/bs-stepper.js"), "html", null, true);
echo "\"></script>
<script>
dataLayer = [];
</script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','";
// line 65
echo twig_escape_filter($this->env, (isset($context["gtm_code"]) || array_key_exists("gtm_code", $context) ? $context["gtm_code"] : (function () { throw new RuntimeError('Variable "gtm_code" does not exist.', 65, $this->source); })()), "html", null, true);
echo "');</script>
<!-- End Google Tag Manager -->
";
// line 67
$this->displayBlock('webpack_app', $context, $blocks);
// line 70
echo " ";
if ((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.', 70, $this->source); })()), "request", [], "any", false, false, false, 70), "attributes", [], "any", false, false, false, 70), "get", [0 => "_route"], "method", false, false, false, 70) == "sylius_shop_homepage")) {
// line 71
echo " ";
$this->loadTemplate("@templates/ShopCustom/one_signal.html.twig", "@templates/Mobile/Shop/layout.html.twig", 71)->display($context);
// line 72
echo " ";
}
// line 73
echo " ";
echo call_user_func_array($this->env->getFunction('sonata_block_render_event')->getCallable(), ["sylius.shop.layout.javascripts"]);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 34
public function block_javascripts_app($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", "javascripts_app"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts_app"));
// line 35
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/js/app.js"), "html", null, true);
echo "\"></script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 67
public function block_webpack_app($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", "webpack_app"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "webpack_app"));
// line 68
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app", null, "bootstrapTheme");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 82
public function block_mobile_header($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", "mobile_header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "mobile_header"));
// line 83
echo " ";
$this->loadTemplate("@templates/Front/Shop/v2/_header.html.twig", "@templates/Mobile/Shop/layout.html.twig", 83)->display($context);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 86
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 87
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 90
public function block_footer($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", "footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 91
echo " ";
$this->loadTemplate("@templates/Front/Shop/v2/_footer.html.twig", "@templates/Mobile/Shop/layout.html.twig", 91)->display($context);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 94
public function block_loaderContainer($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", "loaderContainer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "loaderContainer"));
// line 95
echo " <div class=\"loading-overlay\" data-js-loading-overlay>
<img src=\"";
// line 96
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/spinner.gif"), "html", null, true);
echo "\" style=\"width: 50px; pointer-events: none\"/>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@templates/Mobile/Shop/layout.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 513 => 96, 510 => 95, 500 => 94, 489 => 91, 479 => 90, 468 => 87, 458 => 86, 447 => 83, 437 => 82, 424 => 68, 414 => 67, 401 => 35, 391 => 34, 378 => 73, 375 => 72, 372 => 71, 369 => 70, 367 => 67, 362 => 65, 350 => 56, 340 => 49, 333 => 45, 329 => 44, 325 => 43, 321 => 42, 317 => 41, 313 => 40, 309 => 39, 305 => 38, 300 => 37, 297 => 34, 287 => 33, 273 => 26, 269 => 25, 264 => 24, 254 => 23, 242 => 19, 232 => 18, 213 => 14, 202 => 75, 200 => 33, 195 => 31, 192 => 30, 190 => 23, 187 => 22, 185 => 18, 178 => 14, 172 => 10, 168 => 8, 166 => 7, 163 => 6, 153 => 5, 99 => 102, 94 => 99, 92 => 94, 89 => 93, 87 => 90, 84 => 89, 82 => 86, 79 => 85, 77 => 82, 71 => 79, 65 => 77, 63 => 5, 58 => 3, 54 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"{{ app.request.locale|slice(0, 2) }}\">
{% block head %}
<head>
{% if app.environment is not defined and app.environment is not null and app.environment == 'dev' %}
<meta name=\"robots\" content=\"noindex,nofollow\">
{% endif %}
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta http-equiv=\"Content-Language\" content=\"ro\">
<meta name=\"google-site-verification\" content=\"BEtIqk-choaMawpOxG98NtbWKAZK5MuTxV_2-pSHGFQ\">
<title>{% block title %} Roviniete.ro {% endblock %}</title>
<meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=yes\" name=\"viewport\">
{% block metatags %}
<meta name=\"description\" content=\"Cumpara roviniete online! Aici gasesti toate informaţiile legate de taxa de drum din Romania: legislaţie, calculator rovinieta si verificare valabilitate.\">
<meta name=\"keywords\" content=\"rovinieta online, roviniete online, rovinieta preţ, verificare valabilitate rovinieta, plata rovinieta online, calculator rovinieta\">
{% endblock %}
{% block stylesheets %}
{{ encore_entry_link_tags('app', null, 'bootstrapTheme') }}
{{ encore_entry_link_tags('bootstrap-fix', null, 'bootstrapTheme') }}
{{ sonata_block_render_event('sylius.shop.layout.stylesheets') }}
<link rel=\"stylesheet\" href=\"/assets/shop/css/bs-stepper.css\">
{% endblock %}
{{ sonata_block_render_event('sylius.shop.layout.head') }}
{% block javascripts %}
{% block javascripts_app %}
<script src=\"{{ asset('assets/shop/js/app.js') }}\"></script>
{% endblock javascripts_app %}
<script src=\"{{ asset('assets/shop/js/jquery-ui.min.js') }}\"></script>
<script src=\"{{ asset('assets/shop/js/popper.min.js') }}\"></script>
<script src=\"{{ asset('assets/shop/js/bootstrap.min.js') }}\"></script>
<script src=\"{{ asset('assets/shop/js/leftmenu.js') }}\"></script>
<script src=\"{{ asset('/bundles/fosjsrouting/js/router.js') }}\"></script>
<script src=\"{{ asset('/assets/shop/js/_bootstrap_select.min.js') }}\"></script>
<script src=\"{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}\"></script>
<script src=\"{{ asset('assets/shop/js/jquery.validate.min.js') }}\"></script>
<script src=\"{{ asset('assets/shop/js/sentry-bundle.min.js') }}\"></script>
<script>
if (typeof Sentry !== 'undefined') {
Sentry.init({
dsn: \"{{ sentry_dsn }}\",
integrations: [new Sentry.Integrations.TryCatch({
eventTarget: false,
})]
});
}
</script>
<script src=\"{{ asset('/assets/shop/js/bs-stepper.js') }}\"></script>
<script>
dataLayer = [];
</script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','{{ gtm_code }}');</script>
<!-- End Google Tag Manager -->
{% block webpack_app %}
{{ encore_entry_script_tags('app', null, 'bootstrapTheme') }}
{% endblock webpack_app %}
{% if app.request.attributes.get('_route') == 'sylius_shop_homepage' %}
{% include '@templates/ShopCustom/one_signal.html.twig' %}
{% endif %}
{{ sonata_block_render_event('sylius.shop.layout.javascripts') }}
{% endblock %}
</head>
{% endblock %}
<body class=\"{{ app.request.attributes.get('_route') }}\" style=\"background-color: #F2F2F2\">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id={{ gtm_code }}\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{% block mobile_header %}
{% include '@templates/Front/Shop/v2/_header.html.twig' %}
{% endblock %}
{% block content %}
{% endblock %}
{% block footer %}
{% include '@templates/Front/Shop/v2/_footer.html.twig' %}
{% endblock %}
{% block loaderContainer %}
<div class=\"loading-overlay\" data-js-loading-overlay>
<img src=\"{{ asset('assets/shop/images/spinner.gif') }}\" style=\"width: 50px; pointer-events: none\"/>
</div>
{% endblock %}
<script>
\$(document).ready(function () {
let hostname = '{{ app.request.host }}';
let l = document.links;
let taxaDePodUrl = 'taxadepod.ro';
let blogUrl = 'asigur.blogspot.com';
let telUrl = 'tel:';
let mailUrl = 'mailto:';
for (let i = 0; i < l.length; i++) {
let urlPath = l[i].href;
if (typeof urlPath === 'string' && !urlPath.includes(hostname) && !urlPath.includes(taxaDePodUrl) && !urlPath.includes(blogUrl)
&& !urlPath.includes(telUrl) && !urlPath.includes(mailUrl)) {
l[i].setAttribute('rel','nofollow');
l[i].setAttribute('target', '_blank');
// UrlExists(urlPath, l[i]);
}
}
function UrlExists(url, element) {
\$.ajax({
url: url,
dataType: 'jsonp',
statusCode: {
200: function() {
},
404: function() {
element.removeAttribute('href');
}
},
error:function(){
}
});
}
});
</script>
</body>
</html>
<style>
</style>
", "@templates/Mobile/Shop/layout.html.twig", "/vhosts/roviniete-qa.roviniete.ro/templates/Mobile/Shop/layout.html.twig");
}
}