var/cache/dev/twig/f0/f0ad48a818d2a7e6177c1a3cce23c4a1.php line 162

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.desktop.html.twig */
  14. class __TwigTemplate_bdf605d6edc1347816b0435fc413ff60 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.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 94
  31.         return "@ElementsDemiFrontend/Layout/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ElementsDemiFrontend/Accommodation/detail.desktop.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ElementsDemiFrontend/Accommodation/detail.desktop.html.twig"));
  40.         // line 1
  41.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'1$this->source); })())) {
  42.             // line 2
  43.             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"falsefalsetrue2);
  44.             // line 3
  45.             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); })())), true], "method"falsefalsetrue3);
  46.         }
  47.         // line 9
  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.'9$this->source); })()), ["canonical" => true"relative" => false"reset" => true]], "method"falsefalsetrue9);
  49.         // line 10
  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"falsefalsetrue10), "setDomain", [(isset($context["canonicalUrl"]) || array_key_exists("canonicalUrl"$context) ? $context["canonicalUrl"] : (function () { throw new RuntimeError('Variable "canonicalUrl" does not exist.'10$this->source); })())], "method"falsefalsetrue10);
  51.         // line 11
  52.         $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.'11$this->source); })()));
  53.         // line 13
  54.         if ( !((isset($context["canonicalUrl"]) || array_key_exists("canonicalUrl"$context) ? $context["canonicalUrl"] : (function () { throw new RuntimeError('Variable "canonicalUrl" does not exist.'13$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.'13$this->source); })()), "request", [], "any"falsefalsetrue13), "pathInfo", [], "any"falsefalsetrue13))) {
  55.             // line 14
  56.             twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\SeoHelperBundle\Twig\SeoHelperExtension']->elementsRobots(), "setNoIndex", [true], "method"falsefalsetrue14);
  57.         }
  58.         // line 17
  59.         $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.'17$this->source); })()), "getAddress", [], "method"falsefalsetrue17);
  60.         // line 18
  61.         $context["maxRatingValue"] = (($this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getMaxRatingValue", [])) ?: (5));
  62.         // line 19
  63.         $context["maxRatingNormalized"] = (($this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getMaxRatingNormalized", [])) ?: (5));
  64.         // line 21
  65.         $context["hasRatingWidget"] = $this->env->getFunction('demi_ratingGetHasRatingWidgetTrustYou')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'21$this->source); })()), 21$this->source));
  66.         // line 23
  67.         $context["resultSetPresent"] = false;
  68.         // line 25
  69.         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.'25$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.'25$this->source); })()), "getMinPriceProductSets", [], "any"falsefalsetrue25))) && (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.'25$this->source); })()), "getMinPriceProductSets", [], "method"falsefalsetrue25)) > 0))) {
  70.             // line 26
  71.             $context["resultSetPresent"] = true;
  72.         }
  73.         // line 29
  74.         $context["ajaxUrl"] = $this->env->getFunction('demi_demiUrl')->getCallable()(["accommodation" =>         // line 30
  75. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'30$this->source); })())], "demi_acco_ajax");
  76.         // line 33
  77.         if (twig_in_filter("?", (isset($context["ajaxUrl"]) || array_key_exists("ajaxUrl"$context) ? $context["ajaxUrl"] : (function () { throw new RuntimeError('Variable "ajaxUrl" does not exist.'33$this->source); })()))) {
  78.             // line 34
  79.             $context["parts"] = twig_split_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["ajaxUrl"]) || array_key_exists("ajaxUrl"$context) ? $context["ajaxUrl"] : (function () { throw new RuntimeError('Variable "ajaxUrl" does not exist.'34$this->source); })()), 34$this->source), "?");
  80.             // line 35
  81.             $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.'35$this->source); })()), 0, [], "array"falsefalsetrue35);
  82.         }
  83.         // line 38
  84.         $context["liveDetailProductsUrl"] = ($this->sandbox->ensureToStringAllowed((isset($context["ajaxUrl"]) || array_key_exists("ajaxUrl"$context) ? $context["ajaxUrl"] : (function () { throw new RuntimeError('Variable "ajaxUrl" does not exist.'38$this->source); })()), 38$this->source) . "?ajaxRequestType=getLiveDetailProducts");
  85.         // line 39
  86.         $context["corridorMatrixUrl"] = ($this->sandbox->ensureToStringAllowed((isset($context["ajaxUrl"]) || array_key_exists("ajaxUrl"$context) ? $context["ajaxUrl"] : (function () { throw new RuntimeError('Variable "ajaxUrl" does not exist.'39$this->source); })()), 39$this->source) . "?ajaxRequestType=getCorridorMatrix");
  87.         // line 40
  88.         $context["productUrl"] = ($this->sandbox->ensureToStringAllowed((isset($context["ajaxUrl"]) || array_key_exists("ajaxUrl"$context) ? $context["ajaxUrl"] : (function () { throw new RuntimeError('Variable "ajaxUrl" does not exist.'40$this->source); })()), 40$this->source) . "?ajaxRequestType=getProductByIdAndMealcode");
  89.         // line 41
  90.         $context["paymentInformationUrl"] = ($this->sandbox->ensureToStringAllowed((isset($context["ajaxUrl"]) || array_key_exists("ajaxUrl"$context) ? $context["ajaxUrl"] : (function () { throw new RuntimeError('Variable "ajaxUrl" does not exist.'41$this->source); })()), 41$this->source) . "?ajaxRequestType=getProductByIdAndMealcode");
  91.         // line 43
  92.         $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"falsefalsetrue44), "controller" => "cart""action" => "step1"], "demi_checkout"true);
  93.         // line 49
  94.         $context["addToCartUrl"] = (isset($context["step1Url"]) || array_key_exists("step1Url"$context) ? $context["step1Url"] : (function () { throw new RuntimeError('Variable "step1Url" does not exist.'49$this->source); })());
  95.         // line 52
  96.         $context["anchors"] = ["detail" => "#details""picture" => "#pictures""package" => "#packages""rooms" => "#rooms""rating" => "#ratings"];
  97.         // line 60
  98.         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.'60$this->source); })()), (isset($context["anchors"]) || array_key_exists("anchors"$context) ? $context["anchors"] : (function () { throw new RuntimeError('Variable "anchors" does not exist.'60$this->source); })())))) {
  99.             // line 61
  100.             $context["activeTab"] = "#details";
  101.         } else {
  102.             // line 63
  103.             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.'63$this->source); })())]], "method"falsefalsetrue63);
  104.         }
  105.         // line 66
  106.         if ( !(isset($context["availabilityIsChecked"]) || array_key_exists("availabilityIsChecked"$context) ? $context["availabilityIsChecked"] : (function () { throw new RuntimeError('Variable "availabilityIsChecked" does not exist.'66$this->source); })())) {
  107.             // line 67
  108.             $context["fromDate"] = null;
  109.         } else {
  110.             // line 69
  111.             $context["fromDate"] = $this->env->getFunction('demi_getSearchFrom')->getCallable()();
  112.         }
  113.         // line 72
  114.         $context["imagesTypes"] = $this->env->getFunction('demi_getAccoImagesTypesAsArray')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'72$this->source); })()), 72$this->source));
  115.         // line 73
  116.         $context["imageList"] = 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.'73$this->source); })()), "getImages", [(isset($context["imagesTypes"]) || array_key_exists("imagesTypes"$context) ? $context["imagesTypes"] : (function () { throw new RuntimeError('Variable "imagesTypes" does not exist.'73$this->source); })()), (isset($context["fromDate"]) || array_key_exists("fromDate"$context) ? $context["fromDate"] : (function () { throw new RuntimeError('Variable "fromDate" does not exist.'73$this->source); })()), true], "method"falsefalsetrue73);
  117.         // line 74
  118.         $context["photoCount"] = twig_length_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["imageList"]) || array_key_exists("imageList"$context) ? $context["imageList"] : (function () { throw new RuntimeError('Variable "imageList" does not exist.'74$this->source); })()), 74$this->source));
  119.         // line 75
  120.         $context["videoCount"] = twig_length_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["impressionLinks"]) || array_key_exists("impressionLinks"$context) ? $context["impressionLinks"] : (function () { throw new RuntimeError('Variable "impressionLinks" does not exist.'75$this->source); })()), "video", [], "array"falsefalsetrue75), 75$this->source));
  121.         // line 76
  122.         $context["panoCount"] = twig_length_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["impressionLinks"]) || array_key_exists("impressionLinks"$context) ? $context["impressionLinks"] : (function () { throw new RuntimeError('Variable "impressionLinks" does not exist.'76$this->source); })()), "pano", [], "array"falsefalsetrue76), 76$this->source));
  123.         // line 78
  124.         $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.'78$this->source); })()), "getClassifications", [], "method"falsefalsetrue78);
  125.         // line 79
  126.         $context["hasClassificationsWithIcons"] = false;
  127.         // line 80
  128.         $context['_parent'] = $context;
  129.         $context['_seq'] = twig_ensure_traversable((isset($context["classifications"]) || array_key_exists("classifications"$context) ? $context["classifications"] : (function () { throw new RuntimeError('Variable "classifications" does not exist.'80$this->source); })()));
  130.         foreach ($context['_seq'] as $context["_key"] => $context["classification"]) {
  131.             // line 81
  132.             $context["group"] = twig_get_attribute($this->env$this->source$context["classification"], "getClassificationGroup", [], "method"falsefalsetrue81);
  133.             // line 82
  134.             if (( !twig_test_empty((isset($context["group"]) || array_key_exists("group"$context) ? $context["group"] : (function () { throw new RuntimeError('Variable "group" does not exist.'82$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.'82$this->source); })()), "getIconSmall", [], "method"falsefalsetrue82))) {
  135.                 // line 83
  136.                 $context["hasClassificationsWithIcons"] = true;
  137.             }
  138.         }
  139.         $_parent $context['_parent'];
  140.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['classification'], $context['_parent'], $context['loop']);
  141.         $context array_intersect_key($context$_parent) + $_parent;
  142.         // line 86
  143.         if ( !twig_test_empty((isset($context["imageList"]) || array_key_exists("imageList"$context) ? $context["imageList"] : (function () { throw new RuntimeError('Variable "imageList" does not exist.'86$this->source); })()))) {
  144.             // line 87
  145.             twig_get_attribute($this->env$this->source$this->extensions['Elements\Bundle\SeoHelperBundle\Twig\SeoHelperExtension']->elementsOpenGraph(), "addImage", [twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["imageList"]) || array_key_exists("imageList"$context) ? $context["imageList"] : (function () { throw new RuntimeError('Variable "imageList" does not exist.'87$this->source); })()), 0, [], "array"falsefalsetrue87), "getThumbnail", ["slider-main"], "method"falsefalsetrue87), "getPath", [], "method"falsefalsetrue87)], "method"falsefalsetrue87);
  146.         }
  147.         // line 90
  148.         $context["jsonLdData"] = $this->env->getFunction('demi_getAccommodationJsonLdData')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'90$this->source); })()), 90$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.'90$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.'90$this->source); })())) : (null)));
  149.         // line 92
  150.         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.'92$this->source); })())], "method"falsefalsetrue92);
  151.         // line 94
  152.         $this->parent $this->loadTemplate("@ElementsDemiFrontend/Layout/layout.html.twig""@ElementsDemiFrontend/Accommodation/detail.desktop.html.twig"94);
  153.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  154.         
  155.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  156.         
  157.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  158.     }
  159.     // line 95
  160.     public function block_content($context, array $blocks = [])
  161.     {
  162.         $macros $this->macros;
  163.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  164.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  165.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  166.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  167.         // line 96
  168.         echo "    ";
  169.         // line 104
  170.         echo "
  171.     <script type=\"text/javascript\" data-cookieconsent=\"ignore\">
  172.         _config.viewType = \"acco\";
  173.         _config.historyController = true;
  174.         _config.roomSelection = true;
  175.         _config.searchData = true;
  176.         _config.detailResultUrl = '";
  177.         // line 111
  178.         echo $this->sandbox->ensureToStringAllowed((isset($context["liveDetailProductsUrl"]) || array_key_exists("liveDetailProductsUrl"$context) ? $context["liveDetailProductsUrl"] : (function () { throw new RuntimeError('Variable "liveDetailProductsUrl" does not exist.'111$this->source); })()), 111$this->source);
  179.         echo "';
  180.         _config.corridorSearchUrl = '";
  181.         // line 112
  182.         echo $this->sandbox->ensureToStringAllowed((isset($context["corridorMatrixUrl"]) || array_key_exists("corridorMatrixUrl"$context) ? $context["corridorMatrixUrl"] : (function () { throw new RuntimeError('Variable "corridorMatrixUrl" does not exist.'112$this->source); })()), 112$this->source);
  183.         echo "';
  184.         _config.detailPaymentInfoUrl = '";
  185.         // line 113
  186.         echo $this->sandbox->ensureToStringAllowed((isset($context["paymentInformationUrl"]) || array_key_exists("paymentInformationUrl"$context) ? $context["paymentInformationUrl"] : (function () { throw new RuntimeError('Variable "paymentInformationUrl" does not exist.'113$this->source); })()), 113$this->source);
  187.         echo "';
  188.         _config.detailProductUrl = '";
  189.         // line 114
  190.         echo $this->sandbox->ensureToStringAllowed((isset($context["productUrl"]) || array_key_exists("productUrl"$context) ? $context["productUrl"] : (function () { throw new RuntimeError('Variable "productUrl" does not exist.'114$this->source); })()), 114$this->source);
  191.         echo "';
  192.         _config.addToCartUrl = '";
  193.         // line 115
  194.         echo $this->sandbox->ensureToStringAllowed((isset($context["addToCartUrl"]) || array_key_exists("addToCartUrl"$context) ? $context["addToCartUrl"] : (function () { throw new RuntimeError('Variable "addToCartUrl" does not exist.'115$this->source); })()), 115$this->source);
  195.         echo "';
  196.         _config.cartWarningOnMultipleAccoProducts = ";
  197.         // line 116
  198.         echo (($this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getWarningOnMultipleAccoProducts", [])) ? ("true") : ("false"));
  199.         echo ";
  200.         _config.cartInfoUrl = '";
  201.         // line 117
  202.         echo $this->env->getFunction('demi_checkoutUrl')->getCallable()("cart""hasAccoInCart");
  203.         echo "';
  204.         _config.roomList = true;
  205.         _config.paramTabs = true;
  206.         _config.trackingCountingClicksUrl='";
  207.         // line 120
  208.         echo $this->sandbox->ensureToStringAllowed((isset($context["countingClicksUriJs"]) || array_key_exists("countingClicksUriJs"$context) ? $context["countingClicksUriJs"] : (function () { throw new RuntimeError('Variable "countingClicksUriJs" does not exist.'120$this->source); })()), 120$this->source);
  209.         echo "';
  210.         _config.productData = {
  211.             id: ";
  212.         // line 122
  213.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'122$this->source); })()), "getId", [], "method"falsefalsetrue122), 122$this->source), "html"nulltrue);
  214.         echo ",
  215.             name: \"";
  216.         // line 123
  217.         echo $this->env->getFunction('demi_impressionName')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'123$this->source); })()), 123$this->source));
  218.         echo "\",
  219.             category: \"";
  220.         // line 124
  221.         echo $this->env->getFunction('demi_impressionCategory')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'124$this->source); })()), 124$this->source), null$this->sandbox->ensureToStringAllowed((isset($context["searchParam"]) || array_key_exists("searchParam"$context) ? $context["searchParam"] : (function () { throw new RuntimeError('Variable "searchParam" does not exist.'124$this->source); })()), 124$this->source));
  222.         echo "\",
  223.             brand: \"";
  224.         // line 125
  225.         echo $this->env->getFunction('demi_impressionBrand')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'125$this->source); })()), 125$this->source));
  226.         echo "\"
  227.         };
  228.         _config.acommodationMapHideBusinesses = ";
  229.         // line 127
  230.         echo (($this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getMapHideBusinesses", [])) ? ("true") : ("false"));
  231.         echo ";
  232.         ";
  233.         // line 129
  234.         $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.'129$this->source); })()), "getMealTypeId", [], "method"falsefalsetrue129);
  235.         // line 130
  236.         echo "        ";
  237.         if (( !twig_test_empty((isset($context["mealtypeId"]) || array_key_exists("mealtypeId"$context) ? $context["mealtypeId"] : (function () { throw new RuntimeError('Variable "mealtypeId" does not exist.'130$this->source); })())) && is_iterable((isset($context["mealtypeId"]) || array_key_exists("mealtypeId"$context) ? $context["mealtypeId"] : (function () { throw new RuntimeError('Variable "mealtypeId" does not exist.'130$this->source); })())))) {
  238.             // line 131
  239.             echo "            ";
  240.             $context["mealtypeId"] = 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.'131$this->source); })()), 0, [], "array"falsefalsetrue131);
  241.             // line 132
  242.             echo "        ";
  243.         }
  244.         // line 133
  245.         echo "        ";
  246.         if ( !twig_test_empty((isset($context["mealtypeId"]) || array_key_exists("mealtypeId"$context) ? $context["mealtypeId"] : (function () { throw new RuntimeError('Variable "mealtypeId" does not exist.'133$this->source); })()))) {
  247.             // line 134
  248.             echo "        _config.urlParams = _config.urlParams || [];
  249.         _config.urlParams.push( { name : \"mealtype\", value : \"";
  250.             // line 135
  251.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["mealtypeId"]) || array_key_exists("mealtypeId"$context) ? $context["mealtypeId"] : (function () { throw new RuntimeError('Variable "mealtypeId" does not exist.'135$this->source); })()), 135$this->source), "html"nulltrue);
  252.             echo "\"} );
  253.         ";
  254.         }
  255.         // line 137
  256.         echo "        ";
  257.         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.'137$this->source); })()), "getBookOnly", [], "method"falsefalsetrue137)) {
  258.             // line 138
  259.             echo "        _config.urlParams = _config.urlParams || [];
  260.         _config.urlParams.push( { name : \"bookonly\", value : \"on\"} );
  261.         ";
  262.         }
  263.         // line 141
  264.         echo "
  265.     </script>
  266.     ";
  267.         // line 144
  268.         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.'144$this->source); })())]);
  269.         echo "
  270.     ";
  271.         // line 147
  272.         echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/tags/detail-acco.html.twig", ["isMobile" => false"acco" =>         // line 150
  273. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'150$this->source); })()), "searchParam" =>         // line 151
  274. (isset($context["searchParam"]) || array_key_exists("searchParam"$context) ? $context["searchParam"] : (function () { throw new RuntimeError('Variable "searchParam" does not exist.'151$this->source); })()), "accoResultSet" =>         // line 152
  275. (isset($context["accommodationResultSet"]) || array_key_exists("accommodationResultSet"$context) ? $context["accommodationResultSet"] : (function () { throw new RuntimeError('Variable "accommodationResultSet" does not exist.'152$this->source); })()), "productResultSet" =>         // line 153
  276. (isset($context["productResultSet"]) || array_key_exists("productResultSet"$context) ? $context["productResultSet"] : (function () { throw new RuntimeError('Variable "productResultSet" does not exist.'153$this->source); })()), "packages" => ((        // line 154
  277. array_key_exists("packages"$context)) ? ((isset($context["packages"]) || array_key_exists("packages"$context) ? $context["packages"] : (function () { throw new RuntimeError('Variable "packages" does not exist.'154$this->source); })())) : (null)), "sortedMarketingGroups" =>         // line 155
  278. (isset($context["sortedMarketingGroups"]) || array_key_exists("sortedMarketingGroups"$context) ? $context["sortedMarketingGroups"] : (function () { throw new RuntimeError('Variable "sortedMarketingGroups" does not exist.'155$this->source); })()), "sortedFacilities" =>         // line 156
  279. (isset($context["sortedFacilities"]) || array_key_exists("sortedFacilities"$context) ? $context["sortedFacilities"] : (function () { throw new RuntimeError('Variable "sortedFacilities" does not exist.'156$this->source); })()), "sortedHealthMeasures" =>         // line 157
  280. (isset($context["sortedHealthMeasures"]) || array_key_exists("sortedHealthMeasures"$context) ? $context["sortedHealthMeasures"] : (function () { throw new RuntimeError('Variable "sortedHealthMeasures" does not exist.'157$this->source); })()), "hasHousePackages" =>         // line 158
  281. (isset($context["hasHousePackages"]) || array_key_exists("hasHousePackages"$context) ? $context["hasHousePackages"] : (function () { throw new RuntimeError('Variable "hasHousePackages" does not exist.'158$this->source); })()), "photoCount" =>         // line 159
  282. (isset($context["photoCount"]) || array_key_exists("photoCount"$context) ? $context["photoCount"] : (function () { throw new RuntimeError('Variable "photoCount" does not exist.'159$this->source); })()), "videoCount" =>         // line 160
  283. (isset($context["videoCount"]) || array_key_exists("videoCount"$context) ? $context["videoCount"] : (function () { throw new RuntimeError('Variable "videoCount" does not exist.'160$this->source); })()), "panoCount" =>         // line 161
  284. (isset($context["panoCount"]) || array_key_exists("panoCount"$context) ? $context["panoCount"] : (function () { throw new RuntimeError('Variable "panoCount" does not exist.'161$this->source); })())]);
  285.         // line 163
  286.         echo "
  287.     <main id=\"main\" role=\"main\">
  288.         <div hidden>
  289.             ";
  290.         // line 167
  291.         echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/lightboxTopbar.html.twig");
  292.         echo "
  293.         </div>
  294.         ";
  295.         // line 170
  296.         $context["headerName"] = "full";
  297.         // line 171
  298.         echo "        ";
  299.         $context["width"] = 0;
  300.         // line 172
  301.         echo "        ";
  302.         $context["forceMultiHeader"] = 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.'172$this->source); })()), "getForceMultiHeader", [], "method"falsefalsetrue172);
  303.         // line 173
  304.         echo "        ";
  305.         if ( !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.'173$this->source); })()), "getFirstImage", [null, (isset($context["fromDate"]) || array_key_exists("fromDate"$context) ? $context["fromDate"] : (function () { throw new RuntimeError('Variable "fromDate" does not exist.'173$this->source); })())], "method"falsefalsetrue173))) {
  306.             // line 174
  307.             echo "            ";
  308.             $context["width"] = twig_get_attribute($this->env$this->sourcetwig_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.'174$this->source); })()), "getFirstImage", [null, (isset($context["fromDate"]) || array_key_exists("fromDate"$context) ? $context["fromDate"] : (function () { throw new RuntimeError('Variable "fromDate" does not exist.'174$this->source); })())], "method"falsefalsetrue174), "getCustomSettings", [], "method"falsefalsetrue174), "imageWidth", [], "array"falsefalsetrue174);
  309.             // line 175
  310.             echo "        ";
  311.         }
  312.         // line 176
  313.         echo "        ";
  314.         if ((((isset($context["width"]) || array_key_exists("width"$context) ? $context["width"] : (function () { throw new RuntimeError('Variable "width" does not exist.'176$this->source); })()) < $this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getMinWidthForFullHeader", [])) || (isset($context["forceMultiHeader"]) || array_key_exists("forceMultiHeader"$context) ? $context["forceMultiHeader"] : (function () { throw new RuntimeError('Variable "forceMultiHeader" does not exist.'176$this->source); })()))) {
  315.             // line 177
  316.             echo "            ";
  317.             $context["headerName"] = "multi-image";
  318.             // line 178
  319.             echo "        ";
  320.         }
  321.         // line 179
  322.         echo "
  323.         ";
  324.         // line 180
  325.         if (((twig_length_filter($this->env, (isset($context["imageList"]) || array_key_exists("imageList"$context) ? $context["imageList"] : (function () { throw new RuntimeError('Variable "imageList" does not exist.'180$this->source); })())) >= 3) || ((isset($context["headerName"]) || array_key_exists("headerName"$context) ? $context["headerName"] : (function () { throw new RuntimeError('Variable "headerName" does not exist.'180$this->source); })()) == "full"))) {
  326.             // line 181
  327.             echo "            ";
  328.             $context["heroImageAlt"] = ($this->sandbox->ensureToStringAllowed(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.'181$this->source); })()), "getName", [], "method"falsefalsetrue181), 181$this->source) . " - Impression #1");
  329.             // line 182
  330.             echo "            ";
  331.             echo twig_include($this->env$context, (("@ElementsDemiFrontend/Accommodation/includes/acco-header-" $this->sandbox->ensureToStringAllowed((isset($context["headerName"]) || array_key_exists("headerName"$context) ? $context["headerName"] : (function () { throw new RuntimeError('Variable "headerName" does not exist.'182$this->source); })()), 182$this->source)) . ".desktop.html.twig"), ["photoCount" =>             // line 184
  332. (isset($context["photoCount"]) || array_key_exists("photoCount"$context) ? $context["photoCount"] : (function () { throw new RuntimeError('Variable "photoCount" does not exist.'184$this->source); })()), "videoCount" =>             // line 185
  333. (isset($context["videoCount"]) || array_key_exists("videoCount"$context) ? $context["videoCount"] : (function () { throw new RuntimeError('Variable "videoCount" does not exist.'185$this->source); })()), "panoCount" =>             // line 186
  334. (isset($context["panoCount"]) || array_key_exists("panoCount"$context) ? $context["panoCount"] : (function () { throw new RuntimeError('Variable "panoCount" does not exist.'186$this->source); })()), "imageList" =>             // line 187
  335. (isset($context["imageList"]) || array_key_exists("imageList"$context) ? $context["imageList"] : (function () { throw new RuntimeError('Variable "imageList" does not exist.'187$this->source); })()), "alt" =>             // line 188
  336. (isset($context["heroImageAlt"]) || array_key_exists("heroImageAlt"$context) ? $context["heroImageAlt"] : (function () { throw new RuntimeError('Variable "heroImageAlt" does not exist.'188$this->source); })())]);
  337.             // line 190
  338.             echo "
  339.         ";
  340.         }
  341.         // line 193
  342.         echo "
  343.         ";
  344.         // line 194
  345.         echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/elements/search-info.desktop.html.twig", ["searchParam" => (isset($context["searchParam"]) || array_key_exists("searchParam"$context) ? $context["searchParam"] : (function () { throw new RuntimeError('Variable "searchParam" does not exist.'194$this->source); })()), "availabilityIsChecked" => (isset($context["availabilityIsChecked"]) || array_key_exists("availabilityIsChecked"$context) ? $context["availabilityIsChecked"] : (function () { throw new RuntimeError('Variable "availabilityIsChecked" does not exist.'194$this->source); })()), "isSearch" => false]);
  346.         echo "
  347.         <div class=\"container mt-5\">
  348.             <div class=\"row\">
  349.                 <div class=\"col-xl-9 col-12\">
  350.                     <div class=\"row mb-5\">
  351.                         <div class=\"col\">
  352.                             ";
  353.         // line 201
  354.         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.'201$this->source); })()), "getIsTesthotel", [], "method"falsefalsetrue201)) {
  355.             // line 202
  356.             echo "                                <div class=\"demi-test-acco-notice mb-3 text-danger\"><strong>Testbetrieb</strong> nur für Debug/aktive Pimcore User sichtbar</div>
  357.                             ";
  358.         }
  359.         // line 204
  360.         echo "                            <h1 class=\"text-primary";
  361.         echo (((isset($context["hasClassificationsWithIcons"]) || array_key_exists("hasClassificationsWithIcons"$context) ? $context["hasClassificationsWithIcons"] : (function () { throw new RuntimeError('Variable "hasClassificationsWithIcons" does not exist.'204$this->source); })())) ? (" mb-2") : (" mb-4"));
  362.         echo "\">";
  363.         echo $this->env->getFunction('demi_getAccoNameWithStars')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'204$this->source); })()), 204$this->source));
  364.         echo "</h1>
  365.                             ";
  366.         // line 205
  367.         $context["i"] = 0;
  368.         // line 206
  369.         echo "                            ";
  370.         $context["len"] = twig_length_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["classifications"]) || array_key_exists("classifications"$context) ? $context["classifications"] : (function () { throw new RuntimeError('Variable "classifications" does not exist.'206$this->source); })()), 206$this->source));
  371.         // line 207
  372.         echo "                            ";
  373.         $context['_parent'] = $context;
  374.         $context['_seq'] = twig_ensure_traversable((isset($context["classifications"]) || array_key_exists("classifications"$context) ? $context["classifications"] : (function () { throw new RuntimeError('Variable "classifications" does not exist.'207$this->source); })()));
  375.         foreach ($context['_seq'] as $context["_key"] => $context["classification"]) {
  376.             // line 208
  377.             echo "                                <div class=\"row";
  378.             echo ((((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'208$this->source); })()) == ((isset($context["len"]) || array_key_exists("len"$context) ? $context["len"] : (function () { throw new RuntimeError('Variable "len" does not exist.'208$this->source); })()) - 1))) ? (" mb-4") : (" mb-2"));
  379.             echo "\">
  380.                                     <div class=\"col col-auto\">
  381.                                         ";
  382.             // line 210
  383.             $context["count"] = twig_get_attribute($this->env$this->source$context["classification"], "getClassificationGroupAmount", [], "method"falsefalsetrue210);
  384.             // line 211
  385.             echo "                                        ";
  386.             if ((( !twig_test_empty((isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'211$this->source); })())) && twig_get_attribute($this->env$this->source$context["classification"], "getShowAsIcon", [], "method"falsefalsetrue211)) &&  !(null === twig_get_attribute($this->env$this->source$context["classification"], "demiGetIcon", [], "method"falsefalsetrue211)))) {
  387.                 // line 212
  388.                 echo "                                            <span class=\"classification_holder hidden-xs\" aria-label=\"";
  389.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'212$this->source); })()), 212$this->source), "html"nulltrue);
  390.                 echo " ";
  391.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["classification"], "getName", [], "method"falsefalsetrue212), 212$this->source), "html"nulltrue);
  392.                 echo "\">
  393.                                                 ";
  394.                 // line 213
  395.                 $context['_parent'] = $context;
  396.                 $context['_seq'] = twig_ensure_traversable(range(1, (isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'213$this->source); })())));
  397.                 foreach ($context['_seq'] as $context["_key"] => $context["c"]) {
  398.                     // line 214
  399.                     echo "
  400.                                                     ";
  401.                     // line 215
  402.                     $context["thumbnail"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["classification"], "demiGetIcon", [], "method"falsefalsetrue215), "getThumbnail", ["demi-classification"], "method"falsefalsetrue215);
  403.                     // line 216
  404.                     echo "                                                    ";
  405.                     echo $this->sandbox->ensureToStringAllowed(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.'216$this->source); })()), "getHTML", [], "method"falsefalsetrue216), 216$this->source);
  406.                     echo "
  407.                                                     ";
  408.                     // line 218
  409.                     if (twig_get_attribute($this->env$this->source$context["classification"], "getIsSuperior", [], "method"falsefalsetrue218)) {
  410.                         // line 219
  411.                         echo "                                                        <span class=\"classification-superior\">S</span>
  412.                                                     ";
  413.                     }
  414.                     // line 221
  415.                     echo "                                                ";
  416.                 }
  417.                 $_parent $context['_parent'];
  418.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['c'], $context['_parent'], $context['loop']);
  419.                 $context array_intersect_key($context$_parent) + $_parent;
  420.                 // line 222
  421.                 echo "                                        </span>
  422.                                         ";
  423.             }
  424.             // line 224
  425.             echo "                                    </div>
  426.                                 </div>
  427.                                 ";
  428.             // line 226
  429.             $context["i"] = ((isset($context["i"]) || array_key_exists("i"$context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.'226$this->source); })()) + 1);
  430.             // line 227
  431.             echo "                            ";
  432.         }
  433.         $_parent $context['_parent'];
  434.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['classification'], $context['_parent'], $context['loop']);
  435.         $context array_intersect_key($context$_parent) + $_parent;
  436.         // line 228
  437.         echo "
  438.                             <div class=\"row mb-2\">
  439.                                 <div class=\"col col-auto\">
  440.                                     ";
  441.         // line 231
  442.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'231$this->source); })()), "getCategoryNames", [2], "method"falsefalsetrue231), 231$this->source), "html"nulltrue);
  443.         echo "
  444.                                 </div>
  445.                                 <div class=\"col col-auto\">
  446.                                     <div class=\"media text-muted\">
  447.                                         <script>
  448.                                             _config.smoothScroll = true;
  449.                                         </script>
  450.                                         <a class=\"media text-muted js-smoothscroll__link\" href=\"#acco-contact\">
  451.                                             ";
  452.         // line 239
  453.         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.'239$this->source); })()), "getTown", [], "method"falsefalsetrue239)) && (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.'239$this->source); })()), "getTown", [], "method"falsefalsetrue239), "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.'239$this->source); })()), "request", [], "any"falsefalsetrue239), "locale", [], "any"falsefalsetrue239)], "method"falsefalsetrue239) || 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.'239$this->source); })()), "getTown", [], "method"falsefalsetrue239), "getName", [], "method"falsefalsetrue239)))) {
  454.             // line 240
  455.             echo "                                                <div class=\"demi-icon demi-icon-marker mr-1 icon-in-text\" title=\"";
  456.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.list.town"), "html"nulltrue);
  457.             echo "\" aria-label=\"";
  458.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.list.town"), "html"nulltrue);
  459.             echo "\"></div>
  460.                                                 <div class=\"media-body\">
  461.                                                     ";
  462.             // line 242
  463.             echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["accommodation"] ?? null), "getTown", [], "method"falsetruetrue242), "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.'242$this->source); })()), "request", [], "any"falsefalsetrue242), "locale", [], "any"falsefalsetrue242)], "method"truetruetrue242) &&  !(null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["accommodation"] ?? null), "getTown", [], "method"falsetruetrue242), "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.'242$this->source); })()), "request", [], "any"falsefalsetrue242), "locale", [], "any"falsefalsetrue242)], "method"falsefalsetrue242)))) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["accommodation"] ?? null), "getTown", [], "method"falsetruetrue242), "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.'242$this->source); })()), "request", [], "any"falsefalsetrue242), "locale", [], "any"falsefalsetrue242)], "method"falsefalsetrue242)) : (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.'242$this->source); })()), "getTown", [], "method"falsefalsetrue242), "getName", [], "method"falsefalsetrue242))), "html"nulltrue);
  464.             echo "
  465.                                                 </div>
  466.                                             ";
  467.         } elseif (( !(null === twig_get_attribute($this->env$this->source,         // line 244
  468. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'244$this->source); })()), "getDistrict", [], "method"falsefalsetrue244)) && (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.'244$this->source); })()), "getDistrict", [], "method"falsefalsetrue244), "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.'244$this->source); })()), "request", [], "any"falsefalsetrue244), "locale", [], "any"falsefalsetrue244)], "method"falsefalsetrue244) || 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.'244$this->source); })()), "getDistrict", [], "method"falsefalsetrue244), "getName", [], "method"falsefalsetrue244)))) {
  469.             // line 245
  470.             echo "                                                <div class=\"demi-icon demi-icon-marker mr-1 icon-in-text\" title=\"<?= \$this->translate('demi.list.town') ?>\" aria-label=\"<?= \$this->translate('demi.list.town') ?>\"></div>
  471.                                                 <div class=\"media-body\">
  472.                                                     ";
  473.             // line 247
  474.             echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["accommodation"] ?? null), "getDistrict", [], "method"falsetruetrue247), "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.'247$this->source); })()), "request", [], "any"falsefalsetrue247), "locale", [], "any"falsefalsetrue247)], "method"truetruetrue247) &&  !(null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["accommodation"] ?? null), "getDistrict", [], "method"falsetruetrue247), "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.'247$this->source); })()), "request", [], "any"falsefalsetrue247), "locale", [], "any"falsefalsetrue247)], "method"falsefalsetrue247)))) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["accommodation"] ?? null), "getDistrict", [], "method"falsetruetrue247), "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.'247$this->source); })()), "request", [], "any"falsefalsetrue247), "locale", [], "any"falsefalsetrue247)], "method"falsefalsetrue247)) : (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.'247$this->source); })()), "getDistrict", [], "method"falsefalsetrue247), "getName", [], "method"falsefalsetrue247))), "html"nulltrue);
  475.             echo "
  476.                                                 </div>
  477.                                             ";
  478.         } elseif ((        // line 249
  479. (isset($context["address"]) || array_key_exists("address"$context) ? $context["address"] : (function () { throw new RuntimeError('Variable "address" does not exist.'249$this->source); })()) && 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.'249$this->source); })()), "getTown", [], "method"falsefalsetrue249))) {
  480.             // line 250
  481.             echo "                                                <div class=\"demi-icon demi-icon-marker mr-1 icon-in-text\" title=\"";
  482.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.town"), "html"nulltrue);
  483.             echo " ?>\" aria-label=\"";
  484.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.town"), "html"nulltrue);
  485.             echo "\"></div>
  486.                                                 <div class=\"media-body\">
  487.                                                     ";
  488.             // line 252
  489.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'252$this->source); })()), "getTown", [], "method"falsefalsetrue252), 252$this->source), "html"nulltrue);
  490.             echo "
  491.                                                 </div>
  492.                                             ";
  493.         }
  494.         // line 255
  495.         echo "                                        </a>
  496.                                     </div>
  497.                                 </div>
  498.                                 <div class=\"col col-auto\">
  499.                                     ";
  500.         // line 259
  501.         if (array_key_exists("distance"$context)) {
  502.             // line 260
  503.             echo "                                        <div class=\"media text-muted\">
  504.                                             <span class=\"badge badge-primary mr-1\">";
  505.             // line 261
  506.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["distance"]) || array_key_exists("distance"$context) ? $context["distance"] : (function () { throw new RuntimeError('Variable "distance" does not exist.'261$this->source); })()), "value", [], "array"falsefalsetrue261), 261$this->source), "html"nulltrue);
  507.             echo "</span>
  508.                                             <div class=\"media-body\">
  509.                                                 <span class=\"text-primary\">";
  510.             // line 263
  511.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["distance"]) || array_key_exists("distance"$context) ? $context["distance"] : (function () { throw new RuntimeError('Variable "distance" does not exist.'263$this->source); })()), "from", [], "array"falsefalsetrue263), 263$this->source), "html"nulltrue);
  512.             echo "</span>
  513.                                             </div>
  514.                                         </div>
  515.                                     ";
  516.         }
  517.         // line 267
  518.         echo "                                </div>
  519.                             </div>
  520.                         </div>
  521.                         <div class=\"col col-auto\">
  522.                             <div  class=\"mb-4\">
  523.                                 ";
  524.         // line 273
  525.         echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/includes/serviceprovider-logo.html.twig", ["logo" => twig_first($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source,         // line 274
  526. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'274$this->source); })()), "getImages", [[twig_constant("Elements\\Demi\\Deskline\\Constant\\DocumentInterface::DOCUMENT_TYPE_SERVICE_PROVIDER_LOGO")]], "method"falsefalsetrue274), 274$this->source))]);
  527.         // line 275
  528.         echo "
  529.                             </div>
  530.                             <div>
  531.                                 ";
  532.         // line 278
  533.         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.'278$this->source); })()), "getRatingSystem", [], "method"falsefalsetrue278) == "TrustYou")) {
  534.             // line 279
  535.             echo "                                    ";
  536.             $context["normalizedRating"] = $this->env->getFunction('demi_ratingGetNormalized')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'279$this->source); })()), 279$this->source), $this->sandbox->ensureToStringAllowed((isset($context["maxRatingValue"]) || array_key_exists("maxRatingValue"$context) ? $context["maxRatingValue"] : (function () { throw new RuntimeError('Variable "maxRatingValue" does not exist.'279$this->source); })()), 279$this->source), $this->sandbox->ensureToStringAllowed((isset($context["maxRatingNormalized"]) || array_key_exists("maxRatingNormalized"$context) ? $context["maxRatingNormalized"] : (function () { throw new RuntimeError('Variable "maxRatingNormalized" does not exist.'279$this->source); })()), 279$this->source));
  537.             // line 280
  538.             echo "                                    ";
  539.             if ( !twig_test_empty((isset($context["normalizedRating"]) || array_key_exists("normalizedRating"$context) ? $context["normalizedRating"] : (function () { throw new RuntimeError('Variable "normalizedRating" does not exist.'280$this->source); })()))) {
  540.                 // line 281
  541.                 echo "                                        ";
  542.                 echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/includes/rating-md.html.twig", ["score" =>                 // line 282
  543. (isset($context["normalizedRating"]) || array_key_exists("normalizedRating"$context) ? $context["normalizedRating"] : (function () { throw new RuntimeError('Variable "normalizedRating" does not exist.'282$this->source); })()), "text" => twig_get_attribute($this->env$this->source,                 // line 283
  544. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'283$this->source); })()), "getRatingScoreDescription", [], "method"falsefalsetrue283), "styleModifier" => "mb-1""showReviewCount" => true"ratingCount" => twig_get_attribute($this->env$this->source,                 // line 286
  545. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'286$this->source); })()), "getRatingCountDirect", [], "method"falsefalsetrue286), "isTextWhite" => false]);
  546.                 // line 288
  547.                 echo "
  548.                                     ";
  549.             }
  550.             // line 290
  551.             echo "                                ";
  552.         }
  553.         // line 291
  554.         echo "                            </div>
  555.                         </div>
  556.                         <div class=\"col col-auto\">
  557.                             <div class=\"row\">
  558.                                 <div class=\"col col-auto d-xl-none d-md-block\">
  559.                                     <div class=\"ml-3\" aria-live=\"polite\">
  560.                                         <div class=\"js-room-list__loading js-corridor__search-info-loading--compact\" hidden>
  561.                                             <div class=\"text-center py-3\">
  562.                                                 ";
  563.         // line 300
  564.         echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/elements/spinner/loading-spinner.html.twig");
  565.         echo "
  566.                                             </div>
  567.                                         </div>
  568.                                         <div class=\"js-room-list__content js-corridor__search-info-content--compact\" data-list=\"searchInfoCompact\">
  569.                                             ";
  570.         // line 305
  571.         echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/searchInfoBoxCompact.desktop.html.twig", ["accommodationResultSet" =>         // line 306
  572. (isset($context["accommodationResultSet"]) || array_key_exists("accommodationResultSet"$context) ? $context["accommodationResultSet"] : (function () { throw new RuntimeError('Variable "accommodationResultSet" does not exist.'306$this->source); })()), "productResultSet" =>         // line 307
  573. (isset($context["productResultSet"]) || array_key_exists("productResultSet"$context) ? $context["productResultSet"] : (function () { throw new RuntimeError('Variable "productResultSet" does not exist.'307$this->source); })()), "accommodation" =>         // line 308
  574. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'308$this->source); })())]);
  575.         // line 309
  576.         echo "
  577.                                         </div>
  578.                                     </div>
  579.                                 </div>
  580.                             </div>
  581.                         </div>
  582.                     </div>
  583.                     <script data-cookieconsent=\"ignore\">
  584.                         _config.loadAccoImages = true;
  585.                     </script>
  586.                     <div class=\"mt-3\">
  587.                         <ul class=\"nav nav-border-tabs\" role=\"tablist\">
  588.                             <li class=\"nav-item\">
  589.                                 <a class=\"nav-link js-param-tab";
  590.         // line 325
  591.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'325$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.'325$this->source); })()), "detail", [], "array"falsefalsetrue325))) ? (" active") : (""));
  592.         echo " js-tracking js-tracking--click\"
  593.                                    href=\"";
  594.         // line 326
  595.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'326$this->source); })()), "detail", [], "array"falsefalsetrue326), 326$this->source), "html"nulltrue);
  596.         echo "\"
  597.                                    data-toggle=\"tab\"
  598.                                    role=\"tab\"
  599.                                    aria-expanded=\"";
  600.         // line 329
  601.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'329$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.'329$this->source); })()), "detail", [], "array"falsefalsetrue329))) ? ("true") : ("false"));
  602.         echo "\"
  603.                                    data-tracking-category=\"button\"
  604.                                    data-tracking-action=\"detail\"
  605.                                    data-tracking-label=\"";
  606.         // line 332
  607.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'332$this->source); })()), "getName", [], "method"falsefalsetrue332), 332$this->source));
  608.         echo "\">
  609.                                     ";
  610.         // line 333
  611.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.tab.overview"), "html"nulltrue);
  612.         echo "
  613.                                 </a>
  614.                             </li>
  615.                             ";
  616.         // line 336
  617.         if ((isset($context["hasRatingWidget"]) || array_key_exists("hasRatingWidget"$context) ? $context["hasRatingWidget"] : (function () { throw new RuntimeError('Variable "hasRatingWidget" does not exist.'336$this->source); })())) {
  618.             // line 337
  619.             echo "                                <li class=\"nav-item\">
  620.                                     <a class=\"nav-link js-param-tab";
  621.             // line 338
  622.             echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'338$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.'338$this->source); })()), "rating", [], "array"falsefalsetrue338))) ? (" active") : (""));
  623.             echo " js-tracking js-tracking--click\"
  624.                                        href=\"";
  625.             // line 339
  626.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'339$this->source); })()), "rating", [], "array"falsefalsetrue339), 339$this->source), "html"nulltrue);
  627.             echo "\"
  628.                                        data-toggle=\"tab\"
  629.                                        role=\"tab\"
  630.                                        aria-expanded=\"";
  631.             // line 342
  632.             echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'342$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.'342$this->source); })()), "rating", [], "array"falsefalsetrue342))) ? ("true") : ("false"));
  633.             echo "\"
  634.                                        data-tracking-category=\"button\"
  635.                                        data-tracking-action=\"rating\"
  636.                                        data-tracking-label=\"";
  637.             // line 345
  638.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'345$this->source); })()), "getName", [], "method"falsefalsetrue345), 345$this->source));
  639.             echo "\">
  640.                                         ";
  641.             // line 346
  642.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.tab.ratings"), "html"nulltrue);
  643.             echo "
  644.                                     </a>
  645.                                 </li>
  646.                             ";
  647.         }
  648.         // line 350
  649.         echo "                            <li class=\"nav-item\">
  650.                                 <a class=\"nav-link js-param-tab js-acco-images__tab";
  651.         // line 351
  652.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'351$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.'351$this->source); })()), "picture", [], "array"falsefalsetrue351))) ? (" active") : (""));
  653.         echo " js-tracking js-tracking--click\"
  654.                                    href=\"";
  655.         // line 352
  656.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'352$this->source); })()), "picture", [], "array"falsefalsetrue352), 352$this->source), "html"nulltrue);
  657.         echo "\"
  658.                                    data-toggle=\"tab\"
  659.                                    role=\"tab\"
  660.                                    aria-expanded=\"";
  661.         // line 355
  662.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'355$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.'355$this->source); })()), "picture", [], "array"falsefalsetrue355))) ? ("true") : ("false"));
  663.         echo "\"
  664.                                    data-tracking-category=\"button\"
  665.                                    data-tracking-action=\"picture\"
  666.                                    data-tracking-label=\"";
  667.         // line 358
  668.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'358$this->source); })()), "getName", [], "method"falsefalsetrue358), 358$this->source));
  669.         echo "\">
  670.                                     ";
  671.         // line 359
  672.         if (((isset($context["videoCount"]) || array_key_exists("videoCount"$context) ? $context["videoCount"] : (function () { throw new RuntimeError('Variable "videoCount" does not exist.'359$this->source); })()) == 0)) {
  673.             // line 360
  674.             echo "                                        ";
  675.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.tab.photos"), "html"nulltrue);
  676.             echo "
  677.                                     ";
  678.         } else {
  679.             // line 362
  680.             echo "                                        ";
  681.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.tab.photos-videos"), "html"nulltrue);
  682.             echo "
  683.                                     ";
  684.         }
  685.         // line 364
  686.         echo "                                </a>
  687.                             </li>
  688.                             ";
  689.         // line 366
  690.         if (( !twig_test_empty((isset($context["hasHousePackages"]) || array_key_exists("hasHousePackages"$context) ? $context["hasHousePackages"] : (function () { throw new RuntimeError('Variable "hasHousePackages" does not exist.'366$this->source); })())) || (( !twig_test_empty((isset($context["destinationPackages"]) || array_key_exists("destinationPackages"$context) ? $context["destinationPackages"] : (function () { throw new RuntimeError('Variable "destinationPackages" does not exist.'366$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.'366$this->source); })())) > 0)) && $this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getShowDestinationPackagesOnAccoDetail", [])))) {
  691.             // line 367
  692.             echo "                                <li class=\"nav-item\">
  693.                                     <a class=\"nav-link js-param-tab";
  694.             // line 368
  695.             echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'368$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.'368$this->source); })()), "package", [], "array"falsefalsetrue368))) ? (" active") : (""));
  696.             echo " js-tracking js-tracking--click\"
  697.                                        href=\"";
  698.             // line 369
  699.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'369$this->source); })()), "package", [], "array"falsefalsetrue369), 369$this->source), "html"nulltrue);
  700.             echo "\"
  701.                                        data-toggle=\"tab\"
  702.                                        role=\"tab\" aria-expanded=\"";
  703.             // line 371
  704.             echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'371$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.'371$this->source); })()), "package", [], "array"falsefalsetrue371))) ? ("true") : ("false"));
  705.             echo "\"
  706.                                        data-tracking-category=\"button\"
  707.                                        data-tracking-action=\"package\"
  708.                                        data-tracking-label=\"";
  709.             // line 374
  710.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'374$this->source); })()), "getName", [], "method"falsefalsetrue374), 374$this->source));
  711.             echo "\">
  712.                                         ";
  713.             // line 375
  714.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.tab.packages"), "html"nulltrue);
  715.             echo "
  716.                                     </a>
  717.                                 </li>
  718.                             ";
  719.         }
  720.         // line 379
  721.         echo "                            ";
  722.         if ((twig_length_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.'379$this->source); })()), "getAccommodations", [false], "method"falsefalsetrue379)) > 0)) {
  723.             // line 380
  724.             echo "                                <li class=\"nav-item\">
  725.                                     <a class=\"nav-link js-param-tab";
  726.             // line 381
  727.             echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'381$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.'381$this->source); })()), "rooms", [], "array"falsefalsetrue381))) ? (" active") : (""));
  728.             echo " js-tracking js-tracking--click\"
  729.                                        href=\"";
  730.             // line 382
  731.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'382$this->source); })()), "rooms", [], "array"falsefalsetrue382), 382$this->source), "html"nulltrue);
  732.             echo "\"
  733.                                        data-toggle=\"tab\"
  734.                                        role=\"tab\"
  735.                                        aria-expanded=\"";
  736.             // line 385
  737.             echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'385$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.'385$this->source); })()), "rooms", [], "array"falsefalsetrue385))) ? ("true") : ("false"));
  738.             echo "\"
  739.                                        data-tracking-category=\"button\"
  740.                                        data-tracking-action=\"";
  741.             // line 387
  742.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->env->getFunction('demi_getRoomsTabTranslationKey')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'387$this->source); })()), 387$this->source))), "html"nulltrue);
  743.             echo " & ";
  744.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.tab.prices"), "html"nulltrue);
  745.             echo "\"
  746.                                        data-tracking-label=\"rooms\">
  747.                                         ";
  748.             // line 389
  749.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->env->getFunction('demi_getRoomsTabTranslationKey')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'389$this->source); })()), 389$this->source))), "html"nulltrue);
  750.             echo " & ";
  751.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("demi.detail.tab.prices"), "html"nulltrue);
  752.             echo "
  753.                                     </a>
  754.                                 </li>
  755.                             ";
  756.         }
  757.         // line 393
  758.         echo "                        </ul>
  759.                     </div>
  760.                     <div class=\"pb-4 pt-2\">
  761.                         <div class=\"tab-content\">
  762.                             <div class=\"tab-pane pt-2";
  763.         // line 398
  764.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'398$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.'398$this->source); })()), "detail", [], "array"falsefalsetrue398))) ? (" active") : (""));
  765.         echo "\" id=\"details\" role=\"tabpanel\">
  766.                                 ";
  767.         // line 400
  768.         echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/includes/acco-details.desktop.html.twig", ["package" => false"address" =>         // line 402
  769. (isset($context["address"]) || array_key_exists("address"$context) ? $context["address"] : (function () { throw new RuntimeError('Variable "address" does not exist.'402$this->source); })()), "photoCount" =>         // line 403
  770. (isset($context["photoCount"]) || array_key_exists("photoCount"$context) ? $context["photoCount"] : (function () { throw new RuntimeError('Variable "photoCount" does not exist.'403$this->source); })()), "availabilityIsChecked" =>         // line 404
  771. (isset($context["availabilityIsChecked"]) || array_key_exists("availabilityIsChecked"$context) ? $context["availabilityIsChecked"] : (function () { throw new RuntimeError('Variable "availabilityIsChecked" does not exist.'404$this->source); })()), "fromDate" =>         // line 405
  772. (isset($context["fromDate"]) || array_key_exists("fromDate"$context) ? $context["fromDate"] : (function () { throw new RuntimeError('Variable "fromDate" does not exist.'405$this->source); })()), "accommdationResultSet" =>         // line 406
  773. (isset($context["accommodationResultSet"]) || array_key_exists("accommodationResultSet"$context) ? $context["accommodationResultSet"] : (function () { throw new RuntimeError('Variable "accommodationResultSet" does not exist.'406$this->source); })())]);
  774.         // line 407
  775.         echo "
  776.                             </div>
  777.                             ";
  778.         // line 411
  779.         if ((isset($context["hasRatingWidget"]) || array_key_exists("hasRatingWidget"$context) ? $context["hasRatingWidget"] : (function () { throw new RuntimeError('Variable "hasRatingWidget" does not exist.'411$this->source); })())) {
  780.             // line 412
  781.             echo "                                <div class=\"tab-pane pt-2";
  782.             echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'412$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.'412$this->source); })()), "rating", [], "array"falsefalsetrue412))) ? (" active") : (""));
  783.             echo "\" id=\"ratings\" role=\"tabpanel\">
  784.                                     ";
  785.             // line 413
  786.             echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/includes/acco-ratings.desktop.html.twig", ["hasRatingWidget" => (isset($context["hasRatingWidget"]) || array_key_exists("hasRatingWidget"$context) ? $context["hasRatingWidget"] : (function () { throw new RuntimeError('Variable "hasRatingWidget" does not exist.'413$this->source); })()), "package" => false]);
  787.             echo "
  788.                                 </div>
  789.                             ";
  790.         }
  791.         // line 416
  792.         echo "
  793.                             <div class=\"tab-pane pt-2";
  794.         // line 417
  795.         echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'417$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.'417$this->source); })()), "picture", [], "array"falsefalsetrue417))) ? (" active") : (""));
  796.         echo "\" id=\"pictures\" role=\"tabpanel\">
  797.                                 ";
  798.         // line 419
  799.         echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/includes/acco-pictures.desktop.html.twig", ["photoCount" =>         // line 420
  800. (isset($context["photoCount"]) || array_key_exists("photoCount"$context) ? $context["photoCount"] : (function () { throw new RuntimeError('Variable "photoCount" does not exist.'420$this->source); })()), "videoCount" =>         // line 421
  801. (isset($context["videoCount"]) || array_key_exists("videoCount"$context) ? $context["videoCount"] : (function () { throw new RuntimeError('Variable "videoCount" does not exist.'421$this->source); })()), "panoCount" =>         // line 422
  802. (isset($context["panoCount"]) || array_key_exists("panoCount"$context) ? $context["panoCount"] : (function () { throw new RuntimeError('Variable "panoCount" does not exist.'422$this->source); })()), "impressionsLinks" =>         // line 423
  803. (isset($context["impressionLinks"]) || array_key_exists("impressionLinks"$context) ? $context["impressionLinks"] : (function () { throw new RuntimeError('Variable "impressionLinks" does not exist.'423$this->source); })()), "fromDate" =>         // line 424
  804. (isset($context["fromDate"]) || array_key_exists("fromDate"$context) ? $context["fromDate"] : (function () { throw new RuntimeError('Variable "fromDate" does not exist.'424$this->source); })()), "imageList" =>         // line 425
  805. (isset($context["imageList"]) || array_key_exists("imageList"$context) ? $context["imageList"] : (function () { throw new RuntimeError('Variable "imageList" does not exist.'425$this->source); })()), "accoId" => twig_get_attribute($this->env$this->source,         // line 426
  806. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'426$this->source); })()), "getId", [], "method"falsefalsetrue426), "package" => false]);
  807.         // line 428
  808.         echo "
  809.                             </div>
  810.                             ";
  811.         // line 432
  812.         if (((isset($context["hasHousePackages"]) || array_key_exists("hasHousePackages"$context) ? $context["hasHousePackages"] : (function () { throw new RuntimeError('Variable "hasHousePackages" does not exist.'432$this->source); })()) || (( !twig_test_empty((isset($context["destinationPackages"]) || array_key_exists("destinationPackages"$context) ? $context["destinationPackages"] : (function () { throw new RuntimeError('Variable "destinationPackages" does not exist.'432$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.'432$this->source); })())) > 0)) && $this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getShowDestinationPackagesOnAccoDetail", [])))) {
  813.             // line 433
  814.             echo "                                <div class=\"tab-pane pt-2";
  815.             echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'433$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.'433$this->source); })()), "package", [], "array"falsefalsetrue433))) ? (" active") : (""));
  816.             echo "\" id=\"packages\" role=\"tabpanel\">
  817.                                     ";
  818.             // line 435
  819.             echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/includes/acco-packages.desktop.html.twig");
  820.             echo "
  821.                                 </div>
  822.                             ";
  823.         }
  824.         // line 439
  825.         echo "
  826.                             ";
  827.         // line 440
  828.         if ((twig_length_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.'440$this->source); })()), "getAccommodations", [false], "method"falsefalsetrue440)) > 0)) {
  829.             // line 441
  830.             echo "                                <div class=\"tab-pane pt-2";
  831.             echo ((((isset($context["activeTab"]) || array_key_exists("activeTab"$context) ? $context["activeTab"] : (function () { throw new RuntimeError('Variable "activeTab" does not exist.'441$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.'441$this->source); })()), "rooms", [], "array"falsefalsetrue441))) ? (" active") : (""));
  832.             echo "\" id=\"rooms\" role=\"tabpanel\">
  833.                                     ";
  834.             // line 443
  835.             echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/includes/acco-rooms.html.twig", ["availabilityIsChecked" =>             // line 444
  836. (isset($context["availabilityIsChecked"]) || array_key_exists("availabilityIsChecked"$context) ? $context["availabilityIsChecked"] : (function () { throw new RuntimeError('Variable "availabilityIsChecked" does not exist.'444$this->source); })()), "resultSetPresent" =>             // line 445
  837. (isset($context["resultSetPresent"]) || array_key_exists("resultSetPresent"$context) ? $context["resultSetPresent"] : (function () { throw new RuntimeError('Variable "resultSetPresent" does not exist.'445$this->source); })()), "package" => null"tvbPackage" => null"housePackageMaster" => null]);
  838.             // line 449
  839.             echo "
  840.                                 </div>
  841.                             ";
  842.         }
  843.         // line 453
  844.         echo "                        </div>
  845.                     </div>
  846.                 </div>
  847.                 ";
  848.         // line 458
  849.         echo twig_include($this->env$context"@ElementsDemiFrontend/Accommodation/includes/acco-sidebar.desktop.html.twig", ["accommodationResultSet" =>         // line 459
  850. (isset($context["accommodationResultSet"]) || array_key_exists("accommodationResultSet"$context) ? $context["accommodationResultSet"] : (function () { throw new RuntimeError('Variable "accommodationResultSet" does not exist.'459$this->source); })()), "isPackage" => false]);
  851.         // line 461
  852.         echo "
  853.             </div>
  854.         </div>
  855.     </main>
  856.     ";
  857.         // line 466
  858.         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.'466$this->source); })()), "getAddress", [], "method"falsefalsetrue466))) &&  !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.'466$this->source); })()), "getAddress", [], "method"falsefalsetrue466), "getEmail", [], "method"falsefalsetrue466)))) {
  859.             // line 467
  860.             echo "
  861.         ";
  862.             // line 468
  863.             echo twig_include($this->env$context"@ElementsDemiFrontend/Includes/overlays/inquiry-overlay.html.twig", ["accommodation" =>             // line 469
  864. (isset($context["accommodation"]) || array_key_exists("accommodation"$context) ? $context["accommodation"] : (function () { throw new RuntimeError('Variable "accommodation" does not exist.'469$this->source); })()), "searchParams" =>             // line 470
  865. (isset($context["searchParam"]) || array_key_exists("searchParam"$context) ? $context["searchParam"] : (function () { throw new RuntimeError('Variable "searchParam" does not exist.'470$this->source); })()), "user" =>             // line 471
  866. (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'471$this->source); })())]);
  867.             // line 472
  868.             echo "
  869.     ";
  870.         }
  871.         // line 474
  872.         echo "
  873.     ";
  874.         // line 475
  875.         if ($this->extensions['Elements\Demi\Frontend\Twig\DemiConfigurationExtension']->getConfig("getWarningOnMultipleAccoProducts", [])) {
  876.             // line 476
  877.             echo "        ";
  878.             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.'476$this->source); })())]);
  879.             echo "
  880.     ";
  881.         }
  882.         // line 478
  883.         echo "
  884. ";
  885.         
  886.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  887.         
  888.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  889.     }
  890.     /**
  891.      * @codeCoverageIgnore
  892.      */
  893.     public function getTemplateName()
  894.     {
  895.         return "@ElementsDemiFrontend/Accommodation/detail.desktop.html.twig";
  896.     }
  897.     /**
  898.      * @codeCoverageIgnore
  899.      */
  900.     public function isTraitable()
  901.     {
  902.         return false;
  903.     }
  904.     /**
  905.      * @codeCoverageIgnore
  906.      */
  907.     public function getDebugInfo()
  908.     {
  909.         return array (  927 => 478,  921 => 476,  919 => 475,  916 => 474,  912 => 472,  910 => 471,  909 => 470,  908 => 469,  907 => 468,  904 => 467,  902 => 466,  895 => 461,  893 => 459,  892 => 458,  885 => 453,  879 => 449,  877 => 445,  876 => 444,  875 => 443,  869 => 441,  867 => 440,  864 => 439,  857 => 435,  851 => 433,  849 => 432,  843 => 428,  841 => 426,  840 => 425,  839 => 424,  838 => 423,  837 => 422,  836 => 421,  835 => 420,  834 => 419,  829 => 417,  826 => 416,  820 => 413,  815 => 412,  813 => 411,  807 => 407,  805 => 406,  804 => 405,  803 => 404,  802 => 403,  801 => 402,  800 => 400,  795 => 398,  788 => 393,  779 => 389,  772 => 387,  767 => 385,  761 => 382,  757 => 381,  754 => 380,  751 => 379,  744 => 375,  740 => 374,  734 => 371,  729 => 369,  725 => 368,  722 => 367,  720 => 366,  716 => 364,  710 => 362,  704 => 360,  702 => 359,  698 => 358,  692 => 355,  686 => 352,  682 => 351,  679 => 350,  672 => 346,  668 => 345,  662 => 342,  656 => 339,  652 => 338,  649 => 337,  647 => 336,  641 => 333,  637 => 332,  631 => 329,  625 => 326,  621 => 325,  603 => 309,  601 => 308,  600 => 307,  599 => 306,  598 => 305,  590 => 300,  579 => 291,  576 => 290,  572 => 288,  570 => 286,  569 => 283,  568 => 282,  566 => 281,  563 => 280,  560 => 279,  558 => 278,  553 => 275,  551 => 274,  550 => 273,  542 => 267,  535 => 263,  530 => 261,  527 => 260,  525 => 259,  519 => 255,  513 => 252,  505 => 250,  503 => 249,  498 => 247,  494 => 245,  492 => 244,  487 => 242,  479 => 240,  477 => 239,  466 => 231,  461 => 228,  455 => 227,  453 => 226,  449 => 224,  445 => 222,  439 => 221,  435 => 219,  433 => 218,  427 => 216,  425 => 215,  422 => 214,  418 => 213,  411 => 212,  408 => 211,  406 => 210,  400 => 208,  395 => 207,  392 => 206,  390 => 205,  383 => 204,  379 => 202,  377 => 201,  367 => 194,  364 => 193,  359 => 190,  357 => 188,  356 => 187,  355 => 186,  354 => 185,  353 => 184,  351 => 182,  348 => 181,  346 => 180,  343 => 179,  340 => 178,  337 => 177,  334 => 176,  331 => 175,  328 => 174,  325 => 173,  322 => 172,  319 => 171,  317 => 170,  311 => 167,  305 => 163,  303 => 161,  302 => 160,  301 => 159,  300 => 158,  299 => 157,  298 => 156,  297 => 155,  296 => 154,  295 => 153,  294 => 152,  293 => 151,  292 => 150,  291 => 147,  285 => 144,  280 => 141,  275 => 138,  272 => 137,  267 => 135,  264 => 134,  261 => 133,  258 => 132,  255 => 131,  252 => 130,  250 => 129,  245 => 127,  240 => 125,  236 => 124,  232 => 123,  228 => 122,  223 => 120,  217 => 117,  213 => 116,  209 => 115,  205 => 114,  201 => 113,  197 => 112,  193 => 111,  184 => 104,  182 => 96,  172 => 95,  161 => 94,  159 => 92,  157 => 90,  154 => 87,  152 => 86,  145 => 83,  143 => 82,  141 => 81,  137 => 80,  135 => 79,  133 => 78,  131 => 76,  129 => 75,  127 => 74,  125 => 73,  123 => 72,  120 => 69,  117 => 67,  115 => 66,  112 => 63,  109 => 61,  107 => 60,  105 => 52,  103 => 49,  101 => 43,  99 => 41,  97 => 40,  95 => 39,  93 => 38,  90 => 35,  88 => 34,  86 => 33,  84 => 30,  83 => 29,  80 => 26,  78 => 25,  76 => 23,  74 => 21,  72 => 19,  70 => 18,  68 => 17,  65 => 14,  63 => 13,  61 => 11,  59 => 10,  57 => 9,  54 => 3,  52 => 2,  50 => 1,  37 => 94,);
  910.     }
  911.     public function getSourceContext()
  912.     {
  913.         return new Source("{% if not editmode %}
  914.     {% do elements_head_title().setTitle( demi_seoTitleForAcco(accommodation,document), true ) %}
  915.     {% do elements_head_meta().setDescription( demi_seoDescriptionforAcco(accommodation), true )  %}
  916. {% endif %}
  917. {#{% set canonicalUrl = demi_demiUrl({#}
  918. {#    'accommodation': accommodation#}
  919. {#},'demi_acco_detail_page',true) %}#}
  920. {% set canonicalUrl = linkGenerator().generate(accommodation, {canonical: true, relative: false, reset: true}) %}
  921. {% do elements_canonical().checkAllParams(false).setDomain(canonicalUrl)|raw %}
  922. {%  do demi_paymentSetDefaultCurrency(accommodation) %}
  923.  {% if not canonicalUrl is same as(app.request.pathInfo) %}
  924.      {% do elements_robots().setNoIndex(true) %}
  925.  {% endif %}
  926. {% set address = accommodation.getAddress() %}
  927. {% set maxRatingValue = demi_core_configuration('getMaxRatingValue',[]) ?: 5 %}
  928. {% set maxRatingNormalized = demi_core_configuration('getMaxRatingNormalized',[]) ?: 5 %}
  929. {% set hasRatingWidget = demi_ratingGetHasRatingWidgetTrustYou(accommodation) %}
  930. {% set resultSetPresent = false %}
  931. {% if accommodationResultSet is defined and accommodationResultSet is not null and accommodationResultSet.getMinPriceProductSets is not empty and accommodationResultSet.getMinPriceProductSets()|length > 0 %}
  932.     {% set resultSetPresent = true %}
  933. {% endif %}
  934. {% set ajaxUrl = demi_demiUrl({
  935.     'accommodation': accommodation
  936. },'demi_acco_ajax') %}
  937. {% if  '?' in ajaxUrl %}
  938.     {% set parts = ajaxUrl|split('?') %}
  939.     {% set ajaxUrl = parts[0] %}
  940. {% endif %}
  941. {% set liveDetailProductsUrl = ajaxUrl ~ \"?ajaxRequestType=getLiveDetailProducts\" %}
  942. {% set corridorMatrixUrl = ajaxUrl ~ \"?ajaxRequestType=getCorridorMatrix\" %}
  943. {% set productUrl = ajaxUrl ~ \"?ajaxRequestType=getProductByIdAndMealcode\" %}
  944. {% set paymentInformationUrl = ajaxUrl ~ \"?ajaxRequestType=getProductByIdAndMealcode\" %}
  945. {% set step1Url = demi_demiUrl({
  946.     'path': demi_core_configuration('getCheckoutPath',[]).getFullPath(),
  947.     'controller': 'cart',
  948.     'action': 'step1'
  949. },'demi_checkout',true) %}
  950. {% set addToCartUrl = step1Url %}
  951. {% set anchors = {
  952.     'detail': '#details',
  953.     'picture': '#pictures',
  954.     'package': '#packages',
  955.     'rooms': '#rooms',
  956.     'rating': '#ratings'
  957. } %}
  958. {% if activeTab is defined and activeTab not in anchors %}
  959.     {% set activeTab = '#details' %}
  960. {% else %}
  961.     {% do jsConfig('_initialState').add({'activeTab': activeTab}) %}
  962. {% endif %}
  963. {% if not availabilityIsChecked %}
  964.     {% set fromDate = null %}
  965. {% else %}
  966.     {% set fromDate = demi_getSearchFrom() %}
  967. {% endif %}
  968. {% set imagesTypes = demi_getAccoImagesTypesAsArray(accommodation) %}
  969. {% set imageList = accommodation.getImages(imagesTypes, fromDate, true) %}
  970. {% set photoCount = imageList|length %}
  971. {% set videoCount = impressionLinks[\"video\"]|length %}
  972. {% set panoCount = impressionLinks[\"pano\"]|length %}
  973. {% set classifications = accommodation.getClassifications() %}
  974. {% set hasClassificationsWithIcons = false %}
  975. {% for classification in classifications %}
  976.     {% set group = classification.getClassificationGroup() %}
  977.     {% if group is not empty and group.getIconSmall() %}
  978.         {% set hasClassificationsWithIcons = true %}
  979.     {% endif %}
  980. {% endfor %}
  981. {% if imageList is not empty %}
  982.     {% do elements_opengraph().addImage(imageList[0].getThumbnail('slider-main').getPath()) %}
  983. {% endif %}
  984. {% set jsonLdData = demi_getAccommodationJsonLdData(accommodation, options is defined ? options : [], packages is defined ? packages : null) %}
  985. {% do jsonLd().add(\"accommodation\", jsonLdData) %}
  986. {% extends '@ElementsDemiFrontend/Layout/layout.html.twig' %}
  987. {% block content %}
  988.     {# TODO @msteyrer breadcrumb helper bundle not in use atm
  989.     {% do breadcrumbHelper().set({
  990.         'parentId': document.getId(),
  991.         'url': accoUrlPlain,
  992.         'label': accommodation.getName()
  993.     }) %}
  994.     {{ include('@ElementsDemiFrontend/Navigation/breadcrumb.html.twig') }} #}
  995.     <script type=\"text/javascript\" data-cookieconsent=\"ignore\">
  996.         _config.viewType = \"acco\";
  997.         _config.historyController = true;
  998.         _config.roomSelection = true;
  999.         _config.searchData = true;
  1000.         _config.detailResultUrl = '{{ liveDetailProductsUrl|raw }}';
  1001.         _config.corridorSearchUrl = '{{ corridorMatrixUrl|raw }}';
  1002.         _config.detailPaymentInfoUrl = '{{ paymentInformationUrl|raw }}';
  1003.         _config.detailProductUrl = '{{ productUrl|raw }}';
  1004.         _config.addToCartUrl = '{{ addToCartUrl|raw }}';
  1005.         _config.cartWarningOnMultipleAccoProducts = {{  demi_core_configuration('getWarningOnMultipleAccoProducts',[]) ? 'true': 'false' }};
  1006.         _config.cartInfoUrl = '{{ demi_checkoutUrl('cart','hasAccoInCart')|raw }}';
  1007.         _config.roomList = true;
  1008.         _config.paramTabs = true;
  1009.         _config.trackingCountingClicksUrl='{{ countingClicksUriJs|raw }}';
  1010.         _config.productData = {
  1011.             id: {{ accommodation.getId() }},
  1012.             name: \"{{ demi_impressionName(accommodation) }}\",
  1013.             category: \"{{ demi_impressionCategory(accommodation, null, searchParam) }}\",
  1014.             brand: \"{{ demi_impressionBrand(accommodation) }}\"
  1015.         };
  1016.         _config.acommodationMapHideBusinesses = {{ demi_core_configuration('getMapHideBusinesses',[]) ? 'true' : 'false' }};
  1017.         {% set mealtypeId = searchParam.getMealTypeId()   %}
  1018.         {% if mealtypeId is not empty and mealtypeId is iterable %}
  1019.             {% set mealtypeId = mealtypeId[0] %}
  1020.         {% endif %}
  1021.         {% if mealtypeId is not empty  %}
  1022.         _config.urlParams = _config.urlParams || [];
  1023.         _config.urlParams.push( { name : \"mealtype\", value : \"{{ mealtypeId }}\"} );
  1024.         {% endif %}
  1025.         {% if searchParam.getBookOnly() %}
  1026.         _config.urlParams = _config.urlParams || [];
  1027.         _config.urlParams.push( { name : \"bookonly\", value : \"on\"} );
  1028.         {% endif %}
  1029.     </script>
  1030.     {{ include('@ElementsDemiFrontend/Includes/canonicalOverride.html.twig', {'object' : accommodation }) }}
  1031.     {{ include('@ElementsDemiFrontend/Includes/tags/detail-acco.html.twig',
  1032.         {
  1033.             'isMobile': false,
  1034.             'acco': accommodation,
  1035.             'searchParam': searchParam,
  1036.             'accoResultSet': accommodationResultSet,
  1037.             'productResultSet': productResultSet,
  1038.             'packages': packages is defined ? packages : null,
  1039.             'sortedMarketingGroups': sortedMarketingGroups,
  1040.             'sortedFacilities': sortedFacilities,
  1041.             'sortedHealthMeasures':sortedHealthMeasures,
  1042.             'hasHousePackages': hasHousePackages,
  1043.             'photoCount': photoCount,
  1044.             'videoCount': videoCount,
  1045.             'panoCount': panoCount
  1046.         }
  1047.     ) }}
  1048.     <main id=\"main\" role=\"main\">
  1049.         <div hidden>
  1050.             {{ include('@ElementsDemiFrontend/Accommodation/lightboxTopbar.html.twig') }}
  1051.         </div>
  1052.         {% set headerName = \"full\" %}
  1053.         {% set width = 0 %}
  1054.         {% set forceMultiHeader = accommodation.getForceMultiHeader() %}
  1055.         {% if accommodation.getFirstImage(null,fromDate) is not empty %}
  1056.             {% set width = accommodation.getFirstImage(null, fromDate).getCustomSettings()[\"imageWidth\"] %}
  1057.         {% endif %}
  1058.         {% if width < demi_core_configuration(\"getMinWidthForFullHeader\",[]) or forceMultiHeader %}
  1059.             {% set headerName = \"multi-image\" %}
  1060.         {% endif %}
  1061.         {%  if imageList|length >= 3  or headerName==\"full\" %}
  1062.             {% set heroImageAlt = accommodation.getName() ~ ' - Impression #1' %}
  1063.             {{ include('@ElementsDemiFrontend/Accommodation/includes/acco-header-' ~ headerName ~'.desktop.html.twig',
  1064.                 {
  1065.                     'photoCount': photoCount,
  1066.                     'videoCount': videoCount,
  1067.                     'panoCount': panoCount,
  1068.                     'imageList': imageList,
  1069.                     'alt': heroImageAlt
  1070.                 }
  1071.             ) }}
  1072.         {% endif %}
  1073.         {{ include('@ElementsDemiFrontend/Includes/elements/search-info.desktop.html.twig', { \"searchParam\": searchParam, \"availabilityIsChecked\": availabilityIsChecked, \"isSearch\": false}) }}
  1074.         <div class=\"container mt-5\">
  1075.             <div class=\"row\">
  1076.                 <div class=\"col-xl-9 col-12\">
  1077.                     <div class=\"row mb-5\">
  1078.                         <div class=\"col\">
  1079.                             {% if accommodation.getIsTesthotel() %}
  1080.                                 <div class=\"demi-test-acco-notice mb-3 text-danger\"><strong>Testbetrieb</strong> nur für Debug/aktive Pimcore User sichtbar</div>
  1081.                             {% endif %}
  1082.                             <h1 class=\"text-primary{{ hasClassificationsWithIcons ? ' mb-2' : ' mb-4' }}\">{{ demi_getAccoNameWithStars(accommodation) }}</h1>
  1083.                             {% set i = 0 %}
  1084.                             {% set len = classifications|length %}
  1085.                             {% for classification in classifications %}
  1086.                                 <div class=\"row{{ i == (len - 1) ? ' mb-4' : ' mb-2' }}\">
  1087.                                     <div class=\"col col-auto\">
  1088.                                         {% set count = classification.getClassificationGroupAmount() %}
  1089.                                         {% if count is not empty and classification.getShowAsIcon() and classification.demiGetIcon() is not null %}
  1090.                                             <span class=\"classification_holder hidden-xs\" aria-label=\"{{ count }} {{ classification.getName() }}\">
  1091.                                                 {%  for c in 1..count %}
  1092.                                                     {% set thumbnail = classification.demiGetIcon().getThumbnail('demi-classification') %}
  1093.                                                     {{  thumbnail.getHTML()|raw }}
  1094.                                                     {% if classification.getIsSuperior() %}
  1095.                                                         <span class=\"classification-superior\">S</span>
  1096.                                                     {% endif %}
  1097.                                                 {% endfor %}
  1098.                                         </span>
  1099.                                         {% endif %}
  1100.                                     </div>
  1101.                                 </div>
  1102.                                 {% set i = i+1 %}
  1103.                             {% endfor %}
  1104.                             <div class=\"row mb-2\">
  1105.                                 <div class=\"col col-auto\">
  1106.                                     {{ accommodation.getCategoryNames(2) }}
  1107.                                 </div>
  1108.                                 <div class=\"col col-auto\">
  1109.                                     <div class=\"media text-muted\">
  1110.                                         <script>
  1111.                                             _config.smoothScroll = true;
  1112.                                         </script>
  1113.                                         <a class=\"media text-muted js-smoothscroll__link\" href=\"#acco-contact\">
  1114.                                             {% if accommodation.getTown() is not null and (accommodation.getTown().getNameLocalized(app.request.locale) or  accommodation.getTown().getName()) %}
  1115.                                                 <div class=\"demi-icon demi-icon-marker mr-1 icon-in-text\" title=\"{{ 'demi.list.town'|trans }}\" aria-label=\"{{ 'demi.list.town'|trans }}\"></div>
  1116.                                                 <div class=\"media-body\">
  1117.                                                     {{ accommodation.getTown().getNameLocalized(app.request.locale) ?? accommodation.getTown().getName() }}
  1118.                                                 </div>
  1119.                                             {% elseif  accommodation.getDistrict() is not null and (accommodation.getDistrict().getNameLocalized(app.request.locale) or  accommodation.getDistrict().getName())%}
  1120.                                                 <div class=\"demi-icon demi-icon-marker mr-1 icon-in-text\" title=\"<?= \$this->translate('demi.list.town') ?>\" aria-label=\"<?= \$this->translate('demi.list.town') ?>\"></div>
  1121.                                                 <div class=\"media-body\">
  1122.                                                     {{ accommodation.getDistrict().getNameLocalized(app.request.locale) ?? accommodation.getDistrict().getName() }}
  1123.                                                 </div>
  1124.                                             {% elseif address and address.getTown() %}
  1125.                                                 <div class=\"demi-icon demi-icon-marker mr-1 icon-in-text\" title=\"{{ 'demi.detail.town'|trans }} ?>\" aria-label=\"{{ 'demi.detail.town'|trans }}\"></div>
  1126.                                                 <div class=\"media-body\">
  1127.                                                     {{ address.getTown() }}
  1128.                                                 </div>
  1129.                                             {% endif %}
  1130.                                         </a>
  1131.                                     </div>
  1132.                                 </div>
  1133.                                 <div class=\"col col-auto\">
  1134.                                     {% if distance is defined %}
  1135.                                         <div class=\"media text-muted\">
  1136.                                             <span class=\"badge badge-primary mr-1\">{{ distance['value'] }}</span>
  1137.                                             <div class=\"media-body\">
  1138.                                                 <span class=\"text-primary\">{{ distance['from'] }}</span>
  1139.                                             </div>
  1140.                                         </div>
  1141.                                     {% endif %}
  1142.                                 </div>
  1143.                             </div>
  1144.                         </div>
  1145.                         <div class=\"col col-auto\">
  1146.                             <div  class=\"mb-4\">
  1147.                                 {{ include('@ElementsDemiFrontend/Accommodation/includes/serviceprovider-logo.html.twig', {
  1148.                                     \"logo\": accommodation.getImages([constant('Elements\\\\Demi\\\\Deskline\\\\Constant\\\\DocumentInterface::DOCUMENT_TYPE_SERVICE_PROVIDER_LOGO')])|first
  1149.                                 }) }}
  1150.                             </div>
  1151.                             <div>
  1152.                                 {% if accommodation.getRatingSystem()==\"TrustYou\" %}
  1153.                                     {% set normalizedRating = demi_ratingGetNormalized(accommodation, maxRatingValue, maxRatingNormalized) %}
  1154.                                     {% if normalizedRating is not empty %}
  1155.                                         {{ include('@ElementsDemiFrontend/Accommodation/includes/rating-md.html.twig', {
  1156.                                             \"score\": normalizedRating,
  1157.                                             \"text\": accommodation.getRatingScoreDescription(),
  1158.                                             \"styleModifier\": \"mb-1\",
  1159.                                             \"showReviewCount\": true,
  1160.                                             \"ratingCount\": accommodation.getRatingCountDirect(),
  1161.                                             \"isTextWhite\" : false
  1162.                                         }) }}
  1163.                                     {% endif %}
  1164.                                 {% endif %}
  1165.                             </div>
  1166.                         </div>
  1167.                         <div class=\"col col-auto\">
  1168.                             <div class=\"row\">
  1169.                                 <div class=\"col col-auto d-xl-none d-md-block\">
  1170.                                     <div class=\"ml-3\" aria-live=\"polite\">
  1171.                                         <div class=\"js-room-list__loading js-corridor__search-info-loading--compact\" hidden>
  1172.                                             <div class=\"text-center py-3\">
  1173.                                                 {{ include('@ElementsDemiFrontend/Includes/elements/spinner/loading-spinner.html.twig') }}
  1174.                                             </div>
  1175.                                         </div>
  1176.                                         <div class=\"js-room-list__content js-corridor__search-info-content--compact\" data-list=\"searchInfoCompact\">
  1177.                                             {{ include('@ElementsDemiFrontend/Accommodation/searchInfoBoxCompact.desktop.html.twig', {
  1178.                                                 \"accommodationResultSet\": accommodationResultSet,
  1179.                                                 \"productResultSet\": productResultSet,
  1180.                                                 \"accommodation\": accommodation,
  1181.                                             }) }}
  1182.                                         </div>
  1183.                                     </div>
  1184.                                 </div>
  1185.                             </div>
  1186.                         </div>
  1187.                     </div>
  1188.                     <script data-cookieconsent=\"ignore\">
  1189.                         _config.loadAccoImages = true;
  1190.                     </script>
  1191.                     <div class=\"mt-3\">
  1192.                         <ul class=\"nav nav-border-tabs\" role=\"tablist\">
  1193.                             <li class=\"nav-item\">
  1194.                                 <a class=\"nav-link js-param-tab{{ activeTab == anchors['detail'] ? ' active' : '' }} js-tracking js-tracking--click\"
  1195.                                    href=\"{{ anchors['detail'] }}\"
  1196.                                    data-toggle=\"tab\"
  1197.                                    role=\"tab\"
  1198.                                    aria-expanded=\"{{ activeTab == anchors['detail'] ? 'true' : 'false' }}\"
  1199.                                    data-tracking-category=\"button\"
  1200.                                    data-tracking-action=\"detail\"
  1201.                                    data-tracking-label=\"{{ accommodation.getName()|escape }}\">
  1202.                                     {{ \"demi.detail.tab.overview\"|trans }}
  1203.                                 </a>
  1204.                             </li>
  1205.                             {% if(hasRatingWidget) %}
  1206.                                 <li class=\"nav-item\">
  1207.                                     <a class=\"nav-link js-param-tab{{ activeTab == anchors['rating'] ? ' active' : '' }} js-tracking js-tracking--click\"
  1208.                                        href=\"{{ anchors['rating'] }}\"
  1209.                                        data-toggle=\"tab\"
  1210.                                        role=\"tab\"
  1211.                                        aria-expanded=\"{{ activeTab == anchors['rating'] ? 'true' : 'false' }}\"
  1212.                                        data-tracking-category=\"button\"
  1213.                                        data-tracking-action=\"rating\"
  1214.                                        data-tracking-label=\"{{ accommodation.getName()|escape }}\">
  1215.                                         {{ \"demi.detail.tab.ratings\"|trans }}
  1216.                                     </a>
  1217.                                 </li>
  1218.                             {% endif %}
  1219.                             <li class=\"nav-item\">
  1220.                                 <a class=\"nav-link js-param-tab js-acco-images__tab{{ activeTab == anchors['picture'] ? ' active' : '' }} js-tracking js-tracking--click\"
  1221.                                    href=\"{{ anchors['picture'] }}\"
  1222.                                    data-toggle=\"tab\"
  1223.                                    role=\"tab\"
  1224.                                    aria-expanded=\"{{ activeTab == anchors['picture'] ? 'true' : 'false' }}\"
  1225.                                    data-tracking-category=\"button\"
  1226.                                    data-tracking-action=\"picture\"
  1227.                                    data-tracking-label=\"{{ accommodation.getName()|escape }}\">
  1228.                                     {% if videoCount == 0 %}
  1229.                                         {{ \"demi.detail.tab.photos\"|trans }}
  1230.                                     {% else %}
  1231.                                         {{ \"demi.detail.tab.photos-videos\"|trans }}
  1232.                                     {% endif %}
  1233.                                 </a>
  1234.                             </li>
  1235.                             {% if hasHousePackages is not empty or (destinationPackages is not empty and destinationPackages|length>0 and demi_core_configuration('getShowDestinationPackagesOnAccoDetail',[])) %}
  1236.                                 <li class=\"nav-item\">
  1237.                                     <a class=\"nav-link js-param-tab{{ activeTab == anchors['package'] ? ' active' : '' }} js-tracking js-tracking--click\"
  1238.                                        href=\"{{ anchors['package'] }}\"
  1239.                                        data-toggle=\"tab\"
  1240.                                        role=\"tab\" aria-expanded=\"{{ activeTab == anchors['package'] ? 'true' : 'false' }}\"
  1241.                                        data-tracking-category=\"button\"
  1242.                                        data-tracking-action=\"package\"
  1243.                                        data-tracking-label=\"{{ accommodation.getName()|escape }}\">
  1244.                                         {{ \"demi.detail.tab.packages\"|trans }}
  1245.                                     </a>
  1246.                                 </li>
  1247.                             {% endif %}
  1248.                             {% if (accommodation.getAccommodations(false)|length)>0 %}
  1249.                                 <li class=\"nav-item\">
  1250.                                     <a class=\"nav-link js-param-tab{{ activeTab == anchors['rooms'] ? ' active' : '' }} js-tracking js-tracking--click\"
  1251.                                        href=\"{{ anchors['rooms'] }}\"
  1252.                                        data-toggle=\"tab\"
  1253.                                        role=\"tab\"
  1254.                                        aria-expanded=\"{{ activeTab == anchors['rooms'] ? 'true' : 'false' }}\"
  1255.                                        data-tracking-category=\"button\"
  1256.                                        data-tracking-action=\"{{ demi_getRoomsTabTranslationKey(accommodation)|trans }} & {{ \"demi.detail.tab.prices\"|trans }}\"
  1257.                                        data-tracking-label=\"rooms\">
  1258.                                         {{ demi_getRoomsTabTranslationKey(accommodation)|trans }} & {{ \"demi.detail.tab.prices\"|trans }}
  1259.                                     </a>
  1260.                                 </li>
  1261.                             {% endif %}
  1262.                         </ul>
  1263.                     </div>
  1264.                     <div class=\"pb-4 pt-2\">
  1265.                         <div class=\"tab-content\">
  1266.                             <div class=\"tab-pane pt-2{{ activeTab == anchors['detail'] ? ' active' : '' }}\" id=\"details\" role=\"tabpanel\">
  1267.                                 {{ include(\"@ElementsDemiFrontend/Accommodation/includes/acco-details.desktop.html.twig\" ,{
  1268.                                     'package': false,
  1269.                                     'address': address,
  1270.                                     'photoCount': photoCount,
  1271.                                     'availabilityIsChecked': availabilityIsChecked,
  1272.                                     'fromDate': fromDate,
  1273.                                     'accommdationResultSet': accommodationResultSet
  1274.                                 }) }}
  1275.                             </div>
  1276.                             {% if hasRatingWidget %}
  1277.                                 <div class=\"tab-pane pt-2{{ activeTab == anchors['rating'] ? ' active' : '' }}\" id=\"ratings\" role=\"tabpanel\">
  1278.                                     {{ include(\"@ElementsDemiFrontend/Accommodation/includes/acco-ratings.desktop.html.twig\", {'hasRatingWidget': hasRatingWidget, 'package' : false}) }}
  1279.                                 </div>
  1280.                             {% endif %}
  1281.                             <div class=\"tab-pane pt-2{{ activeTab == anchors['picture'] ? ' active' : '' }}\" id=\"pictures\" role=\"tabpanel\">
  1282.                                 {{ include(\"@ElementsDemiFrontend/Accommodation/includes/acco-pictures.desktop.html.twig\", {
  1283.                                     'photoCount': photoCount,
  1284.                                     'videoCount': videoCount,
  1285.                                     'panoCount': panoCount,
  1286.                                     'impressionsLinks': impressionLinks,
  1287.                                     'fromDate': fromDate,
  1288.                                     'imageList': imageList,
  1289.                                     'accoId': accommodation.getId(),
  1290.                                     'package' : false
  1291.                                 }) }}
  1292.                             </div>
  1293.                             {% if hasHousePackages or (destinationPackages is not empty  and (destinationPackages|length)>0  and demi_core_configuration(\"getShowDestinationPackagesOnAccoDetail\",[])) %}
  1294.                                 <div class=\"tab-pane pt-2{{ activeTab == anchors['package'] ? ' active' : '' }}\" id=\"packages\" role=\"tabpanel\">
  1295.                                     {{ include('@ElementsDemiFrontend/Accommodation/includes/acco-packages.desktop.html.twig') }}
  1296.                                 </div>
  1297.                             {% endif %}
  1298.                             {% if (accommodation.getAccommodations(false)|length)>0 %}
  1299.                                 <div class=\"tab-pane pt-2{{ activeTab == anchors['rooms'] ? ' active' : '' }}\" id=\"rooms\" role=\"tabpanel\">
  1300.                                     {{ include('@ElementsDemiFrontend/Accommodation/includes/acco-rooms.html.twig', {
  1301.                                         'availabilityIsChecked': availabilityIsChecked,
  1302.                                         'resultSetPresent': resultSetPresent,
  1303.                                         'package' : null,
  1304.                                         'tvbPackage' : null,
  1305.                                         'housePackageMaster' : null
  1306.                                     }) }}
  1307.                                 </div>
  1308.                             {% endif %}
  1309.                         </div>
  1310.                     </div>
  1311.                 </div>
  1312.                 {{ include(\"@ElementsDemiFrontend/Accommodation/includes/acco-sidebar.desktop.html.twig\",{
  1313.                     'accommodationResultSet': accommodationResultSet,
  1314.                     'isPackage': false,
  1315.                 }) }}
  1316.             </div>
  1317.         </div>
  1318.     </main>
  1319.     {% if demi_core_configuration(\"getDisableEnquiry\",[])!=true and accommodation.getAddress() is not empty and accommodation.getAddress().getEmail() is not empty %}
  1320.         {{ include('@ElementsDemiFrontend/Includes/overlays/inquiry-overlay.html.twig', {
  1321.             'accommodation': accommodation,
  1322.             'searchParams': searchParam,
  1323.             'user': user
  1324.         }) }}
  1325.     {% endif %}
  1326.     {% if demi_core_configuration('getWarningOnMultipleAccoProducts',[]) %}
  1327.         {{ include('@ElementsDemiFrontend/Includes/modals/warningOnMultipleAccoProductsModal.html.twig', {'cartUrl': step1Url}) }}
  1328.     {% endif %}
  1329. {% endblock %}
  1330. ""@ElementsDemiFrontend/Accommodation/detail.desktop.html.twig""/home/steiermark/www/src/Elements/Bundle/DemiFrontendBundle/Resources/views/Accommodation/detail.desktop.html.twig");
  1331.     }
  1332.     
  1333.     public function checkSecurity()
  1334.     {
  1335.         static $tags = array("if" => 1"do" => 2"set" => 9"for" => 80);
  1336.         static $filters = array("raw" => 10"length" => 25"split" => 34"escape" => 122"trans" => 240"first" => 274);
  1337.         static $functions = array("elements_head_title" => 2"demi_seoTitleForAcco" => 2"elements_head_meta" => 3"demi_seoDescriptionforAcco" => 3"linkGenerator" => 9"elements_canonical" => 10"demi_paymentSetDefaultCurrency" => 11"elements_robots" => 14"demi_core_configuration" => 18"demi_ratingGetHasRatingWidgetTrustYou" => 21"demi_demiUrl" => 29"jsConfig" => 63"demi_getSearchFrom" => 69"demi_getAccoImagesTypesAsArray" => 72"elements_opengraph" => 87"demi_getAccommodationJsonLdData" => 90"jsonLd" => 92"demi_checkoutUrl" => 117"demi_impressionName" => 123"demi_impressionCategory" => 124"demi_impressionBrand" => 125"include" => 144"demi_getAccoNameWithStars" => 204"range" => 213"constant" => 274"demi_ratingGetNormalized" => 279"demi_getRoomsTabTranslationKey" => 387);
  1338.         try {
  1339.             $this->sandbox->checkSecurity(
  1340.                 ['if''do''set''for'],
  1341.                 ['raw''length''split''escape''trans''first'],
  1342.                 ['elements_head_title''demi_seoTitleForAcco''elements_head_meta''demi_seoDescriptionforAcco''linkGenerator''elements_canonical''demi_paymentSetDefaultCurrency''elements_robots''demi_core_configuration''demi_ratingGetHasRatingWidgetTrustYou''demi_demiUrl''jsConfig''demi_getSearchFrom''demi_getAccoImagesTypesAsArray''elements_opengraph''demi_getAccommodationJsonLdData''jsonLd''demi_checkoutUrl''demi_impressionName''demi_impressionCategory''demi_impressionBrand''include''demi_getAccoNameWithStars''range''constant''demi_ratingGetNormalized''demi_getRoomsTabTranslationKey']
  1343.             );
  1344.         } catch (SecurityError $e) {
  1345.             $e->setSourceContext($this->source);
  1346.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  1347.                 $e->setTemplateLine($tags[$e->getTagName()]);
  1348.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  1349.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  1350.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  1351.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  1352.             }
  1353.             throw $e;
  1354.         }
  1355.     }
  1356. }