<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* front_v4/mca/store/single.html.twig */
class __TwigTemplate_31acbd5b007e19f64f2209f3c4222187198ed08d89019e7b1f06196d124f77aa extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
// line 667
$_trait_0 = $this->loadTemplate("front_v4/mca/partials/_modal_prospect.html.twig", "front_v4/mca/store/single.html.twig", 667);
if (!$_trait_0->isTraitable()) {
throw new RuntimeError('Template "'."front_v4/mca/partials/_modal_prospect.html.twig".'" cannot be used as a trait.', 667, $this->source);
}
$_trait_0_blocks = $_trait_0->getBlocks();
if (!isset($_trait_0_blocks["inc_content"])) {
throw new RuntimeError('Block "inc_content" is not defined in trait "front_v4/mca/partials/_modal_prospect.html.twig".', 667, $this->source);
}
$_trait_0_blocks["modal_lead_content"] = $_trait_0_blocks["inc_content"]; unset($_trait_0_blocks["inc_content"]);
// line 732
$_trait_1 = $this->loadTemplate("front_v4/mca/partials/_modal_prospect.html.twig", "front_v4/mca/store/single.html.twig", 732);
if (!$_trait_1->isTraitable()) {
throw new RuntimeError('Template "'."front_v4/mca/partials/_modal_prospect.html.twig".'" cannot be used as a trait.', 732, $this->source);
}
$_trait_1_blocks = $_trait_1->getBlocks();
if (!isset($_trait_1_blocks["inc_javascripts"])) {
throw new RuntimeError('Block "inc_javascripts" is not defined in trait "front_v4/mca/partials/_modal_prospect.html.twig".', 732, $this->source);
}
$_trait_1_blocks["modal_lead_javascripts"] = $_trait_1_blocks["inc_javascripts"]; unset($_trait_1_blocks["inc_javascripts"]);
$this->traits = array_merge(
$_trait_0_blocks,
$_trait_1_blocks
);
$this->blocks = array_merge(
$this->traits,
[
'meta_title' => [$this, 'block_meta_title'],
'meta_description' => [$this, 'block_meta_description'],
'meta_robots' => [$this, 'block_meta_robots'],
'stylesheets' => [$this, 'block_stylesheets'],
'content' => [$this, 'block_content'],
'javascripts' => [$this, 'block_javascripts'],
]
);
}
protected function doGetParent(array $context)
{
// line 1
return "front_v4/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front_v4/mca/store/single.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front_v4/mca/store/single.html.twig"));
$this->parent = $this->loadTemplate("front_v4/base.html.twig", "front_v4/mca/store/single.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_meta_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title"));
// line 4
echo " ";
echo twig_escape_filter($this->env, twig_title_string_filter($this->env, (((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 4, $this->source); })()), "name", [], "any", false, false, false, 4)) > 16)) ? ((twig_slice($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 4, $this->source); })()), "name", [], "any", false, false, false, 4), 0, 16) . "...")) : (twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 4, $this->source); })()), "name", [], "any", false, false, false, 4)))), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 4, $this->source); })()), "fullAddress", [], "any", false, false, false, 4), "html", null, true);
echo " Mon Centre Auditif
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 7
public function block_meta_description($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_description"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_description"));
// line 8
echo " Laboratoire d’audition - ";
echo twig_escape_filter($this->env, (((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 8, $this->source); })()), "name", [], "any", false, false, false, 8)) > 15)) ? ((twig_slice($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 8, $this->source); })()), "name", [], "any", false, false, false, 8), 0, 15) . "...")) : (twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 8, $this->source); })()), "name", [], "any", false, false, false, 8))), "html", null, true);
echo " - ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 8, $this->source); })()), "fullAddress", [], "any", false, false, false, 8), "html", null, true);
echo " - Mon centre auditif
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 11
public function block_meta_robots($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_robots"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_robots"));
// line 12
echo " ";
if ( !twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 12, $this->source); })()), "storePage", [], "any", false, false, false, 12)) {
// line 13
echo " <meta name=\"robots\" content=\"noindex\">
";
} else {
// line 15
echo " ";
$this->displayParentBlock("meta_robots", $context, $blocks);
echo "
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 19
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 20
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("store_single");
echo "
";
// line 21
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("store_page");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 24
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 25
echo " <!-- ========== MAIN CONTENT ========== -->
<main id=\"content\" role=\"main\">
";
// line 28
echo " <div class=\"bg-dark\"
style=\"background-image: url(";
// line 29
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/front_v4/svg/components/wave-pattern-light.svg"), "html", null, true);
echo ");\">
<div class=\"container content-space-1 content-space-lg-2\">
<div class=\"w-lg-65 text-center mx-lg-auto my-5\">
<span class=\"badge bg-warning text-dark rounded-pill mb-3\">Centre Auditif</span>
<p class=\"h1 text-white mb-0\">";
// line 33
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 33, $this->source); })()), "name", [], "any", false, false, false, 33), "html", null, true);
echo "</p>
<p class=\"text-white-70\">Découvrez notre centre auditif, où nous offrons des services personnalisés
pour améliorer votre audition. </p>
<div class=\"text-center my-lg-3\">
";
// line 51
echo " </div>
</div>
</div>
</div>
";
// line 56
echo "
";
// line 58
echo " <div class=\"container content-space-1 content-space-lg-0\">
<div class=\"row\">
<div class=\"col-lg-4 mt-lg-n10 mb-7 mb-lg-0\">
";
// line 62
echo " <div id=\"stickyBlockStartPoint\">
<div class=\"js-sticky-block\" data-hs-sticky-block-options='{
\"parentSelector\": \"#stickyBlockStartPoint\",
\"targetSelector\": \"#header\",
\"breakpoint\": \"lg\",
\"startPoint\": \"#stickyBlockStartPoint\",
\"endPoint\": \"#stickyBlockEndPoint\",
\"stickyOffsetTop\": 20
}'>
<div class=\"card\">
<div class=\"card-header border-bottom text-center\">
";
// line 73
if ( !array_key_exists("image_filter", $context)) {
// line 74
echo " ";
$context["image_filter"] = "brand_logo_medium";
// line 75
echo " ";
}
// line 76
echo "
<img class=\"store-logo\"
";
// line 78
if (twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 78, $this->source); })()), "hasLogo", [], "any", false, false, false, 78)) {
// line 79
echo " src=\"";
echo twig_escape_filter($this->env, $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 79, $this->source); })()), "logoFile"), (isset($context["image_filter"]) || array_key_exists("image_filter", $context) ? $context["image_filter"] : (function () { throw new RuntimeError('Variable "image_filter" does not exist.', 79, $this->source); })())), "html", null, true);
echo "\"
";
} elseif (twig_get_attribute($this->env, $this->source, // line 80
(isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 80, $this->source); })()), "hearingBrand", [], "any", false, false, false, 80)) {
// line 81
echo " src=\"";
echo twig_escape_filter($this->env, $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset(twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 81, $this->source); })()), "hearingBrand", [], "any", false, false, false, 81), "logoFile"), (isset($context["image_filter"]) || array_key_exists("image_filter", $context) ? $context["image_filter"] : (function () { throw new RuntimeError('Variable "image_filter" does not exist.', 81, $this->source); })())), "html", null, true);
echo "\"
";
} else {
// line 83
echo " src=\"";
echo twig_escape_filter($this->env, $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("uploads/images/brand_logo/mca_logo_short.png"), (isset($context["image_filter"]) || array_key_exists("image_filter", $context) ? $context["image_filter"] : (function () { throw new RuntimeError('Variable "image_filter" does not exist.', 83, $this->source); })())), "html", null, true);
echo "\"
";
}
// line 85
echo " style=\"max-width: 100px;\" alt=\"Mon Centre Auditif - ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 85, $this->source); })()), "name", [], "any", false, false, false, 85), "html", null, true);
echo "\"/>
</div>
<div class=\"card-body\">
<dl class=\"row\">
<dt class=\"col-sm-5\">Adresse</dt>
<dd class=\"col-sm-7\">";
// line 91
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 91, $this->source); })()), "address", [], "any", false, false, false, 91), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 91, $this->source); })()), "zipCode", [], "any", false, false, false, 91), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 91, $this->source); })()), "city", [], "any", false, false, false, 91), "html", null, true);
echo "</dd>
</dl>
";
// line 93
if ( !twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 93, $this->source); })()), "isOpenedForProspect", [], "any", false, false, false, 93)) {
// line 94
echo " <dl class=\"row\">
<dt class=\"col-sm-5\">Téléphone</dt>
<dd class=\"col-sm-7\"><a
href=\"tel:";
// line 97
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 97, $this->source); })()), "phoneNumber", [], "any", false, false, false, 97), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\AppExtension']->formatFrenchPhoneNumber(twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 97, $this->source); })()), "phoneNumber", [], "any", false, false, false, 97)), "html", null, true);
echo "</a>
</dd>
</dl>
";
}
// line 101
echo " ";
// line 102
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["store_place_data"] ?? null), "openHoursWeekdayDescriptions", [], "any", true, true, false, 102) && !(null === twig_get_attribute($this->env, $this->source, (isset($context["store_place_data"]) || array_key_exists("store_place_data", $context) ? $context["store_place_data"] : (function () { throw new RuntimeError('Variable "store_place_data" does not exist.', 102, $this->source); })()), "openHoursWeekdayDescriptions", [], "any", false, false, false, 102)))) {
// line 103
echo " <dl class=\"row\">
<dt class=\"col-sm-5 mb-1\">Horaires</dt>
<dd class=\"col-12\">
<table>
";
// line 107
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["store_place_data"]) || array_key_exists("store_place_data", $context) ? $context["store_place_data"] : (function () { throw new RuntimeError('Variable "store_place_data" does not exist.', 107, $this->source); })()), "openHoursWeekdayDescriptions", [], "any", false, false, false, 107));
foreach ($context['_seq'] as $context["_key"] => $context["desc"]) {
// line 108
echo " <tr>
<td class=\"small my-1\">
";
// line 110
echo twig_escape_filter($this->env, $context["desc"], "html", null, true);
echo "
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['desc'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 114
echo " </table>
</dd>
</dl>
";
}
// line 118
echo " ";
// line 119
echo "
";
// line 120
if ((twig_get_attribute($this->env, $this->source, ($context["store_place_data"] ?? null), "nearbyTransit", [], "any", true, true, false, 120) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["store_place_data"]) || array_key_exists("store_place_data", $context) ? $context["store_place_data"] : (function () { throw new RuntimeError('Variable "store_place_data" does not exist.', 120, $this->source); })()), "nearbyTransit", [], "any", false, false, false, 120)))) {
// line 121
echo " ";
// line 122
echo " <dl class=\"row\">
<dt class=\"col-sm-5 col-lg-12 mb-1\">Transport</dt>
<dd class=\"col-sm-7 col-lg-12 \">
<ul class=\"p-0 m-0\">
";
// line 126
$context["seen_names"] = [];
// line 127
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store_place_data"]) || array_key_exists("store_place_data", $context) ? $context["store_place_data"] : (function () { throw new RuntimeError('Variable "store_place_data" does not exist.', 127, $this->source); })()), "nearbyTransit", [], "any", false, false, false, 127), 1, 5));
foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
// line 128
echo " ";
if (!twig_in_filter(twig_get_attribute($this->env, $this->source, $context["station"], "name", [], "any", false, false, false, 128), (isset($context["seen_names"]) || array_key_exists("seen_names", $context) ? $context["seen_names"] : (function () { throw new RuntimeError('Variable "seen_names" does not exist.', 128, $this->source); })()))) {
// line 129
echo " ";
$context["seen_names"] = twig_array_merge((isset($context["seen_names"]) || array_key_exists("seen_names", $context) ? $context["seen_names"] : (function () { throw new RuntimeError('Variable "seen_names" does not exist.', 129, $this->source); })()), [0 => twig_get_attribute($this->env, $this->source, $context["station"], "name", [], "any", false, false, false, 129)]);
// line 130
echo " <li class=\"d-flex\">
<div class=\"flex-shrink-0\">
<div class=\"icon icon-xs icon-soft-secondary\">
";
// line 133
if (((twig_get_attribute($this->env, $this->source, $context["station"], "primaryType", [], "any", false, false, false, 133) == "transit_station") || (twig_get_attribute($this->env, $this->source, $context["station"], "primaryType", [], "any", false, false, false, 133) == "train_station"))) {
// line 134
echo " <i class=\"bi-train-front\"></i>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 135
$context["station"], "primaryType", [], "any", false, false, false, 135) == "subway_station")) {
// line 136
echo " <i class=\"bi-train-front\"></i>
";
} elseif (((twig_get_attribute($this->env, $this->source, // line 137
$context["station"], "primaryType", [], "any", false, false, false, 137) == "bus_stop") || (twig_get_attribute($this->env, $this->source, $context["station"], "primaryType", [], "any", false, false, false, 137) == "bus_stop"))) {
// line 138
echo " <i class=\"bi-bus-front\"></i>
";
} else {
// line 140
echo " <i class=\"bi-pin-map\"></i>
";
}
// line 142
echo " </div>
</div>
<div class=\"flex-grow-1 mt-1 ms-3\">
<span class=\"d-block small fw-semibold\">";
// line 146
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["station"], "name", [], "any", false, false, false, 146), "html", null, true);
echo "</span>
<small class=\"d-block text-body\"
style=\"font-size: 0.7em;\">
";
// line 149
if (((twig_get_attribute($this->env, $this->source, $context["station"], "primaryType", [], "any", false, false, false, 149) == "transit_station") || (twig_get_attribute($this->env, $this->source, $context["station"], "primaryType", [], "any", false, false, false, 149) == "train_station"))) {
// line 150
echo " Transport en communs
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 151
$context["station"], "primaryType", [], "any", false, false, false, 151) == "subway_station")) {
// line 152
echo " Métro
";
} elseif (((twig_get_attribute($this->env, $this->source, // line 153
$context["station"], "primaryType", [], "any", false, false, false, 153) == "bus_stop") || (twig_get_attribute($this->env, $this->source, $context["station"], "primaryType", [], "any", false, false, false, 153) == "bus_stop"))) {
// line 154
echo " Bus
";
} else {
// line 156
echo " Autre tansport
";
}
// line 158
echo " </small>
</div>
</li>
";
}
// line 162
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 163
echo " </ul>
</dd>
</dl>
";
// line 167
echo " ";
}
// line 168
echo "
";
// line 170
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["store_page"] ?? null), "speciality", [], "any", true, true, false, 170) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 170, $this->source); })()), "speciality", [], "any", false, false, false, 170)))) {
// line 171
echo " <hr class=\"my-4\">
<div class=\"mb-3\">
<h4>Spécialités</h4>
</div>
<ul class=\"list-checked list-checked-primary mb-0\">
";
// line 178
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 178, $this->source); })()), "speciality", [], "any", false, false, false, 178));
foreach ($context['_seq'] as $context["_key"] => $context["speciality"]) {
// line 179
echo " <li class=\"list-checked-item\">
";
// line 180
echo twig_escape_filter($this->env, $context["speciality"], "html", null, true);
echo "
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['speciality'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 183
echo " </ul>
";
}
// line 185
echo " ";
// line 186
echo "
";
// line 188
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["store_page"] ?? null), "service", [], "any", true, true, false, 188) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 188, $this->source); })()), "service", [], "any", false, false, false, 188)))) {
// line 189
echo " <hr class=\"my-4\">
<div class=\"mb-3\">
<h4>Services</h4>
</div>
<div class=\"row mb-7\">
";
// line 197
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 197, $this->source); })()), "service", [], "any", false, false, false, 197));
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
// line 198
echo "
<div class=\"col-6 col-md-12 col-lg-6 mb-4 d-flex align-items-center\">
<!-- Icon Block -->
<div class=\"icon icon-xs icon-soft-primary me-2\">
<i class=\"bi ";
// line 203
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["service"], "iconName", [], "any", false, false, false, 203), "html", null, true);
echo "\"></i>
</div>
<span class=\"text-body small\">";
// line 205
echo twig_escape_filter($this->env, $context["service"], "html", null, true);
echo "</span>
<!-- End Icon Block -->
</div>
<!-- End Col -->
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 211
echo " </div>
";
}
// line 213
echo " ";
// line 214
echo "
";
// line 229
echo " ";
// line 230
echo " </div>
</div>
</div>
</div>
";
// line 235
echo " </div>
<!-- End Col -->
<div class=\"col-lg-8 content-space-t-lg-2\">
<div class=\"ps-lg-4\">
<h3 class=\"h2 text-center\">Bienvenue chez <span
class=\"text-primary text-highlight-warning\">";
// line 241
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 241, $this->source); })()), "name", [], "any", false, false, false, 241), "html", null, true);
echo "</span>.</h3>
<h1 class=\"h4\">Services et solutions auditives personnalisées
chez ";
// line 243
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 243, $this->source); })()), "nameAndZipcode", [], "any", false, false, false, 243), "html", null, true);
echo "</h1>
";
// line 246
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["store_page"] ?? null), "description", [], "any", true, true, false, 246) && !(null === twig_get_attribute($this->env, $this->source, (isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 246, $this->source); })()), "description", [], "any", false, false, false, 246)))) {
// line 247
echo " <div class=\"text-secondary mb-5\" style=\"text-align: justify\">
";
// line 248
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 248, $this->source); })()), "description", [], "any", false, false, false, 248)) > 300)) {
// line 249
echo " ";
// line 250
echo " ";
$context["words"] = twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 250, $this->source); })()), "description", [], "any", false, false, false, 250), " ");
// line 251
echo " ";
$context["half_length"] = twig_round((twig_length_filter($this->env, (isset($context["words"]) || array_key_exists("words", $context) ? $context["words"] : (function () { throw new RuntimeError('Variable "words" does not exist.', 251, $this->source); })())) / 2), 0, "floor");
// line 252
echo " ";
$context["first_part"] = twig_join_filter(twig_slice($this->env, (isset($context["words"]) || array_key_exists("words", $context) ? $context["words"] : (function () { throw new RuntimeError('Variable "words" does not exist.', 252, $this->source); })()), 0, (isset($context["half_length"]) || array_key_exists("half_length", $context) ? $context["half_length"] : (function () { throw new RuntimeError('Variable "half_length" does not exist.', 252, $this->source); })())), " ");
// line 253
echo " ";
$context["second_part"] = twig_join_filter(twig_slice($this->env, (isset($context["words"]) || array_key_exists("words", $context) ? $context["words"] : (function () { throw new RuntimeError('Variable "words" does not exist.', 253, $this->source); })()), (isset($context["half_length"]) || array_key_exists("half_length", $context) ? $context["half_length"] : (function () { throw new RuntimeError('Variable "half_length" does not exist.', 253, $this->source); })()), null), " ");
// line 254
echo "
<span id=\"collapse-description-store\" class=\"mb-0\">
";
// line 256
echo (isset($context["first_part"]) || array_key_exists("first_part", $context) ? $context["first_part"] : (function () { throw new RuntimeError('Variable "first_part" does not exist.', 256, $this->source); })());
echo " ...
</span>
<div id=\"employerOverviewDescriptionCollapse\" class=\"collapse\">
<p>
";
// line 260
echo (isset($context["first_part"]) || array_key_exists("first_part", $context) ? $context["first_part"] : (function () { throw new RuntimeError('Variable "first_part" does not exist.', 260, $this->source); })());
echo "
";
// line 261
echo (isset($context["second_part"]) || array_key_exists("second_part", $context) ? $context["second_part"] : (function () { throw new RuntimeError('Variable "second_part" does not exist.', 261, $this->source); })());
echo "
</p>
</div>
<a class=\"link link-collapse collapsed\" data-bs-toggle=\"collapse\"
href=\"#employerOverviewDescriptionCollapse\" role=\"button\" aria-expanded=\"false\"
aria-controls=\"employerOverviewDescriptionCollapse\">
<span class=\"link-collapse-default\">Lire plus</span>
<span class=\"link-collapse-active\">Lire moins</span>
</a>
";
} else {
// line 271
echo " <p>";
echo twig_get_attribute($this->env, $this->source, (isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 271, $this->source); })()), "description", [], "any", false, false, false, 271);
echo "</p>
";
}
// line 273
echo " </div>
";
}
// line 275
echo " ";
// line 276
echo "
";
// line 278
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["store_page"] ?? null), "storeImages", [], "any", true, true, false, 278) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 278, $this->source); })()), "storeImages", [], "any", false, false, false, 278)))) {
// line 279
echo " <div id=\"fancyboxGallery\" class=\"d-none d-lg-block my-lg-5 d-flex justify-content-center\">
<div class=\"row gx-3\">
";
// line 281
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 281, $this->source); })()), "storeImages", [], "any", false, false, false, 281));
foreach ($context['_seq'] as $context["_key"] => $context["storeImg"]) {
// line 282
echo " <div class=\"col-4 col-sm px-2 mb-3 mb-sm-0\">
<!-- Media Viewer -->
<img class=\"img-fluid rounded-2 mx-auto\"
src=\"";
// line 285
echo twig_escape_filter($this->env, $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset($context["storeImg"], "imageFile"), "store_image_carrousel"), "html", null, true);
echo "\"
alt=\"Photo - ";
// line 286
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 286, $this->source); })()), "nameAndZipcode", [], "any", false, false, false, 286), "html", null, true);
echo "\">
<span class=\"media-viewer-container\">
<span class=\"media-viewer-icon\">
<i class=\"bi-plus media-viewer-icon-inner\"></i>
</span>
</span>
<!-- End Media Viewer -->
</div>
<!-- End Col -->
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['storeImg'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 296
echo " </div>
</div>
";
}
// line 299
echo " ";
// line 300
echo "
";
// line 302
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["store_page"] ?? null), "hasHighlightedStaff", [], "any", true, true, false, 302) && (twig_get_attribute($this->env, $this->source, (isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 302, $this->source); })()), "hasHighlightedStaff", [], "any", false, false, false, 302) == true))) {
// line 303
echo " <hr class=\"my-5\">
<div class=\"row\">
<div class=\"col-sm-4 mb-4 mb-sm-0\">
<div class=\"mb-3\">
";
// line 308
echo " <img class=\"avatar avatar-xl avatar-circle\"
src=\"";
// line 309
echo twig_escape_filter($this->env, $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset((isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 309, $this->source); })()), "highlightedStaffPictureFile"), "store_highlighted_staff_image"), "html", null, true);
echo "\"
alt=\"Audioprothésiste ";
// line 310
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 310, $this->source); })()), "nameAndZipcode", [], "any", false, false, false, 310), "html", null, true);
echo "\">
</div>
<ul class=\"list-unstyled list-py-1\">
<li class=\"fw-semibold text-primary\">
<i class=\"bi-star-fill text-primary dropdown-item-icon\"></i> ";
// line 314
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 314, $this->source); })()), "getHighlitedStaffSpecialityName", [], "any", false, false, false, 314), "html", null, true);
echo "
</li>
</ul>
</div>
<!-- End Col -->
<div class=\"col-sm-8\">
<!-- Info -->
<div class=\"mb-2\">
<h4 class=\"mb-1\"><a href=\"\">";
// line 323
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 323, $this->source); })()), "highlightedStaffName", [], "any", false, false, false, 323), "html", null, true);
echo "</a></h4>
<p class=\"fw-semibold\">";
// line 324
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 324, $this->source); })()), "highlightedStaffJob", [], "any", false, false, false, 324), "html", null, true);
echo "</p>
</div>
<p>";
// line 327
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 327, $this->source); })()), "highlightedStaffDescription", [], "any", false, false, false, 327), "html", null, true);
echo "</p>
<!-- End Info -->
</div>
<!-- End Col -->
</div>
";
}
// line 333
echo " ";
// line 334
echo "
";
// line 336
echo " <div class=\"border border-primary rounded my-5\" id=\"map\" style=\"height: 330px;\"
data-store-latitude=\"";
// line 337
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 337, $this->source); })()), "latitude", [], "any", false, false, false, 337), "html", null, true);
echo "\"
data-store-longitude=\"";
// line 338
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 338, $this->source); })()), "longitude", [], "any", false, false, false, 338), "html", null, true);
echo "\"
";
// line 339
if ((twig_length_filter($this->env, (isset($context["coordinates_used_in_finder"]) || array_key_exists("coordinates_used_in_finder", $context) ? $context["coordinates_used_in_finder"] : (function () { throw new RuntimeError('Variable "coordinates_used_in_finder" does not exist.', 339, $this->source); })())) > 1)) {
// line 340
echo " data-from-latitude=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["coordinates_used_in_finder"]) || array_key_exists("coordinates_used_in_finder", $context) ? $context["coordinates_used_in_finder"] : (function () { throw new RuntimeError('Variable "coordinates_used_in_finder" does not exist.', 340, $this->source); })()), 0, [], "array", false, false, false, 340), "html", null, true);
echo "\"
data-from-longitude=\"";
// line 341
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["coordinates_used_in_finder"]) || array_key_exists("coordinates_used_in_finder", $context) ? $context["coordinates_used_in_finder"] : (function () { throw new RuntimeError('Variable "coordinates_used_in_finder" does not exist.', 341, $this->source); })()), 1, [], "array", false, false, false, 341), "html", null, true);
echo "\"
";
}
// line 343
echo " ></div>
";
// line 345
echo "
";
// line 364
echo "
<!-- End Sticky End Point -->
<div id=\"stickyBlockEndPoint\"></div>
</div>
</div>
<!-- End Col -->
</div>
<!-- End Row -->
</div>
<!-- End Content -->
";
// line 376
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["store_page"] ?? null), "employees", [], "any", true, true, false, 376) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 376, $this->source); })()), "employees", [], "any", false, false, false, 376)))) {
// line 377
echo " <div class=\"container content-space-1\">
<!-- Heading -->
<div class=\"w-md-80 w-lg-50 text-center mx-md-auto mb-3 mb-md-5\">
<h2 class=\"font-weight-bold mb-2\">L'équipe ";
// line 380
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 380, $this->source); })()), "name", [], "any", false, false, false, 380), "html", null, true);
echo "</h2>
</div>
<!-- End Heading -->
<div class=\"row justify-content-center\">
";
// line 385
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 385, $this->source); })()), "employees", [], "any", false, false, false, 385));
foreach ($context['_seq'] as $context["_key"] => $context["employee"]) {
// line 386
echo " <div class=\"col-sm-6 col-md-5 mb-4 mb-sm-0\">
<!-- Media -->
<div class=\"d-flex justify-content-center\">
<div class=\"flex-shrink-0\">
";
// line 391
echo " ";
if ( !(null === twig_get_attribute($this->env, $this->source, $context["employee"], "picturePath", [], "any", false, false, false, 391))) {
// line 392
echo " <img class=\"avatar avatar-lg avatar-circle\"
src=\"";
// line 393
echo twig_escape_filter($this->env, $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset($context["employee"], "pictureFile"), "profile_image"), "html", null, true);
echo "\"
alt=\"Bilan Auditif ";
// line 394
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 394, $this->source); })()), "nameAndZipcode", [], "any", false, false, false, 394), "html", null, true);
echo "\">
";
} else {
// line 396
echo " <span class=\"avatar avatar-lg avatar-soft-warning avatar-circle\">
<span class=\"avatar-initials\">";
// line 397
echo twig_escape_filter($this->env, twig_lower_filter($this->env, twig_first($this->env, twig_get_attribute($this->env, $this->source, $context["employee"], "firstname", [], "any", false, false, false, 397))), "html", null, true);
echo twig_escape_filter($this->env, twig_lower_filter($this->env, twig_first($this->env, twig_get_attribute($this->env, $this->source, $context["employee"], "lastname", [], "any", false, false, false, 397))), "html", null, true);
echo "</span>
</span>
";
}
// line 400
echo " </div>
<div class=\"ms-3\">
<h4 class=\"mb-1 text-dark\">
";
// line 404
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["employee"], "firstname", [], "any", false, false, false, 404), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["employee"], "lastname", [], "any", false, false, false, 404), "html", null, true);
echo "
</h4>
<p class=\"text-primary fw-bold\">";
// line 407
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["employee"], "speciality", [], "any", false, false, false, 407), "html", null, true);
echo "</p>
</div>
</div>
<!-- End Media -->
</div>
<!-- End Col -->
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['employee'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 414
echo " </div>
<!-- End Col -->
</div>
<!-- End Row -->
</div>
";
}
// line 420
echo " ";
// line 421
echo "
";
// line 423
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["store_page"] ?? null), "hearingMaker", [], "any", true, true, false, 423) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 423, $this->source); })()), "hearingMaker", [], "any", false, false, false, 423)))) {
// line 424
echo " <hr class=\"my-1\">
<div class=\"container content-space-1\">
<div class=\"row align-items-lg-center\">
<div class=\"w-md-75 w-lg-50 text-center mx-md-auto mb-3\">
<h2>Les marques distribuées chez ";
// line 428
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 428, $this->source); })()), "name", [], "any", false, false, false, 428), "html", null, true);
echo "</h2>
</div>
<div class=\"col-md-7 col-lg-8 mb-5 mb-md-0\">
<div class=\"row align-items-center\">
";
// line 432
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 432, $this->source); })()), "hearingMaker", [], "any", false, false, false, 432), 0, 12));
foreach ($context['_seq'] as $context["_key"] => $context["hearingMaker"]) {
// line 433
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["hearingMaker"], "hasLogo", [], "any", false, false, false, 433)) {
// line 434
echo " <div class=\"col text-center py-3\">
<img class=\"avatar avatar-lg avatar-4x3\"
src=\"";
// line 436
echo twig_escape_filter($this->env, $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset($context["hearingMaker"], "logoFile"), "hearing_maker_carrousel"), "html", null, true);
echo "\"
alt=\"Audioprothésiste ";
// line 437
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["hearingMaker"], "name", [], "any", false, false, false, 437), "html", null, true);
echo "\">
</div>
";
}
// line 440
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['hearingMaker'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 441
echo " </div>
<!-- End Row -->
</div>
<div class=\"col-md-5 col-lg-4\">
<div class=\"ps-md-4\">
<h2 class=\"display-5 text-primary\">98%</h2>
<p>Des clients recommandent ces marques pour leurs solutions auditives innovantes et
fiables.</p>
</div>
</div>
</div>
</div>
";
}
// line 455
echo " ";
// line 456
echo "
";
// line 458
echo " ";
if ((twig_get_attribute($this->env, $this->source, ($context["store_page"] ?? null), "careNetworks", [], "any", true, true, false, 458) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 458, $this->source); })()), "careNetworks", [], "any", false, false, false, 458)))) {
// line 459
echo " ";
// line 460
echo " <div class=\"border-top mx-auto my-lg-5\" style=\"max-width: 25rem;\"></div>
";
// line 462
echo " <div class=\"container content-space-1 content-space-lg-2 content-space-xl-3\">
<div class=\"row\">
<div class=\"col-md-6 col-lg-5 pt-3 pt-md-0\">
<!-- Card -->
<div class=\"card bg-primary shadow-lg mt-md-n6 aos-init aos-animate\" data-aos=\"fade-up\">
<div class=\"card-body\">
<div class=\"mb-3\">
<span class=\"card-subtitle text-warning text-center\" style=\"font-size: 1.4em;\">Découvrez les Réseaux de Soins affiliés</span>
<h2 class=\"h5 card-title text-white\">Apprenez comment les réseaux de soins
auditifs
transforment l'expérience des patients en offrant des solutions
personnalisées
et de haute qualité.</h2>
</div>
<div class=\"d-grid\">
<a class=\"btn btn-soft-light btn-transition\" href=\"\">Lire l'article</a>
</div>
</div>
</div>
<!-- End Card -->
</div>
<!-- End Col -->
<div class=\"col-md-6 col-lg-7 my-5 my-md-0\">
<div class=\"row align-items-center gap-lg-5\">
";
// line 486
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store_page"]) || array_key_exists("store_page", $context) ? $context["store_page"] : (function () { throw new RuntimeError('Variable "store_page" does not exist.', 486, $this->source); })()), "careNetworks", [], "any", false, false, false, 486), 0, 9));
foreach ($context['_seq'] as $context["_key"] => $context["careNetwork"]) {
// line 487
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["careNetwork"], "haslogo", [], "any", false, false, false, 487) && !(null === twig_get_attribute($this->env, $this->source, $context["careNetwork"], "logoFile", [], "any", false, false, false, 487)))) {
// line 488
echo " <div class=\"col col-lg-3 py-1\">
<img class=\"avatar avatar-4x3 avatar-centered\"
src=\"";
// line 490
echo twig_escape_filter($this->env, $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset($context["careNetwork"], "logoFile"), "care_network_carrousel"), "html", null, true);
echo "\"
alt=\"Réseau de soins ";
// line 491
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["careNetwork"], "name", [], "any", false, false, false, 491), "html", null, true);
echo "\">
</div>
";
}
// line 494
echo " <!-- End Col -->
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['careNetwork'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 496
echo " </div>
<!-- End Row -->
</div>
<!-- End Col -->
</div>
<!-- End Row -->
</div>
";
}
// line 504
echo " ";
// line 505
echo "
";
// line 506
if ((twig_get_attribute($this->env, $this->source, ($context["store_place_data"] ?? null), "rating", [], "any", true, true, false, 506) && !(null === twig_get_attribute($this->env, $this->source, (isset($context["store_place_data"]) || array_key_exists("store_place_data", $context) ? $context["store_place_data"] : (function () { throw new RuntimeError('Variable "store_place_data" does not exist.', 506, $this->source); })()), "rating", [], "any", false, false, false, 506)))) {
// line 507
echo " ";
// line 508
echo " ";
$context["rating"] = twig_get_attribute($this->env, $this->source, (isset($context["store_place_data"]) || array_key_exists("store_place_data", $context) ? $context["store_place_data"] : (function () { throw new RuntimeError('Variable "store_place_data" does not exist.', 508, $this->source); })()), "rating", [], "any", false, false, false, 508);
// line 509
echo " <div id=\"reviews-section\" class=\"bg-dark text-white\" style=\"background-image: url(";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/front_v4/svg/components/wave-pattern-light.svg"), "html", null, true);
echo ");\">
<div class=\"container content-space-1\">
<div class=\"w-md-75 w-lg-50 text-center mx-md-auto mb-2 mb-md-5\">
<h2 class=\"text-white\">A propos de nos clients</h2>
</div>
<div class=\"row mb-3\">
<div class=\"col-sm-6 mb-3 mb-sm-0 d-flex justify-content-center\">
<!-- Media -->
<div class=\"d-flex align-items-center\">
<div class=\"flex-shrink-0\">
<span class=\"display-4 text-white\">";
// line 519
echo twig_escape_filter($this->env, (isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 519, $this->source); })()), "html", null, true);
echo "</span><small>/5</small>
</div>
<div class=\"flex-grow-1 ms-4\">
<!-- Rating -->
<div class=\"d-flex gap-1 mb-2\">
";
// line 526
$context["fullStars"] = twig_round((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 526, $this->source); })()), 0, "floor");
// line 527
echo " ";
$context["hasHalfStar"] = (((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 527, $this->source); })()) - (isset($context["fullStars"]) || array_key_exists("fullStars", $context) ? $context["fullStars"] : (function () { throw new RuntimeError('Variable "fullStars" does not exist.', 527, $this->source); })())) >= 0.5);
// line 528
echo " ";
$context["emptyStars"] = ((5 - (isset($context["fullStars"]) || array_key_exists("fullStars", $context) ? $context["fullStars"] : (function () { throw new RuntimeError('Variable "fullStars" does not exist.', 528, $this->source); })())) - (((isset($context["hasHalfStar"]) || array_key_exists("hasHalfStar", $context) ? $context["hasHalfStar"] : (function () { throw new RuntimeError('Variable "hasHalfStar" does not exist.', 528, $this->source); })())) ? (1) : (0)));
// line 529
echo "
";
// line 531
echo " ";
if (((isset($context["fullStars"]) || array_key_exists("fullStars", $context) ? $context["fullStars"] : (function () { throw new RuntimeError('Variable "fullStars" does not exist.', 531, $this->source); })()) > 0)) {
// line 532
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, (isset($context["fullStars"]) || array_key_exists("fullStars", $context) ? $context["fullStars"] : (function () { throw new RuntimeError('Variable "fullStars" does not exist.', 532, $this->source); })())));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 533
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/front_v4/svg/illustrations/star.svg"), "html", null, true);
echo "\"
alt=\"Full star\"
width=\"14\">
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 537
echo " ";
}
// line 538
echo "
";
// line 540
echo " ";
if ((isset($context["hasHalfStar"]) || array_key_exists("hasHalfStar", $context) ? $context["hasHalfStar"] : (function () { throw new RuntimeError('Variable "hasHalfStar" does not exist.', 540, $this->source); })())) {
// line 541
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/front_v4/svg/illustrations/star-half.svg"), "html", null, true);
echo "\"
alt=\"Half star\"
width=\"14\">
";
}
// line 545
echo "
";
// line 547
echo " ";
if (((isset($context["emptyStars"]) || array_key_exists("emptyStars", $context) ? $context["emptyStars"] : (function () { throw new RuntimeError('Variable "emptyStars" does not exist.', 547, $this->source); })()) > 0)) {
// line 548
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, (isset($context["emptyStars"]) || array_key_exists("emptyStars", $context) ? $context["emptyStars"] : (function () { throw new RuntimeError('Variable "emptyStars" does not exist.', 548, $this->source); })())));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 549
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/front_v4/svg/illustrations/star-muted.svg"), "html", null, true);
echo "\"
alt=\"Empty star\"
width=\"14\">
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 553
echo " ";
}
// line 554
echo " </div>
<!-- End Rating -->
<span class=\"d-block\">";
// line 557
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store_place_data"]) || array_key_exists("store_place_data", $context) ? $context["store_place_data"] : (function () { throw new RuntimeError('Variable "store_place_data" does not exist.', 557, $this->source); })()), "userRatingCount", [], "any", false, false, false, 557), "html", null, true);
echo " avis</span>
</div>
</div>
<!-- End Media -->
</div>
<!-- End Col -->
<div class=\"col-sm-6 d-flex justify-content-center\">
<div class=\"d-flex flex-column flex-md-row align-items-center\">
<div class=\"flex-shrink-0\">
<span class=\"display-4 text-white\">";
// line 567
echo twig_escape_filter($this->env, (((isset($context["rating"]) || array_key_exists("rating", $context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.', 567, $this->source); })()) / 5) * 100), "html", null, true);
echo "%</span>
</div>
<div class=\"flex-grow-1 ms-md-4\">
<span class=\"font-size-1\">des clients<br class=\"d-none d-md-block\"> recommande notre centre auditif</span>
</div>
</div>
</div>
<!-- End Col -->
</div>
</div>
</div>
";
// line 580
echo " ";
}
// line 581
echo "
";
// line 583
echo " ";
if ((twig_length_filter($this->env, (isset($context["orls"]) || array_key_exists("orls", $context) ? $context["orls"] : (function () { throw new RuntimeError('Variable "orls" does not exist.', 583, $this->source); })())) > 0)) {
// line 584
echo " <div class=\"container content-space-1 content-space-lg-2\">
<!-- Heading -->
<div class=\"w-md-75 w-lg-50 text-center mx-md-auto mb-3\">
<h2>ORL à proximité</h2>
<p>
Nous avons sélectionné ";
// line 589
echo twig_escape_filter($this->env, twig_length_filter($this->env, (isset($context["orls"]) || array_key_exists("orls", $context) ? $context["orls"] : (function () { throw new RuntimeError('Variable "orls" does not exist.', 589, $this->source); })())), "html", null, true);
echo " ORL à proximité.
<a class=\"link\"
href=\"";
// line 591
echo twig_escape_filter($this->env, ((isset($context["absolute_path_orl"]) || array_key_exists("absolute_path_orl", $context) ? $context["absolute_path_orl"] : (function () { throw new RuntimeError('Variable "absolute_path_orl" does not exist.', 591, $this->source); })()) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("orl_finder", ["lat" => twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 591, $this->source); })()), "latitude", [], "any", false, false, false, 591), "lng" => twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 591, $this->source); })()), "longitude", [], "any", false, false, false, 591)])), "html", null, true);
echo "\"
target=\"_blank\">Découvrez d'autre ORL.</a>
</p>
</div>
<!-- End Heading -->
<div class=\"row row-cols-1 row-cols-sm-2 row-cols-lg-3 mb-5 d-flex justify-content-center\">
";
// line 598
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["orls"]) || array_key_exists("orls", $context) ? $context["orls"] : (function () { throw new RuntimeError('Variable "orls" does not exist.', 598, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["orlData"]) {
// line 599
echo " ";
$context["orl"] = twig_get_attribute($this->env, $this->source, $context["orlData"], 0, [], "array", false, false, false, 599);
// line 600
echo " <div class=\"col mb-5\">
<!-- Card -->
<div class=\"card card-bordered h-100\">
<!-- Card Body -->
<div class=\"card-body\">
<h3 class=\"card-title\">
<a class=\"text-dark\"
href=\"\">";
// line 607
echo twig_escape_filter($this->env, (((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["orl"]) || array_key_exists("orl", $context) ? $context["orl"] : (function () { throw new RuntimeError('Variable "orl" does not exist.', 607, $this->source); })()), "name", [], "any", false, false, false, 607)) > 20)) ? ((twig_slice($this->env, twig_get_attribute($this->env, $this->source, (isset($context["orl"]) || array_key_exists("orl", $context) ? $context["orl"] : (function () { throw new RuntimeError('Variable "orl" does not exist.', 607, $this->source); })()), "name", [], "any", false, false, false, 607), 0, 25) . "...")) : (twig_get_attribute($this->env, $this->source, (isset($context["orl"]) || array_key_exists("orl", $context) ? $context["orl"] : (function () { throw new RuntimeError('Variable "orl" does not exist.', 607, $this->source); })()), "name", [], "any", false, false, false, 607))), "html", null, true);
echo "
";
// line 619
echo " </a>
</h3>
<div class=\"text-muted small mb-2\">
<i class=\"bi-map-fill me-1\"></i> ";
// line 623
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["orl"]) || array_key_exists("orl", $context) ? $context["orl"] : (function () { throw new RuntimeError('Variable "orl" does not exist.', 623, $this->source); })()), "address", [], "any", false, false, false, 623), "html", null, true);
echo "
, ";
// line 624
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["orl"]) || array_key_exists("orl", $context) ? $context["orl"] : (function () { throw new RuntimeError('Variable "orl" does not exist.', 624, $this->source); })()), "zipCode", [], "any", false, false, false, 624), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["orl"]) || array_key_exists("orl", $context) ? $context["orl"] : (function () { throw new RuntimeError('Variable "orl" does not exist.', 624, $this->source); })()), "city", [], "any", false, false, false, 624), "html", null, true);
echo "
</div>
";
// line 626
if ((twig_get_attribute($this->env, $this->source, ($context["orl"] ?? null), "phoneNumber", [], "any", true, true, false, 626) && !(null === twig_get_attribute($this->env, $this->source, (isset($context["orl"]) || array_key_exists("orl", $context) ? $context["orl"] : (function () { throw new RuntimeError('Variable "orl" does not exist.', 626, $this->source); })()), "phoneNumber", [], "any", false, false, false, 626)))) {
// line 627
echo " <div class=\"text-muted small mb-2\">
<i class=\"bi-phone me-1\"></i> ";
// line 628
echo twig_escape_filter($this->env, $this->extensions['App\Twig\AppExtension']->formatFrenchPhoneNumber(twig_get_attribute($this->env, $this->source, (isset($context["orl"]) || array_key_exists("orl", $context) ? $context["orl"] : (function () { throw new RuntimeError('Variable "orl" does not exist.', 628, $this->source); })()), "phoneNumber", [], "any", false, false, false, 628)), "html", null, true);
echo "
</div>
";
}
// line 631
echo "
<span class=\"badge bg-soft-success text-success me-2\">
<span class=\"legend-indicator bg-success\"></span>Ouvert
</span>
</div>
<!-- End Card Body -->
";
// line 639
echo " ";
// line 640
echo " ";
// line 641
echo " ";
// line 642
echo " ";
// line 643
echo " ";
// line 644
echo " ";
// line 645
echo " ";
// line 646
echo " ";
// line 647
echo " </div>
<!-- End Card -->
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['orlData'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 651
echo " </div>
<div class=\"text-center\">
<a class=\"btn btn-outline-primary\"
href=\"";
// line 655
echo twig_escape_filter($this->env, ((isset($context["absolute_path_orl"]) || array_key_exists("absolute_path_orl", $context) ? $context["absolute_path_orl"] : (function () { throw new RuntimeError('Variable "absolute_path_orl" does not exist.', 655, $this->source); })()) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("orl_finder", ["lat" => twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 655, $this->source); })()), "latitude", [], "any", false, false, false, 655), "lng" => twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 655, $this->source); })()), "longitude", [], "any", false, false, false, 655)])), "html", null, true);
echo "\"
target=\"_blank\">Trouver d'autres ORL <i
class=\"bi-chevron-right small ms-1\"></i></a>
</div>
</div>
<!-- End Card Grid -->
";
}
// line 662
echo " ";
// line 663
echo " </main>
<!-- ========== END MAIN CONTENT ========== -->
";
// line 667
echo " ";
// line 668
echo " ";
$this->displayBlock("modal_lead_content", $context, $blocks);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 672
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 673
echo " <script
src=\"https://code.jquery.com/jquery-3.7.1.min.js\"
integrity=\"sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=\"
crossorigin=\"anonymous\"></script>
";
// line 679
echo " <script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"Store\",
\"name\": \"";
// line 683
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 683, $this->source); })()), "name", [], "any", false, false, false, 683), "html", null, true);
echo "\",
";
// line 684
if ((twig_get_attribute($this->env, $this->source, ($context["store"] ?? null), "logoPath", [], "any", true, true, false, 684) && !(null === twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 684, $this->source); })()), "logoPath", [], "any", false, false, false, 684)))) {
// line 685
echo " \"image\": \"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 685, $this->source); })()), "logoPath", [], "any", false, false, false, 685), "html", null, true);
echo "\",
";
}
// line 687
echo " \"address\": {
\"@type\": \"PostalAddress\",
\"streetAddress\": \"";
// line 689
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 689, $this->source); })()), "address", [], "any", false, false, false, 689), "html", null, true);
echo "\",
\"addressLocality\": \"";
// line 690
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 690, $this->source); })()), "city", [], "any", false, false, false, 690), "html", null, true);
echo "\",
\"postalCode\": \"";
// line 691
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 691, $this->source); })()), "zipCode", [], "any", false, false, false, 691), "html", null, true);
echo "\",
\"addressCountry\": \"FR\"
},
";
// line 694
if ((twig_get_attribute($this->env, $this->source, ($context["store"] ?? null), "phoneNumber", [], "any", true, true, false, 694) && !(null === twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 694, $this->source); })()), "phoneNumber", [], "any", false, false, false, 694)))) {
// line 695
echo " \"telephone\": \"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 695, $this->source); })()), "phoneNumber", [], "any", false, false, false, 695), "html", null, true);
echo "\",
";
}
// line 697
echo " ";
if ((((twig_get_attribute($this->env, $this->source, ($context["store"] ?? null), "latitude", [], "any", true, true, false, 697) && !(null === twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 697, $this->source); })()), "latitude", [], "any", false, false, false, 697))) && twig_get_attribute($this->env, $this->source, ($context["store"] ?? null), "longitude", [], "any", true, true, false, 697)) && !(null === twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 697, $this->source); })()), "longitude", [], "any", false, false, false, 697)))) {
// line 698
echo " \"geo\": {
\"@type\": \"GeoCoordinates\",
\"latitude\": \"";
// line 700
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 700, $this->source); })()), "latitude", [], "any", false, false, false, 700), "html", null, true);
echo "\",
\"longitude\": \"";
// line 701
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["store"]) || array_key_exists("store", $context) ? $context["store"] : (function () { throw new RuntimeError('Variable "store" does not exist.', 701, $this->source); })()), "longitude", [], "any", false, false, false, 701), "html", null, true);
echo "\"
}
";
}
// line 704
echo " }
</script>
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"BreadcrumbList\",
\"itemListElement\": [
";
// line 712
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs", $context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.', 712, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
// line 713
echo " {
\"@type\": \"ListItem\",
\"position\": \"";
// line 715
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 715), "html", null, true);
echo "\",
\"item\": {
\"@id\": \"";
// line 717
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "url", [], "any", false, false, false, 717), "html", null, true);
echo "\",
\"name\": \"";
// line 718
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["breadcrumb"], "name", [], "any", false, false, false, 718), "html", null, true);
echo "\"
}
}";
// line 720
echo (( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 720)) ? (",") : (""));
echo "
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 722
echo " ]
}
</script>
";
// line 726
echo " ";
// line 727
echo " <script type=\"text/javascript\"
src=\"https://maps.googleapis.com/maps/api/js?&key=AIzaSyAyLv6STXzvZeMXKMZU3DLaNIkBvv8HlBI&libraries=places&v=weekly\"></script>
";
// line 730
echo "
";
// line 732
echo " ";
// line 733
echo " ";
$this->displayBlock("modal_lead_javascripts", $context, $blocks);
echo "
";
// line 735
echo "
";
// line 736
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("display_center_number");
echo "
";
// line 738
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("store_page");
echo "
";
// line 739
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("store_single");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "front_v4/mca/store/single.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1491 => 739, 1487 => 738, 1482 => 736, 1479 => 735, 1474 => 733, 1472 => 732, 1469 => 730, 1465 => 727, 1463 => 726, 1458 => 722, 1442 => 720, 1437 => 718, 1433 => 717, 1428 => 715, 1424 => 713, 1407 => 712, 1397 => 704, 1391 => 701, 1387 => 700, 1383 => 698, 1380 => 697, 1374 => 695, 1372 => 694, 1366 => 691, 1362 => 690, 1358 => 689, 1354 => 687, 1348 => 685, 1346 => 684, 1342 => 683, 1336 => 679, 1329 => 673, 1319 => 672, 1306 => 668, 1304 => 667, 1299 => 663, 1297 => 662, 1287 => 655, 1281 => 651, 1272 => 647, 1270 => 646, 1268 => 645, 1266 => 644, 1264 => 643, 1262 => 642, 1260 => 641, 1258 => 640, 1256 => 639, 1247 => 631, 1241 => 628, 1238 => 627, 1236 => 626, 1229 => 624, 1225 => 623, 1219 => 619, 1215 => 607, 1206 => 600, 1203 => 599, 1199 => 598, 1189 => 591, 1184 => 589, 1177 => 584, 1174 => 583, 1171 => 581, 1168 => 580, 1153 => 567, 1140 => 557, 1135 => 554, 1132 => 553, 1121 => 549, 1116 => 548, 1113 => 547, 1110 => 545, 1102 => 541, 1099 => 540, 1096 => 538, 1093 => 537, 1082 => 533, 1077 => 532, 1074 => 531, 1071 => 529, 1068 => 528, 1065 => 527, 1063 => 526, 1053 => 519, 1039 => 509, 1036 => 508, 1034 => 507, 1032 => 506, 1029 => 505, 1027 => 504, 1017 => 496, 1010 => 494, 1004 => 491, 1000 => 490, 996 => 488, 993 => 487, 989 => 486, 963 => 462, 960 => 460, 958 => 459, 955 => 458, 952 => 456, 950 => 455, 934 => 441, 928 => 440, 922 => 437, 918 => 436, 914 => 434, 911 => 433, 907 => 432, 900 => 428, 894 => 424, 891 => 423, 888 => 421, 886 => 420, 878 => 414, 865 => 407, 857 => 404, 851 => 400, 844 => 397, 841 => 396, 836 => 394, 832 => 393, 829 => 392, 826 => 391, 820 => 386, 816 => 385, 808 => 380, 803 => 377, 800 => 376, 787 => 364, 784 => 345, 781 => 343, 776 => 341, 771 => 340, 769 => 339, 765 => 338, 761 => 337, 758 => 336, 755 => 334, 753 => 333, 744 => 327, 738 => 324, 734 => 323, 722 => 314, 715 => 310, 711 => 309, 708 => 308, 702 => 303, 699 => 302, 696 => 300, 694 => 299, 689 => 296, 673 => 286, 669 => 285, 664 => 282, 660 => 281, 656 => 279, 653 => 278, 650 => 276, 648 => 275, 644 => 273, 638 => 271, 625 => 261, 621 => 260, 614 => 256, 610 => 254, 607 => 253, 604 => 252, 601 => 251, 598 => 250, 596 => 249, 594 => 248, 591 => 247, 588 => 246, 583 => 243, 578 => 241, 570 => 235, 564 => 230, 562 => 229, 559 => 214, 557 => 213, 553 => 211, 541 => 205, 536 => 203, 529 => 198, 525 => 197, 515 => 189, 512 => 188, 509 => 186, 507 => 185, 503 => 183, 494 => 180, 491 => 179, 487 => 178, 478 => 171, 475 => 170, 472 => 168, 469 => 167, 464 => 163, 458 => 162, 452 => 158, 448 => 156, 444 => 154, 442 => 153, 439 => 152, 437 => 151, 434 => 150, 432 => 149, 426 => 146, 420 => 142, 416 => 140, 412 => 138, 410 => 137, 407 => 136, 405 => 135, 402 => 134, 400 => 133, 395 => 130, 392 => 129, 389 => 128, 384 => 127, 382 => 126, 376 => 122, 374 => 121, 372 => 120, 369 => 119, 367 => 118, 361 => 114, 351 => 110, 347 => 108, 343 => 107, 337 => 103, 334 => 102, 332 => 101, 323 => 97, 318 => 94, 316 => 93, 307 => 91, 297 => 85, 291 => 83, 285 => 81, 283 => 80, 278 => 79, 276 => 78, 272 => 76, 269 => 75, 266 => 74, 264 => 73, 251 => 62, 246 => 58, 243 => 56, 237 => 51, 229 => 33, 222 => 29, 219 => 28, 215 => 25, 205 => 24, 193 => 21, 188 => 20, 178 => 19, 164 => 15, 160 => 13, 157 => 12, 147 => 11, 132 => 8, 122 => 7, 107 => 4, 97 => 3, 74 => 1, 41 => 732, 28 => 667,);
}
public function getSourceContext()
{
return new Source("{% extends ('front_v4/base.html.twig') %}
{% block meta_title %}
{{ (store.name|length > 16 ? store.name|slice(0, 16) ~ '...' : store.name )|title }} {{ store.fullAddress }} Mon Centre Auditif
{% endblock meta_title %}
{% block meta_description %}
Laboratoire d’audition - {{ store.name|length > 15 ? store.name|slice(0, 15) ~ '...' : store.name }} - {{ store.fullAddress }} - Mon centre auditif
{% endblock meta_description %}
{% block meta_robots %}
{% if not store.storePage %}
<meta name=\"robots\" content=\"noindex\">
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}
{% block stylesheets %}
{{ encore_entry_link_tags('store_single') }}
{{ encore_entry_script_tags('store_page') }}
{% endblock stylesheets %}
{% block content %}
<!-- ========== MAIN CONTENT ========== -->
<main id=\"content\" role=\"main\">
{# Header Content #}
<div class=\"bg-dark\"
style=\"background-image: url({{ asset('build/front_v4/svg/components/wave-pattern-light.svg') }});\">
<div class=\"container content-space-1 content-space-lg-2\">
<div class=\"w-lg-65 text-center mx-lg-auto my-5\">
<span class=\"badge bg-warning text-dark rounded-pill mb-3\">Centre Auditif</span>
<p class=\"h1 text-white mb-0\">{{ store.name }}</p>
<p class=\"text-white-70\">Découvrez notre centre auditif, où nous offrons des services personnalisés
pour améliorer votre audition. </p>
<div class=\"text-center my-lg-3\">
{# {% if store.isOpenedForProspect %}#}
{# <button class=\"btn btn-md btn-block btn-soft-warning w-100 btn-transition\"#}
{# style=\"color: white !important;\"#}
{# href=\"#\" data-bilan-gtm=\"\" data-bs-toggle=\"modal\"#}
{# data-bs-target=\"#prospectModal\" data-id=\"{{ store.id }}\"#}
{# data-request=\"checkup\" onclick=\"dataLayer.push({#}
{# 'event': 'click-checkup',#}
{# 'centreMarque': '{{ store.name }}',#}
{# 'centreID': '{{ store.id }}'#}
{# });\">#}
{# Je prends RDV#}
{# </button>#}
{# {% endif %}#}
</div>
</div>
</div>
</div>
{# End Header Content #}
{# Main Content #}
<div class=\"container content-space-1 content-space-lg-0\">
<div class=\"row\">
<div class=\"col-lg-4 mt-lg-n10 mb-7 mb-lg-0\">
{# Sticky Left Content #}
<div id=\"stickyBlockStartPoint\">
<div class=\"js-sticky-block\" data-hs-sticky-block-options='{
\"parentSelector\": \"#stickyBlockStartPoint\",
\"targetSelector\": \"#header\",
\"breakpoint\": \"lg\",
\"startPoint\": \"#stickyBlockStartPoint\",
\"endPoint\": \"#stickyBlockEndPoint\",
\"stickyOffsetTop\": 20
}'>
<div class=\"card\">
<div class=\"card-header border-bottom text-center\">
{% if image_filter is not defined %}
{% set image_filter = 'brand_logo_medium' %}
{% endif %}
<img class=\"store-logo\"
{% if store.hasLogo %}
src=\"{{ vich_uploader_asset(store, 'logoFile') | imagine_filter(image_filter) }}\"
{% elseif store.hearingBrand %}
src=\"{{ vich_uploader_asset(store.hearingBrand, 'logoFile') | imagine_filter(image_filter) }}\"
{% else %}
src=\"{{ asset('uploads/images/brand_logo/mca_logo_short.png') | imagine_filter(image_filter) }}\"
{% endif %}
style=\"max-width: 100px;\" alt=\"Mon Centre Auditif - {{ store.name }}\"/>
</div>
<div class=\"card-body\">
<dl class=\"row\">
<dt class=\"col-sm-5\">Adresse</dt>
<dd class=\"col-sm-7\">{{ store.address }} {{ store.zipCode }} {{ store.city }}</dd>
</dl>
{% if not store.isOpenedForProspect %}
<dl class=\"row\">
<dt class=\"col-sm-5\">Téléphone</dt>
<dd class=\"col-sm-7\"><a
href=\"tel:{{ store.phoneNumber }}\">{{ store.phoneNumber | format_french_phone_number }}</a>
</dd>
</dl>
{% endif %}
{# Store hours #}
{% if store_place_data.openHoursWeekdayDescriptions is defined and store_place_data.openHoursWeekdayDescriptions is not null %}
<dl class=\"row\">
<dt class=\"col-sm-5 mb-1\">Horaires</dt>
<dd class=\"col-12\">
<table>
{% for desc in store_place_data.openHoursWeekdayDescriptions %}
<tr>
<td class=\"small my-1\">
{{ desc }}
</td>
</tr>
{% endfor %}
</table>
</dd>
</dl>
{% endif %}
{# End Store hours #}
{% if store_place_data.nearbyTransit is defined and store_place_data.nearbyTransit is not empty %}
{# Store Transport #}
<dl class=\"row\">
<dt class=\"col-sm-5 col-lg-12 mb-1\">Transport</dt>
<dd class=\"col-sm-7 col-lg-12 \">
<ul class=\"p-0 m-0\">
{% set seen_names = [] %}
{% for station in store_place_data.nearbyTransit|slice(1, 5) %}
{% if station.name not in seen_names %}
{% set seen_names = seen_names|merge([station.name]) %}
<li class=\"d-flex\">
<div class=\"flex-shrink-0\">
<div class=\"icon icon-xs icon-soft-secondary\">
{% if station.primaryType == \"transit_station\" or station.primaryType == \"train_station\" %}
<i class=\"bi-train-front\"></i>
{% elseif station.primaryType == \"subway_station\" %}
<i class=\"bi-train-front\"></i>
{% elseif station.primaryType == \"bus_stop\" or station.primaryType == \"bus_stop\" %}
<i class=\"bi-bus-front\"></i>
{% else %}
<i class=\"bi-pin-map\"></i>
{% endif %}
</div>
</div>
<div class=\"flex-grow-1 mt-1 ms-3\">
<span class=\"d-block small fw-semibold\">{{ station.name }}</span>
<small class=\"d-block text-body\"
style=\"font-size: 0.7em;\">
{% if station.primaryType == \"transit_station\" or station.primaryType == \"train_station\" %}
Transport en communs
{% elseif station.primaryType == \"subway_station\" %}
Métro
{% elseif station.primaryType == \"bus_stop\" or station.primaryType == \"bus_stop\" %}
Bus
{% else %}
Autre tansport
{% endif %}
</small>
</div>
</li>
{% endif %}
{% endfor %}
</ul>
</dd>
</dl>
{# End Store Transport #}
{% endif %}
{# Store Speciality #}
{% if store_page.speciality is defined and store_page.speciality is not empty %}
<hr class=\"my-4\">
<div class=\"mb-3\">
<h4>Spécialités</h4>
</div>
<ul class=\"list-checked list-checked-primary mb-0\">
{% for speciality in store_page.speciality %}
<li class=\"list-checked-item\">
{{ speciality }}
</li>
{% endfor %}
</ul>
{% endif %}
{# End Store Speciality #}
{# Store Service #}
{% if store_page.service is defined and store_page.service is not empty %}
<hr class=\"my-4\">
<div class=\"mb-3\">
<h4>Services</h4>
</div>
<div class=\"row mb-7\">
{% for service in store_page.service %}
<div class=\"col-6 col-md-12 col-lg-6 mb-4 d-flex align-items-center\">
<!-- Icon Block -->
<div class=\"icon icon-xs icon-soft-primary me-2\">
<i class=\"bi {{ service.iconName }}\"></i>
</div>
<span class=\"text-body small\">{{ service }}</span>
<!-- End Icon Block -->
</div>
<!-- End Col -->
{% endfor %}
</div>
{% endif %}
{# End Store Service #}
{# CTA Form #}
{# {% if store.isOpenedForProspect %}#}
{# <button class=\"btn btn-md btn-block btn-warning w-100 btn-transition\"#}
{# style=\"color: white !important;\"#}
{# href=\"#\" data-bilan-gtm=\"\" data-bs-toggle=\"modal\"#}
{# data-bs-target=\"#prospectModal\" data-id=\"{{ store.id }}\"#}
{# data-request=\"checkup\" onclick=\"dataLayer.push({#}
{# 'event': 'click-checkup',#}
{# 'centreMarque': '{{ store.name }}',#}
{# 'centreID': '{{ store.id }}'#}
{# });\">#}
{# Je prends RDV#}
{# </button>#}
{# {% endif %}#}
{# End CTA Form Service #}
</div>
</div>
</div>
</div>
{# End Sticky Left Content #}
</div>
<!-- End Col -->
<div class=\"col-lg-8 content-space-t-lg-2\">
<div class=\"ps-lg-4\">
<h3 class=\"h2 text-center\">Bienvenue chez <span
class=\"text-primary text-highlight-warning\">{{ store.name }}</span>.</h3>
<h1 class=\"h4\">Services et solutions auditives personnalisées
chez {{ store.nameAndZipcode }}</h1>
{# Store Description #}
{% if store_page.description is defined and store_page.description is not null %}
<div class=\"text-secondary mb-5\" style=\"text-align: justify\">
{% if store_page.description|length > 300 %}
{# Spliting Big Text Description #}
{% set words = store_page.description|split(' ') %}
{% set half_length = (words|length / 2)|round(0, 'floor') %}
{% set first_part = words[:half_length]|join(' ') %}
{% set second_part = words[half_length:]|join(' ') %}
<span id=\"collapse-description-store\" class=\"mb-0\">
{{ first_part|raw }} ...
</span>
<div id=\"employerOverviewDescriptionCollapse\" class=\"collapse\">
<p>
{{ first_part|raw }}
{{ second_part|raw }}
</p>
</div>
<a class=\"link link-collapse collapsed\" data-bs-toggle=\"collapse\"
href=\"#employerOverviewDescriptionCollapse\" role=\"button\" aria-expanded=\"false\"
aria-controls=\"employerOverviewDescriptionCollapse\">
<span class=\"link-collapse-default\">Lire plus</span>
<span class=\"link-collapse-active\">Lire moins</span>
</a>
{% else %}
<p>{{ store_page.description|raw }}</p>
{% endif %}
</div>
{% endif %}
{# End Store Description #}
{# Store Carrousel Img #}
{% if store_page.storeImages is defined and store_page.storeImages is not empty %}
<div id=\"fancyboxGallery\" class=\"d-none d-lg-block my-lg-5 d-flex justify-content-center\">
<div class=\"row gx-3\">
{% for storeImg in store_page.storeImages %}
<div class=\"col-4 col-sm px-2 mb-3 mb-sm-0\">
<!-- Media Viewer -->
<img class=\"img-fluid rounded-2 mx-auto\"
src=\"{{ vich_uploader_asset(storeImg, 'imageFile') | imagine_filter('store_image_carrousel') }}\"
alt=\"Photo - {{ store.nameAndZipcode }}\">
<span class=\"media-viewer-container\">
<span class=\"media-viewer-icon\">
<i class=\"bi-plus media-viewer-icon-inner\"></i>
</span>
</span>
<!-- End Media Viewer -->
</div>
<!-- End Col -->
{% endfor %}
</div>
</div>
{% endif %}
{# End Store Carrousel Img #}
{# Store Highlited Staff Section #}
{% if store_page.hasHighlightedStaff is defined and store_page.hasHighlightedStaff == true %}
<hr class=\"my-5\">
<div class=\"row\">
<div class=\"col-sm-4 mb-4 mb-sm-0\">
<div class=\"mb-3\">
{# image size : 300x300 #}
<img class=\"avatar avatar-xl avatar-circle\"
src=\"{{ vich_uploader_asset(store_page, 'highlightedStaffPictureFile') | imagine_filter('store_highlighted_staff_image') }}\"
alt=\"Audioprothésiste {{ store.nameAndZipcode }}\">
</div>
<ul class=\"list-unstyled list-py-1\">
<li class=\"fw-semibold text-primary\">
<i class=\"bi-star-fill text-primary dropdown-item-icon\"></i> {{ store_page.getHighlitedStaffSpecialityName }}
</li>
</ul>
</div>
<!-- End Col -->
<div class=\"col-sm-8\">
<!-- Info -->
<div class=\"mb-2\">
<h4 class=\"mb-1\"><a href=\"\">{{ store_page.highlightedStaffName }}</a></h4>
<p class=\"fw-semibold\">{{ store_page.highlightedStaffJob }}</p>
</div>
<p>{{ store_page.highlightedStaffDescription }}</p>
<!-- End Info -->
</div>
<!-- End Col -->
</div>
{% endif %}
{# End Store Highlited Staff Section #}
{# Store Map #}
<div class=\"border border-primary rounded my-5\" id=\"map\" style=\"height: 330px;\"
data-store-latitude=\"{{ store.latitude }}\"
data-store-longitude=\"{{ store.longitude }}\"
{% if coordinates_used_in_finder|length>1 %}
data-from-latitude=\"{{ coordinates_used_in_finder[0] }}\"
data-from-longitude=\"{{ coordinates_used_in_finder[1] }}\"
{% endif %}
></div>
{# End Store Map #}
{# {% if store.isOpenedForProspect %}#}
{# <div class=\"text-center my-5\">#}
{# <p class=\"fs-4\">Prenez rendez-vous pour un bilan auditif gratuit chez {{ store.name }}#}
{# et#}
{# faites le premier pas vers une meilleure qualité de vie.</p>#}
{# <button class=\"btn btn-warning px-5\"#}
{# style=\"color: white !important;\"#}
{# href=\"#\" data-bilan-gtm=\"\" data-bs-toggle=\"modal\"#}
{# data-bs-target=\"#prospectModal\" data-id=\"{{ store.id }}\"#}
{# data-request=\"checkup\" onclick=\"dataLayer.push({#}
{# 'event': 'click-checkup',#}
{# 'centreMarque': '{{ store.name }}',#}
{# 'centreID': '{{ store.id }}'#}
{# });\">#}
{# Je prends RDV#}
{# </button>#}
{# </div>#}
{# {% endif %}#}
<!-- End Sticky End Point -->
<div id=\"stickyBlockEndPoint\"></div>
</div>
</div>
<!-- End Col -->
</div>
<!-- End Row -->
</div>
<!-- End Content -->
{# Section TEAM (employee) #}
{% if store_page.employees is defined and store_page.employees is not empty %}
<div class=\"container content-space-1\">
<!-- Heading -->
<div class=\"w-md-80 w-lg-50 text-center mx-md-auto mb-3 mb-md-5\">
<h2 class=\"font-weight-bold mb-2\">L'équipe {{ store.name }}</h2>
</div>
<!-- End Heading -->
<div class=\"row justify-content-center\">
{% for employee in store_page.employees %}
<div class=\"col-sm-6 col-md-5 mb-4 mb-sm-0\">
<!-- Media -->
<div class=\"d-flex justify-content-center\">
<div class=\"flex-shrink-0\">
{# Img Size : 160x160 #}
{% if employee.picturePath is not null %}
<img class=\"avatar avatar-lg avatar-circle\"
src=\"{{ vich_uploader_asset(employee, 'pictureFile') | imagine_filter('profile_image') }}\"
alt=\"Bilan Auditif {{ store.nameAndZipcode }}\">
{% else %}
<span class=\"avatar avatar-lg avatar-soft-warning avatar-circle\">
<span class=\"avatar-initials\">{{ employee.firstname|first|lower }}{{ employee.lastname|first|lower }}</span>
</span>
{% endif %}
</div>
<div class=\"ms-3\">
<h4 class=\"mb-1 text-dark\">
{{ employee.firstname }} {{ employee.lastname }}
</h4>
<p class=\"text-primary fw-bold\">{{ employee.speciality }}</p>
</div>
</div>
<!-- End Media -->
</div>
<!-- End Col -->
{% endfor %}
</div>
<!-- End Col -->
</div>
<!-- End Row -->
</div>
{% endif %}
{# End Section TEAM (employee) #}
{# Section Hearing Brand #}
{% if store_page.hearingMaker is defined and store_page.hearingMaker is not empty %}
<hr class=\"my-1\">
<div class=\"container content-space-1\">
<div class=\"row align-items-lg-center\">
<div class=\"w-md-75 w-lg-50 text-center mx-md-auto mb-3\">
<h2>Les marques distribuées chez {{ store.name }}</h2>
</div>
<div class=\"col-md-7 col-lg-8 mb-5 mb-md-0\">
<div class=\"row align-items-center\">
{% for hearingMaker in store_page.hearingMaker|slice(0, 12) %}
{% if hearingMaker.hasLogo %}
<div class=\"col text-center py-3\">
<img class=\"avatar avatar-lg avatar-4x3\"
src=\"{{ vich_uploader_asset(hearingMaker, 'logoFile') | imagine_filter('hearing_maker_carrousel') }}\"
alt=\"Audioprothésiste {{ hearingMaker.name }}\">
</div>
{% endif %}
{% endfor %}
</div>
<!-- End Row -->
</div>
<div class=\"col-md-5 col-lg-4\">
<div class=\"ps-md-4\">
<h2 class=\"display-5 text-primary\">98%</h2>
<p>Des clients recommandent ces marques pour leurs solutions auditives innovantes et
fiables.</p>
</div>
</div>
</div>
</div>
{% endif %}
{# End Section Hearing Brand #}
{# Section Care Network #}
{% if store_page.careNetworks is defined and store_page.careNetworks is not empty %}
{# Separator #}
<div class=\"border-top mx-auto my-lg-5\" style=\"max-width: 25rem;\"></div>
{# End Separator #}
<div class=\"container content-space-1 content-space-lg-2 content-space-xl-3\">
<div class=\"row\">
<div class=\"col-md-6 col-lg-5 pt-3 pt-md-0\">
<!-- Card -->
<div class=\"card bg-primary shadow-lg mt-md-n6 aos-init aos-animate\" data-aos=\"fade-up\">
<div class=\"card-body\">
<div class=\"mb-3\">
<span class=\"card-subtitle text-warning text-center\" style=\"font-size: 1.4em;\">Découvrez les Réseaux de Soins affiliés</span>
<h2 class=\"h5 card-title text-white\">Apprenez comment les réseaux de soins
auditifs
transforment l'expérience des patients en offrant des solutions
personnalisées
et de haute qualité.</h2>
</div>
<div class=\"d-grid\">
<a class=\"btn btn-soft-light btn-transition\" href=\"\">Lire l'article</a>
</div>
</div>
</div>
<!-- End Card -->
</div>
<!-- End Col -->
<div class=\"col-md-6 col-lg-7 my-5 my-md-0\">
<div class=\"row align-items-center gap-lg-5\">
{% for careNetwork in store_page.careNetworks|slice(0, 9) %}
{% if careNetwork.haslogo and careNetwork.logoFile is not null %}
<div class=\"col col-lg-3 py-1\">
<img class=\"avatar avatar-4x3 avatar-centered\"
src=\"{{ vich_uploader_asset(careNetwork, 'logoFile') | imagine_filter('care_network_carrousel') }}\"
alt=\"Réseau de soins {{ careNetwork.name }}\">
</div>
{% endif %}
<!-- End Col -->
{% endfor %}
</div>
<!-- End Row -->
</div>
<!-- End Col -->
</div>
<!-- End Row -->
</div>
{% endif %}
{# End Section Care Network #}
{% if store_place_data.rating is defined and store_place_data.rating is not null %}
{# Section Review Store #}
{% set rating = store_place_data.rating %}
<div id=\"reviews-section\" class=\"bg-dark text-white\" style=\"background-image: url({{ asset('build/front_v4/svg/components/wave-pattern-light.svg') }});\">
<div class=\"container content-space-1\">
<div class=\"w-md-75 w-lg-50 text-center mx-md-auto mb-2 mb-md-5\">
<h2 class=\"text-white\">A propos de nos clients</h2>
</div>
<div class=\"row mb-3\">
<div class=\"col-sm-6 mb-3 mb-sm-0 d-flex justify-content-center\">
<!-- Media -->
<div class=\"d-flex align-items-center\">
<div class=\"flex-shrink-0\">
<span class=\"display-4 text-white\">{{ rating }}</span><small>/5</small>
</div>
<div class=\"flex-grow-1 ms-4\">
<!-- Rating -->
<div class=\"d-flex gap-1 mb-2\">
{% set fullStars = rating|round(0, 'floor') %}
{% set hasHalfStar = (rating - fullStars) >= 0.5 %}
{% set emptyStars = 5 - fullStars - (hasHalfStar ? 1 : 0) %}
{# Étoiles pleines #}
{% if fullStars > 0 %}
{% for i in 1..fullStars %}
<img src=\"{{ asset('build/front_v4/svg/illustrations/star.svg') }}\"
alt=\"Full star\"
width=\"14\">
{% endfor %}
{% endif %}
{# Demi-étoile #}
{% if hasHalfStar %}
<img src=\"{{ asset('build/front_v4/svg/illustrations/star-half.svg') }}\"
alt=\"Half star\"
width=\"14\">
{% endif %}
{# Étoiles vides #}
{% if emptyStars > 0 %}
{% for i in 1..emptyStars %}
<img src=\"{{ asset('build/front_v4/svg/illustrations/star-muted.svg') }}\"
alt=\"Empty star\"
width=\"14\">
{% endfor %}
{% endif %}
</div>
<!-- End Rating -->
<span class=\"d-block\">{{ store_place_data.userRatingCount }} avis</span>
</div>
</div>
<!-- End Media -->
</div>
<!-- End Col -->
<div class=\"col-sm-6 d-flex justify-content-center\">
<div class=\"d-flex flex-column flex-md-row align-items-center\">
<div class=\"flex-shrink-0\">
<span class=\"display-4 text-white\">{{ rating / 5 * 100 }}%</span>
</div>
<div class=\"flex-grow-1 ms-md-4\">
<span class=\"font-size-1\">des clients<br class=\"d-none d-md-block\"> recommande notre centre auditif</span>
</div>
</div>
</div>
<!-- End Col -->
</div>
</div>
</div>
{# End Section Review Store #}
{% endif %}
{# Section ORL #}
{% if orls|length > 0 %}
<div class=\"container content-space-1 content-space-lg-2\">
<!-- Heading -->
<div class=\"w-md-75 w-lg-50 text-center mx-md-auto mb-3\">
<h2>ORL à proximité</h2>
<p>
Nous avons sélectionné {{ orls|length }} ORL à proximité.
<a class=\"link\"
href=\"{{ absolute_path_orl ~ path('orl_finder', {'lat': store.latitude, 'lng':store.longitude}) }}\"
target=\"_blank\">Découvrez d'autre ORL.</a>
</p>
</div>
<!-- End Heading -->
<div class=\"row row-cols-1 row-cols-sm-2 row-cols-lg-3 mb-5 d-flex justify-content-center\">
{% for orlData in orls %}
{% set orl = orlData[0] %}
<div class=\"col mb-5\">
<!-- Card -->
<div class=\"card card-bordered h-100\">
<!-- Card Body -->
<div class=\"card-body\">
<h3 class=\"card-title\">
<a class=\"text-dark\"
href=\"\">{{ orl.name|length > 20 ? orl.name|slice(0, 25) ~ '...' : orl.name }}
{# {% if loop.index is even %}#}
{# <div class=\"flex-grow-1 d-inline-block\">#}
{# <h6 class=\"card-title\">#}
{# <img class=\"avatar avatar-xss ms-1 mb-2\"#}
{# src=\"{{ asset('build/front_v4/svg/illustrations/top-vendor.svg') }}\"#}
{# alt=\"Review rating\" data-toggle=\"tooltip\"#}
{# data-placement=\"top\"#}
{# title=\"Claimed profile\">#}
{# </h6>#}
{# </div>#}
{# {% endif %}#}
</a>
</h3>
<div class=\"text-muted small mb-2\">
<i class=\"bi-map-fill me-1\"></i> {{ orl.address }}
, {{ orl.zipCode }} {{ orl.city }}
</div>
{% if orl.phoneNumber is defined and orl.phoneNumber is not null %}
<div class=\"text-muted small mb-2\">
<i class=\"bi-phone me-1\"></i> {{ orl.phoneNumber|format_french_phone_number }}
</div>
{% endif %}
<span class=\"badge bg-soft-success text-success me-2\">
<span class=\"legend-indicator bg-success\"></span>Ouvert
</span>
</div>
<!-- End Card Body -->
{# <!-- Card Footer -->#}
{# <div class=\"card-footer pt-0\">#}
{# <ul class=\"list-inline list-separator small text-body\">#}
{# <li class=\"list-inline-item\">RDV dans les 3 jours</li>#}
{# <li class=\"list-inline-item\">A proximité</li>#}
{# <li class=\"list-inline-item\">ORL indépendant</li>#}
{# </ul>#}
{# </div>#}
{# <!-- End Card Footer -->#}
</div>
<!-- End Card -->
</div>
{% endfor %}
</div>
<div class=\"text-center\">
<a class=\"btn btn-outline-primary\"
href=\"{{ absolute_path_orl ~ path('orl_finder', {'lat': store.latitude, 'lng':store.longitude}) }}\"
target=\"_blank\">Trouver d'autres ORL <i
class=\"bi-chevron-right small ms-1\"></i></a>
</div>
</div>
<!-- End Card Grid -->
{% endif %}
{# End Section ORL #}
</main>
<!-- ========== END MAIN CONTENT ========== -->
{# Modal Prospect Form #}
{% use 'front_v4/mca/partials/_modal_prospect.html.twig' with inc_content as modal_lead_content %}
{{ block('modal_lead_content') }}
{# End Modal Prospect Form #}
{% endblock content %}
{% block javascripts %}
<script
src=\"https://code.jquery.com/jquery-3.7.1.min.js\"
integrity=\"sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=\"
crossorigin=\"anonymous\"></script>
{# Schema Balise SEO #}
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"Store\",
\"name\": \"{{ store.name }}\",
{% if store.logoPath is defined and store.logoPath is not null %}
\"image\": \"{{ store.logoPath }}\",
{% endif %}
\"address\": {
\"@type\": \"PostalAddress\",
\"streetAddress\": \"{{ store.address }}\",
\"addressLocality\": \"{{ store.city }}\",
\"postalCode\": \"{{ store.zipCode }}\",
\"addressCountry\": \"FR\"
},
{% if store.phoneNumber is defined and store.phoneNumber is not null %}
\"telephone\": \"{{ store.phoneNumber }}\",
{% endif %}
{% if store.latitude is defined and store.latitude is not null and store.longitude is defined and store.longitude is not null %}
\"geo\": {
\"@type\": \"GeoCoordinates\",
\"latitude\": \"{{ store.latitude }}\",
\"longitude\": \"{{ store.longitude }}\"
}
{% endif %}
}
</script>
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"BreadcrumbList\",
\"itemListElement\": [
{% for breadcrumb in breadcrumbs %}
{
\"@type\": \"ListItem\",
\"position\": \"{{ loop.index }}\",
\"item\": {
\"@id\": \"{{ breadcrumb.url }}\",
\"name\": \"{{ breadcrumb.name }}\"
}
}{{ not loop.last ? ',' : '' }}
{% endfor %}
]
}
</script>
{# End Schema Balise SEO #}
{# Google API MAP #}
<script type=\"text/javascript\"
src=\"https://maps.googleapis.com/maps/api/js?&key=AIzaSyAyLv6STXzvZeMXKMZU3DLaNIkBvv8HlBI&libraries=places&v=weekly\"></script>
{# End Google API MAP #}
{# Modal Lead JS #}
{% use 'front_v4/mca/partials/_modal_prospect.html.twig' with inc_javascripts as modal_lead_javascripts %}
{{ block('modal_lead_javascripts') }}
{# End Modal Lead JS #}
{{ encore_entry_script_tags('display_center_number') }}
{{ encore_entry_script_tags('store_page') }}
{{ encore_entry_script_tags('store_single') }}
{% endblock javascripts %}
", "front_v4/mca/store/single.html.twig", "/var/www/hearing_store_locator/templates/front_v4/mca/store/single.html.twig");
}
}