var/cache/dev/twig/9b/9bfa83198ccc0e610ee9b5921de5ce54.php line 38

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. /* @ElementsDemiFrontend/Accommodation/detail.mobile.html.twig */
  14. class __TwigTemplate_92ea13264d547e7f0ccbdd57d5cf6801 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'content' => [$this'block_content'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 18
  29.         return "@ElementsDemiFrontend/Layout/layout.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ElementsDemiFrontend/Accommodation/detail.mobile.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ElementsDemiFrontend/Accommodation/detail.mobile.html.twig"));
  38.         // line 1
  39.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'1$this->source); })())) {
  40.             // line 2
  41.             twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\SeoHelperBundle\Twig\SeoHelperExtension']->elementsHeadTitle(), "setTitle", [=> $this->env->getFunction('demi_seoTitleForAcco')->getCallable()((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'2$this->source); })()), (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'2$this->source); })())), => true], "method"falsefalsefalse2);
  42.             // line 3
  43.             twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\SeoHelperBundle\Twig\SeoHelperExtension']->elementsHeadMeta(), "setDescription", [=> $this->env->getFunction('demi_seoDescriptionforAcco')->getCallable()((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'3$this->source); })()))], "method"falsefalsefalse3);
  44.         }
  45.         // line 6
  46.         $context["destinationPackages"] = ((array_key_exists("destinationPackages"$context)) ? ((isset($context["destinationPackages"]) || array_key_exists("destinationPackages"$context) ? $context["destinationPackages"] : (function () { throw new RuntimeError('Variable "destinationPackages" does not exist.'6$this->source); })())) : (null));
  47.         // line 11
  48.         $context["canonicalUrl"] = twig_get_attribute($this->env$this->source$this->extensions['App\Twig\LinkGenerator']->getGenerator(), "generate", [=> (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'11$this->source); })()), => ["canonical" => true"relative" => false"reset" => true]], "method"falsefalsefalse11);
  49.         // line 12
  50.         twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\SeoHelperBundle\Twig\SeoHelperExtension']->elementsCanonical(), "checkAllParams", [=> false], "method"falsefalsefalse12), "setDomain", [=> (isset($context["canonicalUrl"]) || array_key_exists("canonicalUrl"$context) ? $context["canonicalUrl"] : (function () { throw new RuntimeError('Variable "canonicalUrl" does not exist.'12$this->source); })())], "method"falsefalsefalse12);
  51.         // line 14
  52.         if ( !((isset($context["canonicalUrl"]) || array_key_exists("canonicalUrl"$context) ? $context["canonicalUrl"] : (function () { throw new RuntimeError('Variable "canonicalUrl" does not exist.'14$this->source); })()) === 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.'14$this->source); })()), "request", [], "any"falsefalsefalse14), "pathInfo", [], "any"falsefalsefalse14))) {
  53.             // line 15
  54.             twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\SeoHelperBundle\Twig\SeoHelperExtension']->elementsRobots(), "setNoIndex", [=> true], "method"falsefalsefalse15);
  55.         }
  56.         // line 18
  57.         $this->parent $this->loadTemplate("@ElementsDemiFrontend/Layout/layout.html.twig""@ElementsDemiFrontend/Accommodation/detail.mobile.html.twig"18);
  58.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  59.         
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  61.         
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  63.     }
  64.     // line 19
  65.     public function block_content($context, array $blocks = [])
  66.     {
  67.         $macros $this->macros;
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  72.         // line 20
  73.         echo "    ";
  74.         $this->env->getFunction('demi_paymentSetDefaultCurrency')->getCallable()((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'20$this->source); })()));
  75.         // line 21
  76.         echo "
  77.     ";
  78.         // line 22
  79.         if ( !(isset($context["availabilityIsChecked"]) || array_key_exists("availabilityIsChecked"$context) ? $context["availabilityIsChecked"] : (function () { throw new RuntimeError('Variable "availabilityIsChecked" does not exist.'22$this->source); })())) {
  80.             // line 23
  81.             echo "        ";
  82.             $context["fromDate"] = null;
  83.             // line 24
  84.             echo "    ";
  85.         } else {
  86.             // line 25
  87.             echo "        ";
  88.             $context["fromDate"] = $this->env->getFunction('demi_getSearchFrom')->getCallable()();
  89.             // line 26
  90.             echo "    ";
  91.         }
  92.         // line 27
  93.         echo "
  94.     ";
  95.         // line 28
  96.         $context["resultSetPresent"] = false;
  97.         // line 29
  98.         echo "
  99.     ";
  100.         // line 30
  101.         if ((((array_key_exists("accommodationResultSet"$context) &&  !(null === (isset($context["accommodationResultSet"]) || array_key_exists("accommodationResultSet"$context) ? $context["accommodationResultSet"] : (function () { throw new RuntimeError('Variable "accommodationResultSet" does not exist.'30$this->source); })()))) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["accommodationResultSet"]) || array_key_exists("accommodationResultSet"$context) ? $context["accommodationResultSet"] : (function () { throw new RuntimeError('Variable "accommodationResultSet" does not exist.'30$this->source); })()), "getMinPriceProductSets", [], "any"falsefalsefalse30))) && (twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["accommodationResultSet"]) || array_key_exists("accommodationResultSet"$context) ? $context["accommodationResultSet"] : (function () { throw new RuntimeError('Variable "accommodationResultSet" does not exist.'30$this->source); })()), "getMinPriceProductSets", [], "method"falsefalsefalse30)) > 0))) {
  102.             // line 31
  103.             echo "        ";
  104.             $context["resultSetPresent"] = true;
  105.             // line 32
  106.             echo "    ";
  107.         }
  108.         // line 33
  109.         echo "
  110.     ";
  111.         // line 34
  112.         $context["ajaxUrl"] = $this->env->getFunction('demi_demiUrl')->getCallable()(["accommodation" =>         // line 35
  113. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'35$this->source); })())], "demi_acco_ajax");
  114.         // line 37
  115.         echo "
  116.     ";
  117.         // line 38
  118.         if (twig_in_filter("?", (isset($context["ajaxUrl"]) || array_key_exists("ajaxUrl"$context) ? $context["ajaxUrl"] : (function () { throw new RuntimeError('Variable "ajaxUrl" does not exist.'38$this->source); })()))) {
  119.             // line 39
  120.             echo "        ";
  121.             $context["parts"] = twig_split_filter($this->env, (isset($context["ajaxUrl"]) || array_key_exists("ajaxUrl"$context) ? $context["ajaxUrl"] : (function () { throw new RuntimeError('Variable "ajaxUrl" does not exist.'39$this->source); })()), "?");
  122.             // line 40
  123.             echo "        ";
  124.             $context["ajaxUrl"] = twig_get_attribute($this->env$this->source, (isset($context["parts"]) || array_key_exists("parts"$context) ? $context["parts"] : (function () { throw new RuntimeError('Variable "parts" does not exist.'40$this->source); })()), 0, [], "array"falsefalsefalse40);
  125.             // line 41
  126.             echo "    ";
  127.         }
  128.         // line 42
  129.         echo "
  130.     ";
  131.         // line 43
  132.         $context["liveDetailProductsUrl"] = ((isset($context["ajaxUrl"]) || array_key_exists("ajaxUrl"$context) ? $context["ajaxUrl"] : (function () { throw new RuntimeError('Variable "ajaxUrl" does not exist.'43$this->source); })()) . "?ajaxRequestType=getLiveDetailProducts");
  133.         // line 44
  134.         echo "    ";
  135.         $context["corridorMatrixUrl"] = ((isset($context["ajaxUrl"]) || array_key_exists("ajaxUrl"$context) ? $context["ajaxUrl"] : (function () { throw new RuntimeError('Variable "ajaxUrl" does not exist.'44$this->source); })()) . "?ajaxRequestType=getCorridorMatrix");
  136.         // line 45
  137.         echo "    ";
  138.         $context["productUrl"] = ((isset($context["ajaxUrl"]) || array_key_exists("ajaxUrl"$context) ? $context["ajaxUrl"] : (function () { throw new RuntimeError('Variable "ajaxUrl" does not exist.'45$this->source); })()) . "?ajaxRequestType=getProductByIdAndMealcode");
  139.         // line 46
  140.         echo "    ";
  141.         $context["paymentInformationUrl"] = ((isset($context["ajaxUrl"]) || array_key_exists("ajaxUrl"$context) ? $context["ajaxUrl"] : (function () { throw new RuntimeError('Variable "ajaxUrl" does not exist.'46$this->source); })()) . "?ajaxRequestType=getProductByIdAndMealcode");
  142.         // line 47
  143.         echo "
  144.     ";
  145.         // line 48
  146.         $context["address"] = twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'48$this->source); })()), "getAddress", [], "method"falsefalsefalse48);
  147.         // line 49
  148.         echo "    ";
  149.         $context["maxRatingValue"] = (($this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getMaxRatingValue", [])) ? ($this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getMaxRatingValue", [])) : (5));
  150.         // line 50
  151.         echo "    ";
  152.         $context["maxRatingNormalized"] = (($this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getMaxRatingNormalized", [])) ? ($this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getMaxRatingNormalized", [])) : (5));
  153.         // line 51
  154.         echo "
  155.     ";
  156.         // line 52
  157.         $context["anchors"] = ["detail" => "#details""package" => "#packages""rooms" => "#rooms"];
  158.         // line 57
  159.         echo "
  160.     ";
  161.         // line 58
  162.         if ((array_key_exists("activeTab"$context) && !twig_in_filter((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'58$this->source); })()), (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'58$this->source); })())))) {
  163.             // line 59
  164.             echo "        ";
  165.             $context["activeTab"] = "#details";
  166.             // line 60
  167.             echo "    ";
  168.         } else {
  169.             // line 61
  170.             echo "        ";
  171.             twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\JsConfigBundle\Twig\Extension\JsConfigExtension']->jsConfig("_initialState"), "add", [=> ["activeTab" => (isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'61$this->source); })())]], "method"falsefalsefalse61);
  172.             // line 62
  173.             echo "    ";
  174.         }
  175.         // line 63
  176.         echo "
  177.     ";
  178.         // line 65
  179.         $context["step1Url"] = $this->env->getFunction('demi_demiUrl')->getCallable()(["path" => twig_get_attribute($this->env$this->source$this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getCheckoutPath", []), "getFullPath", [], "method"falsefalsefalse66), "controller" => "cart""action" => "step1"], "demi_checkout"true);
  180.         // line 70
  181.         echo "
  182.     ";
  183.         // line 71
  184.         $context["addToCartUrl"] = (isset($context["step1Url"]) || array_key_exists("step1Url"$context) ? $context["step1Url"] : (function () { throw new RuntimeError('Variable "step1Url" does not exist.'71$this->source); })());
  185.         // line 72
  186.         echo "
  187.     ";
  188.         // line 74
  189.         $context["imagesTypes"] = $this->env->getFunction('demi_getAccoImagesTypesAsArray')->getCallable()((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'74$this->source); })()));
  190.         // line 75
  191.         echo "
  192.     ";
  193.         // line 76
  194.         $context["classifications"] = twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'76$this->source); })()), "getClassifications", [], "method"falsefalsefalse76);
  195.         // line 77
  196.         echo "    ";
  197.         $context["hasClassificationsWithIcons"] = false;
  198.         // line 78
  199.         echo "    ";
  200.         $context['_parent'] = $context;
  201.         $context['_seq'] = twig_ensure_traversable((isset($context["classifications"]) || array_key_exists("classifications"$context) ? $context["classifications"] : (function () { throw new RuntimeError('Variable "classifications" does not exist.'78$this->source); })()));
  202.         foreach ($context['_seq'] as $context["_key"] => $context["classification"]) {
  203.             // line 79
  204.             echo "        ";
  205.             $context["group"] = twig_get_attribute($this->env$this->source$context["classification"], "getClassificationGroup", [], "method"falsefalsefalse79);
  206.             // line 80
  207.             echo "        ";
  208.             if (( !twig_test_empty((isset($context["group"]) || array_key_exists("group"$context) ? $context["group"] : (function () { throw new RuntimeError('Variable "group" does not exist.'80$this->source); })())) && twig_get_attribute($this->env$this->source, (isset($context["group"]) || array_key_exists("group"$context) ? $context["group"] : (function () { throw new RuntimeError('Variable "group" does not exist.'80$this->source); })()), "getIconSmall", [], "method"falsefalsefalse80))) {
  209.                 // line 81
  210.                 echo "            ";
  211.                 $context["hasClassificationsWithIcons"] = true;
  212.                 // line 82
  213.                 echo "        ";
  214.             }
  215.             // line 83
  216.             echo "    ";
  217.         }
  218.         $_parent $context['_parent'];
  219.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['classification'], $context['_parent'], $context['loop']);
  220.         $context array_intersect_key($context$_parent) + $_parent;
  221.         // line 84
  222.         echo "
  223.     ";
  224.         // line 86
  225.         $context["jsonLdData"] = $this->env->getFunction('demi_getAccommodationJsonLdData')->getCallable()((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'86$this->source); })()), ((array_key_exists("options"$context)) ? ((isset($context["options"]) || array_key_exists("options"$context) ? $context["options"] : (function () { throw new RuntimeError('Variable "options" does not exist.'86$this->source); })())) : ([])), ((array_key_exists("packages"$context)) ? ((isset($context["packages"]) || array_key_exists("packages"$context) ? $context["packages"] : (function () { throw new RuntimeError('Variable "packages" does not exist.'86$this->source); })())) : (null)));
  226.         // line 87
  227.         echo "
  228.     ";
  229.         // line 88
  230.         twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\JsonLdBundle\Twig\Extension\JsonLdExtension']->jsonLd(), "add", [=> "accommodation"=> (isset($context["jsonLdData"]) || array_key_exists("jsonLdData"$context) ? $context["jsonLdData"] : (function () { throw new RuntimeError('Variable "jsonLdData" does not exist.'88$this->source); })())], "method"falsefalsefalse88);
  231.         // line 89
  232.         echo "    ";
  233.         // line 97
  234.         echo "
  235.     <script data-cookieconsent=\"ignore\">
  236.         _config.viewType = \"object\";
  237.         _config.historyController = true;
  238.         _config.roomSelection = true;
  239.         _config.searchData = true;
  240.         _config.detailResultUrl = '";
  241.         // line 105
  242.         echo twig_escape_filter($this->env, (isset($context["liveDetailProductsUrl"]) || array_key_exists("liveDetailProductsUrl"$context) ? $context["liveDetailProductsUrl"] : (function () { throw new RuntimeError('Variable "liveDetailProductsUrl" does not exist.'105$this->source); })()), "html"nulltrue);
  243.         echo "';
  244.         _config.corridorSearchUrl = '";
  245.         // line 106
  246.         echo twig_escape_filter($this->env, (isset($context["corridorMatrixUrl"]) || array_key_exists("corridorMatrixUrl"$context) ? $context["corridorMatrixUrl"] : (function () { throw new RuntimeError('Variable "corridorMatrixUrl" does not exist.'106$this->source); })()), "html"nulltrue);
  247.         echo "';
  248.         _config.detailPaymentInfoUrl = '";
  249.         // line 107
  250.         echo twig_escape_filter($this->env, (isset($context["paymentInformationUrl"]) || array_key_exists("paymentInformationUrl"$context) ? $context["paymentInformationUrl"] : (function () { throw new RuntimeError('Variable "paymentInformationUrl" does not exist.'107$this->source); })()), "html"nulltrue);
  251.         echo "';
  252.         _config.detailProductUrl = '";
  253.         // line 108
  254.         echo twig_escape_filter($this->env, (isset($context["productUrl"]) || array_key_exists("productUrl"$context) ? $context["productUrl"] : (function () { throw new RuntimeError('Variable "productUrl" does not exist.'108$this->source); })()), "html"nulltrue);
  255.         echo "';
  256.         _config.addToCartUrl = '";
  257.         // line 109
  258.         echo twig_escape_filter($this->env, (isset($context["addToCartUrl"]) || array_key_exists("addToCartUrl"$context) ? $context["addToCartUrl"] : (function () { throw new RuntimeError('Variable "addToCartUrl" does not exist.'109$this->source); })()), "html"nulltrue);
  259.         echo "';
  260.         _config.addToCartUrl = '";
  261.         // line 110
  262.         echo (isset($context["addToCartUrl"]) || array_key_exists("addToCartUrl"$context) ? $context["addToCartUrl"] : (function () { throw new RuntimeError('Variable "addToCartUrl" does not exist.'110$this->source); })());
  263.         echo "';
  264.         _config.cartWarningOnMultipleAccoProducts = ";
  265.         // line 111
  266.         echo (($this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getWarningOnMultipleAccoProducts", [])) ? ("true") : ("false"));
  267.         echo ";
  268.         _config.cartInfoUrl = '";
  269.         // line 112
  270.         echo $this->env->getFunction('demi_checkoutUrl')->getCallable()("cart""hasAccoInCart");
  271.         echo "';
  272.         _config.roomList = true;
  273.         _config.paramTabs = true;
  274.         _config.isWhitelabel = ";
  275.         // line 115
  276.         echo (($this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getIsWhitelabel", [])) ? ("true") : ("false"));
  277.         echo ";
  278.         _config.trackingCountingClicksUrl = '";
  279.         // line 116
  280.         echo (isset($context["countingClicksUriJs"]) || array_key_exists("countingClicksUriJs"$context) ? $context["countingClicksUriJs"] : (function () { throw new RuntimeError('Variable "countingClicksUriJs" does not exist.'116$this->source); })());
  281.         echo "';
  282.         _config.productData = {
  283.             id: ";
  284.         // line 118
  285.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'118$this->source); })()), "getId", [], "method"falsefalsefalse118), "html"nulltrue);
  286.         echo ",
  287.             name: \"";
  288.         // line 119
  289.         echo $this->env->getFunction('demi_impressionName')->getCallable()((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'119$this->source); })()));
  290.         echo "\",
  291.             category: \"";
  292.         // line 120
  293.         echo $this->env->getFunction('demi_impressionCategory')->getCallable()((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'120$this->source); })()), null, (isset($context["searchParam"]) || array_key_exists("searchParam"$context) ? $context["searchParam"] : (function () { throw new RuntimeError('Variable "searchParam" does not exist.'120$this->source); })()));
  294.         echo "\",
  295.             brand: \"";
  296.         // line 121
  297.         echo $this->env->getFunction('demi_impressionBrand')->getCallable()((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'121$this->source); })()));
  298.         echo "\"
  299.         };
  300.         _config.acommodationMapHideBusinesses = ";
  301.         // line 123
  302.         echo (($this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getMapHideBusinesses", [])) ? ("true") : ("false"));
  303.         echo ";
  304.         ";
  305.         // line 125
  306.         $context["mealtypeId"] = twig_get_attribute($this->env$this->source, (isset($context["searchParam"]) || array_key_exists("searchParam"$context) ? $context["searchParam"] : (function () { throw new RuntimeError('Variable "searchParam" does not exist.'125$this->source); })()), "getMealTypeId", [], "method"falsefalsefalse125);
  307.         // line 126
  308.         echo "        ";
  309.         if (( !twig_test_empty((isset($context["mealtypeId"]) || array_key_exists("mealtypeId"$context) ? $context["mealtypeId"] : (function () { throw new RuntimeError('Variable "mealtypeId" does not exist.'126$this->source); })())) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["mealtypeId"]) || array_key_exists("mealtypeId"$context) ? $context["mealtypeId"] : (function () { throw new RuntimeError('Variable "mealtypeId" does not exist.'126$this->source); })()), 0, [], "array"falsefalsefalse126)))) {
  310.             // line 127
  311.             echo "        _config.urlParams = _config.urlParams || [];
  312.         _config.urlParams.push({name: \"mealtype\", value: \"";
  313.             // line 128
  314.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["mealtypeId"]) || array_key_exists("mealtypeId"$context) ? $context["mealtypeId"] : (function () { throw new RuntimeError('Variable "mealtypeId" does not exist.'128$this->source); })()), 0, [], "array"falsefalsefalse128), "html"nulltrue);
  315.             echo "\"});
  316.         ";
  317.         }
  318.         // line 130
  319.         echo "        ";
  320.         if (twig_get_attribute($this->env$this->source, (isset($context["searchParam"]) || array_key_exists("searchParam"$context) ? $context["searchParam"] : (function () { throw new RuntimeError('Variable "searchParam" does not exist.'130$this->source); })()), "getBookOnly", [], "method"falsefalsefalse130)) {
  321.             // line 131
  322.             echo "        _config.urlParams = _config.urlParams || [];
  323.         _config.urlParams.push({name: \"bookonly\", value: \"on\"});
  324.         ";
  325.         }
  326.         // line 134
  327.         echo "
  328.     </script>
  329.     ";
  330.         // line 137
  331.         echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/canonicalOverride.html.twig", ["object" => (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'137$this->source); })())]);
  332.         echo "
  333.     ";
  334.         // line 140
  335.         echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/tags/detail-acco.html.twig", ["isMobile" => false"acco" =>         // line 143
  336. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'143$this->source); })()), "searchParam" =>         // line 144
  337. (isset($context["searchParam"]) || array_key_exists("searchParam"$context) ? $context["searchParam"] : (function () { throw new RuntimeError('Variable "searchParam" does not exist.'144$this->source); })()), "accoResultSet" =>         // line 145
  338. (isset($context["accommodationResultSet"]) || array_key_exists("accommodationResultSet"$context) ? $context["accommodationResultSet"] : (function () { throw new RuntimeError('Variable "accommodationResultSet" does not exist.'145$this->source); })()), "productResultSet" =>         // line 146
  339. (isset($context["productResultSet"]) || array_key_exists("productResultSet"$context) ? $context["productResultSet"] : (function () { throw new RuntimeError('Variable "productResultSet" does not exist.'146$this->source); })()), "packages" => ((        // line 147
  340. array_key_exists("packages"$context)) ? ((isset($context["packages"]) || array_key_exists("packages"$context) ? $context["packages"] : (function () { throw new RuntimeError('Variable "packages" does not exist.'147$this->source); })())) : (null)), "sortedMarketingGroups" =>         // line 148
  341. (isset($context["sortedMarketingGroups"]) || array_key_exists("sortedMarketingGroups"$context) ? $context["sortedMarketingGroups"] : (function () { throw new RuntimeError('Variable "sortedMarketingGroups" does not exist.'148$this->source); })()), "sortedFacilities" =>         // line 149
  342. (isset($context["sortedFacilities"]) || array_key_exists("sortedFacilities"$context) ? $context["sortedFacilities"] : (function () { throw new RuntimeError('Variable "sortedFacilities" does not exist.'149$this->source); })()), "sortedHealthMeasures" =>         // line 150
  343. (isset($context["sortedHealthMeasures"]) || array_key_exists("sortedHealthMeasures"$context) ? $context["sortedHealthMeasures"] : (function () { throw new RuntimeError('Variable "sortedHealthMeasures" does not exist.'150$this->source); })()), "hasHousePackages" =>         // line 151
  344. (isset($context["hasHousePackages"]) || array_key_exists("hasHousePackages"$context) ? $context["hasHousePackages"] : (function () { throw new RuntimeError('Variable "hasHousePackages" does not exist.'151$this->source); })())]);
  345.         // line 153
  346.         echo "
  347.     <main id=\"main\" role=\"main\">
  348.         <div>
  349.             <div class=\"js-search-data__show-if-submitted\" ";
  350.         // line 160
  351.         echo (((isset($context["availabilityIsChecked"]) || array_key_exists("availabilityIsChecked"$context) ? $context["availabilityIsChecked"] : (function () { throw new RuntimeError('Variable "availabilityIsChecked" does not exist.'160$this->source); })())) ? ("") : ("hidden"));
  352.         echo ">
  353.                 ";
  354.         // line 161
  355.         echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/ribbon.html.twig", ["searchParam" => (isset($context["searchParam"]) || array_key_exists("searchParam"$context) ? $context["searchParam"] : (function () { throw new RuntimeError('Variable "searchParam" does not exist.'161$this->source); })()), "showBackButton" => true"withFlag" => false]);
  356.         echo "
  357.             </div>
  358.             <div class=\"js-search-data__hide-if-submitted\" ";
  359.         // line 163
  360.         echo (((isset($context["availabilityIsChecked"]) || array_key_exists("availabilityIsChecked"$context) ? $context["availabilityIsChecked"] : (function () { throw new RuntimeError('Variable "availabilityIsChecked" does not exist.'163$this->source); })())) ? ("hidden") : (""));
  361.         echo ">
  362.                 ";
  363.         // line 164
  364.         echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/ribbon-price.html.twig", ["resultSet" => (((isset($context["accommodationResultSet"]) || array_key_exists("accommodationResultSet"$context) ? $context["accommodationResultSet"] : (function () { throw new RuntimeError('Variable "accommodationResultSet" does not exist.'164$this->source); })())) ? (twig_get_attribute($this->env$this->source, (isset($context["accommodationResultSet"]) || array_key_exists("accommodationResultSet"$context) ? $context["accommodationResultSet"] : (function () { throw new RuntimeError('Variable "accommodationResultSet" does not exist.'164$this->source); })()), "getMinPriceBase", [=> true], "method"falsefalsefalse164)) : (null)), "accommodation" => (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'164$this->source); })())]);
  365.         echo "
  366.             </div>
  367.         </div>
  368.         <div class=\"container\">
  369.             ";
  370.         // line 169
  371.         if (twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'169$this->source); })()), "getIsTesthotel", [], "method"falsefalsefalse169)) {
  372.             // line 170
  373.             echo "                <div class=\"demi-test-acco-notice mb-3 text-danger\"><strong>Testbetrieb</strong> nur für Debug/aktive
  374.                     Pimcore User sichtbar
  375.                 </div>";
  376.         }
  377.         // line 173
  378.         echo "            <h1 class=\"h2 text-primary";
  379.         echo (((isset($context["hasClassificationsWithIcons"]) || array_key_exists("hasClassificationsWithIcons"$context) ? $context["hasClassificationsWithIcons"] : (function () { throw new RuntimeError('Variable "hasClassificationsWithIcons" does not exist.'173$this->source); })())) ? (" mb-1") : (""));
  380.         echo "\">";
  381.         echo $this->env->getFunction('demi_getAccoNameWithStars')->getCallable()((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'173$this->source); })()));
  382.         echo "</h1>
  383.             ";
  384.         // line 175
  385.         $context['_parent'] = $context;
  386.         $context['_seq'] = twig_ensure_traversable((isset($context["classifications"]) || array_key_exists("classifications"$context) ? $context["classifications"] : (function () { throw new RuntimeError('Variable "classifications" does not exist.'175$this->source); })()));
  387.         foreach ($context['_seq'] as $context["_key"] => $context["classification"]) {
  388.             // line 176
  389.             echo "                <div class=\"row row--gutter-width-20 mb-2\">
  390.                     <div class=\"col col-auto\">
  391.                         ";
  392.             // line 178
  393.             $context["count"] = twig_get_attribute($this->env$this->source$context["classification"], "getClassificationGroupAmount", [], "method"falsefalsefalse178);
  394.             // line 179
  395.             echo "                        ";
  396.             $context["group"] = twig_get_attribute($this->env$this->source$context["classification"], "getClassificationGroup", [], "method"falsefalsefalse179);
  397.             // line 180
  398.             echo "                        ";
  399.             if ((( !twig_test_empty((isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'180$this->source); })())) && twig_get_attribute($this->env$this->source$context["classification"], "getShowAsIcon", [], "method"falsefalsefalse180)) &&  !(null === twig_get_attribute($this->env$this->source$context["classification"], "demiGetIcon", [], "method"falsefalsefalse180)))) {
  400.                 // line 181
  401.                 echo "                            <span class=\"classification_holder hidden-xs\"
  402.                                   aria-label=\"";
  403.                 // line 182
  404.                 echo twig_escape_filter($this->env, (isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'182$this->source); })()), "html"nulltrue);
  405.                 echo " ";
  406.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["group"]) || array_key_exists("group"$context) ? $context["group"] : (function () { throw new RuntimeError('Variable "group" does not exist.'182$this->source); })()), "getName", [], "method"falsefalsefalse182), "html"nulltrue);
  407.                 echo "\">
  408.                             ";
  409.                 // line 183
  410.                 $context['_parent'] = $context;
  411.                 $context['_seq'] = twig_ensure_traversable(range(0, (isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'183$this->source); })())));
  412.                 foreach ($context['_seq'] as $context["_key"] => $context["c"]) {
  413.                     // line 184
  414.                     echo "                                ";
  415.                     $context["thumbnail"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["classification"], "demiGetIcon", [], "method"falsefalsefalse184), "getThumbnail", [=> "demi-classification"], "method"falsefalsefalse184);
  416.                     // line 185
  417.                     echo "                                ";
  418.                     echo twig_get_attribute($this->env$this->source, (isset($context["thumbnail"]) || array_key_exists("thumbnail"$context) ? $context["thumbnail"] : (function () { throw new RuntimeError('Variable "thumbnail" does not exist.'185$this->source); })()), "getHTML", [], "method"falsefalsefalse185);
  419.                     echo "
  420.                             ";
  421.                 }
  422.                 $_parent $context['_parent'];
  423.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['c'], $context['_parent'], $context['loop']);
  424.                 $context array_intersect_key($context$_parent) + $_parent;
  425.                 // line 187
  426.                 echo "                                ";
  427.                 if (twig_get_attribute($this->env$this->source$context["classification"], "getIsSuperior", [], "method"falsefalsefalse187)) {
  428.                     // line 188
  429.                     echo "                                    <span class=\"classification-superior\">S</span>
  430.                                 ";
  431.                 }
  432.                 // line 190
  433.                 echo "                        </span>
  434.                         ";
  435.             }
  436.             // line 192
  437.             echo "                    </div>
  438.                 </div>
  439.             ";
  440.         }
  441.         $_parent $context['_parent'];
  442.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['classification'], $context['_parent'], $context['loop']);
  443.         $context array_intersect_key($context$_parent) + $_parent;
  444.         // line 195
  445.         echo "
  446.             <div class=\"row row--gutter-width-20 mb-2\">
  447.                 <div class=\"col col-auto\">
  448.                     ";
  449.         // line 198
  450.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'198$this->source); })()), "getCategoryNames", [=> 2], "method"falsefalsefalse198), "html"nulltrue);
  451.         echo "
  452.                 </div>
  453.                 <div class=\"col\">
  454.                     <div class=\"media text-muted\">
  455.                         ";
  456.         // line 202
  457.         if (( !(null === twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'202$this->source); })()), "getTown", [], "method"falsefalsefalse202)) && ( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'202$this->source); })()), "getTown", [], "method"falsefalsefalse202), "getNameLocalized", [=> 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.'202$this->source); })()), "request", [], "any"falsefalsefalse202), "locale", [], "any"falsefalsefalse202)], "method"falsefalsefalse202)) ||  !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'202$this->source); })()), "getTown", [], "method"falsefalsefalse202), "getName", [], "method"falsefalsefalse202))))) {
  458.             // line 203
  459.             echo "                            <div class=\"demi-icon demi-icon-marker mr-1 icon-in-text\"
  460.                                  title=\"";
  461.             // line 204
  462.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.list.town"), "html"nulltrue);
  463.             echo "\" aria-label=\"";
  464.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.list.town"), "html"nulltrue);
  465.             echo "\"></div>
  466.                             <div class=\"media-body\">
  467.                                 ";
  468.             // line 206
  469.             echo twig_escape_filter($this->env, (( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'206$this->source); })()), "getTown", [], "method"falsefalsefalse206), "getNameLocalized", [=> 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.'206$this->source); })()), "request", [], "any"falsefalsefalse206), "locale", [], "any"falsefalsefalse206)], "method"falsefalsefalse206))) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'206$this->source); })()), "getTown", [], "method"falsefalsefalse206), "getNameLocalized", [=> 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.'206$this->source); })()), "request", [], "any"falsefalsefalse206), "locale", [], "any"falsefalsefalse206)], "method"falsefalsefalse206)) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'206$this->source); })()), "getTown", [], "method"falsefalsefalse206), "getName", [], "method"falsefalsefalse206))), "html"nulltrue);
  470.             echo "
  471.                             </div>
  472.                         ";
  473.         } elseif (( !(null === twig_get_attribute($this->env$this->source,         // line 208
  474. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'208$this->source); })()), "getDistrict", [], "method"falsefalsefalse208)) && (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'208$this->source); })()), "getDistrict", [], "method"falsefalsefalse208), "getNameLocalized", [=> 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.'208$this->source); })()), "request", [], "any"falsefalsefalse208), "locale", [], "any"falsefalsefalse208)], "method"falsefalsefalse208) ||  !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'208$this->source); })()), "getDistrict", [], "method"falsefalsefalse208), "getName", [], "method"falsefalsefalse208))))) {
  475.             // line 209
  476.             echo "                            <div class=\"demi-icon demi-icon-marker mr-1 icon-in-text\"
  477.                                  title=\"";
  478.             // line 210
  479.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.list.town"), "html"nulltrue);
  480.             echo "\" aria-label=\"";
  481.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.list.town"), "html"nulltrue);
  482.             echo "\"></div>
  483.                             <div class=\"media-body\">
  484.                                 ";
  485.             // line 212
  486.             echo twig_escape_filter($this->env, (( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'212$this->source); })()), "getDistrict", [], "method"falsefalsefalse212), "getNameLocalized", [=> 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.'212$this->source); })()), "request", [], "any"falsefalsefalse212), "locale", [], "any"falsefalsefalse212)], "method"falsefalsefalse212))) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'212$this->source); })()), "getDistrict", [], "method"falsefalsefalse212), "getNameLocalized", [=> 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.'212$this->source); })()), "request", [], "any"falsefalsefalse212), "locale", [], "any"falsefalsefalse212)], "method"falsefalsefalse212)) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'212$this->source); })()), "getDistrict", [], "method"falsefalsefalse212), "getName", [], "method"falsefalsefalse212))), "html"nulltrue);
  487.             echo "
  488.                             </div>
  489.                         ";
  490.         } elseif (( !(null ===         // line 214
  491. (isset($context["address"]) || array_key_exists("address"$context) ? $context["address"] : (function () { throw new RuntimeError('Variable "address" does not exist.'214$this->source); })())) &&  !(null === twig_get_attribute($this->env$this->source, (isset($context["address"]) || array_key_exists("address"$context) ? $context["address"] : (function () { throw new RuntimeError('Variable "address" does not exist.'214$this->source); })()), "getTown", [], "any"falsefalsefalse214)))) {
  492.             // line 215
  493.             echo "                            <div class=\"demi-icon demi-icon-marker mr-1 icon-in-text\"
  494.                                  title=\"";
  495.             // line 216
  496.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.town"), "html"nulltrue);
  497.             echo "\"
  498.                                  aria-label=\"";
  499.             // line 217
  500.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.town"), "html"nulltrue);
  501.             echo "\"></div>
  502.                             <div class=\"media-body\">
  503.                                 ";
  504.             // line 219
  505.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["address"]) || array_key_exists("address"$context) ? $context["address"] : (function () { throw new RuntimeError('Variable "address" does not exist.'219$this->source); })()), "getTown", [], "method"falsefalsefalse219), "html"nulltrue);
  506.             echo "
  507.                             </div>
  508.                         ";
  509.         }
  510.         // line 222
  511.         echo "                    </div>
  512.                 </div>
  513.             </div>
  514.             <div class=\"row row--gutter-width-20 mb-2\">
  515.                 <div class=\"col\">
  516.                     ";
  517.         // line 228
  518.         if ((twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'228$this->source); })()), "getRatingSystem", [], "method"falsefalsefalse228) == "TrustYou")) {
  519.             // line 229
  520.             echo "                        ";
  521.             $context["normalizedRating"] = $this->env->getFunction('demi_ratingGetNormalized')->getCallable()((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'229$this->source); })()), (isset($context["maxRatingValue"]) || array_key_exists("maxRatingValue"$context) ? $context["maxRatingValue"] : (function () { throw new RuntimeError('Variable "maxRatingValue" does not exist.'229$this->source); })()), (isset($context["maxRatingNormalized"]) || array_key_exists("maxRatingNormalized"$context) ? $context["maxRatingNormalized"] : (function () { throw new RuntimeError('Variable "maxRatingNormalized" does not exist.'229$this->source); })()));
  522.             // line 230
  523.             echo "                        ";
  524.             if ( !twig_test_empty((isset($context["normalizedRating"]) || array_key_exists("normalizedRating"$context) ? $context["normalizedRating"] : (function () { throw new RuntimeError('Variable "normalizedRating" does not exist.'230$this->source); })()))) {
  525.                 // line 231
  526.                 echo "                            <img src=\"/static/demi/debug/img/trustyou-logo.png\" alt=\"Logo Trustyou\" class=\"mb-1\">
  527.                             ";
  528.                 // line 232
  529.                 echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/rating.html.twig", ["score" =>                 // line 233
  530. (isset($context["normalizedRating"]) || array_key_exists("normalizedRating"$context) ? $context["normalizedRating"] : (function () { throw new RuntimeError('Variable "normalizedRating" does not exist.'233$this->source); })()), "text" => twig_get_attribute($this->env$this->source,                 // line 234
  531. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'234$this->source); })()), "getRatingScoreDescription", [], "method"falsefalsefalse234), "styleModifier" => "mb-1""showReviewCount" => true"ratingCount" => twig_get_attribute($this->env$this->source,                 // line 237
  532. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'237$this->source); })()), "getRatingCountDirect", [], "method"falsefalsefalse237)]);
  533.                 // line 238
  534.                 echo "
  535.                         ";
  536.             }
  537.             // line 240
  538.             echo "                    ";
  539.         }
  540.         // line 241
  541.         echo "
  542.                 </div>
  543.                 <div class=\"col col-auto\">
  544.                     ";
  545.         // line 244
  546.         echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/includes/serviceprovider-logo.html.twig", ["logo" => twig_first($this->envtwig_get_attribute($this->env$this->source,         // line 245
  547. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'245$this->source); })()), "getImages", [=> [=> twig_constant("Elements\\Demi\\Deskline\\Constant\\DocumentInterface::DOCUMENT_TYPE_SERVICE_PROVIDER_LOGO")]], "method"falsefalsefalse245))]);
  548.         // line 246
  549.         echo "
  550.                 </div>
  551.             </div>
  552.         </div>
  553.         <figure class=\"figure my-3\">
  554.             ";
  555.         // line 252
  556.         $context["firstImage"] = twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'252$this->source); })()), "getFirstImage", [=> (isset($context["imagesTypes"]) || array_key_exists("imagesTypes"$context) ? $context["imagesTypes"] : (function () { throw new RuntimeError('Variable "imagesTypes" does not exist.'252$this->source); })()), => (isset($context["fromDate"]) || array_key_exists("fromDate"$context) ? $context["fromDate"] : (function () { throw new RuntimeError('Variable "fromDate" does not exist.'252$this->source); })())], "method"falsefalsefalse252);
  557.         // line 253
  558.         echo "            ";
  559.         if ( !(null === (isset($context["firstImage"]) || array_key_exists("firstImage"$context) ? $context["firstImage"] : (function () { throw new RuntimeError('Variable "firstImage" does not exist.'253$this->source); })()))) {
  560.             // line 254
  561.             echo "                ";
  562.             echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["firstImage"]) || array_key_exists("firstImage"$context) ? $context["firstImage"] : (function () { throw new RuntimeError('Variable "firstImage" does not exist.'254$this->source); })()), "getThumbnail", [=> "demi-mobile-header-img"], "method"falsefalsefalse254), "getHTML", [=> ["imgAttributes" => ["class" => "img-full-width"]]], "method"falsefalsefalse254);
  563.             echo "
  564.             ";
  565.         }
  566.         // line 256
  567.         echo "
  568.             ";
  569.         // line 257
  570.         $context["images"] = twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'257$this->source); })()), "getImages", [=> (isset($context["imagesTypes"]) || array_key_exists("imagesTypes"$context) ? $context["imagesTypes"] : (function () { throw new RuntimeError('Variable "imagesTypes" does not exist.'257$this->source); })()), => (isset($context["fromDate"]) || array_key_exists("fromDate"$context) ? $context["fromDate"] : (function () { throw new RuntimeError('Variable "fromDate" does not exist.'257$this->source); })()), => true], "method"falsefalsefalse257);
  571.         // line 258
  572.         echo "            ";
  573.         $context["photoCount"] = twig_length_filter($this->env, (isset($context["images"]) || array_key_exists("images"$context) ? $context["images"] : (function () { throw new RuntimeError('Variable "images" does not exist.'258$this->source); })()));
  574.         // line 259
  575.         echo "            ";
  576.         if (((isset($context["photoCount"]) || array_key_exists("photoCount"$context) ? $context["photoCount"] : (function () { throw new RuntimeError('Variable "photoCount" does not exist.'259$this->source); })()) > 1)) {
  577.             // line 260
  578.             echo "
  579.                 <div class=\"figure__item figure__item--right figure__item--bottom m-3\">
  580.                     <button class=\"btn btn-primary js-overlay__toggle js-tracking--click-piwik\"
  581.                             data-target=\"#";
  582.             // line 263
  583.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'263$this->source); })()), "getId", [], "method"falsefalsefalse263), "html"nulltrue);
  584.             echo "-imgs-overlay\"
  585.                             data-tracking-category=\"Gallery\"
  586.                             data-tracking-action=\"open\">
  587.                         ";
  588.             // line 266
  589.             $context["galleryString"] = ((((isset($context["photoCount"]) || array_key_exists("photoCount"$context) ? $context["photoCount"] : (function () { throw new RuntimeError('Variable "photoCount" does not exist.'266$this->source); })()) > 1)) ? ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.images-gallery-button")) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.image-gallery-button")));
  590.             // line 267
  591.             echo "                        ";
  592.             $context["galleryString"] = twig_replace_filter((isset($context["galleryString"]) || array_key_exists("galleryString"$context) ? $context["galleryString"] : (function () { throw new RuntimeError('Variable "galleryString" does not exist.'267$this->source); })()), ["[AMOUNT_IMAGES]" => (isset($context["photoCount"]) || array_key_exists("photoCount"$context) ? $context["photoCount"] : (function () { throw new RuntimeError('Variable "photoCount" does not exist.'267$this->source); })())]);
  593.             // line 268
  594.             echo "                        ";
  595.             twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\SeoHelperBundle\Twig\SeoHelperExtension']->elementsOpenGraph(), "setImages", [=> twig_array_merge(twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\SeoHelperBundle\Twig\SeoHelperExtension']->elementsOpenGraph(), "getImages", [], "any"falsefalsefalse268), [=> (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.'268$this->source); })()), "request", [], "any"falsefalsefalse268), "getHost", [], "method"falsefalsefalse268) . twig_get_attribute($this->env$this->sourcetwig_first($this->env, (isset($context["images"]) || array_key_exists("images"$context) ? $context["images"] : (function () { throw new RuntimeError('Variable "images" does not exist.'268$this->source); })())), "getThumbnail", [=> "ogimages"], "method"falsefalsefalse268))])], "method"falsefalsefalse268);
  596.             // line 269
  597.             echo "                        ";
  598.             echo twig_escape_filter($this->env, (isset($context["galleryString"]) || array_key_exists("galleryString"$context) ? $context["galleryString"] : (function () { throw new RuntimeError('Variable "galleryString" does not exist.'269$this->source); })()), "html"nulltrue);
  599.             echo "
  600.                     </button>
  601.                 </div>
  602.                 </div>
  603.             ";
  604.         }
  605.         // line 274
  606.         echo "        </figure>
  607.         <div class=\"container\" aria-live=\"polite\">
  608.             <div class=\"js-room-list__loading js-corridor__search-info-loading\" hidden>
  609.                 <div class=\"text-center py-3\">
  610.                     ";
  611.         // line 279
  612.         echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/elements/spinner/loading-spinner.html.twig");
  613.         echo "
  614.                 </div>
  615.             </div>
  616.             <div class=\"js-room-list__content js-corridor__search-info-content\" id=\"searchInfo\" data-list=\"searchInfo\">
  617.                 ";
  618.         // line 284
  619.         echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/searchInfoBox.mobile.html.twig", ["accommodationResultSet" =>         // line 285
  620. (isset($context["accommodationResultSet"]) || array_key_exists("accommodationResultSet"$context) ? $context["accommodationResultSet"] : (function () { throw new RuntimeError('Variable "accommodationResultSet" does not exist.'285$this->source); })()), "isPackage" => false]);
  621.         // line 287
  622.         echo "
  623.             </div>
  624.         </div>
  625.         <div class=\"mt-3\">
  626.             <ul class=\"nav nav-border-tabs justify-content-center\" role=\"tablist\">
  627.                 <li class=\"nav-item\">
  628.                     <a class=\"nav-link js-param-tab";
  629.         // line 294
  630.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'294$this->source); })()) == twig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'294$this->source); })()), "detail", [], "array"falsefalsefalse294))) ? (" active") : (""));
  631.         echo " js-tracking js-tracking--click\"
  632.                        href=\"";
  633.         // line 295
  634.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'295$this->source); })()), "detail", [], "array"falsefalsefalse295), "html"nulltrue);
  635.         echo "\"
  636.                        data-toggle=\"tab\"
  637.                        role=\"tab\"
  638.                        aria-expanded=\"";
  639.         // line 298
  640.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'298$this->source); })()) == twig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'298$this->source); })()), "detail", [], "array"falsefalsefalse298))) ? ("true") : ("false"));
  641.         echo "\"
  642.                        data-tracking-category=\"button\"
  643.                        data-tracking-action=\"detail\"
  644.                        data-tracking-label=\"";
  645.         // line 301
  646.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'301$this->source); })()), "getName", [], "method"falsefalsefalse301));
  647.         echo "\">
  648.                         ";
  649.         // line 302
  650.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.tab.accommodation-details"), "html"nulltrue);
  651.         echo "
  652.                     </a>
  653.                 </li>
  654.                 <li class=\"nav-item\" ";
  655.         // line 305
  656.         echo ((((isset($context["hasHousePackages"]) || array_key_exists("hasHousePackages"$context) ? $context["hasHousePackages"] : (function () { throw new RuntimeError('Variable "hasHousePackages" does not exist.'305$this->source); })()) || (( !(null === (isset($context["destinationPackages"]) || array_key_exists("destinationPackages"$context) ? $context["destinationPackages"] : (function () { throw new RuntimeError('Variable "destinationPackages" does not exist.'305$this->source); })())) && (twig_length_filter($this->env, (isset($context["destinationPackages"]) || array_key_exists("destinationPackages"$context) ? $context["destinationPackages"] : (function () { throw new RuntimeError('Variable "destinationPackages" does not exist.'305$this->source); })())) > 0)) && $this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getShowDestinationPackagesOnAccoDetail", [])))) ? ("") : ("hidden"));
  657.         echo ">
  658.                     <a class=\"nav-link js-param-tab";
  659.         // line 306
  660.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'306$this->source); })()) == twig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'306$this->source); })()), "package", [], "array"falsefalsefalse306))) ? (" active") : (""));
  661.         echo " js-tracking js-tracking--click\"
  662.                        href=\"";
  663.         // line 307
  664.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'307$this->source); })()), "package", [], "array"falsefalsefalse307), "html"nulltrue);
  665.         echo "\"
  666.                        data-toggle=\"tab\"
  667.                        role=\"tab\"
  668.                        aria-expanded=\"";
  669.         // line 310
  670.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'310$this->source); })()) == twig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'310$this->source); })()), "package", [], "array"falsefalsefalse310))) ? ("true") : ("false"));
  671.         echo "\"
  672.                        data-tracking-category=\"button\"
  673.                        data-tracking-action=\"package\"
  674.                        data-tracking-label=\"";
  675.         // line 313
  676.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'313$this->source); })()), "getName", [], "method"falsefalsefalse313));
  677.         echo "\">
  678.                         ";
  679.         // line 314
  680.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.tab.packages"), "html"nulltrue);
  681.         echo "
  682.                     </a>
  683.                 </li>
  684.                 <li class=\"nav-item\">
  685.                     <a class=\"nav-link js-param-tab ";
  686.         // line 318
  687.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'318$this->source); })()) == twig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'318$this->source); })()), "rooms", [], "array"falsefalsefalse318))) ? (" active") : (""));
  688.         echo " js-tracking js-tracking--click\"
  689.                        href=\"";
  690.         // line 319
  691.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'319$this->source); })()), "rooms", [], "array"falsefalsefalse319), "html"nulltrue);
  692.         echo "\"
  693.                        data-toggle=\"tab\"
  694.                        role=\"tab\"
  695.                        aria-expanded=\"";
  696.         // line 322
  697.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'322$this->source); })()) == twig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'322$this->source); })()), "rooms", [], "array"falsefalsefalse322))) ? ("true") : ("false"));
  698.         echo "\"
  699.                        data-tracking-category=\"button\"
  700.                        data-tracking-action=\"rooms\"
  701.                        data-tracking-label=\"";
  702.         // line 325
  703.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'325$this->source); })()), "getName", [], "method"falsefalsefalse325));
  704.         echo "\">
  705.                         ";
  706.         // line 326
  707.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->env->getFunction('demi_getRoomsTabTranslationKey')->getCallable()((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'326$this->source); })()))), "html"nulltrue);
  708.         echo "
  709.                     </a>
  710.                 </li>
  711.             </ul>
  712.         </div>
  713.         <div class=\"bg-light-gray pb-4 pt-2\">
  714.             <div class=\"tab-content\">
  715.                 <div class=\"tab-pane";
  716.         // line 334
  717.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'334$this->source); })()) == twig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'334$this->source); })()), "detail", [], "array"falsefalsefalse334))) ? (" active ") : (""));
  718.         echo " pt-2\" id=\"details\"
  719.                      role=\"tabpanel\">
  720.                     ";
  721.         // line 336
  722.         echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/includes/acco-details.mobile.html.twig", ["package" => false"address" =>         // line 338
  723. (isset($context["address"]) || array_key_exists("address"$context) ? $context["address"] : (function () { throw new RuntimeError('Variable "address" does not exist.'338$this->source); })()), "photoCount" => ((        // line 339
  724. array_key_exists("photoCount"$context)) ? ((isset($context["photoCount"]) || array_key_exists("photoCount"$context) ? $context["photoCount"] : (function () { throw new RuntimeError('Variable "photoCount" does not exist.'339$this->source); })())) : (0)), "availabilityIsChecked" =>         // line 340
  725. (isset($context["availabilityIsChecked"]) || array_key_exists("availabilityIsChecked"$context) ? $context["availabilityIsChecked"] : (function () { throw new RuntimeError('Variable "availabilityIsChecked" does not exist.'340$this->source); })()), "fromDate" =>         // line 341
  726. (isset($context["fromDate"]) || array_key_exists("fromDate"$context) ? $context["fromDate"] : (function () { throw new RuntimeError('Variable "fromDate" does not exist.'341$this->source); })())]);
  727.         // line 342
  728.         echo "
  729.                 </div>
  730.                 <div class=\"tab-pane";
  731.         // line 345
  732.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'345$this->source); })()) == twig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'345$this->source); })()), "package", [], "array"falsefalsefalse345))) ? (" active ") : (""));
  733.         echo " pt-2\" id=\"packages\"
  734.                      role=\"tabpanel\">
  735.                     ";
  736.         // line 347
  737.         echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/includes/acco-packages.mobile.html.twig", ["packages" => ((        // line 348
  738. array_key_exists("packages"$context)) ? ((isset($context["packages"]) || array_key_exists("packages"$context) ? $context["packages"] : (function () { throw new RuntimeError('Variable "packages" does not exist.'348$this->source); })())) : (null)), "destinationPackages" => ((        // line 349
  739. array_key_exists("destinationPackages"$context)) ? ((isset($context["destinationPackages"]) || array_key_exists("destinationPackages"$context) ? $context["destinationPackages"] : (function () { throw new RuntimeError('Variable "destinationPackages" does not exist.'349$this->source); })())) : (null)), "accommodation" =>         // line 350
  740. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'350$this->source); })())]);
  741.         // line 351
  742.         echo "
  743.                 </div>
  744.                 <div class=\"tab-pane";
  745.         // line 354
  746.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'354$this->source); })()) == twig_get_attribute($this->env$this->source, (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'354$this->source); })()), "rooms", [], "array"falsefalsefalse354))) ? (" active ") : (""));
  747.         echo " pt-2\" id=\"rooms\"
  748.                      role=\"tabpanel\">
  749.                     ";
  750.         // line 356
  751.         echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/includes/acco-rooms.html.twig", ["package" => false"availabilityIsChecked" =>         // line 358
  752. (isset($context["availabilityIsChecked"]) || array_key_exists("availabilityIsChecked"$context) ? $context["availabilityIsChecked"] : (function () { throw new RuntimeError('Variable "availabilityIsChecked" does not exist.'358$this->source); })()), "accommodation" =>         // line 359
  753. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'359$this->source); })()), "housePackageMaster" => null"resultSetPresent" =>         // line 361
  754. (isset($context["resultSetPresent"]) || array_key_exists("resultSetPresent"$context) ? $context["resultSetPresent"] : (function () { throw new RuntimeError('Variable "resultSetPresent" does not exist.'361$this->source); })()), "tvbPackage" => null]);
  755.         // line 363
  756.         echo "
  757.                 </div>
  758.             </div>
  759.             <div class=\"mt-4 text-center\">
  760.                 ";
  761.         // line 368
  762.         echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/includes/enquiry-button.html.twig", ["text" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.enquiry-button"), "trackingCategory" => "Accommodation detail""trackingAction" => "click enquiry"]);
  763.         // line 372
  764.         echo "
  765.             </div>
  766.         </div>
  767.     </main>
  768.     ";
  769.         // line 377
  770.         $context["contactSnippet"] = $this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getContactSnippet", []);
  771.         // line 378
  772.         echo "    ";
  773.         if ( !twig_test_empty((isset($context["contactSnippet"]) || array_key_exists("contactSnippet"$context) ? $context["contactSnippet"] : (function () { throw new RuntimeError('Variable "contactSnippet" does not exist.'378$this->source); })()))) {
  774.             // line 379
  775.             echo "        ";
  776.             echo $this->env->getFunction('pimcore_inc')->getCallable()((isset($context["contactSnippet"]) || array_key_exists("contactSnippet"$context) ? $context["contactSnippet"] : (function () { throw new RuntimeError('Variable "contactSnippet" does not exist.'379$this->source); })()));
  777.             echo "
  778.     ";
  779.         }
  780.         // line 381
  781.         echo "
  782.     ";
  783.         // line 382
  784.         echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/overlays/search.html.twig", ["filterSnippet" => twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"relation""filterSnippet"), "getData", [], "method"falsefalsefalse383), "searchParam" =>         // line 384
  785. (isset($context["searchParam"]) || array_key_exists("searchParam"$context) ? $context["searchParam"] : (function () { throw new RuntimeError('Variable "searchParam" does not exist.'384$this->source); })()), "noDate" => ((        // line 385
  786. array_key_exists("noDate"$context)) ? ((isset($context["noDate"]) || array_key_exists("noDate"$context) ? $context["noDate"] : (function () { throw new RuntimeError('Variable "noDate" does not exist.'385$this->source); })())) : ( !(null === twig_get_attribute($this->env$this->source, (isset($context["searchParam"]) || array_key_exists("searchParam"$context) ? $context["searchParam"] : (function () { throw new RuntimeError('Variable "searchParam" does not exist.'385$this->source); })()), "getDateFrom", [], "method"falsefalsefalse385)))), "isSearch" => true]);
  787.         // line 387
  788.         echo "
  789.     ";
  790.         // line 389
  791.         echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/overlays/img-gallery.html.twig", ["accommodation" =>         // line 390
  792. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'390$this->source); })()), "imagesTypes" =>         // line 391
  793. (isset($context["imagesTypes"]) || array_key_exists("imagesTypes"$context) ? $context["imagesTypes"] : (function () { throw new RuntimeError('Variable "imagesTypes" does not exist.'391$this->source); })())]);
  794.         // line 392
  795.         echo "
  796.     ";
  797.         // line 395
  798.         if (((($this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getDisableEnquiry", []) != true) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'395$this->source); })()), "getAddress", [], "method"falsefalsefalse395))) &&  !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'395$this->source); })()), "getAddress", [], "method"falsefalsefalse395), "getEmail", [], "method"falsefalsefalse395)))) {
  799.             // line 396
  800.             echo "
  801.         ";
  802.             // line 397
  803.             echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/overlays/inquiry-overlay.html.twig", ["accommodation" =>             // line 398
  804. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'398$this->source); })()), "searchParams" =>             // line 399
  805. (isset($context["searchParam"]) || array_key_exists("searchParam"$context) ? $context["searchParam"] : (function () { throw new RuntimeError('Variable "searchParam" does not exist.'399$this->source); })()), "user" =>             // line 400
  806. (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'400$this->source); })())]);
  807.             // line 401
  808.             echo "
  809.     ";
  810.         }
  811.         // line 403
  812.         echo "
  813.     ";
  814.         // line 405
  815.         if ($this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getWarningOnMultipleAccoProducts", [])) {
  816.             // line 406
  817.             echo "        ";
  818.             echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/modals/warningOnMultipleAccoProductsModal.html.twig", ["cartUrl" => (isset($context["step1Url"]) || array_key_exists("step1Url"$context) ? $context["step1Url"] : (function () { throw new RuntimeError('Variable "step1Url" does not exist.'406$this->source); })())]);
  819.             echo "
  820.     ";
  821.         }
  822.         
  823.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  824.         
  825.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  826.     }
  827.     public function getTemplateName()
  828.     {
  829.         return "@ElementsDemiFrontend/Accommodation/detail.mobile.html.twig";
  830.     }
  831.     public function isTraitable()
  832.     {
  833.         return false;
  834.     }
  835.     public function getDebugInfo()
  836.     {
  837.         return array (  860 => 406,  858 => 405,  854 => 403,  850 => 401,  848 => 400,  847 => 399,  846 => 398,  845 => 397,  842 => 396,  840 => 395,  835 => 392,  833 => 391,  832 => 390,  831 => 389,  827 => 387,  825 => 385,  824 => 384,  823 => 382,  820 => 381,  814 => 379,  811 => 378,  809 => 377,  802 => 372,  800 => 368,  793 => 363,  791 => 361,  790 => 359,  789 => 358,  788 => 356,  783 => 354,  778 => 351,  776 => 350,  775 => 349,  774 => 348,  773 => 347,  768 => 345,  763 => 342,  761 => 341,  760 => 340,  759 => 339,  758 => 338,  757 => 336,  752 => 334,  741 => 326,  737 => 325,  731 => 322,  725 => 319,  721 => 318,  714 => 314,  710 => 313,  704 => 310,  698 => 307,  694 => 306,  690 => 305,  684 => 302,  680 => 301,  674 => 298,  668 => 295,  664 => 294,  655 => 287,  653 => 285,  652 => 284,  644 => 279,  637 => 274,  628 => 269,  625 => 268,  622 => 267,  620 => 266,  614 => 263,  609 => 260,  606 => 259,  603 => 258,  601 => 257,  598 => 256,  592 => 254,  589 => 253,  587 => 252,  579 => 246,  577 => 245,  576 => 244,  571 => 241,  568 => 240,  564 => 238,  562 => 237,  561 => 234,  560 => 233,  559 => 232,  556 => 231,  553 => 230,  550 => 229,  548 => 228,  540 => 222,  534 => 219,  529 => 217,  525 => 216,  522 => 215,  520 => 214,  515 => 212,  508 => 210,  505 => 209,  503 => 208,  498 => 206,  491 => 204,  488 => 203,  486 => 202,  479 => 198,  474 => 195,  466 => 192,  462 => 190,  458 => 188,  455 => 187,  446 => 185,  443 => 184,  439 => 183,  433 => 182,  430 => 181,  427 => 180,  424 => 179,  422 => 178,  418 => 176,  414 => 175,  406 => 173,  401 => 170,  399 => 169,  391 => 164,  387 => 163,  382 => 161,  378 => 160,  369 => 153,  367 => 151,  366 => 150,  365 => 149,  364 => 148,  363 => 147,  362 => 146,  361 => 145,  360 => 144,  359 => 143,  358 => 140,  352 => 137,  347 => 134,  342 => 131,  339 => 130,  334 => 128,  331 => 127,  328 => 126,  326 => 125,  321 => 123,  316 => 121,  312 => 120,  308 => 119,  304 => 118,  299 => 116,  295 => 115,  289 => 112,  285 => 111,  281 => 110,  277 => 109,  273 => 108,  269 => 107,  265 => 106,  261 => 105,  251 => 97,  249 => 89,  247 => 88,  244 => 87,  242 => 86,  238 => 84,  232 => 83,  229 => 82,  226 => 81,  223 => 80,  220 => 79,  215 => 78,  212 => 77,  210 => 76,  207 => 75,  205 => 74,  201 => 72,  199 => 71,  196 => 70,  194 => 65,  190 => 63,  187 => 62,  184 => 61,  181 => 60,  178 => 59,  176 => 58,  173 => 57,  171 => 52,  168 => 51,  165 => 50,  162 => 49,  160 => 48,  157 => 47,  154 => 46,  151 => 45,  148 => 44,  146 => 43,  143 => 42,  140 => 41,  137 => 40,  134 => 39,  132 => 38,  129 => 37,  127 => 35,  126 => 34,  123 => 33,  120 => 32,  117 => 31,  115 => 30,  112 => 29,  110 => 28,  107 => 27,  104 => 26,  101 => 25,  98 => 24,  95 => 23,  93 => 22,  90 => 21,  87 => 20,  77 => 19,  66 => 18,  63 => 15,  61 => 14,  59 => 12,  57 => 11,  55 => 6,  52 => 3,  50 => 2,  48 => 1,  35 => 18,);
  838.     }
  839.     public function getSourceContext()
  840.     {
  841.         return new Source("{% if not editmode %}
  842.     {% do elements_head_title().setTitle( demi_seoTitleForAcco(accommodation,document), true ) %}
  843.     {% do elements_head_meta().setDescription( demi_seoDescriptionforAcco(accommodation) ) %}
  844. {% endif %}
  845. {% set destinationPackages = destinationPackages is defined ? destinationPackages : null %}
  846. {#{% set canonicalUrl = demi_demiUrl({#}
  847. {#    'accommodation': accommodation#}
  848. {#},'demi_acco_detail_page',true) %}#}
  849. {% set canonicalUrl = linkGenerator().generate(accommodation, {canonical: true, relative: false, reset: true}) %}
  850. {% do elements_canonical().checkAllParams(false).setDomain(canonicalUrl)|raw %}
  851.  {% if not canonicalUrl is same as(app.request.pathInfo) %}
  852.      {% do elements_robots().setNoIndex(true) %}
  853.  {% endif %}
  854. {% extends '@ElementsDemiFrontend/Layout/layout.html.twig' %}
  855. {% block content %}
  856.     {% do demi_paymentSetDefaultCurrency(accommodation) %}
  857.     {% if not availabilityIsChecked %}
  858.         {% set fromDate = null %}
  859.     {% else %}
  860.         {% set fromDate = demi_getSearchFrom() %}
  861.     {% endif %}
  862.     {% set resultSetPresent = false %}
  863.     {% if accommodationResultSet is defined and accommodationResultSet is not null and accommodationResultSet.getMinPriceProductSets is not empty and accommodationResultSet.getMinPriceProductSets()|length > 0 %}
  864.         {% set resultSetPresent = true %}
  865.     {% endif %}
  866.     {% set ajaxUrl = demi_demiUrl({
  867.         'accommodation': accommodation
  868.     },'demi_acco_ajax') %}
  869.     {% if  '?' in ajaxUrl %}
  870.         {% set parts = ajaxUrl|split('?') %}
  871.         {% set ajaxUrl = parts[0] %}
  872.     {% endif %}
  873.     {% set liveDetailProductsUrl = ajaxUrl ~ \"?ajaxRequestType=getLiveDetailProducts\" %}
  874.     {% set corridorMatrixUrl = ajaxUrl ~ \"?ajaxRequestType=getCorridorMatrix\" %}
  875.     {% set productUrl = ajaxUrl ~ \"?ajaxRequestType=getProductByIdAndMealcode\" %}
  876.     {% set paymentInformationUrl = ajaxUrl ~ \"?ajaxRequestType=getProductByIdAndMealcode\" %}
  877.     {% set address = accommodation.getAddress() %}
  878.     {% set maxRatingValue = demi_core_configuration('getMaxRatingValue',[]) ?: 5 %}
  879.     {% set maxRatingNormalized = demi_core_configuration('getMaxRatingNormalized',[]) ?: 5 %}
  880.     {% set anchors = {
  881.         'detail': '#details',
  882.         'package': '#packages',
  883.         'rooms': '#rooms'
  884.     } %}
  885.     {% if activeTab is defined and activeTab not in anchors %}
  886.         {% set activeTab = '#details' %}
  887.     {% else %}
  888.         {% do jsConfig('_initialState').add({'activeTab': activeTab}) %}
  889.     {% endif %}
  890.     {% set step1Url = demi_demiUrl({
  891.         'path': demi_core_configuration('getCheckoutPath',[]).getFullPath(),
  892.         'controller': 'cart',
  893.         'action': 'step1'
  894.     },'demi_checkout',true) %}
  895.     {% set addToCartUrl = step1Url %}
  896.     {% set imagesTypes = demi_getAccoImagesTypesAsArray(accommodation) %}
  897.     {% set classifications = accommodation.getClassifications() %}
  898.     {% set hasClassificationsWithIcons = false %}
  899.     {% for classification in classifications %}
  900.         {% set group = classification.getClassificationGroup() %}
  901.         {% if group is not empty and group.getIconSmall() %}
  902.             {% set hasClassificationsWithIcons = true %}
  903.         {% endif %}
  904.     {% endfor %}
  905.     {% set jsonLdData = demi_getAccommodationJsonLdData(accommodation, options is defined ? options : [], packages is defined ? packages : null) %}
  906.     {% do jsonLd().add(\"accommodation\", jsonLdData) %}
  907.     {# TODO @msteyrer breadcrumb helper bundle not in use atm
  908.            {% do breadcrumbHelper().set({
  909.                'parentId': document.getId(),
  910.                'url': accoUrlPlain,
  911.                'label': accommodation.getName()
  912.            }) %}
  913.            {{ include('@ElementsDemiFrontend/Navigation/breadcrumb.html.twig') }} #}
  914.     <script data-cookieconsent=\"ignore\">
  915.         _config.viewType = \"object\";
  916.         _config.historyController = true;
  917.         _config.roomSelection = true;
  918.         _config.searchData = true;
  919.         _config.detailResultUrl = '{{ liveDetailProductsUrl }}';
  920.         _config.corridorSearchUrl = '{{ corridorMatrixUrl }}';
  921.         _config.detailPaymentInfoUrl = '{{ paymentInformationUrl }}';
  922.         _config.detailProductUrl = '{{ productUrl }}';
  923.         _config.addToCartUrl = '{{ addToCartUrl }}';
  924.         _config.addToCartUrl = '{{ addToCartUrl|raw }}';
  925.         _config.cartWarningOnMultipleAccoProducts = {{ demi_core_configuration('getWarningOnMultipleAccoProducts',[]) ? 'true': 'false' }};
  926.         _config.cartInfoUrl = '{{ demi_checkoutUrl('cart','hasAccoInCart')|raw }}';
  927.         _config.roomList = true;
  928.         _config.paramTabs = true;
  929.         _config.isWhitelabel = {{ demi_core_configuration(\"getIsWhitelabel\",[]) ? 'true' : 'false' }};
  930.         _config.trackingCountingClicksUrl = '{{ countingClicksUriJs|raw }}';
  931.         _config.productData = {
  932.             id: {{ accommodation.getId() }},
  933.             name: \"{{ demi_impressionName(accommodation) }}\",
  934.             category: \"{{ demi_impressionCategory(accommodation, null, searchParam) }}\",
  935.             brand: \"{{ demi_impressionBrand(accommodation) }}\"
  936.         };
  937.         _config.acommodationMapHideBusinesses = {{ demi_core_configuration('getMapHideBusinesses',[]) ? 'true' : 'false' }};
  938.         {% set mealtypeId = searchParam.getMealTypeId() %}
  939.         {% if mealtypeId is not empty and mealtypeId[0] is not empty %}
  940.         _config.urlParams = _config.urlParams || [];
  941.         _config.urlParams.push({name: \"mealtype\", value: \"{{ mealtypeId[0] }}\"});
  942.         {% endif %}
  943.         {% if searchParam.getBookOnly() %}
  944.         _config.urlParams = _config.urlParams || [];
  945.         _config.urlParams.push({name: \"bookonly\", value: \"on\"});
  946.         {% endif %}
  947.     </script>
  948.     {{ include('@ElementsDemiFrontend/Includes/canonicalOverride.html.twig', {'object' : accommodation }) }}
  949.     {{ include('@ElementsDemiFrontend/Includes/tags/detail-acco.html.twig',
  950.         {
  951.             'isMobile': false,
  952.             'acco': accommodation,
  953.             'searchParam': searchParam,
  954.             'accoResultSet': accommodationResultSet,
  955.             'productResultSet': productResultSet,
  956.             'packages': packages is defined ? packages : null,
  957.             'sortedMarketingGroups': sortedMarketingGroups,
  958.             'sortedFacilities': sortedFacilities,
  959.             'sortedHealthMeasures':sortedHealthMeasures,
  960.             'hasHousePackages': hasHousePackages
  961.         }
  962.     ) }}
  963.     <main id=\"main\" role=\"main\">
  964.         <div>
  965.             <div class=\"js-search-data__show-if-submitted\" {{ availabilityIsChecked ? '' : 'hidden' }}>
  966.                 {{ include('@ElementsDemiFrontend/Includes/ribbon.html.twig',{'searchParam': searchParam,'showBackButton': true, 'withFlag': false}) }}
  967.             </div>
  968.             <div class=\"js-search-data__hide-if-submitted\" {{ availabilityIsChecked ? 'hidden' : '' }}>
  969.                 {{ include('@ElementsDemiFrontend/Includes/ribbon-price.html.twig',{'resultSet': accommodationResultSet ? accommodationResultSet.getMinPriceBase(true): null, 'accommodation': accommodation}) }}
  970.             </div>
  971.         </div>
  972.         <div class=\"container\">
  973.             {% if accommodation.getIsTesthotel() %}
  974.                 <div class=\"demi-test-acco-notice mb-3 text-danger\"><strong>Testbetrieb</strong> nur für Debug/aktive
  975.                     Pimcore User sichtbar
  976.                 </div>{% endif %}
  977.             <h1 class=\"h2 text-primary{{ hasClassificationsWithIcons ? ' mb-1' : '' }}\">{{ demi_getAccoNameWithStars(accommodation) }}</h1>
  978.             {% for classification in classifications %}
  979.                 <div class=\"row row--gutter-width-20 mb-2\">
  980.                     <div class=\"col col-auto\">
  981.                         {% set count = classification.getClassificationGroupAmount() %}
  982.                         {% set group = classification.getClassificationGroup() %}
  983.                         {% if count is not empty and classification.getShowAsIcon() and classification.demiGetIcon() is not null %}
  984.                             <span class=\"classification_holder hidden-xs\"
  985.                                   aria-label=\"{{ count }} {{ group.getName() }}\">
  986.                             {% for c in 0..count %}
  987.                                 {% set thumbnail = classification.demiGetIcon().getThumbnail('demi-classification') %}
  988.                                 {{ thumbnail.getHTML()|raw }}
  989.                             {% endfor %}
  990.                                 {% if classification.getIsSuperior() %}
  991.                                     <span class=\"classification-superior\">S</span>
  992.                                 {% endif %}
  993.                         </span>
  994.                         {% endif %}
  995.                     </div>
  996.                 </div>
  997.             {% endfor %}
  998.             <div class=\"row row--gutter-width-20 mb-2\">
  999.                 <div class=\"col col-auto\">
  1000.                     {{ accommodation.getCategoryNames(2) }}
  1001.                 </div>
  1002.                 <div class=\"col\">
  1003.                     <div class=\"media text-muted\">
  1004.                         {% if accommodation.getTown() is not null and (accommodation.getTown().getNameLocalized(app.request.locale) is not empty or accommodation.getTown().getName() is not empty) %}
  1005.                             <div class=\"demi-icon demi-icon-marker mr-1 icon-in-text\"
  1006.                                  title=\"{{ 'demi.list.town'|trans }}\" aria-label=\"{{ 'demi.list.town'|trans }}\"></div>
  1007.                             <div class=\"media-body\">
  1008.                                 {{ accommodation.getTown().getNameLocalized(app.request.locale) is not empty ?  accommodation.getTown().getNameLocalized(app.request.locale) : accommodation.getTown().getName() }}
  1009.                             </div>
  1010.                         {% elseif accommodation.getDistrict() is not null and  (accommodation.getDistrict().getNameLocalized(app.request.locale) or accommodation.getDistrict().getName() is not empty) %}
  1011.                             <div class=\"demi-icon demi-icon-marker mr-1 icon-in-text\"
  1012.                                  title=\"{{ 'demi.list.town'|trans }}\" aria-label=\"{{ 'demi.list.town'|trans }}\"></div>
  1013.                             <div class=\"media-body\">
  1014.                                 {{ accommodation.getDistrict().getNameLocalized(app.request.locale) is not empty  ? accommodation.getDistrict().getNameLocalized(app.request.locale) : accommodation.getDistrict().getName() }}
  1015.                             </div>
  1016.                         {% elseif address is not null and address.getTown is not null %}
  1017.                             <div class=\"demi-icon demi-icon-marker mr-1 icon-in-text\"
  1018.                                  title=\"{{ 'demi.detail.town'|trans }}\"
  1019.                                  aria-label=\"{{ 'demi.detail.town'|trans }}\"></div>
  1020.                             <div class=\"media-body\">
  1021.                                 {{ address.getTown() }}
  1022.                             </div>
  1023.                         {% endif %}
  1024.                     </div>
  1025.                 </div>
  1026.             </div>
  1027.             <div class=\"row row--gutter-width-20 mb-2\">
  1028.                 <div class=\"col\">
  1029.                     {% if accommodation.getRatingSystem()==\"TrustYou\" %}
  1030.                         {% set normalizedRating = demi_ratingGetNormalized(accommodation, maxRatingValue, maxRatingNormalized) %}
  1031.                         {% if normalizedRating is not empty %}
  1032.                             <img src=\"/static/demi/debug/img/trustyou-logo.png\" alt=\"Logo Trustyou\" class=\"mb-1\">
  1033.                             {{ include('@ElementsDemiFrontend/Includes/rating.html.twig', {
  1034.                                 \"score\": normalizedRating,
  1035.                                 \"text\": accommodation.getRatingScoreDescription(),
  1036.                                 \"styleModifier\": \"mb-1\",
  1037.                                 \"showReviewCount\": true,
  1038.                                 \"ratingCount\": accommodation.getRatingCountDirect()
  1039.                             }) }}
  1040.                         {% endif %}
  1041.                     {% endif %}
  1042.                 </div>
  1043.                 <div class=\"col col-auto\">
  1044.                     {{ include('@ElementsDemiFrontend/Accommodation/includes/serviceprovider-logo.html.twig', {
  1045.                         \"logo\": accommodation.getImages([constant('Elements\\\\Demi\\\\Deskline\\\\Constant\\\\DocumentInterface::DOCUMENT_TYPE_SERVICE_PROVIDER_LOGO')])|first
  1046.                     }) }}
  1047.                 </div>
  1048.             </div>
  1049.         </div>
  1050.         <figure class=\"figure my-3\">
  1051.             {% set firstImage =  accommodation.getFirstImage(imagesTypes,fromDate) %}
  1052.             {% if firstImage is not null %}
  1053.                 {{ firstImage.getThumbnail('demi-mobile-header-img').getHTML({ 'imgAttributes': {'class': 'img-full-width' }})|raw }}
  1054.             {% endif %}
  1055.             {% set images = accommodation.getImages(imagesTypes, fromDate, true) %}
  1056.             {% set photoCount = images|length %}
  1057.             {% if photoCount > 1 %}
  1058.                 <div class=\"figure__item figure__item--right figure__item--bottom m-3\">
  1059.                     <button class=\"btn btn-primary js-overlay__toggle js-tracking--click-piwik\"
  1060.                             data-target=\"#{{ accommodation.getId() }}-imgs-overlay\"
  1061.                             data-tracking-category=\"Gallery\"
  1062.                             data-tracking-action=\"open\">
  1063.                         {% set galleryString = photoCount > 1 ? 'demi.detail.images-gallery-button'|trans : 'demi.detail.image-gallery-button'|trans %}
  1064.                         {% set galleryString = galleryString|replace({'[AMOUNT_IMAGES]': photoCount}) %}
  1065.                         {% do elements_opengraph().setImages(elements_opengraph().getImages|merge( [app.request.getHost() ~ (images|first).getThumbnail('ogimages')])) %}
  1066.                         {{ galleryString }}
  1067.                     </button>
  1068.                 </div>
  1069.                 </div>
  1070.             {% endif %}
  1071.         </figure>
  1072.         <div class=\"container\" aria-live=\"polite\">
  1073.             <div class=\"js-room-list__loading js-corridor__search-info-loading\" hidden>
  1074.                 <div class=\"text-center py-3\">
  1075.                     {{ include('@ElementsDemiFrontend/Includes/elements/spinner/loading-spinner.html.twig') }}
  1076.                 </div>
  1077.             </div>
  1078.             <div class=\"js-room-list__content js-corridor__search-info-content\" id=\"searchInfo\" data-list=\"searchInfo\">
  1079.                 {{ include('@ElementsDemiFrontend/Accommodation/searchInfoBox.mobile.html.twig', {
  1080.                     \"accommodationResultSet\": accommodationResultSet,
  1081.                     \"isPackage\": false,
  1082.                 }) }}
  1083.             </div>
  1084.         </div>
  1085.         <div class=\"mt-3\">
  1086.             <ul class=\"nav nav-border-tabs justify-content-center\" role=\"tablist\">
  1087.                 <li class=\"nav-item\">
  1088.                     <a class=\"nav-link js-param-tab{{ activeTab == anchors['detail'] ? ' active' : '' }} js-tracking js-tracking--click\"
  1089.                        href=\"{{ anchors['detail'] }}\"
  1090.                        data-toggle=\"tab\"
  1091.                        role=\"tab\"
  1092.                        aria-expanded=\"{{ activeTab == anchors['detail'] ? 'true' : 'false' }}\"
  1093.                        data-tracking-category=\"button\"
  1094.                        data-tracking-action=\"detail\"
  1095.                        data-tracking-label=\"{{ accommodation.getName()|escape }}\">
  1096.                         {{ 'demi.detail.tab.accommodation-details'|trans }}
  1097.                     </a>
  1098.                 </li>
  1099.                 <li class=\"nav-item\" {{ hasHousePackages or (destinationPackages is not null and destinationPackages|length > 0  and  demi_core_configuration(\"getShowDestinationPackagesOnAccoDetail\",[]))  ? \"\" : \"hidden\" }}>
  1100.                     <a class=\"nav-link js-param-tab{{ activeTab == anchors['package'] ? ' active' : '' }} js-tracking js-tracking--click\"
  1101.                        href=\"{{ anchors['package'] }}\"
  1102.                        data-toggle=\"tab\"
  1103.                        role=\"tab\"
  1104.                        aria-expanded=\"{{ activeTab == anchors['package'] ? 'true' : 'false' }}\"
  1105.                        data-tracking-category=\"button\"
  1106.                        data-tracking-action=\"package\"
  1107.                        data-tracking-label=\"{{ accommodation.getName()|escape }}\">
  1108.                         {{ 'demi.detail.tab.packages'|trans }}
  1109.                     </a>
  1110.                 </li>
  1111.                 <li class=\"nav-item\">
  1112.                     <a class=\"nav-link js-param-tab {{ activeTab == anchors['rooms'] ? ' active' : '' }} js-tracking js-tracking--click\"
  1113.                        href=\"{{ anchors['rooms'] }}\"
  1114.                        data-toggle=\"tab\"
  1115.                        role=\"tab\"
  1116.                        aria-expanded=\"{{ activeTab == anchors['rooms'] ? 'true' : 'false' }}\"
  1117.                        data-tracking-category=\"button\"
  1118.                        data-tracking-action=\"rooms\"
  1119.                        data-tracking-label=\"{{ accommodation.getName()|escape }}\">
  1120.                         {{ demi_getRoomsTabTranslationKey(accommodation)|trans }}
  1121.                     </a>
  1122.                 </li>
  1123.             </ul>
  1124.         </div>
  1125.         <div class=\"bg-light-gray pb-4 pt-2\">
  1126.             <div class=\"tab-content\">
  1127.                 <div class=\"tab-pane{{ activeTab == anchors['detail'] ? ' active ' : '' }} pt-2\" id=\"details\"
  1128.                      role=\"tabpanel\">
  1129.                     {{ include(\"@ElementsDemiFrontend/Accommodation/includes/acco-details.mobile.html.twig\" ,{
  1130.                         'package': false,
  1131.                         'address': address,
  1132.                         'photoCount': photoCount is defined ? photoCount : 0,
  1133.                         'availabilityIsChecked':  availabilityIsChecked,
  1134.                         'fromDate': fromDate
  1135.                     }) }}
  1136.                 </div>
  1137.                 <div class=\"tab-pane{{ activeTab == anchors['package'] ? ' active ' : '' }} pt-2\" id=\"packages\"
  1138.                      role=\"tabpanel\">
  1139.                     {{ include(\"@ElementsDemiFrontend/Accommodation/includes/acco-packages.mobile.html.twig\" ,{
  1140.                         'packages': packages is defined ? packages : null,
  1141.                         'destinationPackages': destinationPackages is defined ? destinationPackages : null,
  1142.                         'accommodation': accommodation
  1143.                     }) }}
  1144.                 </div>
  1145.                 <div class=\"tab-pane{{ activeTab == anchors['rooms'] ? ' active ' : '' }} pt-2\" id=\"rooms\"
  1146.                      role=\"tabpanel\">
  1147.                     {{ include(\"@ElementsDemiFrontend/Accommodation/includes/acco-rooms.html.twig\" ,{
  1148.                         'package': false,
  1149.                         'availabilityIsChecked': availabilityIsChecked,
  1150.                         'accommodation': accommodation,
  1151.                         'housePackageMaster': null,
  1152.                         'resultSetPresent': resultSetPresent,
  1153.                         'tvbPackage': null,
  1154.                     }) }}
  1155.                 </div>
  1156.             </div>
  1157.             <div class=\"mt-4 text-center\">
  1158.                 {{ include(\"@ElementsDemiFrontend/Accommodation/includes/enquiry-button.html.twig\", {
  1159.                     \"text\": \"demi.detail.enquiry-button\"|trans,
  1160.                     \"trackingCategory\": \"Accommodation detail\",
  1161.                     \"trackingAction\": \"click enquiry\"
  1162.                 }) }}
  1163.             </div>
  1164.         </div>
  1165.     </main>
  1166.     {% set contactSnippet = demi_core_configuration('getContactSnippet',[]) %}
  1167.     {% if(contactSnippet is not empty) %}
  1168.         {{ pimcore_inc(contactSnippet) }}
  1169.     {% endif %}
  1170.     {{ include('@ElementsDemiFrontend/Includes/overlays/search.html.twig',{
  1171.         'filterSnippet':  pimcore_relation('filterSnippet').getData(),
  1172.         'searchParam': searchParam,
  1173.         'noDate': noDate is defined ? noDate : searchParam.getDateFrom() is not null,
  1174.         'isSearch': true
  1175.     }) }}
  1176.     {{ include('@ElementsDemiFrontend/Includes/overlays/img-gallery.html.twig',{
  1177.         'accommodation': accommodation,
  1178.         'imagesTypes': imagesTypes
  1179.     }) }}
  1180.     {% if demi_core_configuration(\"getDisableEnquiry\",[])!=true and accommodation.getAddress() is not empty and accommodation.getAddress().getEmail() is not empty %}
  1181.         {{ include('@ElementsDemiFrontend/Includes/overlays/inquiry-overlay.html.twig', {
  1182.             'accommodation': accommodation,
  1183.             'searchParams': searchParam,
  1184.             'user': user
  1185.         }) }}
  1186.     {% endif %}
  1187.     {% if demi_core_configuration('getWarningOnMultipleAccoProducts',[]) %}
  1188.         {{ include('@ElementsDemiFrontend/Includes/modals/warningOnMultipleAccoProductsModal.html.twig', {'cartUrl': step1Url}) }}
  1189.     {% endif %}
  1190. {% endblock %}
  1191. ""@ElementsDemiFrontend/Accommodation/detail.mobile.html.twig""/home/steiermark/www/src/Elements/Bundle/DemiFrontendBundle/Resources/views/Accommodation/detail.mobile.html.twig");
  1192.     }
  1193. }