var/cache/test/twig/76/7662a9cae98a815b53598c96ffb032300ea478bdce828e8ed18e3684fa710214.php line 183

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. /* layout.twig */
  14. class __TwigTemplate_537bf0e9fdb3f623cc467298cb972d0b01eeedf676fc0e253df4c3b349a68ef1 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'main_content' => [$this'block_main_content'],
  25.             'script' => [$this'block_script'],
  26.             'main_includes' => [$this'block_main_includes'],
  27.         ];
  28.     }
  29.     protected function doDisplay(array $context, array $blocks = [])
  30.     {
  31.         $macros $this->macros;
  32.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  33.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout.twig"));
  34.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  35.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout.twig"));
  36.         // line 1
  37.         echo "<!doctype html>
  38. <html lang=\"";
  39.         // line 2
  40.         echo twig_escape_filter($this->envtwig_replace_filter(twig_slice($this->envtwig_get_attribute($this->env$this->source, ($context["category"] ?? null), "lang", [], "any"falsefalsefalse2), 02), ["jp" => "ja""cz" => "cs""dk" => "da""tk" => "tr"]), "html"nulltrue);
  41.         echo "\">
  42. <head>
  43.     ";
  44.         // line 5
  45.         $context["og_image"] = ($this->extensions['App\Twig\TwigExtension']->getDomain() . "/images/og_image.png");
  46.         // line 6
  47.         echo "
  48.     ";
  49.         // line 7
  50.         $this->loadTemplate("includes/_meta.twig""layout.twig"7)->display(twig_array_merge($context, ["og_image" => ($context["og_image"] ?? null)]));
  51.         // line 8
  52.         echo "    ";
  53.         $this->loadTemplate("includes/_alternate_links.twig""layout.twig"8)->display($context);
  54.         // line 9
  55.         echo "
  56.     <link rel=\"canonical\" href=\"";
  57.         // line 11
  58.         echo twig_escape_filter($this->env$this->extensions['App\Twig\TwigExtension']->getCanonical(twig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse11)), "html"nulltrue);
  59.         echo "\"/>
  60.     <link rel=\"icon\" href=\"";
  61.         // line 12
  62.         echo twig_escape_filter($this->env$this->extensions['App\Twig\TwigExtension']->version("/images/favicons/favicon.ico"), "html"nulltrue);
  63.         echo "\" type=\"image/x-icon\">
  64.     <link rel=\"stylesheet\" href=\"";
  65.         // line 13
  66.         echo twig_escape_filter($this->env$this->extensions['App\Twig\TwigExtension']->version("/styles/fonts.css"), "html"nulltrue);
  67.         echo "\">
  68.     ";
  69.         // line 14
  70.         if ((twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "microtemplate", [], "any"falsefalsefalse14) === "home")) {
  71.             // line 15
  72.             echo "        <link rel=\"stylesheet\" href=\"";
  73.             echo twig_escape_filter($this->env$this->extensions['App\Twig\TwigExtension']->version("/styles/above-the-fold-mobile.css"), "html"nulltrue);
  74.             echo "\" media=\"none\" onload=\"if(media!='all')media='screen and (max-width:639px)'\"/>
  75.         <link rel=\"stylesheet\" href=\"";
  76.             // line 16
  77.             echo twig_escape_filter($this->env$this->extensions['App\Twig\TwigExtension']->version("/styles/above-the-fold.css"), "html"nulltrue);
  78.             echo "\" media=\"none\" onload=\"if(media!='all')media='screen and (min-width:640px)'\"/>
  79.     ";
  80.         } else {
  81.             // line 18
  82.             echo "        <link rel=\"stylesheet\" href=\"";
  83.             echo twig_escape_filter($this->env$this->extensions['App\Twig\TwigExtension']->version("/styles/main.css"), "html"nulltrue);
  84.             echo "\">
  85.     ";
  86.         }
  87.         // line 20
  88.         echo "    ";
  89.         if ( !$this->extensions['App\Twig\TwigExtension']->isEditMode()) {
  90.             // line 21
  91.             echo "        ";
  92.             $this->loadTemplate("includes/analytics.twig""layout.twig"21)->display($context);
  93.             // line 22
  94.             echo "    ";
  95.         }
  96.         // line 23
  97.         echo "</head>
  98. <body familyid=\"";
  99.         // line 25
  100.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["category"] ?? null), "family_id", [], "any"falsefalsefalse25), "html"nulltrue);
  101.         echo "\"
  102.     class=\"";
  103.         // line 26
  104.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["category"] ?? null), "lang", [], "any"falsefalsefalse26), "html"nulltrue);
  105.         echo " ";
  106.         if ($this->extensions['App\Twig\TwigExtension']->isEditMode()) {
  107.             echo "body--editmode";
  108.         }
  109.         echo "\"
  110.     ";
  111.         // line 27
  112.         if ($this->extensions['App\Twig\TwigExtension']->isEditMode()) {
  113.             echo " data-is-edit-mode=\"true\" ";
  114.         }
  115.         echo ">
  116.     ";
  117.         // line 30
  118.         $this->loadTemplate("helper/window_variables.twig""layout.twig"30)->display($context);
  119.         // line 31
  120.         echo "    ";
  121.         $this->loadTemplate("includes/cookieheader.twig""layout.twig"31)->display($context);
  122.         // line 32
  123.         echo "
  124.     <!-- no index start -->
  125.     ";
  126.         // line 34
  127.         if ($this->extensions['App\Twig\TwigExtension']->isEditMode()) {
  128.             // line 35
  129.             echo "        ";
  130.             $this->loadTemplate("includes/clone.twig""layout.twig"35)->display($context);
  131.             // line 36
  132.             echo "
  133.         ";
  134.             // line 37
  135.             $context["redirectsFrom"] = $this->extensions['App\Twig\TwigExtension']->getRedirectsTo(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse37), "pathinfo", [], "any"falsefalsefalse37));
  136.             // line 38
  137.             echo "        ";
  138.             if ((twig_length_filter($this->env, ($context["redirectsFrom"] ?? null)) > 0)) {
  139.                 // line 39
  140.                 echo "            ";
  141.                 $this->loadTemplate("components/redirects_badge.twig""layout.twig"39)->display(twig_array_merge($context, ["urls" => ($context["redirectsFrom"] ?? null)]));
  142.                 // line 40
  143.                 echo "        ";
  144.             }
  145.             // line 41
  146.             echo "    ";
  147.         }
  148.         // line 42
  149.         echo "
  150.     ";
  151.         // line 43
  152.         $this->loadTemplate("includes/header.twig""layout.twig"43)->display($context);
  153.         // line 44
  154.         echo "    ";
  155.         $this->loadTemplate("includes/navigation.twig""layout.twig"44)->display($context);
  156.         // line 45
  157.         echo "    <!-- no index end -->
  158.     <div class=\"content-wrapper uk-position-relative\">
  159.         <div class=\"content ";
  160.         // line 48
  161.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["story"] ?? null), "content", [], "any"falsefalsefalse48), "component", [], "any"falsefalsefalse48) == "ct_newsroom_refresh")) {
  162.             echo "ct-newsroom-refresh";
  163.         }
  164.         echo "\">
  165.             ";
  166.         // line 50
  167.         echo "            ";
  168.         $this->displayBlock('main_content'$context$blocks);
  169.         // line 51
  170.         echo "            <!-- no index start -->
  171.             ";
  172.         // line 52
  173.         if (((twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "family_id", [], "any"falsefalsefalse52) != "/service/virtualshowroom") && (twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "family_id", [], "any"falsefalsefalse52) != "/newsroom/whexperience-center"))) {
  174.             // line 53
  175.             echo "                ";
  176.             $this->loadTemplate("includes/pre_footer.twig""layout.twig"53)->display($context);
  177.             // line 54
  178.             echo "            ";
  179.         }
  180.         // line 55
  181.         echo "            ";
  182.         $this->loadTemplate("components/accept-cookie-chat.twig""layout.twig"55)->display($context);
  183.         // line 56
  184.         echo "            ";
  185.         $this->loadTemplate("includes/footer.twig""layout.twig"56)->display($context);
  186.         // line 57
  187.         echo "            <!-- no index end -->
  188.         </div>
  189.         <!-- no index start -->
  190.         ";
  191.         // line 60
  192.         $this->loadTemplate("includes/mobile_menu.twig""layout.twig"60)->display($context);
  193.         // line 61
  194.         echo "        ";
  195.         $this->loadTemplate("components/pricerequest/price_request_canvas.twig""layout.twig"61)->display($context);
  196.         // line 62
  197.         echo "        <!-- no index end -->
  198.     </div>
  199.     <!-- no index start -->
  200.     ";
  201.         // line 66
  202.         $context["widget"] = $this->extensions['App\Twig\TwigExtension']->getWidgetByUid(twig_get_attribute($this->env$this->source, ($context["story"] ?? null), "uuid", [], "any"falsefalsefalse66));
  203.         // line 67
  204.         echo "    ";
  205.         if (($context["widget"] ?? null)) {
  206.             // line 68
  207.             echo "        ";
  208.             $this->loadTemplate("includes/widget.twig""layout.twig"68)->display(twig_array_merge($context, ["widget" => ($context["widget"] ?? null)]));
  209.             // line 69
  210.             echo "    ";
  211.         }
  212.         // line 70
  213.         echo "    <!-- no index end -->
  214.     ";
  215.         // line 72
  216.         $context["statisticCookiesAccepted"] = twig_in_filter("statistic"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse72), "cookies", [], "any"falsefalsefalse72), "get", [=> "cookieconsent_mode"], "method"falsefalsefalse72));
  217.         // line 73
  218.         echo "    ";
  219.         $context["marketingCookiesAccepted"] = (((twig_in_filter("marketing"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse73), "cookies", [], "any"falsefalsefalse73), "get", [=> "cookieconsent_mode"], "method"falsefalsefalse73)) || twig_in_filter("facebook"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse73), "cookies", [], "any"falsefalsefalse73), "get", [=> "cookieconsent_mode"], "method"falsefalsefalse73))) || twig_in_filter("video"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse73), "cookies", [], "any"falsefalsefalse73), "get", [=> "cookieconsent_mode"], "method"falsefalsefalse73))) || twig_in_filter("twitter"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse73), "cookies", [], "any"falsefalsefalse73), "get", [=> "cookieconsent_mode"], "method"falsefalsefalse73)));
  220.         // line 74
  221.         echo "
  222.     ";
  223.         // line 76
  224.         echo "    ";
  225.         $this->displayBlock('script'$context$blocks);
  226.         // line 77
  227.         echo "    <div id=\"fb-root\"></div>
  228.     ";
  229.         // line 78
  230.         if (($context["marketingCookiesAccepted"] ?? null)) {
  231.             // line 79
  232.             echo "        <script src='//e.video-cdn.net/v2/embed.js'></script>
  233.         ";
  234.             // line 81
  235.             echo "        <script async defer crossorigin=\"anonymous\" src=\"https://connect.facebook.net/";
  236.             $this->loadTemplate("helper/facebookLanguageMapper.twig""layout.twig"81)->display(twig_array_merge($context, ["lang" => twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "lang", [], "any"falsefalsefalse81)]));
  237.             echo "/sdk.js#xfbml=1&version=v3.2\"></script>
  238.         <script src=\"https://cdn.jsdelivr.net/npm/sharer.js@latest/sharer.min.js\"></script>
  239.         ";
  240.             // line 84
  241.             if ((twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "lang", [], "any"falsefalsefalse84) == "cn_china")) {
  242.                 // line 85
  243.                 echo "            <script type=\"text/javascript\">
  244.                 var player = null;
  245.                 var init = false;
  246.                 var playerProps = {
  247.                 success: function(playerApi){
  248.                         playerApi.setTextTrack(\"0\");
  249.                     }
  250.                 };
  251.                 loadPlayer = function () {
  252.                                 var playerDiv = document.getElementById('cn_videoplayer');
  253.                                 if(playerDiv) {
  254.                                     if(!playerDiv.classList.contains('cn--video-restricted')) {
  255.                                         var player = document.createElement('div');
  256.                                         player.setAttribute('mi24-video-player', '');
  257.                                         player.setAttribute('config-type', 'vmpro');
  258.                                         player.setAttribute('player-id', '3u2gS9huhZRCXeUuC4ooee');
  259.                                         player.setAttribute('video-id', playerDiv.getAttribute('video-id'));
  260.                                         player.setAttribute('api-url', '//d.video-cdn.net/play');
  261.                                         player.setAttribute('flash-path', '//e.video-cdn.net/v2/');
  262.                                         playerDiv.appendChild(player);
  263.                                         VideoPlayer.Collection.addPlayerById('cn_videoplayer', playerProps);
  264.                                         console.log(\"success\", VideoPlayer.Collection);
  265.                                     }
  266.                                 }
  267.                         };
  268.                 setTimeout(loadPlayer, 1)
  269.             </script>
  270.         ";
  271.             }
  272.             // line 115
  273.             echo "
  274.         ";
  275.             // line 116
  276.             if ( !$this->extensions['App\Twig\TwigExtension']->isEditMode()) {
  277.                 // line 117
  278.                 echo "            <script defer src='//s7.addthis.com/js/250/addthis_widget.js#pubid=ra-50a39d4511cff92f'></script>
  279.         ";
  280.             }
  281.             // line 119
  282.             echo "    ";
  283.         }
  284.         // line 120
  285.         echo "
  286.     <script>
  287.         window.disableChatBubbleForLanguage = ";
  288.         // line 122
  289.         (($this->extensions['App\Twig\TwigExtension']->isChatbubbleDisabled(twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "lang", [], "any"falsefalsefalse122))) ? (print (twig_escape_filter($this->env$this->extensions['App\Twig\TwigExtension']->isChatbubbleDisabled(twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "lang", [], "any"falsefalsefalse122)), "html"nulltrue))) : (print ("false")));
  290.         echo ";
  291.     </script>
  292.     <script src=\"/scripts/uikit/uikit.js\"></script>
  293.     <script defer src=\"";
  294.         // line 126
  295.         echo twig_escape_filter($this->env$this->extensions['App\Twig\TwigExtension']->version("/scripts/main.js"), "html"nulltrue);
  296.         echo "\"></script>
  297.     ";
  298.         // line 129
  299.         echo "    ";
  300.         $this->displayBlock('main_includes'$context$blocks);
  301.         // line 152
  302.         echo "
  303.     ";
  304.         // line 153
  305.         if ($this->extensions['App\Twig\TwigExtension']->isEditMode()) {
  306.             // line 154
  307.             echo "        ";
  308.             $this->loadTemplate("modals/_aenderungsdienst_modal.twig""layout.twig"154)->display(twig_array_merge($context, ["family_id" => twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "family_id", [], "any"falsefalsefalse154), "story_uuid" => twig_get_attribute($this->env$this->source, ($context["story"] ?? null), "uuid", [], "any"falsefalsefalse154)]));
  309.             // line 155
  310.             echo "    ";
  311.         }
  312.         // line 156
  313.         echo "
  314.     <!--formend-->
  315.     ";
  316.         // line 158
  317.         $this->loadTemplate("_storyblok_scripts.twig""layout.twig"158)->display($context);
  318.         // line 159
  319.         echo "    <!-- no index start -->
  320.     ";
  321.         // line 160
  322.         $this->loadTemplate("includes/_modal_function.twig""layout.twig"160)->display($context);
  323.         // line 161
  324.         echo "    <!-- no index end -->
  325.     ";
  326.         // line 162
  327.         if ((twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "microtemplate", [], "any"falsefalsefalse162) === "home")) {
  328.             // line 163
  329.             echo "        <link rel=\"stylesheet\" href=\"";
  330.             echo twig_escape_filter($this->env$this->extensions['App\Twig\TwigExtension']->version("/styles/below-the-fold-mobile.css"), "html"nulltrue);
  331.             echo "\" media=\"none\" onload=\"if(media!='all')media='screen and (max-width:639px)'\"/>
  332.         <link rel=\"stylesheet\" href=\"";
  333.             // line 164
  334.             echo twig_escape_filter($this->env$this->extensions['App\Twig\TwigExtension']->version("/styles/below-the-fold.css"), "html"nulltrue);
  335.             echo "\" media=\"none\" onload=\"if(media!='all')media='screen and (min-width:640px)'\"/>
  336.     ";
  337.         }
  338.         // line 166
  339.         echo "</body>
  340. </html>
  341. ";
  342.         
  343.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  344.         
  345.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  346.     }
  347.     // line 50
  348.     public function block_main_content($context, array $blocks = [])
  349.     {
  350.         $macros $this->macros;
  351.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  352.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main_content"));
  353.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  354.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main_content"));
  355.         
  356.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  357.         
  358.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  359.     }
  360.     // line 76
  361.     public function block_script($context, array $blocks = [])
  362.     {
  363.         $macros $this->macros;
  364.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  365.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""script"));
  366.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  367.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""script"));
  368.         
  369.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  370.         
  371.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  372.     }
  373.     // line 129
  374.     public function block_main_includes($context, array $blocks = [])
  375.     {
  376.         $macros $this->macros;
  377.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  378.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main_includes"));
  379.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  380.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main_includes"));
  381.         // line 130
  382.         echo "        <!-- no index start -->
  383.         ";
  384.         // line 131
  385.         $this->loadTemplate("includes/_scroll_top_button.twig""layout.twig"131)->display($context);
  386.         // line 132
  387.         echo "        ";
  388.         if ((twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "family_id", [], "any"falsefalsefalse132) == "/")) {
  389.             // line 133
  390.             echo "            ";
  391.             $this->loadTemplate("modals/_about_modal.twig""layout.twig"133)->display($context);
  392.             // line 134
  393.             echo "        ";
  394.         }
  395.         // line 135
  396.         echo "
  397.         ";
  398.         // line 136
  399.         if ((($this->extensions['App\Twig\TwigExtension']->label("dentistOverlayYes") != "DentistOverlayYes") && ($this->extensions['App\Twig\TwigExtension']->label("dentistOverlayYes") != ""))) {
  400.             // line 137
  401.             echo "            ";
  402.             $this->loadTemplate("modals/_dentist_checker_modal.twig""layout.twig"137)->display($context);
  403.             // line 138
  404.             echo "        ";
  405.         }
  406.         // line 139
  407.         echo "
  408.         ";
  409.         // line 140
  410.         $this->loadTemplate("modals/_main_modal.twig""layout.twig"140)->display($context);
  411.         // line 141
  412.         echo "        ";
  413.         $this->loadTemplate("modals/_country_select_modal.twig""layout.twig"141)->display($context);
  414.         // line 142
  415.         echo "        ";
  416.         $this->loadTemplate("modals/_language_select_modal.twig""layout.twig"142)->display($context);
  417.         // line 143
  418.         echo "
  419.         ";
  420.         // line 144
  421.         if ((twig_get_attribute($this->env$this->source, ($context["category"] ?? null), "family_id", [], "any"falsefalsefalse144) != "/")) {
  422.             // line 145
  423.             echo "            ";
  424.             $this->loadTemplate("vue_templates/pagination.twig""layout.twig"145)->display($context);
  425.             // line 146
  426.             echo "            ";
  427.             $this->loadTemplate("modals/_contactform_modal.twig""layout.twig"146)->display($context);
  428.             // line 147
  429.             echo "            ";
  430.             $this->loadTemplate("modals/_contactform_download_modal.twig""layout.twig"147)->display($context);
  431.             // line 148
  432.             echo "            ";
  433.             $this->loadTemplate("modals/_password_forgotten_modal.twig""layout.twig"148)->display($context);
  434.             // line 149
  435.             echo "        ";
  436.         }
  437.         // line 150
  438.         echo "        <!-- no index end -->
  439.     ";
  440.         
  441.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  442.         
  443.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  444.     }
  445.     public function getTemplateName()
  446.     {
  447.         return "layout.twig";
  448.     }
  449.     public function isTraitable()
  450.     {
  451.         return false;
  452.     }
  453.     public function getDebugInfo()
  454.     {
  455.         return array (  475 => 150,  472 => 149,  469 => 148,  466 => 147,  463 => 146,  460 => 145,  458 => 144,  455 => 143,  452 => 142,  449 => 141,  447 => 140,  444 => 139,  441 => 138,  438 => 137,  436 => 136,  433 => 135,  430 => 134,  427 => 133,  424 => 132,  422 => 131,  419 => 130,  409 => 129,  391 => 76,  373 => 50,  361 => 166,  356 => 164,  351 => 163,  349 => 162,  346 => 161,  344 => 160,  341 => 159,  339 => 158,  335 => 156,  332 => 155,  329 => 154,  327 => 153,  324 => 152,  321 => 129,  316 => 126,  309 => 122,  305 => 120,  302 => 119,  298 => 117,  296 => 116,  293 => 115,  261 => 85,  259 => 84,  252 => 81,  249 => 79,  247 => 78,  244 => 77,  241 => 76,  238 => 74,  235 => 73,  233 => 72,  229 => 70,  226 => 69,  223 => 68,  220 => 67,  218 => 66,  212 => 62,  209 => 61,  207 => 60,  202 => 57,  199 => 56,  196 => 55,  193 => 54,  190 => 53,  188 => 52,  185 => 51,  182 => 50,  176 => 48,  171 => 45,  168 => 44,  166 => 43,  163 => 42,  160 => 41,  157 => 40,  154 => 39,  151 => 38,  149 => 37,  146 => 36,  143 => 35,  141 => 34,  137 => 32,  134 => 31,  132 => 30,  124 => 27,  116 => 26,  112 => 25,  108 => 23,  105 => 22,  102 => 21,  99 => 20,  93 => 18,  88 => 16,  83 => 15,  81 => 14,  77 => 13,  73 => 12,  69 => 11,  65 => 9,  62 => 8,  60 => 7,  57 => 6,  55 => 5,  49 => 2,  46 => 1,);
  456.     }
  457.     public function getSourceContext()
  458.     {
  459.         return new Source("<!doctype html>
  460. <html lang=\"{{ category.lang | slice(0, 2) | replace({'jp': 'ja', 'cz': 'cs', 'dk': 'da', 'tk': 'tr'}) }}\">
  461. <head>
  462.     {% set og_image = getDomain() ~ '/images/og_image.png' %}
  463.     {% include 'includes/_meta.twig' with {og_image: og_image} %}
  464.     {% include 'includes/_alternate_links.twig' %}
  465.     <link rel=\"canonical\" href=\"{{ getCanonical(app.request) }}\"/>
  466.     <link rel=\"icon\" href=\"{{ \"/images/favicons/favicon.ico\" | version }}\" type=\"image/x-icon\">
  467.     <link rel=\"stylesheet\" href=\"{{ \"/styles/fonts.css\" | version }}\">
  468.     {% if category.microtemplate is same as('home') %}
  469.         <link rel=\"stylesheet\" href=\"{{ \"/styles/above-the-fold-mobile.css\" | version }}\" media=\"none\" onload=\"if(media!='all')media='screen and (max-width:639px)'\"/>
  470.         <link rel=\"stylesheet\" href=\"{{ \"/styles/above-the-fold.css\" | version }}\" media=\"none\" onload=\"if(media!='all')media='screen and (min-width:640px)'\"/>
  471.     {% else %}
  472.         <link rel=\"stylesheet\" href=\"{{ \"/styles/main.css\" | version }}\">
  473.     {% endif %}
  474.     {% if not isEditMode() %}
  475.         {% include 'includes/analytics.twig' %}
  476.     {% endif %}
  477. </head>
  478. <body familyid=\"{{ category.family_id }}\"
  479.     class=\"{{ category.lang }} {% if isEditMode() %}body--editmode{% endif %}\"
  480.     {% if isEditMode() %} data-is-edit-mode=\"true\" {% endif %}>
  481.     {% include 'helper/window_variables.twig' %}
  482.     {% include 'includes/cookieheader.twig' %}
  483.     <!-- no index start -->
  484.     {% if isEditMode() %}
  485.         {% include 'includes/clone.twig' %}
  486.         {% set redirectsFrom = getRedirectsTo(app.request.pathinfo) %}
  487.         {% if redirectsFrom|length > 0 %}
  488.             {% include 'components/redirects_badge.twig' with {'urls': redirectsFrom } %}
  489.         {% endif %}
  490.     {% endif %}
  491.     {% include 'includes/header.twig' %}
  492.     {% include 'includes/navigation.twig' %}
  493.     <!-- no index end -->
  494.     <div class=\"content-wrapper uk-position-relative\">
  495.         <div class=\"content {% if story.content.component == 'ct_newsroom_refresh' %}ct-newsroom-refresh{% endif %}\">
  496.             {# CONTENT #}
  497.             {% block main_content %}{% endblock %}
  498.             <!-- no index start -->
  499.             {% if category.family_id != '/service/virtualshowroom' and category.family_id != '/newsroom/whexperience-center'%}
  500.                 {% include 'includes/pre_footer.twig' %}
  501.             {% endif %}
  502.             {% include 'components/accept-cookie-chat.twig' %}
  503.             {% include 'includes/footer.twig' %}
  504.             <!-- no index end -->
  505.         </div>
  506.         <!-- no index start -->
  507.         {% include 'includes/mobile_menu.twig' %}
  508.         {% include 'components/pricerequest/price_request_canvas.twig' %}
  509.         <!-- no index end -->
  510.     </div>
  511.     <!-- no index start -->
  512.     {% set widget = getWidgetByUid(story.uuid) %}
  513.     {% if widget %}
  514.         {% include 'includes/widget.twig' with {widget: widget} %}
  515.     {% endif %}
  516.     <!-- no index end -->
  517.     {% set statisticCookiesAccepted = 'statistic' in app.request.cookies.get('cookieconsent_mode') %}
  518.     {% set marketingCookiesAccepted = ('marketing' in app.request.cookies.get('cookieconsent_mode')) or ('facebook' in app.request.cookies.get('cookieconsent_mode')) or ('video' in app.request.cookies.get('cookieconsent_mode')) or ('twitter' in app.request.cookies.get('cookieconsent_mode')) %}
  519.     {# SCRIPT #}
  520.     {% block script %}{% endblock %}
  521.     <div id=\"fb-root\"></div>
  522.     {% if marketingCookiesAccepted %}
  523.         <script src='//e.video-cdn.net/v2/embed.js'></script>
  524.         {# script belongs to facebook-slot #}
  525.         <script async defer crossorigin=\"anonymous\" src=\"https://connect.facebook.net/{% include 'helper/facebookLanguageMapper.twig' with {lang: category.lang}%}/sdk.js#xfbml=1&version=v3.2\"></script>
  526.         <script src=\"https://cdn.jsdelivr.net/npm/sharer.js@latest/sharer.min.js\"></script>
  527.         {% if category.lang == \"cn_china\" %}
  528.             <script type=\"text/javascript\">
  529.                 var player = null;
  530.                 var init = false;
  531.                 var playerProps = {
  532.                 success: function(playerApi){
  533.                         playerApi.setTextTrack(\"0\");
  534.                     }
  535.                 };
  536.                 loadPlayer = function () {
  537.                                 var playerDiv = document.getElementById('cn_videoplayer');
  538.                                 if(playerDiv) {
  539.                                     if(!playerDiv.classList.contains('cn--video-restricted')) {
  540.                                         var player = document.createElement('div');
  541.                                         player.setAttribute('mi24-video-player', '');
  542.                                         player.setAttribute('config-type', 'vmpro');
  543.                                         player.setAttribute('player-id', '3u2gS9huhZRCXeUuC4ooee');
  544.                                         player.setAttribute('video-id', playerDiv.getAttribute('video-id'));
  545.                                         player.setAttribute('api-url', '//d.video-cdn.net/play');
  546.                                         player.setAttribute('flash-path', '//e.video-cdn.net/v2/');
  547.                                         playerDiv.appendChild(player);
  548.                                         VideoPlayer.Collection.addPlayerById('cn_videoplayer', playerProps);
  549.                                         console.log(\"success\", VideoPlayer.Collection);
  550.                                     }
  551.                                 }
  552.                         };
  553.                 setTimeout(loadPlayer, 1)
  554.             </script>
  555.         {% endif %}
  556.         {% if not isEditMode() %}
  557.             <script defer src='//s7.addthis.com/js/250/addthis_widget.js#pubid=ra-50a39d4511cff92f'></script>
  558.         {% endif %}
  559.     {% endif %}
  560.     <script>
  561.         window.disableChatBubbleForLanguage = {{ isChatbubbleDisabled(category.lang) ? isChatbubbleDisabled(category.lang) : 'false' }};
  562.     </script>
  563.     <script src=\"/scripts/uikit/uikit.js\"></script>
  564.     <script defer src=\"{{ \"/scripts/main.js\" | version }}\"></script>
  565.     {# INCLUDES #}
  566.     {% block main_includes %}
  567.         <!-- no index start -->
  568.         {% include 'includes/_scroll_top_button.twig' %}
  569.         {% if category.family_id == '/' %}
  570.             {% include 'modals/_about_modal.twig' %}
  571.         {% endif %}
  572.         {% if label('dentistOverlayYes') != 'DentistOverlayYes' and label('dentistOverlayYes') != '' %}
  573.             {% include 'modals/_dentist_checker_modal.twig' %}
  574.         {% endif %}
  575.         {% include 'modals/_main_modal.twig' %}
  576.         {% include 'modals/_country_select_modal.twig' %}
  577.         {% include 'modals/_language_select_modal.twig' %}
  578.         {% if category.family_id != '/' %}
  579.             {% include 'vue_templates/pagination.twig' %}
  580.             {% include 'modals/_contactform_modal.twig' %}
  581.             {% include 'modals/_contactform_download_modal.twig' %}
  582.             {% include 'modals/_password_forgotten_modal.twig' %}
  583.         {% endif %}
  584.         <!-- no index end -->
  585.     {% endblock %}
  586.     {% if isEditMode() %}
  587.         {% include 'modals/_aenderungsdienst_modal.twig' with {'family_id': category.family_id, 'story_uuid': story.uuid } %}
  588.     {% endif %}
  589.     <!--formend-->
  590.     {% include '_storyblok_scripts.twig' %}
  591.     <!-- no index start -->
  592.     {% include 'includes/_modal_function.twig' %}
  593.     <!-- no index end -->
  594.     {% if category.microtemplate is same as('home') %}
  595.         <link rel=\"stylesheet\" href=\"{{ \"/styles/below-the-fold-mobile.css\" | version }}\" media=\"none\" onload=\"if(media!='all')media='screen and (max-width:639px)'\"/>
  596.         <link rel=\"stylesheet\" href=\"{{ \"/styles/below-the-fold.css\" | version }}\" media=\"none\" onload=\"if(media!='all')media='screen and (min-width:640px)'\"/>
  597.     {% endif %}
  598. </body>
  599. </html>
  600. ""layout.twig""/var/app/current/templates/layout.twig");
  601.     }
  602. }