<?php

/* @UVDeskSupportCenter/Knowledgebase/websiteSettings.html.twig */
class __TwigTemplate_5526e378b32fb6ccd20b7c12d50b088a14e5c7fc8efdde8c1bfa14bc688532a3 extends Twig_Template
{
    private $source;

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

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

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@UVDeskSupportCenter/Knowledgebase/websiteSettings.html.twig"));

        // line 1
        if (twig_get_attribute($this->env, $this->source, ($context["websiteDetails"] ?? null), "favicon", [])) {
            // line 2
            echo "    <link rel=\"icon\" sizes=\"16x16\" href=\"";
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["websiteDetails"] ?? null), "favicon", []), "html", null, true);
            echo "\" />
";
        } else {
            // line 4
            echo "\t<link rel=\"icon\" sizes=\"16x16\" href=\"";
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico"), "html", null, true);
            echo "\" />
";
        }
        // line 6
        echo "
<style>
\t";
        // line 8
        if (twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "pageBackgroundColor", [])) {
            // line 9
            echo "\t\tbody {
\t\t\tbackground: ";
            // line 10
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "pageBackgroundColor", []), "html", null, true);
            echo ";
\t\t}
\t";
        }
        // line 13
        echo "\t";
        if (twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "headerBackgroundColor", [])) {
            // line 14
            echo "\t\t.uv-header {
\t\t\tbackground-color: ";
            // line 15
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "headerBackgroundColor", []), "html", null, true);
            echo ";
\t\t}
\t";
        }
        // line 18
        echo "\t";
        if (twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "bannerBackgroundColor", [])) {
            // line 19
            echo "\t\t.uv-hero {
\t\t\tbackground-color: ";
            // line 20
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "bannerBackgroundColor", []), "html", null, true);
            echo ";
\t\t}
\t";
        }
        // line 23
        echo "\t";
        if (twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "linkColor", [])) {
            // line 24
            echo "\t\ta:not(.uv-btn):not(.uv-btn-small):not(.uv-table td a) {
\t\t\tcolor: ";
            // line 25
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "linkColor", []), "html", null, true);
            echo " !important;
\t\t}
\t";
        }
        // line 28
        echo "\t";
        if (twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "linkHoverColor", [])) {
            // line 29
            echo "\t\ta:hover:not(.uv-btn):not(.uv-btn-small):not(.uv-table td a) {
\t\t\tcolor: ";
            // line 30
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "linkHoverColor", []), "html", null, true);
            echo " !important;
\t\t}
\t";
        }
        // line 33
        echo "\t";
        if (twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "articleTextColor", [])) {
            // line 34
            echo "\t\t.uv-editor p {
\t\t\tcolor: ";
            // line 35
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "articleTextColor", []), "html", null, true);
            echo ";
\t\t}
\t";
        }
        // line 38
        echo "</style>
";
        // line 39
        if (twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "customCSS", [])) {
            // line 40
            echo "\t<style>
\t\t";
            // line 41
            echo twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "customCSS", []);
            echo "
\t</style>
";
        }
        // line 44
        echo "
";
        // line 45
        if (twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "script", [])) {
            // line 46
            echo "\t";
            if ((twig_in_filter("<script", twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "script", [])) && twig_in_filter("</script>", twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "script", [])))) {
                // line 47
                echo "\t\t";
                echo twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "script", []);
                echo "
\t";
            } else {
                // line 49
                echo "\t\t<script type=\"text/javascript\">
\t\t\t";
                // line 50
                echo twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "script", []);
                echo "
\t\t</script>
\t";
            }
            // line 52
            echo "\t\t\t
";
        }
        // line 54
        echo "
";
        // line 55
        if (twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "customCSS", [])) {
            // line 56
            echo "\t<style>
\t\t";
            // line 57
            echo twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "customCSS", []);
            echo "
\t</style>
";
        }
        // line 60
        if (twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "script", [])) {
            // line 61
            echo "\t";
            if ((twig_in_filter("<script", twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "script", [])) && twig_in_filter("</script>", twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "script", [])))) {
                // line 62
                echo "\t\t";
                echo twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "script", []);
                echo "
