<?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;
/* base.html.twig */
class __TwigTemplate_f1cea75dd4c9133149f2dc1724518ae65016cf89e7e93b30c726f15f2305ef9d extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'metatags' => [$this, 'block_metatags'],
'htmlhead' => [$this, 'block_htmlhead'],
'categorizedStylesheets' => [$this, 'block_categorizedStylesheets'],
'favouriteHead' => [$this, 'block_favouriteHead'],
'headScripts' => [$this, 'block_headScripts'],
'env' => [$this, 'block_env'],
'googleDoubleclick' => [$this, 'block_googleDoubleclick'],
'searchFilters' => [$this, 'block_searchFilters'],
'firebase' => [$this, 'block_firebase'],
'vueBody' => [$this, 'block_vueBody'],
'navigation' => [$this, 'block_navigation'],
'headerTop' => [$this, 'block_headerTop'],
'body' => [$this, 'block_body'],
'modals' => [$this, 'block_modals'],
'footer' => [$this, 'block_footer'],
'stylesheets' => [$this, 'block_stylesheets'],
'getTranslations' => [$this, 'block_getTranslations'],
'categorizedJavascripts' => [$this, 'block_categorizedJavascripts'],
'javascripts' => [$this, 'block_javascripts'],
'fos' => [$this, 'block_fos'],
'extraScripts' => [$this, 'block_extraScripts'],
'wootricScript' => [$this, 'block_wootricScript'],
'facebookLogin' => [$this, 'block_facebookLogin'],
'googleLogin' => [$this, 'block_googleLogin'],
];
}
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", "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", "base.html.twig"));
// line 1
$context["FLUID_CONTAINER"] = false;
// line 2
$context["isEgyptSite"] = ($this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general", "country") == "EG");
// line 3
$context["isKSASite"] = ($this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general", "country") == "SA");
// line 4
$context["isEnabledKSAnewHome"] = ((isset($context["isKSASite"]) || array_key_exists("isKSASite", $context) ? $context["isKSASite"] : (function () { throw new RuntimeError('Variable "isKSASite" does not exist.', 4, $this->source); })()) && $this->extensions['Aqarmap\Bundle\MainBundle\Twig\FeatureToggleExtension']->isEnabled("web.ksa.newhome"));
// line 5
$context["isProduction"] = (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.', 5, $this->source); })()), "environment", [], "any", false, false, false, 5) == "prod");
// line 6
$context["isGoogleTagManagerDisabledTest"] = $this->extensions['Aqarmap\Bundle\MainBundle\Twig\FeatureToggleExtension']->isEnabled("web.disable.tagmanager");
// line 7
echo "
<!DOCTYPE html>
<html lang=\"";
// line 9
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.', 9, $this->source); })()), "request", [], "any", false, false, false, 9), "locale", [], "any", false, false, false, 9), "html", null, true);
echo "\" dir=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.direction_code"), "html", null, true);
echo "\" ng-app=\"moonshot\">
";
// line 11
$context["isSearchResultsPage"] = twig_in_filter(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.', 11, $this->source); })()), "request", [], "any", false, false, false, 11), "attributes", [], "any", false, false, false, 11), "get", [0 => "_route"], "method", false, false, false, 11), [0 => "search", 1 => "property_type_search"]);
// line 12
$context["isComoundResultsPage"] = twig_in_filter(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.', 12, $this->source); })()), "request", [], "any", false, false, false, 12), "attributes", [], "any", false, false, false, 12), "get", [0 => "_route"], "method", false, false, false, 12), [0 => "compound_search", 1 => "compound_adviser_search_results"]);
// line 13
$context["isListingDetailsPage"] = twig_in_filter(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.', 13, $this->source); })()), "request", [], "any", false, false, false, 13), "attributes", [], "any", false, false, false, 13), "get", [0 => "_route"], "method", false, false, false, 13), [0 => "listing_slug"]);
// line 14
$macros["seoMacro"] = $this->macros["seoMacro"] = $this->loadTemplate("@AqarmapListing/Default/macros/seoVersion.twig", "base.html.twig", 14)->unwrap();
// line 15
$context["isSeoVersion"] = ((twig_call_macro($macros["seoMacro"], "macro_seoVersion", [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), "requesturi", [], "any", false, false, false, 15)], 15, $context, $this->getSourceContext()) && (isset($context["isSearchResultsPage"]) || array_key_exists("isSearchResultsPage", $context) ? $context["isSearchResultsPage"] : (function () { throw new RuntimeError('Variable "isSearchResultsPage" does not exist.', 15, $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); })()), "user", [], "any", false, false, false, 15));
// line 16
$context["isLongTailPage"] = 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), "get", [0 => "lt"], "method", false, false, false, 16);
// line 17
$context["isUXVersion"] = !(isset($context["isSeoVersion"]) || array_key_exists("isSeoVersion", $context) ? $context["isSeoVersion"] : (function () { throw new RuntimeError('Variable "isSeoVersion" does not exist.', 17, $this->source); })());
// line 18
$context["allowTagManagerDelay"] = (((isset($context["isSeoVersion"]) || array_key_exists("isSeoVersion", $context) ? $context["isSeoVersion"] : (function () { throw new RuntimeError('Variable "isSeoVersion" does not exist.', 18, $this->source); })()) || (isset($context["isComoundResultsPage"]) || array_key_exists("isComoundResultsPage", $context) ? $context["isComoundResultsPage"] : (function () { throw new RuntimeError('Variable "isComoundResultsPage" does not exist.', 18, $this->source); })())) || (isset($context["isListingDetailsPage"]) || array_key_exists("isListingDetailsPage", $context) ? $context["isListingDetailsPage"] : (function () { throw new RuntimeError('Variable "isListingDetailsPage" does not exist.', 18, $this->source); })()));
// line 19
$context["hiddenParametersLanguageRoutes"] = [0 => "search", 1 => "property_type_search", 2 => "listing_slug"];
// line 20
$context["removeParametersLanguageSwitcher"] = (twig_in_filter(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.', 20, $this->source); })()), "request", [], "any", false, false, false, 20), "attributes", [], "any", false, false, false, 20), "get", [0 => "_route"], "method", false, false, false, 20), (isset($context["hiddenParametersLanguageRoutes"]) || array_key_exists("hiddenParametersLanguageRoutes", $context) ? $context["hiddenParametersLanguageRoutes"] : (function () { throw new RuntimeError('Variable "hiddenParametersLanguageRoutes" does not exist.', 20, $this->source); })())) && !(isset($context["isLongTailPage"]) || array_key_exists("isLongTailPage", $context) ? $context["isLongTailPage"] : (function () { throw new RuntimeError('Variable "isLongTailPage" does not exist.', 20, $this->source); })()));
// line 21
$context["adminBodyClass"] = (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) ? ("is-admin") : (""));
// line 22
$context["searchResultsBodyClass"] = (((isset($context["isSearchResultsPage"]) || array_key_exists("isSearchResultsPage", $context) ? $context["isSearchResultsPage"] : (function () { throw new RuntimeError('Variable "isSearchResultsPage" does not exist.', 22, $this->source); })())) ? ("initial-font") : (""));
// line 23
$context["aqarmap_exhibits_guide_url"] = ((((isset($context["aqarmap_advice_url"]) || array_key_exists("aqarmap_advice_url", $context) ? $context["aqarmap_advice_url"] : (function () { throw new RuntimeError('Variable "aqarmap_advice_url" does not exist.', 23, $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.', 23, $this->source); })()), "request", [], "any", false, false, false, 23), "locale", [], "any", false, false, false, 23)) . "/events");
// line 24
$context["isUserHasActiveSubscription"] = (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.', 24, $this->source); })()), "user", [], "any", false, false, false, 24) && (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.', 24, $this->source); })()), "user", [], "any", false, false, false, 24), "getAbsoluteSubscriptionExpiryDays", [], "any", false, false, false, 24) > 0));
// line 25
$context["appLocale"] = 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.', 25, $this->source); })()), "request", [], "any", false, false, false, 25), "locale", [], "any", false, false, false, 25);
// line 26
$context["isLocalArabic"] = ((isset($context["appLocale"]) || array_key_exists("appLocale", $context) ? $context["appLocale"] : (function () { throw new RuntimeError('Variable "appLocale" does not exist.', 26, $this->source); })()) == "ar");
// line 27
echo "<head>
<meta charset=\"";
// line 28
echo twig_escape_filter($this->env, $this->env->getCharset(), "html", null, true);
echo "\" />
<title>";
// line 30
$this->displayBlock('title', $context, $blocks);
echo "</title>
";
// line 32
$context["hiddenMetaDescriptionRoutes"] = [0 => "compound_search"];
// line 33
echo " ";
if ((!twig_in_filter(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.', 33, $this->source); })()), "request", [], "any", false, false, false, 33), "attributes", [], "any", false, false, false, 33), "get", [0 => "_route"], "method", false, false, false, 33), (isset($context["hiddenMetaDescriptionRoutes"]) || array_key_exists("hiddenMetaDescriptionRoutes", $context) ? $context["hiddenMetaDescriptionRoutes"] : (function () { throw new RuntimeError('Variable "hiddenMetaDescriptionRoutes" does not exist.', 33, $this->source); })())) || ((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.', 33, $this->source); })()), "request", [], "any", false, false, false, 33), "attributes", [], "any", false, false, false, 33), "get", [0 => "_route"], "method", false, false, false, 33) == "listing_slug") && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["listing"]) || array_key_exists("listing", $context) ? $context["listing"] : (function () { throw new RuntimeError('Variable "listing" does not exist.', 33, $this->source); })()), "section", [], "any", false, false, false, 33), "searchable", [], "any", false, false, false, 33)))) {
// line 34
echo " <meta name=\"description\" content=\"";
ob_start();
if ( $this->hasBlock("meta_description", $context, $blocks)) {
// line 35
echo " ";
echo twig_escape_filter($this->env, twig_trim_filter(twig_replace_filter(twig_replace_filter(twig_truncate_filter($this->env, twig_striptags(_twig_default_filter( $this->renderBlock("meta_description", $context, $blocks), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.homepage_description"))), 250, true, null), ["
" => " ", "
" => " ", "\t" => " ", "
" => " ", " " => ".."]), [" " => ". "]), "."), "html", null, true);
echo "
";
} else {
// line 37
echo " ";
echo twig_escape_filter($this->env, twig_trim_filter(twig_replace_filter(twig_replace_filter(twig_truncate_filter($this->env, twig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.homepage_description")), 250, true, null), ["
" => " ", "
" => " ", "\t" => " ", "
" => " ", " " => ".."]), [" " => ". "]), "."), "html", null, true);
echo "
";
}
// line 39
echo " ";
echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
echo "\">
";
}
// line 41
echo "
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no\" >
<meta http-equiv=\"Accept-CH\" content=\"DPR, Width, Viewport-Width\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"theme-color\" content=\"#007dbe\">
<meta name=\"author\" content=\"";
// line 46
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name"), "html", null, true);
echo "\">
<meta name=\"apple-itunes-app\" content=\"app-id=642633889\">
<meta name=\"google-play-app\" content=\"app-id=com.aqarmap.android\">
<meta name=\"robots\" content=\"noindex, follow\">
";
// line 50
if (((isset($context["app_domain"]) || array_key_exists("app_domain", $context) ? $context["app_domain"] : (function () { throw new RuntimeError('Variable "app_domain" does not exist.', 50, $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.', 50, $this->source); })()), "request", [], "any", false, false, false, 50), "getHost", [], "method", false, false, false, 50))) {
echo "<meta name=\"robots\" content=\"noindex, nofollow\">";
}
// line 51
echo "
";
// line 52
$this->displayBlock('metatags', $context, $blocks);
// line 53
echo " <link rel=\"preload\" as=\"image\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/placeholder.svg"), "html", null, true);
echo "\">
<link rel=\"preload\" as=\"image\" href=\"";
// line 54
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("images/logo-" . 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.', 54, $this->source); })()), "request", [], "any", false, false, false, 54), "locale", [], "any", false, false, false, 54)) . "-white.svg")), "html", null, true);
echo "\">
<link rel=\"icon\" type=\"image/x-icon\" href=\"";
// line 55
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico"), "html", null, true);
echo "\" />
<link rel=\"manifest\" href=\"";
// line 56
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("manifest.json"), "html", null, true);
echo "\" />
";
// line 57
$this->displayBlock('htmlhead', $context, $blocks);
// line 58
echo "
";
// line 59
$this->displayBlock('categorizedStylesheets', $context, $blocks);
// line 62
echo "
";
// line 63
$this->displayBlock('favouriteHead', $context, $blocks);
// line 65
echo "
";
// line 66
$context["topBar"] = $this->extensions['Aqarmap\Bundle\AnnouncementBundle\Services\Twig\AnnouncementExtension']->getActiveAnnouncement(["topBar" => true]);
// line 67
echo " ";
$this->displayBlock('headScripts', $context, $blocks);
// line 94
echo "
";
// line 95
$this->displayBlock('env', $context, $blocks);
// line 98
echo "</head>
<body class=\"";
// line 100
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.direction_code"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, (isset($context["adminBodyClass"]) || array_key_exists("adminBodyClass", $context) ? $context["adminBodyClass"] : (function () { throw new RuntimeError('Variable "adminBodyClass" does not exist.', 100, $this->source); })()), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, (isset($context["searchResultsBodyClass"]) || array_key_exists("searchResultsBodyClass", $context) ? $context["searchResultsBodyClass"] : (function () { throw new RuntimeError('Variable "searchResultsBodyClass" does not exist.', 100, $this->source); })()), "html", null, true);
echo "\">
";
// line 101
if (((isset($context["isProduction"]) || array_key_exists("isProduction", $context) ? $context["isProduction"] : (function () { throw new RuntimeError('Variable "isProduction" does not exist.', 101, $this->source); })()) && !(isset($context["isGoogleTagManagerDisabledTest"]) || array_key_exists("isGoogleTagManagerDisabledTest", $context) ? $context["isGoogleTagManagerDisabledTest"] : (function () { throw new RuntimeError('Variable "isGoogleTagManagerDisabledTest" does not exist.', 101, $this->source); })()))) {
// line 102
echo " <!-- Google Tag Manager -->
<script>
var tagManagerSettings = '";
// line 104
echo twig_escape_filter($this->env, $this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general", "tag_manager"), "html", null, true);
echo "';
var allowTagManagerDelay = '";
// line 105
echo twig_escape_filter($this->env, (isset($context["allowTagManagerDelay"]) || array_key_exists("allowTagManagerDelay", $context) ? $context["allowTagManagerDelay"] : (function () { throw new RuntimeError('Variable "allowTagManagerDelay" does not exist.', 105, $this->source); })()), "html", null, true);
echo "'
</script>
<noscript><iframe src=\"//www.googletagmanager.com/ns.html?id=";
// line 107
echo twig_escape_filter($this->env, $this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general", "tag_manager"), "html", null, true);
echo "\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\" loading=\"lazy\"></iframe></noscript>
<script type=\"application/javascript\" src=\"";
// line 109
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/js/buildTagManager" . (((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.', 109, $this->source); })()), "environment", [], "any", false, false, false, 109) == "dev")) ? ("") : (".min"))) . ".js")), "html", null, true);
echo "\"></script>
<!-- End Google Tag Manager -->
";
}
// line 112
echo "
";
// line 113
$this->displayBlock('googleDoubleclick', $context, $blocks);
// line 175
echo "
";
// line 176
$this->displayBlock('searchFilters', $context, $blocks);
// line 178
echo "
";
// line 179
$this->displayBlock('firebase', $context, $blocks);
// line 183
echo "
";
// line 184
$this->displayBlock('vueBody', $context, $blocks);
// line 235
if (!twig_in_filter(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.', 235, $this->source); })()), "request", [], "any", false, false, false, 235), "attributes", [], "any", false, false, false, 235), "get", [0 => "_route"], "method", false, false, false, 235), [0 => "compound_adviser_search_results", 1 => "compound_adviser", 2 => "search", 3 => "property_type_search", 4 => "compound_search"])) {
// line 236
echo " <section class=\"problem\">
<a class=\"gtm-btn-report problemButton hidden-xs\"
href=\"";
// line 238
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("aqarmap_feedback_get");
echo "\"
target=\"_blank\" rel=\"nofollow\">
<span class=\"fa fa-smile\"></span>
";
// line 241
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("problem.problem_help_btn"), "html", null, true);
echo "
</a>
</section><!-- problem Section -->
";
}
// line 245
echo "
";
// line 246
if (!twig_in_filter(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.', 246, $this->source); })()), "request", [], "any", false, false, false, 246), "attributes", [], "any", false, false, false, 246), "get", [0 => "_route"], "method", false, false, false, 246), [0 => "listing_slug", 1 => "compound_adviser_search_results", 2 => "compound_adviser", 3 => "search", 4 => "property_type_search", 5 => "compound_search"])) {
// line 247
echo "<div class=\"position-fixed mobile-problem-wrapper visible-xs\">
<section class=\"problem mobile-problem-section\">
<a class=\"gtm-btn-report mobile-problem-button position-relative\"
href=\"";
// line 250
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("aqarmap_feedback_get");
echo "\"
target=\"_blank\" rel=\"nofollow\">
<span class=\"icon fa fa-question\"></span>
</a>
</section><!-- problem Section Mobile-->
</div>
";
}
// line 257
echo "
";
// line 258
$this->displayBlock('footer', $context, $blocks);
// line 265
echo "
";
// line 268
$this->displayBlock('stylesheets', $context, $blocks);
// line 273
echo "
";
// line 274
$this->displayBlock('getTranslations', $context, $blocks);
// line 277
echo "<!-- Javascript categorized files -->
";
// line 278
$this->displayBlock('categorizedJavascripts', $context, $blocks);
// line 285
echo "<!-- Javascript files -->
";
// line 287
$this->displayBlock('javascripts', $context, $blocks);
// line 340
echo "
";
// line 341
$this->displayBlock('fos', $context, $blocks);
// line 351
echo "
";
// line 352
$this->displayBlock('extraScripts', $context, $blocks);
// line 357
echo "
";
// line 358
$this->displayBlock('wootricScript', $context, $blocks);
// line 389
echo "
";
// line 390
$this->displayBlock('facebookLogin', $context, $blocks);
// line 392
echo "
";
// line 393
$this->displayBlock('googleLogin', $context, $blocks);
// line 396
echo "</body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 30
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 twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.brand_suffix"), "html", null, true);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 52
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"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 57
public function block_htmlhead($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", "htmlhead"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "htmlhead"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 59
public function block_categorizedStylesheets($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", "categorizedStylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "categorizedStylesheets"));
// line 60
echo "<link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/css/build" . (((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.', 60, $this->source); })()), "environment", [], "any", false, false, false, 60) == "dev")) ? ("") : (".min"))) . ".css")), "html", null, true);
echo "\" />
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 63
public function block_favouriteHead($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", "favouriteHead"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "favouriteHead"));
// line 64
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 67
public function block_headScripts($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", "headScripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headScripts"));
// line 68
echo " <script>
var app_data = {};
app_data.locale = '";
// line 70
echo twig_escape_filter($this->env, (isset($context["appLocale"]) || array_key_exists("appLocale", $context) ? $context["appLocale"] : (function () { throw new RuntimeError('Variable "appLocale" does not exist.', 70, $this->source); })()), "html", null, true);
echo "';
app_data.debug = ";
// line 71
echo twig_escape_filter($this->env, $this->env->getRuntime('JMS\Serializer\Twig\SerializerRuntimeHelper')->serialize(((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.', 71, $this->source); })()), "debug", [], "any", false, false, false, 71)) ? (true) : (false))), "html", null, true);
echo ";
app_data.base_url = ";
// line 72
echo $this->env->getRuntime('JMS\Serializer\Twig\SerializerRuntimeHelper')->serialize($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage"));
echo ";
app_data.is_authenticated = ";
// line 73
echo $this->env->getRuntime('JMS\Serializer\Twig\SerializerRuntimeHelper')->serialize($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED"));
echo ";
app_data.messaging_api_key = \"";
// line 74
echo twig_escape_filter($this->env, (isset($context["firebase_api_key"]) || array_key_exists("firebase_api_key", $context) ? $context["firebase_api_key"] : (function () { throw new RuntimeError('Variable "firebase_api_key" does not exist.', 74, $this->source); })()), "html", null, true);
echo "\";
app_data.messaging_sender_id = \"";
// line 75
echo twig_escape_filter($this->env, (isset($context["firebase_sender_id"]) || array_key_exists("firebase_sender_id", $context) ? $context["firebase_sender_id"] : (function () { throw new RuntimeError('Variable "firebase_sender_id" does not exist.', 75, $this->source); })()), "html", null, true);
echo "\";
app_data.country = \"";
// line 76
echo twig_escape_filter($this->env, twig_lower_filter($this->env, $this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general", "country")), "html", null, true);
echo "\";
app_data.topBar = \"";
// line 77
echo (( !(null === (isset($context["topBar"]) || array_key_exists("topBar", $context) ? $context["topBar"] : (function () { throw new RuntimeError('Variable "topBar" does not exist.', 77, $this->source); })()))) ? (true) : (false));
echo "\";
app_data.topBarStarts = \"";
// line 78
(( !(null === (isset($context["topBar"]) || array_key_exists("topBar", $context) ? $context["topBar"] : (function () { throw new RuntimeError('Variable "topBar" does not exist.', 78, $this->source); })()))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["topBar"]) || array_key_exists("topBar", $context) ? $context["topBar"] : (function () { throw new RuntimeError('Variable "topBar" does not exist.', 78, $this->source); })()), "startAt", [], "any", false, false, false, 78), "html", null, true))) : (print (false)));
echo "\";
app_data.topBarCounter = \"";
// line 79
(( !(null === (isset($context["topBar"]) || array_key_exists("topBar", $context) ? $context["topBar"] : (function () { throw new RuntimeError('Variable "topBar" does not exist.', 79, $this->source); })()))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["topBar"]) || array_key_exists("topBar", $context) ? $context["topBar"] : (function () { throw new RuntimeError('Variable "topBar" does not exist.', 79, $this->source); })()), "counter", [], "any", false, false, false, 79), "html", null, true))) : (print (false)));
echo "\";
app_data.environment = \"";
// line 80
echo twig_escape_filter($this->env, 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.', 80, $this->source); })()), "environment", [], "any", false, false, false, 80), "html", null, true);
echo "\"
app_data.currency = \"";
// line 81
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general", "currency")), "html", null, true);
echo "\"
app_data.searchSvcUrl=\"";
// line 82
echo twig_escape_filter($this->env, (isset($context["search_service_public_endpoint"]) || array_key_exists("search_service_public_endpoint", $context) ? $context["search_service_public_endpoint"] : (function () { throw new RuntimeError('Variable "search_service_public_endpoint" does not exist.', 82, $this->source); })()), "html", null, true);
echo "\"
</script>
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"Organization\",
\"logo\" : \"";
// line 89
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.', 89, $this->source); })()), "request", [], "any", false, false, false, 89), "locale", [], "any", false, false, false, 89) == "ar")) ? ($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/logo-ar.svg"))) : ($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/EnglishLogo.png")))), "html", null, true);
echo "\",
\"url\": \"";
// line 90
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.', 90, $this->source); })()), "request", [], "any", false, false, false, 90), "getSchemeAndHttpHost", [], "method", false, false, false, 90), "html", null, true);
echo "\"
}
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 95
public function block_env($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", "env"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "env"));
// line 96
echo " ";
$this->loadTemplate("env.html.twig", "base.html.twig", 96)->display($context);
// line 97
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 113
public function block_googleDoubleclick($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", "googleDoubleclick"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "googleDoubleclick"));
// line 114
echo " ";
if (((isset($context["isProduction"]) || array_key_exists("isProduction", $context) ? $context["isProduction"] : (function () { throw new RuntimeError('Variable "isProduction" does not exist.', 114, $this->source); })()) && (isset($context["isUXVersion"]) || array_key_exists("isUXVersion", $context) ? $context["isUXVersion"] : (function () { throw new RuntimeError('Variable "isUXVersion" does not exist.', 114, $this->source); })()))) {
// line 115
echo " <script src=\"https://securepubads.g.doubleclick.net/tag/js/gpt.js\"></script>
<script>
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {
googletag.pubads().enableSingleRequest();
googletag.pubads().collapseEmptyDivs();
googletag.pubads().setTargeting('lang', \"";
// line 121
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.', 121, $this->source); })()), "request", [], "any", false, false, false, 121), "locale", [], "any", false, false, false, 121), "html", null, true);
echo "\").setTargeting('url', \"";
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.', 121, $this->source); })()), "request", [], "any", false, false, false, 121), "pathInfo", [], "any", false, false, false, 121), "html", null, true);
echo "\");
});
";
// line 123
if (($this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general", "country") == "SA")) {
// line 124
echo " googletag.cmd.push(function() {
googletag.defineSlot('/34628225/Frontpage-KSA', [[1140, 225], [728, 144]], 'div-gpt-ad-1611048992201-0').addService(googletag.pubads());
googletag.enableServices();
});
";
} else {
// line 129
echo " googletag.cmd.push(function() {
googletag.defineSlot('/34628225/half-page', [1140, 225], 'div-gpt-ad-1588539416603-0').addService(googletag.pubads());
googletag.enableServices();
});
";
}
// line 134
echo " </script>
<script>
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {
googletag.pubads().enableSingleRequest();
googletag.pubads().collapseEmptyDivs();
googletag.pubads().setTargeting('lang', \"";
// line 140
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.', 140, $this->source); })()), "request", [], "any", false, false, false, 140), "locale", [], "any", false, false, false, 140), "html", null, true);
echo "\").setTargeting('url', \"";
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.', 140, $this->source); })()), "request", [], "any", false, false, false, 140), "pathInfo", [], "any", false, false, false, 140), "html", null, true);
echo "\");
});
";
// line 142
if (($this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general", "country") == "SA")) {
// line 143
echo " googletag.cmd.push(function() {
googletag.defineSlot('/34628225/sideadksalong', [300, 600], 'div-gpt-ad-1638434718795-0').addService(googletag.pubads());
googletag.enableServices();
});
";
} else {
// line 148
echo " googletag.cmd.push(function() {
googletag.defineSlot('/34628225/sideadlong', [300, 600], 'div-gpt-ad-1638434601381-0').addService(googletag.pubads());
googletag.enableServices();
});
";
}
// line 153
echo " </script>
<script>
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {
googletag.pubads().enableSingleRequest();
googletag.pubads().collapseEmptyDivs();
googletag.pubads().setTargeting('lang', \"";
// line 159
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.', 159, $this->source); })()), "request", [], "any", false, false, false, 159), "locale", [], "any", false, false, false, 159), "html", null, true);
echo "\").setTargeting('url', \"";
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.', 159, $this->source); })()), "request", [], "any", false, false, false, 159), "pathInfo", [], "any", false, false, false, 159), "html", null, true);
echo "\");
});
";
// line 161
if (($this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general", "country") == "SA")) {
// line 162
echo " googletag.cmd.push(function() {
googletag.defineSlot('/34628225/feedadksa', [320, 320], 'div-gpt-ad-1611049193067-0').addService(googletag.pubads());
googletag.enableServices();
});
";
} else {
// line 167
echo " googletag.cmd.push(function() {
googletag.defineSlot('/34628225/feedad', [320, 320], 'div-gpt-ad-1588541966744-0').addService(googletag.pubads());
googletag.enableServices();
});
";
}
// line 172
echo " </script>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 176
public function block_searchFilters($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", "searchFilters"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "searchFilters"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 179
public function block_firebase($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", "firebase"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "firebase"));
// line 180
echo " <div id=\"overlay-back\"></div>
<div id=\"overlay\"><div class=\"overlay-text\">";
// line 181
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("notification_modal.info_message"), "html", null, true);
echo " </div></div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 184
public function block_vueBody($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", "vueBody"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "vueBody"));
// line 185
echo " ";
$this->loadTemplate("flashes.html.twig", "base.html.twig", 185)->display($context);
// line 186
echo " ";
$context["vueAppName"] = (((isset($context["isListingDetailsPage"]) || array_key_exists("isListingDetailsPage", $context) ? $context["isListingDetailsPage"] : (function () { throw new RuntimeError('Variable "isListingDetailsPage" does not exist.', 186, $this->source); })())) ? ("activitiesApp") : ("vueApp"));
// line 187
echo " <div id=\"";
echo twig_escape_filter($this->env, (isset($context["vueAppName"]) || array_key_exists("vueAppName", $context) ? $context["vueAppName"] : (function () { throw new RuntimeError('Variable "vueAppName" does not exist.', 187, $this->source); })()), "html", null, true);
echo "\"
data-feature-toggle=\"";
// line 188
((array_key_exists("featureToggle", $context)) ? (print (twig_escape_filter($this->env, json_encode((isset($context["featureToggle"]) || array_key_exists("featureToggle", $context) ? $context["featureToggle"] : (function () { throw new RuntimeError('Variable "featureToggle" does not exist.', 188, $this->source); })())), "html", null, true))) : (print (null)));
echo "\"
data-user=\"";
// line 189
((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.', 189, $this->source); })()), "user", [], "any", false, false, false, 189)) ? (print (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.', 189, $this->source); })()), "user", [], "any", false, false, false, 189), "id", [], "any", false, false, false, 189), "html", null, true))) : (print (null)));
echo "\"
data-user-email=\"";
// line 190
((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.', 190, $this->source); })()), "user", [], "any", false, false, false, 190)) ? (print (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.', 190, $this->source); })()), "user", [], "any", false, false, false, 190), "email", [], "any", false, false, false, 190), "html", null, true))) : (print (null)));
echo "\">
";
// line 191
$this->displayBlock('navigation', $context, $blocks);
// line 194
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.', 194, $this->source); })()), "request", [], "any", false, false, false, 194), "attributes", [], "any", false, false, false, 194), "get", [0 => "_route"], "method", false, false, false, 194) == "homepage")) {
// line 195
echo " ";
$this->loadTemplate("hero-searchbar.html.twig", "base.html.twig", 195)->display($context);
// line 196
echo " <section class=\"container-fluid\">
<div class=\"row justify-content-center\">
";
// line 198
if ((isset($context["isProduction"]) || array_key_exists("isProduction", $context) ? $context["isProduction"] : (function () { throw new RuntimeError('Variable "isProduction" does not exist.', 198, $this->source); })())) {
// line 199
echo " ";
if (($this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general", "country") == "SA")) {
// line 200
echo " <div id='div-gpt-ad-1611048992201-0' style='width: 1140px; height: 225px;'>
<script type=\"application/javascript\" v-pre defer>
if (typeof googletag !== 'undefined') {
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1611048992201-0'); });
}
</script>
</div>
";
} else {
// line 208
echo " <div id='div-gpt-ad-1588539416603-0' style='width: 1140px; height: 225px;'>
<script type=\"application/javascript\" v-pre defer>
if (typeof googletag !== 'undefined') {
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1588539416603-0'); });
}
</script>
</div>
";
}
// line 216
echo " ";
} else {
// line 217
echo " <div class=\"takeover-ad\" style=\"text-align: center; background-color: ";
echo twig_escape_filter($this->env, $this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("features", "takeover_ad_color"), "html", null, true);
echo ";\">
<img src=\"https://placehold.it/1140x225/DFDFDF/B6B6B6&text=AD%20BANNER%20(1140%20X%20225)\" width=\"100%\" alt=\"\" />
</div>
";
}
// line 221
echo " </div>
</section>
";
}
// line 224
echo "
";
// line 225
$this->displayBlock('headerTop', $context, $blocks);
// line 228
echo "
";
// line 229
$this->displayBlock('body', $context, $blocks);
// line 231
echo " ";
$this->displayBlock('modals', $context, $blocks);
// line 233
echo " </div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 191
public function block_navigation($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", "navigation"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navigation"));
// line 192
echo " ";
$this->loadTemplate("header.html.twig", "base.html.twig", 192)->display($context);
// line 193
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 225
public function block_headerTop($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", "headerTop"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headerTop"));
// line 226
echo " ";
$this->loadTemplate("adsHeader.html.twig", "base.html.twig", 226)->display($context);
// line 227
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 229
public function block_body($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", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 230
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 231
public function block_modals($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", "modals"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "modals"));
// line 232
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 258
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 259
echo " ";
$context["hiddenFooterRoutes"] = [0 => "listing_initialize", 1 => "listing_edit", 2 => "listing_upload", 3 => "listing_confirm_publish_credit"];
// line 260
echo " ";
if (!twig_in_filter(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.', 260, $this->source); })()), "request", [], "any", false, false, false, 260), "attributes", [], "any", false, false, false, 260), "get", [0 => "_route"], "method", false, false, false, 260), (isset($context["hiddenFooterRoutes"]) || array_key_exists("hiddenFooterRoutes", $context) ? $context["hiddenFooterRoutes"] : (function () { throw new RuntimeError('Variable "hiddenFooterRoutes" does not exist.', 260, $this->source); })()))) {
// line 261
echo " ";
$this->loadTemplate("footer.v2.html.twig", "base.html.twig", 261)->display($context);
// line 262
echo " ";
}
// line 263
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 268
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 269
if (($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.direction_code") == "rtl")) {
// line 270
echo "<link href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("builds/css/bootstrap-rtl.min.css"), "html", null, true);
echo "\" rel=\"stylesheet\" media=\"print\" onload=\"this.media='all';this.onload=null;\" />
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 274
public function block_getTranslations($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", "getTranslations"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "getTranslations"));
// line 275
echo " ";
$this->loadTemplate("get-translations.html.twig", "base.html.twig", 275)->display($context);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 278
public function block_categorizedJavascripts($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", "categorizedJavascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "categorizedJavascripts"));
// line 279
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/js/build" . (((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.', 279, $this->source); })()), "environment", [], "any", false, false, false, 279) == "dev")) ? ("") : (".min"))) . ".js")), "html", null, true);
echo "\"></script>
<script defer type=\"application/javascript\" src=\"";
// line 280
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/js/buildTopSellers" . (((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.', 280, $this->source); })()), "environment", [], "any", false, false, false, 280) == "dev")) ? ("") : (".min"))) . ".js")), "html", null, true);
echo "\"></script>
";
// line 281
if ( !(null === (isset($context["topBar"]) || array_key_exists("topBar", $context) ? $context["topBar"] : (function () { throw new RuntimeError('Variable "topBar" does not exist.', 281, $this->source); })()))) {
// line 282
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("countdown");
echo "
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 287
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 288
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("js/translations/jstranslation/" . 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.', 288, $this->source); })()), "request", [], "any", false, false, false, 288), "locale", [], "any", false, false, false, 288)) . ".js")), "html", null, true);
echo "\" defer></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>
<script src=\"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js\"></script>
<![endif]-->
<script type=\"application/javascript\">
// Google Tag Manager Data Layer initialization
window.dataLayer = window.dataLayer || [];
// Translator initialization
window.Translator = window.Translator || [];
</script>
";
// line 305
echo " ";
$context["criteo_custom_datalayer"] = ["PageType" => "TransactionPage", "email" => " "];
// line 306
echo "
";
// line 308
echo " ";
$context["criteo_datalayer"] = ["PageType" => 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.', 308, $this->source); })()), "request", [], "any", false, false, false, 308), "attributes", [], "any", false, false, false, 308), "get", [0 => "_route"], "method", false, false, false, 308)];
// line 309
echo "
";
// line 310
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.', 310, $this->source); })()), "request", [], "any", false, false, false, 310), "attributes", [], "any", false, false, false, 310), "get", [0 => "_route"], "method", false, false, false, 310) == "search") || (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.', 310, $this->source); })()), "request", [], "any", false, false, false, 310), "attributes", [], "any", false, false, false, 310), "get", [0 => "_route"], "method", false, false, false, 310) == "property_type_search"))) {
// line 311
$context["criteo_datalayer"] = ["PageType" => "search"];
// line 312
echo " ";
}
// line 313
echo "
";
// line 314
$context["criteo_datalayer"] = twig_array_merge((isset($context["criteo_datalayer"]) || array_key_exists("criteo_datalayer", $context) ? $context["criteo_datalayer"] : (function () { throw new RuntimeError('Variable "criteo_datalayer" does not exist.', 314, $this->source); })()), ["email" => " "]);
// line 315
echo "
";
// line 316
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.', 316, $this->source); })()), "request", [], "any", false, false, false, 316), "attributes", [], "any", false, false, false, 316), "get", [0 => "_route"], "method", false, false, false, 316) == "listing_slug")) {
// line 317
echo " ";
$context["criteo_datalayer"] = ["PageType" => "ListingPage", "email" => " "];
// line 318
echo " ";
$context["criteo_custom_datalayer"] = twig_array_merge((isset($context["criteo_custom_datalayer"]) || array_key_exists("criteo_custom_datalayer", $context) ? $context["criteo_custom_datalayer"] : (function () { throw new RuntimeError('Variable "criteo_custom_datalayer" does not exist.', 318, $this->source); })()), ["ProductTransactionProducts" => [0 => ["id" => twig_get_attribute($this->env, $this->source, (isset($context["listing"]) || array_key_exists("listing", $context) ? $context["listing"] : (function () { throw new RuntimeError('Variable "listing" does not exist.', 318, $this->source); })()), "id", [], "any", false, false, false, 318), "price" => "0.01", "quantity" => "1"]]]);
// line 319
echo "
";
// line 320
$context["criteo_datalayer"] = twig_array_merge((isset($context["criteo_datalayer"]) || array_key_exists("criteo_datalayer", $context) ? $context["criteo_datalayer"] : (function () { throw new RuntimeError('Variable "criteo_datalayer" does not exist.', 320, $this->source); })()), ["ListingID" => twig_get_attribute($this->env, $this->source, (isset($context["listing"]) || array_key_exists("listing", $context) ? $context["listing"] : (function () { throw new RuntimeError('Variable "listing" does not exist.', 320, $this->source); })()), "id", [], "any", false, false, false, 320)]);
// line 321
echo " <script>
\$(document).ready(function () {
dataLayer.push(";
// line 323
echo json_encode((isset($context["criteo_custom_datalayer"]) || array_key_exists("criteo_custom_datalayer", $context) ? $context["criteo_custom_datalayer"] : (function () { throw new RuntimeError('Variable "criteo_custom_datalayer" does not exist.', 323, $this->source); })()));
echo ");
});
</script>
";
// line 326
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["listing"]) || array_key_exists("listing", $context) ? $context["listing"] : (function () { throw new RuntimeError('Variable "listing" does not exist.', 326, $this->source); })()), "liveChildren", [], "any", false, false, false, 326))) {
// line 327
echo " ";
$context["criteo_datalayer"] = twig_array_merge((isset($context["criteo_datalayer"]) || array_key_exists("criteo_datalayer", $context) ? $context["criteo_datalayer"] : (function () { throw new RuntimeError('Variable "criteo_datalayer" does not exist.', 327, $this->source); })()), ["unitsIDs" => twig_get_attribute($this->env, $this->source, (isset($context["listing"]) || array_key_exists("listing", $context) ? $context["listing"] : (function () { throw new RuntimeError('Variable "listing" does not exist.', 327, $this->source); })()), "liveChildrenIDs", [], "any", false, false, false, 327)]);
// line 328
echo " ";
}
}
// line 330
echo "
";
// line 331
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.', 331, $this->source); })()), "request", [], "any", false, false, false, 331), "attributes", [], "any", false, false, false, 331), "get", [0 => "_route"], "method", false, false, false, 331) == "search") || (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.', 331, $this->source); })()), "request", [], "any", false, false, false, 331), "attributes", [], "any", false, false, false, 331), "get", [0 => "_route"], "method", false, false, false, 331) == "property_type_search"))) {
// line 332
$context["criteo_datalayer"] = twig_array_merge((isset($context["criteo_datalayer"]) || array_key_exists("criteo_datalayer", $context) ? $context["criteo_datalayer"] : (function () { throw new RuntimeError('Variable "criteo_datalayer" does not exist.', 332, $this->source); })()), ["ListingIDList" => twig_slice($this->env, (isset($context["resultsIDs"]) || array_key_exists("resultsIDs", $context) ? $context["resultsIDs"] : (function () { throw new RuntimeError('Variable "resultsIDs" does not exist.', 332, $this->source); })()), 1, 3)]);
// line 333
echo " ";
}
// line 334
echo " <script>
\$(document).ready(function () {
dataLayer.push(";
// line 336
echo json_encode((isset($context["criteo_datalayer"]) || array_key_exists("criteo_datalayer", $context) ? $context["criteo_datalayer"] : (function () { throw new RuntimeError('Variable "criteo_datalayer" does not exist.', 336, $this->source); })()));
echo ");
});
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 341
public function block_fos($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", "fos"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "fos"));
// line 342
echo " ";
if (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.', 342, $this->source); })()), "debug", [], "any", false, false, false, 342)) {
// line 343
echo " <script src=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_js_routing_js", ["callback" => "fos.Router.setData"]);
echo "\"></script>
";
} else {
// line 345
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/fos_js_routes.js"), "html", null, true);
echo "\"></script>
<script>
Routing.setPrefix(\"";
// line 347
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.', 347, $this->source); })()), "request", [], "any", false, false, false, 347), "locale", [], "any", false, false, false, 347), "html", null, true);
echo "__RG__\");
</script>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 352
public function block_extraScripts($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", "extraScripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extraScripts"));
// line 353
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.', 353, $this->source); })()), "request", [], "any", false, false, false, 353), "attributes", [], "any", false, false, false, 353), "get", [0 => "_route"], "method", false, false, false, 353) == "homepage")) {
// line 354
echo " <script type=\"application/javascript\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/priceFilters.js"), "html", null, true);
echo "\"></script>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 358
public function block_wootricScript($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", "wootricScript"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "wootricScript"));
// line 359
echo " ";
if ((isset($context["isUXVersion"]) || array_key_exists("isUXVersion", $context) ? $context["isUXVersion"] : (function () { throw new RuntimeError('Variable "isUXVersion" does not exist.', 359, $this->source); })())) {
// line 360
echo " <!-- begin Wootric code -->
<script>
window.wootric = function(){};
</script>
<script type=\"text/javascript\" src=\"https://cdn.wootric.com/wootric-sdk.js\"></script>
";
// line 365
if (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.', 365, $this->source); })()), "user", [], "any", false, false, false, 365)) {
// line 366
echo " <script id=\"wootricScript\" type=\"application/javascript\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/js/buildWootric" . (((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.', 366, $this->source); })()), "environment", [], "any", false, false, false, 366) == "dev")) ? ("") : (".min"))) . ".js")), "html", null, true);
echo "\"></script>
";
} else {
// line 368
echo " <script type=\"text/javascript\">
//window.wootric_survey_immediately = true; // Shows survey immediately for testing purposes. TODO: Comment out for production.
window.wootricSettings = {
account_token: 'NPS-8fa9e73b'
};
window.wootric(\"run\");
</script>
";
}
// line 376
echo " ";
} else {
// line 377
echo " <script>
\$(document).ready(function () {
";
// line 379
if (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.', 379, $this->source); })()), "user", [], "any", false, false, false, 379)) {
// line 380
echo " dataLayer.push({
'userEmail': '";
// line 381
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.', 381, $this->source); })()), "user", [], "any", false, false, false, 381), "email", [], "any", false, false, false, 381), "html", null, true);
echo "',
'userCreatedAt': '";
// line 382
echo twig_escape_filter($this->env, twig_date_format_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.', 382, $this->source); })()), "user", [], "any", false, false, false, 382), "createdAt", [], "any", false, false, false, 382), "U"), "html", null, true);
echo "',
});
";
}
// line 385
echo " });
</script>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 390
public function block_facebookLogin($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", "facebookLogin"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "facebookLogin"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 393
public function block_googleLogin($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", "googleLogin"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "googleLogin"));
// line 394
echo " ";
$this->loadTemplate("googleLogin.html.twig", "base.html.twig", 394)->display($context);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1363 => 394, 1353 => 393, 1335 => 390, 1322 => 385, 1316 => 382, 1312 => 381, 1309 => 380, 1307 => 379, 1303 => 377, 1300 => 376, 1290 => 368, 1284 => 366, 1282 => 365, 1275 => 360, 1272 => 359, 1262 => 358, 1248 => 354, 1245 => 353, 1235 => 352, 1221 => 347, 1215 => 345, 1209 => 343, 1206 => 342, 1196 => 341, 1182 => 336, 1178 => 334, 1175 => 333, 1173 => 332, 1171 => 331, 1168 => 330, 1164 => 328, 1161 => 327, 1159 => 326, 1153 => 323, 1149 => 321, 1147 => 320, 1144 => 319, 1141 => 318, 1138 => 317, 1136 => 316, 1133 => 315, 1131 => 314, 1128 => 313, 1125 => 312, 1123 => 311, 1121 => 310, 1118 => 309, 1115 => 308, 1112 => 306, 1109 => 305, 1089 => 288, 1079 => 287, 1065 => 282, 1063 => 281, 1059 => 280, 1054 => 279, 1044 => 278, 1033 => 275, 1023 => 274, 1009 => 270, 1007 => 269, 997 => 268, 986 => 263, 983 => 262, 980 => 261, 977 => 260, 974 => 259, 964 => 258, 954 => 232, 944 => 231, 934 => 230, 924 => 229, 914 => 227, 911 => 226, 901 => 225, 891 => 193, 888 => 192, 878 => 191, 867 => 233, 864 => 231, 862 => 229, 859 => 228, 857 => 225, 854 => 224, 849 => 221, 841 => 217, 838 => 216, 828 => 208, 818 => 200, 815 => 199, 813 => 198, 809 => 196, 806 => 195, 803 => 194, 801 => 191, 797 => 190, 793 => 189, 789 => 188, 784 => 187, 781 => 186, 778 => 185, 768 => 184, 756 => 181, 753 => 180, 743 => 179, 725 => 176, 713 => 172, 706 => 167, 699 => 162, 697 => 161, 690 => 159, 682 => 153, 675 => 148, 668 => 143, 666 => 142, 659 => 140, 651 => 134, 644 => 129, 637 => 124, 635 => 123, 628 => 121, 620 => 115, 617 => 114, 607 => 113, 597 => 97, 594 => 96, 584 => 95, 570 => 90, 566 => 89, 556 => 82, 552 => 81, 548 => 80, 544 => 79, 540 => 78, 536 => 77, 532 => 76, 528 => 75, 524 => 74, 520 => 73, 516 => 72, 512 => 71, 508 => 70, 504 => 68, 494 => 67, 484 => 64, 474 => 63, 461 => 60, 451 => 59, 433 => 57, 415 => 52, 396 => 30, 384 => 396, 382 => 393, 379 => 392, 377 => 390, 374 => 389, 372 => 358, 369 => 357, 367 => 352, 364 => 351, 362 => 341, 359 => 340, 357 => 287, 353 => 285, 351 => 278, 348 => 277, 346 => 274, 343 => 273, 341 => 268, 336 => 265, 334 => 258, 331 => 257, 321 => 250, 316 => 247, 314 => 246, 311 => 245, 304 => 241, 298 => 238, 294 => 236, 292 => 235, 290 => 184, 287 => 183, 285 => 179, 282 => 178, 280 => 176, 277 => 175, 275 => 113, 272 => 112, 266 => 109, 261 => 107, 256 => 105, 252 => 104, 248 => 102, 246 => 101, 238 => 100, 234 => 98, 232 => 95, 229 => 94, 226 => 67, 224 => 66, 221 => 65, 219 => 63, 216 => 62, 214 => 59, 211 => 58, 209 => 57, 205 => 56, 201 => 55, 197 => 54, 192 => 53, 190 => 52, 187 => 51, 183 => 50, 176 => 46, 169 => 41, 163 => 39, 154 => 37, 145 => 35, 141 => 34, 138 => 33, 136 => 32, 131 => 30, 126 => 28, 123 => 27, 121 => 26, 119 => 25, 117 => 24, 115 => 23, 113 => 22, 111 => 21, 109 => 20, 107 => 19, 105 => 18, 103 => 17, 101 => 16, 99 => 15, 97 => 14, 95 => 13, 93 => 12, 91 => 11, 84 => 9, 80 => 7, 78 => 6, 76 => 5, 74 => 4, 72 => 3, 70 => 2, 68 => 1,);
}
public function getSourceContext()
{
return new Source("{% set FLUID_CONTAINER = false %}
{% set isEgyptSite = get_setting('general', 'country') == 'EG' %}
{% set isKSASite = get_setting('general', 'country') == 'SA' %}
{% set isEnabledKSAnewHome = isKSASite and isEnabledFeature('web.ksa.newhome') %}
{% set isProduction = app.environment == 'prod' %}
{% set isGoogleTagManagerDisabledTest = isEnabledFeature('web.disable.tagmanager') %}
<!DOCTYPE html>
<html lang=\"{{ app.request.locale }}\" dir=\"{{ 'layout.direction_code'|trans }}\" ng-app=\"moonshot\">
{% set isSearchResultsPage = app.request.attributes.get('_route') in ['search', 'property_type_search'] %}
{% set isComoundResultsPage = app.request.attributes.get('_route') in ['compound_search', 'compound_adviser_search_results'] %}
{% set isListingDetailsPage = app.request.attributes.get('_route') in ['listing_slug'] %}
{% import '@AqarmapListing/Default/macros/seoVersion.twig' as seoMacro %}
{% set isSeoVersion = seoMacro.seoVersion(app.request.requesturi) and isSearchResultsPage and not app.user %}
{% set isLongTailPage = app.request.get('lt') %}
{% set isUXVersion = not isSeoVersion %}
{% set allowTagManagerDelay = isSeoVersion or isComoundResultsPage or isListingDetailsPage %}
{% set hiddenParametersLanguageRoutes = ['search', 'property_type_search', 'listing_slug'] %}
{% set removeParametersLanguageSwitcher = app.request.attributes.get('_route') in hiddenParametersLanguageRoutes and not isLongTailPage %}
{% set adminBodyClass = is_granted(\"ROLE_ADMIN\") ? 'is-admin' : '' %}
{% set searchResultsBodyClass = isSearchResultsPage ? 'initial-font' : '' %}
{% set aqarmap_exhibits_guide_url = aqarmap_advice_url ~ '/' ~ app.request.locale ~ '/events' %}
{% set isUserHasActiveSubscription = app.user and app.user.getAbsoluteSubscriptionExpiryDays > 0 %}
{% set appLocale = app.request.locale %}
{% set isLocalArabic = appLocale == 'ar' %}
<head>
<meta charset=\"{{ _charset }}\" />
<title>{% block title %}{{ 'layout.brand_suffix'|trans }}{% endblock %}</title>
{% set hiddenMetaDescriptionRoutes = ['compound_search'] %}
{% if app.request.attributes.get('_route') not in hiddenMetaDescriptionRoutes or (app.request.attributes.get('_route') == 'listing_slug' and listing.section.searchable) %}
<meta name=\"description\" content=\"{% spaceless %}{% if block('meta_description') is defined %}
{{ block('meta_description')|default('layout.homepage_description'|trans)|striptags|truncate(250, true, null)|replace({\"\\n\": \" \", \"\\r\\n\": \" \", \"\\t\": \" \", \"\\n\\r\": \" \", \" \": \"..\"})|replace({\" \": \". \"})|trim('.') }}
{% else %}
{{ 'layout.homepage_description'|trans|striptags|truncate(250, true, null)|replace({\"\\n\": \" \", \"\\r\\n\": \" \", \"\\t\": \" \", \"\\n\\r\": \" \", \" \": \"..\"})|replace({\" \": \". \"})|trim('.') }}
{% endif %}
{% endspaceless %}\">
{% endif %}
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no\" >
<meta http-equiv=\"Accept-CH\" content=\"DPR, Width, Viewport-Width\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"theme-color\" content=\"#007dbe\">
<meta name=\"author\" content=\"{{ 'layout.app_name'|trans }}\">
<meta name=\"apple-itunes-app\" content=\"app-id=642633889\">
<meta name=\"google-play-app\" content=\"app-id=com.aqarmap.android\">
<meta name=\"robots\" content=\"noindex, follow\">
{% if app_domain != app.request.getHost() %}<meta name=\"robots\" content=\"noindex, nofollow\">{% endif %}
{% block metatags %}{% endblock %}
<link rel=\"preload\" as=\"image\" href=\"{{ asset('images/placeholder.svg') }}\">
<link rel=\"preload\" as=\"image\" href=\"{{ asset('images/logo-' ~ app.request.locale ~ '-white.svg') }}\">
<link rel=\"icon\" type=\"image/x-icon\" href=\"{{ asset('favicon.ico') }}\" />
<link rel=\"manifest\" href=\"{{ asset('manifest.json') }}\" />
{% block htmlhead %}{% endblock %}
{% block categorizedStylesheets -%}
<link rel=\"stylesheet\" href=\"{{ asset('builds/css/build'~ (app.environment == 'dev' ? '' : '.min') ~'.css') }}\" />
{% endblock %}
{% block favouriteHead %}
{% endblock %}
{% set topBar = active_announcement({topBar : true}) %}
{% block headScripts %}
<script>
var app_data = {};
app_data.locale = '{{ appLocale }}';
app_data.debug = {{ (app.debug ? true : false)|serialize }};
app_data.base_url = {{ url('homepage')|serialize|raw }};
app_data.is_authenticated = {{ is_granted(\"IS_AUTHENTICATED_REMEMBERED\")|serialize|raw }};
app_data.messaging_api_key = \"{{ firebase_api_key }}\";
app_data.messaging_sender_id = \"{{ firebase_sender_id }}\";
app_data.country = \"{{ get_setting('general', 'country') | lower }}\";
app_data.topBar = \"{{ topBar is not null ? true : false }}\";
app_data.topBarStarts = \"{{ topBar is not null ? topBar.startAt : false }}\";
app_data.topBarCounter = \"{{ topBar is not null ? topBar.counter : false }}\";
app_data.environment = \"{{ app.environment }}\"
app_data.currency = \"{{ get_setting('general', 'currency')|trans }}\"
app_data.searchSvcUrl=\"{{search_service_public_endpoint}}\"
</script>
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"Organization\",
\"logo\" : \"{{ app.request.locale == 'ar' ? absolute_url(asset('images/logo-ar.svg')) : absolute_url(asset('images/EnglishLogo.png')) }}\",
\"url\": \"{{ app.request.getSchemeAndHttpHost() }}\"
}
</script>
{% endblock %}
{% block env %}
{% include \"env.html.twig\" %}
{% endblock %}
</head>
<body class=\"{{ 'layout.direction_code'|trans }} {{ adminBodyClass }} {{ searchResultsBodyClass }}\">
{% if isProduction and not isGoogleTagManagerDisabledTest %}
<!-- Google Tag Manager -->
<script>
var tagManagerSettings = '{{ get_setting('general', 'tag_manager') }}';
var allowTagManagerDelay = '{{allowTagManagerDelay}}'
</script>
<noscript><iframe src=\"//www.googletagmanager.com/ns.html?id={{ get_setting('general', 'tag_manager') }}\"
height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\" loading=\"lazy\"></iframe></noscript>
<script type=\"application/javascript\" src=\"{{ asset('builds/js/buildTagManager'~ (app.environment == 'dev' ? '' : '.min') ~'.js') }}\"></script>
<!-- End Google Tag Manager -->
{% endif %}
{% block googleDoubleclick %}
{% if isProduction and isUXVersion %}
<script src=\"https://securepubads.g.doubleclick.net/tag/js/gpt.js\"></script>
<script>
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {
googletag.pubads().enableSingleRequest();
googletag.pubads().collapseEmptyDivs();
googletag.pubads().setTargeting('lang', \"{{ app.request.locale }}\").setTargeting('url', \"{{ app.request.pathInfo }}\");
});
{% if get_setting('general', 'country') == 'SA' %}
googletag.cmd.push(function() {
googletag.defineSlot('/34628225/Frontpage-KSA', [[1140, 225], [728, 144]], 'div-gpt-ad-1611048992201-0').addService(googletag.pubads());
googletag.enableServices();
});
{% else %}
googletag.cmd.push(function() {
googletag.defineSlot('/34628225/half-page', [1140, 225], 'div-gpt-ad-1588539416603-0').addService(googletag.pubads());
googletag.enableServices();
});
{% endif %}
</script>
<script>
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {
googletag.pubads().enableSingleRequest();
googletag.pubads().collapseEmptyDivs();
googletag.pubads().setTargeting('lang', \"{{ app.request.locale }}\").setTargeting('url', \"{{ app.request.pathInfo }}\");
});
{% if get_setting('general', 'country') == 'SA' %}
googletag.cmd.push(function() {
googletag.defineSlot('/34628225/sideadksalong', [300, 600], 'div-gpt-ad-1638434718795-0').addService(googletag.pubads());
googletag.enableServices();
});
{% else %}
googletag.cmd.push(function() {
googletag.defineSlot('/34628225/sideadlong', [300, 600], 'div-gpt-ad-1638434601381-0').addService(googletag.pubads());
googletag.enableServices();
});
{% endif %}
</script>
<script>
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {
googletag.pubads().enableSingleRequest();
googletag.pubads().collapseEmptyDivs();
googletag.pubads().setTargeting('lang', \"{{ app.request.locale }}\").setTargeting('url', \"{{ app.request.pathInfo }}\");
});
{% if get_setting('general', 'country') == 'SA' %}
googletag.cmd.push(function() {
googletag.defineSlot('/34628225/feedadksa', [320, 320], 'div-gpt-ad-1611049193067-0').addService(googletag.pubads());
googletag.enableServices();
});
{% else %}
googletag.cmd.push(function() {
googletag.defineSlot('/34628225/feedad', [320, 320], 'div-gpt-ad-1588541966744-0').addService(googletag.pubads());
googletag.enableServices();
});
{% endif %}
</script>
{% endif %}
{% endblock %}
{% block searchFilters %}
{% endblock %}
{% block firebase %}
<div id=\"overlay-back\"></div>
<div id=\"overlay\"><div class=\"overlay-text\">{{ 'notification_modal.info_message'|trans }} </div></div>
{% endblock %}
{% block vueBody %}
{% include \"flashes.html.twig\" %}
{% set vueAppName = isListingDetailsPage ? \"activitiesApp\" : \"vueApp\" %}
<div id=\"{{vueAppName}}\"
data-feature-toggle=\"{{ featureToggle is defined ? featureToggle|json_encode : null }}\"
data-user=\"{{ app.user ? app.user.id : null }}\"
data-user-email=\"{{ app.user ? app.user.email : null }}\">
{% block navigation %}
{% include \"header.html.twig\" %}
{% endblock %}
{% if app.request.attributes.get('_route') == 'homepage' %}
{% include \"hero-searchbar.html.twig\" %}
<section class=\"container-fluid\">
<div class=\"row justify-content-center\">
{% if isProduction %}
{% if get_setting('general', 'country') == 'SA' %}
<div id='div-gpt-ad-1611048992201-0' style='width: 1140px; height: 225px;'>
<script type=\"application/javascript\" v-pre defer>
if (typeof googletag !== 'undefined') {
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1611048992201-0'); });
}
</script>
</div>
{% else %}
<div id='div-gpt-ad-1588539416603-0' style='width: 1140px; height: 225px;'>
<script type=\"application/javascript\" v-pre defer>
if (typeof googletag !== 'undefined') {
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1588539416603-0'); });
}
</script>
</div>
{% endif %}
{% else %}
<div class=\"takeover-ad\" style=\"text-align: center; background-color: {{ get_setting('features', 'takeover_ad_color') }};\">
<img src=\"https://placehold.it/1140x225/DFDFDF/B6B6B6&text=AD%20BANNER%20(1140%20X%20225)\" width=\"100%\" alt=\"\" />
</div>
{% endif %}
</div>
</section>
{% endif %}
{% block headerTop %}
{% include \"adsHeader.html.twig\" %}
{% endblock %}
{% block body %}
{% endblock %}
{% block modals %}
{% endblock %}
</div>
{% endblock %}
{% if app.request.attributes.get('_route') not in ['compound_adviser_search_results', 'compound_adviser', 'search', 'property_type_search', 'compound_search'] %}
<section class=\"problem\">
<a class=\"gtm-btn-report problemButton hidden-xs\"
href=\"{{ path('aqarmap_feedback_get') }}\"
target=\"_blank\" rel=\"nofollow\">
<span class=\"fa fa-smile\"></span>
{{ 'problem.problem_help_btn'|trans }}
</a>
</section><!-- problem Section -->
{% endif %}
{% if app.request.attributes.get('_route') not in ['listing_slug', 'compound_adviser_search_results', 'compound_adviser', 'search', 'property_type_search', 'compound_search'] %}
<div class=\"position-fixed mobile-problem-wrapper visible-xs\">
<section class=\"problem mobile-problem-section\">
<a class=\"gtm-btn-report mobile-problem-button position-relative\"
href=\"{{ path('aqarmap_feedback_get') }}\"
target=\"_blank\" rel=\"nofollow\">
<span class=\"icon fa fa-question\"></span>
</a>
</section><!-- problem Section Mobile-->
</div>
{% endif %}
{% block footer %}
{% set hiddenFooterRoutes = ['listing_initialize', 'listing_edit', 'listing_upload', 'listing_confirm_publish_credit'] %}
{% if app.request.attributes.get('_route') not in hiddenFooterRoutes %}
{% include \"footer.v2.html.twig\" %}
{% endif %}
{% endblock %}
{% block stylesheets -%}
{% if ('layout.direction_code'|trans) == 'rtl' -%}
<link href=\"{{ asset('builds/css/bootstrap-rtl.min.css') }}\" rel=\"stylesheet\" media=\"print\" onload=\"this.media='all';this.onload=null;\" />
{% endif -%}
{% endblock %}
{% block getTranslations %}
{% include \"get-translations.html.twig\" %}
{% endblock %}
<!-- Javascript categorized files -->
{% block categorizedJavascripts %}
<script src=\"{{ asset('builds/js/build'~ (app.environment == 'dev' ? '' : '.min') ~'.js') }}\"></script>
<script defer type=\"application/javascript\" src=\"{{ asset('builds/js/buildTopSellers'~ (app.environment == 'dev' ? '' : '.min') ~'.js') }}\"></script>
{% if topBar is not null %}
{{ encore_entry_script_tags('countdown') }}
{% endif %}
{% endblock %}
<!-- Javascript files -->
{% block javascripts %}
<script src=\"{{ asset('js/translations/jstranslation/'~ app.request.locale ~'.js') }}\" defer></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>
<script src=\"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js\"></script>
<![endif]-->
<script type=\"application/javascript\">
// Google Tag Manager Data Layer initialization
window.dataLayer = window.dataLayer || [];
// Translator initialization
window.Translator = window.Translator || [];
</script>
{# Criteo Custom DataLayer #}
{% set criteo_custom_datalayer = {'PageType': 'TransactionPage', 'email': ' '} %}
{# Criteo DataLayer #}
{% set criteo_datalayer = {'PageType': app.request.attributes.get('_route')} %}
{% if app.request.attributes.get('_route') == 'search' or app.request.attributes.get('_route') == 'property_type_search' -%}
{% set criteo_datalayer = {'PageType': 'search'} %}
{% endif %}
{% set criteo_datalayer = criteo_datalayer|merge({'email': ' '}) %}
{% if app.request.attributes.get('_route') == 'listing_slug' %}
{% set criteo_datalayer = {'PageType': 'ListingPage', 'email': ' '} %}
{% set criteo_custom_datalayer = criteo_custom_datalayer|merge({'ProductTransactionProducts': [{ 'id': listing.id , 'price': '0.01' , 'quantity': '1' }]}) %}
{% set criteo_datalayer = criteo_datalayer|merge({'ListingID': listing.id}) %}
<script>
\$(document).ready(function () {
dataLayer.push({{ criteo_custom_datalayer|json_encode|raw }});
});
</script>
{% if listing.liveChildren is not empty %}
{% set criteo_datalayer = criteo_datalayer|merge({'unitsIDs': listing.liveChildrenIDs}) %}
{% endif -%}
{% endif %}
{% if app.request.attributes.get('_route') == 'search' or app.request.attributes.get('_route') == 'property_type_search' -%}
{% set criteo_datalayer = criteo_datalayer|merge({'ListingIDList': resultsIDs|slice(1, 3)}) %}
{% endif %}
<script>
\$(document).ready(function () {
dataLayer.push({{ criteo_datalayer|json_encode|raw }});
});
</script>
{% endblock %}
{% block fos %}
{% if app.debug %}
<script src=\"{{ path('fos_js_routing_js', {\"callback\": \"fos.Router.setData\"}) }}\"></script>
{% else %}
<script src=\"{{ asset('js/fos_js_routes.js') }}\"></script>
<script>
Routing.setPrefix(\"{{ app.request.locale }}__RG__\");
</script>
{% endif %}
{% endblock %}
{% block extraScripts %}
{% if app.request.attributes.get('_route') == 'homepage' %}
<script type=\"application/javascript\" src=\"{{ asset('js/priceFilters.js') }}\"></script>
{% endif %}
{% endblock extraScripts %}
{% block wootricScript %}
{% if isUXVersion %}
<!-- begin Wootric code -->
<script>
window.wootric = function(){};
</script>
<script type=\"text/javascript\" src=\"https://cdn.wootric.com/wootric-sdk.js\"></script>
{% if app.user %}
<script id=\"wootricScript\" type=\"application/javascript\" src=\"{{ asset('builds/js/buildWootric'~ (app.environment == 'dev' ? '' : '.min') ~'.js') }}\"></script>
{% else %}
<script type=\"text/javascript\">
//window.wootric_survey_immediately = true; // Shows survey immediately for testing purposes. TODO: Comment out for production.
window.wootricSettings = {
account_token: 'NPS-8fa9e73b'
};
window.wootric(\"run\");
</script>
{% endif %}
{% else %}
<script>
\$(document).ready(function () {
{% if app.user %}
dataLayer.push({
'userEmail': '{{ app.user.email }}',
'userCreatedAt': '{{ app.user.createdAt|date('U') }}',
});
{% endif %}
});
</script>
{% endif %}
{% endblock %}
{% block facebookLogin %}
{% endblock %}
{% block googleLogin %}
{% include \"googleLogin.html.twig\" %}
{% endblock googleLogin %}
</body>
</html>
", "base.html.twig", "/srv/moonshot/templates/base.html.twig");
}
}