<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* @ContaoCore/Frontend/preview_toolbar_base.html.twig */
class __TwigTemplate_ca3ac0ac489ae07e1388079008456f8d629fe7233360b540c4a63976611a2a7b extends \Twig\Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ContaoCore/Frontend/preview_toolbar_base.html.twig"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ContaoCore/Frontend/preview_toolbar_base.html.twig"));

        // line 2
        echo "<div class=\"cto-toolbar__open\">
    <a href=\"#\" title=\"";
        // line 3
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("MSC.openToolbar", [], "contao_default"), "html", null, true);
        echo "\">";
        echo twig_include($this->env, $context, "@ContaoCore/Collector/contao.svg");
        echo "</a>
</div>
<div class=\"cto-toolbar__inside\">
    <form action=\"";
        // line 6
        echo twig_escape_filter($this->env, (isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 6, $this->source); })()), "html", null, true);
        echo "\" method=\"post\">
        <div class=\"formbody\">
            <input type=\"hidden\" name=\"FORM_SUBMIT\" value=\"tl_switch\">
            <input type=\"hidden\" name=\"REQUEST_TOKEN\" value=\"";
        // line 9
        echo twig_escape_filter($this->env, (isset($context["request_token"]) || array_key_exists("request_token", $context) ? $context["request_token"] : (function () { throw new RuntimeError('Variable "request_token" does not exist.', 9, $this->source); })()), "html", null, true);
        echo "\">
            ";
        // line 10
        if ((isset($context["canSwitchUser"]) || array_key_exists("canSwitchUser", $context) ? $context["canSwitchUser"] : (function () { throw new RuntimeError('Variable "canSwitchUser" does not exist.', 10, $this->source); })())) {
            // line 11
            echo "                <div>
                    <label for=\"ctrl_user\">";
            // line 12
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("MSC.feUser", [], "contao_default"), "html", null, true);
            echo ":</label>
                    <input type=\"text\" name=\"user\" id=\"ctrl_user\" list=\"userlist\" class=\"tl_text user\" placeholder=\"";
            // line 13
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("MSC.username", [], "contao_default"), "html", null, true);
            echo "\" value=\"";
            echo twig_escape_filter($this->env, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 13, $this->source); })()), "html", null, true);
            echo "\" autocomplete=\"off\">
                    <datalist id=\"userlist\"></datalist>
                </div>
            ";
        }
        // line 17
        echo "            <div>
                <label for=\"ctrl_unpublished\">";
        // line 18
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("MSC.hiddenElements", [], "contao_default"), "html", null, true);
        echo ":</label>
                <select name=\"unpublished\" id=\"ctrl_unpublished\" class=\"tl_select\">
                    <option value=\"hide\">";
        // line 20
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("MSC.hiddenHide", [], "contao_default"), "html", null, true);
        echo "</option>
                    <option value=\"show\"";
        // line 21
        if ((isset($context["show"]) || array_key_exists("show", $context) ? $context["show"] : (function () { throw new RuntimeError('Variable "show" does not exist.', 21, $this->source); })())) {
            echo " selected";
        }
        echo ">";
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("MSC.hiddenShow", [], "contao_default"), "html", null, true);
        echo "</option>
                </select>
                <button type=\"submit\" class=\"tl_submit\">";
        // line 23
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("MSC.apply", [], "contao_default"), "html", null, true);
        echo "</button>
            </div>
        </div>
    </form>
    <div class=\"cto-toolbar__close\"><a href=\"#\" title=\"";
        // line 27
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("MSC.closeToolbar", [], "contao_default"), "html", null, true);
        echo "\">&times;</a></div>
</div>
<div class=\"cto-toolbar__clear\"></div>
";
        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

    }

    public function getTemplateName()
    {
        return "@ContaoCore/Frontend/preview_toolbar_base.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  110 => 27,  103 => 23,  94 => 21,  90 => 20,  85 => 18,  82 => 17,  73 => 13,  69 => 12,  66 => 11,  64 => 10,  60 => 9,  54 => 6,  46 => 3,  43 => 2,);
    }

    public function getSourceContext()
    {
        return new Source("{% trans_default_domain 'contao_default' %}
<div class=\"cto-toolbar__open\">
    <a href=\"#\" title=\"{{ 'MSC.openToolbar'|trans }}\">{{ include('@ContaoCore/Collector/contao.svg') }}</a>
</div>
<div class=\"cto-toolbar__inside\">
    <form action=\"{{ action }}\" method=\"post\">
        <div class=\"formbody\">
            <input type=\"hidden\" name=\"FORM_SUBMIT\" value=\"tl_switch\">
            <input type=\"hidden\" name=\"REQUEST_TOKEN\" value=\"{{ request_token }}\">
            {% if canSwitchUser %}
                <div>
                    <label for=\"ctrl_user\">{{ 'MSC.feUser'|trans }}:</label>
                    <input type=\"text\" name=\"user\" id=\"ctrl_user\" list=\"userlist\" class=\"tl_text user\" placeholder=\"{{ 'MSC.username'|trans }}\" value=\"{{ user }}\" autocomplete=\"off\">
                    <datalist id=\"userlist\"></datalist>
                </div>
            {% endif %}
            <div>
                <label for=\"ctrl_unpublished\">{{ 'MSC.hiddenElements'|trans }}:</label>
                <select name=\"unpublished\" id=\"ctrl_unpublished\" class=\"tl_select\">
                    <option value=\"hide\">{{ 'MSC.hiddenHide'|trans }}</option>
                    <option value=\"show\"{% if show %} selected{% endif %}>{{ 'MSC.hiddenShow'|trans }}</option>
                </select>
                <button type=\"submit\" class=\"tl_submit\">{{ 'MSC.apply'|trans }}</button>
            </div>
        </div>
    </form>
    <div class=\"cto-toolbar__close\"><a href=\"#\" title=\"{{ 'MSC.closeToolbar'|trans }}\">&times;</a></div>
</div>
<div class=\"cto-toolbar__clear\"></div>
", "@ContaoCore/Frontend/preview_toolbar_base.html.twig", "/is/htdocs/wp12322556_AW0OHTSSL8/www/vierzehn/vendor/contao/core-bundle/src/Resources/views/Frontend/preview_toolbar_base.html.twig");
    }
}
