var/cache/dev/twig/52/52a4b35bb94d483cf19ac9e786dfa73d0bacd6fbdde79ba812887f0474293dc6.php line 41

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* property-detail.html.twig */
  15. class __TwigTemplate_28ba2ef954c749f3718f95df10b80ab9e546a0c6a04594d339bd224495101a60 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'metaDescription' => [$this'block_metaDescription'],
  26.             'body' => [$this'block_body'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""property-detail.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""property-detail.html.twig"));
  41.         $this->parent $this->loadTemplate("base.html.twig""property-detail.html.twig"1);
  42.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 3
  49.     public function block_title($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  56.         yield "Détails - ";
  57.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'3$this->source); })()), "reference", [], "any"falsefalsefalse3), "html"nulltrue);
  58.         
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  60.         
  61.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  62.         return; yield '';
  63.     }
  64.     // line 4
  65.     public function block_metaDescription($context, array $blocks = [])
  66.     {
  67.         $macros $this->macros;
  68.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  71.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  72.         // line 5
  73.         yield "
  74.     <meta name=\"description\" content=\"
  75.     ";
  76.         // line 7
  77.         if (CoreExtension::getAttribute($this->env$this->source, ($context["property"] ?? null), "reference", [], "any"truetruefalse7)) {
  78.             // line 8
  79.             yield "        ";
  80.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'8$this->source); })()), "reference", [], "any"falsefalsefalse8), "html"nulltrue);
  81.             yield "
  82.     ";
  83.         } else {
  84.             // line 10
  85.             yield "         Tracol Immobilier propose une large offre en immobilier neuf (logements, bureaux, commerces), qui se caractérise par une architecture résolument contemporaine, des matériaux de qualité, et le soin apporté à chaque détail.
  86.     ";
  87.         }
  88.         // line 12
  89.         yield "    \">
  90. ";
  91.         
  92.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  93.         
  94.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  95.         return; yield '';
  96.     }
  97.     // line 15
  98.     public function block_body($context, array $blocks = [])
  99.     {
  100.         $macros $this->macros;
  101.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  102.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  103.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  104.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  105.         // line 16
  106.         yield "    <style>
  107.         .d-block {
  108.             background-size:cover;
  109.         }
  110.     </style>
  111.     ";
  112.         // line 41
  113.         yield "
  114.     <section id=\"property-carousel\">
  115.         <div class=\"col-lg-8 mx-auto\">
  116.             ";
  117.         // line 44
  118.         if ((=== CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'44$this->source); })()), "pictures", [], "any"falsefalsefalse44)), 1))) {
  119.             // line 45
  120.             yield "                ";
  121.             $context['_parent'] = $context;
  122.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'45$this->source); })()), "pictures", [], "any"falsefalsefalse45));
  123.             foreach ($context['_seq'] as $context["_key"] => $context["picture"]) {
  124.                 // line 46
  125.                 yield "                ";
  126.                 $context["url"] = ((CoreExtension::inFilter("http"CoreExtension::getAttribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse46))) ? (CoreExtension::getAttribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse46)) : ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("uploads/images/properties/" CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'46$this->source); })()), "id", [], "any"falsefalsefalse46)) . "/") . CoreExtension::getAttribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse46)))));
  127.                 // line 47
  128.                 yield "                <div class=\"image-detail huge\"><img src=\"";
  129.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["url"]) || array_key_exists("url"$context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.'47$this->source); })()), "html"nulltrue);
  130.                 yield "\" class=\"lightboxed\" rel=\"property\"></div>
  131.                 ";
  132.             }
  133.             $_parent $context['_parent'];
  134.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['picture'], $context['_parent'], $context['loop']);
  135.             $context array_intersect_key($context$_parent) + $_parent;
  136.             // line 49
  137.             yield "            ";
  138.         } elseif (((=== CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'49$this->source); })()), "pictures", [], "any"falsefalsefalse49)), 2)) || (=== CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'49$this->source); })()), "pictures", [], "any"falsefalsefalse49)), 4)))) {
  139.             // line 50
  140.             yield "                ";
  141.             $context['_parent'] = $context;
  142.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'50$this->source); })()), "pictures", [], "any"falsefalsefalse50));
  143.             foreach ($context['_seq'] as $context["_key"] => $context["picture"]) {
  144.                 // line 51
  145.                 yield "                ";
  146.                 $context["url"] = ((CoreExtension::inFilter("http"CoreExtension::getAttribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse51))) ? (CoreExtension::getAttribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse51)) : ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("uploads/images/properties/" CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'51$this->source); })()), "id", [], "any"falsefalsefalse51)) . "/") . CoreExtension::getAttribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse51)))));
  147.                 // line 52
  148.                 yield "                <div class=\"image-detail half\"><img src=\"";
  149.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["url"]) || array_key_exists("url"$context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.'52$this->source); })()), "html"nulltrue);
  150.                 yield "\" class=\"lightboxed\" rel=\"property\"></div>
  151.                 ";
  152.             }
  153.             $_parent $context['_parent'];
  154.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['picture'], $context['_parent'], $context['loop']);
  155.             $context array_intersect_key($context$_parent) + $_parent;
  156.             // line 54
  157.             yield "            ";
  158.         } else {
  159.             // line 55
  160.             yield "                ";
  161.             $context['_parent'] = $context;
  162.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'55$this->source); })()), "pictures", [], "any"falsefalsefalse55));
  163.             $context['loop'] = [
  164.               'parent' => $context['_parent'],
  165.               'index0' => 0,
  166.               'index'  => 1,
  167.               'first'  => true,
  168.             ];
  169.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  170.                 $length count($context['_seq']);
  171.                 $context['loop']['revindex0'] = $length 1;
  172.                 $context['loop']['revindex'] = $length;
  173.                 $context['loop']['length'] = $length;
  174.                 $context['loop']['last'] = === $length;
  175.             }
  176.             foreach ($context['_seq'] as $context["_key"] => $context["picture"]) {
  177.                 // line 56
  178.                 yield "                ";
  179.                 $context["url"] = ((CoreExtension::inFilter("http"CoreExtension::getAttribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse56))) ? (CoreExtension::getAttribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse56)) : ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("uploads/images/properties/" CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'56$this->source); })()), "id", [], "any"falsefalsefalse56)) . "/") . CoreExtension::getAttribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse56)))));
  180.                 // line 57
  181.                 yield "                <div class=\"image-detail ";
  182.                 if (((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse57), 1)) && (-=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse57), 4)))) {
  183.                     yield "medium";
  184.                 }
  185.                 if (((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse57), 3)) && (-=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse57), 9)))) {
  186.                     yield "small";
  187.                 }
  188.                 if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse57), 8))) {
  189.                     yield "none";
  190.                 }
  191.                 yield "\"><img src=\"";
  192.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["url"]) || array_key_exists("url"$context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.'57$this->source); })()), "html"nulltrue);
  193.                 yield "\" class=\"lightboxed\" rel=\"property\"></div>
  194.                 ";
  195.                 ++$context['loop']['index0'];
  196.                 ++$context['loop']['index'];
  197.                 $context['loop']['first'] = false;
  198.                 if (isset($context['loop']['length'])) {
  199.                     --$context['loop']['revindex0'];
  200.                     --$context['loop']['revindex'];
  201.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  202.                 }
  203.             }
  204.             $_parent $context['_parent'];
  205.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['picture'], $context['_parent'], $context['loop']);
  206.             $context array_intersect_key($context$_parent) + $_parent;
  207.             // line 59
  208.             yield "            ";
  209.         }
  210.         // line 60
  211.         yield "        </div>
  212.     </section>
  213.     ";
  214.         // line 74
  215.         yield "
  216.     ";
  217.         // line 145
  218.         yield "
  219.     ";
  220.         // line 158
  221.         yield "
  222.     ";
  223.         // line 182
  224.         yield "
  225.     <section class=\"items-property-single mt-5 mb-5 pb-5\">
  226.         <div class=\"row col-lg-8 mx-auto justify-content-center g-0\">
  227.             ";
  228.         // line 185
  229.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'185$this->source); })()), "type", [], "any"falsefalsefalse185) && $this->extensions['App\Twig\ContentExtension']->getTypeProperty(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'185$this->source); })()), "type", [], "any"falsefalsefalse185)))) {
  230.             // line 186
  231.             yield "                <div class=\"item-single\">
  232.                     ";
  233.             // line 188
  234.             yield "                    <span style=\"font-weight: bold;color:#F6A400;\">";
  235.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\ContentExtension']->getTypeProperty(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'188$this->source); })()), "type", [], "any"falsefalsefalse188)), "html"nulltrue);
  236.             yield "</span>
  237.                 </div>
  238.                 ";
  239.             // line 190
  240.             if ((((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'190$this->source); })()), "construction", [], "any"falsefalsefalse190), "construction_year", [], "any"falsefalsefalse190) || CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'190$this->source); })()), "available_at", [], "any"falsefalsefalse190)) || CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'190$this->source); })()), "bedrooms", [], "any"falsefalsefalse190)) || CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'190$this->source); })()), "area", [], "any"falsefalsefalse190), "value", [], "any"falsefalsefalse190))) {
  241.                 // line 191
  242.                 yield "                        <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  243.                 ";
  244.             }
  245.             // line 193
  246.             yield "            ";
  247.         }
  248.         // line 194
  249.         yield "            ";
  250.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'194$this->source); })()), "area", [], "any"falsefalsefalse194), "value", [], "any"falsefalsefalse194)) {
  251.             // line 195
  252.             yield "                <div class=\"item-single\">
  253.                     ";
  254.             // line 197
  255.             yield "                    <span>";
  256.             (((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'197$this->source); })()), "area", [], "any"falsefalsefalse197), "value", [], "any"falsefalsefalse197), null))) ? (yield "") : (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'197$this->source); })()), "area", [], "any"falsefalsefalse197), "value", [], "any"falsefalsefalse197) . $this->extensions['App\Twig\ContentExtension']->areaConversion(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'197$this->source); })()), "area", [], "any"falsefalsefalse197), "unit", [], "any"falsefalsefalse197))), "html"nulltrue)));
  257.             yield "</span>
  258.                 </div>
  259.                 ";
  260.             // line 199
  261.             if (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'199$this->source); })()), "construction", [], "any"falsefalsefalse199), "construction_year", [], "any"falsefalsefalse199) || CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'199$this->source); })()), "available_at", [], "any"falsefalsefalse199)) || CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'199$this->source); })()), "bedrooms", [], "any"falsefalsefalse199))) {
  262.                 // line 200
  263.                 yield "                        <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  264.                 ";
  265.             }
  266.             // line 202
  267.             yield "            ";
  268.         }
  269.         // line 203
  270.         yield "            ";
  271.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'203$this->source); })()), "bedrooms", [], "any"falsefalsefalse203)) {
  272.             // line 204
  273.             yield "                <div class=\"item-single\">
  274.                     ";
  275.             // line 206
  276.             yield "                    <span>";
  277.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'206$this->source); })()), "bedrooms", [], "any"falsefalsefalse206), "html"nulltrue);
  278.             yield " chambre";
  279.             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'206$this->source); })()), "bedrooms", [], "any"falsefalsefalse206), 1))) {
  280.                 yield "s";
  281.             }
  282.             yield "</span>
  283.                 </div>
  284.                 ";
  285.             // line 208
  286.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'208$this->source); })()), "construction", [], "any"falsefalsefalse208), "construction_year", [], "any"falsefalsefalse208) || CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'208$this->source); })()), "available_at", [], "any"falsefalsefalse208))) {
  287.                 // line 209
  288.                 yield "                        <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  289.                 ";
  290.             }
  291.             // line 211
  292.             yield "            ";
  293.         }
  294.         // line 212
  295.         yield "            ";
  296.         $context['_parent'] = $context;
  297.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'212$this->source); })()), "areas", [], "any"falsefalsefalse212));
  298.         foreach ($context['_seq'] as $context["_key"] => $context["area"]) {
  299.             // line 213
  300.             yield "                ";
  301.             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["area"], "type", [], "any"falsefalsefalse213), 13))) {
  302.                 // line 214
  303.                 yield "                    <div class=\"item-single\">
  304.                         ";
  305.                 // line 216
  306.                 yield "                        <span>";
  307.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["area"], "number", [], "any"falsefalsefalse216), "html"nulltrue);
  308.                 yield " ";
  309.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\ContentExtension']->propertyArea(CoreExtension::getAttribute($this->env$this->source$context["area"], "type", [], "any"falsefalsefalse216)), "html"nulltrue);
  310.                 yield "</span>
  311.                     </div>
  312.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  313.                 ";
  314.             }
  315.             // line 220
  316.             yield "            ";
  317.         }
  318.         $_parent $context['_parent'];
  319.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['area'], $context['_parent'], $context['loop']);
  320.         $context array_intersect_key($context$_parent) + $_parent;
  321.         // line 221
  322.         yield "            ";
  323.         $context['_parent'] = $context;
  324.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'221$this->source); })()), "areas", [], "any"falsefalsefalse221));
  325.         foreach ($context['_seq'] as $context["_key"] => $context["area"]) {
  326.             // line 222
  327.             yield "                ";
  328.             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["area"], "type", [], "any"falsefalsefalse222), 4))) {
  329.                 // line 223
  330.                 yield "                    <div class=\"item-single\">
  331.                         ";
  332.                 // line 225
  333.                 yield "                        <span>";
  334.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["area"], "number", [], "any"falsefalsefalse225), "html"nulltrue);
  335.                 yield " ";
  336.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\ContentExtension']->propertyArea(CoreExtension::getAttribute($this->env$this->source$context["area"], "type", [], "any"falsefalsefalse225)), "html"nulltrue);
  337.                 yield "</span>
  338.                     </div>
  339.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  340.                 ";
  341.             }
  342.             // line 229
  343.             yield "            ";
  344.         }
  345.         $_parent $context['_parent'];
  346.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['area'], $context['_parent'], $context['loop']);
  347.         $context array_intersect_key($context$_parent) + $_parent;
  348.         // line 230
  349.         yield "            ";
  350.         $context['_parent'] = $context;
  351.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'230$this->source); })()), "areas", [], "any"falsefalsefalse230));
  352.         foreach ($context['_seq'] as $context["_key"] => $context["area"]) {
  353.             // line 231
  354.             yield "                ";
  355.             if (((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["area"], "type", [], "any"falsefalsefalse231), 74)) || (=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["area"], "type", [], "any"falsefalsefalse231), 75)))) {
  356.                 // line 232
  357.                 yield "                    <div class=\"item-single\">
  358.                         ";
  359.                 // line 234
  360.                 yield "                        <span>";
  361.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["area"], "number", [], "any"falsefalsefalse234), "html"nulltrue);
  362.                 yield " ";
  363.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\ContentExtension']->propertyArea(CoreExtension::getAttribute($this->env$this->source$context["area"], "type", [], "any"falsefalsefalse234)), "html"nulltrue);
  364.                 yield "</span>
  365.                     </div>
  366.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  367.                 ";
  368.             }
  369.             // line 238
  370.             yield "            ";
  371.         }
  372.         $_parent $context['_parent'];
  373.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['area'], $context['_parent'], $context['loop']);
  374.         $context array_intersect_key($context$_parent) + $_parent;
  375.         // line 239
  376.         yield "            ";
  377.         $context['_parent'] = $context;
  378.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'239$this->source); })()), "areas", [], "any"falsefalsefalse239));
  379.         foreach ($context['_seq'] as $context["_key"] => $context["area"]) {
  380.             // line 240
  381.             yield "                ";
  382.             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["area"], "type", [], "any"falsefalsefalse240), 18))) {
  383.                 // line 241
  384.                 yield "                    <div class=\"item-single\">
  385.                         ";
  386.                 // line 243
  387.                 yield "                        <span>";
  388.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["area"], "number", [], "any"falsefalsefalse243), "html"nulltrue);
  389.                 yield " ";
  390.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\ContentExtension']->propertyArea(CoreExtension::getAttribute($this->env$this->source$context["area"], "type", [], "any"falsefalsefalse243)), "html"nulltrue);
  391.                 yield "</span>
  392.                     </div>
  393.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  394.                 ";
  395.             }
  396.             // line 247
  397.             yield "            ";
  398.         }
  399.         $_parent $context['_parent'];
  400.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['area'], $context['_parent'], $context['loop']);
  401.         $context array_intersect_key($context$_parent) + $_parent;
  402.         // line 248
  403.         yield "            ";
  404.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'248$this->source); })()), "construction", [], "any"falsefalsefalse248), "construction_year", [], "any"falsefalsefalse248)) {
  405.             // line 249
  406.             yield "                <div class=\"item-single\">
  407.                     ";
  408.             // line 251
  409.             yield "                    <span>Construction : ";
  410.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'251$this->source); })()), "construction", [], "any"falsefalsefalse251), "construction_year", [], "any"falsefalsefalse251), "html"nulltrue);
  411.             yield "</span>
  412.                 </div>
  413.                 ";
  414.             // line 253
  415.             if (CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'253$this->source); })()), "available_at", [], "any"falsefalsefalse253)) {
  416.                 // line 254
  417.                 yield "                        <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  418.                 ";
  419.             }
  420.             // line 256
  421.             yield "            ";
  422.         }
  423.         // line 257
  424.         yield "            ";
  425.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'257$this->source); })()), "available_at", [], "any"falsefalsefalse257)) {
  426.             // line 258
  427.             yield "                <div class=\"item-single availability\">
  428.                     ";
  429.             // line 260
  430.             yield "                    <span>Disponibilité ";
  431.             (((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'260$this->source); })()), "available_at", [], "any"falsefalsefalse260), null))) ? (yield "-") : (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'260$this->source); })()), "available_at", [], "any"falsefalsefalse260), "html"nulltrue)));
  432.             yield "</span>
  433.                 </div>
  434.             ";
  435.         }
  436.         // line 263
  437.         yield "        </div>
  438.     </section>
  439.     <section class=\"desc-property mt-5\">
  440.         <div class=\"col-lg-8 mx-auto\" style=\"overflow: hidden\">
  441.             <div class=\"row reverse-mobil\">
  442.                 <div class=\"col-md-4\">
  443.                     <div class=\"col-lg-12 mt-4\" style=\"display: flex;flex-direction: column;margin:0 10px;\">
  444.                         <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
  445.                             <path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"/>
  446.                         </svg>
  447.                         <h1 class=\"project-title\" style=\"font-size: 2.3em;font-weight: bold\">Descriptif</h1>
  448.                         <p class=\"city\">";
  449.         // line 275
  450.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'275$this->source); })()), "city", [], "any"falsefalsefalse275), "name", [], "any"falsefalsefalse275), "html"nulltrue);
  451.         yield "</p>
  452.                         <p class=\"project-name\">";
  453.         // line 276
  454.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'276$this->source); })()), "reference", [], "any"falsefalsefalse276), "html"nulltrue);
  455.         yield "</p>
  456.                         ";
  457.         // line 278
  458.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'278$this->source); })()), "regulations", [], "any"falsefalsefalse278) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'278$this->source); })()), "regulations", [], "any"falsefalsefalse278)))) {
  459.             // line 279
  460.             yield "                            <p class=\"project-name\">DPE : <strong>";
  461.             $context['_parent'] = $context;
  462.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'279$this->source); })()), "regulations", [], "any"falsefalsefalse279));
  463.             foreach ($context['_seq'] as $context["_key"] => $context["regulation"]) {
  464.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["regulation"], "value", [], "any"falsefalsefalse279), "html"nulltrue);
  465.             }
  466.             $_parent $context['_parent'];
  467.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['regulation'], $context['_parent'], $context['loop']);
  468.             $context array_intersect_key($context$_parent) + $_parent;
  469.             yield "</strong>
  470.                         ";
  471.         }
  472.         // line 281
  473.         yield "
  474.                         </p>
  475.                         <p class=\"price\" style=\"color:#F6A400\">
  476.                             ";
  477.         // line 284
  478.         (((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'284$this->source); })()), "price", [], "any"falsefalsefalse284), "value", [], "any"falsefalsefalse284), null))) ? (yield "<span style=\"font-size: 14px !important;\">sur demande</span>") : (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'284$this->source); })()), "price", [], "any"falsefalsefalse284), "value", [], "any"falsefalsefalse284), 2","" ") . Twig\Extension\CoreExtension::replace(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'284$this->source); })()), "price", [], "any"falsefalsefalse284), "currency", [], "any"falsefalsefalse284), ["EUR" => " €"])), "html"nulltrue)));
  479.         yield "
  480.                         </p>
  481.                         ";
  482.         // line 303
  483.         yield "
  484.                         ";
  485.         // line 304
  486.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["property"] ?? null), "user", [], "any"truetruefalse304) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'304$this->source); })()), "user", [], "any"falsefalsefalse304)))) {
  487.             // line 305
  488.             yield "                            <div class=\"contact-property col-md-10 mt-4 p-3\">
  489.                                 <p>Pour plus d’informations sur ce bien, vous pouvez prendre contact avec</p>
  490.                                 ";
  491.             // line 307
  492.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["property"] ?? null), "user", [], "any"falsetruefalse307), "firstname", [], "any"truetruefalse307) && CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["property"] ?? null), "user", [], "any"falsetruefalse307), "lastname", [], "any"truetruefalse307))) {
  493.                 // line 308
  494.                 yield "                                    <h3>";
  495.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'308$this->source); })()), "user", [], "any"falsefalsefalse308), "firstname", [], "any"falsefalsefalse308), "html"nulltrue);
  496.                 yield " ";
  497.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'308$this->source); })()), "user", [], "any"falsefalsefalse308), "lastname", [], "any"falsefalsefalse308), "html"nulltrue);
  498.                 yield "</h3>
  499.                                 ";
  500.             }
  501.             // line 310
  502.             yield "                            </div>
  503.                             <div class=\"contacinfos col-md-10 p-3 d-flex justify-content-between\">
  504.                                 ";
  505.             // line 312
  506.             if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["property"] ?? null), "user", [], "any"falsetruefalse312), "email", [], "any"truetruefalse312)) {
  507.                 // line 313
  508.                 yield "                                <a href=\"mailto:";
  509.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'313$this->source); })()), "user", [], "any"falsefalsefalse313), "email", [], "any"falsefalsefalse313), "html"nulltrue);
  510.                 yield "\" target=\"_blank\">
  511.                                     <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"21.418\" height=\"14.503\" viewBox=\"0 0 21.418 14.503\">
  512.                                         <path id=\"np_mail_91_000000\" d=\"M0,17V30.5H20.418V17Zm18.932.818L10.209,25.26,1.487,17.818Zm-18.115.5,6.134,5.232L.817,29.34Zm.825,11.363,5.935-5.6,2.632,2.245,2.632-2.245,5.935,5.6ZM19.6,29.34l-6.134-5.785L19.6,18.322Z\" transform=\"translate(0.5 -16.5)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"1\"/>
  513.                                     </svg>
  514.                                 </a>
  515.                                 ";
  516.             }
  517.             // line 319
  518.             yield "                                ";
  519.             if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["property"] ?? null), "user", [], "any"falsetruefalse319), "mobile", [], "any"truetruefalse319)) {
  520.                 // line 320
  521.                 yield "                                <a href=\"tel:";
  522.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'320$this->source); })()), "user", [], "any"falsefalsefalse320), "mobile", [], "any"falsefalsefalse320), "html"nulltrue);
  523.                 yield "\" style=\"text-decoration:none;color:#fff;\">
  524.                                     <svg id=\"np_phone-call_3960627_000000\" xmlns=\"http://www.w3.org/2000/svg\" width=\"22.518\" height=\"20.105\" viewBox=\"0 0 22.518 20.105\">
  525.                                         <path id=\"Tracé_116\" data-name=\"Tracé 116\" d=\"M25.549,35.73h.8V34.122h2.413V32.513H26.354V29.522L20.6,27.608l-2.155,1.44a14.328,14.328,0,0,1-5.428-5.38L14.4,22.292l-1.914-6.667H6.249v.8a19.22,19.22,0,0,0,19.3,19.3Zm-14.274-18.5,1.311,4.592L11.074,23.37l.273.523a15.953,15.953,0,0,0,6.82,6.8l.426.217,2.292-1.536,3.86,1.3v3.442A17.734,17.734,0,0,1,7.857,17.234Z\" transform=\"translate(-6.248 -15.626)\" fill=\"#fff\"/>
  526.                                     </svg>
  527.                                     ";
  528.                 // line 324
  529.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'324$this->source); })()), "user", [], "any"falsefalsefalse324), "mobile", [], "any"falsefalsefalse324), "html"nulltrue);
  530.                 yield "
  531.                                 </a>
  532.                                 ";
  533.             }
  534.             // line 327
  535.             yield "                            </div>
  536.                         ";
  537.         }
  538.         // line 329
  539.         yield "                    </div>
  540.                 </div>
  541.                 <div class=\"col-md-8 description-prop-container\">
  542.                     <div class=\"description-prop pt-3\">
  543.                         <p>";
  544.         // line 333
  545.         yield Twig\Extension\CoreExtension::nl2br(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'333$this->source); })()), "comments", [], "any"falsefalsefalse333), 0, [], "array"falsefalsefalse333), "comment", [], "any"falsefalsefalse333));
  546.         yield "</p>
  547.                     </div>
  548.                 </div>
  549.             </div>
  550.         </div>
  551.     </section>
  552.     ";
  553.         // line 452
  554.         yield "
  555.     <section class=\"similar-properties\">
  556.         ";
  557.         // line 455
  558.         $context["sectionContent1"] = $this->extensions['App\Twig\ContentExtension']->Content("Bien-detail""Section-1");
  559.         // line 456
  560.         yield "        <div class=\"col-lg-8 mx-auto div-svg-header pre-section\">
  561.             <div class=\"col-lg-5\" style=\"font-size: 2.3em;display: flex;flex-direction: column;margin-left: 10px;\">
  562.                 <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
  563.                     <path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"/>
  564.                 </svg>
  565.                 <h1 class=\"project-title\" style=\"font-weight: bold\">";
  566.         // line 461
  567.         if (CoreExtension::getAttribute($this->env$this->source, ($context["sectionContent1"] ?? null), "name", [], "any"truetruefalse461)) {
  568.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["sectionContent1"]) || array_key_exists("sectionContent1"$context) ? $context["sectionContent1"] : (function () { throw new RuntimeError('Variable "sectionContent1" does not exist.'461$this->source); })()), "name", [], "any"falsefalsefalse461), "html"nulltrue);
  569.         } else {
  570.             yield "NOS BIENS SIMILAIRES";
  571.         }
  572.         yield "</h1>
  573.             </div>
  574.             <div class=\"separator\"></div>
  575.             <div class=\"col-lg-6 pre-section-content\">
  576.                 ";
  577.         // line 465
  578.         if (CoreExtension::getAttribute($this->env$this->source, ($context["sectionContent1"] ?? null), "content", [], "any"truetruefalse465)) {
  579.             yield CoreExtension::getAttribute($this->env$this->source, (isset($context["sectionContent1"]) || array_key_exists("sectionContent1"$context) ? $context["sectionContent1"] : (function () { throw new RuntimeError('Variable "sectionContent1" does not exist.'465$this->source); })()), "content", [], "any"falsefalsefalse465);
  580.         }
  581.         // line 466
  582.         yield "            </div>
  583.         </div>
  584.         <div  class=\"col-lg-8 mx-auto\">
  585.             <div id=\"propertiesOther\" class=\"col-lg-12\" style=\"display: flex; flex-wrap: wrap; flex-direction: row\">
  586.                 ";
  587.         // line 472
  588.         $context['_parent'] = $context;
  589.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["otherProperties"]) || array_key_exists("otherProperties"$context) ? $context["otherProperties"] : (function () { throw new RuntimeError('Variable "otherProperties" does not exist.'472$this->source); })()));
  590.         $context['loop'] = [
  591.           'parent' => $context['_parent'],
  592.           'index0' => 0,
  593.           'index'  => 1,
  594.           'first'  => true,
  595.         ];
  596.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  597.             $length count($context['_seq']);
  598.             $context['loop']['revindex0'] = $length 1;
  599.             $context['loop']['revindex'] = $length;
  600.             $context['loop']['length'] = $length;
  601.             $context['loop']['last'] = === $length;
  602.         }
  603.         foreach ($context['_seq'] as $context["_key"] => $context["property"]) {
  604.             // line 473
  605.             yield "                    <div class=\"other col-xl-4 col-lg-6 col-md-12 col-sm-12 div-img-hover-2\" style=\"cursor: pointer\">
  606.                         ";
  607.             // line 496
  608.             yield "
  609.                         ";
  610.             // line 499
  611.             yield "                        ";
  612.             if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source$context["property"], "pictures", [], "any"falsefalsefalse499))) {
  613.                 // line 500
  614.                 yield "                            <div class=\"position-relative properties-slide slick-slide-single-";
  615.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse500), "html"nulltrue);
  616.                 yield "\">
  617.                                 ";
  618.                 // line 501
  619.                 $context['_parent'] = $context;
  620.                 $context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::slice($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source$context["property"], "pictures", [], "any"falsefalsefalse501), 03));
  621.                 foreach ($context['_seq'] as $context["_key"] => $context["picture"]) {
  622.                     // line 502
  623.                     yield "                                    ";
  624.                     // line 503
  625.                     yield "                                    ";
  626.                     $context["url"] = ((CoreExtension::inFilter("http"CoreExtension::getAttribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse503))) ? (CoreExtension::getAttribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse503)) : ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("uploads/images/properties/" CoreExtension::getAttribute($this->env$this->source$context["property"], "id", [], "any"falsefalsefalse503)) . "/") . CoreExtension::getAttribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse503)))));
  627.                     // line 504
  628.                     yield "                                    <div class=\"img\" style=\"background: url('";
  629.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["url"]) || array_key_exists("url"$context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.'504$this->source); })()), "html"nulltrue);
  630.                     yield "')no-repeat center;background-size:cover;\"  onclick=\"location.href='";
  631.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("property-detail", ["id" => CoreExtension::getAttribute($this->env$this->source$context["property"], "id", [], "any"falsefalsefalse504)]), "html"nulltrue);
  632.                     yield "'\">
  633.                                     </div>
  634.                                 ";
  635.                 }
  636.                 $_parent $context['_parent'];
  637.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['picture'], $context['_parent'], $context['loop']);
  638.                 $context array_intersect_key($context$_parent) + $_parent;
  639.                 // line 507
  640.                 yield "                            </div>
  641.                         ";
  642.             } else {
  643.                 // line 510
  644.                 yield "                        <div class=\"position-relative properties-slide slick-slide-single-";
  645.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse510), "html"nulltrue);
  646.                 yield "\">
  647.                             <div class=\"img\" style=\"background-image: url('";
  648.                 // line 511
  649.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/Hudson_Ontario2.png"), "html"nulltrue);
  650.                 yield "')\"></div>
  651.                         </div>
  652.                         ";
  653.             }
  654.             // line 514
  655.             yield "                        <a href=\"";
  656.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("property-detail", ["id" => CoreExtension::getAttribute($this->env$this->source$context["property"], "id", [], "any"falsefalsefalse514)]), "html"nulltrue);
  657.             yield "\">
  658.                         <div class=\"row col-md-12 justify-content-between infos-list\">
  659.                             <ul class=\"col-md-4 items\">
  660.                                 ";
  661.             // line 517
  662.             if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["property"], "area", [], "any"falsefalsefalse517), "value", [], "any"falsefalsefalse517)) {
  663.                 // line 518
  664.                 yield "                                    <li class=\"item surface\">
  665.                                         ";
  666.                 // line 520
  667.                 yield "                                        ";
  668.                 (((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["property"], "area", [], "any"falsefalsefalse520), "value", [], "any"falsefalsefalse520), null))) ? (yield "") : (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["property"], "area", [], "any"falsefalsefalse520), "value", [], "any"falsefalsefalse520) . $this->extensions['App\Twig\ContentExtension']->areaConversion(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["property"], "area", [], "any"falsefalsefalse520), "unit", [], "any"falsefalsefalse520))), "html"nulltrue)));
  669.                 yield "
  670.                                     </li>
  671.                                 ";
  672.             }
  673.             // line 523
  674.             yield "                            </ul>
  675.                             <div class=\"col-md-8 properties-price d-flex justify-content-end\">
  676.                                 ";
  677.             // line 525
  678.             (((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["property"], "price", [], "any"falsefalsefalse525), "value", [], "any"falsefalsefalse525), null))) ? (yield "<span style=\"font-size: 21px !important;\">sur demande</span>") : (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["property"], "price", [], "any"falsefalsefalse525), "value", [], "any"falsefalsefalse525), 2","" ") . Twig\Extension\CoreExtension::replace(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["property"], "price", [], "any"falsefalsefalse525), "currency", [], "any"falsefalsefalse525), ["EUR" => " €"])), "html"nulltrue)));
  679.             yield "
  680.                             </div>
  681.                         </div>
  682.                         <p class=\"city\" ";
  683.             // line 528
  684.             if ( !CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["property"], "area", [], "any"falsefalsefalse528), "value", [], "any"falsefalsefalse528)) {
  685.                 yield "style=\"margin-top:-30px;\"";
  686.             }
  687.             yield ">";
  688.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["property"], "city", [], "any"falsefalsefalse528), "name", [], "any"falsefalsefalse528), "html"nulltrue);
  689.             yield "</p>
  690.                         <p class=\"project-name\">";
  691.             // line 529
  692.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["property"], "reference", [], "any"falsefalsefalse529), "html"nulltrue);
  693.             yield "</p>
  694.                         </a>
  695.                     </div>
  696.                 ";
  697.             ++$context['loop']['index0'];
  698.             ++$context['loop']['index'];
  699.             $context['loop']['first'] = false;
  700.             if (isset($context['loop']['length'])) {
  701.                 --$context['loop']['revindex0'];
  702.                 --$context['loop']['revindex'];
  703.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  704.             }
  705.         }
  706.         $_parent $context['_parent'];
  707.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['property'], $context['_parent'], $context['loop']);
  708.         $context array_intersect_key($context$_parent) + $_parent;
  709.         // line 533
  710.         yield "            </div>
  711.             ";
  712.         // line 534
  713.         $context["paramUrl"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'534$this->source); })()), "category", [], "any"falsefalsefalse534);
  714.         // line 535
  715.         yield "            ";
  716.         if ((=== CoreExtension::compare((isset($context["paramUrl"]) || array_key_exists("paramUrl"$context) ? $context["paramUrl"] : (function () { throw new RuntimeError('Variable "paramUrl" does not exist.'535$this->source); })()), 1))) {
  717.             // line 536
  718.             yield "                ";
  719.             $context["paramUrl"] = "vente";
  720.             // line 537
  721.             yield "            ";
  722.         } elseif ((=== CoreExtension::compare((isset($context["paramUrl"]) || array_key_exists("paramUrl"$context) ? $context["paramUrl"] : (function () { throw new RuntimeError('Variable "paramUrl" does not exist.'537$this->source); })()), 2))) {
  723.             // line 538
  724.             yield "                ";
  725.             $context["paramUrl"] = "location";
  726.             // line 539
  727.             yield "            ";
  728.         }
  729.         // line 540
  730.         yield "            <div id=\"link-none\" class=\"col-lg-12 mx-auto other-property-link div-svg-header d-flex justify-content-end\" style=\"margin-top:0;\">
  731.                 <div style=\"padding-bottom:40px;\">
  732.                     <a id=\"link-none-a d-flex\" class=\"property-span-arrow\" href=\"";
  733.         // line 542
  734.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("properties", ["keyword" => (isset($context["paramUrl"]) || array_key_exists("paramUrl"$context) ? $context["paramUrl"] : (function () { throw new RuntimeError('Variable "paramUrl" does not exist.'542$this->source); })())]), "html"nulltrue);
  735.         yield "\">Découvrir plus
  736.                         <svg class=\"svg-inline--fa fa-arrow-right fa-w-14 property-arrow\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fas\" data-icon=\"arrow-right\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\" data-fa-i2svg=\"\"><path fill=\"currentColor\" d=\"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z\"></path></svg><!-- <i class=\"fas fa-arrow-right property-arrow\"></i> Font Awesome fontawesome.com -->
  737.                     </a>
  738.                 </div>
  739.             </div>
  740.         </div>
  741.     </section>
  742.     <script src=\"https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.min.js\" integrity=\"sha384-+sLIOodYLS7CIrQpBjl+C7nPvqq+FbNUBDunl/OZv93DB7Ln/533i8e/mZXLi/P+\" crossorigin=\"anonymous\"></script>
  743.     <script>
  744.         const slideNextHeader = document.getElementById('slideNextHeader');
  745.         const slidePreviousHeader = document.getElementById('slidePreviousHeader');
  746.         const currentFigure = document.getElementsByClassName('current-figure')
  747.         const lastFigure = document.getElementsByClassName('last-figure')
  748.         let slideHeader = document.getElementById('sliderHeader');
  749.         let positionHeader = 0;
  750.         let positionThumbHeader = 1;
  751.         arraySlidesHeader = [
  752.             ";
  753.         // line 562
  754.         $context['_parent'] = $context;
  755.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'562$this->source); })()), "pictures", [], "any"falsefalsefalse562));
  756.         foreach ($context['_seq'] as $context["key"] => $context["picture"]) {
  757.             // line 563
  758.             yield "            ";
  759.             $context["url"] = ((CoreExtension::inFilter("http"CoreExtension::getAttribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse563))) ? (CoreExtension::getAttribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse563)) : ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((("uploads/images/properties/" CoreExtension::getAttribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'563$this->source); })()), "id", [], "any"falsefalsefalse563)) . "/") . CoreExtension::getAttribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse563)))));
  760.             // line 564
  761.             yield "            {
  762.                 'position': ";
  763.             // line 565
  764.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html"nulltrue);
  765.             yield ",
  766.                 'img': '";
  767.             // line 566
  768.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["url"]) || array_key_exists("url"$context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.'566$this->source); })()), "html"nulltrue);
  769.             yield "',
  770.                 'dot': 'dot";
  771.             // line 567
  772.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html"nulltrue);
  773.             yield "'
  774.             },
  775.             ";
  776.         }
  777.         $_parent $context['_parent'];
  778.         unset($context['_seq'], $context['_iterated'], $context['key'], $context['picture'], $context['_parent'], $context['loop']);
  779.         $context array_intersect_key($context$_parent) + $_parent;
  780.         // line 570
  781.         yield "        ];
  782.         ";
  783.         // line 603
  784.         yield "
  785.         const descriptif = document.getElementById('descriptif-div')
  786.         const praticalInfos = document.getElementById('practical-infos-div')
  787.         const interior = document.getElementById('interior-div')
  788.         const exterior = document.getElementById('exterior-div')
  789.         const energy = document.getElementById('energy-div')
  790.         let buttons = document.getElementsByClassName('projectButton')
  791.         for (const eElement of buttons) {
  792.             eElement.addEventListener('click', function (e) {
  793.                 e.preventDefault()
  794.                 for (let button of buttons) {
  795.                     if (button.classList.contains('all')){
  796.                         button.classList.remove('all')
  797.                         button.classList.add('come')
  798.                         button.querySelector('span').classList.replace('span-all', 'span-projects')
  799.                     }
  800.                     if (document.getElementById(button.dataset.id)) {
  801.                         document.getElementById(button.dataset.id).classList.remove('display-flex')
  802.                         document.getElementById(button.dataset.id).classList.add('display-none')
  803.                     }
  804.                 }
  805.                 eElement.classList.remove('come')
  806.                 eElement.classList.add('all')
  807.                 eElement.querySelector('span').classList.replace('span-projects', 'span-all')
  808.                 document.getElementById(eElement.dataset.id).classList.add('display-flex');
  809.             })
  810.         }
  811.     </script>
  812.     <script>
  813.         const arrowPrev = `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"7.985\" height=\"13.211\" viewBox=\"0 0 7.985 13.211\">
  814.                                 <path id=\"np_arrow-up_888648_000000\" d=\"M13.211,1.381l-6.606,6.6L0,1.381,1.381,0,6.606,5.022h0L11.83,0Z\" transform=\"translate(7.985) rotate(90)\" fill=\"#fff\"/>
  815.                             </svg>`;
  816.         const arrowNext= `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"7.985\" height=\"13.211\" viewBox=\"0 0 7.985 13.211\">
  817.                             <path id=\"np_arrow-up_888648_000000\" d=\"M13.211,1.381l-6.606,6.6L0,1.381,1.381,0,6.606,5.022h0L11.83,0Z\" transform=\"translate(7.985) rotate(90)\" fill=\"#fff\"/>
  818.                         </svg>`;
  819.         var countProperties = '";
  820.         // line 645
  821.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["otherProperties"]) || array_key_exists("otherProperties"$context) ? $context["otherProperties"] : (function () { throw new RuntimeError('Variable "otherProperties" does not exist.'645$this->source); })())), "html"nulltrue);
  822.         yield "';
  823.         var loopProp = 1;
  824.         while (loopProp <= countProperties) {
  825.             \$('.slick-slide-single-'+loopProp).slick({
  826.                 'slidesToShow': 1,
  827.                 'prevArrow': `<div class=\"arrow-left square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowPrev}</div>`,
  828.                 'nextArrow': `<div class=\"arrow-right square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowNext}</div>`
  829.             });
  830.             loopProp++;
  831.         }
  832.     </script>
  833. ";
  834.         
  835.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  836.         
  837.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  838.         return; yield '';
  839.     }
  840.     /**
  841.      * @codeCoverageIgnore
  842.      */
  843.     public function getTemplateName()
  844.     {
  845.         return "property-detail.html.twig";
  846.     }
  847.     /**
  848.      * @codeCoverageIgnore
  849.      */
  850.     public function isTraitable()
  851.     {
  852.         return false;
  853.     }
  854.     /**
  855.      * @codeCoverageIgnore
  856.      */
  857.     public function getDebugInfo()
  858.     {
  859.         return array (  870 => 645,  826 => 603,  822 => 570,  813 => 567,  809 => 566,  805 => 565,  802 => 564,  799 => 563,  795 => 562,  772 => 542,  768 => 540,  765 => 539,  762 => 538,  759 => 537,  756 => 536,  753 => 535,  751 => 534,  748 => 533,  730 => 529,  722 => 528,  716 => 525,  712 => 523,  705 => 520,  702 => 518,  700 => 517,  693 => 514,  687 => 511,  682 => 510,  677 => 507,  665 => 504,  662 => 503,  660 => 502,  656 => 501,  651 => 500,  648 => 499,  644 => 496,  641 => 473,  624 => 472,  616 => 466,  612 => 465,  601 => 461,  594 => 456,  592 => 455,  587 => 452,  575 => 333,  569 => 329,  565 => 327,  559 => 324,  551 => 320,  548 => 319,  538 => 313,  536 => 312,  532 => 310,  524 => 308,  522 => 307,  518 => 305,  516 => 304,  513 => 303,  507 => 284,  502 => 281,  489 => 279,  487 => 278,  482 => 276,  478 => 275,  464 => 263,  457 => 260,  454 => 258,  451 => 257,  448 => 256,  444 => 254,  442 => 253,  436 => 251,  433 => 249,  430 => 248,  424 => 247,  414 => 243,  411 => 241,  408 => 240,  403 => 239,  397 => 238,  387 => 234,  384 => 232,  381 => 231,  376 => 230,  370 => 229,  360 => 225,  357 => 223,  354 => 222,  349 => 221,  343 => 220,  333 => 216,  330 => 214,  327 => 213,  322 => 212,  319 => 211,  315 => 209,  313 => 208,  303 => 206,  300 => 204,  297 => 203,  294 => 202,  290 => 200,  288 => 199,  282 => 197,  279 => 195,  276 => 194,  273 => 193,  269 => 191,  267 => 190,  261 => 188,  258 => 186,  256 => 185,  251 => 182,  248 => 158,  244 => 145,  241 => 74,  236 => 60,  233 => 59,  206 => 57,  203 => 56,  185 => 55,  182 => 54,  173 => 52,  170 => 51,  165 => 50,  162 => 49,  153 => 47,  150 => 46,  145 => 45,  143 => 44,  138 => 41,  130 => 16,  120 => 15,  108 => 12,  104 => 10,  98 => 8,  96 => 7,  92 => 5,  82 => 4,  61 => 3,  38 => 1,);
  860.     }
  861.     public function getSourceContext()
  862.     {
  863.         return new Source("{% extends 'base.html.twig' %}
  864. {% block title %}Détails - {{ property.reference }}{% endblock %}
  865. {% block metaDescription %}
  866.     <meta name=\"description\" content=\"
  867.     {% if property.reference is defined %}
  868.         {{ property.reference }}
  869.     {% else %}
  870.          Tracol Immobilier propose une large offre en immobilier neuf (logements, bureaux, commerces), qui se caractérise par une architecture résolument contemporaine, des matériaux de qualité, et le soin apporté à chaque détail.
  871.     {% endif %}
  872.     \">
  873. {% endblock %}
  874. {% block body %}
  875.     <style>
  876.         .d-block {
  877.             background-size:cover;
  878.         }
  879.     </style>
  880.     {#<header  class=\"header-habiter slider-home slider-not-home who-is bottom-right-border position-relative to-right overflow-hidden\">
  881.         <div id=\"carouselExampleControls\" class=\"carousel slide\" data-ride=\"carousel\">
  882.             <div class=\"carousel-inner\">
  883.                 {% for picture in property.pictures %}
  884.                     <div class=\"carousel-item {% if loop.first %}active{% endif %}\">
  885.                         <div class=\"d-block w-100\" style=\"background: url({{ picture.url }})no-repeat center;\"></div>
  886.                     </div>
  887.                 {% endfor %}
  888.             </div>
  889.             <a class=\"carousel-control-prev\" href=\"#carouselExampleControls\" role=\"button\" data-slide=\"prev\">
  890.                 <span class=\"carousel-control-prev-icon\" aria-hidden=\"true\"></span>
  891.                 <span class=\"sr-only\">Previous</span>
  892.             </a>
  893.             <a class=\"carousel-control-next\" href=\"#carouselExampleControls\" role=\"button\" data-slide=\"next\">
  894.                 <span class=\"carousel-control-next-icon\" aria-hidden=\"true\"></span>
  895.                 <span class=\"sr-only\">Next</span>
  896.             </a>
  897.         </div>
  898.     </header>#}
  899.     <section id=\"property-carousel\">
  900.         <div class=\"col-lg-8 mx-auto\">
  901.             {% if property.pictures|length == 1 %}
  902.                 {% for picture in property.pictures %}
  903.                 {% set url = 'http' in picture.url ? picture.url : asset('uploads/images/properties/'~property.id~'/'~picture.url) %}
  904.                 <div class=\"image-detail huge\"><img src=\"{{ url }}\" class=\"lightboxed\" rel=\"property\"></div>
  905.                 {% endfor %}
  906.             {% elseif property.pictures|length == 2 or property.pictures|length == 4 %}
  907.                 {% for picture in property.pictures %}
  908.                 {% set url = 'http' in picture.url ? picture.url : asset('uploads/images/properties/'~property.id~'/'~picture.url) %}
  909.                 <div class=\"image-detail half\"><img src=\"{{ url }}\" class=\"lightboxed\" rel=\"property\"></div>
  910.                 {% endfor %}
  911.             {% else %}
  912.                 {% for picture in property.pictures %}
  913.                 {% set url = 'http' in picture.url ? picture.url : asset('uploads/images/properties/'~property.id~'/'~picture.url) %}
  914.                 <div class=\"image-detail {% if loop.index > 1 and loop.index < 4 %}medium{% endif %}{% if loop.index > 3 and loop.index < 9 %}small{% endif %}{% if loop.index > 8 %}none{% endif %}\"><img src=\"{{ url }}\" class=\"lightboxed\" rel=\"property\"></div>
  915.                 {% endfor %}
  916.             {% endif %}
  917.         </div>
  918.     </section>
  919.     {#<div class=\"jquery-carousel-wrapper\">
  920.         <div data-jcarousel=\"true\" data-wrap=\"circular\" class=\"jquery-carousel\">
  921.             <ul>
  922.                 {% for picture in property.pictures %}
  923.                     <li><img src=\"{{ picture.url }}\" width=\"600\" height=\"400\" alt=\"\"></li>
  924.                 {% endfor %}
  925.             </ul>
  926.         </div>
  927.         <a data-jcarousel-control=\"true\" data-target=\"-=1\" href=\"#\" class=\"carousel-control-prev\">&lsaquo;</a> 
  928.         <a data-jcarousel-control=\"true\" data-target=\"+=1\" href=\"#\" class=\"carousel-control-next\">&rsaquo;</a> 
  929.     </div>#}
  930.     {#
  931.     <header class=\"header-habiter slider-home slider-not-home who-is bottom-right-border position-relative overflow-hidden to-right lightbox-on\"
  932.     id=\"sliderHeader\"
  933.     style=\"background: url({{property.pictures[0].url}}) center center no-repeat;background-size:cover; position: relative; height: 91vh; cursor: zoom-in;\"
  934.     data-id=\"modul-ref\">
  935.         <div class=\"container-fluid\" style=\"padding: 0\">
  936.             <div class=\"col-lg-4 mx-auto\" style=\"display: none;\">
  937.                 <div class=\"arrows-slides\" style=\"display: flex; justify-content: space-between; margin-top: 20px; align-items: center; position: absolute\">
  938.                     <div class=\"arrow-right\" id=\"slideNextHeader\"><a><i class=\"fas fa-arrow-left\"></i></a></div>
  939.                     <div><span class=\"current-figure\">01</span><span class=\"bar-figure\">/</span><span class=\"last-figure\">{{ property.pictures|length <= 9 ? '0' ~ property.pictures|length : property.pictures|length }}</span></div>
  940.                     <div class=\"arrow-left\" id=\"slidePreviousHeader\"><a><i class=\"fas fa-arrow-right\"></i></a></div>
  941.                 </div>
  942.             </div>
  943.             {#
  944.             <div class=\"col-lg-12 property-detail-header\" style=\"display: flex; position: absolute; bottom: 0px;\">
  945.                <div class=\"col-lg-2 container-properties-header first\"></div>
  946.                <div class=\"col-lg-5 container-properties-header\" style=\"display: flex; align-items: center\">
  947.                    <div class=\"col-lg-3\">
  948.                        <p class=\"properties-city\" >{{ property.city.name }}</p>
  949.                    </div>
  950.                    <div class=\"col-lg-3\">
  951.                        <p class=\"properties-area\" style=\"text-align: center\">{{ property.area.value == null ? '' : property.area.value ~ areaConversion(property.area.unit) }} </p>
  952.                    </div>
  953.                    <div class=\"col-lg-3\">
  954.                        <p class=\"properties-reference-detail\">{{ property.reference }}</p>
  955.                    </div>
  956.                </div>
  957.                <div class=\"col-lg-1 price-detail-bien\" style=\"background-color: #c48300; display: flex; align-items: center; justify-content: center\">
  958.                    <p class=\"properties-price\">
  959.                        {{ property.price.value == null ? '<span style=\"font-size: 14px !important;\">sur demande</span>' : property.price.value ~  property.price.currency|number_format(2, '.', ',')|replace({\"EUR\": \" €\"})  }}
  960.                    </p>
  961.                </div>
  962.            </div>
  963.     </div>
  964.     <div class=\"sticky-text\">Cliquer ici<br/>pour voir toutes les photos</div>
  965.     {% if property.pictures is not empty %}
  966.         <div class=\"lightbox\" id=\"modul-ref\">
  967.             <div class=\"closer\"></div>
  968.             <div class=\"arrows left\">&#8592;</div>
  969.             <div class=\"arrows right\">&#8594;</div>
  970.             <div class=\"counter\">1/1</div>
  971.             <ul class=\"items\">
  972.                 {% for picture in property.pictures %}
  973.                     <li class=\"item\">
  974.                         <img class=\"img\" src=\"{{ picture.url }}\">
  975.                     </li>
  976.                 {% endfor %}
  977.             </ul>
  978.         </div>
  979.     {% endif %}
  980.     {% if property.pictures is not empty %}
  981.         {% for picture in property.pictures %}
  982.             <div class=\"lightbox\" id=\"modul-ref-{{ loop.index }}\">
  983.                 <div class=\"closer\"></div>
  984.                 <ul class=\"items\">
  985.                     <li class=\"item\">
  986.                         <img class=\"img\" src=\"{{ picture.url }}\">
  987.                     </li>
  988.                 </ul>
  989.             </div>
  990.         {% endfor %}
  991.     {% endif %}
  992.     </header>
  993.     #}
  994.     {#
  995.     <div class=\"col-lg-1 infos-person\" style=\"display: flex; position: fixed; right: 274px;\">
  996.         <div class=\"col-lg-12\">
  997.             {% if property.user.picture is null %}
  998.                 <img id=\"img-card\" src=\"{{ asset('build/367e841db1c2c356ba01f78a108a59cb0c18ade2.png') }}\">
  999.             {% else %}
  1000.                 <img id=\"img-card\" width=\"161px\" height=\"161px\" src=\"{{ property.user.picture }}\">
  1001.             {% endif %}
  1002.         </div>
  1003.     </div>
  1004.     #}
  1005.     {#
  1006.     <div class=\"col-lg-1 infos-person\" style=\"position: fixed; width: 265px; display: flex; flex-direction: column\">
  1007.        <div class=\"col-lg-12 more-informations\">
  1008.            <p class=\"p-info-property\">Pour plus d’informations concernant ce bien</p>
  1009.            <p class=\"p-first-property\">{{ property.user.firstname }}
  1010.                {{ property.user.lastname }}
  1011.        </div>
  1012.        <div style=\"display: flex\">
  1013.            <div class=\"col-lg-2 p-mail-property\">
  1014.                <a href=\"mailto:{{ property.user.email }}\">
  1015.                    <svg id=\"SVGMail\" width=\"41\" height=\"34\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:avocode=\"https://avocode.com/\" viewBox=\"0 0 41 34\"><defs></defs><desc>Generated with Avocode.</desc><g><g><title>np_mail_91_000000</title><path d=\"M30.21872,22.58808l-6.13407,-5.78542l6.13407,-5.23238zM12.25999,22.93334l5.93459,-5.59678l2.63204,2.24505l2.63204,-2.24505l5.93459,5.59678zM11.4345,11.57018l6.13407,5.23239l-6.13407,5.78541zM29.54963,11.06668l-8.72302,7.44143l-8.72221,-7.44143zM10.6178,10.24829v13.50346h20.41763v-13.50346z\" fill=\"#ffffff\" fill-opacity=\"1\"></path><path d=\"M30.21872,22.58808l-6.13407,-5.78542l6.13407,-5.23238zM12.25999,22.93334l5.93459,-5.59678l2.63204,2.24505l2.63204,-2.24505l5.93459,5.59678zM11.4345,11.57018l6.13407,5.23239l-6.13407,5.78541zM29.54963,11.06668l-8.72302,7.44143l-8.72221,-7.44143zM10.6178,10.24829v13.50346h20.41763v-13.50346z\" fill-opacity=\"0\" fill=\"#ffffff\" stroke-dashoffset=\"0\" stroke-linejoin=\"miter\" stroke-linecap=\"butt\" stroke-opacity=\"1\" stroke=\"#ffffff\" stroke-miterlimit=\"20\" stroke-width=\"1\"></path></g></g></svg>
  1016.                </a>
  1017.            </div>
  1018.            <div class=\"col-lg-10 p-phone-property\">
  1019.                <a href=\"tel:{{ property.user.phone }}\">
  1020.                    <?xml version=\"1.0\" encoding=\"UTF-8\"?>
  1021.                    <svg id=\"SVGPhone\" width=\"28\" height=\"24\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:avocode=\"https://avocode.com/\" viewBox=\"0 0 28 24\"><defs></defs><desc>Generated with Avocode.</desc><g><g><title>Tracé 116</title><path d=\"M6.29423,1.97623l1.55604,5.45095l-1.79468,1.83287l0.32457,0.62049c1.80183,3.46169 4.62861,6.28247 8.09518,8.07624l0.50593,0.25775l2.72065,-1.82334l4.58217,1.54648v4.08578c-5.2362,-0.22434 -10.19412,-2.41279 -13.8898,-6.12851c-3.73264,-3.69781 -5.93178,-8.66917 -6.15722,-13.9182zM23.23881,23.93248h0.95462v-1.90924h2.86386v-1.90924h-2.86386v-3.55119l-6.82561,-2.27199l-2.55838,1.70879c-2.68607,-1.50592 -4.91392,-3.7134 -6.44376,-6.38633l1.63241,-1.63242l-2.272,-7.91372h-7.39838v0.95462c-0.03222,6.08574 2.37461,11.93046 6.68234,16.22854c4.29808,4.30786 10.1428,6.71442 16.22854,6.68234z\" fill=\"#ffffff\" fill-opacity=\"1\"></path></g></g></svg>
  1022.                    {{ property.user.phone }}
  1023.                </a>
  1024.            </div>
  1025.        </div>
  1026.    </div>
  1027.     #}
  1028.     <section class=\"items-property-single mt-5 mb-5 pb-5\">
  1029.         <div class=\"row col-lg-8 mx-auto justify-content-center g-0\">
  1030.             {% if property.type and getTypeProperty(property.type) %}
  1031.                 <div class=\"item-single\">
  1032.                     {# <img src=\"{{ asset('img/icons/surface.svg') }}\" alt=\"Icone surface\"> #}
  1033.                     <span style=\"font-weight: bold;color:#F6A400;\">{{ getTypeProperty(property.type) }}</span>
  1034.                 </div>
  1035.                 {% if property.construction.construction_year or property.available_at or property.bedrooms or property.area.value %}
  1036.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  1037.                 {% endif %}
  1038.             {% endif %}
  1039.             {% if property.area.value %}
  1040.                 <div class=\"item-single\">
  1041.                     {# <img src=\"{{ asset('img/icons/surface.svg') }}\" alt=\"Icone surface\"> #}
  1042.                     <span>{{ property.area.value == null ? '' : property.area.value ~ areaConversion(property.area.unit) }}</span>
  1043.                 </div>
  1044.                 {% if property.construction.construction_year or property.available_at or property.bedrooms %}
  1045.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  1046.                 {% endif %}
  1047.             {% endif %}
  1048.             {% if property.bedrooms %}
  1049.                 <div class=\"item-single\">
  1050.                     {# <img src=\"{{ asset('img/icons/chambre.svg') }}\" alt=\"Icone chambre\"> #}
  1051.                     <span>{{ property.bedrooms }} chambre{% if property.bedrooms > 1 %}s{% endif %}</span>
  1052.                 </div>
  1053.                 {% if property.construction.construction_year or property.available_at %}
  1054.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  1055.                 {% endif %}
  1056.             {% endif %}
  1057.             {% for area in property.areas %}
  1058.                 {% if area.type == 13 %}
  1059.                     <div class=\"item-single\">
  1060.                         {# <img src=\"{{ asset('img/icons/salle_bain.svg') }}\" alt=\"Icone salle de bain\"> #}
  1061.                         <span>{{ area.number }} {{ propertyArea(area.type) }}</span>
  1062.                     </div>
  1063.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  1064.                 {% endif %}
  1065.             {% endfor %}
  1066.             {% for area in property.areas %}
  1067.                 {% if area.type == 4 %}
  1068.                     <div class=\"item-single\">
  1069.                         {# <img src=\"{{ asset('img/icons/garage.svg') }}\" alt=\"Icone garage\"> #}
  1070.                         <span>{{ area.number }} {{ propertyArea(area.type) }}</span>
  1071.                     </div>
  1072.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  1073.                 {% endif %}
  1074.             {% endfor %}
  1075.             {% for area in property.areas %}
  1076.                 {% if area.type == 74 or area.type == 75 %}
  1077.                     <div class=\"item-single\">
  1078.                         {# <img src=\"{{ asset('img/icons/parking.svg') }}\" alt=\"Icone parking\"> #}
  1079.                         <span>{{ area.number }} {{ propertyArea(area.type) }}</span>
  1080.                     </div>
  1081.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  1082.                 {% endif %}
  1083.             {% endfor %}
  1084.             {% for area in property.areas %}
  1085.                 {% if area.type == 18 %}
  1086.                     <div class=\"item-single\">
  1087.                         {# <img src=\"{{ asset('img/icons/terasse.svg') }}\" alt=\"Icone terasse\"> #}
  1088.                         <span>{{ area.number }} {{ propertyArea(area.type) }}</span>
  1089.                     </div>
  1090.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  1091.                 {% endif %}
  1092.             {% endfor %}
  1093.             {% if property.construction.construction_year %}
  1094.                 <div class=\"item-single\">
  1095.                     {# <img src=\"{{ asset('img/icons/construction.svg') }}\" alt=\"Icone date construction\"> #}
  1096.                     <span>Construction : {{ property.construction.construction_year }}</span>
  1097.                 </div>
  1098.                 {% if property.available_at %}
  1099.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  1100.                 {% endif %}
  1101.             {% endif %}
  1102.             {% if property.available_at %}
  1103.                 <div class=\"item-single availability\">
  1104.                     {# <img src=\"{{ asset('img/icons/dispo.svg') }}\" alt=\"Icone disponibilité\"> #}
  1105.                     <span>Disponibilité {{ property.available_at == null ? '-' : property.available_at}}</span>
  1106.                 </div>
  1107.             {% endif %}
  1108.         </div>
  1109.     </section>
  1110.     <section class=\"desc-property mt-5\">
  1111.         <div class=\"col-lg-8 mx-auto\" style=\"overflow: hidden\">
  1112.             <div class=\"row reverse-mobil\">
  1113.                 <div class=\"col-md-4\">
  1114.                     <div class=\"col-lg-12 mt-4\" style=\"display: flex;flex-direction: column;margin:0 10px;\">
  1115.                         <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
  1116.                             <path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"/>
  1117.                         </svg>
  1118.                         <h1 class=\"project-title\" style=\"font-size: 2.3em;font-weight: bold\">Descriptif</h1>
  1119.                         <p class=\"city\">{{ property.city.name }}</p>
  1120.                         <p class=\"project-name\">{{ property.reference }}</p>
  1121.                         {% if property.regulations and property.regulations is not empty %}
  1122.                             <p class=\"project-name\">DPE : <strong>{% for regulation in property.regulations %}{{ regulation.value }}{% endfor %}</strong>
  1123.                         {% endif %}
  1124.                         </p>
  1125.                         <p class=\"price\" style=\"color:#F6A400\">
  1126.                             {{ property.price.value == null ? '<span style=\"font-size: 14px !important;\">sur demande</span>' : property.price.value|number_format(2, ',', ' ') ~  property.price.currency|replace({\"EUR\": \" €\"})  }}
  1127.                         </p>
  1128.                         {#<div class=\"col-md-10 row list-pictures\">
  1129.                             {% for picture in property.pictures %}
  1130.                                 <div class=\"modal fade bd-example-modal-lg-{{ picture.id }}\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myLargeModalLabel\" aria-hidden=\"true\">
  1131.                                     <div class=\"modal-dialog modal-lg\">
  1132.                                         <div class=\"modal-content\">
  1133.                                             <img src=\"{{ picture.url }}\">
  1134.                                         </div>
  1135.                                     </div>
  1136.                                 </div>
  1137.                                 <div class=\"col-6 col-md-4 lightbox-on-second\"  data-toggle=\"modal\" data-target=\".bd-example-modal-lg-{{ picture.id }}\" style=\"margin-bottom:10px;\">
  1138.                                     <img class=\"img\"
  1139.                                          src=\"{{ picture.url }}\"
  1140.                                          data-id=\"modul-ref-{{ loop.index }}\">
  1141.                                 </div>
  1142.                             {% endfor %}
  1143.                         </div>#}
  1144.                         {% if property.user is defined and property.user is not empty %}
  1145.                             <div class=\"contact-property col-md-10 mt-4 p-3\">
  1146.                                 <p>Pour plus d’informations sur ce bien, vous pouvez prendre contact avec</p>
  1147.                                 {% if property.user.firstname is defined and property.user.lastname is defined %}
  1148.                                     <h3>{{ property.user.firstname }} {{ property.user.lastname }}</h3>
  1149.                                 {% endif %}
  1150.                             </div>
  1151.                             <div class=\"contacinfos col-md-10 p-3 d-flex justify-content-between\">
  1152.                                 {% if property.user.email is defined %}
  1153.                                 <a href=\"mailto:{{ property.user.email }}\" target=\"_blank\">
  1154.                                     <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"21.418\" height=\"14.503\" viewBox=\"0 0 21.418 14.503\">
  1155.                                         <path id=\"np_mail_91_000000\" d=\"M0,17V30.5H20.418V17Zm18.932.818L10.209,25.26,1.487,17.818Zm-18.115.5,6.134,5.232L.817,29.34Zm.825,11.363,5.935-5.6,2.632,2.245,2.632-2.245,5.935,5.6ZM19.6,29.34l-6.134-5.785L19.6,18.322Z\" transform=\"translate(0.5 -16.5)\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\"1\"/>
  1156.                                     </svg>
  1157.                                 </a>
  1158.                                 {% endif %}
  1159.                                 {% if property.user.mobile is defined %}
  1160.                                 <a href=\"tel:{{ property.user.mobile }}\" style=\"text-decoration:none;color:#fff;\">
  1161.                                     <svg id=\"np_phone-call_3960627_000000\" xmlns=\"http://www.w3.org/2000/svg\" width=\"22.518\" height=\"20.105\" viewBox=\"0 0 22.518 20.105\">
  1162.                                         <path id=\"Tracé_116\" data-name=\"Tracé 116\" d=\"M25.549,35.73h.8V34.122h2.413V32.513H26.354V29.522L20.6,27.608l-2.155,1.44a14.328,14.328,0,0,1-5.428-5.38L14.4,22.292l-1.914-6.667H6.249v.8a19.22,19.22,0,0,0,19.3,19.3Zm-14.274-18.5,1.311,4.592L11.074,23.37l.273.523a15.953,15.953,0,0,0,6.82,6.8l.426.217,2.292-1.536,3.86,1.3v3.442A17.734,17.734,0,0,1,7.857,17.234Z\" transform=\"translate(-6.248 -15.626)\" fill=\"#fff\"/>
  1163.                                     </svg>
  1164.                                     {{ property.user.mobile }}
  1165.                                 </a>
  1166.                                 {% endif %}
  1167.                             </div>
  1168.                         {% endif %}
  1169.                     </div>
  1170.                 </div>
  1171.                 <div class=\"col-md-8 description-prop-container\">
  1172.                     <div class=\"description-prop pt-3\">
  1173.                         <p>{{ property.comments[0].comment|raw|nl2br }}</p>
  1174.                     </div>
  1175.                 </div>
  1176.             </div>
  1177.         </div>
  1178.     </section>
  1179.     {#
  1180.     <section class=\"project\" style=\"margin-bottom: 120px\">
  1181.         <div class=\"col-lg-8 mx-auto div-svg-header\" style=\"display: flex; align-items: center; margin-top: 20px\">
  1182.         </div>
  1183.         <div class=\"col-lg-8 mx-auto div-svg-header\" style=\"display: flex; align-items: center; padding-left: 7px\">
  1184.             <button data-id=\"descriptif-div\" class=\"btn btn-primary all border-radius projectButton\"><span class=\"span-all\">DESCRIPTIF</span></button>
  1185.             <button data-id=\"practical-infos-div\" class=\"btn btn-primary come border-radius projectButton\"><span class=\"span-projects\">INFOS PRATIQUES</span></button>
  1186.             <button data-id=\"interior-div\" class=\"btn btn-primary come border-radius projectButton\"><span class=\"span-projects\">INTERIEUR</span></button>
  1187.             <button data-id=\"exterior-div\" class=\"btn btn-primary come border-radius projectButton\"><span class=\"span-projects\">EXTERIEUR</span></button>
  1188.             <button data-id=\"energy-div\" class=\"btn btn-primary come border-radius projectButton\"><span class=\"span-projects\">ENERGIE</span></button>
  1189.         </div>
  1190.         <div id=\"descriptif-div\" class=\"offset-lg-2 col-lg-4 property-comment display-flex\">
  1191.             <p>{{ property.comments[0].comment|raw|nl2br }}</p>
  1192.         </div>
  1193.         <div id=\"practical-infos-div\" class=\"offset-lg-2 col-lg-8 display-none\" style=\"flex-wrap: wrap;\">
  1194.             <table class=\"table\">
  1195.                 <tbody>
  1196.                 <tr class=\"table-property-first\" style=\"background-color: #f7e7cb;\">
  1197.                     {% if property.services is not null %}
  1198.                     {% for service in property.services %}
  1199.                     <td class=\"text-property-infos\">{{ propertyServices(service) }}</td>
  1200.                     {% endfor %}
  1201.                     {% endif %}
  1202.                 </tr>
  1203.                 </tbody>
  1204.             </table>
  1205.         </div>
  1206.         <div id=\"interior-div\" class=\"offset-lg-2 col-lg-8 display-none\">
  1207.             <table class=\"table\">
  1208.                 <tbody>
  1209.                 <tr class=\"table-property-first\" style=\"background-color: #f7e7cb;\">
  1210.                     <td class=\"text-property\">Surface</td>
  1211.                     <td class=\"text-property-infos\">{{ property.area.value == null ? '' : property.area.value ~ areaConversion(property.area.unit) }}</td>
  1212.                     <td class=\"text-property\">Eau</td>
  1213.                     <td class=\"text-property-infos\">{{ propertyHotWater(property.water.hot_device) == null ? '-' : propertyHotWater(property.water.hot_device) ~ \" \" ~ propertyHotWaterAccess(property.water.hot_access)  }}</td>
  1214.                     <td class=\"text-property\">An Construction</td>
  1215.                     <td class=\"text-property-infos\">{{ property.construction.construction_year == null ? '-' :  property.construction.construction_year }}</td>
  1216.                 </tr>
  1217.                {% if property.areas is empty %}
  1218.                    <tr>
  1219.                        <td class=\"text-property\">Condition</td>
  1220.                        <td class=\"text-property-infos\">{{ property.condition == null ? '-' : propertyCondition(property.condition) }}</td>
  1221.                    </tr>
  1222.                    <tr class=\"table-property-first\" style=\"background-color: #f7e7cb;\">
  1223.                        <td class=\"text-property\">Etage</td>
  1224.                        <td class=\"text-property-infos\">{{ property.floor.type == null ? '-' : propertyFloor(property.floor.type) }}</td>
  1225.                        <td class=\"text-property\">Chauffage</td>
  1226.                        <td class=\"text-property-infos\">{{ propertyHeatingDevice(property.heating.device) == null ? '-' : propertyHeatingDevice(property.heating.device) ~ \" \" ~ propertyHeatingType(property.heating.type)  }}</td>
  1227.                        <td class=\"text-property\">Disponibilite</td>
  1228.                        <td class=\"text-property-infos\">{{ property.available_at == null ? '-' : property.available_at}}</td>
  1229.                    </tr>
  1230.                    {% else %}
  1231.                        <tr>
  1232.                            {% for area in property.areas %}
  1233.                                {% if propertyArea(area.type) is not null %}
  1234.                                    <td class=\"text-property-first\">{{ propertyArea(area.type) }}</td>
  1235.                                    <td class=\"text-property-infos\">{{ area.number }}</td>
  1236.                                {% endif %}
  1237.                            {% endfor %}
  1238.                        </tr>
  1239.                        <tr class=\"table-property-first\" style=\"background-color: #f7e7cb;\">
  1240.                            <td class=\"text-property\">Etage</td>
  1241.                            <td class=\"text-property-infos\">{{ property.floor.type == null ? '-' : propertyFloor(property.floor.type) }}</td>
  1242.                            <td class=\"text-property\">Chauffage</td>
  1243.                            <td class=\"text-property-infos\">{{ propertyHeatingDevice(property.heating.device) == null ? '-' : propertyHeatingDevice(property.heating.device) ~ \" \" ~ propertyHeatingType(property.heating.type)  }}</td>
  1244.                            <td class=\"text-property\">Disponibilite</td>
  1245.                            <td class=\"text-property-infos\">{{ property.available_at == null ? '-' : property.available_at}}</td>
  1246.                        </tr>
  1247.                        <tr>
  1248.                            <td class=\"text-property\">Condition</td>
  1249.                            <td class=\"text-property-infos\">{{ property.condition == null ? '-' : propertyCondition(property.condition) }}</td>
  1250.                        </tr>
  1251.                 {% endif %}
  1252.                 </tbody>
  1253.             </table>
  1254.         </div>
  1255.         <div id=\"exterior-div\" class=\"offset-lg-2 col-lg-8 display-none\">
  1256.             <table class=\"table\">
  1257.                 <tbody>
  1258.                 {% if property.areas is not empty %}
  1259.                     <tr class=\"table-property-first\" style=\"background-color: #f7e7cb;\">
  1260.                         {% for area in property.areas %}
  1261.                             {% if propertyExterior(area.type) is not null %}
  1262.                             <td class=\"text-property-first\">{{ propertyExterior(area.type) }}</td>
  1263.                             <td class=\"text-property-infos\">{{ area.number }}</td>
  1264.                             {% endif %}
  1265.                         {% endfor %}
  1266.                     </tr>
  1267.                 {% endif %}
  1268.                 </tbody>
  1269.             </table>
  1270.         </div>
  1271.         <div id=\"energy-div\" class=\"offset-lg-2 col-lg-8 display-none\">
  1272.             <table class=\"table\">
  1273.                 <tbody>
  1274.             {% if property.regulations is not empty %}
  1275.                 <tr class=\"table-property-first\" style=\"background-color: #f7e7cb;\">
  1276.                     {% for energy in property.regulations %}
  1277.                         <td class=\"text-property-first\">{{ propertyEnergy(energy.type) }}</td>
  1278.                         <td class=\"text-property-infos\">{{ energy.value }}</td>
  1279.                     {% endfor %}
  1280.                 </tr>
  1281.             {% endif %}
  1282.                 </tbody>
  1283.             </table>
  1284.         </div>
  1285.     </section>
  1286.     #}
  1287.     <section class=\"similar-properties\">
  1288.         {% set sectionContent1 = content('Bien-detail', 'Section-1') %}
  1289.         <div class=\"col-lg-8 mx-auto div-svg-header pre-section\">
  1290.             <div class=\"col-lg-5\" style=\"font-size: 2.3em;display: flex;flex-direction: column;margin-left: 10px;\">
  1291.                 <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
  1292.                     <path id=\"Tracé_76\" data-name=\"Tracé 76\" d=\"M682.759,232.441h-9.089v14.77l9.089-1.931Z\" transform=\"translate(-673.669 -232.441)\" fill=\"#f6a400\"/>
  1293.                 </svg>
  1294.                 <h1 class=\"project-title\" style=\"font-weight: bold\">{% if sectionContent1.name is defined %}{{ sectionContent1.name }}{% else %}NOS BIENS SIMILAIRES{% endif %}</h1>
  1295.             </div>
  1296.             <div class=\"separator\"></div>
  1297.             <div class=\"col-lg-6 pre-section-content\">
  1298.                 {% if sectionContent1.content is defined %}{{ sectionContent1.content|raw }}{% endif %}
  1299.             </div>
  1300.         </div>
  1301.         <div  class=\"col-lg-8 mx-auto\">
  1302.             <div id=\"propertiesOther\" class=\"col-lg-12\" style=\"display: flex; flex-wrap: wrap; flex-direction: row\">
  1303.                 {% for property in otherProperties %}
  1304.                     <div class=\"other col-xl-4 col-lg-6 col-md-12 col-sm-12 div-img-hover-2\" style=\"cursor: pointer\">
  1305.                         {#
  1306.                         <div class=\"div-hover-2\" id=\"div-hover-2\" aria-haspopup=\"true\" style=\"position: absolute; bottom: 8px; left: 9px; background-color: #242424; color: white; width: 291px; height: 70px\">
  1307.                                                         {% if property.comments[0].comment is not empty %}
  1308.                                                             <p class=\"project-content\">
  1309.                                                                 {{ property.comments[0].comment|slice(0, 350) }}</p>
  1310.                                                             <a href=\"{{ path('property-detail', {'id': property.id}) }}\" class=\"project-arrow-2\">
  1311.                                                                 <span class=\"galerry-ref\"></span><i class=\"fas fa-arrow-right project-svg-arrow-2\"></i>
  1312.                                                             </a>
  1313.                                                         {% else %}
  1314.                                                             <a style=\"margin-top: 180px\" href=\"{{ path('property-detail', {'id': property.id}) }}\" class=\"project-arrow-2\">
  1315.                                                                 <span class=\"galerry-ref\"></span><i class=\"fas fa-arrow-right project-svg-arrow-2\"></i>
  1316.                                                             </a>
  1317.                                                         {% endif %}
  1318.                                                     </div>
  1319.                                                     <div class=\"col-lg-3 properties-price-absolute\" style=\"background-color: #c48300; height: 56px;\">
  1320.                                                         <p style=\"font-size: 20px;\" class=\"properties-price\">
  1321.                                                             {{ property.price.value == null ? '<span style=\"font-size: 14px !important;\">sur demande</span>' : property.price.value ~  property.price.currency|replace({\"EUR\": \" €\"})  }}
  1322.                                                         </p>
  1323.                                                     </div>
  1324.                         #}
  1325.                         {# <div class=\"tag-ref-projet-2\"><span class=\"text-tag-ref\">{{ specialPropertyCategory(property.category) }}</span></div> #}
  1326.                         {% if property.pictures is not empty %}
  1327.                             <div class=\"position-relative properties-slide slick-slide-single-{{ loop.index }}\">
  1328.                                 {% for picture in property.pictures|slice(0,3) %}
  1329.                                     {#                                    <img class=\"img-100\" src=\"{{ picture.url }}\">#}
  1330.                                     {% set url = 'http' in picture.url ? picture.url : asset('uploads/images/properties/'~property.id~'/'~picture.url) %}
  1331.                                     <div class=\"img\" style=\"background: url('{{ url }}')no-repeat center;background-size:cover;\"  onclick=\"location.href='{{ path('property-detail', {'id': property.id}) }}'\">
  1332.                                     </div>
  1333.                                 {% endfor %}
  1334.                             </div>
  1335.                         {% else %}
  1336.                         <div class=\"position-relative properties-slide slick-slide-single-{{ loop.index }}\">
  1337.                             <div class=\"img\" style=\"background-image: url('{{ asset('build/Hudson_Ontario2.png') }}')\"></div>
  1338.                         </div>
  1339.                         {% endif %}
  1340.                         <a href=\"{{ path('property-detail', {'id': property.id}) }}\">
  1341.                         <div class=\"row col-md-12 justify-content-between infos-list\">
  1342.                             <ul class=\"col-md-4 items\">
  1343.                                 {% if property.area.value %}
  1344.                                     <li class=\"item surface\">
  1345.                                         {# <img src=\"{{ asset('img/surface.svg') }}\" class=\"surface-logo\">  #}
  1346.                                         {{ property.area.value == null ? '' : property.area.value ~ areaConversion(property.area.unit) }}
  1347.                                     </li>
  1348.                                 {% endif %}
  1349.                             </ul>
  1350.                             <div class=\"col-md-8 properties-price d-flex justify-content-end\">
  1351.                                 {{ property.price.value == null ? '<span style=\"font-size: 21px !important;\">sur demande</span>' : property.price.value|number_format(2, ',', ' ') ~  property.price.currency|replace({\"EUR\": \" €\"})  }}
  1352.                             </div>
  1353.                         </div>
  1354.                         <p class=\"city\" {% if not property.area.value %}style=\"margin-top:-30px;\"{% endif %}>{{ property.city.name }}</p>
  1355.                         <p class=\"project-name\">{{ property.reference }}</p>
  1356.                         </a>
  1357.                     </div>
  1358.                 {% endfor %}
  1359.             </div>
  1360.             {% set paramUrl = property.category %}
  1361.             {% if paramUrl == 1 %}
  1362.                 {% set paramUrl = 'vente' %}
  1363.             {% elseif paramUrl == 2 %}
  1364.                 {% set paramUrl = 'location' %}
  1365.             {% endif %}
  1366.             <div id=\"link-none\" class=\"col-lg-12 mx-auto other-property-link div-svg-header d-flex justify-content-end\" style=\"margin-top:0;\">
  1367.                 <div style=\"padding-bottom:40px;\">
  1368.                     <a id=\"link-none-a d-flex\" class=\"property-span-arrow\" href=\"{{ path('properties', {'keyword': paramUrl}) }}\">Découvrir plus
  1369.                         <svg class=\"svg-inline--fa fa-arrow-right fa-w-14 property-arrow\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fas\" data-icon=\"arrow-right\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\" data-fa-i2svg=\"\"><path fill=\"currentColor\" d=\"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z\"></path></svg><!-- <i class=\"fas fa-arrow-right property-arrow\"></i> Font Awesome fontawesome.com -->
  1370.                     </a>
  1371.                 </div>
  1372.             </div>
  1373.         </div>
  1374.     </section>
  1375.     <script src=\"https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.min.js\" integrity=\"sha384-+sLIOodYLS7CIrQpBjl+C7nPvqq+FbNUBDunl/OZv93DB7Ln/533i8e/mZXLi/P+\" crossorigin=\"anonymous\"></script>
  1376.     <script>
  1377.         const slideNextHeader = document.getElementById('slideNextHeader');
  1378.         const slidePreviousHeader = document.getElementById('slidePreviousHeader');
  1379.         const currentFigure = document.getElementsByClassName('current-figure')
  1380.         const lastFigure = document.getElementsByClassName('last-figure')
  1381.         let slideHeader = document.getElementById('sliderHeader');
  1382.         let positionHeader = 0;
  1383.         let positionThumbHeader = 1;
  1384.         arraySlidesHeader = [
  1385.             {% for key, picture in property.pictures %}
  1386.             {% set url = 'http' in picture.url ? picture.url : asset('uploads/images/properties/'~property.id~'/'~picture.url) %}
  1387.             {
  1388.                 'position': {{ key }},
  1389.                 'img': '{{ url }}',
  1390.                 'dot': 'dot{{ key }}'
  1391.             },
  1392.             {% endfor %}
  1393.         ];
  1394.         {#
  1395.         slidePreviousHeader.addEventListener('click', () => {
  1396.                     if (arraySlidesHeader.length < (positionThumbHeader  + 1)) {
  1397.                         positionHeader = 0;
  1398.                         positionThumbHeader = 1;
  1399.                     } else {
  1400.                         positionHeader++;
  1401.                         positionThumbHeader++;
  1402.                     }
  1403.                     slideHeader.style.background =  `url(\${arraySlidesHeader[positionHeader].img})no-repeat center`;
  1404.                     currentFigure[0].innerHTML = '0'+positionThumbHeader
  1405.                     slideHeader.style.backgroundSize = `cover`;
  1406.                 });
  1407.                 slideNextHeader.addEventListener('click', () => {
  1408.                     if (positionThumbHeader === 1) {
  1409.                         positionHeader = (arraySlidesHeader.length - 1);
  1410.                         positionThumbHeader = arraySlidesHeader.length;
  1411.                     } else {
  1412.                         positionHeader = positionHeader - 1;
  1413.                         positionThumbHeader = positionThumbHeader - 1;
  1414.                     }
  1415.                     slideHeader.style.background =  `url(\${arraySlidesHeader[positionHeader].img})no-repeat center`;
  1416.                     currentFigure[0].innerHTML = '0'+positionThumbHeader
  1417.                     slideHeader.style.backgroundSize = `cover`;
  1418.                 });
  1419.         #}
  1420.         const descriptif = document.getElementById('descriptif-div')
  1421.         const praticalInfos = document.getElementById('practical-infos-div')
  1422.         const interior = document.getElementById('interior-div')
  1423.         const exterior = document.getElementById('exterior-div')
  1424.         const energy = document.getElementById('energy-div')
  1425.         let buttons = document.getElementsByClassName('projectButton')
  1426.         for (const eElement of buttons) {
  1427.             eElement.addEventListener('click', function (e) {
  1428.                 e.preventDefault()
  1429.                 for (let button of buttons) {
  1430.                     if (button.classList.contains('all')){
  1431.                         button.classList.remove('all')
  1432.                         button.classList.add('come')
  1433.                         button.querySelector('span').classList.replace('span-all', 'span-projects')
  1434.                     }
  1435.                     if (document.getElementById(button.dataset.id)) {
  1436.                         document.getElementById(button.dataset.id).classList.remove('display-flex')
  1437.                         document.getElementById(button.dataset.id).classList.add('display-none')
  1438.                     }
  1439.                 }
  1440.                 eElement.classList.remove('come')
  1441.                 eElement.classList.add('all')
  1442.                 eElement.querySelector('span').classList.replace('span-projects', 'span-all')
  1443.                 document.getElementById(eElement.dataset.id).classList.add('display-flex');
  1444.             })
  1445.         }
  1446.     </script>
  1447.     <script>
  1448.         const arrowPrev = `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"7.985\" height=\"13.211\" viewBox=\"0 0 7.985 13.211\">
  1449.                                 <path id=\"np_arrow-up_888648_000000\" d=\"M13.211,1.381l-6.606,6.6L0,1.381,1.381,0,6.606,5.022h0L11.83,0Z\" transform=\"translate(7.985) rotate(90)\" fill=\"#fff\"/>
  1450.                             </svg>`;
  1451.         const arrowNext= `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"7.985\" height=\"13.211\" viewBox=\"0 0 7.985 13.211\">
  1452.                             <path id=\"np_arrow-up_888648_000000\" d=\"M13.211,1.381l-6.606,6.6L0,1.381,1.381,0,6.606,5.022h0L11.83,0Z\" transform=\"translate(7.985) rotate(90)\" fill=\"#fff\"/>
  1453.                         </svg>`;
  1454.         var countProperties = '{{ otherProperties|length }}';
  1455.         var loopProp = 1;
  1456.         while (loopProp <= countProperties) {
  1457.             \$('.slick-slide-single-'+loopProp).slick({
  1458.                 'slidesToShow': 1,
  1459.                 'prevArrow': `<div class=\"arrow-left square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowPrev}</div>`,
  1460.                 'nextArrow': `<div class=\"arrow-right square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowNext}</div>`
  1461.             });
  1462.             loopProp++;
  1463.         }
  1464.     </script>
  1465. {% endblock %}
  1466. ""property-detail.html.twig""/home/fuzxzwq/www/templates/property-detail.html.twig");
  1467.     }
  1468. }