var/cache/dev/twig/e9/e910a3608c9cac8bc1e7534b876698f2858279d6db37803d1d1d52e48867743e.php line 570

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @View/layouts/base.html.twig */
  14. class __TwigTemplate_51bf46d90631f9af50ac97af5db317b02032c1fb91e4185bef610f92826f7970 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'stylesheets' => [$this'block_stylesheets'],
  25.             'head' => [$this'block_head'],
  26.             'body' => [$this'block_body'],
  27.             'content' => [$this'block_content'],
  28.             'javascripts' => [$this'block_javascripts'],
  29.         ];
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@View/layouts/base.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@View/layouts/base.html.twig"));
  38.         // line 1
  39.         echo "<!DOCTYPE html>
  40. ";
  41.         // line 3
  42.         $context["bodyClass"] = null;
  43.         // line 4
  44.         $context["pageClasses"] = [=> "page"];
  45.         // line 5
  46.         echo "
  47. ";
  48.         // line 6
  49.         if (array_key_exists("pageClass"$context)) {
  50.             // line 7
  51.             echo "\t";
  52.             $context["bodyClass"] = ((isset($context["pageClass"]) || array_key_exists("pageClass"$context) ? $context["pageClass"] : (function () { throw new RuntimeError('Variable "pageClass" does not exist.'7$this->source); })()) . "-page");
  53.             // line 8
  54.             echo "\t";
  55.             $context["pageClasses"] = twig_array_merge((isset($context["pageClasses"]) || array_key_exists("pageClasses"$context) ? $context["pageClasses"] : (function () { throw new RuntimeError('Variable "pageClasses" does not exist.'8$this->source); })()), [=> ((isset($context["pageClass"]) || array_key_exists("pageClass"$context) ? $context["pageClass"] : (function () { throw new RuntimeError('Variable "pageClass" does not exist.'8$this->source); })()) . "-page")]);
  56.         }
  57.         // line 10
  58.         echo "
  59. ";
  60.         // line 11
  61.         $context["pageClasses"] = twig_join_filter((isset($context["pageClasses"]) || array_key_exists("pageClasses"$context) ? $context["pageClasses"] : (function () { throw new RuntimeError('Variable "pageClasses" does not exist.'11$this->source); })()), " ");
  62.         // line 12
  63.         $context["lang"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'12$this->source); })()), "request", [], "any"falsefalsefalse12), "getLocale", [], "method"falsefalsefalse12);
  64.         // line 13
  65.         $context["residence_mode"] = $this->extensions['App\Twig\TwigExtension']->getResidenceMode();
  66.         // line 14
  67.         $context["social_media"] = [];
  68.         // line 15
  69.         echo "<html lang=\"fr\">
  70. \t<head>
  71. \t\t";
  72.         // line 17
  73.         $context["schemeAndHttpHost"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'17$this->source); })()), "request", [], "any"falsefalsefalse17), "getSchemeAndHttpHost", [], "any"falsefalsefalse17);
  74.         // line 18
  75.         echo "\t\t";
  76.         if (twig_in_filter("miramar-lacigale.com", (isset($context["schemeAndHttpHost"]) || array_key_exists("schemeAndHttpHost"$context) ? $context["schemeAndHttpHost"] : (function () { throw new RuntimeError('Variable "schemeAndHttpHost" does not exist.'18$this->source); })()))) {
  77.             // line 19
  78.             echo "\t\t\t<meta name=\"facebook-domain-verification\" content=\"4t45bul4etl9qga4a810ima4xten22\"/>
  79. \t\t";
  80.         }
  81.         // line 21
  82.         echo "\t\t";
  83.         if ((array_key_exists("page_versions"$context) && (isset($context["page_versions"]) || array_key_exists("page_versions"$context) ? $context["page_versions"] : (function () { throw new RuntimeError('Variable "page_versions" does not exist.'21$this->source); })()))) {
  84.             // line 22
  85.             echo "\t\t\t";
  86.             $context['_parent'] = $context;
  87.             $context['_seq'] = twig_ensure_traversable((isset($context["page_versions"]) || array_key_exists("page_versions"$context) ? $context["page_versions"] : (function () { throw new RuntimeError('Variable "page_versions" does not exist.'22$this->source); })()));
  88.             foreach ($context['_seq'] as $context["_key"] => $context["version"]) {
  89.                 // line 23
  90.                 echo "\t\t\t\t<link rel=\"alternate\" hreflang=\"";
  91.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["version"], "value", [], "array"falsefalsefalse23), "html"nulltrue);
  92.                 echo "\" href=\"";
  93.                 echo twig_escape_filter($this->env, (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'23$this->source); })()), "request", [], "any"falsefalsefalse23), "getSchemeAndHttpHost", [], "method"falsefalsefalse23) . twig_get_attribute($this->env$this->source$context["version"], "to", [], "array"falsefalsefalse23)), "html"nulltrue);
  94.                 echo "\"/>
  95. \t\t\t\t";
  96.                 // line 24
  97.                 if ((twig_get_attribute($this->env$this->source$context["version"], "value", [], "array"falsefalsefalse24) == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'24$this->source); })()), "request", [], "any"falsefalsefalse24), "getLocale", [], "method"falsefalsefalse24))) {
  98.                     // line 25
  99.                     echo "\t\t\t\t\t<link rel=\"canonical\" href=\"";
  100.                     echo twig_escape_filter($this->env, (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'25$this->source); })()), "request", [], "any"falsefalsefalse25), "getSchemeAndHttpHost", [], "method"falsefalsefalse25) . twig_get_attribute($this->env$this->source$context["version"], "to", [], "array"falsefalsefalse25)), "html"nulltrue);
  101.                     echo "\"/>
  102. \t\t\t\t";
  103.                 }
  104.                 // line 27
  105.                 echo "\t\t\t";
  106.             }
  107.             $_parent $context['_parent'];
  108.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['version'], $context['_parent'], $context['loop']);
  109.             $context array_intersect_key($context$_parent) + $_parent;
  110.             // line 28
  111.             echo "\t\t";
  112.         }
  113.         // line 29
  114.         echo "
  115. \t\t<meta charset=\"utf-8\">
  116. \t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=10\">
  117. \t\t";
  118.         // line 33
  119.         if (array_key_exists("page"$context)) {
  120.             // line 34
  121.             echo "\t\t\t<meta name=\"title\" content=\"";
  122.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["frontservice"]) || array_key_exists("frontservice"$context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.'34$this->source); })()), "getHeaderFields", [=> (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'34$this->source); })()), => "seo_meta_title"=> (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'34$this->source); })())], "method"falsefalsefalse34), "html"nulltrue);
  123.             echo "\"/>
  124. \t\t\t<meta name=\"description\" content=\"";
  125.             // line 35
  126.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["frontservice"]) || array_key_exists("frontservice"$context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.'35$this->source); })()), "getHeaderFields", [=> (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'35$this->source); })()), => "seo_meta_description"=> (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'35$this->source); })())], "method"falsefalsefalse35), "html"nulltrue);
  127.             echo "\"/>
  128. \t\t\t<title>";
  129.             // line 36
  130.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["frontservice"]) || array_key_exists("frontservice"$context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.'36$this->source); })()), "getHeaderFields", [=> (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'36$this->source); })()), => "seo_meta_title"=> (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'36$this->source); })())], "method"falsefalsefalse36), "html"nulltrue);
  131.             echo "</title>
  132. \t\t";
  133.         } else {
  134.             // line 38
  135.             echo "\t\t\t<title>Miramar</title>
  136. \t\t";
  137.         }
  138.         // line 40
  139.         echo "\t\t<link href='https://api.mapbox.com/mapbox-gl-js/v2.0.0/mapbox-gl.css' rel='stylesheet'/>
  140. \t\t";
  141.         // line 43
  142.         $this->displayBlock('stylesheets'$context$blocks);
  143.         // line 47
  144.         echo "
  145. \t\t\t\t\t";
  146.         // line 62
  147.         $context["schemeAndHttpHost"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'62$this->source); })()), "request", [], "any"falsefalsefalse62), "getSchemeAndHttpHost", [], "any"falsefalsefalse62);
  148.         // line 63
  149.         echo "\t\t\t";
  150.         if (twig_in_filter("miramar-lacigale.com", (isset($context["schemeAndHttpHost"]) || array_key_exists("schemeAndHttpHost"$context) ? $context["schemeAndHttpHost"] : (function () { throw new RuntimeError('Variable "schemeAndHttpHost" does not exist.'63$this->source); })()))) {
  151.             // line 64
  152.             echo "\t\t\t<!-- Google Tag Manager -->
  153. \t\t\t
  154. \t\t\t
  155. \t\t\t\t<script>
  156. (function (w, d, s, l, i) {
  157. w[l] = w[l] || [];
  158. w[l].push({'gtm.start': new Date().getTime(), event: 'gtm.js'});
  159. var f = d.getElementsByTagName(s)[0],
  160. j = d.createElement(s),
  161. dl = l != 'dataLayer' ? '&l=' + l : '';
  162. j.async = true;
  163. j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
  164. f.parentNode.insertBefore(j, f);
  165. })(window, document, 'script', 'dataLayer', 'GTM-NZDDJPS');
  166. \t\t</script>
  167. \t\t\t<!-- End Google Tag Manager -->
  168. \t\t\t\t";
  169.         }
  170.         // line 81
  171.         echo "\t\t\t
  172. \t\t<script src='https://www.google.com/recaptcha/api.js?render=6LeggfEcAAAAAClhhByqb-q6e7AI-TrnFqhvirqb'></script>
  173. \t\t";
  174.         // line 84
  175.         $context["schemeAndHttpHost"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'84$this->source); })()), "request", [], "any"falsefalsefalse84), "getSchemeAndHttpHost", [], "any"falsefalsefalse84);
  176.         // line 85
  177.         echo "\t\t";
  178.         if (twig_in_filter("miramar-lacigale.com", (isset($context["schemeAndHttpHost"]) || array_key_exists("schemeAndHttpHost"$context) ? $context["schemeAndHttpHost"] : (function () { throw new RuntimeError('Variable "schemeAndHttpHost" does not exist.'85$this->source); })()))) {
  179.             // line 86
  180.             echo "\t\t\t<!-- Meta Pixel Code -->
  181. \t\t\t<script>
  182. \t\t\t\t!function (f, b, e, v, n, t, s) {
  183. if (f.fbq) 
  184. return;
  185. n = f.fbq = function () {
  186. n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments)
  187. };
  188. if (! f._fbq) 
  189. f._fbq = n;
  190. n.push = n;
  191. n.loaded = !0;
  192. n.version = '2.0';
  193. n.queue = [];
  194. t = b.createElement(e);
  195. t.async = !0;
  196. t.src = v;
  197. s = b.getElementsByTagName(e)[0];
  198. s.parentNode.insertBefore(t, s)
  199. }(window, document, 'script', 'https://connect.facebook.net/en_US/fbevents.js');
  200. fbq('init', '905233410257695');
  201. fbq('track', 'PageView');
  202. \t\t\t</script>
  203. \t\t\t<noscript><img height=\"1\" width=\"1\" style=\"display:none\" src=\"https://www.facebook.com/tr?id=905233410257695&ev=PageView&noscript=1\"/></noscript>
  204. \t\t\t<!-- End Meta Pixel Code -->
  205. \t\t\t";
  206.             // line 133
  207.             echo "
  208. \t\t";
  209.         }
  210.         // line 135
  211.         echo "
  212. \t\t";
  213.         // line 136
  214.         $this->displayBlock('head'$context$blocks);
  215.         // line 137
  216.         echo "\t\t";
  217.         if (array_key_exists("page"$context)) {
  218.             // line 138
  219.             echo "\t\t\t";
  220.             $context["array"] = twig_get_attribute($this->env$this->source, (isset($context["frontservice"]) || array_key_exists("frontservice"$context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.'138$this->source); })()), "getSchemaBreadcrumb", [=> (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'138$this->source); })()), => (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'138$this->source); })()), => (isset($context["schemeAndHttpHost"]) || array_key_exists("schemeAndHttpHost"$context) ? $context["schemeAndHttpHost"] : (function () { throw new RuntimeError('Variable "schemeAndHttpHost" does not exist.'138$this->source); })())], "method"falsefalsefalse138);
  221.             // line 139
  222.             echo "\t\t\t<script type=\"application/ld+json\">
  223. \t\t\t\t{
  224. \t\t\t\t\t\t\t\t\t\"@context\": \"http://schema.org/\",
  225. \t\t\t\t\t\t\t\t\t\"@type\": \"BreadcrumbList\",
  226. \t\t\t\t\t\t\t\t\t\"name\": \"Miramar La Cigale : Hôtel Thalasso & Spa\",
  227. \t\t\t\t\t\t\t\t\t\"itemListElement\":
  228. \t\t\t\t";
  229.             // line 145
  230.             echo json_encode((isset($context["array"]) || array_key_exists("array"$context) ? $context["array"] : (function () { throw new RuntimeError('Variable "array" does not exist.'145$this->source); })()));
  231.             echo "
  232. \t\t\t\t}
  233. \t\t\t</script>
  234. \t\t";
  235.         }
  236.         // line 149
  237.         echo "\t\t<!-- favicon -->
  238.         <link rel=\"icon\" type=\"image/x-icon\" href=\"";
  239.         // line 150
  240.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/favicon.png"), "html"nulltrue);
  241.         echo "\" />
  242. \t</head>
  243. \t<body ";
  244.         // line 154
  245.         if ((isset($context["bodyClass"]) || array_key_exists("bodyClass"$context) ? $context["bodyClass"] : (function () { throw new RuntimeError('Variable "bodyClass" does not exist.'154$this->source); })())) {
  246.             echo " class=\"";
  247.             echo twig_escape_filter($this->env, (isset($context["bodyClass"]) || array_key_exists("bodyClass"$context) ? $context["bodyClass"] : (function () { throw new RuntimeError('Variable "bodyClass" does not exist.'154$this->source); })()), "html"nulltrue);
  248.             echo "\" ";
  249.         }
  250.         echo ">
  251. \t\t";
  252.         // line 156
  253.         if (twig_in_filter("miramar-lacigale.com", (isset($context["schemeAndHttpHost"]) || array_key_exists("schemeAndHttpHost"$context) ? $context["schemeAndHttpHost"] : (function () { throw new RuntimeError('Variable "schemeAndHttpHost" does not exist.'156$this->source); })()))) {
  254.             // line 157
  255.             echo "\t\t\t<!-- Google Tag Manager (noscript) -->
  256. \t\t\t<noscript>
  257. \t\t\t\t<iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-NZDDJPS\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>
  258. \t\t\t</noscript>
  259. \t\t\t<!-- End Google Tag Manager (noscript) -->
  260. \t\t";
  261.         }
  262.         // line 163
  263.         echo "
  264. \t\t";
  265.         // line 164
  266.         $this->displayBlock('body'$context$blocks);
  267.         // line 165
  268.         echo "
  269. \t\t";
  270.         // line 166
  271.         $this->loadTemplate("component/page_transition.html.twig""@View/layouts/base.html.twig"166)->display($context);
  272.         // line 167
  273.         echo "
  274. \t\t<div style=\"display:none\">
  275. \t\t\t";
  276.         // line 169
  277.         $this->loadTemplate("layouts/sprite.svg""@View/layouts/base.html.twig"169)->display($context);
  278.         // line 170
  279.         echo "\t\t</div>
  280. \t\t";
  281.         // line 173
  282.         echo "\t\t<main
  283. \t\t\tdata-page=\"";
  284.         // line 174
  285.         echo twig_escape_filter($this->env, ((array_key_exists("jsPageId"$context)) ? (_twig_default_filter((isset($context["jsPageId"]) || array_key_exists("jsPageId"$context) ? $context["jsPageId"] : (function () { throw new RuntimeError('Variable "jsPageId" does not exist.'174$this->source); })()), "")) : ("")), "html"nulltrue);
  286.         echo "\" class=\"";
  287.         echo twig_escape_filter($this->env, (isset($context["pageClasses"]) || array_key_exists("pageClasses"$context) ? $context["pageClasses"] : (function () { throw new RuntimeError('Variable "pageClasses" does not exist.'174$this->source); })()), "html"nulltrue);
  288.         echo "\">
  289. \t\t\t";
  290.         // line 176
  291.         echo "\t\t\t";
  292.         $this->loadTemplate("component/modal-reservations.html.twig""@View/layouts/base.html.twig"176)->display([]);
  293.         // line 177
  294.         echo "
  295. \t\t\t";
  296.         // line 179
  297.         echo "\t\t\t";
  298.         $context["first_menu_items"] = [];
  299.         // line 180
  300.         echo "\t\t\t";
  301.         $context["second_menu_items"] = [];
  302.         // line 181
  303.         echo "\t\t\t";
  304.         if ((isset($context["residence_mode"]) || array_key_exists("residence_mode"$context) ? $context["residence_mode"] : (function () { throw new RuntimeError('Variable "residence_mode" does not exist.'181$this->source); })())) {
  305.             // line 182
  306.             echo "\t\t\t\t";
  307.             $context["resi_type"] = "residence";
  308.             // line 183
  309.             echo "\t\t\t";
  310.         } else {
  311.             // line 184
  312.             echo "\t\t\t\t";
  313.             $context["resi_type"] = "hotel";
  314.             // line 185
  315.             echo "\t\t\t";
  316.         }
  317.         // line 186
  318.         echo "\t\t\t";
  319.         if (($this->extensions['App\Twig\TwigExtension']->isCacheMenu((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'186$this->source); })()), (isset($context["resi_type"]) || array_key_exists("resi_type"$context) ? $context["resi_type"] : (function () { throw new RuntimeError('Variable "resi_type" does not exist.'186$this->source); })())) == null)) {
  320.             // line 187
  321.             echo "\t\t\t\t";
  322.             if ((isset($context["residence_mode"]) || array_key_exists("residence_mode"$context) ? $context["residence_mode"] : (function () { throw new RuntimeError('Variable "residence_mode" does not exist.'187$this->source); })())) {
  323.                 // line 188
  324.                 echo "\t\t\t\t\t";
  325.                 $context["menu_principale_residence"] = $this->extensions['App\Twig\TwigExtension']->getMenu("principale-residence");
  326.                 // line 189
  327.                 echo "\t\t\t\t\t";
  328.                 if ((isset($context["menu_principale_residence"]) || array_key_exists("menu_principale_residence"$context) ? $context["menu_principale_residence"] : (function () { throw new RuntimeError('Variable "menu_principale_residence" does not exist.'189$this->source); })())) {
  329.                     // line 190
  330.                     echo "\t\t\t\t\t\t";
  331.                     $context['_parent'] = $context;
  332.                     $context['_seq'] = twig_ensure_traversable((isset($context["menu_principale_residence"]) || array_key_exists("menu_principale_residence"$context) ? $context["menu_principale_residence"] : (function () { throw new RuntimeError('Variable "menu_principale_residence" does not exist.'190$this->source); })()));
  333.                     foreach ($context['_seq'] as $context["_key"] => $context["menu_item"]) {
  334.                         // line 191
  335.                         echo "\t\t\t\t\t\t\t";
  336.                         $context["to"] = twig_get_attribute($this->env$this->source, (isset($context["frontservice"]) || array_key_exists("frontservice"$context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.'191$this->source); })()), "getMenuItemContent", [=> $context["menu_item"], => "link"=> (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'191$this->source); })())], "method"falsefalsefalse191);
  337.                         // line 192
  338.                         echo "\t\t\t\t\t\t\t";
  339.                         if ((isset($context["to"]) || array_key_exists("to"$context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.'192$this->source); })())) {
  340.                             // line 193
  341.                             echo "\t\t\t\t\t\t\t\t";
  342.                             $context["first_menu_items"] = twig_array_merge((isset($context["first_menu_items"]) || array_key_exists("first_menu_items"$context) ? $context["first_menu_items"] : (function () { throw new RuntimeError('Variable "first_menu_items" does not exist.'193$this->source); })()), [=> ["title" => twig_get_attribute($this->env$this->source,                             // line 194
  343. (isset($context["frontservice"]) || array_key_exists("frontservice"$context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.'194$this->source); })()), "getMenuItemContent", [=> $context["menu_item"], => "label"=> (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'194$this->source); })())], "method"falsefalsefalse194), "image" => twig_get_attribute($this->env$this->source,                             // line 195
  344. (isset($context["frontservice"]) || array_key_exists("frontservice"$context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.'195$this->source); })()), "getMediaPublicUrl", [=> twig_get_attribute($this->env$this->source$context["menu_item"], "sonataImg", [], "any"falsefalsefalse195), => "big"=> twig_get_attribute($this->env$this->source, (isset($context["frontservice"]) || array_key_exists("frontservice"$context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.'195$this->source); })()), "getMenuItemContent", [=> $context["menu_item"], => "alt_img"=> (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'195$this->source); })())], "method"falsefalsefalse195)], "method"falsefalsefalse195), "to" => ((twig_get_attribute($this->env$this->source,                             // line 196
  345. $context["menu_item"], "isExternalLink", [], "any"falsefalsefalse196)) ? ((isset($context["to"]) || array_key_exists("to"$context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.'196$this->source); })())) : ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("render_residence_pages", ["_locale" => (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'196$this->source); })()), "slug" => (isset($context["to"]) || array_key_exists("to"$context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.'196$this->source); })()), "hostname" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'196$this->source); })()), "request", [], "any"falsefalsefalse196), "getHttpHost", [], "method"falsefalsefalse196)]))), "target" => ((twig_get_attribute($this->env$this->source,                             // line 197
  346. $context["menu_item"], "isExternalLink", [], "any"falsefalsefalse197)) ? ("_blank") : (""))]]);
  347.                             // line 199
  348.                             echo "\t\t\t\t\t\t\t";
  349.                         }
  350.                         // line 200
  351.                         echo "\t\t\t\t\t\t";
  352.                     }
  353.                     $_parent $context['_parent'];
  354.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['menu_item'], $context['_parent'], $context['loop']);
  355.                     $context array_intersect_key($context$_parent) + $_parent;
  356.                     // line 201
  357.                     echo "\t\t\t\t\t";
  358.                 }
  359.                 // line 202
  360.                 echo "\t\t\t\t\t";
  361.                 $context["menu_secondaire_residence"] = $this->extensions['App\Twig\TwigExtension']->getMenu("secondaire-residence");
  362.                 // line 203
  363.                 echo "\t\t\t\t\t";
  364.                 if ((isset($context["menu_secondaire_residence"]) || array_key_exists("menu_secondaire_residence"$context) ? $context["menu_secondaire_residence"] : (function () { throw new RuntimeError('Variable "menu_secondaire_residence" does not exist.'203$this->source); })())) {
  365.                     // line 204
  366.                     echo "\t\t\t\t\t\t";
  367.                     $context['_parent'] = $context;
  368.                     $context['_seq'] = twig_ensure_traversable((isset($context["menu_secondaire_residence"]) || array_key_exists("menu_secondaire_residence"$context) ? $context["menu_secondaire_residence"] : (function () { throw new RuntimeError('Variable "menu_secondaire_residence" does not exist.'204$this->source); })()));
  369.                     foreach ($context['_seq'] as $context["_key"] => $context["menu_item"]) {
  370.                         // line 205
  371.                         echo "\t\t\t\t\t\t\t";
  372.                         $context["to"] = twig_get_attribute($this->env$this->source, (isset($context["frontservice"]) || array_key_exists("frontservice"$context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.'205$this->source); })()), "getMenuItemContent", [=> $context["menu_item"], => "link"=> (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'205$this->source); })())], "method"falsefalsefalse205);
  373.                         // line 206
  374.                         echo "\t\t\t\t\t\t\t";
  375.                         if ((isset($context["to"]) || array_key_exists("to"$context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.'206$this->source); })())) {
  376.                             // line 207
  377.                             echo "\t\t\t\t\t\t\t\t";
  378.                             $context["second_menu_items"] = twig_array_merge((isset($context["second_menu_items"]) || array_key_exists("second_menu_items"$context) ? $context["second_menu_items"] : (function () { throw new RuntimeError('Variable "second_menu_items" does not exist.'207$this->source); })()), [=> ["title" => twig_get_attribute($this->env$this->source,                             // line 208
  379. (isset($context["frontservice"]) || array_key_exists("frontservice"$context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.'208$this->source); })()), "getMenuItemContent", [=> $context["menu_item"], => "label"=> (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'208$this->source); })())], "method"falsefalsefalse208), "image" => twig_get_attribute($this->env$this->source,                             // line 209
  380. (isset($context["frontservice"]) || array_key_exists("frontservice"$context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.'209$this->source); })()), "getMediaPublicUrl", [=> twig_get_attribute($this->env$this->source$context["menu_item"], "sonataImg", [], "any"falsefalsefalse209), => "big"=> twig_get_attribute($this->env$this->source, (isset($context["frontservice"]) || array_key_exists("frontservice"$context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.'209$this->source); })()), "getMenuItemContent", [=> $context["menu_item"], => "alt_img"=> (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'209$this->source); })())], "method"falsefalsefalse209)], "method"falsefalsefalse209), "to" => ((twig_get_attribute($this->env$this->source,                             // line 210
  381. $context["menu_item"], "isExternalLink", [], "any"falsefalsefalse210)) ? ((isset($context["to"]) || array_key_exists("to"$context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.'210$this->source); })())) : ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("render_residence_pages", ["_locale" => (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'210$this->source); })()), "slug" => (isset($context["to"]) || array_key_exists("to"$context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.'210$this->source); })()), "hostname" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'210$this->source); })()), "request", [], "any"falsefalsefalse210), "getHttpHost", [], "method"falsefalsefalse210)]))), "target" => ((twig_get_attribute($this->env$this->source,                             // line 211
  382. $context["menu_item"], "isExternalLink", [], "any"falsefalsefalse211)) ? ("_blank") : (""))]]);
  383.                             // line 213
  384.                             echo "\t\t\t\t\t\t\t";
  385.                         }
  386.                         // line 214
  387.                         echo "\t\t\t\t\t\t";
  388.                     }
  389.                     $_parent $context['_parent'];
  390.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['menu_item'], $context['_parent'], $context['loop']);
  391.                     $context array_intersect_key($context$_parent) + $_parent;
  392.                     // line 215
  393.                     echo "\t\t\t\t\t";
  394.                 }
  395.                 // line 216
  396.                 echo "\t\t\t\t";
  397.             } else {
  398.                 // line 217
  399.                 echo "\t\t\t\t\t";
  400.                 $context["menu_principal_hotel"] = $this->extensions['App\Twig\TwigExtension']->getMenu("principale");
  401.                 // line 218
  402.                 echo "\t\t\t\t\t";
  403.                 if ((isset($context["menu_principal_hotel"]) || array_key_exists("menu_principal_hotel"$context) ? $context["menu_principal_hotel"] : (function () { throw new RuntimeError('Variable "menu_principal_hotel" does not exist.'218$this->source); })())) {
  404.                     // line 219
  405.                     echo "\t\t\t\t\t\t";
  406.                     $context['_parent'] = $context;
  407.                     $context['_seq'] = twig_ensure_traversable((isset($context["menu_principal_hotel"]) || array_key_exists("menu_principal_hotel"$context) ? $context["menu_principal_hotel"] : (function () { throw new RuntimeError('Variable "menu_principal_hotel" does not exist.'219$this->source); })()));
  408.                     foreach ($context['_seq'] as $context["_key"] => $context["menu_item"]) {
  409.                         // line 220
  410.                         echo "\t\t\t\t\t\t\t";
  411.                         $context["to"] = twig_get_attribute($this->env$this->source, (isset($context["frontservice"]) || array_key_exists("frontservice"$context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.'220$this->source); })()), "getMenuItemContent", [=> $context["menu_item"], => "link"=> (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'220$this->source); })())], "method"falsefalsefalse220);
  412.                         // line 221
  413.                         echo "\t\t\t\t\t\t\t";
  414.                         if ((isset($context["to"]) || array_key_exists("to"$context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.'221$this->source); })())) {
  415.                             // line 222
  416.                             echo "\t\t\t\t\t\t\t\t";
  417.                             $context["first_menu_items"] = twig_array_merge((isset($context["first_menu_items"]) || array_key_exists("first_menu_items"$context) ? $context["first_menu_items"] : (function () { throw new RuntimeError('Variable "first_menu_items" does not exist.'222$this->source); })()), [=> ["title" => twig_get_attribute($this->env$this->source,                             // line 223
  418. (isset($context["frontservice"]) || array_key_exists("frontservice"$context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.'223$this->source); })()), "getMenuItemContent", [=> $context["menu_item"], => "label"=> (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'223$this->source); })())], "method"falsefalsefalse223), "image" => twig_get_attribute($this->env$this->source,                             // line 224
  419. (isset($context["frontservice"]) || array_key_exists("frontservice"$context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.'224$this->source); })()), "getMediaPublicUrl", [=> twig_get_attribute($this->env$this->source$context["menu_item"], "sonataImg", [], "any"falsefalsefalse224), => "big"=> twig_get_attribute($this->env$this->source, (isset($context["frontservice"]) || array_key_exists("frontservice"$context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.'224$this->source); })()), "getMenuItemContent", [=> $context["menu_item"], => "alt_img"=> (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'224$this->source); })())], "method"falsefalsefalse224)], "method"falsefalsefalse224), "to" => ((twig_get_attribute($this->env$this->source,                             // line 225
  420. $context["menu_item"], "isExternalLink", [], "any"falsefalsefalse225)) ? ((isset($context["to"]) || array_key_exists("to"$context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.'225$this->source); })())) : ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("render_mlc_pages", ["_locale" => (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'225$this->source); })()), "slug" => (isset($context["to"]) || array_key_exists("to"$context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.'225$this->source); })()), "hostname" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'225$this->source); })()), "request", [], "any"falsefalsefalse225), "getHttpHost", [], "method"falsefalsefalse225)]))), "target" => ((twig_get_attribute($this->env$this->source,                             // line 226
  421. $context["menu_item"], "isExternalLink", [], "any"falsefalsefalse226)) ? ("_blank") : (""))]]);
  422.                             // line 228
  423.                             echo "\t\t\t\t\t\t\t";
  424.                         }
  425.                         // line 229
  426.                         echo "\t\t\t\t\t\t";
  427.                     }
  428.                     $_parent $context['_parent'];
  429.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['menu_item'], $context['_parent'], $context['loop']);
  430.                     $context array_intersect_key($context$_parent) + $_parent;
  431.                     // line 230
  432.                     echo "
  433. \t\t\t\t\t";
  434.                 }
  435.                 // line 232
  436.                 echo "\t\t\t\t\t";
  437.                 $context["menu_secondaire_hotel"] = $this->extensions['App\Twig\TwigExtension']->getMenu("secondaire");
  438.                 // line 233
  439.                 echo "\t\t\t\t\t";
  440.                 if ((isset($context["menu_secondaire_hotel"]) || array_key_exists("menu_secondaire_hotel"$context) ? $context["menu_secondaire_hotel"] : (function () { throw new RuntimeError('Variable "menu_secondaire_hotel" does not exist.'233$this->source); })())) {
  441.                     // line 234
  442.                     echo "\t\t\t\t\t\t";
  443.                     $context['_parent'] = $context;
  444.                     $context['_seq'] = twig_ensure_traversable((isset($context["menu_secondaire_hotel"]) || array_key_exists("menu_secondaire_hotel"$context) ? $context["menu_secondaire_hotel"] : (function () { throw new RuntimeError('Variable "menu_secondaire_hotel" does not exist.'234$this->source); })()));
  445.                     foreach ($context['_seq'] as $context["_key"] => $context["menu_item"]) {
  446.                         // line 235
  447.                         echo "\t\t\t\t\t\t\t";
  448.                         $context["to"] = twig_get_attribute($this->env$this->source, (isset($context["frontservice"]) || array_key_exists("frontservice"$context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.'235$this->source); })()), "getMenuItemContent", [=> $context["menu_item"], => "link"=> (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'235$this->source); })())], "method"falsefalsefalse235);
  449.                         // line 236
  450.                         echo "\t\t\t\t\t\t\t";
  451.                         if ((isset($context["to"]) || array_key_exists("to"$context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.'236$this->source); })())) {
  452.                             // line 237
  453.                             echo "\t\t\t\t\t\t\t\t";
  454.                             $context["second_menu_items"] = twig_array_merge((isset($context["second_menu_items"]) || array_key_exists("second_menu_items"$context) ? $context["second_menu_items"] : (function () { throw new RuntimeError('Variable "second_menu_items" does not exist.'237$this->source); })()), [=> ["title" => twig_get_attribute($this->env$this->source,                             // line 238
  455. (isset($context["frontservice"]) || array_key_exists("frontservice"$context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.'238$this->source); })()), "getMenuItemContent", [=> $context["menu_item"], => "label"=> (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'238$this->source); })())], "method"falsefalsefalse238), "image" => twig_get_attribute($this->env$this->source,                             // line 239
  456. (isset($context["frontservice"]) || array_key_exists("frontservice"$context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.'239$this->source); })()), "getMediaPublicUrl", [=> twig_get_attribute($this->env$this->source$context["menu_item"], "sonataImg", [], "any"falsefalsefalse239), => "big"=> twig_get_attribute($this->env$this->source, (isset($context["frontservice"]) || array_key_exists("frontservice"$context) ? $context["frontservice"] : (function () { throw new RuntimeError('Variable "frontservice" does not exist.'239$this->source); })()), "getMenuItemContent", [=> $context["menu_item"], => "alt_img"=> (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'239$this->source); })())], "method"falsefalsefalse239)], "method"falsefalsefalse239), "to" => ((twig_get_attribute($this->env$this->source,                             // line 240
  457. $context["menu_item"], "isExternalLink", [], "any"falsefalsefalse240)) ? ((isset($context["to"]) || array_key_exists("to"$context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.'240$this->source); })())) : ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("render_mlc_pages", ["_locale" => (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'240$this->source); })()), "slug" => (isset($context["to"]) || array_key_exists("to"$context) ? $context["to"] : (function () { throw new RuntimeError('Variable "to" does not exist.'240$this->source); })()), "hostname" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'240$this->source); })()), "request", [], "any"falsefalsefalse240), "getHttpHost", [], "method"falsefalsefalse240)]))), "target" => ((twig_get_attribute($this->env$this->source,                             // line 241
  458. $context["menu_item"], "isExternalLink", [], "any"falsefalsefalse241)) ? ("_blank") : (""))]]);
  459.                             // line 243
  460.                             echo "\t\t\t\t\t\t\t";
  461.                         }
  462.                         // line 244
  463.                         echo "\t\t\t\t\t\t";
  464.                     }
  465.                     $_parent $context['_parent'];
  466.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['menu_item'], $context['_parent'], $context['loop']);
  467.                     $context array_intersect_key($context$_parent) + $_parent;
  468.                     // line 245
  469.                     echo "\t\t\t\t\t";
  470.                 }
  471.                 // line 246
  472.                 echo "\t\t\t\t";
  473.             }
  474.             // line 247
  475.             echo "
  476. \t\t\t\t";
  477.             // line 248
  478.             $context["saveCachedMenu"] = $this->extensions['App\Twig\TwigExtension']->saveCachedMenu((isset($context["first_menu_items"]) || array_key_exists("first_menu_items"$context) ? $context["first_menu_items"] : (function () { throw new RuntimeError('Variable "first_menu_items" does not exist.'248$this->source); })()), (isset($context["second_menu_items"]) || array_key_exists("second_menu_items"$context) ? $context["second_menu_items"] : (function () { throw new RuntimeError('Variable "second_menu_items" does not exist.'248$this->source); })()), (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'248$this->source); })()), (isset($context["resi_type"]) || array_key_exists("resi_type"$context) ? $context["resi_type"] : (function () { throw new RuntimeError('Variable "resi_type" does not exist.'248$this->source); })()));
  479.             // line 249
  480.             echo "
  481. \t\t\t";
  482.         } else {
  483.             // line 251
  484.             echo "\t\t\t\t";
  485.             $context["the_cached_menu"] = $this->extensions['App\Twig\TwigExtension']->getCachedMenu((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'251$this->source); })()), (isset($context["resi_type"]) || array_key_exists("resi_type"$context) ? $context["resi_type"] : (function () { throw new RuntimeError('Variable "resi_type" does not exist.'251$this->source); })()));
  486.             // line 252
  487.             echo "\t\t\t\t";
  488.             if ((isset($context["the_cached_menu"]) || array_key_exists("the_cached_menu"$context) ? $context["the_cached_menu"] : (function () { throw new RuntimeError('Variable "the_cached_menu" does not exist.'252$this->source); })())) {
  489.                 // line 253
  490.                 echo "\t\t\t\t\t";
  491.                 $context["first_menu_items"] = twig_get_attribute($this->env$this->source, (isset($context["the_cached_menu"]) || array_key_exists("the_cached_menu"$context) ? $context["the_cached_menu"] : (function () { throw new RuntimeError('Variable "the_cached_menu" does not exist.'253$this->source); })()), "first_menu", [], "array"falsefalsefalse253);
  492.                 // line 254
  493.                 echo "\t\t\t\t\t";
  494.                 $context["second_menu_items"] = twig_get_attribute($this->env$this->source, (isset($context["the_cached_menu"]) || array_key_exists("the_cached_menu"$context) ? $context["the_cached_menu"] : (function () { throw new RuntimeError('Variable "the_cached_menu" does not exist.'254$this->source); })()), "second_menu", [], "array"falsefalsefalse254);
  495.                 // line 255
  496.                 echo "\t\t\t\t";
  497.             }
  498.             // line 256
  499.             echo "\t\t\t";
  500.         }
  501.         // line 257
  502.         echo "\t\t\t";
  503.         if ((isset($context["residence_mode"]) || array_key_exists("residence_mode"$context) ? $context["residence_mode"] : (function () { throw new RuntimeError('Variable "residence_mode" does not exist.'257$this->source); })())) {
  504.             // line 258
  505.             echo "\t\t\t\t";
  506.             $context["resi_social_media"] = $this->extensions['App\Twig\TwigExtension']->getSocialMedia("residence"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'258$this->source); })()), "request", [], "any"falsefalsefalse258), "getLocale", [], "method"falsefalsefalse258));
  507.             // line 259
  508.             echo "\t\t\t\t";
  509.             if ((isset($context["resi_social_media"]) || array_key_exists("resi_social_media"$context) ? $context["resi_social_media"] : (function () { throw new RuntimeError('Variable "resi_social_media" does not exist.'259$this->source); })())) {
  510.                 // line 260
  511.                 echo "\t\t\t\t\t";
  512.                 $context["social_media"] = (isset($context["resi_social_media"]) || array_key_exists("resi_social_media"$context) ? $context["resi_social_media"] : (function () { throw new RuntimeError('Variable "resi_social_media" does not exist.'260$this->source); })());
  513.                 // line 261
  514.                 echo "\t\t\t\t";
  515.             }
  516.             // line 262
  517.             echo "\t\t\t";
  518.         } else {
  519.             // line 263
  520.             echo "\t\t\t\t";
  521.             $context["hotel_social_media"] = $this->extensions['App\Twig\TwigExtension']->getSocialMedia("hotel"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'263$this->source); })()), "request", [], "any"falsefalsefalse263), "getLocale", [], "method"falsefalsefalse263));
  522.             // line 264
  523.             echo "\t\t\t\t";
  524.             if ((isset($context["hotel_social_media"]) || array_key_exists("hotel_social_media"$context) ? $context["hotel_social_media"] : (function () { throw new RuntimeError('Variable "hotel_social_media" does not exist.'264$this->source); })())) {
  525.                 // line 265
  526.                 echo "\t\t\t\t\t";
  527.                 $context["social_media"] = (isset($context["hotel_social_media"]) || array_key_exists("hotel_social_media"$context) ? $context["hotel_social_media"] : (function () { throw new RuntimeError('Variable "hotel_social_media" does not exist.'265$this->source); })());
  528.                 // line 266
  529.                 echo "\t\t\t\t";
  530.             }
  531.             // line 267
  532.             echo "\t\t\t";
  533.         }
  534.         // line 268
  535.         echo "
  536. \t\t\t";
  537.         // line 269
  538.         $this->loadTemplate("component/header/menu.html.twig""@View/layouts/base.html.twig"269)->display(twig_to_array(["props" => ["heading" => ["title" => "Journées & rituels thalasso""titleAnnex" => "se ressourcer"], "firstMenuItems" =>         // line 275
  539. (isset($context["first_menu_items"]) || array_key_exists("first_menu_items"$context) ? $context["first_menu_items"] : (function () { throw new RuntimeError('Variable "first_menu_items" does not exist.'275$this->source); })()), "secondMenuItems" =>         // line 276
  540. (isset($context["second_menu_items"]) || array_key_exists("second_menu_items"$context) ? $context["second_menu_items"] : (function () { throw new RuntimeError('Variable "second_menu_items" does not exist.'276$this->source); })()), "socialItems" =>         // line 277
  541. (isset($context["social_media"]) || array_key_exists("social_media"$context) ? $context["social_media"] : (function () { throw new RuntimeError('Variable "social_media" does not exist.'277$this->source); })())]]));
  542.         // line 280
  543.         echo "
  544. \t\t\t";
  545.         // line 282
  546.         $this->displayBlock('content'$context$blocks);
  547.         // line 283
  548.         echo "\t\t</main>
  549. \t\t";
  550.         // line 286
  551.         $this->displayBlock('javascripts'$context$blocks);
  552.         // line 303
  553.         echo "
  554. \t</body>
  555. </html></body></html>
  556. ";
  557.         
  558.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  559.         
  560.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  561.     }
  562.     // line 43
  563.     public function block_stylesheets($context, array $blocks = [])
  564.     {
  565.         $macros $this->macros;
  566.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  567.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  568.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  569.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  570.         // line 44
  571.         echo "\t\t\t";
  572.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  573.         echo "
  574. \t\t\t<link rel=\"stylesheet\" type=\"text/css\" href=\"";
  575.         // line 45
  576.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("cms/css/style.css"), "html"nulltrue);
  577.         echo "\"/>
  578. \t\t";
  579.         
  580.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  581.         
  582.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  583.     }
  584.     // line 136
  585.     public function block_head($context, array $blocks = [])
  586.     {
  587.         $macros $this->macros;
  588.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  589.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  590.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  591.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  592.         
  593.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  594.         
  595.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  596.     }
  597.     // line 164
  598.     public function block_body($context, array $blocks = [])
  599.     {
  600.         $macros $this->macros;
  601.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  602.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  603.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  604.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  605.         
  606.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  607.         
  608.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  609.     }
  610.     // line 282
  611.     public function block_content($context, array $blocks = [])
  612.     {
  613.         $macros $this->macros;
  614.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  615.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  616.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  617.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  618.         
  619.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  620.         
  621.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  622.     }
  623.     // line 286
  624.     public function block_javascripts($context, array $blocks = [])
  625.     {
  626.         $macros $this->macros;
  627.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  628.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  629.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  630.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  631.         // line 287
  632.         echo "\t\t\t";
  633.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  634.         echo "
  635. \t\t\t<script src=\"";
  636.         // line 288
  637.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/js/custom_front.js"), "html"nulltrue);
  638.         echo "\"></script>
  639. \t\t\t<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js\"></script>
  640. \t\t\t<script src=\"https://code.jquery.com/ui/1.12.1/jquery-ui.js\"></script>
  641. \t\t\t<script src=\"";
  642.         // line 291
  643.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("cms/js/scripts.js"), "html"nulltrue);
  644.         echo "\"></script>
  645. \t\t\t<script>
  646. \t\t\t\tgrecaptcha.ready(function () {
  647. grecaptcha.execute('6LeggfEcAAAAAClhhByqb-q6e7AI-TrnFqhvirqb', {action: 'homepage'}).then(function (token) {
  648. \$('.g-recaptcha-response').each(function (i, obj) {
  649. obj.value = token;
  650. });
  651. });
  652. });
  653. \t\t\t</script>
  654. \t\t\t";
  655.         // line 302
  656.         echo "\t\t";
  657.         
  658.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  659.         
  660.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  661.     }
  662.     public function getTemplateName()
  663.     {
  664.         return "@View/layouts/base.html.twig";
  665.     }
  666.     public function isTraitable()
  667.     {
  668.         return false;
  669.     }
  670.     public function getDebugInfo()
  671.     {
  672.         return array (  707 => 302,  694 => 291,  688 => 288,  683 => 287,  673 => 286,  655 => 282,  637 => 164,  619 => 136,  607 => 45,  602 => 44,  592 => 43,  579 => 303,  577 => 286,  572 => 283,  570 => 282,  566 => 280,  564 => 277,  563 => 276,  562 => 275,  561 => 269,  558 => 268,  555 => 267,  552 => 266,  549 => 265,  546 => 264,  543 => 263,  540 => 262,  537 => 261,  534 => 260,  531 => 259,  528 => 258,  525 => 257,  522 => 256,  519 => 255,  516 => 254,  513 => 253,  510 => 252,  507 => 251,  503 => 249,  501 => 248,  498 => 247,  495 => 246,  492 => 245,  486 => 244,  483 => 243,  481 => 241,  480 => 240,  479 => 239,  478 => 238,  476 => 237,  473 => 236,  470 => 235,  465 => 234,  462 => 233,  459 => 232,  455 => 230,  449 => 229,  446 => 228,  444 => 226,  443 => 225,  442 => 224,  441 => 223,  439 => 222,  436 => 221,  433 => 220,  428 => 219,  425 => 218,  422 => 217,  419 => 216,  416 => 215,  410 => 214,  407 => 213,  405 => 211,  404 => 210,  403 => 209,  402 => 208,  400 => 207,  397 => 206,  394 => 205,  389 => 204,  386 => 203,  383 => 202,  380 => 201,  374 => 200,  371 => 199,  369 => 197,  368 => 196,  367 => 195,  366 => 194,  364 => 193,  361 => 192,  358 => 191,  353 => 190,  350 => 189,  347 => 188,  344 => 187,  341 => 186,  338 => 185,  335 => 184,  332 => 183,  329 => 182,  326 => 181,  323 => 180,  320 => 179,  317 => 177,  314 => 176,  308 => 174,  305 => 173,  301 => 170,  299 => 169,  295 => 167,  293 => 166,  290 => 165,  288 => 164,  285 => 163,  277 => 157,  275 => 156,  266 => 154,  259 => 150,  256 => 149,  249 => 145,  241 => 139,  238 => 138,  235 => 137,  233 => 136,  230 => 135,  226 => 133,  194 => 86,  191 => 85,  189 => 84,  184 => 81,  165 => 64,  162 => 63,  160 => 62,  157 => 47,  155 => 43,  150 => 40,  146 => 38,  141 => 36,  137 => 35,  132 => 34,  130 => 33,  124 => 29,  121 => 28,  115 => 27,  109 => 25,  107 => 24,  100 => 23,  95 => 22,  92 => 21,  88 => 19,  85 => 18,  83 => 17,  79 => 15,  77 => 14,  75 => 13,  73 => 12,  71 => 11,  68 => 10,  64 => 8,  61 => 7,  59 => 6,  56 => 5,  54 => 4,  52 => 3,  48 => 1,);
  673.     }
  674.     public function getSourceContext()
  675.     {
  676.         return new Source("<!DOCTYPE html>
  677. {% set bodyClass = null %}
  678. {% set pageClasses = ['page'] %}
  679. {% if pageClass is defined %}
  680. \t{% set bodyClass = pageClass ~ '-page' %}
  681. \t{% set pageClasses = pageClasses|merge([pageClass ~ '-page']) %}
  682. {% endif %}
  683. {% set pageClasses = pageClasses|join(' ') %}
  684. {% set lang = app.request.getLocale() %}
  685. {% set residence_mode = getResidenceMode() %}
  686. {% set social_media = [] %}
  687. <html lang=\"fr\">
  688. \t<head>
  689. \t\t{% set schemeAndHttpHost = app.request.getSchemeAndHttpHost %}
  690. \t\t{% if 'miramar-lacigale.com' in schemeAndHttpHost %}
  691. \t\t\t<meta name=\"facebook-domain-verification\" content=\"4t45bul4etl9qga4a810ima4xten22\"/>
  692. \t\t{% endif %}
  693. \t\t{% if (page_versions is defined and page_versions) %}
  694. \t\t\t{% for version in page_versions %}
  695. \t\t\t\t<link rel=\"alternate\" hreflang=\"{{version['value']}}\" href=\"{{app.request.getSchemeAndHttpHost() ~ version['to']}}\"/>
  696. \t\t\t\t{% if version['value'] == app.request.getLocale() %}
  697. \t\t\t\t\t<link rel=\"canonical\" href=\"{{app.request.getSchemeAndHttpHost() ~ version['to']}}\"/>
  698. \t\t\t\t{% endif %}
  699. \t\t\t{% endfor %}
  700. \t\t{% endif %}
  701. \t\t<meta charset=\"utf-8\">
  702. \t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=10\">
  703. \t\t{% if page is defined %}
  704. \t\t\t<meta name=\"title\" content=\"{{ frontservice.getHeaderFields(page, 'seo_meta_title', lang) }}\"/>
  705. \t\t\t<meta name=\"description\" content=\"{{ frontservice.getHeaderFields(page, 'seo_meta_description', lang) }}\"/>
  706. \t\t\t<title>{{ frontservice.getHeaderFields(page, 'seo_meta_title', lang) }}</title>
  707. \t\t{% else %}
  708. \t\t\t<title>Miramar</title>
  709. \t\t{% endif %}
  710. \t\t<link href='https://api.mapbox.com/mapbox-gl-js/v2.0.0/mapbox-gl.css' rel='stylesheet'/>
  711. \t\t{% block stylesheets %}
  712. \t\t\t{{ encore_entry_link_tags('app') }}
  713. \t\t\t<link rel=\"stylesheet\" type=\"text/css\" href=\"{{ asset('cms/css/style.css') }}\"/>
  714. \t\t{% endblock %}
  715. \t\t\t\t\t{# <!-- 
  716. \t\t\t\t\t\t\tStart of global snippet: Please do not remove
  717. \t\t\t\t\t\t\tPlace this snippet between the <head> and </head> tags on every page of your site.
  718. \t\t\t\t\t\t\t-->
  719. \t\t\t\t\t\t\t<!-- Global site tag (gtag.js) - Google Marketing Platform -->
  720. \t\t\t\t\t\t\t<script async src=\"https://www.googletagmanager.com/gtag/js?id=DC-10209412\"></script>
  721. \t\t\t\t\t\t\t<script>
  722. \t\t\t\t\t\t\twindow.dataLayer = window.dataLayer || [];
  723. \t\t\t\t\t\t\tfunction gtag(){dataLayer.push(arguments);}
  724. \t\t\t\t\t\t\tgtag('js', new Date());
  725. \t\t\t
  726. \t\t\t\t\t\t\tgtag('config', 'DC-10209412');
  727. \t\t\t\t\t\t\t</script>
  728. \t\t\t\t\t\t\t<!-- End of global snippet: Please do not remove --> #}
  729. {% set schemeAndHttpHost = app.request.getSchemeAndHttpHost %}
  730. \t\t\t{% if 'miramar-lacigale.com' in schemeAndHttpHost %}
  731. \t\t\t<!-- Google Tag Manager -->
  732. \t\t\t
  733. \t\t\t
  734. \t\t\t\t<script>
  735. (function (w, d, s, l, i) {
  736. w[l] = w[l] || [];
  737. w[l].push({'gtm.start': new Date().getTime(), event: 'gtm.js'});
  738. var f = d.getElementsByTagName(s)[0],
  739. j = d.createElement(s),
  740. dl = l != 'dataLayer' ? '&l=' + l : '';
  741. j.async = true;
  742. j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
  743. f.parentNode.insertBefore(j, f);
  744. })(window, document, 'script', 'dataLayer', 'GTM-NZDDJPS');
  745. \t\t</script>
  746. \t\t\t<!-- End Google Tag Manager -->
  747. \t\t\t\t{% endif %}
  748. \t\t\t
  749. \t\t<script src='https://www.google.com/recaptcha/api.js?render=6LeggfEcAAAAAClhhByqb-q6e7AI-TrnFqhvirqb'></script>
  750. \t\t{% set schemeAndHttpHost = app.request.getSchemeAndHttpHost %}
  751. \t\t{% if 'miramar-lacigale.com' in schemeAndHttpHost %}
  752. \t\t\t<!-- Meta Pixel Code -->
  753. \t\t\t<script>
  754. \t\t\t\t!function (f, b, e, v, n, t, s) {
  755. if (f.fbq) 
  756. return;
  757. n = f.fbq = function () {
  758. n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments)
  759. };
  760. if (! f._fbq) 
  761. f._fbq = n;
  762. n.push = n;
  763. n.loaded = !0;
  764. n.version = '2.0';
  765. n.queue = [];
  766. t = b.createElement(e);
  767. t.async = !0;
  768. t.src = v;
  769. s = b.getElementsByTagName(e)[0];
  770. s.parentNode.insertBefore(t, s)
  771. }(window, document, 'script', 'https://connect.facebook.net/en_US/fbevents.js');
  772. fbq('init', '905233410257695');
  773. fbq('track', 'PageView');
  774. \t\t\t</script>
  775. \t\t\t<noscript><img height=\"1\" width=\"1\" style=\"display:none\" src=\"https://www.facebook.com/tr?id=905233410257695&ev=PageView&noscript=1\"/></noscript>
  776. \t\t\t<!-- End Meta Pixel Code -->
  777. \t\t\t{# <!--
  778. \t\t\t\t\t\t\tEvent snippet for  [MIRAMAR] - ALL VISITORS on : Please do not remove.
  779. \t\t\t\t\t\t\tPlace this snippet on pages with events you’re tracking. 
  780. \t\t\t\t\t\t\tCreation date: 11/17/2021
  781. \t\t\t\t\t\t\t-->
  782. \t\t\t\t\t\t\t<script>
  783. \t\t\t\t\t\t\tgtag('event', 'conversion', {
  784. \t\t\t\t\t\t\tvar pageUrl = window.location.href;
  785. \t\t\t\t\t\t\t\t'allow_custom_scripts': true,
  786. \t\t\t\t\t\t\t\t'u1': pageUrl,
  787. \t\t\t\t\t\t\t\t'send_to': 'DC-10209412/invmedia/miram003+standard'
  788. \t\t\t\t\t\t\t});
  789. \t\t\t\t\t\t\t</script>
  790. \t\t\t\t\t\t\t<noscript>
  791. \t\t\t\t\t\t\t<img src=\"https://ad.doubleclick.net/ddm/activity/src=10209412;type=invmedia;cat=miram003;u1=na;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;gdpr=\${GDPR};gdpr_consent=\${GDPR_CONSENT_755};ord=1?\" width=\"1\" height=\"1\" alt=\"\"/>
  792. \t\t\t\t\t\t\t</noscript>
  793. \t\t\t\t\t\t\t<!-- End of event snippet: Please do not remove --> #}
  794. \t\t{% endif %}
  795. \t\t{% block head %}{% endblock %}
  796. \t\t{% if page is defined %}
  797. \t\t\t{% set array = frontservice.getSchemaBreadcrumb(page, lang, schemeAndHttpHost) %}
  798. \t\t\t<script type=\"application/ld+json\">
  799. \t\t\t\t{
  800. \t\t\t\t\t\t\t\t\t\"@context\": \"http://schema.org/\",
  801. \t\t\t\t\t\t\t\t\t\"@type\": \"BreadcrumbList\",
  802. \t\t\t\t\t\t\t\t\t\"name\": \"Miramar La Cigale : Hôtel Thalasso & Spa\",
  803. \t\t\t\t\t\t\t\t\t\"itemListElement\":
  804. \t\t\t\t{{ array | json_encode | raw }}
  805. \t\t\t\t}
  806. \t\t\t</script>
  807. \t\t{% endif %}
  808. \t\t<!-- favicon -->
  809.         <link rel=\"icon\" type=\"image/x-icon\" href=\"{{asset('build/images/favicon.png') }}\" />
  810. \t</head>
  811. \t<body {% if bodyClass %} class=\"{{ bodyClass }}\" {% endif %}>
  812. \t\t{% if 'miramar-lacigale.com' in schemeAndHttpHost %}
  813. \t\t\t<!-- Google Tag Manager (noscript) -->
  814. \t\t\t<noscript>
  815. \t\t\t\t<iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-NZDDJPS\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>
  816. \t\t\t</noscript>
  817. \t\t\t<!-- End Google Tag Manager (noscript) -->
  818. \t\t{% endif %}
  819. \t\t{% block body %}{% endblock %}
  820. \t\t{% include 'component/page_transition.html.twig' %}
  821. \t\t<div style=\"display:none\">
  822. \t\t\t{% include \"layouts/sprite.svg\" %}
  823. \t\t</div>
  824. \t\t{# Main #}
  825. \t\t<main
  826. \t\t\tdata-page=\"{{ jsPageId|default('') }}\" class=\"{{ pageClasses }}\">
  827. \t\t\t{# Modal reservations #}
  828. \t\t\t{% include \"component/modal-reservations.html.twig\" only %}
  829. \t\t\t{# Menu #}
  830. \t\t\t{% set first_menu_items = [] %}
  831. \t\t\t{% set second_menu_items = [] %}
  832. \t\t\t{% if residence_mode %}
  833. \t\t\t\t{% set resi_type = \"residence\" %}
  834. \t\t\t{% else %}
  835. \t\t\t\t{% set resi_type = \"hotel\" %}
  836. \t\t\t{% endif %}
  837. \t\t\t{% if isCacheMenu(lang, resi_type) == null %}
  838. \t\t\t\t{% if residence_mode %}
  839. \t\t\t\t\t{% set menu_principale_residence = getMenu(\"principale-residence\") %}
  840. \t\t\t\t\t{% if menu_principale_residence %}
  841. \t\t\t\t\t\t{% for menu_item in menu_principale_residence %}
  842. \t\t\t\t\t\t\t{% set to = frontservice.getMenuItemContent(menu_item, 'link', lang) %}
  843. \t\t\t\t\t\t\t{% if to %}
  844. \t\t\t\t\t\t\t\t{% set first_menu_items = first_menu_items|merge([{
  845. \t\t\t\t\t\t\t\ttitle: frontservice.getMenuItemContent(menu_item, 'label', lang),
  846. \t\t\t\t\t\t\t\timage: frontservice.getMediaPublicUrl(menu_item.sonataImg, 'big', frontservice.getMenuItemContent(menu_item, 'alt_img', lang)),
  847. \t\t\t\t\t\t\t\tto: (menu_item.isExternalLink) ? to : path(\"render_residence_pages\",{_locale:lang, slug:to, hostname:app.request.getHttpHost()}),
  848. \t\t\t\t\t\t\t\ttarget: (menu_item.isExternalLink) ? \"_blank\" : \"\"
  849. \t\t\t\t\t\t\t}]) %}
  850. \t\t\t\t\t\t\t{% endif %}
  851. \t\t\t\t\t\t{% endfor %}
  852. \t\t\t\t\t{% endif %}
  853. \t\t\t\t\t{% set menu_secondaire_residence = getMenu(\"secondaire-residence\") %}
  854. \t\t\t\t\t{% if menu_secondaire_residence %}
  855. \t\t\t\t\t\t{% for menu_item in menu_secondaire_residence %}
  856. \t\t\t\t\t\t\t{% set to = frontservice.getMenuItemContent(menu_item, 'link', lang) %}
  857. \t\t\t\t\t\t\t{% if to %}
  858. \t\t\t\t\t\t\t\t{% set second_menu_items = second_menu_items|merge([{
  859. \t\t\t\t\t\t\t\ttitle: frontservice.getMenuItemContent(menu_item, 'label', lang),
  860. \t\t\t\t\t\t\t\timage: frontservice.getMediaPublicUrl(menu_item.sonataImg, 'big', frontservice.getMenuItemContent(menu_item, 'alt_img', lang)),
  861. \t\t\t\t\t\t\t\tto: (menu_item.isExternalLink) ? to : path(\"render_residence_pages\",{_locale:lang, slug:to, hostname:app.request.getHttpHost()}),
  862. \t\t\t\t\t\t\t\ttarget: (menu_item.isExternalLink) ? \"_blank\" : \"\"
  863. \t\t\t\t\t\t\t}]) %}
  864. \t\t\t\t\t\t\t{% endif %}
  865. \t\t\t\t\t\t{% endfor %}
  866. \t\t\t\t\t{% endif %}
  867. \t\t\t\t{% else %}
  868. \t\t\t\t\t{% set menu_principal_hotel = getMenu(\"principale\") %}
  869. \t\t\t\t\t{% if menu_principal_hotel %}
  870. \t\t\t\t\t\t{% for menu_item in menu_principal_hotel %}
  871. \t\t\t\t\t\t\t{% set to = frontservice.getMenuItemContent(menu_item, 'link', lang) %}
  872. \t\t\t\t\t\t\t{% if to %}
  873. \t\t\t\t\t\t\t\t{% set first_menu_items = first_menu_items|merge([{
  874. \t\t\t\t\t\t\ttitle: frontservice.getMenuItemContent(menu_item, 'label', lang),
  875. \t\t\t\t\t\t\timage: frontservice.getMediaPublicUrl(menu_item.sonataImg, 'big', frontservice.getMenuItemContent(menu_item, 'alt_img', lang)),
  876. \t\t\t\t\t\t\tto: (menu_item.isExternalLink) ? to : path(\"render_mlc_pages\",{_locale:lang, slug:to, hostname:app.request.getHttpHost()}),
  877. \t\t\t\t\t\t\ttarget: (menu_item.isExternalLink) ? \"_blank\" : \"\"
  878. \t\t\t\t\t\t}]) %}
  879. \t\t\t\t\t\t\t{% endif %}
  880. \t\t\t\t\t\t{% endfor %}
  881. \t\t\t\t\t{% endif %}
  882. \t\t\t\t\t{% set menu_secondaire_hotel = getMenu(\"secondaire\") %}
  883. \t\t\t\t\t{% if menu_secondaire_hotel %}
  884. \t\t\t\t\t\t{% for menu_item in menu_secondaire_hotel %}
  885. \t\t\t\t\t\t\t{% set to = frontservice.getMenuItemContent(menu_item, 'link', lang) %}
  886. \t\t\t\t\t\t\t{% if to %}
  887. \t\t\t\t\t\t\t\t{% set second_menu_items = second_menu_items|merge([{
  888. \t\t\t\t\t\t\t\ttitle: frontservice.getMenuItemContent(menu_item, 'label', lang),
  889. \t\t\t\t\t\t\t\timage: frontservice.getMediaPublicUrl(menu_item.sonataImg, 'big', frontservice.getMenuItemContent(menu_item, 'alt_img', lang)),
  890. \t\t\t\t\t\t\t\tto: (menu_item.isExternalLink) ? to : path(\"render_mlc_pages\",{_locale:lang, slug:to, hostname:app.request.getHttpHost()}),
  891. \t\t\t\t\t\t\t\ttarget: (menu_item.isExternalLink) ? \"_blank\" : \"\"
  892. \t\t\t\t\t\t\t}]) %}
  893. \t\t\t\t\t\t\t{% endif %}
  894. \t\t\t\t\t\t{% endfor %}
  895. \t\t\t\t\t{% endif %}
  896. \t\t\t\t{% endif %}
  897. \t\t\t\t{% set saveCachedMenu = saveCachedMenu(first_menu_items, second_menu_items, lang, resi_type) %}
  898. \t\t\t{% else %}
  899. \t\t\t\t{% set the_cached_menu = getCachedMenu(lang, resi_type) %}
  900. \t\t\t\t{% if the_cached_menu %}
  901. \t\t\t\t\t{% set first_menu_items = the_cached_menu['first_menu'] %}
  902. \t\t\t\t\t{% set second_menu_items = the_cached_menu['second_menu'] %}
  903. \t\t\t\t{% endif %}
  904. \t\t\t{% endif %}
  905. \t\t\t{% if residence_mode %}
  906. \t\t\t\t{% set resi_social_media = getSocialMedia(\"residence\", app.request.getLocale()) %}
  907. \t\t\t\t{% if resi_social_media %}
  908. \t\t\t\t\t{% set social_media = resi_social_media %}
  909. \t\t\t\t{% endif %}
  910. \t\t\t{% else %}
  911. \t\t\t\t{% set hotel_social_media = getSocialMedia(\"hotel\", app.request.getLocale()) %}
  912. \t\t\t\t{% if hotel_social_media %}
  913. \t\t\t\t\t{% set social_media = hotel_social_media %}
  914. \t\t\t\t{% endif %}
  915. \t\t\t{% endif %}
  916. \t\t\t{% include \"component/header/menu.html.twig\" with {
  917. \t\t\t\tprops: {
  918. \t\t\t\t\theading: {
  919. \t\t\t\t\t\ttitle: 'Journées & rituels thalasso',
  920. \t\t\t\t\t\ttitleAnnex: 'se ressourcer'
  921. \t\t\t\t\t},
  922. \t\t\t\t\tfirstMenuItems: first_menu_items,
  923. \t\t\t\t\tsecondMenuItems: second_menu_items,  
  924. \t\t\t\t\tsocialItems: social_media
  925. \t\t\t\t}
  926. \t\t\t} only %}
  927. \t\t\t{% block content %}{% endblock %}
  928. \t\t</main>
  929. \t\t{% block javascripts %}
  930. \t\t\t{{ encore_entry_script_tags('app') }}
  931. \t\t\t<script src=\"{{ asset('admin/js/custom_front.js') }}\"></script>
  932. \t\t\t<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js\"></script>
  933. \t\t\t<script src=\"https://code.jquery.com/ui/1.12.1/jquery-ui.js\"></script>
  934. \t\t\t<script src=\"{{ asset('cms/js/scripts.js') }}\"></script>
  935. \t\t\t<script>
  936. \t\t\t\tgrecaptcha.ready(function () {
  937. grecaptcha.execute('6LeggfEcAAAAAClhhByqb-q6e7AI-TrnFqhvirqb', {action: 'homepage'}).then(function (token) {
  938. \$('.g-recaptcha-response').each(function (i, obj) {
  939. obj.value = token;
  940. });
  941. });
  942. });
  943. \t\t\t</script>
  944. \t\t\t{# <script id=\"Cookiebot\" src=\"https://consent.cookiebot.com/uc.js\" data-cbid=\"021ef8a8-2589-44e8-8ea7-b84380a00cdb\" data-blockingmode=\"auto\" type=\"text/javascript\"></script> #}
  945. \t\t{% endblock %}
  946. \t</body>
  947. </html></body></html>
  948. ""@View/layouts/base.html.twig""/home/clients/7d218f7ec097b4ce0b2b1414f88fe0d1/sites/mlc/templates/layouts/base.html.twig");
  949.     }
  950. }