\t";
            } else {
                // line 64
                echo "\t\t<script type=\"text/javascript\">
\t\t\t";
                // line 65
                echo twig_get_attribute($this->env, $this->source, ($context["websiteConfiguration"] ?? null), "script", []);
                echo "
\t\t</script>
\t";
            }
            // line 67
            echo "\t\t\t
";
        }
        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

    }

    public function getTemplateName()
    {
        return "@UVDeskSupportCenter/Knowledgebase/websiteSettings.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  190 => 67,  184 => 65,  181 => 64,  175 => 62,  172 => 61,  170 => 60,  164 => 57,  161 => 56,  159 => 55,  156 => 54,  152 => 52,  146 => 50,  143 => 49,  137 => 47,  134 => 46,  132 => 45,  129 => 44,  123 => 41,  120 => 40,  118 => 39,  115 => 38,  109 => 35,  106 => 34,  103 => 33,  97 => 30,  94 => 29,  91 => 28,  85 => 25,  82 => 24,  79 => 23,  73 => 20,  70 => 19,  67 => 18,  61 => 15,  58 => 14,  55 => 13,  49 => 10,  46 => 9,  44 => 8,  40 => 6,  34 => 4,  28 => 2,  26 => 1,);
    }

    public function getSourceContext()
    {
        return new Twig_Source("{% if websiteDetails.favicon %}
    <link rel=\"icon\" sizes=\"16x16\" href=\"{{ websiteDetails.favicon }}\" />
{% else %}
\t<link rel=\"icon\" sizes=\"16x16\" href=\"{{ asset('favicon.ico') }}\" />
{% endif %}

<style>
\t{% if websiteConfiguration.pageBackgroundColor %}
\t\tbody {
\t\t\tbackground: {{websiteConfiguration.pageBackgroundColor}};
\t\t}
\t{% endif %}
\t{% if websiteConfiguration.headerBackgroundColor %}
\t\t.uv-header {
\t\t\tbackground-color: {{websiteConfiguration.headerBackgroundColor}};
\t\t}
\t{% endif %}
\t{% if websiteConfiguration.bannerBackgroundColor %}
\t\t.uv-hero {
\t\t\tbackground-color: {{websiteConfiguration.bannerBackgroundColor}};
\t\t}
\t{% endif %}
\t{% if websiteConfiguration.linkColor %}
\t\ta:not(.uv-btn):not(.uv-btn-small):not(.uv-table td a) {
\t\t\tcolor: {{websiteConfiguration.linkColor}} !important;
\t\t}
\t{% endif %}
\t{% if websiteConfiguration.linkHoverColor %}
\t\ta:hover:not(.uv-btn):not(.uv-btn-small):not(.uv-table td a) {
\t\t\tcolor: {{websiteConfiguration.linkHoverColor}} !important;
\t\t}
\t{% endif %}
\t{% if websiteConfiguration.articleTextColor %}
\t\t.uv-editor p {
\t\t\tcolor: {{websiteConfiguration.articleTextColor}};
\t\t}
\t{% endif %}
</style>
{% if websiteConfiguration.customCSS %}
\t<style>
\t\t{{ websiteConfiguration.customCSS|raw }}
\t</style>
{% endif %}

{% if websiteConfiguration.script %}
\t{% if '<script' in websiteConfiguration.script and '</script>' in websiteConfiguration.script %}
\t\t{{ websiteConfiguration.script|raw }}
\t{% else %}
\t\t<script type=\"text/javascript\">
\t\t\t{{ websiteConfiguration.script|raw }}
\t\t</script>
\t{% endif %}\t\t\t
{% endif %}

{% if websiteConfiguration.customCSS %}
\t<style>
\t\t{{ websiteConfiguration.customCSS|raw }}
\t</style>
{% endif %}
{% if websiteConfiguration.script %}
\t{% if '<script' in websiteConfiguration.script and '</script>' in websiteConfiguration.script %}
\t\t{{ websiteConfiguration.script|raw }}
\t{% else %}
\t\t<script type=\"text/javascript\">
\t\t\t{{ websiteConfiguration.script|raw }}
\t\t</script>
\t{% endif %}\t\t\t
{% endif %}", "@UVDeskSupportCenter/Knowledgebase/websiteSettings.html.twig", "/home/users/akshay.kumar/Workstation/apps/uvdesk/releases/uvdesk_community_01_development_php_72/vendor/uvdesk/support-center-bundle/Resources/views/Knowledgebase/websiteSettings.html.twig");
    }
}
