var/cache/dev/twig/66/66f56a9e077d476cce17024fb357fedb57e8fcd8f497c6e779bbd4484804bba3.php line 40

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* property-detail.html.twig */
  14. class __TwigTemplate_253be1f0b3732bcd01f2736c308ad51bb3e34385b52ed44c7de93b12889bc616 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'metaDescription' => [$this'block_metaDescription'],
  25.             'body' => [$this'block_body'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "base.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""property-detail.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""property-detail.html.twig"));
  40.         $this->parent $this->loadTemplate("base.html.twig""property-detail.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_title($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  55.         echo "Détails - ";
  56.         echo twig_escape_filter($this->envtwig_get_attribute($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);
  57.         
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  59.         
  60.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  61.     }
  62.     // line 4
  63.     public function block_metaDescription($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  70.         // line 5
  71.         echo "
  72.     <meta name=\"description\" content=\"
  73.     ";
  74.         // line 7
  75.         if (twig_get_attribute($this->env$this->source, ($context["property"] ?? null), "reference", [], "any"truetruefalse7)) {
  76.             // line 8
  77.             echo "        ";
  78.             echo twig_escape_filter($this->envtwig_get_attribute($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);
  79.             echo "
  80.     ";
  81.         } else {
  82.             // line 10
  83.             echo "         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.
  84.     ";
  85.         }
  86.         // line 12
  87.         echo "    \">
  88. ";
  89.         
  90.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  91.         
  92.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  93.     }
  94.     // line 15
  95.     public function block_body($context, array $blocks = [])
  96.     {
  97.         $macros $this->macros;
  98.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  99.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  100.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  101.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  102.         // line 16
  103.         echo "    <style>
  104.         .d-block {
  105.             background-size:cover;
  106.         }
  107.     </style>
  108.     <header  class=\"header-habiter slider-home slider-not-home who-is bottom-right-border position-relative to-right overflow-hidden\">
  109.         <div id=\"carouselExampleControls\" class=\"carousel slide\" data-ride=\"carousel\">
  110.             <div class=\"carousel-inner\">
  111.                 ";
  112.         // line 25
  113.         $context['_parent'] = $context;
  114.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'25$this->source); })()), "pictures", [], "any"falsefalsefalse25));
  115.         $context['loop'] = [
  116.           'parent' => $context['_parent'],
  117.           'index0' => 0,
  118.           'index'  => 1,
  119.           'first'  => true,
  120.         ];
  121.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  122.             $length count($context['_seq']);
  123.             $context['loop']['revindex0'] = $length 1;
  124.             $context['loop']['revindex'] = $length;
  125.             $context['loop']['length'] = $length;
  126.             $context['loop']['last'] = === $length;
  127.         }
  128.         foreach ($context['_seq'] as $context["_key"] => $context["picture"]) {
  129.             // line 26
  130.             echo "                    <div class=\"carousel-item ";
  131.             if (twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse26)) {
  132.                 echo "active";
  133.             }
  134.             echo "\">
  135.                         <div class=\"d-block w-100\" style=\"background: url(";
  136.             // line 27
  137.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse27), "html"nulltrue);
  138.             echo ")no-repeat center;\"></div>
  139.                     </div>
  140.                 ";
  141.             ++$context['loop']['index0'];
  142.             ++$context['loop']['index'];
  143.             $context['loop']['first'] = false;
  144.             if (isset($context['loop']['length'])) {
  145.                 --$context['loop']['revindex0'];
  146.                 --$context['loop']['revindex'];
  147.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  148.             }
  149.         }
  150.         $_parent $context['_parent'];
  151.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['picture'], $context['_parent'], $context['loop']);
  152.         $context array_intersect_key($context$_parent) + $_parent;
  153.         // line 30
  154.         echo "            </div>
  155.             <a class=\"carousel-control-prev\" href=\"#carouselExampleControls\" role=\"button\" data-slide=\"prev\">
  156.                 <span class=\"carousel-control-prev-icon\" aria-hidden=\"true\"></span>
  157.                 <span class=\"sr-only\">Previous</span>
  158.             </a>
  159.             <a class=\"carousel-control-next\" href=\"#carouselExampleControls\" role=\"button\" data-slide=\"next\">
  160.                 <span class=\"carousel-control-next-icon\" aria-hidden=\"true\"></span>
  161.                 <span class=\"sr-only\">Next</span>
  162.             </a>
  163.         </div>
  164.     </header>
  165.     ";
  166.         // line 112
  167.         echo "
  168.     ";
  169.         // line 125
  170.         echo "
  171.     ";
  172.         // line 149
  173.         echo "
  174.     <section class=\"items-property-single mt-5 mb-5 pb-5\">
  175.         <div class=\"row col-lg-10 mx-auto justify-content-center\">
  176.             ";
  177.         // line 152
  178.         if ((twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'152$this->source); })()), "type", [], "any"falsefalsefalse152) && $this->extensions['App\Twig\ContentExtension']->getTypeProperty(twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'152$this->source); })()), "type", [], "any"falsefalsefalse152)))) {
  179.             // line 153
  180.             echo "                <div class=\"item-single\">
  181.                     ";
  182.             // line 155
  183.             echo "                    <span style=\"font-weight: bold;color:#F6A400;\">";
  184.             echo twig_escape_filter($this->env$this->extensions['App\Twig\ContentExtension']->getTypeProperty(twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'155$this->source); })()), "type", [], "any"falsefalsefalse155)), "html"nulltrue);
  185.             echo "</span>
  186.                 </div>
  187.                 ";
  188.             // line 157
  189.             if ((((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'157$this->source); })()), "construction", [], "any"falsefalsefalse157), "construction_year", [], "any"falsefalsefalse157) || twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'157$this->source); })()), "available_at", [], "any"falsefalsefalse157)) || twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'157$this->source); })()), "bedrooms", [], "any"falsefalsefalse157)) || twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'157$this->source); })()), "area", [], "any"falsefalsefalse157), "value", [], "any"falsefalsefalse157))) {
  190.                 // line 158
  191.                 echo "                    <div style=\"width:40px;\">
  192.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  193.                     </div>
  194.                 ";
  195.             }
  196.             // line 162
  197.             echo "            ";
  198.         }
  199.         // line 163
  200.         echo "            ";
  201.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'163$this->source); })()), "area", [], "any"falsefalsefalse163), "value", [], "any"falsefalsefalse163)) {
  202.             // line 164
  203.             echo "                <div class=\"item-single\">
  204.                     ";
  205.             // line 166
  206.             echo "                    <span>";
  207.             (((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'166$this->source); })()), "area", [], "any"falsefalsefalse166), "value", [], "any"falsefalsefalse166), null))) ? (print ("")) : (print (twig_escape_filter($this->env, (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'166$this->source); })()), "area", [], "any"falsefalsefalse166), "value", [], "any"falsefalsefalse166) . $this->extensions['App\Twig\ContentExtension']->areaConversion(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'166$this->source); })()), "area", [], "any"falsefalsefalse166), "unit", [], "any"falsefalsefalse166))), "html"nulltrue))));
  208.             echo "</span>
  209.                 </div>
  210.                 ";
  211.             // line 168
  212.             if (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'168$this->source); })()), "construction", [], "any"falsefalsefalse168), "construction_year", [], "any"falsefalsefalse168) || twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'168$this->source); })()), "available_at", [], "any"falsefalsefalse168)) || twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'168$this->source); })()), "bedrooms", [], "any"falsefalsefalse168))) {
  213.                 // line 169
  214.                 echo "                    <div style=\"width:40px;\">
  215.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  216.                     </div>
  217.                 ";
  218.             }
  219.             // line 173
  220.             echo "            ";
  221.         }
  222.         // line 174
  223.         echo "            ";
  224.         if (twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'174$this->source); })()), "bedrooms", [], "any"falsefalsefalse174)) {
  225.             // line 175
  226.             echo "                <div class=\"item-single\">
  227.                     ";
  228.             // line 177
  229.             echo "                    <span>";
  230.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'177$this->source); })()), "bedrooms", [], "any"falsefalsefalse177), "html"nulltrue);
  231.             echo " chambre";
  232.             if ((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'177$this->source); })()), "bedrooms", [], "any"falsefalsefalse177), 1))) {
  233.                 echo "s";
  234.             }
  235.             echo "</span>
  236.                 </div>
  237.                 ";
  238.             // line 179
  239.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'179$this->source); })()), "construction", [], "any"falsefalsefalse179), "construction_year", [], "any"falsefalsefalse179) || twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'179$this->source); })()), "available_at", [], "any"falsefalsefalse179))) {
  240.                 // line 180
  241.                 echo "                    <div style=\"width:40px;\">
  242.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  243.                     </div>
  244.                 ";
  245.             }
  246.             // line 184
  247.             echo "            ";
  248.         }
  249.         // line 185
  250.         echo "            ";
  251.         $context['_parent'] = $context;
  252.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($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); })()), "areas", [], "any"falsefalsefalse185));
  253.         foreach ($context['_seq'] as $context["_key"] => $context["area"]) {
  254.             // line 186
  255.             echo "                ";
  256.             if ((=== twig_compare(twig_get_attribute($this->env$this->source$context["area"], "type", [], "any"falsefalsefalse186), 13))) {
  257.                 // line 187
  258.                 echo "                    <div class=\"item-single\">
  259.                         ";
  260.                 // line 189
  261.                 echo "                        <span>";
  262.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["area"], "number", [], "any"falsefalsefalse189), "html"nulltrue);
  263.                 echo " ";
  264.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ContentExtension']->propertyArea(twig_get_attribute($this->env$this->source$context["area"], "type", [], "any"falsefalsefalse189)), "html"nulltrue);
  265.                 echo "</span>
  266.                     </div>
  267.                     <div style=\"width:40px;\">
  268.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  269.                     </div>
  270.                 ";
  271.             }
  272.             // line 195
  273.             echo "            ";
  274.         }
  275.         $_parent $context['_parent'];
  276.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['area'], $context['_parent'], $context['loop']);
  277.         $context array_intersect_key($context$_parent) + $_parent;
  278.         // line 196
  279.         echo "            ";
  280.         $context['_parent'] = $context;
  281.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'196$this->source); })()), "areas", [], "any"falsefalsefalse196));
  282.         foreach ($context['_seq'] as $context["_key"] => $context["area"]) {
  283.             // line 197
  284.             echo "                ";
  285.             if ((=== twig_compare(twig_get_attribute($this->env$this->source$context["area"], "type", [], "any"falsefalsefalse197), 4))) {
  286.                 // line 198
  287.                 echo "                    <div class=\"item-single\">
  288.                         ";
  289.                 // line 200
  290.                 echo "                        <span>";
  291.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["area"], "number", [], "any"falsefalsefalse200), "html"nulltrue);
  292.                 echo " ";
  293.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ContentExtension']->propertyArea(twig_get_attribute($this->env$this->source$context["area"], "type", [], "any"falsefalsefalse200)), "html"nulltrue);
  294.                 echo "</span>
  295.                     </div>
  296.                     <div style=\"width:40px;\">
  297.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  298.                     </div>
  299.                 ";
  300.             }
  301.             // line 206
  302.             echo "            ";
  303.         }
  304.         $_parent $context['_parent'];
  305.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['area'], $context['_parent'], $context['loop']);
  306.         $context array_intersect_key($context$_parent) + $_parent;
  307.         // line 207
  308.         echo "            ";
  309.         $context['_parent'] = $context;
  310.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'207$this->source); })()), "areas", [], "any"falsefalsefalse207));
  311.         foreach ($context['_seq'] as $context["_key"] => $context["area"]) {
  312.             // line 208
  313.             echo "                ";
  314.             if (((=== twig_compare(twig_get_attribute($this->env$this->source$context["area"], "type", [], "any"falsefalsefalse208), 74)) || (=== twig_compare(twig_get_attribute($this->env$this->source$context["area"], "type", [], "any"falsefalsefalse208), 75)))) {
  315.                 // line 209
  316.                 echo "                    <div class=\"item-single\">
  317.                         ";
  318.                 // line 211
  319.                 echo "                        <span>";
  320.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["area"], "number", [], "any"falsefalsefalse211), "html"nulltrue);
  321.                 echo " ";
  322.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ContentExtension']->propertyArea(twig_get_attribute($this->env$this->source$context["area"], "type", [], "any"falsefalsefalse211)), "html"nulltrue);
  323.                 echo "</span>
  324.                     </div>
  325.                     <div style=\"width:40px;\">
  326.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  327.                     </div>
  328.                 ";
  329.             }
  330.             // line 217
  331.             echo "            ";
  332.         }
  333.         $_parent $context['_parent'];
  334.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['area'], $context['_parent'], $context['loop']);
  335.         $context array_intersect_key($context$_parent) + $_parent;
  336.         // line 218
  337.         echo "            ";
  338.         $context['_parent'] = $context;
  339.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'218$this->source); })()), "areas", [], "any"falsefalsefalse218));
  340.         foreach ($context['_seq'] as $context["_key"] => $context["area"]) {
  341.             // line 219
  342.             echo "                ";
  343.             if ((=== twig_compare(twig_get_attribute($this->env$this->source$context["area"], "type", [], "any"falsefalsefalse219), 18))) {
  344.                 // line 220
  345.                 echo "                    <div class=\"item-single\">
  346.                         ";
  347.                 // line 222
  348.                 echo "                        <span>";
  349.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["area"], "number", [], "any"falsefalsefalse222), "html"nulltrue);
  350.                 echo " ";
  351.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ContentExtension']->propertyArea(twig_get_attribute($this->env$this->source$context["area"], "type", [], "any"falsefalsefalse222)), "html"nulltrue);
  352.                 echo "</span>
  353.                     </div>
  354.                     <div style=\"width:40px;\">
  355.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  356.                     </div>
  357.                 ";
  358.             }
  359.             // line 228
  360.             echo "            ";
  361.         }
  362.         $_parent $context['_parent'];
  363.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['area'], $context['_parent'], $context['loop']);
  364.         $context array_intersect_key($context$_parent) + $_parent;
  365.         // line 229
  366.         echo "            ";
  367.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'229$this->source); })()), "construction", [], "any"falsefalsefalse229), "construction_year", [], "any"falsefalsefalse229)) {
  368.             // line 230
  369.             echo "                <div class=\"item-single\">
  370.                     ";
  371.             // line 232
  372.             echo "                    <span>Construction : ";
  373.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'232$this->source); })()), "construction", [], "any"falsefalsefalse232), "construction_year", [], "any"falsefalsefalse232), "html"nulltrue);
  374.             echo "</span>
  375.                 </div>
  376.                 ";
  377.             // line 234
  378.             if (twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'234$this->source); })()), "available_at", [], "any"falsefalsefalse234)) {
  379.                 // line 235
  380.                 echo "                    <div style=\"width:40px;\">
  381.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  382.                     </div>
  383.                 ";
  384.             }
  385.             // line 239
  386.             echo "            ";
  387.         }
  388.         // line 240
  389.         echo "            ";
  390.         if (twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'240$this->source); })()), "available_at", [], "any"falsefalsefalse240)) {
  391.             // line 241
  392.             echo "                <div class=\"item-single availability\">
  393.                     ";
  394.             // line 243
  395.             echo "                    <span>Disponibilité ";
  396.             (((=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'243$this->source); })()), "available_at", [], "any"falsefalsefalse243), null))) ? (print ("-")) : (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'243$this->source); })()), "available_at", [], "any"falsefalsefalse243), "html"nulltrue))));
  397.             echo "</span>
  398.                 </div>
  399.             ";
  400.         }
  401.         // line 246
  402.         echo "        </div>
  403.     </section>
  404.     <section class=\"desc-property mt-5\">
  405.         <div class=\"col-lg-8 mx-auto\" style=\"overflow: hidden\">
  406.             <div class=\"row reverse-mobil\">
  407.                 <div class=\"col-md-4\">
  408.                     <div class=\"col-lg-12 mt-4\" style=\"display: flex;flex-direction: column;margin:0 10px;\">
  409.                         <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
  410.                             <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\"/>
  411.                         </svg>
  412.                         <h1 class=\"project-title\" style=\"font-size: 2.3em;font-weight: bold\">Descriptif</h1>
  413.                         <p class=\"city\">";
  414.         // line 258
  415.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'258$this->source); })()), "city", [], "any"falsefalsefalse258), "name", [], "any"falsefalsefalse258), "html"nulltrue);
  416.         echo "</p>
  417.                         <p class=\"project-name\">";
  418.         // line 259
  419.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'259$this->source); })()), "reference", [], "any"falsefalsefalse259), "html"nulltrue);
  420.         echo "</p>
  421.                         ";
  422.         // line 261
  423.         if ((twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'261$this->source); })()), "regulations", [], "any"falsefalsefalse261) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'261$this->source); })()), "regulations", [], "any"falsefalsefalse261)))) {
  424.             // line 262
  425.             echo "                            <p class=\"project-name\">DPE : <strong>";
  426.             $context['_parent'] = $context;
  427.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'262$this->source); })()), "regulations", [], "any"falsefalsefalse262));
  428.             foreach ($context['_seq'] as $context["_key"] => $context["regulation"]) {
  429.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["regulation"], "value", [], "any"falsefalsefalse262), "html"nulltrue);
  430.             }
  431.             $_parent $context['_parent'];
  432.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['regulation'], $context['_parent'], $context['loop']);
  433.             $context array_intersect_key($context$_parent) + $_parent;
  434.             echo "</strong>
  435.                         ";
  436.         }
  437.         // line 264
  438.         echo "
  439.                         </p>
  440.                         <p class=\"price\" style=\"color:#F6A400\">
  441.                             ";
  442.         // line 267
  443.         (((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'267$this->source); })()), "price", [], "any"falsefalsefalse267), "value", [], "any"falsefalsefalse267), null))) ? (print ("<span style=\"font-size: 14px !important;\">sur demande</span>")) : (print (twig_escape_filter($this->env, (twig_number_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'267$this->source); })()), "price", [], "any"falsefalsefalse267), "value", [], "any"falsefalsefalse267), 2","" ") . twig_replace_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'267$this->source); })()), "price", [], "any"falsefalsefalse267), "currency", [], "any"falsefalsefalse267), ["EUR" => " €"])), "html"nulltrue))));
  444.         echo "
  445.                         </p>
  446.                         <div class=\"col-md-10 row list-pictures\">
  447.                             ";
  448.         // line 271
  449.         $context['_parent'] = $context;
  450.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'271$this->source); })()), "pictures", [], "any"falsefalsefalse271));
  451.         $context['loop'] = [
  452.           'parent' => $context['_parent'],
  453.           'index0' => 0,
  454.           'index'  => 1,
  455.           'first'  => true,
  456.         ];
  457.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  458.             $length count($context['_seq']);
  459.             $context['loop']['revindex0'] = $length 1;
  460.             $context['loop']['revindex'] = $length;
  461.             $context['loop']['length'] = $length;
  462.             $context['loop']['last'] = === $length;
  463.         }
  464.         foreach ($context['_seq'] as $context["_key"] => $context["picture"]) {
  465.             // line 272
  466.             echo "                                <div class=\"modal fade bd-example-modal-lg-";
  467.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["picture"], "id", [], "any"falsefalsefalse272), "html"nulltrue);
  468.             echo "\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myLargeModalLabel\" aria-hidden=\"true\">
  469.                                     <div class=\"modal-dialog modal-lg\">
  470.                                         <div class=\"modal-content\">
  471.                                             <img src=\"";
  472.             // line 275
  473.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse275), "html"nulltrue);
  474.             echo "\">
  475.                                         </div>
  476.                                     </div>
  477.                                 </div>
  478.                                 <div class=\"col-6 col-md-4 lightbox-on-second\"  data-toggle=\"modal\" data-target=\".bd-example-modal-lg-";
  479.             // line 279
  480.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["picture"], "id", [], "any"falsefalsefalse279), "html"nulltrue);
  481.             echo "\" style=\"margin-bottom:10px;\">
  482.                                     <img class=\"img\"
  483.                                          src=\"";
  484.             // line 281
  485.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse281), "html"nulltrue);
  486.             echo "\"
  487.                                          data-id=\"modul-ref-";
  488.             // line 282
  489.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse282), "html"nulltrue);
  490.             echo "\">
  491.                                 </div>
  492.                             ";
  493.             ++$context['loop']['index0'];
  494.             ++$context['loop']['index'];
  495.             $context['loop']['first'] = false;
  496.             if (isset($context['loop']['length'])) {
  497.                 --$context['loop']['revindex0'];
  498.                 --$context['loop']['revindex'];
  499.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  500.             }
  501.         }
  502.         $_parent $context['_parent'];
  503.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['picture'], $context['_parent'], $context['loop']);
  504.         $context array_intersect_key($context$_parent) + $_parent;
  505.         // line 285
  506.         echo "                        </div>
  507.                         ";
  508.         // line 287
  509.         if ((twig_get_attribute($this->env$this->source, ($context["property"] ?? null), "user", [], "any"truetruefalse287) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'287$this->source); })()), "user", [], "any"falsefalsefalse287)))) {
  510.             // line 288
  511.             echo "                            <div class=\"contact-property col-md-10 mt-4 p-3\">
  512.                                 <p>Pour plus d’informations sur ce bien, vous pouvez prendre contact avec</p>
  513.                                 ";
  514.             // line 290
  515.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["property"] ?? null), "user", [], "any"falsetruefalse290), "firstname", [], "any"truetruefalse290) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["property"] ?? null), "user", [], "any"falsetruefalse290), "lastname", [], "any"truetruefalse290))) {
  516.                 // line 291
  517.                 echo "                                    <h3>";
  518.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'291$this->source); })()), "user", [], "any"falsefalsefalse291), "firstname", [], "any"falsefalsefalse291), "html"nulltrue);
  519.                 echo " ";
  520.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'291$this->source); })()), "user", [], "any"falsefalsefalse291), "lastname", [], "any"falsefalsefalse291), "html"nulltrue);
  521.                 echo "</h3>
  522.                                 ";
  523.             }
  524.             // line 293
  525.             echo "                            </div>
  526.                             <div class=\"contacinfos col-md-10 p-3 d-flex justify-content-between\">
  527.                                 ";
  528.             // line 295
  529.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["property"] ?? null), "user", [], "any"falsetruefalse295), "email", [], "any"truetruefalse295)) {
  530.                 // line 296
  531.                 echo "                                <a href=\"mailto:";
  532.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'296$this->source); })()), "user", [], "any"falsefalsefalse296), "email", [], "any"falsefalsefalse296), "html"nulltrue);
  533.                 echo "\" target=\"_blank\">
  534.                                     <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"21.418\" height=\"14.503\" viewBox=\"0 0 21.418 14.503\">
  535.                                         <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\"/>
  536.                                     </svg>
  537.                                 </a>
  538.                                 ";
  539.             }
  540.             // line 302
  541.             echo "                                ";
  542.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["property"] ?? null), "user", [], "any"falsetruefalse302), "mobile", [], "any"truetruefalse302)) {
  543.                 // line 303
  544.                 echo "                                <a href=\"tel:";
  545.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'303$this->source); })()), "user", [], "any"falsefalsefalse303), "mobile", [], "any"falsefalsefalse303), "html"nulltrue);
  546.                 echo "\" style=\"text-decoration:none;color:#fff;\">
  547.                                     <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\">
  548.                                         <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\"/>
  549.                                     </svg>
  550.                                     ";
  551.                 // line 307
  552.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'307$this->source); })()), "user", [], "any"falsefalsefalse307), "mobile", [], "any"falsefalsefalse307), "html"nulltrue);
  553.                 echo "
  554.                                 </a>
  555.                                 ";
  556.             }
  557.             // line 310
  558.             echo "                            </div>
  559.                         ";
  560.         }
  561.         // line 312
  562.         echo "                    </div>
  563.                 </div>
  564.                 <div class=\"col-md-8 description-prop-container\">
  565.                     <div class=\"description-prop pt-3\">
  566.                         <p>";
  567.         // line 316
  568.         echo twig_nl2br(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'316$this->source); })()), "comments", [], "any"falsefalsefalse316), 0, [], "array"falsefalsefalse316), "comment", [], "any"falsefalsefalse316));
  569.         echo "</p>
  570.                     </div>
  571.                 </div>
  572.             </div>
  573.         </div>
  574.     </section>
  575.     ";
  576.         // line 435
  577.         echo "
  578.     <section class=\"similar-properties\">
  579.         ";
  580.         // line 438
  581.         $context["sectionContent1"] = $this->extensions['App\Twig\ContentExtension']->Content("Bien-detail""Section-1");
  582.         // line 439
  583.         echo "        <div class=\"col-lg-8 mx-auto div-svg-header pre-section\">
  584.             <div class=\"col-lg-5\" style=\"font-size: 2.3em;display: flex;flex-direction: column;margin-left: 10px;\">
  585.                 <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
  586.                     <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\"/>
  587.                 </svg>
  588.                 <h1 class=\"project-title\" style=\"font-weight: bold\">";
  589.         // line 444
  590.         if (twig_get_attribute($this->env$this->source, ($context["sectionContent1"] ?? null), "name", [], "any"truetruefalse444)) {
  591.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["sectionContent1"]) || array_key_exists("sectionContent1"$context) ? $context["sectionContent1"] : (function () { throw new RuntimeError('Variable "sectionContent1" does not exist.'444$this->source); })()), "name", [], "any"falsefalsefalse444), "html"nulltrue);
  592.         } else {
  593.             echo "NOS BIENS SIMILAIRES";
  594.         }
  595.         echo "</h1>
  596.             </div>
  597.             <div class=\"separator\"></div>
  598.             <div class=\"col-lg-6 pre-section-content\">
  599.                 ";
  600.         // line 448
  601.         if (twig_get_attribute($this->env$this->source, ($context["sectionContent1"] ?? null), "content", [], "any"truetruefalse448)) {
  602.             echo twig_get_attribute($this->env$this->source, (isset($context["sectionContent1"]) || array_key_exists("sectionContent1"$context) ? $context["sectionContent1"] : (function () { throw new RuntimeError('Variable "sectionContent1" does not exist.'448$this->source); })()), "content", [], "any"falsefalsefalse448);
  603.         }
  604.         // line 449
  605.         echo "            </div>
  606.         </div>
  607.         <div  class=\"col-lg-8 mx-auto\">
  608.             <div id=\"propertiesOther\" class=\"col-lg-12 mt-5\" style=\"display: flex; flex-wrap: wrap; flex-direction: row\">
  609.                 ";
  610.         // line 455
  611.         $context['_parent'] = $context;
  612.         $context['_seq'] = twig_ensure_traversable((isset($context["otherProperties"]) || array_key_exists("otherProperties"$context) ? $context["otherProperties"] : (function () { throw new RuntimeError('Variable "otherProperties" does not exist.'455$this->source); })()));
  613.         $context['loop'] = [
  614.           'parent' => $context['_parent'],
  615.           'index0' => 0,
  616.           'index'  => 1,
  617.           'first'  => true,
  618.         ];
  619.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  620.             $length count($context['_seq']);
  621.             $context['loop']['revindex0'] = $length 1;
  622.             $context['loop']['revindex'] = $length;
  623.             $context['loop']['length'] = $length;
  624.             $context['loop']['last'] = === $length;
  625.         }
  626.         foreach ($context['_seq'] as $context["_key"] => $context["property"]) {
  627.             // line 456
  628.             echo "                    <div  class=\"col-xl-4 col-lg-6 col-md-12 col-sm-12 div-img-hover-2\" style=\"cursor: pointer\">
  629.                         ";
  630.             // line 479
  631.             echo "
  632.                         ";
  633.             // line 482
  634.             echo "                        ";
  635.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["property"], "pictures", [], "any"falsefalsefalse482))) {
  636.                 // line 483
  637.                 echo "                            <div class=\"position-relative properties-slide slick-slide-single-";
  638.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse483), "html"nulltrue);
  639.                 echo "\">
  640.                                 ";
  641.                 // line 484
  642.                 $context['_parent'] = $context;
  643.                 $context['_seq'] = twig_ensure_traversable(twig_slice($this->envtwig_get_attribute($this->env$this->source$context["property"], "pictures", [], "any"falsefalsefalse484), 03));
  644.                 foreach ($context['_seq'] as $context["_key"] => $context["picture"]) {
  645.                     // line 485
  646.                     echo "                                    ";
  647.                     // line 486
  648.                     echo "                                    <div class=\"img\" style=\"background: url('";
  649.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse486), "html"nulltrue);
  650.                     echo "')no-repeat center;background-size:cover;\"  onclick=\"location.href='";
  651.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("property-detail", ["id" => twig_get_attribute($this->env$this->source$context["property"], "id", [], "any"falsefalsefalse486)]), "html"nulltrue);
  652.                     echo "'\">
  653.                                     </div>
  654.                                 ";
  655.                 }
  656.                 $_parent $context['_parent'];
  657.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['picture'], $context['_parent'], $context['loop']);
  658.                 $context array_intersect_key($context$_parent) + $_parent;
  659.                 // line 489
  660.                 echo "                            </div>
  661.                         ";
  662.             } else {
  663.                 // line 492
  664.                 echo "                            <div class=\"img\" style=\"background-image: url('";
  665.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/Hudson_Ontario2.png"), "html"nulltrue);
  666.                 echo "')\"></div>
  667.                         ";
  668.             }
  669.             // line 494
  670.             echo "                        <div class=\"row col-md-12 justify-content-between infos-list\">
  671.                             <ul class=\"col-md-4 items\">
  672.                                 ";
  673.             // line 496
  674.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "area", [], "any"falsefalsefalse496), "value", [], "any"falsefalsefalse496)) {
  675.                 // line 497
  676.                 echo "                                    <li class=\"item surface\">
  677.                                         ";
  678.                 // line 499
  679.                 echo "                                        ";
  680.                 (((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "area", [], "any"falsefalsefalse499), "value", [], "any"falsefalsefalse499), null))) ? (print ("")) : (print (twig_escape_filter($this->env, (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "area", [], "any"falsefalsefalse499), "value", [], "any"falsefalsefalse499) . $this->extensions['App\Twig\ContentExtension']->areaConversion(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "area", [], "any"falsefalsefalse499), "unit", [], "any"falsefalsefalse499))), "html"nulltrue))));
  681.                 echo "
  682.                                     </li>
  683.                                 ";
  684.             }
  685.             // line 502
  686.             echo "                            </ul>
  687.                             <div class=\"col-md-8 properties-price d-flex justify-content-end\">
  688.                                 ";
  689.             // line 504
  690.             (((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "price", [], "any"falsefalsefalse504), "value", [], "any"falsefalsefalse504), null))) ? (print ("<span style=\"font-size: 21px !important;\">sur demande</span>")) : (print (twig_escape_filter($this->env, (twig_number_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "price", [], "any"falsefalsefalse504), "value", [], "any"falsefalsefalse504), 2","" ") . twig_replace_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "price", [], "any"falsefalsefalse504), "currency", [], "any"falsefalsefalse504), ["EUR" => " €"])), "html"nulltrue))));
  691.             echo "
  692.                             </div>
  693.                         </div>
  694.                         <p class=\"city\" ";
  695.             // line 507
  696.             if ( !twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "area", [], "any"falsefalsefalse507), "value", [], "any"falsefalsefalse507)) {
  697.                 echo "style=\"margin-top:-30px;\"";
  698.             }
  699.             echo ">";
  700.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["property"], "city", [], "any"falsefalsefalse507), "name", [], "any"falsefalsefalse507), "html"nulltrue);
  701.             echo "</p>
  702.                         <p class=\"project-name\">";
  703.             // line 508
  704.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["property"], "reference", [], "any"falsefalsefalse508), "html"nulltrue);
  705.             echo "</p>
  706.                     </div>
  707.                 ";
  708.             ++$context['loop']['index0'];
  709.             ++$context['loop']['index'];
  710.             $context['loop']['first'] = false;
  711.             if (isset($context['loop']['length'])) {
  712.                 --$context['loop']['revindex0'];
  713.                 --$context['loop']['revindex'];
  714.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  715.             }
  716.         }
  717.         $_parent $context['_parent'];
  718.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['property'], $context['_parent'], $context['loop']);
  719.         $context array_intersect_key($context$_parent) + $_parent;
  720.         // line 512
  721.         echo "            </div>
  722.             ";
  723.         // line 513
  724.         $context["paramUrl"] = twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'513$this->source); })()), "category", [], "any"falsefalsefalse513);
  725.         // line 514
  726.         echo "            ";
  727.         if ((=== twig_compare((isset($context["paramUrl"]) || array_key_exists("paramUrl"$context) ? $context["paramUrl"] : (function () { throw new RuntimeError('Variable "paramUrl" does not exist.'514$this->source); })()), 1))) {
  728.             // line 515
  729.             echo "                ";
  730.             $context["paramUrl"] = "vente";
  731.             // line 516
  732.             echo "            ";
  733.         } elseif ((=== twig_compare((isset($context["paramUrl"]) || array_key_exists("paramUrl"$context) ? $context["paramUrl"] : (function () { throw new RuntimeError('Variable "paramUrl" does not exist.'516$this->source); })()), 2))) {
  734.             // line 517
  735.             echo "                ";
  736.             $context["paramUrl"] = "location";
  737.             // line 518
  738.             echo "            ";
  739.         }
  740.         // line 519
  741.         echo "            <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;\">
  742.                 <div style=\"padding-bottom:40px;\">
  743.                     <a id=\"link-none-a d-flex\" class=\"property-span-arrow\" href=\"";
  744.         // line 521
  745.         echo twig_escape_filter($this->env$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.'521$this->source); })())]), "html"nulltrue);
  746.         echo "\">Découvrir plus
  747.                         <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 -->
  748.                     </a>
  749.                 </div>
  750.             </div>
  751.         </div>
  752.     </section>
  753.     <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>
  754.     <script>
  755.         const slideNextHeader = document.getElementById('slideNextHeader');
  756.         const slidePreviousHeader = document.getElementById('slidePreviousHeader');
  757.         const currentFigure = document.getElementsByClassName('current-figure')
  758.         const lastFigure = document.getElementsByClassName('last-figure')
  759.         let slideHeader = document.getElementById('sliderHeader');
  760.         let positionHeader = 0;
  761.         let positionThumbHeader = 1;
  762.         arraySlidesHeader = [
  763.             ";
  764.         // line 541
  765.         $context['_parent'] = $context;
  766.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'541$this->source); })()), "pictures", [], "any"falsefalsefalse541));
  767.         foreach ($context['_seq'] as $context["key"] => $context["picture"]) {
  768.             // line 542
  769.             echo "            {
  770.                 'position': ";
  771.             // line 543
  772.             echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  773.             echo ",
  774.                 'img': '";
  775.             // line 544
  776.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["picture"], "url", [], "any"falsefalsefalse544), "html"nulltrue);
  777.             echo "',
  778.                 'dot': 'dot";
  779.             // line 545
  780.             echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  781.             echo "'
  782.             },
  783.             ";
  784.         }
  785.         $_parent $context['_parent'];
  786.         unset($context['_seq'], $context['_iterated'], $context['key'], $context['picture'], $context['_parent'], $context['loop']);
  787.         $context array_intersect_key($context$_parent) + $_parent;
  788.         // line 548
  789.         echo "        ];
  790.         ";
  791.         // line 581
  792.         echo "
  793.         const descriptif = document.getElementById('descriptif-div')
  794.         const praticalInfos = document.getElementById('practical-infos-div')
  795.         const interior = document.getElementById('interior-div')
  796.         const exterior = document.getElementById('exterior-div')
  797.         const energy = document.getElementById('energy-div')
  798.         let buttons = document.getElementsByClassName('projectButton')
  799.         for (const eElement of buttons) {
  800.             eElement.addEventListener('click', function (e) {
  801.                 e.preventDefault()
  802.                 for (let button of buttons) {
  803.                     if (button.classList.contains('all')){
  804.                         button.classList.remove('all')
  805.                         button.classList.add('come')
  806.                         button.querySelector('span').classList.replace('span-all', 'span-projects')
  807.                     }
  808.                     if (document.getElementById(button.dataset.id)) {
  809.                         document.getElementById(button.dataset.id).classList.remove('display-flex')
  810.                         document.getElementById(button.dataset.id).classList.add('display-none')
  811.                     }
  812.                 }
  813.                 eElement.classList.remove('come')
  814.                 eElement.classList.add('all')
  815.                 eElement.querySelector('span').classList.replace('span-projects', 'span-all')
  816.                 document.getElementById(eElement.dataset.id).classList.add('display-flex');
  817.             })
  818.         }
  819.     </script>
  820.     <script>
  821.         const arrowPrev = `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"7.985\" height=\"13.211\" viewBox=\"0 0 7.985 13.211\">
  822.                                 <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\"/>
  823.                             </svg>`;
  824.         const arrowNext= `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"7.985\" height=\"13.211\" viewBox=\"0 0 7.985 13.211\">
  825.                             <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\"/>
  826.                         </svg>`;
  827.         var countProperties = '";
  828.         // line 623
  829.         echo twig_escape_filter($this->envtwig_length_filter($this->env, (isset($context["otherProperties"]) || array_key_exists("otherProperties"$context) ? $context["otherProperties"] : (function () { throw new RuntimeError('Variable "otherProperties" does not exist.'623$this->source); })())), "html"nulltrue);
  830.         echo "';
  831.         var loopProp = 1;
  832.         while (loopProp <= countProperties) {
  833.             \$('.slick-slide-single-'+loopProp).slick({
  834.                 'slidesToShow': 1,
  835.                 'prevArrow': `<div class=\"arrow-left square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowPrev}</div>`,
  836.                 'nextArrow': `<div class=\"arrow-right square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowNext}</div>`
  837.             });
  838.             loopProp++;
  839.         }
  840.     </script>
  841. ";
  842.         
  843.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  844.         
  845.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  846.     }
  847.     public function getTemplateName()
  848.     {
  849.         return "property-detail.html.twig";
  850.     }
  851.     public function isTraitable()
  852.     {
  853.         return false;
  854.     }
  855.     public function getDebugInfo()
  856.     {
  857.         return array (  880 => 623,  836 => 581,  832 => 548,  823 => 545,  819 => 544,  815 => 543,  812 => 542,  808 => 541,  785 => 521,  781 => 519,  778 => 518,  775 => 517,  772 => 516,  769 => 515,  766 => 514,  764 => 513,  761 => 512,  743 => 508,  735 => 507,  729 => 504,  725 => 502,  718 => 499,  715 => 497,  713 => 496,  709 => 494,  703 => 492,  698 => 489,  686 => 486,  684 => 485,  680 => 484,  675 => 483,  672 => 482,  668 => 479,  665 => 456,  648 => 455,  640 => 449,  636 => 448,  625 => 444,  618 => 439,  616 => 438,  611 => 435,  599 => 316,  593 => 312,  589 => 310,  583 => 307,  575 => 303,  572 => 302,  562 => 296,  560 => 295,  556 => 293,  548 => 291,  546 => 290,  542 => 288,  540 => 287,  536 => 285,  519 => 282,  515 => 281,  510 => 279,  503 => 275,  496 => 272,  479 => 271,  472 => 267,  467 => 264,  454 => 262,  452 => 261,  447 => 259,  443 => 258,  429 => 246,  422 => 243,  419 => 241,  416 => 240,  413 => 239,  407 => 235,  405 => 234,  399 => 232,  396 => 230,  393 => 229,  387 => 228,  375 => 222,  372 => 220,  369 => 219,  364 => 218,  358 => 217,  346 => 211,  343 => 209,  340 => 208,  335 => 207,  329 => 206,  317 => 200,  314 => 198,  311 => 197,  306 => 196,  300 => 195,  288 => 189,  285 => 187,  282 => 186,  277 => 185,  274 => 184,  268 => 180,  266 => 179,  256 => 177,  253 => 175,  250 => 174,  247 => 173,  241 => 169,  239 => 168,  233 => 166,  230 => 164,  227 => 163,  224 => 162,  218 => 158,  216 => 157,  210 => 155,  207 => 153,  205 => 152,  200 => 149,  197 => 125,  193 => 112,  179 => 30,  162 => 27,  155 => 26,  138 => 25,  127 => 16,  117 => 15,  106 => 12,  102 => 10,  96 => 8,  94 => 7,  90 => 5,  80 => 4,  60 => 3,  37 => 1,);
  858.     }
  859.     public function getSourceContext()
  860.     {
  861.         return new Source("{% extends 'base.html.twig' %}
  862. {% block title %}Détails - {{ property.reference }}{% endblock %}
  863. {% block metaDescription %}
  864.     <meta name=\"description\" content=\"
  865.     {% if property.reference is defined %}
  866.         {{ property.reference }}
  867.     {% else %}
  868.          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.
  869.     {% endif %}
  870.     \">
  871. {% endblock %}
  872. {% block body %}
  873.     <style>
  874.         .d-block {
  875.             background-size:cover;
  876.         }
  877.     </style>
  878.     <header  class=\"header-habiter slider-home slider-not-home who-is bottom-right-border position-relative to-right overflow-hidden\">
  879.         <div id=\"carouselExampleControls\" class=\"carousel slide\" data-ride=\"carousel\">
  880.             <div class=\"carousel-inner\">
  881.                 {% for picture in property.pictures %}
  882.                     <div class=\"carousel-item {% if loop.first %}active{% endif %}\">
  883.                         <div class=\"d-block w-100\" style=\"background: url({{ picture.url }})no-repeat center;\"></div>
  884.                     </div>
  885.                 {% endfor %}
  886.             </div>
  887.             <a class=\"carousel-control-prev\" href=\"#carouselExampleControls\" role=\"button\" data-slide=\"prev\">
  888.                 <span class=\"carousel-control-prev-icon\" aria-hidden=\"true\"></span>
  889.                 <span class=\"sr-only\">Previous</span>
  890.             </a>
  891.             <a class=\"carousel-control-next\" href=\"#carouselExampleControls\" role=\"button\" data-slide=\"next\">
  892.                 <span class=\"carousel-control-next-icon\" aria-hidden=\"true\"></span>
  893.                 <span class=\"sr-only\">Next</span>
  894.             </a>
  895.         </div>
  896.     </header>
  897.     {#
  898.     <header class=\"header-habiter slider-home slider-not-home who-is bottom-right-border position-relative overflow-hidden to-right lightbox-on\"
  899.     id=\"sliderHeader\"
  900.     style=\"background: url({{property.pictures[0].url}}) center center no-repeat;background-size:cover; position: relative; height: 91vh; cursor: zoom-in;\"
  901.     data-id=\"modul-ref\">
  902.         <div class=\"container-fluid\" style=\"padding: 0\">
  903.             <div class=\"col-lg-4 mx-auto\" style=\"display: none;\">
  904.                 <div class=\"arrows-slides\" style=\"display: flex; justify-content: space-between; margin-top: 20px; align-items: center; position: absolute\">
  905.                     <div class=\"arrow-right\" id=\"slideNextHeader\"><a><i class=\"fas fa-arrow-left\"></i></a></div>
  906.                     <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>
  907.                     <div class=\"arrow-left\" id=\"slidePreviousHeader\"><a><i class=\"fas fa-arrow-right\"></i></a></div>
  908.                 </div>
  909.             </div>
  910.             {#
  911.             <div class=\"col-lg-12 property-detail-header\" style=\"display: flex; position: absolute; bottom: 0px;\">
  912.                <div class=\"col-lg-2 container-properties-header first\"></div>
  913.                <div class=\"col-lg-5 container-properties-header\" style=\"display: flex; align-items: center\">
  914.                    <div class=\"col-lg-3\">
  915.                        <p class=\"properties-city\" >{{ property.city.name }}</p>
  916.                    </div>
  917.                    <div class=\"col-lg-3\">
  918.                        <p class=\"properties-area\" style=\"text-align: center\">{{ property.area.value == null ? '' : property.area.value ~ areaConversion(property.area.unit) }} </p>
  919.                    </div>
  920.                    <div class=\"col-lg-3\">
  921.                        <p class=\"properties-reference-detail\">{{ property.reference }}</p>
  922.                    </div>
  923.                </div>
  924.                <div class=\"col-lg-1 price-detail-bien\" style=\"background-color: #c48300; display: flex; align-items: center; justify-content: center\">
  925.                    <p class=\"properties-price\">
  926.                        {{ property.price.value == null ? '<span style=\"font-size: 14px !important;\">sur demande</span>' : property.price.value ~  property.price.currency|number_format(2, '.', ',')|replace({\"EUR\": \" €\"})  }}
  927.                    </p>
  928.                </div>
  929.            </div>
  930.     </div>
  931.     <div class=\"sticky-text\">Cliquer ici<br/>pour voir toutes les photos</div>
  932.     {% if property.pictures is not empty %}
  933.         <div class=\"lightbox\" id=\"modul-ref\">
  934.             <div class=\"closer\"></div>
  935.             <div class=\"arrows left\">&#8592;</div>
  936.             <div class=\"arrows right\">&#8594;</div>
  937.             <div class=\"counter\">1/1</div>
  938.             <ul class=\"items\">
  939.                 {% for picture in property.pictures %}
  940.                     <li class=\"item\">
  941.                         <img class=\"img\" src=\"{{ picture.url }}\">
  942.                     </li>
  943.                 {% endfor %}
  944.             </ul>
  945.         </div>
  946.     {% endif %}
  947.     {% if property.pictures is not empty %}
  948.         {% for picture in property.pictures %}
  949.             <div class=\"lightbox\" id=\"modul-ref-{{ loop.index }}\">
  950.                 <div class=\"closer\"></div>
  951.                 <ul class=\"items\">
  952.                     <li class=\"item\">
  953.                         <img class=\"img\" src=\"{{ picture.url }}\">
  954.                     </li>
  955.                 </ul>
  956.             </div>
  957.         {% endfor %}
  958.     {% endif %}
  959.     </header>
  960.     #}
  961.     {#
  962.     <div class=\"col-lg-1 infos-person\" style=\"display: flex; position: fixed; right: 274px;\">
  963.         <div class=\"col-lg-12\">
  964.             {% if property.user.picture is null %}
  965.                 <img id=\"img-card\" src=\"{{ asset('build/367e841db1c2c356ba01f78a108a59cb0c18ade2.png') }}\">
  966.             {% else %}
  967.                 <img id=\"img-card\" width=\"161px\" height=\"161px\" src=\"{{ property.user.picture }}\">
  968.             {% endif %}
  969.         </div>
  970.     </div>
  971.     #}
  972.     {#
  973.     <div class=\"col-lg-1 infos-person\" style=\"position: fixed; width: 265px; display: flex; flex-direction: column\">
  974.        <div class=\"col-lg-12 more-informations\">
  975.            <p class=\"p-info-property\">Pour plus d’informations concernant ce bien</p>
  976.            <p class=\"p-first-property\">{{ property.user.firstname }}
  977.                {{ property.user.lastname }}
  978.        </div>
  979.        <div style=\"display: flex\">
  980.            <div class=\"col-lg-2 p-mail-property\">
  981.                <a href=\"mailto:{{ property.user.email }}\">
  982.                    <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>
  983.                </a>
  984.            </div>
  985.            <div class=\"col-lg-10 p-phone-property\">
  986.                <a href=\"tel:{{ property.user.phone }}\">
  987.                    <?xml version=\"1.0\" encoding=\"UTF-8\"?>
  988.                    <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>
  989.                    {{ property.user.phone }}
  990.                </a>
  991.            </div>
  992.        </div>
  993.    </div>
  994.     #}
  995.     <section class=\"items-property-single mt-5 mb-5 pb-5\">
  996.         <div class=\"row col-lg-10 mx-auto justify-content-center\">
  997.             {% if property.type and getTypeProperty(property.type) %}
  998.                 <div class=\"item-single\">
  999.                     {# <img src=\"{{ asset('img/icons/surface.svg') }}\" alt=\"Icone surface\"> #}
  1000.                     <span style=\"font-weight: bold;color:#F6A400;\">{{ getTypeProperty(property.type) }}</span>
  1001.                 </div>
  1002.                 {% if property.construction.construction_year or property.available_at or property.bedrooms or property.area.value %}
  1003.                     <div style=\"width:40px;\">
  1004.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  1005.                     </div>
  1006.                 {% endif %}
  1007.             {% endif %}
  1008.             {% if property.area.value %}
  1009.                 <div class=\"item-single\">
  1010.                     {# <img src=\"{{ asset('img/icons/surface.svg') }}\" alt=\"Icone surface\"> #}
  1011.                     <span>{{ property.area.value == null ? '' : property.area.value ~ areaConversion(property.area.unit) }}</span>
  1012.                 </div>
  1013.                 {% if property.construction.construction_year or property.available_at or property.bedrooms %}
  1014.                     <div style=\"width:40px;\">
  1015.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  1016.                     </div>
  1017.                 {% endif %}
  1018.             {% endif %}
  1019.             {% if property.bedrooms %}
  1020.                 <div class=\"item-single\">
  1021.                     {# <img src=\"{{ asset('img/icons/chambre.svg') }}\" alt=\"Icone chambre\"> #}
  1022.                     <span>{{ property.bedrooms }} chambre{% if property.bedrooms > 1 %}s{% endif %}</span>
  1023.                 </div>
  1024.                 {% if property.construction.construction_year or property.available_at %}
  1025.                     <div style=\"width:40px;\">
  1026.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  1027.                     </div>
  1028.                 {% endif %}
  1029.             {% endif %}
  1030.             {% for area in property.areas %}
  1031.                 {% if area.type == 13 %}
  1032.                     <div class=\"item-single\">
  1033.                         {# <img src=\"{{ asset('img/icons/salle_bain.svg') }}\" alt=\"Icone salle de bain\"> #}
  1034.                         <span>{{ area.number }} {{ propertyArea(area.type) }}</span>
  1035.                     </div>
  1036.                     <div style=\"width:40px;\">
  1037.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  1038.                     </div>
  1039.                 {% endif %}
  1040.             {% endfor %}
  1041.             {% for area in property.areas %}
  1042.                 {% if area.type == 4 %}
  1043.                     <div class=\"item-single\">
  1044.                         {# <img src=\"{{ asset('img/icons/garage.svg') }}\" alt=\"Icone garage\"> #}
  1045.                         <span>{{ area.number }} {{ propertyArea(area.type) }}</span>
  1046.                     </div>
  1047.                     <div style=\"width:40px;\">
  1048.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  1049.                     </div>
  1050.                 {% endif %}
  1051.             {% endfor %}
  1052.             {% for area in property.areas %}
  1053.                 {% if area.type == 74 or area.type == 75 %}
  1054.                     <div class=\"item-single\">
  1055.                         {# <img src=\"{{ asset('img/icons/parking.svg') }}\" alt=\"Icone parking\"> #}
  1056.                         <span>{{ area.number }} {{ propertyArea(area.type) }}</span>
  1057.                     </div>
  1058.                     <div style=\"width:40px;\">
  1059.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  1060.                     </div>
  1061.                 {% endif %}
  1062.             {% endfor %}
  1063.             {% for area in property.areas %}
  1064.                 {% if area.type == 18 %}
  1065.                     <div class=\"item-single\">
  1066.                         {# <img src=\"{{ asset('img/icons/terasse.svg') }}\" alt=\"Icone terasse\"> #}
  1067.                         <span>{{ area.number }} {{ propertyArea(area.type) }}</span>
  1068.                     </div>
  1069.                     <div style=\"width:40px;\">
  1070.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  1071.                     </div>
  1072.                 {% endif %}
  1073.             {% endfor %}
  1074.             {% if property.construction.construction_year %}
  1075.                 <div class=\"item-single\">
  1076.                     {# <img src=\"{{ asset('img/icons/construction.svg') }}\" alt=\"Icone date construction\"> #}
  1077.                     <span>Construction : {{ property.construction.construction_year }}</span>
  1078.                 </div>
  1079.                 {% if property.available_at %}
  1080.                     <div style=\"width:40px;\">
  1081.                         <div style=\"width:4px;height:25px;background:#5f5f5f\"></div>
  1082.                     </div>
  1083.                 {% endif %}
  1084.             {% endif %}
  1085.             {% if property.available_at %}
  1086.                 <div class=\"item-single availability\">
  1087.                     {# <img src=\"{{ asset('img/icons/dispo.svg') }}\" alt=\"Icone disponibilité\"> #}
  1088.                     <span>Disponibilité {{ property.available_at == null ? '-' : property.available_at}}</span>
  1089.                 </div>
  1090.             {% endif %}
  1091.         </div>
  1092.     </section>
  1093.     <section class=\"desc-property mt-5\">
  1094.         <div class=\"col-lg-8 mx-auto\" style=\"overflow: hidden\">
  1095.             <div class=\"row reverse-mobil\">
  1096.                 <div class=\"col-md-4\">
  1097.                     <div class=\"col-lg-12 mt-4\" style=\"display: flex;flex-direction: column;margin:0 10px;\">
  1098.                         <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
  1099.                             <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\"/>
  1100.                         </svg>
  1101.                         <h1 class=\"project-title\" style=\"font-size: 2.3em;font-weight: bold\">Descriptif</h1>
  1102.                         <p class=\"city\">{{ property.city.name }}</p>
  1103.                         <p class=\"project-name\">{{ property.reference }}</p>
  1104.                         {% if property.regulations and property.regulations is not empty %}
  1105.                             <p class=\"project-name\">DPE : <strong>{% for regulation in property.regulations %}{{ regulation.value }}{% endfor %}</strong>
  1106.                         {% endif %}
  1107.                         </p>
  1108.                         <p class=\"price\" style=\"color:#F6A400\">
  1109.                             {{ property.price.value == null ? '<span style=\"font-size: 14px !important;\">sur demande</span>' : property.price.value|number_format(2, ',', ' ') ~  property.price.currency|replace({\"EUR\": \" €\"})  }}
  1110.                         </p>
  1111.                         <div class=\"col-md-10 row list-pictures\">
  1112.                             {% for picture in property.pictures %}
  1113.                                 <div class=\"modal fade bd-example-modal-lg-{{ picture.id }}\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myLargeModalLabel\" aria-hidden=\"true\">
  1114.                                     <div class=\"modal-dialog modal-lg\">
  1115.                                         <div class=\"modal-content\">
  1116.                                             <img src=\"{{ picture.url }}\">
  1117.                                         </div>
  1118.                                     </div>
  1119.                                 </div>
  1120.                                 <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;\">
  1121.                                     <img class=\"img\"
  1122.                                          src=\"{{ picture.url }}\"
  1123.                                          data-id=\"modul-ref-{{ loop.index }}\">
  1124.                                 </div>
  1125.                             {% endfor %}
  1126.                         </div>
  1127.                         {% if property.user is defined and property.user is not empty %}
  1128.                             <div class=\"contact-property col-md-10 mt-4 p-3\">
  1129.                                 <p>Pour plus d’informations sur ce bien, vous pouvez prendre contact avec</p>
  1130.                                 {% if property.user.firstname is defined and property.user.lastname is defined %}
  1131.                                     <h3>{{ property.user.firstname }} {{ property.user.lastname }}</h3>
  1132.                                 {% endif %}
  1133.                             </div>
  1134.                             <div class=\"contacinfos col-md-10 p-3 d-flex justify-content-between\">
  1135.                                 {% if property.user.email is defined %}
  1136.                                 <a href=\"mailto:{{ property.user.email }}\" target=\"_blank\">
  1137.                                     <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"21.418\" height=\"14.503\" viewBox=\"0 0 21.418 14.503\">
  1138.                                         <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\"/>
  1139.                                     </svg>
  1140.                                 </a>
  1141.                                 {% endif %}
  1142.                                 {% if property.user.mobile is defined %}
  1143.                                 <a href=\"tel:{{ property.user.mobile }}\" style=\"text-decoration:none;color:#fff;\">
  1144.                                     <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\">
  1145.                                         <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\"/>
  1146.                                     </svg>
  1147.                                     {{ property.user.mobile }}
  1148.                                 </a>
  1149.                                 {% endif %}
  1150.                             </div>
  1151.                         {% endif %}
  1152.                     </div>
  1153.                 </div>
  1154.                 <div class=\"col-md-8 description-prop-container\">
  1155.                     <div class=\"description-prop pt-3\">
  1156.                         <p>{{ property.comments[0].comment|raw|nl2br }}</p>
  1157.                     </div>
  1158.                 </div>
  1159.             </div>
  1160.         </div>
  1161.     </section>
  1162.     {#
  1163.     <section class=\"project\" style=\"margin-bottom: 120px\">
  1164.         <div class=\"col-lg-8 mx-auto div-svg-header\" style=\"display: flex; align-items: center; margin-top: 20px\">
  1165.         </div>
  1166.         <div class=\"col-lg-8 mx-auto div-svg-header\" style=\"display: flex; align-items: center; padding-left: 7px\">
  1167.             <button data-id=\"descriptif-div\" class=\"btn btn-primary all border-radius projectButton\"><span class=\"span-all\">DESCRIPTIF</span></button>
  1168.             <button data-id=\"practical-infos-div\" class=\"btn btn-primary come border-radius projectButton\"><span class=\"span-projects\">INFOS PRATIQUES</span></button>
  1169.             <button data-id=\"interior-div\" class=\"btn btn-primary come border-radius projectButton\"><span class=\"span-projects\">INTERIEUR</span></button>
  1170.             <button data-id=\"exterior-div\" class=\"btn btn-primary come border-radius projectButton\"><span class=\"span-projects\">EXTERIEUR</span></button>
  1171.             <button data-id=\"energy-div\" class=\"btn btn-primary come border-radius projectButton\"><span class=\"span-projects\">ENERGIE</span></button>
  1172.         </div>
  1173.         <div id=\"descriptif-div\" class=\"offset-lg-2 col-lg-4 property-comment display-flex\">
  1174.             <p>{{ property.comments[0].comment|raw|nl2br }}</p>
  1175.         </div>
  1176.         <div id=\"practical-infos-div\" class=\"offset-lg-2 col-lg-8 display-none\" style=\"flex-wrap: wrap;\">
  1177.             <table class=\"table\">
  1178.                 <tbody>
  1179.                 <tr class=\"table-property-first\" style=\"background-color: #f7e7cb;\">
  1180.                     {% if property.services is not null %}
  1181.                     {% for service in property.services %}
  1182.                     <td class=\"text-property-infos\">{{ propertyServices(service) }}</td>
  1183.                     {% endfor %}
  1184.                     {% endif %}
  1185.                 </tr>
  1186.                 </tbody>
  1187.             </table>
  1188.         </div>
  1189.         <div id=\"interior-div\" class=\"offset-lg-2 col-lg-8 display-none\">
  1190.             <table class=\"table\">
  1191.                 <tbody>
  1192.                 <tr class=\"table-property-first\" style=\"background-color: #f7e7cb;\">
  1193.                     <td class=\"text-property\">Surface</td>
  1194.                     <td class=\"text-property-infos\">{{ property.area.value == null ? '' : property.area.value ~ areaConversion(property.area.unit) }}</td>
  1195.                     <td class=\"text-property\">Eau</td>
  1196.                     <td class=\"text-property-infos\">{{ propertyHotWater(property.water.hot_device) == null ? '-' : propertyHotWater(property.water.hot_device) ~ \" \" ~ propertyHotWaterAccess(property.water.hot_access)  }}</td>
  1197.                     <td class=\"text-property\">An Construction</td>
  1198.                     <td class=\"text-property-infos\">{{ property.construction.construction_year == null ? '-' :  property.construction.construction_year }}</td>
  1199.                 </tr>
  1200.                {% if property.areas is empty %}
  1201.                    <tr>
  1202.                        <td class=\"text-property\">Condition</td>
  1203.                        <td class=\"text-property-infos\">{{ property.condition == null ? '-' : propertyCondition(property.condition) }}</td>
  1204.                    </tr>
  1205.                    <tr class=\"table-property-first\" style=\"background-color: #f7e7cb;\">
  1206.                        <td class=\"text-property\">Etage</td>
  1207.                        <td class=\"text-property-infos\">{{ property.floor.type == null ? '-' : propertyFloor(property.floor.type) }}</td>
  1208.                        <td class=\"text-property\">Chauffage</td>
  1209.                        <td class=\"text-property-infos\">{{ propertyHeatingDevice(property.heating.device) == null ? '-' : propertyHeatingDevice(property.heating.device) ~ \" \" ~ propertyHeatingType(property.heating.type)  }}</td>
  1210.                        <td class=\"text-property\">Disponibilite</td>
  1211.                        <td class=\"text-property-infos\">{{ property.available_at == null ? '-' : property.available_at}}</td>
  1212.                    </tr>
  1213.                    {% else %}
  1214.                        <tr>
  1215.                            {% for area in property.areas %}
  1216.                                {% if propertyArea(area.type) is not null %}
  1217.                                    <td class=\"text-property-first\">{{ propertyArea(area.type) }}</td>
  1218.                                    <td class=\"text-property-infos\">{{ area.number }}</td>
  1219.                                {% endif %}
  1220.                            {% endfor %}
  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.                        <tr>
  1231.                            <td class=\"text-property\">Condition</td>
  1232.                            <td class=\"text-property-infos\">{{ property.condition == null ? '-' : propertyCondition(property.condition) }}</td>
  1233.                        </tr>
  1234.                 {% endif %}
  1235.                 </tbody>
  1236.             </table>
  1237.         </div>
  1238.         <div id=\"exterior-div\" class=\"offset-lg-2 col-lg-8 display-none\">
  1239.             <table class=\"table\">
  1240.                 <tbody>
  1241.                 {% if property.areas is not empty %}
  1242.                     <tr class=\"table-property-first\" style=\"background-color: #f7e7cb;\">
  1243.                         {% for area in property.areas %}
  1244.                             {% if propertyExterior(area.type) is not null %}
  1245.                             <td class=\"text-property-first\">{{ propertyExterior(area.type) }}</td>
  1246.                             <td class=\"text-property-infos\">{{ area.number }}</td>
  1247.                             {% endif %}
  1248.                         {% endfor %}
  1249.                     </tr>
  1250.                 {% endif %}
  1251.                 </tbody>
  1252.             </table>
  1253.         </div>
  1254.         <div id=\"energy-div\" class=\"offset-lg-2 col-lg-8 display-none\">
  1255.             <table class=\"table\">
  1256.                 <tbody>
  1257.             {% if property.regulations is not empty %}
  1258.                 <tr class=\"table-property-first\" style=\"background-color: #f7e7cb;\">
  1259.                     {% for energy in property.regulations %}
  1260.                         <td class=\"text-property-first\">{{ propertyEnergy(energy.type) }}</td>
  1261.                         <td class=\"text-property-infos\">{{ energy.value }}</td>
  1262.                     {% endfor %}
  1263.                 </tr>
  1264.             {% endif %}
  1265.                 </tbody>
  1266.             </table>
  1267.         </div>
  1268.     </section>
  1269.     #}
  1270.     <section class=\"similar-properties\">
  1271.         {% set sectionContent1 = content('Bien-detail', 'Section-1') %}
  1272.         <div class=\"col-lg-8 mx-auto div-svg-header pre-section\">
  1273.             <div class=\"col-lg-5\" style=\"font-size: 2.3em;display: flex;flex-direction: column;margin-left: 10px;\">
  1274.                 <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"9.089\" height=\"14.77\" viewBox=\"0 0 9.089 14.77\">
  1275.                     <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\"/>
  1276.                 </svg>
  1277.                 <h1 class=\"project-title\" style=\"font-weight: bold\">{% if sectionContent1.name is defined %}{{ sectionContent1.name }}{% else %}NOS BIENS SIMILAIRES{% endif %}</h1>
  1278.             </div>
  1279.             <div class=\"separator\"></div>
  1280.             <div class=\"col-lg-6 pre-section-content\">
  1281.                 {% if sectionContent1.content is defined %}{{ sectionContent1.content|raw }}{% endif %}
  1282.             </div>
  1283.         </div>
  1284.         <div  class=\"col-lg-8 mx-auto\">
  1285.             <div id=\"propertiesOther\" class=\"col-lg-12 mt-5\" style=\"display: flex; flex-wrap: wrap; flex-direction: row\">
  1286.                 {% for property in otherProperties %}
  1287.                     <div  class=\"col-xl-4 col-lg-6 col-md-12 col-sm-12 div-img-hover-2\" style=\"cursor: pointer\">
  1288.                         {#
  1289.                         <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\">
  1290.                                                         {% if property.comments[0].comment is not empty %}
  1291.                                                             <p class=\"project-content\">
  1292.                                                                 {{ property.comments[0].comment|slice(0, 350) }}</p>
  1293.                                                             <a href=\"{{ path('property-detail', {'id': property.id}) }}\" class=\"project-arrow-2\">
  1294.                                                                 <span class=\"galerry-ref\"></span><i class=\"fas fa-arrow-right project-svg-arrow-2\"></i>
  1295.                                                             </a>
  1296.                                                         {% else %}
  1297.                                                             <a style=\"margin-top: 180px\" href=\"{{ path('property-detail', {'id': property.id}) }}\" class=\"project-arrow-2\">
  1298.                                                                 <span class=\"galerry-ref\"></span><i class=\"fas fa-arrow-right project-svg-arrow-2\"></i>
  1299.                                                             </a>
  1300.                                                         {% endif %}
  1301.                                                     </div>
  1302.                                                     <div class=\"col-lg-3 properties-price-absolute\" style=\"background-color: #c48300; height: 56px;\">
  1303.                                                         <p style=\"font-size: 20px;\" class=\"properties-price\">
  1304.                                                             {{ property.price.value == null ? '<span style=\"font-size: 14px !important;\">sur demande</span>' : property.price.value ~  property.price.currency|replace({\"EUR\": \" €\"})  }}
  1305.                                                         </p>
  1306.                                                     </div>
  1307.                         #}
  1308.                         {# <div class=\"tag-ref-projet-2\"><span class=\"text-tag-ref\">{{ specialPropertyCategory(property.category) }}</span></div> #}
  1309.                         {% if property.pictures is not empty %}
  1310.                             <div class=\"position-relative properties-slide slick-slide-single-{{ loop.index }}\">
  1311.                                 {% for picture in property.pictures|slice(0,3) %}
  1312.                                     {#                                    <img class=\"img-100\" src=\"{{ picture.url }}\">#}
  1313.                                     <div class=\"img\" style=\"background: url('{{ picture.url }}')no-repeat center;background-size:cover;\"  onclick=\"location.href='{{ path('property-detail', {'id': property.id}) }}'\">
  1314.                                     </div>
  1315.                                 {% endfor %}
  1316.                             </div>
  1317.                         {% else %}
  1318.                             <div class=\"img\" style=\"background-image: url('{{ asset('build/Hudson_Ontario2.png') }}')\"></div>
  1319.                         {% endif %}
  1320.                         <div class=\"row col-md-12 justify-content-between infos-list\">
  1321.                             <ul class=\"col-md-4 items\">
  1322.                                 {% if property.area.value %}
  1323.                                     <li class=\"item surface\">
  1324.                                         {# <img src=\"{{ asset('img/surface.svg') }}\" class=\"surface-logo\">  #}
  1325.                                         {{ property.area.value == null ? '' : property.area.value ~ areaConversion(property.area.unit) }}
  1326.                                     </li>
  1327.                                 {% endif %}
  1328.                             </ul>
  1329.                             <div class=\"col-md-8 properties-price d-flex justify-content-end\">
  1330.                                 {{ property.price.value == null ? '<span style=\"font-size: 21px !important;\">sur demande</span>' : property.price.value|number_format(2, ',', ' ') ~  property.price.currency|replace({\"EUR\": \" €\"})  }}
  1331.                             </div>
  1332.                         </div>
  1333.                         <p class=\"city\" {% if not property.area.value %}style=\"margin-top:-30px;\"{% endif %}>{{ property.city.name }}</p>
  1334.                         <p class=\"project-name\">{{ property.reference }}</p>
  1335.                     </div>
  1336.                 {% endfor %}
  1337.             </div>
  1338.             {% set paramUrl = property.category %}
  1339.             {% if paramUrl == 1 %}
  1340.                 {% set paramUrl = 'vente' %}
  1341.             {% elseif paramUrl == 2 %}
  1342.                 {% set paramUrl = 'location' %}
  1343.             {% endif %}
  1344.             <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;\">
  1345.                 <div style=\"padding-bottom:40px;\">
  1346.                     <a id=\"link-none-a d-flex\" class=\"property-span-arrow\" href=\"{{ path('properties', {'keyword': paramUrl}) }}\">Découvrir plus
  1347.                         <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 -->
  1348.                     </a>
  1349.                 </div>
  1350.             </div>
  1351.         </div>
  1352.     </section>
  1353.     <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>
  1354.     <script>
  1355.         const slideNextHeader = document.getElementById('slideNextHeader');
  1356.         const slidePreviousHeader = document.getElementById('slidePreviousHeader');
  1357.         const currentFigure = document.getElementsByClassName('current-figure')
  1358.         const lastFigure = document.getElementsByClassName('last-figure')
  1359.         let slideHeader = document.getElementById('sliderHeader');
  1360.         let positionHeader = 0;
  1361.         let positionThumbHeader = 1;
  1362.         arraySlidesHeader = [
  1363.             {% for key, picture in property.pictures %}
  1364.             {
  1365.                 'position': {{ key }},
  1366.                 'img': '{{ picture.url }}',
  1367.                 'dot': 'dot{{ key }}'
  1368.             },
  1369.             {% endfor %}
  1370.         ];
  1371.         {#
  1372.         slidePreviousHeader.addEventListener('click', () => {
  1373.                     if (arraySlidesHeader.length < (positionThumbHeader  + 1)) {
  1374.                         positionHeader = 0;
  1375.                         positionThumbHeader = 1;
  1376.                     } else {
  1377.                         positionHeader++;
  1378.                         positionThumbHeader++;
  1379.                     }
  1380.                     slideHeader.style.background =  `url(\${arraySlidesHeader[positionHeader].img})no-repeat center`;
  1381.                     currentFigure[0].innerHTML = '0'+positionThumbHeader
  1382.                     slideHeader.style.backgroundSize = `cover`;
  1383.                 });
  1384.                 slideNextHeader.addEventListener('click', () => {
  1385.                     if (positionThumbHeader === 1) {
  1386.                         positionHeader = (arraySlidesHeader.length - 1);
  1387.                         positionThumbHeader = arraySlidesHeader.length;
  1388.                     } else {
  1389.                         positionHeader = positionHeader - 1;
  1390.                         positionThumbHeader = positionThumbHeader - 1;
  1391.                     }
  1392.                     slideHeader.style.background =  `url(\${arraySlidesHeader[positionHeader].img})no-repeat center`;
  1393.                     currentFigure[0].innerHTML = '0'+positionThumbHeader
  1394.                     slideHeader.style.backgroundSize = `cover`;
  1395.                 });
  1396.         #}
  1397.         const descriptif = document.getElementById('descriptif-div')
  1398.         const praticalInfos = document.getElementById('practical-infos-div')
  1399.         const interior = document.getElementById('interior-div')
  1400.         const exterior = document.getElementById('exterior-div')
  1401.         const energy = document.getElementById('energy-div')
  1402.         let buttons = document.getElementsByClassName('projectButton')
  1403.         for (const eElement of buttons) {
  1404.             eElement.addEventListener('click', function (e) {
  1405.                 e.preventDefault()
  1406.                 for (let button of buttons) {
  1407.                     if (button.classList.contains('all')){
  1408.                         button.classList.remove('all')
  1409.                         button.classList.add('come')
  1410.                         button.querySelector('span').classList.replace('span-all', 'span-projects')
  1411.                     }
  1412.                     if (document.getElementById(button.dataset.id)) {
  1413.                         document.getElementById(button.dataset.id).classList.remove('display-flex')
  1414.                         document.getElementById(button.dataset.id).classList.add('display-none')
  1415.                     }
  1416.                 }
  1417.                 eElement.classList.remove('come')
  1418.                 eElement.classList.add('all')
  1419.                 eElement.querySelector('span').classList.replace('span-projects', 'span-all')
  1420.                 document.getElementById(eElement.dataset.id).classList.add('display-flex');
  1421.             })
  1422.         }
  1423.     </script>
  1424.     <script>
  1425.         const arrowPrev = `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"7.985\" height=\"13.211\" viewBox=\"0 0 7.985 13.211\">
  1426.                                 <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\"/>
  1427.                             </svg>`;
  1428.         const arrowNext= `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"7.985\" height=\"13.211\" viewBox=\"0 0 7.985 13.211\">
  1429.                             <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\"/>
  1430.                         </svg>`;
  1431.         var countProperties = '{{ otherProperties|length }}';
  1432.         var loopProp = 1;
  1433.         while (loopProp <= countProperties) {
  1434.             \$('.slick-slide-single-'+loopProp).slick({
  1435.                 'slidesToShow': 1,
  1436.                 'prevArrow': `<div class=\"arrow-left square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowPrev}</div>`,
  1437.                 'nextArrow': `<div class=\"arrow-right square-black d-flex justify-content-center align-items-center position-absolute\">\${arrowNext}</div>`
  1438.             });
  1439.             loopProp++;
  1440.         }
  1441.     </script>
  1442. {% endblock %}
  1443. ""property-detail.html.twig""/home/jumo/sites/sym/tracol/templates/property-detail.html.twig");
  1444.     }
  1445. }