<?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;
/* @AqarmapListing/CompoundSearch/compoundSearchResult.html.twig */
class __TwigTemplate_9753090f4b426b04c3a1172e0165c8bbb820af935f086e89f8fabd2a3bfef294 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'metatags' => [$this, 'block_metatags'],
'meta_description' => [$this, 'block_meta_description'],
'categorizedStylesheets' => [$this, 'block_categorizedStylesheets'],
'headerTop' => [$this, 'block_headerTop'],
'body' => [$this, 'block_body'],
'stylesheets' => [$this, 'block_stylesheets'],
'getTranslations' => [$this, 'block_getTranslations'],
'categorizedJavascripts' => [$this, 'block_categorizedJavascripts'],
'javascripts' => [$this, 'block_javascripts'],
'htmlhead' => [$this, 'block_htmlhead'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig"));
// line 2
$context["SHARING_IMAGE"] = twig_constant("Aqarmap\\Bundle\\ListingBundle\\Constant\\SharingConstant::PROJECTS_IMAGE");
// line 3
$context["isCtaButtonsEnabled"] = $this->extensions['Aqarmap\Bundle\MainBundle\Twig\FeatureToggleExtension']->isEnabled("web.compound.card.cta");
// line 4
$context["totalListingsCount"] = twig_get_attribute($this->env, $this->source, (isset($context["listings"]) || array_key_exists("listings", $context) ? $context["listings"] : (function () { throw new RuntimeError('Variable "listings" does not exist.', 4, $this->source); })()), "getTotalItemCount", [], "method", false, false, false, 4);
// line 5
$context["SHOW_PHONE_CONSTANT"] = twig_constant("Aqarmap\\Bundle\\ListingBundle\\Constant\\LeadTypes::SHOW_PHONE");
// line 6
$context["isKSASite"] = ($this->extensions['Aqarmap\Bundle\MainBundle\Twig\SettingExtension']->getSetting("general", "country") == "SA");
// line 7
if ((twig_get_attribute($this->env, $this->source, ($context["location"] ?? null), "parent", [], "any", true, true, false, 7) && twig_get_attribute($this->env, $this->source, (isset($context["location"]) || array_key_exists("location", $context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.', 7, $this->source); })()), "parent", [], "any", false, false, false, 7))) {
// line 8
$context["resortsCustomTitleWithLocation"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.resorts_custom_title_with_location_with_parent", ["%location%" => // line 9
(isset($context["locationTitle"]) || array_key_exists("locationTitle", $context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.', 9, $this->source); })()), "%parentLocation%" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 10
(isset($context["location"]) || array_key_exists("location", $context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.', 10, $this->source); })()), "parent", [], "any", false, false, false, 10), "title", [], "any", false, false, false, 10), "%projects%" => // line 11
(isset($context["totalListingsCount"]) || array_key_exists("totalListingsCount", $context) ? $context["totalListingsCount"] : (function () { throw new RuntimeError('Variable "totalListingsCount" does not exist.', 11, $this->source); })())]);
// line 13
if ((isset($context["isKSASite"]) || array_key_exists("isKSASite", $context) ? $context["isKSASite"] : (function () { throw new RuntimeError('Variable "isKSASite" does not exist.', 13, $this->source); })())) {
// line 14
$context["projectsCustomTitleWithLocation"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.projects_ksa_custom_title_with_location_with_parent", ["%location%" => // line 15
(isset($context["locationTitle"]) || array_key_exists("locationTitle", $context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.', 15, $this->source); })()), "%parentLocation%" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 16
(isset($context["location"]) || array_key_exists("location", $context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.', 16, $this->source); })()), "parent", [], "any", false, false, false, 16), "title", [], "any", false, false, false, 16), "%projects%" => // line 17
(isset($context["totalListingsCount"]) || array_key_exists("totalListingsCount", $context) ? $context["totalListingsCount"] : (function () { throw new RuntimeError('Variable "totalListingsCount" does not exist.', 17, $this->source); })())]);
} else {
// line 20
$context["projectsCustomTitleWithLocation"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.projects_custom_title_with_location_with_parent", ["%location%" => // line 21
(isset($context["locationTitle"]) || array_key_exists("locationTitle", $context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.', 21, $this->source); })()), "%parentLocation%" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 22
(isset($context["location"]) || array_key_exists("location", $context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.', 22, $this->source); })()), "parent", [], "any", false, false, false, 22), "title", [], "any", false, false, false, 22), "%projects%" => // line 23
(isset($context["totalListingsCount"]) || array_key_exists("totalListingsCount", $context) ? $context["totalListingsCount"] : (function () { throw new RuntimeError('Variable "totalListingsCount" does not exist.', 23, $this->source); })())]);
}
} else {
// line 27
$context["resortsCustomTitleWithLocation"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.resorts_custom_title_with_location", ["%location%" => // line 28
(isset($context["locationTitle"]) || array_key_exists("locationTitle", $context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.', 28, $this->source); })()), "%projects%" => // line 29
(isset($context["totalListingsCount"]) || array_key_exists("totalListingsCount", $context) ? $context["totalListingsCount"] : (function () { throw new RuntimeError('Variable "totalListingsCount" does not exist.', 29, $this->source); })())]);
// line 31
if ((isset($context["isKSASite"]) || array_key_exists("isKSASite", $context) ? $context["isKSASite"] : (function () { throw new RuntimeError('Variable "isKSASite" does not exist.', 31, $this->source); })())) {
// line 32
$context["projectsCustomTitleWithLocation"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.projects_ksa_custom_title_with_location", ["%location%" => // line 33
(isset($context["locationTitle"]) || array_key_exists("locationTitle", $context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.', 33, $this->source); })()), "%projects%" => // line 34
(isset($context["totalListingsCount"]) || array_key_exists("totalListingsCount", $context) ? $context["totalListingsCount"] : (function () { throw new RuntimeError('Variable "totalListingsCount" does not exist.', 34, $this->source); })())]);
} else {
// line 37
$context["projectsCustomTitleWithLocation"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.projects_custom_title_with_location", ["%location%" => // line 38
(isset($context["locationTitle"]) || array_key_exists("locationTitle", $context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.', 38, $this->source); })()), "%projects%" => // line 39
(isset($context["totalListingsCount"]) || array_key_exists("totalListingsCount", $context) ? $context["totalListingsCount"] : (function () { throw new RuntimeError('Variable "totalListingsCount" does not exist.', 39, $this->source); })())]);
}
}
// line 43
$context["projectsCustomDescriptionWithLocation"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.projects_custom_description_with_location", ["%location%" => // line 44
(isset($context["locationTitle"]) || array_key_exists("locationTitle", $context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.', 44, $this->source); })()), "%projects%" => // line 45
(isset($context["totalListingsCount"]) || array_key_exists("totalListingsCount", $context) ? $context["totalListingsCount"] : (function () { throw new RuntimeError('Variable "totalListingsCount" does not exist.', 45, $this->source); })())]);
// line 47
$context["ogDescription"] = (((isset($context["locationTitle"]) || array_key_exists("locationTitle", $context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.', 47, $this->source); })())) ? ((isset($context["projectsCustomDescriptionWithLocation"]) || array_key_exists("projectsCustomDescriptionWithLocation", $context) ? $context["projectsCustomDescriptionWithLocation"] : (function () { throw new RuntimeError('Variable "projectsCustomDescriptionWithLocation" does not exist.', 47, $this->source); })())) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("listing.compound_guide.sharing.description")));
// line 48
$context["projectsTitleWithoutLocation"] = (((isset($context["isKSASite"]) || array_key_exists("isKSASite", $context) ? $context["isKSASite"] : (function () { throw new RuntimeError('Variable "isKSASite" does not exist.', 48, $this->source); })())) ? ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.ksa_compounds_title")) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.compounds_title_without_location", ["%projects%" => (isset($context["totalListingsCount"]) || array_key_exists("totalListingsCount", $context) ? $context["totalListingsCount"] : (function () { throw new RuntimeError('Variable "totalListingsCount" does not exist.', 48, $this->source); })())])));
// line 1
$this->parent = $this->loadTemplate("base.html.twig", "@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 50
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"));
// line 51
echo " ";
if ((isset($context["locationTitle"]) || array_key_exists("locationTitle", $context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.', 51, $this->source); })())) {
// line 52
echo " ";
if (((isset($context["locationType"]) || array_key_exists("locationType", $context) ? $context["locationType"] : (function () { throw new RuntimeError('Variable "locationType" does not exist.', 52, $this->source); })()) == twig_constant("Aqarmap\\Bundle\\ListingBundle\\Constant\\CompoundType::RESORT"))) {
// line 53
echo " ";
echo twig_escape_filter($this->env, (isset($context["resortsCustomTitleWithLocation"]) || array_key_exists("resortsCustomTitleWithLocation", $context) ? $context["resortsCustomTitleWithLocation"] : (function () { throw new RuntimeError('Variable "resortsCustomTitleWithLocation" does not exist.', 53, $this->source); })()), "html", null, true);
echo "
";
} else {
// line 55
echo " ";
echo twig_escape_filter($this->env, (isset($context["projectsCustomTitleWithLocation"]) || array_key_exists("projectsCustomTitleWithLocation", $context) ? $context["projectsCustomTitleWithLocation"] : (function () { throw new RuntimeError('Variable "projectsCustomTitleWithLocation" does not exist.', 55, $this->source); })()), "html", null, true);
echo "
";
}
// line 57
echo " ";
} else {
// line 58
echo " ";
echo twig_escape_filter($this->env, (isset($context["projectsTitleWithoutLocation"]) || array_key_exists("projectsTitleWithoutLocation", $context) ? $context["projectsTitleWithoutLocation"] : (function () { throw new RuntimeError('Variable "projectsTitleWithoutLocation" does not exist.', 58, $this->source); })()), "html", null, true);
echo "
";
}
// line 60
echo " ";
$this->displayParentBlock("title", $context, $blocks);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 62
public function block_metatags($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatags"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatags"));
// line 63
echo " ";
if (((isset($context["isNoIndexMetaTag"]) || array_key_exists("isNoIndexMetaTag", $context) ? $context["isNoIndexMetaTag"] : (function () { throw new RuntimeError('Variable "isNoIndexMetaTag" does not exist.', 63, $this->source); })()) || !(isset($context["listingsCount"]) || array_key_exists("listingsCount", $context) ? $context["listingsCount"] : (function () { throw new RuntimeError('Variable "listingsCount" does not exist.', 63, $this->source); })()))) {
// line 64
echo " <meta name=\"robots\" content=\"noindex\">
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 67
public function block_meta_description($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", "meta_description"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_description"));
// line 68
echo " ";
if ((isset($context["locationTitle"]) || array_key_exists("locationTitle", $context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.', 68, $this->source); })())) {
// line 69
echo " ";
echo twig_escape_filter($this->env, (isset($context["projectsCustomDescriptionWithLocation"]) || array_key_exists("projectsCustomDescriptionWithLocation", $context) ? $context["projectsCustomDescriptionWithLocation"] : (function () { throw new RuntimeError('Variable "projectsCustomDescriptionWithLocation" does not exist.', 69, $this->source); })()), "html", null, true);
echo "
";
} elseif ( // line 70
(isset($context["customParagraph"]) || array_key_exists("customParagraph", $context) ? $context["customParagraph"] : (function () { throw new RuntimeError('Variable "customParagraph" does not exist.', 70, $this->source); })())) {
// line 71
echo " ";
echo twig_escape_filter($this->env, twig_truncate_filter($this->env, twig_striptags(twig_get_attribute($this->env, $this->source, (isset($context["customParagraph"]) || array_key_exists("customParagraph", $context) ? $context["customParagraph"] : (function () { throw new RuntimeError('Variable "customParagraph" does not exist.', 71, $this->source); })()), "paragraph", [], "any", false, false, false, 71)), 160), "html", null, true);
echo "
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 74
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 75
echo " ";
if ((isset($context["isMobile"]) || array_key_exists("isMobile", $context) ? $context["isMobile"] : (function () { throw new RuntimeError('Variable "isMobile" does not exist.', 75, $this->source); })())) {
// line 76
echo " <style type=\"text/css\">
";
// line 77
echo twig_source($this->env, "@AqarmapListing/style/compoundSearchCritical.css", true);
echo "
</style>
";
} else {
// line 80
echo " <link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/css/compoundsBuild" . (((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) == "dev")) ? ("") : (".min"))) . ".css")), "html", null, true);
echo "\" />
";
}
// line 82
echo "
<meta name=\"twitter:card\" content=\"summary_large_image\" />
<meta name=\"twitter:site\" content=\"";
// line 84
echo twig_escape_filter($this->env, twig_sprintf("%s%s", "@", $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name")), "html", null, true);
echo "\" />
<meta name=\"twitter:creator\" content=\"";
// line 85
echo twig_escape_filter($this->env, twig_sprintf("%s%s", "@", $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name")), "html", null, true);
echo "\" />
";
// line 87
if ((isset($context["locationTitle"]) || array_key_exists("locationTitle", $context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.', 87, $this->source); })())) {
// line 88
echo " ";
if (((isset($context["locationType"]) || array_key_exists("locationType", $context) ? $context["locationType"] : (function () { throw new RuntimeError('Variable "locationType" does not exist.', 88, $this->source); })()) == twig_constant("Aqarmap\\Bundle\\ListingBundle\\Constant\\CompoundType::RESORT"))) {
// line 89
echo " <meta property=\"og:title\" content=\"";
echo twig_escape_filter($this->env, (isset($context["resortsCustomTitleWithLocation"]) || array_key_exists("resortsCustomTitleWithLocation", $context) ? $context["resortsCustomTitleWithLocation"] : (function () { throw new RuntimeError('Variable "resortsCustomTitleWithLocation" does not exist.', 89, $this->source); })()), "html", null, true);
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.brand_suffix"), "html", null, true);
echo "\"/>
";
} else {
// line 91
echo " <meta property=\"og:title\" content=\"";
echo twig_escape_filter($this->env, (isset($context["projectsCustomTitleWithLocation"]) || array_key_exists("projectsCustomTitleWithLocation", $context) ? $context["projectsCustomTitleWithLocation"] : (function () { throw new RuntimeError('Variable "projectsCustomTitleWithLocation" does not exist.', 91, $this->source); })()), "html", null, true);
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.brand_suffix"), "html", null, true);
echo "\"/>
";
}
// line 93
echo " ";
} else {
// line 94
echo " <meta property=\"og:title\" content=\"";
echo twig_escape_filter($this->env, (isset($context["projectsTitleWithoutLocation"]) || array_key_exists("projectsTitleWithoutLocation", $context) ? $context["projectsTitleWithoutLocation"] : (function () { throw new RuntimeError('Variable "projectsTitleWithoutLocation" does not exist.', 94, $this->source); })()), "html", null, true);
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.brand_suffix"), "html", null, true);
echo "\"/>
";
}
// line 96
echo " <meta property=\"og:description\" content=\"";
echo twig_escape_filter($this->env, (isset($context["ogDescription"]) || array_key_exists("ogDescription", $context) ? $context["ogDescription"] : (function () { throw new RuntimeError('Variable "ogDescription" does not exist.', 96, $this->source); })()), "html", null, true);
echo "\" />
<meta property=\"og:image\" content=\"";
// line 97
echo twig_escape_filter($this->env, (isset($context["SHARING_IMAGE"]) || array_key_exists("SHARING_IMAGE", $context) ? $context["SHARING_IMAGE"] : (function () { throw new RuntimeError('Variable "SHARING_IMAGE" does not exist.', 97, $this->source); })()), "html", null, true);
echo "\" />
<meta property=\"og:site_name\" content=\"";
// line 98
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.app_name"), "html", null, true);
echo "\" />
<meta property=\"fb:app_id\" content=\"";
// line 99
echo twig_escape_filter($this->env, (isset($context["facebook_app_id"]) || array_key_exists("facebook_app_id", $context) ? $context["facebook_app_id"] : (function () { throw new RuntimeError('Variable "facebook_app_id" does not exist.', 99, $this->source); })()), "html", null, true);
echo "\"/>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 102
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"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 105
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 106
echo " ";
$context["sharingEvent"] = "compounds-guide";
// line 107
echo " <div class=\"filter-fixed-height\">
<div class=\"stick-filter-box\">
<div class=\"compoundSearchContainer filterSearchContainer visible-sm visible-xs\">
<div class=\"sectionContainer\">
<button class=\"btnTop\" onclick=\"openCompoundsFilter('searchFormContainer')\" alt=\"searchFilters\">
<div class=\"bs-custom-caret\">
<span class=\"caret\"></span>
</div>
";
// line 115
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.more_filter"), "html", null, true);
echo "
</button>
<div class=\"btnTop sortContainer\">
<div class=\"bs-custom-caret\">
<span class=\"caret\"></span>
</div>
<div class=\"d-flex justify-content-center w-100\">
<div class=\"sortSelect\">
";
// line 123
$this->loadTemplate("@AqarmapListing/CompoundSearch/sortSelect.html.twig", "@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig", 123)->display(twig_array_merge($context, ["location" => (isset($context["location"]) || array_key_exists("location", $context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.', 123, $this->source); })())]));
// line 124
echo " </div>
</div>
</div>
</div>
</div>
</div>
</div>
";
// line 131
$this->loadTemplate("adsHeader.html.twig", "@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig", 131)->display($context);
// line 132
echo " <section class=\"container sectionsContainer compoundPlannerContainer\">
<div class=\"row\">
<div class=\"col-lg-10 col-md-10 col-sm-10 col-xs-12 hidden-xs\">
";
// line 135
$context["compound_search_breadcrumb"] = $this->extensions['Knp\Menu\Twig\MenuExtension']->get("compound_search.breadcrumb", [], []);
// line 136
echo " ";
echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render((isset($context["compound_search_breadcrumb"]) || array_key_exists("compound_search_breadcrumb", $context) ? $context["compound_search_breadcrumb"] : (function () { throw new RuntimeError('Variable "compound_search_breadcrumb" does not exist.', 136, $this->source); })()), ["allow_safe_labels" => true, "template" => "knp_breadcrumbs.html.twig", "currentAsLink" => true, "currentClass" => "active"]);
// line 141
echo "
</div>
<div class=\"sortBy col-lg-2 col-md-2 col-sm-2 col-xs-12 hidden-sm hidden-xs\">
<div class=\"sortContainer\">
<div class=\"sortSelect\">
";
// line 146
$this->loadTemplate("@AqarmapListing/CompoundSearch/sortSelect.html.twig", "@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig", 146)->display(twig_array_merge($context, ["location" => (isset($context["location"]) || array_key_exists("location", $context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.', 146, $this->source); })())]));
// line 147
echo " </div>
</div>
</div>
<div class=\"page-header d-flex justify-content-between align-items-md-center flex-md-row flex-column col-12\">
<h1>
";
// line 152
if ((isset($context["locationTitle"]) || array_key_exists("locationTitle", $context) ? $context["locationTitle"] : (function () { throw new RuntimeError('Variable "locationTitle" does not exist.', 152, $this->source); })())) {
// line 153
echo " ";
if (((isset($context["locationType"]) || array_key_exists("locationType", $context) ? $context["locationType"] : (function () { throw new RuntimeError('Variable "locationType" does not exist.', 153, $this->source); })()) == twig_constant("Aqarmap\\Bundle\\ListingBundle\\Constant\\CompoundType::RESORT"))) {
// line 154
echo " ";
echo twig_escape_filter($this->env, (isset($context["resortsCustomTitleWithLocation"]) || array_key_exists("resortsCustomTitleWithLocation", $context) ? $context["resortsCustomTitleWithLocation"] : (function () { throw new RuntimeError('Variable "resortsCustomTitleWithLocation" does not exist.', 154, $this->source); })()), "html", null, true);
echo "
";
} else {
// line 156
echo " ";
echo twig_escape_filter($this->env, (isset($context["projectsCustomTitleWithLocation"]) || array_key_exists("projectsCustomTitleWithLocation", $context) ? $context["projectsCustomTitleWithLocation"] : (function () { throw new RuntimeError('Variable "projectsCustomTitleWithLocation" does not exist.', 156, $this->source); })()), "html", null, true);
echo "
";
}
// line 158
echo " ";
} else {
// line 159
echo " ";
echo twig_escape_filter($this->env, (isset($context["projectsTitleWithoutLocation"]) || array_key_exists("projectsTitleWithoutLocation", $context) ? $context["projectsTitleWithoutLocation"] : (function () { throw new RuntimeError('Variable "projectsTitleWithoutLocation" does not exist.', 159, $this->source); })()), "html", null, true);
echo "
";
}
// line 161
echo " </h1>
";
// line 162
if ($this->extensions['Aqarmap\Bundle\MainBundle\Twig\FeatureToggleExtension']->isEnabled("web.compound.advisor")) {
// line 163
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("compound_adviser");
echo "\" class=\"compound-searching-links__btn font-weight-bold mt-md-0 mt-3\" alt=\"compounds\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("listing.compounds_adviser.sub_title"), "html", null, true);
echo "</a>
";
}
// line 165
echo " </div>
<div class=\"col-12 hidden-page-header\">
";
// line 168
$this->loadTemplate("@AqarmapListing/Section/compoundsSubLinks.html.twig", "@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig", 168)->display($context);
// line 169
echo " </div>
<div class=\"col-lg-3 col-md-3 col-sm-12 col-xs-12\">
";
// line 171
$this->loadTemplate("@AqarmapListingBundle/CompoundSearch/compoundSearchForm.html.twig", "@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig", 171)->display($context);
// line 172
echo " ";
if ($this->extensions['Aqarmap\Bundle\MainBundle\Twig\FeatureToggleExtension']->isEnabled("web.sharing.page")) {
// line 173
echo " <div class=\"side-sub-links hidden-xs hidden-sm\">
<div class=\"listing-share-box\">
<label class=\"share-header-mob\">
";
// line 176
echo twig_escape_filter($this->env, (((isset($context["isEgyptSite"]) || array_key_exists("isEgyptSite", $context) ? $context["isEgyptSite"] : (function () { throw new RuntimeError('Variable "isEgyptSite" does not exist.', 176, $this->source); })())) ? ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("labels.compound.share_title")) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("labels.compound.ksa_share_title"))), "html", null, true);
echo "
</label>
";
// line 178
$this->loadTemplate("@AqarmapListingBundle/Listing/elementShareContent.html.twig", "@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig", 178)->display(twig_array_merge($context, ["url" => 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.', 178, $this->source); })()), "request", [], "any", false, false, false, 178), "uri", [], "any", false, false, false, 178)]));
// line 179
echo " </div>
</div>
";
}
// line 182
echo " </div>
";
// line 184
echo " <div class=\"listingCardContainer p-0 col-lg-9 col-md-9 col-sm-12 col-xs-12\">
";
// line 185
$context["neighborhoodLocation"] = null;
// line 186
echo " ";
if ((isset($context["firstRootLocation"]) || array_key_exists("firstRootLocation", $context) ? $context["firstRootLocation"] : (function () { throw new RuntimeError('Variable "firstRootLocation" does not exist.', 186, $this->source); })())) {
// line 187
echo " ";
$context["neighborhoodLocation"] = (isset($context["firstRootLocation"]) || array_key_exists("firstRootLocation", $context) ? $context["firstRootLocation"] : (function () { throw new RuntimeError('Variable "firstRootLocation" does not exist.', 187, $this->source); })());
// line 188
echo " ";
} elseif (((isset($context["location"]) || array_key_exists("location", $context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.', 188, $this->source); })()) && twig_get_attribute($this->env, $this->source, (isset($context["location"]) || array_key_exists("location", $context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.', 188, $this->source); })()), "location", [], "any", false, false, false, 188))) {
// line 189
echo " ";
$context["neighborhoodLocation"] = twig_get_attribute($this->env, $this->source, (isset($context["location"]) || array_key_exists("location", $context) ? $context["location"] : (function () { throw new RuntimeError('Variable "location" does not exist.', 189, $this->source); })()), "location", [], "any", false, false, false, 189);
// line 190
echo " ";
}
// line 191
echo " ";
$this->loadTemplate("@AqarmapListingBundle/CompoundSearch/compoundResultsContainer.html.twig", "@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig", 191)->display($context);
// line 192
echo "
";
// line 193
if ((isset($context["isKSASite"]) || array_key_exists("isKSASite", $context) ? $context["isKSASite"] : (function () { throw new RuntimeError('Variable "isKSASite" does not exist.', 193, $this->source); })())) {
// line 194
echo " ";
$context["joinNowPath"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact_us_page");
// line 195
echo " ";
} else {
// line 196
echo " ";
$context["joinNowPath"] = (((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.', 196, $this->source); })()), "request", [], "any", false, false, false, 196), "locale", [], "any", false, false, false, 196) == (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 196, $this->source); })()))) ? ((isset($context["joinUsARURL"]) || array_key_exists("joinUsARURL", $context) ? $context["joinUsARURL"] : (function () { throw new RuntimeError('Variable "joinUsARURL" does not exist.', 196, $this->source); })())) : ((isset($context["joinUsENURL"]) || array_key_exists("joinUsENURL", $context) ? $context["joinUsENURL"] : (function () { throw new RuntimeError('Variable "joinUsENURL" does not exist.', 196, $this->source); })())));
// line 197
echo " ";
}
// line 198
echo " <div class=\"addCompoundContainer col-lg-12 col-md-12 col-sm-12 col-xs-12\">
<div class=\"container-fluid\">
<div class=\"row\">
<div class=\"col-xs-12\">
<div class=\"header\">
<div class=\"questionContainer\">
<h2 class=\"custom-header white\">
<a href=\"";
// line 205
echo twig_escape_filter($this->env, (isset($context["joinNowPath"]) || array_key_exists("joinNowPath", $context) ? $context["joinNowPath"] : (function () { throw new RuntimeError('Variable "joinNowPath" does not exist.', 205, $this->source); })()), "html", null, true);
echo "\" rel=\"nofollow\" alt=\"Join\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.compound_planner.compound_join"), "html", null, true);
echo "</a>
</h2>
<p class=\"responsive_style\">
";
// line 208
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.compound_planner.compound_git_more"), "html", null, true);
echo " </p>
</div>
<div class=\"ask-question-btn-container\">
<a class=\"btn btn-block btn-warning\" href=\"";
// line 212
echo twig_escape_filter($this->env, (isset($context["joinNowPath"]) || array_key_exists("joinNowPath", $context) ? $context["joinNowPath"] : (function () { throw new RuntimeError('Variable "joinNowPath" does not exist.', 212, $this->source); })()), "html", null, true);
echo "\" rel=\"nofollow\" alt=\"joinNow\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.compound_planner.join_now"), "html", null, true);
echo "</a>
</div>
</div>
</div>
</div>
</div>
</div>
";
// line 219
if ($this->extensions['Aqarmap\Bundle\MainBundle\Twig\FeatureToggleExtension']->isEnabled("web.sharing.page")) {
// line 220
echo " <a class=\"listing-share-btn-container fixedBottom borderLight\" data-toggle=\"modal\" data-target=\"#listingShareModal\">
<label>";
// line 221
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.compounds_title"), "html", null, true);
echo "</label>
<div class=\"btn btn-default btn-share\">
<i class=\"fa fa-share-alt\"></i>
<label class=\"hidden-lg hidden-xl\">";
// line 224
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.share"), "html", null, true);
echo "</label>
</div>
</a>
";
}
// line 228
echo " </div>
<!-- /Pagination -->
</div>
</section><!-- sectionsContainer -->
<div class=\"container\">
<div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 mobile-breadcrumb visible-sm visible-xs\">
";
// line 236
$context["COMPOUND_SEARCH_BREADCRUMB"] = $this->extensions['Knp\Menu\Twig\MenuExtension']->get("compound_search.breadcrumb");
// line 237
echo " ";
echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render( // line 238
(isset($context["COMPOUND_SEARCH_BREADCRUMB"]) || array_key_exists("COMPOUND_SEARCH_BREADCRUMB", $context) ? $context["COMPOUND_SEARCH_BREADCRUMB"] : (function () { throw new RuntimeError('Variable "COMPOUND_SEARCH_BREADCRUMB" does not exist.', 238, $this->source); })()), ["allow_safe_labels" => true, "template" => "knp_breadcrumbs.html.twig", "currentAsLink" => true, "currentClass" => "active"]);
// line 244
echo "
</div>
</div>
<div class=\"container\">
";
// line 249
if (($this->extensions['Aqarmap\Bundle\MainBundle\Twig\FeatureToggleExtension']->isEnabled("web.seo.compound.locations.sublinks") && (isset($context["neighborhoodLocation"]) || array_key_exists("neighborhoodLocation", $context) ? $context["neighborhoodLocation"] : (function () { throw new RuntimeError('Variable "neighborhoodLocation" does not exist.', 249, $this->source); })()))) {
// line 250
echo " <div class=\"discussions\">
<div class=\"tab-content searchResultsContainer interested-listings subsLinks more-locations-container\">
";
// line 252
$this->loadTemplate("@AqarmapMainBundle/Default/locationsSubLinks.html.twig", "@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig", 252)->display(twig_array_merge($context, ["location" => (isset($context["neighborhoodLocation"]) || array_key_exists("neighborhoodLocation", $context) ? $context["neighborhoodLocation"] : (function () { throw new RuntimeError('Variable "neighborhoodLocation" does not exist.', 252, $this->source); })())]));
// line 253
echo " </div>
</div>
";
}
// line 256
echo " </div>
";
// line 258
if ((($this->extensions['Aqarmap\Bundle\MainBundle\Twig\FeatureToggleExtension']->isEnabled("web.seo.custom.pragraphs") && (isset($context["customParagraph"]) || array_key_exists("customParagraph", $context) ? $context["customParagraph"] : (function () { throw new RuntimeError('Variable "customParagraph" does not exist.', 258, $this->source); })())) && (twig_get_attribute($this->env, $this->source, (isset($context["listings"]) || array_key_exists("listings", $context) ? $context["listings"] : (function () { throw new RuntimeError('Variable "listings" does not exist.', 258, $this->source); })()), "currentPageNumber", [], "any", false, false, false, 258) == 1))) {
// line 259
echo " <br>
";
// line 260
$this->loadTemplate("@AqarmapListingBundle/Listing/custom_paragraph.html.twig", "@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig", 260)->display(twig_array_merge($context, ["customParagraph" => (isset($context["customParagraph"]) || array_key_exists("customParagraph", $context) ? $context["customParagraph"] : (function () { throw new RuntimeError('Variable "customParagraph" does not exist.', 260, $this->source); })())]));
// line 261
echo " ";
}
// line 262
echo "
";
// line 263
if ($this->extensions['Aqarmap\Bundle\MainBundle\Twig\FeatureToggleExtension']->isEnabled("web.sharing.page")) {
// line 264
echo " ";
$this->loadTemplate("@AqarmapListingBundle/Listing/listingShareModal.html.twig", "@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig", 264)->display($context);
// line 265
echo " ";
}
// line 266
echo " ";
if ((isset($context["isCtaButtonsEnabled"]) || array_key_exists("isCtaButtonsEnabled", $context) ? $context["isCtaButtonsEnabled"] : (function () { throw new RuntimeError('Variable "isCtaButtonsEnabled" does not exist.', 266, $this->source); })())) {
// line 267
echo " ";
echo twig_include($this->env, $context, "@AqarmapListingBundle/Listing/listingPhoneModal.html.twig");
echo "
<div ng-controller=\"listingLeadsWizardController\">
<div ng-content-loaded callback=\"initFormWizard()\">
";
// line 270
echo twig_include($this->env, $context, "@AqarmapUserBundle/User/listingMultiStepLeadModal.html.twig");
echo "
</div>
</div>
";
// line 273
echo twig_include($this->env, $context, "@AqarmapUserBundle/User/RegistrationSurvey.html.twig");
echo "
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 277
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 278
echo " ";
if ((isset($context["isMobile"]) || array_key_exists("isMobile", $context) ? $context["isMobile"] : (function () { throw new RuntimeError('Variable "isMobile" does not exist.', 278, $this->source); })())) {
// line 279
echo " ";
$context["compoundsBuild"] = (("builds/css/compoundsBuild" . (((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"))) . ".css");
// line 280
echo " <link rel=\"preload\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["compoundsBuild"]) || array_key_exists("compoundsBuild", $context) ? $context["compoundsBuild"] : (function () { throw new RuntimeError('Variable "compoundsBuild" does not exist.', 280, $this->source); })())), "html", null, true);
echo "\" as=\"style\" onload=\"this.onload=null;this.rel='stylesheet'\">
<noscript><link rel=\"stylesheet\" href=\"";
// line 281
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["compoundsBuild"]) || array_key_exists("compoundsBuild", $context) ? $context["compoundsBuild"] : (function () { throw new RuntimeError('Variable "compoundsBuild" does not exist.', 281, $this->source); })())), "html", null, true);
echo "\"></noscript>
";
}
// line 283
echo "
";
// line 284
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 287
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 288
echo " <script>
function getAddLocationPlaceHolder() {
return '";
// line 290
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.compound_planner.add_name_placeholer"), "html", null, true);
echo "';
}
function getDefaultPlaceHolder() {
return '";
// line 293
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.compound_planner.search_for_placeholder"), "html", null, true);
echo "';
}
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 297
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 298
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/js/buildCompoundsCritical" . (((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.', 298, $this->source); })()), "environment", [], "any", false, false, false, 298) == "dev")) ? ("") : (".min"))) . ".js")), "html", null, true);
echo "\"></script>
<script defer src=\"";
// line 299
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/js/buildCompoundsVendors" . (((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.', 299, $this->source); })()), "environment", [], "any", false, false, false, 299) == "dev")) ? ("") : (".min"))) . ".js")), "html", null, true);
echo "\"></script>
<script defer src=\"";
// line 300
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("builds/js/buildCompounds" . (((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.', 300, $this->source); })()), "environment", [], "any", false, false, false, 300) == "dev")) ? ("") : (".min"))) . ".js")), "html", null, true);
echo "\"></script>
";
// line 301
if ( !(null === (isset($context["topBar"]) || array_key_exists("topBar", $context) ? $context["topBar"] : (function () { throw new RuntimeError('Variable "topBar" does not exist.', 301, $this->source); })()))) {
// line 302
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("countdown");
echo "
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 305
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 306
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script>
jQuery(document).ready(function(){
\$('#price_level').addClass('active');
\$('.showMore').each(function () {
var \$this = \$(this);
var numberOfULChilds = getNestedChildrens(this, '.nestedContainer', '.parentUL');
var numberOfVisibleItems = getParents(\$this, '.nestedContainer').attr('data-hideStartFrom');
if(numberOfULChilds.length >= numberOfVisibleItems){
\$this.css('display', 'block');
}
});
});
</script>
<script>
jQuery(document).ready(function (\$) {
loadMoreInit('.sectionLoadMore');
});
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 327
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"));
// line 328
echo " ";
if ((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.', 328, $this->source); })()), "request", [], "any", false, false, false, 328), "get", [0 => "page"], "method", false, false, false, 328) && (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.', 328, $this->source); })()), "request", [], "any", false, false, false, 328), "get", [0 => "page"], "method", false, false, false, 328) > 1))) {
// line 329
echo " ";
$context["canonical_url"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl(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.', 329, $this->source); })()), "request", [], "any", false, false, false, 329), "get", [0 => "_route"], "method", false, false, false, 329), twig_array_merge(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.', 329, $this->source); })()), "request", [], "any", false, false, false, 329), "get", [0 => "_route_params"], "method", false, false, false, 329), ["page" => 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.', 329, $this->source); })()), "request", [], "any", false, false, false, 329), "get", [0 => "page"], "method", false, false, false, 329)]));
// line 330
echo " ";
} else {
// line 331
echo " ";
$context["canonical_url"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl(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), "get", [0 => "_route"], "method", false, false, false, 331), 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), "get", [0 => "_route_params"], "method", false, false, false, 331));
// line 332
echo " ";
}
// line 333
echo " <link rel=\"canonical\" href=\"";
echo twig_escape_filter($this->env, (isset($context["canonical_url"]) || array_key_exists("canonical_url", $context) ? $context["canonical_url"] : (function () { throw new RuntimeError('Variable "canonical_url" does not exist.', 333, $this->source); })()), "html", null, true);
echo "\"/>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 860 => 333, 857 => 332, 854 => 331, 851 => 330, 848 => 329, 845 => 328, 835 => 327, 804 => 306, 794 => 305, 780 => 302, 778 => 301, 774 => 300, 770 => 299, 765 => 298, 755 => 297, 741 => 293, 735 => 290, 731 => 288, 721 => 287, 709 => 284, 706 => 283, 701 => 281, 696 => 280, 693 => 279, 690 => 278, 680 => 277, 667 => 273, 661 => 270, 654 => 267, 651 => 266, 648 => 265, 645 => 264, 643 => 263, 640 => 262, 637 => 261, 635 => 260, 632 => 259, 630 => 258, 626 => 256, 621 => 253, 619 => 252, 615 => 250, 613 => 249, 606 => 244, 604 => 238, 602 => 237, 600 => 236, 590 => 228, 583 => 224, 577 => 221, 574 => 220, 572 => 219, 560 => 212, 553 => 208, 545 => 205, 536 => 198, 533 => 197, 530 => 196, 527 => 195, 524 => 194, 522 => 193, 519 => 192, 516 => 191, 513 => 190, 510 => 189, 507 => 188, 504 => 187, 501 => 186, 499 => 185, 496 => 184, 493 => 182, 488 => 179, 486 => 178, 481 => 176, 476 => 173, 473 => 172, 471 => 171, 467 => 169, 465 => 168, 460 => 165, 452 => 163, 450 => 162, 447 => 161, 441 => 159, 438 => 158, 432 => 156, 426 => 154, 423 => 153, 421 => 152, 414 => 147, 412 => 146, 405 => 141, 402 => 136, 400 => 135, 395 => 132, 393 => 131, 384 => 124, 382 => 123, 371 => 115, 361 => 107, 358 => 106, 348 => 105, 330 => 102, 318 => 99, 314 => 98, 310 => 97, 305 => 96, 298 => 94, 295 => 93, 288 => 91, 281 => 89, 278 => 88, 276 => 87, 271 => 85, 267 => 84, 263 => 82, 257 => 80, 251 => 77, 248 => 76, 245 => 75, 235 => 74, 221 => 71, 219 => 70, 214 => 69, 211 => 68, 201 => 67, 189 => 64, 186 => 63, 176 => 62, 163 => 60, 157 => 58, 154 => 57, 148 => 55, 142 => 53, 139 => 52, 136 => 51, 126 => 50, 115 => 1, 113 => 48, 111 => 47, 109 => 45, 108 => 44, 107 => 43, 103 => 39, 102 => 38, 101 => 37, 98 => 34, 97 => 33, 96 => 32, 94 => 31, 92 => 29, 91 => 28, 90 => 27, 86 => 23, 85 => 22, 84 => 21, 83 => 20, 80 => 17, 79 => 16, 78 => 15, 77 => 14, 75 => 13, 73 => 11, 72 => 10, 71 => 9, 70 => 8, 68 => 7, 66 => 6, 64 => 5, 62 => 4, 60 => 3, 58 => 2, 45 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"base.html.twig\" %}
{% set SHARING_IMAGE = constant('Aqarmap\\\\Bundle\\\\ListingBundle\\\\Constant\\\\SharingConstant::PROJECTS_IMAGE') %}
{% set isCtaButtonsEnabled = isEnabledFeature('web.compound.card.cta') %}
{% set totalListingsCount = listings.getTotalItemCount() %}
{% set SHOW_PHONE_CONSTANT = constant('Aqarmap\\\\Bundle\\\\ListingBundle\\\\Constant\\\\LeadTypes::SHOW_PHONE') %}
{% set isKSASite = get_setting('general', 'country') == 'SA' %}
{% if location.parent is defined and location.parent %}
{% set resortsCustomTitleWithLocation = 'layout.resorts_custom_title_with_location_with_parent'|trans({
'%location%': locationTitle,
'%parentLocation%': location.parent.title,
'%projects%': totalListingsCount
}) %}
{% if isKSASite %}
{% set projectsCustomTitleWithLocation = 'layout.projects_ksa_custom_title_with_location_with_parent'|trans({
'%location%': locationTitle,
'%parentLocation%': location.parent.title,
'%projects%': totalListingsCount
}) %}
{% else %}
{% set projectsCustomTitleWithLocation = 'layout.projects_custom_title_with_location_with_parent'|trans({
'%location%': locationTitle,
'%parentLocation%': location.parent.title,
'%projects%': totalListingsCount
}) %}
{% endif %}
{% else %}
{% set resortsCustomTitleWithLocation = 'layout.resorts_custom_title_with_location'|trans({
'%location%': locationTitle,
'%projects%': totalListingsCount
}) %}
{% if isKSASite %}
{% set projectsCustomTitleWithLocation = 'layout.projects_ksa_custom_title_with_location'|trans({
'%location%': locationTitle,
'%projects%': totalListingsCount
}) %}
{% else %}
{% set projectsCustomTitleWithLocation = 'layout.projects_custom_title_with_location'|trans({
'%location%': locationTitle,
'%projects%': totalListingsCount
}) %}
{% endif %}
{% endif %}
{% set projectsCustomDescriptionWithLocation = 'layout.projects_custom_description_with_location'|trans({
'%location%': locationTitle,
'%projects%': totalListingsCount
}) %}
{% set ogDescription = locationTitle ? projectsCustomDescriptionWithLocation : 'listing.compound_guide.sharing.description'|trans %}
{% set projectsTitleWithoutLocation = isKSASite ? 'layout.ksa_compounds_title' | trans : 'layout.compounds_title_without_location' |trans({'%projects%': totalListingsCount}) %}
{# Page title #}
{% block title %}
{% if locationTitle %}
{% if locationType == constant('Aqarmap\\\\Bundle\\\\ListingBundle\\\\Constant\\\\CompoundType::RESORT') %}
{{ resortsCustomTitleWithLocation }}
{% else %}
{{ projectsCustomTitleWithLocation }}
{% endif %}
{% else %}
{{ projectsTitleWithoutLocation }}
{% endif %}
{{ parent() }}
{% endblock %}
{% block metatags %}
{% if isNoIndexMetaTag or not listingsCount %}
<meta name=\"robots\" content=\"noindex\">
{% endif %}
{% endblock %}
{% block meta_description %}
{% if locationTitle %}
{{ projectsCustomDescriptionWithLocation }}
{% elseif customParagraph %}
{{ customParagraph.paragraph|striptags|truncate(160) }}
{% endif %}
{% endblock %}
{% block categorizedStylesheets %}
{% if isMobile %}
<style type=\"text/css\">
{{ source('@AqarmapListing/style/compoundSearchCritical.css', ignore_missing = true) }}
</style>
{% else %}
<link rel=\"stylesheet\" href=\"{{ asset('builds/css/compoundsBuild'~ (app.environment == 'dev' ? '' : '.min') ~'.css') }}\" />
{% endif %}
<meta name=\"twitter:card\" content=\"summary_large_image\" />
<meta name=\"twitter:site\" content=\"{{ \"%s%s\"|format('@', 'layout.app_name'|trans) }}\" />
<meta name=\"twitter:creator\" content=\"{{ \"%s%s\"|format('@', 'layout.app_name'|trans) }}\" />
{% if locationTitle %}
{% if locationType == constant('Aqarmap\\\\Bundle\\\\ListingBundle\\\\Constant\\\\CompoundType::RESORT') %}
<meta property=\"og:title\" content=\"{{ resortsCustomTitleWithLocation }}{{ 'layout.brand_suffix'|trans }}\"/>
{% else %}
<meta property=\"og:title\" content=\"{{ projectsCustomTitleWithLocation }}{{ 'layout.brand_suffix'|trans }}\"/>
{% endif %}
{% else %}
<meta property=\"og:title\" content=\"{{ projectsTitleWithoutLocation }}{{ 'layout.brand_suffix'|trans }}\"/>
{% endif %}
<meta property=\"og:description\" content=\"{{ ogDescription }}\" />
<meta property=\"og:image\" content=\"{{ SHARING_IMAGE }}\" />
<meta property=\"og:site_name\" content=\"{{ 'layout.app_name'|trans }}\" />
<meta property=\"fb:app_id\" content=\"{{ facebook_app_id }}\"/>
{% endblock %}
{% block headerTop %}
{% endblock %}
{% block body %}
{% set sharingEvent = \"compounds-guide\" %}
<div class=\"filter-fixed-height\">
<div class=\"stick-filter-box\">
<div class=\"compoundSearchContainer filterSearchContainer visible-sm visible-xs\">
<div class=\"sectionContainer\">
<button class=\"btnTop\" onclick=\"openCompoundsFilter('searchFormContainer')\" alt=\"searchFilters\">
<div class=\"bs-custom-caret\">
<span class=\"caret\"></span>
</div>
{{ 'layout.more_filter'|trans }}
</button>
<div class=\"btnTop sortContainer\">
<div class=\"bs-custom-caret\">
<span class=\"caret\"></span>
</div>
<div class=\"d-flex justify-content-center w-100\">
<div class=\"sortSelect\">
{% include \"@AqarmapListing/CompoundSearch/sortSelect.html.twig\" with {'location': location} %}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% include \"adsHeader.html.twig\" %}
<section class=\"container sectionsContainer compoundPlannerContainer\">
<div class=\"row\">
<div class=\"col-lg-10 col-md-10 col-sm-10 col-xs-12 hidden-xs\">
{% set compound_search_breadcrumb = knp_menu_get( 'compound_search.breadcrumb' , [], {}) %}
{{ knp_menu_render(compound_search_breadcrumb, {
'allow_safe_labels': true,
'template': 'knp_breadcrumbs.html.twig',
'currentAsLink': true,
'currentClass': 'active'
}) }}
</div>
<div class=\"sortBy col-lg-2 col-md-2 col-sm-2 col-xs-12 hidden-sm hidden-xs\">
<div class=\"sortContainer\">
<div class=\"sortSelect\">
{% include \"@AqarmapListing/CompoundSearch/sortSelect.html.twig\" with {'location': location} %}
</div>
</div>
</div>
<div class=\"page-header d-flex justify-content-between align-items-md-center flex-md-row flex-column col-12\">
<h1>
{% if locationTitle %}
{% if locationType == constant('Aqarmap\\\\Bundle\\\\ListingBundle\\\\Constant\\\\CompoundType::RESORT') %}
{{ resortsCustomTitleWithLocation }}
{% else %}
{{ projectsCustomTitleWithLocation }}
{% endif %}
{% else %}
{{ projectsTitleWithoutLocation }}
{% endif %}
</h1>
{% if isEnabledFeature('web.compound.advisor') %}
<a href=\"{{ path('compound_adviser') }}\" class=\"compound-searching-links__btn font-weight-bold mt-md-0 mt-3\" alt=\"compounds\">{{ 'listing.compounds_adviser.sub_title'|trans }}</a>
{% endif %}
</div>
<div class=\"col-12 hidden-page-header\">
{% include \"@AqarmapListing/Section/compoundsSubLinks.html.twig\" %}
</div>
<div class=\"col-lg-3 col-md-3 col-sm-12 col-xs-12\">
{% include '@AqarmapListingBundle/CompoundSearch/compoundSearchForm.html.twig' %}
{% if isEnabledFeature('web.sharing.page') %}
<div class=\"side-sub-links hidden-xs hidden-sm\">
<div class=\"listing-share-box\">
<label class=\"share-header-mob\">
{{ isEgyptSite ? 'labels.compound.share_title' | trans : 'labels.compound.ksa_share_title' | trans }}
</label>
{% include '@AqarmapListingBundle/Listing/elementShareContent.html.twig' with {'url': app.request.uri} %}
</div>
</div>
{% endif %}
</div>
{#Listings Cards#}
<div class=\"listingCardContainer p-0 col-lg-9 col-md-9 col-sm-12 col-xs-12\">
{% set neighborhoodLocation = null %}
{% if firstRootLocation %}
{% set neighborhoodLocation = firstRootLocation %}
{% elseif location and location.location %}
{% set neighborhoodLocation = location.location %}
{% endif %}
{% include '@AqarmapListingBundle/CompoundSearch/compoundResultsContainer.html.twig' %}
{% if isKSASite %}
{% set joinNowPath = path('contact_us_page') %}
{% else %}
{% set joinNowPath = app.request.locale == locale ? joinUsARURL : joinUsENURL %}
{% endif %}
<div class=\"addCompoundContainer col-lg-12 col-md-12 col-sm-12 col-xs-12\">
<div class=\"container-fluid\">
<div class=\"row\">
<div class=\"col-xs-12\">
<div class=\"header\">
<div class=\"questionContainer\">
<h2 class=\"custom-header white\">
<a href=\"{{ joinNowPath }}\" rel=\"nofollow\" alt=\"Join\">{{ 'layout.compound_planner.compound_join'|trans }}</a>
</h2>
<p class=\"responsive_style\">
{{ 'layout.compound_planner.compound_git_more'|trans }} </p>
</div>
<div class=\"ask-question-btn-container\">
<a class=\"btn btn-block btn-warning\" href=\"{{ joinNowPath }}\" rel=\"nofollow\" alt=\"joinNow\">{{ 'layout.compound_planner.join_now'|trans }}</a>
</div>
</div>
</div>
</div>
</div>
</div>
{% if isEnabledFeature('web.sharing.page') %}
<a class=\"listing-share-btn-container fixedBottom borderLight\" data-toggle=\"modal\" data-target=\"#listingShareModal\">
<label>{{ 'layout.compounds_title'|trans }}</label>
<div class=\"btn btn-default btn-share\">
<i class=\"fa fa-share-alt\"></i>
<label class=\"hidden-lg hidden-xl\">{{ 'layout.share'|trans }}</label>
</div>
</a>
{% endif %}
</div>
<!-- /Pagination -->
</div>
</section><!-- sectionsContainer -->
<div class=\"container\">
<div class=\"col-lg-12 col-md-12 col-sm-12 col-xs-12 mobile-breadcrumb visible-sm visible-xs\">
{% set COMPOUND_SEARCH_BREADCRUMB = knp_menu_get('compound_search.breadcrumb') %}
{{
knp_menu_render(COMPOUND_SEARCH_BREADCRUMB , {
'allow_safe_labels': true,
'template': 'knp_breadcrumbs.html.twig',
'currentAsLink': true,
'currentClass': 'active',
})
}}
</div>
</div>
<div class=\"container\">
{% if isEnabledFeature('web.seo.compound.locations.sublinks') and neighborhoodLocation %}
<div class=\"discussions\">
<div class=\"tab-content searchResultsContainer interested-listings subsLinks more-locations-container\">
{% include \"@AqarmapMainBundle/Default/locationsSubLinks.html.twig\" with {'location': neighborhoodLocation} %}
</div>
</div>
{% endif %}
</div>
{% if isEnabledFeature('web.seo.custom.pragraphs') and customParagraph and listings.currentPageNumber == 1 %}
<br>
{% include '@AqarmapListingBundle/Listing/custom_paragraph.html.twig' with {'customParagraph': customParagraph} %}
{% endif %}
{% if isEnabledFeature('web.sharing.page') %}
{% include '@AqarmapListingBundle/Listing/listingShareModal.html.twig' %}
{% endif %}
{% if isCtaButtonsEnabled %}
{{ include('@AqarmapListingBundle/Listing/listingPhoneModal.html.twig') }}
<div ng-controller=\"listingLeadsWizardController\">
<div ng-content-loaded callback=\"initFormWizard()\">
{{ include('@AqarmapUserBundle/User/listingMultiStepLeadModal.html.twig') }}
</div>
</div>
{{ include('@AqarmapUserBundle/User/RegistrationSurvey.html.twig') }}
{% endif %}
{% endblock %}
{% block stylesheets %}
{% if isMobile %}
{% set compoundsBuild = 'builds/css/compoundsBuild' ~ (app.environment == 'dev' ? '' : '.min') ~'.css' %}
<link rel=\"preload\" href=\"{{ asset(compoundsBuild) }}\" as=\"style\" onload=\"this.onload=null;this.rel='stylesheet'\">
<noscript><link rel=\"stylesheet\" href=\"{{ asset(compoundsBuild) }}\"></noscript>
{% endif %}
{{ parent() }}
{% endblock %}
{% block getTranslations %}
<script>
function getAddLocationPlaceHolder() {
return '{{ 'layout.compound_planner.add_name_placeholer'|trans }}';
}
function getDefaultPlaceHolder() {
return '{{ 'layout.compound_planner.search_for_placeholder'|trans }}';
}
</script>
{% endblock %}
{% block categorizedJavascripts %}
<script src=\"{{ asset('builds/js/buildCompoundsCritical'~ (app.environment == 'dev' ? '' : '.min') ~'.js') }}\"></script>
<script defer src=\"{{ asset('builds/js/buildCompoundsVendors'~ (app.environment == 'dev' ? '' : '.min') ~'.js') }}\"></script>
<script defer src=\"{{ asset('builds/js/buildCompounds'~ (app.environment == 'dev' ? '' : '.min') ~'.js') }}\"></script>
{% if topBar is not null %}
{{ encore_entry_script_tags('countdown') }}
{% endif %}
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script>
jQuery(document).ready(function(){
\$('#price_level').addClass('active');
\$('.showMore').each(function () {
var \$this = \$(this);
var numberOfULChilds = getNestedChildrens(this, '.nestedContainer', '.parentUL');
var numberOfVisibleItems = getParents(\$this, '.nestedContainer').attr('data-hideStartFrom');
if(numberOfULChilds.length >= numberOfVisibleItems){
\$this.css('display', 'block');
}
});
});
</script>
<script>
jQuery(document).ready(function (\$) {
loadMoreInit('.sectionLoadMore');
});
</script>
{% endblock %}
{% block htmlhead %}
{% if app.request.get('page') and app.request.get('page') > 1 %}
{% set canonical_url = url(app.request.get('_route'), app.request.get('_route_params')|merge({'page': app.request.get('page')})) %}
{% else %}
{% set canonical_url = url(app.request.get('_route'), app.request.get('_route_params')) %}
{% endif %}
<link rel=\"canonical\" href=\"{{ canonical_url }}\"/>
{% endblock %}
", "@AqarmapListing/CompoundSearch/compoundSearchResult.html.twig", "/srv/moonshot/src/Aqarmap/Bundle/ListingBundle/Resources/views/CompoundSearch/compoundSearchResult.html.twig");
}
}