var/cache/dev/twig/b0/b03395f4d07d3857d0da23db8211f237.php line 295

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* @UVDeskSupportCenter/Templates/layout.html.twig */
  16. class __TwigTemplate_1996004f9db649efd7b5ec4879ce3c89 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->parent false;
  28.         $this->blocks = [
  29.             'canonical' => [$this'block_canonical'],
  30.             'title' => [$this'block_title'],
  31.             'metaDescription' => [$this'block_metaDescription'],
  32.             'metaKeywords' => [$this'block_metaKeywords'],
  33.             'ogtitle' => [$this'block_ogtitle'],
  34.             'ogcanonical' => [$this'block_ogcanonical'],
  35.             'twtitle' => [$this'block_twtitle'],
  36.             'head' => [$this'block_head'],
  37.             'templateCSS' => [$this'block_templateCSS'],
  38.             'header' => [$this'block_header'],
  39.             'tabHeader' => [$this'block_tabHeader'],
  40.             'wrapper' => [$this'block_wrapper'],
  41.             'body' => [$this'block_body'],
  42.             'footer' => [$this'block_footer'],
  43.         ];
  44.     }
  45.     protected function doDisplay(array $context, array $blocks = []): iterable
  46.     {
  47.         $macros $this->macros;
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@UVDeskSupportCenter/Templates/layout.html.twig"));
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@UVDeskSupportCenter/Templates/layout.html.twig"));
  52.         // line 1
  53.         yield "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">
  54. <html lang=\"";
  55.         // line 2
  56.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'2$this->source); })()), "request", [], "any"falsefalsefalse2), "getLocale", [], "method"falsefalsefalse2), "html"nulltrue);
  57.         yield "\">
  58.     <head>
  59.         <link rel=\"stylesheet\" href=\"";
  60.         // line 4
  61.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdesksupportcenter/css/knowledgebase.css"), "html"nulltrue);
  62.         yield "\">
  63.         <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.7.14/css/bootstrap-datetimepicker.min.css\">
  64.         
  65.         <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js\"></script>
  66.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.1/underscore-min.js\"></script>
  67.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.4.0/backbone-min.js\"></script>
  68.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.validation/0.11.5/backbone-validation-min.js\"></script>
  69.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.paginator/2.0.8/backbone.paginator.min.js\"></script>
  70.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.0/moment.min.js\"></script>\t
  71.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js\"></script>
  72.         
  73.         <script src=\"";
  74.         // line 16
  75.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdesksupportcenter/js/_common.js"), "html"nulltrue);
  76.         yield "\"></script>
  77.         <script src = \"";
  78.         // line 17
  79.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdesksupportcenter/js/uikit.front.js"), "html"nulltrue);
  80.         yield "\"></script>
  81.         <script src = \"";
  82.         // line 18
  83.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/js/dropdown.js"), "html"nulltrue);
  84.         yield "\"></script>
  85.         ";
  86.         // line 20
  87.         $context["websiteDetails"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["user_service"]) || array_key_exists("user_service"$context) ? $context["user_service"] : (function () { throw new RuntimeError('Variable "user_service" does not exist.'20$this->source); })()), "getWebsiteDetails", ["knowledgebase"], "method"falsefalsefalse20);
  88.         // line 21
  89.         yield "        ";
  90.         $context["websiteConfiguration"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["user_service"]) || array_key_exists("user_service"$context) ? $context["user_service"] : (function () { throw new RuntimeError('Variable "user_service" does not exist.'21$this->source); })()), "getWebsiteConfiguration", ["knowledgebase"], "method"falsefalsefalse21);
  91.         // line 22
  92.         yield "        ";
  93.         $context["themeTemplate"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["user_service"]) || array_key_exists("user_service"$context) ? $context["user_service"] : (function () { throw new RuntimeError('Variable "user_service" does not exist.'22$this->source); })()), "getWebsiteView", [], "method"falsefalsefalse22);
  94.         // line 23
  95.         yield "
  96.         ";
  97.         // line 24
  98.         $context["canonical"] = (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'24$this->source); })()), "request", [], "any"falsefalsefalse24), "server", [], "any"falsefalsefalse24), "get", ["REQUEST_SCHEME"], "method"falsefalsefalse24) . "://") . CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'24$this->source); })()), "request", [], "any"falsefalsefalse24), "server", [], "any"falsefalsefalse24), "get", ["HTTP_HOST"], "method"falsefalsefalse24)) . CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'24$this->source); })()), "request", [], "any"falsefalsefalse24), "server", [], "any"falsefalsefalse24), "get", ["PATH_INFO"], "method"falsefalsefalse24));
  99.         // line 25
  100.         yield "        <link rel=\"canonical\" href=\"";
  101.         yield from $this->unwrap()->yieldBlock('canonical'$context$blocks);
  102.         yield "\">
  103.         ";
  104.         // line 27
  105.         if (((isset($context["websiteDetails"]) || array_key_exists("websiteDetails"$context) ? $context["websiteDetails"] : (function () { throw new RuntimeError('Variable "websiteDetails" does not exist.'27$this->source); })()) && CoreExtension::getAttribute($this->env$this->source, (isset($context["websiteDetails"]) || array_key_exists("websiteDetails"$context) ? $context["websiteDetails"] : (function () { throw new RuntimeError('Variable "websiteDetails" does not exist.'27$this->source); })()), "favicon", [], "any"falsefalsefalse27))) {
  106.             // line 28
  107.             yield "            <link rel=\"icon\" sizes=\"16x16\" href=\"";
  108.             yield (((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["websiteDetails"]) || array_key_exists("websiteDetails"$context) ? $context["websiteDetails"] : (function () { throw new RuntimeError('Variable "websiteDetails" does not exist.'28$this->source); })()), "favicon", [], "any"falsefalsefalse28)) && $tmp instanceof Markup ? (string) $tmp $tmp)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["websiteDetails"]) || array_key_exists("websiteDetails"$context) ? $context["websiteDetails"] : (function () { throw new RuntimeError('Variable "websiteDetails" does not exist.'28$this->source); })()), "favicon", [], "any"falsefalsefalse28), "html"nulltrue)) : (null));
  109.             yield "\" />
  110.         ";
  111.         } else {
  112.             // line 30
  113.             yield "            <link rel=\"icon\" sizes=\"16x16\" href=\"";
  114.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico"), "html"nulltrue);
  115.             yield "\" />
  116.         ";
  117.         }
  118.         // line 32
  119.         yield "
  120.         ";
  121.         // line 33
  122.         if ((($tmp = (isset($context["websiteDetails"]) || array_key_exists("websiteDetails"$context) ? $context["websiteDetails"] : (function () { throw new RuntimeError('Variable "websiteDetails" does not exist.'33$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  123.             // line 34
  124.             yield "            <title>";
  125.             yield from $this->unwrap()->yieldBlock('title'$context$blocks);
  126.             yield "</title>
  127.             ";
  128.             // line 35
  129.             if ((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["websiteConfiguration"]) || array_key_exists("websiteConfiguration"$context) ? $context["websiteConfiguration"] : (function () { throw new RuntimeError('Variable "websiteConfiguration" does not exist.'35$this->source); })()), "metaDescription", [], "any"falsefalsefalse35)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  130.                 // line 36
  131.                 yield "                <meta name=\"description\" content=\"";
  132.                 yield from $this->unwrap()->yieldBlock('metaDescription'$context$blocks);
  133.                 yield "\"/>
  134.             ";
  135.             }
  136.             // line 38
  137.             yield "            ";
  138.             if ((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["websiteConfiguration"]) || array_key_exists("websiteConfiguration"$context) ? $context["websiteConfiguration"] : (function () { throw new RuntimeError('Variable "websiteConfiguration" does not exist.'38$this->source); })()), "metaKeywords", [], "any"falsefalsefalse38)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  139.                 // line 39
  140.                 yield "                <meta name=\"keywords\" content=\"";
  141.                 yield from $this->unwrap()->yieldBlock('metaKeywords'$context$blocks);
  142.                 yield "\"/>
  143.             ";
  144.             }
  145.             // line 41
  146.             yield "
  147.             <meta http-equiv=\"Content-Type\" content=\"text/html;\" charset=\"";
  148.             // line 42
  149.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getCharset(), "html"nulltrue);
  150.             yield "\"/>
  151.             <meta name=\"robots\" content=\"INDEX,FOLLOW\" />
  152.             <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  153.             <meta property=\"og:locale\" content=\"";
  154.             // line 46
  155.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'46$this->source); })()), "request", [], "any"falsefalsefalse46), "getLocale", [], "method"falsefalsefalse46), "html"nulltrue);
  156.             yield "\" />
  157.             <meta property=\"og:type\" content=\"article\" />
  158.             <meta property=\"og:title\" content=\"";
  159.             // line 48
  160.             yield from $this->unwrap()->yieldBlock('ogtitle'$context$blocks);
  161.             yield "\" />
  162.             <meta property=\"og:url\" content=\"";
  163.             // line 49
  164.             yield from $this->unwrap()->yieldBlock('ogcanonical'$context$blocks);
  165.             yield "\" />
  166.             <meta property=\"og:site_name\" content=\"";
  167.             // line 50
  168.             yield (((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["websiteDetails"]) || array_key_exists("websiteDetails"$context) ? $context["websiteDetails"] : (function () { throw new RuntimeError('Variable "websiteDetails" does not exist.'50$this->source); })()), "name", [], "any"falsefalsefalse50)) && $tmp instanceof Markup ? (string) $tmp $tmp)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["websiteDetails"]) || array_key_exists("websiteDetails"$context) ? $context["websiteDetails"] : (function () { throw new RuntimeError('Variable "websiteDetails" does not exist.'50$this->source); })()), "name", [], "any"falsefalsefalse50), "html"nulltrue)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Knowledge Base"), "html"nulltrue)));
  169.             yield "\" />
  170.             ";
  171.             // line 51
  172.             if ((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["websiteDetails"]) || array_key_exists("websiteDetails"$context) ? $context["websiteDetails"] : (function () { throw new RuntimeError('Variable "websiteDetails" does not exist.'51$this->source); })()), "logo", [], "any"falsefalsefalse51)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  173.                 // line 52
  174.                 yield "                <meta property=\"og:image\" content=\"";
  175.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["websiteDetails"]) || array_key_exists("websiteDetails"$context) ? $context["websiteDetails"] : (function () { throw new RuntimeError('Variable "websiteDetails" does not exist.'52$this->source); })()), "logo", [], "any"falsefalsefalse52), "html"nulltrue);
  176.                 yield "\" />
  177.             ";
  178.             }
  179.             // line 54
  180.             yield "            <meta name=\"twitter:card\" content=\"summary\" />
  181.             <meta name=\"twitter:title\" content=\"";
  182.             // line 55
  183.             yield from $this->unwrap()->yieldBlock('twtitle'$context$blocks);
  184.             yield "\" />
  185.             <link rel='dns-prefetch' href='//www.google.com' />
  186.             <link rel='dns-prefetch' href='//fonts.googleapis.com' />
  187.             <link rel='dns-prefetch' href='//fonts.gstatic.com' />
  188.             <link rel='dns-prefetch' href='//cdn.uvdesk.com' />
  189.         ";
  190.         }
  191.         // line 62
  192.         yield "
  193.         ";
  194.         // line 63
  195.         if ((($tmp = (isset($context["websiteConfiguration"]) || array_key_exists("websiteConfiguration"$context) ? $context["websiteConfiguration"] : (function () { throw new RuntimeError('Variable "websiteConfiguration" does not exist.'63$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  196.             // line 64
  197.             yield "            ";
  198.             yield from $this->unwrap()->yieldBlock('head'$context$blocks);
  199.             // line 67
  200.             yield "        ";
  201.         }
  202.         // line 68
  203.         yield "
  204.         ";
  205.         // line 69
  206.         if ((($tmp = (isset($context["websiteConfiguration"]) || array_key_exists("websiteConfiguration"$context) ? $context["websiteConfiguration"] : (function () { throw new RuntimeError('Variable "websiteConfiguration" does not exist.'69$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  207.             // line 70
  208.             yield "            ";
  209.             if ((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["uvdesk_service"]) || array_key_exists("uvdesk_service"$context) ? $context["uvdesk_service"] : (function () { throw new RuntimeError('Variable "uvdesk_service" does not exist.'70$this->source); })()), "isDarkSkin", [CoreExtension::getAttribute($this->env$this->source, (isset($context["websiteConfiguration"]) || array_key_exists("websiteConfiguration"$context) ? $context["websiteConfiguration"] : (function () { throw new RuntimeError('Variable "websiteConfiguration" does not exist.'70$this->source); })()), "brandColor", [], "any"falsefalsefalse70)], "method"falsefalsefalse70)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  210.                 // line 71
  211.                 yield "                ";
  212.                 yield from $this->load("@UVDeskSupportCenter/Knowledgebase/darkSkin.html.twig"71)->unwrap()->yield($context);
  213.                 // line 72
  214.                 yield "            ";
  215.             } else {
  216.                 // line 73
  217.                 yield "                ";
  218.                 yield from $this->load("@UVDeskSupportCenter/Knowledgebase/lightSkin.html.twig"73)->unwrap()->yield($context);
  219.                 // line 74
  220.                 yield "            ";
  221.             }
  222.             // line 75
  223.             yield "        ";
  224.         }
  225.         // line 76
  226.         yield "
  227.         ";
  228.         // line 77
  229.         yield from $this->unwrap()->yieldBlock('templateCSS'$context$blocks);
  230.         // line 78
  231.         yield "    </head>
  232.     ";
  233.         // line 80
  234.         $context["bodyClass"] = "";
  235.         // line 81
  236.         yield "    ";
  237.         $context["bodySkinClass"] = "";
  238.         // line 82
  239.         yield "
  240.     ";
  241.         // line 83
  242.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'83$this->source); })()), "request", [], "any"falsefalsefalse83), "locale", [], "any"falsefalsefalse83) == "ar")) {
  243.             // line 84
  244.             yield "        ";
  245.             $context["bodyClass"] = "uv-rtl";
  246.             // line 85
  247.             yield "    ";
  248.         }
  249.         // line 86
  250.         yield "
  251.     <body class=\"";
  252.         // line 87
  253.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((isset($context["bodySkinClass"]) || array_key_exists("bodySkinClass"$context) ? $context["bodySkinClass"] : (function () { throw new RuntimeError('Variable "bodySkinClass" does not exist.'87$this->source); })()) . " ") . (isset($context["bodyClass"]) || array_key_exists("bodyClass"$context) ? $context["bodyClass"] : (function () { throw new RuntimeError('Variable "bodyClass" does not exist.'87$this->source); })())), "html"nulltrue);
  254.         yield "\">
  255.         ";
  256.         // line 88
  257.         $context["broadcastMessage"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["uvdesk_service"]) || array_key_exists("uvdesk_service"$context) ? $context["uvdesk_service"] : (function () { throw new RuntimeError('Variable "uvdesk_service" does not exist.'88$this->source); })()), "getValidBroadcastMessage", [((CoreExtension::getAttribute($this->env$this->source, ($context["websiteConfiguration"] ?? null), "broadcastMessage", [], "any"truetruefalse88)) ? (CoreExtension::getAttribute($this->env$this->source, (isset($context["websiteConfiguration"]) || array_key_exists("websiteConfiguration"$context) ? $context["websiteConfiguration"] : (function () { throw new RuntimeError('Variable "websiteConfiguration" does not exist.'88$this->source); })()), "broadcastMessage", [], "any"falsefalsefalse88)) : (""))], "method"falsefalsefalse88);
  258.         // line 89
  259.         yield "        ";
  260.         if ((($tmp = (isset($context["broadcastMessage"]) || array_key_exists("broadcastMessage"$context) ? $context["broadcastMessage"] : (function () { throw new RuntimeError('Variable "broadcastMessage" does not exist.'89$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  261.             // line 90
  262.             yield "            <div class=\"uv-kb-info\" id=\"uv-kb-info-broadcast\">
  263.                 <p>";
  264.             // line 91
  265.             yield ((CoreExtension::getAttribute($this->env$this->source, ($context["broadcastMessage"] ?? null), "message", [], "any"truetruefalse91)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["broadcastMessage"]) || array_key_exists("broadcastMessage"$context) ? $context["broadcastMessage"] : (function () { throw new RuntimeError('Variable "broadcastMessage" does not exist.'91$this->source); })()), "message", [], "any"falsefalsefalse91), "html"nulltrue)) : (""));
  266.             yield "</p>
  267.                 <span class=\"uv-kb-info-remove\" onclick=\"document.getElementById('uv-kb-info-broadcast').remove()\"></span>
  268.             </div>
  269.         ";
  270.         }
  271.         // line 95
  272.         yield "
  273.         <div class=\"uv-notifications-wrapper\">
  274.             ";
  275.         // line 97
  276.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["uvdesk_service"]) || array_key_exists("uvdesk_service"$context) ? $context["uvdesk_service"] : (function () { throw new RuntimeError('Variable "uvdesk_service" does not exist.'97$this->source); })()), "requestHeadersSent", [], "method"falsefalsefalse97) == false)) {
  277.             // line 98
  278.             yield "                ";
  279.             $context['_parent'] = $context;
  280.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'98$this->source); })()), "session", [], "any"falsefalsefalse98), "flashbag", [], "any"falsefalsefalse98), "get", ["success"], "method"falsefalsefalse98));
  281.             foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
  282.                 // line 99
  283.                 yield "                    <div class=\"uv-notification page-load uv-success\">
  284.                         <span class=\"uv-notification-close\"></span>
  285.                         <p>";
  286.                 // line 101
  287.                 yield $context["flashMessage"];
  288.                 yield "</p>
  289.                     </div>
  290.                 ";
  291.             }
  292.             $_parent $context['_parent'];
  293.             unset($context['_seq'], $context['_key'], $context['flashMessage'], $context['_parent']);
  294.             $context array_intersect_key($context$_parent) + $_parent;
  295.             // line 104
  296.             yield "                ";
  297.             $context['_parent'] = $context;
  298.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'104$this->source); })()), "session", [], "any"falsefalsefalse104), "flashbag", [], "any"falsefalsefalse104), "get", ["warning"], "method"falsefalsefalse104));
  299.             foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
  300.                 // line 105
  301.                 yield "                    <div class=\"uv-notification page-load uv-error\">
  302.                         <span class=\"uv-notification-close\"></span>
  303.                         <p>";
  304.                 // line 107
  305.                 yield $context["flashMessage"];
  306.                 yield "</p>
  307.                     </div>
  308.                 ";
  309.             }
  310.             $_parent $context['_parent'];
  311.             unset($context['_seq'], $context['_key'], $context['flashMessage'], $context['_parent']);
  312.             $context array_intersect_key($context$_parent) + $_parent;
  313.             // line 110
  314.             yield "            ";
  315.         }
  316.         // line 111
  317.         yield "            
  318.             <noscript>
  319.                 <div class=\"uv-notification uv-error\">
  320.                     <p>";
  321.         // line 114
  322.         yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Your browser does not support JavaScript or You disabled JavaScript, Please enable those !", [], "messages");
  323.         yield "</p>
  324.                 </div>
  325.                 <style>.uv-loader-view {display: none;}</style>
  326.             </noscript>
  327.         </div>
  328.         ";
  329.         // line 121
  330.         yield from $this->unwrap()->yieldBlock('header'$context$blocks);
  331.         // line 124
  332.         yield "
  333.         ";
  334.         // line 125
  335.         yield from $this->load("@UVDeskSupportCenter/Templates/breadcrumbs.html.twig"125)->unwrap()->yield($context);
  336.         // line 126
  337.         yield "
  338.         ";
  339.         // line 127
  340.         yield from $this->unwrap()->yieldBlock('tabHeader'$context$blocks);
  341.         // line 129
  342.         yield "        ";
  343.         yield from $this->unwrap()->yieldBlock('wrapper'$context$blocks);
  344.         // line 157
  345.         yield "
  346.         ";
  347.         // line 158
  348.         yield from $this->unwrap()->yieldBlock('footer'$context$blocks);
  349.         // line 227
  350.         yield "    </body>
  351. </html>
  352. ";
  353.         
  354.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  355.         
  356.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  357.         yield from [];
  358.     }
  359.     // line 25
  360.     /**
  361.      * @return iterable<null|scalar|\Stringable>
  362.      */
  363.     public function block_canonical(array $context, array $blocks = []): iterable
  364.     {
  365.         $macros $this->macros;
  366.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  367.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""canonical"));
  368.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  369.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""canonical"));
  370.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["canonical"]) || array_key_exists("canonical"$context) ? $context["canonical"] : (function () { throw new RuntimeError('Variable "canonical" does not exist.'25$this->source); })()), "html"nulltrue);
  371.         
  372.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  373.         
  374.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  375.         yield from [];
  376.     }
  377.     // line 34
  378.     /**
  379.      * @return iterable<null|scalar|\Stringable>
  380.      */
  381.     public function block_title(array $context, array $blocks = []): iterable
  382.     {
  383.         $macros $this->macros;
  384.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  385.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  386.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  387.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  388.         yield (((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["websiteDetails"]) || array_key_exists("websiteDetails"$context) ? $context["websiteDetails"] : (function () { throw new RuntimeError('Variable "websiteDetails" does not exist.'34$this->source); })()), "name", [], "any"falsefalsefalse34)) && $tmp instanceof Markup ? (string) $tmp $tmp)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["websiteDetails"]) || array_key_exists("websiteDetails"$context) ? $context["websiteDetails"] : (function () { throw new RuntimeError('Variable "websiteDetails" does not exist.'34$this->source); })()), "name", [], "any"falsefalsefalse34), "html"nulltrue)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Knowledge Base"), "html"nulltrue)));
  389.         yield " ";
  390.         
  391.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  392.         
  393.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  394.         yield from [];
  395.     }
  396.     // line 36
  397.     /**
  398.      * @return iterable<null|scalar|\Stringable>
  399.      */
  400.     public function block_metaDescription(array $context, array $blocks = []): iterable
  401.     {
  402.         $macros $this->macros;
  403.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  404.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  405.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  406.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  407.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["websiteConfiguration"]) || array_key_exists("websiteConfiguration"$context) ? $context["websiteConfiguration"] : (function () { throw new RuntimeError('Variable "websiteConfiguration" does not exist.'36$this->source); })()), "metaDescription", [], "any"falsefalsefalse36), "html"nulltrue);
  408.         
  409.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  410.         
  411.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  412.         yield from [];
  413.     }
  414.     // line 39
  415.     /**
  416.      * @return iterable<null|scalar|\Stringable>
  417.      */
  418.     public function block_metaKeywords(array $context, array $blocks = []): iterable
  419.     {
  420.         $macros $this->macros;
  421.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  422.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaKeywords"));
  423.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  424.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaKeywords"));
  425.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["websiteConfiguration"]) || array_key_exists("websiteConfiguration"$context) ? $context["websiteConfiguration"] : (function () { throw new RuntimeError('Variable "websiteConfiguration" does not exist.'39$this->source); })()), "metaKeywords", [], "any"falsefalsefalse39), "html"nulltrue);
  426.         
  427.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  428.         
  429.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  430.         yield from [];
  431.     }
  432.     // line 48
  433.     /**
  434.      * @return iterable<null|scalar|\Stringable>
  435.      */
  436.     public function block_ogtitle(array $context, array $blocks = []): iterable
  437.     {
  438.         $macros $this->macros;
  439.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  440.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogtitle"));
  441.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  442.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogtitle"));
  443.         yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("HelpDesk", [], "messages");
  444.         yield " ";
  445.         yield (((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["websiteDetails"]) || array_key_exists("websiteDetails"$context) ? $context["websiteDetails"] : (function () { throw new RuntimeError('Variable "websiteDetails" does not exist.'48$this->source); })()), "name", [], "any"falsefalsefalse48)) && $tmp instanceof Markup ? (string) $tmp $tmp)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["websiteDetails"]) || array_key_exists("websiteDetails"$context) ? $context["websiteDetails"] : (function () { throw new RuntimeError('Variable "websiteDetails" does not exist.'48$this->source); })()), "name", [], "any"falsefalsefalse48), "html"nulltrue)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Knowledge Base"), "html"nulltrue)));
  446.         
  447.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  448.         
  449.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  450.         yield from [];
  451.     }
  452.     // line 49
  453.     /**
  454.      * @return iterable<null|scalar|\Stringable>
  455.      */
  456.     public function block_ogcanonical(array $context, array $blocks = []): iterable
  457.     {
  458.         $macros $this->macros;
  459.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  460.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogcanonical"));
  461.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  462.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""ogcanonical"));
  463.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["canonical"]) || array_key_exists("canonical"$context) ? $context["canonical"] : (function () { throw new RuntimeError('Variable "canonical" does not exist.'49$this->source); })()), "html"nulltrue);
  464.         
  465.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  466.         
  467.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  468.         yield from [];
  469.     }
  470.     // line 55
  471.     /**
  472.      * @return iterable<null|scalar|\Stringable>
  473.      */
  474.     public function block_twtitle(array $context, array $blocks = []): iterable
  475.     {
  476.         $macros $this->macros;
  477.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  478.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""twtitle"));
  479.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  480.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""twtitle"));
  481.         yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("HelpDesk", [], "messages");
  482.         yield " ";
  483.         yield (((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["websiteDetails"]) || array_key_exists("websiteDetails"$context) ? $context["websiteDetails"] : (function () { throw new RuntimeError('Variable "websiteDetails" does not exist.'55$this->source); })()), "name", [], "any"falsefalsefalse55)) && $tmp instanceof Markup ? (string) $tmp $tmp)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["websiteDetails"]) || array_key_exists("websiteDetails"$context) ? $context["websiteDetails"] : (function () { throw new RuntimeError('Variable "websiteDetails" does not exist.'55$this->source); })()), "name", [], "any"falsefalsefalse55), "html"nulltrue)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Knowledge Base"), "html"nulltrue)));
  484.         
  485.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  486.         
  487.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  488.         yield from [];
  489.     }
  490.     // line 64
  491.     /**
  492.      * @return iterable<null|scalar|\Stringable>
  493.      */
  494.     public function block_head(array $context, array $blocks = []): iterable
  495.     {
  496.         $macros $this->macros;
  497.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  498.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  499.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  500.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  501.         // line 65
  502.         yield "                ";
  503.         yield from $this->load("@UVDeskSupportCenter/Knowledgebase/websiteSettings.html.twig"65)->unwrap()->yield($context);
  504.         // line 66
  505.         yield "            ";
  506.         
  507.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  508.         
  509.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  510.         yield from [];
  511.     }
  512.     // line 77
  513.     /**
  514.      * @return iterable<null|scalar|\Stringable>
  515.      */
  516.     public function block_templateCSS(array $context, array $blocks = []): iterable
  517.     {
  518.         $macros $this->macros;
  519.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  520.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""templateCSS"));
  521.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  522.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""templateCSS"));
  523.         
  524.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  525.         
  526.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  527.         yield from [];
  528.     }
  529.     // line 121
  530.     /**
  531.      * @return iterable<null|scalar|\Stringable>
  532.      */
  533.     public function block_header(array $context, array $blocks = []): iterable
  534.     {
  535.         $macros $this->macros;
  536.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  537.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  538.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  539.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  540.         // line 122
  541.         yield "            ";
  542.         yield from $this->load("@UVDeskSupportCenter/Templates/header.html.twig"122)->unwrap()->yield($context);
  543.         // line 123
  544.         yield "        ";
  545.         
  546.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  547.         
  548.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  549.         yield from [];
  550.     }
  551.     // line 127
  552.     /**
  553.      * @return iterable<null|scalar|\Stringable>
  554.      */
  555.     public function block_tabHeader(array $context, array $blocks = []): iterable
  556.     {
  557.         $macros $this->macros;
  558.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  559.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tabHeader"));
  560.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  561.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tabHeader"));
  562.         // line 128
  563.         yield "        ";
  564.         
  565.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  566.         
  567.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  568.         yield from [];
  569.     }
  570.     // line 129
  571.     /**
  572.      * @return iterable<null|scalar|\Stringable>
  573.      */
  574.     public function block_wrapper(array $context, array $blocks = []): iterable
  575.     {
  576.         $macros $this->macros;
  577.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  578.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""wrapper"));
  579.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  580.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""wrapper"));
  581.         // line 130
  582.         yield "            <div class=\"uv-body\">
  583.                 <div class=\"uv-container\">
  584.                     ";
  585.         // line 132
  586.         yield from $this->unwrap()->yieldBlock('body'$context$blocks);
  587.         // line 154
  588.         yield "                </div>   
  589.             </div>
  590.         ";
  591.         
  592.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  593.         
  594.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  595.         yield from [];
  596.     }
  597.     // line 132
  598.     /**
  599.      * @return iterable<null|scalar|\Stringable>
  600.      */
  601.     public function block_body(array $context, array $blocks = []): iterable
  602.     {
  603.         $macros $this->macros;
  604.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  605.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  606.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  607.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  608.         // line 133
  609.         yield "                        ";
  610.         if ((array_key_exists("websiteConfiguration"$context) && CoreExtension::getAttribute($this->env$this->source, (isset($context["websiteConfiguration"]) || array_key_exists("websiteConfiguration"$context) ? $context["websiteConfiguration"] : (function () { throw new RuntimeError('Variable "websiteConfiguration" does not exist.'133$this->source); })()), "ticketCreateOption", [], "any"falsefalsefalse133))) {
  611.             // line 134
  612.             yield "                            ";
  613.             if (( !CoreExtension::getAttribute($this->env$this->source, (isset($context["websiteConfiguration"]) || array_key_exists("websiteConfiguration"$context) ? $context["websiteConfiguration"] : (function () { throw new RuntimeError('Variable "websiteConfiguration" does not exist.'134$this->source); })()), "loginRequiredToCreate", [], "any"falsefalsefalse134) || CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'134$this->source); })()), "user", [], "any"falsefalsefalse134))) {
  614.                 // line 135
  615.                 yield "                                <div class=\"uv-cta-wrapper\">
  616.                                     <div class=\"uv-cta-lt\">
  617.                                         <svg
  618.                                         xmlns=\"http://www.w3.org/2000/svg\"
  619.                                         xmlns:xlink=\"http://www.w3.org/1999/xlink\"
  620.                                         width=\"60px\" height=\"60px\">
  621.                                         <path fill-rule=\"evenodd\"  fill=\"rgb(124, 116, 241)\"
  622.                                         d=\"M57.000,12.000 L51.000,12.000 L50.984,38.993 L12.000,39.000 L12.000,45.000 C12.000,46.649 13.351,48.000 15.000,48.000 L48.000,48.000 L60.000,60.000 L60.000,15.000 C60.000,13.351 58.649,12.000 57.000,12.000 ZM45.000,30.000 L45.000,3.000 C45.000,1.351 43.649,0.000 42.000,0.000 L3.000,0.000 C1.351,0.000 -0.000,1.351 -0.000,3.000 L-0.000,45.000 L12.000,33.000 L42.000,33.000 C43.649,33.000 45.000,31.649 45.000,30.000 Z\"/>
  623.                                         </svg>
  624.                                     </div>
  625.                                     <div class=\"uv-cta-rt\">
  626.                                         <h2>";
  627.                 // line 146
  628.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Unable to find an answer?"), "html"nulltrue);
  629.                 yield "</h2>
  630.                                         <p>";
  631.                 // line 147
  632.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Looking for anything specific article which resides in general queries? Just browse the various relevant folders and categories and then you will find the desired article."), "html"nulltrue);
  633.                 yield "</p>
  634.                                         <a href=\"";
  635.                 // line 148
  636.                 yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("helpdesk_customer_create_ticket");
  637.                 yield "\" class=\"uv-btn uv-margin-top-15\">";
  638.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Contact Us"), "html"nulltrue);
  639.                 yield "</a>
  640.                                     </div>
  641.                                 </div>
  642.                             ";
  643.             }
  644.             // line 152
  645.             yield "                        ";
  646.         }
  647.         yield 
  648.                     ";
  649.         
  650.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  651.         
  652.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  653.         yield from [];
  654.     }
  655.     // line 158
  656.     /**
  657.      * @return iterable<null|scalar|\Stringable>
  658.      */
  659.     public function block_footer(array $context, array $blocks = []): iterable
  660.     {
  661.         $macros $this->macros;
  662.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  663.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  664.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  665.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  666.         // line 159
  667.         yield "            ";
  668.         yield from $this->load("@UVDeskSupportCenter/Templates/footer.html.twig"159)->unwrap()->yield($context);
  669.         // line 160
  670.         yield "
  671.             ";
  672.         // line 161
  673.         yield from $this->load("@UVDeskSupportCenter/Templates/pagination.html.twig"161)->unwrap()->yield($context);
  674.         // line 162
  675.         yield "
  676.             <!-- Loader Template-->
  677.             <script type=\"text/template\" id=\"loader-tmp\">
  678.                 <div class=\"uv-loader\">
  679.                     <span></span>
  680.                     <span></span>
  681.                     <span></span>
  682.                 </div>
  683.             </script>
  684.             <!-- Loader Template-->
  685.             <!-- Full View Loader Template-->
  686.             <script type=\"text/template\" id=\"full-view-loader\">
  687.                 <div class=\"uv-loader-view\">
  688.                     <div class=\"uv-loader\">
  689.                         <span></span>
  690.                         <span></span>
  691.                         <span></span>
  692.                     </div>
  693.                 </div>
  694.             </script>
  695.             <!-- //Full View Loader Template-->
  696.             <!-- Notification Template -->
  697.             <script type=\"text/template\" id=\"notification-template\">
  698.                 <div class=\"uv-notification <% if (alertClass == 'danger') { %>uv-error<% } else { %> <%= 'uv-' + alertClass %> <% } %>\">
  699.                     <span class=\"uv-notification-close\"></span>
  700.                     <p><%= alertMessage %> </p>
  701.                 </div>
  702.             </script>
  703.             <script type=\"text/javascript\">
  704.                 var warningResponse = {
  705.                     'alertClass' : 'danger',
  706.                     'alertMessage' : '";
  707.         // line 195
  708.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Error : Something went wrong, please try again later"), "html"nulltrue);
  709.         yield "',
  710.                 };
  711.             </script>
  712.             ";
  713.         // line 199
  714.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"truetruefalse199) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'199$this->source); })()), "user", [], "any"falsefalsefalse199)))) {
  715.             // line 200
  716.             yield "                <script type=\"text/javascript\">
  717.                     setInterval(async () => {
  718.                         try {
  719.                             const response = await fetch('";
  720.             // line 203
  721.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("helpdesk_customer_session_check");
  722.             yield "', {
  723.                                 credentials: 'include'
  724.                             });
  725.                             if (!response.ok) {
  726.                                 if (
  727.                                     response.status === 401
  728.                                     || response.status === 440
  729.                                 ) {
  730.                                     window.location.href = '";
  731.             // line 212
  732.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("helpdesk_customer_login");
  733.             yield "';
  734.                                 }
  735.                             } else {
  736.                                 const data = await response.json();
  737.                                 console.log('Session status:', data.session);
  738.                             }
  739.                         } catch (err) {
  740.                             console.error('Error checking session:', err);
  741.                         }
  742.                     }, 20 * 60 * 1000); // Every 20 minutes
  743.                 </script>
  744.             ";
  745.         }
  746.         // line 224
  747.         yield "
  748.             ";
  749.         // line 225
  750.         yield from $this->load("@UVDeskSupportCenter/Themes/cookiePolicy.html.twig"225)->unwrap()->yield($context);
  751.         // line 226
  752.         yield "        ";
  753.         
  754.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  755.         
  756.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  757.         yield from [];
  758.     }
  759.     /**
  760.      * @codeCoverageIgnore
  761.      */
  762.     public function getTemplateName(): string
  763.     {
  764.         return "@UVDeskSupportCenter/Templates/layout.html.twig";
  765.     }
  766.     /**
  767.      * @codeCoverageIgnore
  768.      */
  769.     public function isTraitable(): bool
  770.     {
  771.         return false;
  772.     }
  773.     /**
  774.      * @codeCoverageIgnore
  775.      */
  776.     public function getDebugInfo(): array
  777.     {
  778.         return array (  843 => 226,  841 => 225,  838 => 224,  823 => 212,  811 => 203,  806 => 200,  804 => 199,  797 => 195,  762 => 162,  760 => 161,  757 => 160,  754 => 159,  741 => 158,  727 => 152,  718 => 148,  714 => 147,  710 => 146,  697 => 135,  694 => 134,  691 => 133,  678 => 132,  665 => 154,  663 => 132,  659 => 130,  646 => 129,  635 => 128,  622 => 127,  611 => 123,  608 => 122,  595 => 121,  573 => 77,  562 => 66,  559 => 65,  546 => 64,  521 => 55,  498 => 49,  473 => 48,  450 => 39,  427 => 36,  403 => 34,  380 => 25,  367 => 227,  365 => 158,  362 => 157,  359 => 129,  357 => 127,  354 => 126,  352 => 125,  349 => 124,  347 => 121,  337 => 114,  332 => 111,  329 => 110,  320 => 107,  316 => 105,  311 => 104,  302 => 101,  298 => 99,  293 => 98,  291 => 97,  287 => 95,  280 => 91,  277 => 90,  274 => 89,  272 => 88,  268 => 87,  265 => 86,  262 => 85,  259 => 84,  257 => 83,  254 => 82,  251 => 81,  249 => 80,  245 => 78,  243 => 77,  240 => 76,  237 => 75,  234 => 74,  231 => 73,  228 => 72,  225 => 71,  222 => 70,  220 => 69,  217 => 68,  214 => 67,  211 => 64,  209 => 63,  206 => 62,  196 => 55,  193 => 54,  187 => 52,  185 => 51,  181 => 50,  177 => 49,  173 => 48,  168 => 46,  161 => 42,  158 => 41,  152 => 39,  149 => 38,  143 => 36,  141 => 35,  136 => 34,  134 => 33,  131 => 32,  125 => 30,  119 => 28,  117 => 27,  111 => 25,  109 => 24,  106 => 23,  103 => 22,  100 => 21,  98 => 20,  93 => 18,  89 => 17,  85 => 16,  70 => 4,  65 => 2,  62 => 1,);
  779.     }
  780.     public function getSourceContext(): Source
  781.     {
  782.         return new Source("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">
  783. <html lang=\"{{app.request.getLocale()}}\">
  784.     <head>
  785.         <link rel=\"stylesheet\" href=\"{{ asset('bundles/uvdesksupportcenter/css/knowledgebase.css') }}\">
  786.         <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.7.14/css/bootstrap-datetimepicker.min.css\">
  787.         
  788.         <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js\"></script>
  789.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.1/underscore-min.js\"></script>
  790.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.4.0/backbone-min.js\"></script>
  791.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.validation/0.11.5/backbone-validation-min.js\"></script>
  792.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.paginator/2.0.8/backbone.paginator.min.js\"></script>
  793.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.0/moment.min.js\"></script>\t
  794.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js\"></script>
  795.         
  796.         <script src=\"{{ asset('bundles/uvdesksupportcenter/js/_common.js') }}\"></script>
  797.         <script src = \"{{ asset('bundles/uvdesksupportcenter/js/uikit.front.js') }}\"></script>
  798.         <script src = \"{{ asset('bundles/uvdeskcoreframework/js/dropdown.js') }}\"></script>
  799.         {% set websiteDetails = user_service.getWebsiteDetails('knowledgebase') %}
  800.         {% set websiteConfiguration = user_service.getWebsiteConfiguration('knowledgebase') %}
  801.         {% set themeTemplate = user_service.getWebsiteView() %}
  802.         {% set canonical = app.request.server.get('REQUEST_SCHEME')~'://'~app.request.server.get('HTTP_HOST')~app.request.server.get('PATH_INFO') %}
  803.         <link rel=\"canonical\" href=\"{% block canonical %}{{canonical}}{% endblock %}\">
  804.         {% if websiteDetails and (websiteDetails.favicon) %}
  805.             <link rel=\"icon\" sizes=\"16x16\" href=\"{{websiteDetails.favicon ? websiteDetails.favicon : null}}\" />
  806.         {% else %}
  807.             <link rel=\"icon\" sizes=\"16x16\" href=\"{{ asset('favicon.ico') }}\" />
  808.         {% endif %}
  809.         {% if websiteDetails %}
  810.             <title>{% block title %}{{ websiteDetails.name ? websiteDetails.name : 'Knowledge Base'|trans }} {% endblock %}</title>
  811.             {% if websiteConfiguration.metaDescription %}
  812.                 <meta name=\"description\" content=\"{% block metaDescription %}{{ websiteConfiguration.metaDescription }}{% endblock %}\"/>
  813.             {% endif %}
  814.             {% if websiteConfiguration.metaKeywords %}
  815.                 <meta name=\"keywords\" content=\"{% block metaKeywords %}{{ websiteConfiguration.metaKeywords }}{% endblock %}\"/>
  816.             {% endif %}
  817.             <meta http-equiv=\"Content-Type\" content=\"text/html;\" charset=\"{{ _charset }}\"/>
  818.             <meta name=\"robots\" content=\"INDEX,FOLLOW\" />
  819.             <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  820.             <meta property=\"og:locale\" content=\"{{app.request.getLocale()}}\" />
  821.             <meta property=\"og:type\" content=\"article\" />
  822.             <meta property=\"og:title\" content=\"{% block ogtitle %}{% trans %}HelpDesk{% endtrans %} {{ websiteDetails.name ? websiteDetails.name : 'Knowledge Base'|trans }}{% endblock %}\" />
  823.             <meta property=\"og:url\" content=\"{% block ogcanonical %}{{canonical}}{% endblock %}\" />
  824.             <meta property=\"og:site_name\" content=\"{{ websiteDetails.name ? websiteDetails.name : 'Knowledge Base'|trans }}\" />
  825.             {% if websiteDetails.logo %}
  826.                 <meta property=\"og:image\" content=\"{{ websiteDetails.logo }}\" />
  827.             {% endif %}
  828.             <meta name=\"twitter:card\" content=\"summary\" />
  829.             <meta name=\"twitter:title\" content=\"{% block twtitle %}{% trans %}HelpDesk{% endtrans %} {{ websiteDetails.name ? websiteDetails.name : 'Knowledge Base'|trans }}{% endblock %}\" />
  830.             <link rel='dns-prefetch' href='//www.google.com' />
  831.             <link rel='dns-prefetch' href='//fonts.googleapis.com' />
  832.             <link rel='dns-prefetch' href='//fonts.gstatic.com' />
  833.             <link rel='dns-prefetch' href='//cdn.uvdesk.com' />
  834.         {% endif %}
  835.         {% if websiteConfiguration %}
  836.             {% block head %}
  837.                 {% include \"@UVDeskSupportCenter/Knowledgebase/websiteSettings.html.twig\" %}
  838.             {% endblock %}
  839.         {% endif %}
  840.         {% if websiteConfiguration %}
  841.             {% if uvdesk_service.isDarkSkin(websiteConfiguration.brandColor) %}
  842.                 {% include '@UVDeskSupportCenter/Knowledgebase/darkSkin.html.twig' %}
  843.             {% else %}
  844.                 {% include '@UVDeskSupportCenter/Knowledgebase/lightSkin.html.twig' %}
  845.             {% endif %}
  846.         {% endif %}
  847.         {% block templateCSS %}{% endblock %}
  848.     </head>
  849.     {% set bodyClass = '' %}
  850.     {% set bodySkinClass = '' %}
  851.     {% if app.request.locale == \"ar\" %}
  852.         {% set bodyClass = 'uv-rtl' %}
  853.     {% endif %}
  854.     <body class=\"{{ bodySkinClass ~ ' ' ~ bodyClass }}\">
  855.         {% set broadcastMessage = uvdesk_service.getValidBroadcastMessage(websiteConfiguration.broadcastMessage is defined ? websiteConfiguration.broadcastMessage : '') %}
  856.         {% if broadcastMessage %}
  857.             <div class=\"uv-kb-info\" id=\"uv-kb-info-broadcast\">
  858.                 <p>{{ broadcastMessage.message is defined ? broadcastMessage.message : '' }}</p>
  859.                 <span class=\"uv-kb-info-remove\" onclick=\"document.getElementById('uv-kb-info-broadcast').remove()\"></span>
  860.             </div>
  861.         {% endif %}
  862.         <div class=\"uv-notifications-wrapper\">
  863.             {% if uvdesk_service.requestHeadersSent() == false %}
  864.                 {% for flashMessage in app.session.flashbag.get('success') %}
  865.                     <div class=\"uv-notification page-load uv-success\">
  866.                         <span class=\"uv-notification-close\"></span>
  867.                         <p>{{ flashMessage|raw }}</p>
  868.                     </div>
  869.                 {% endfor %}
  870.                 {% for flashMessage in app.session.flashbag.get('warning') %}
  871.                     <div class=\"uv-notification page-load uv-error\">
  872.                         <span class=\"uv-notification-close\"></span>
  873.                         <p>{{ flashMessage|raw }}</p>
  874.                     </div>
  875.                 {% endfor %}
  876.             {% endif %}
  877.             
  878.             <noscript>
  879.                 <div class=\"uv-notification uv-error\">
  880.                     <p>{% trans %}Your browser does not support JavaScript or You disabled JavaScript, Please enable those !{% endtrans %}</p>
  881.                 </div>
  882.                 <style>.uv-loader-view {display: none;}</style>
  883.             </noscript>
  884.         </div>
  885.         {% block header %}
  886.             {% include \"@UVDeskSupportCenter/Templates/header.html.twig\" %}
  887.         {% endblock %}
  888.         {% include \"@UVDeskSupportCenter/Templates/breadcrumbs.html.twig\" %}
  889.         {% block tabHeader %}
  890.         {% endblock %}
  891.         {% block wrapper %}
  892.             <div class=\"uv-body\">
  893.                 <div class=\"uv-container\">
  894.                     {% block body %}
  895.                         {% if websiteConfiguration is defined and websiteConfiguration.ticketCreateOption %}
  896.                             {% if not websiteConfiguration.loginRequiredToCreate or app.user %}
  897.                                 <div class=\"uv-cta-wrapper\">
  898.                                     <div class=\"uv-cta-lt\">
  899.                                         <svg
  900.                                         xmlns=\"http://www.w3.org/2000/svg\"
  901.                                         xmlns:xlink=\"http://www.w3.org/1999/xlink\"
  902.                                         width=\"60px\" height=\"60px\">
  903.                                         <path fill-rule=\"evenodd\"  fill=\"rgb(124, 116, 241)\"
  904.                                         d=\"M57.000,12.000 L51.000,12.000 L50.984,38.993 L12.000,39.000 L12.000,45.000 C12.000,46.649 13.351,48.000 15.000,48.000 L48.000,48.000 L60.000,60.000 L60.000,15.000 C60.000,13.351 58.649,12.000 57.000,12.000 ZM45.000,30.000 L45.000,3.000 C45.000,1.351 43.649,0.000 42.000,0.000 L3.000,0.000 C1.351,0.000 -0.000,1.351 -0.000,3.000 L-0.000,45.000 L12.000,33.000 L42.000,33.000 C43.649,33.000 45.000,31.649 45.000,30.000 Z\"/>
  905.                                         </svg>
  906.                                     </div>
  907.                                     <div class=\"uv-cta-rt\">
  908.                                         <h2>{{\"Unable to find an answer?\"|trans}}</h2>
  909.                                         <p>{{\"Looking for anything specific article which resides in general queries? Just browse the various relevant folders and categories and then you will find the desired article.\"|trans}}</p>
  910.                                         <a href=\"{{ path('helpdesk_customer_create_ticket') }}\" class=\"uv-btn uv-margin-top-15\">{{'Contact Us'|trans}}</a>
  911.                                     </div>
  912.                                 </div>
  913.                             {% endif %}
  914.                         {% endif %} 
  915.                     {% endblock %}
  916.                 </div>   
  917.             </div>
  918.         {% endblock %}
  919.         {% block footer %}
  920.             {% include \"@UVDeskSupportCenter/Templates/footer.html.twig\" %}
  921.             {% include \"@UVDeskSupportCenter/Templates/pagination.html.twig\" %}
  922.             <!-- Loader Template-->
  923.             <script type=\"text/template\" id=\"loader-tmp\">
  924.                 <div class=\"uv-loader\">
  925.                     <span></span>
  926.                     <span></span>
  927.                     <span></span>
  928.                 </div>
  929.             </script>
  930.             <!-- Loader Template-->
  931.             <!-- Full View Loader Template-->
  932.             <script type=\"text/template\" id=\"full-view-loader\">
  933.                 <div class=\"uv-loader-view\">
  934.                     <div class=\"uv-loader\">
  935.                         <span></span>
  936.                         <span></span>
  937.                         <span></span>
  938.                     </div>
  939.                 </div>
  940.             </script>
  941.             <!-- //Full View Loader Template-->
  942.             <!-- Notification Template -->
  943.             <script type=\"text/template\" id=\"notification-template\">
  944.                 <div class=\"uv-notification <% if (alertClass == 'danger') { %>uv-error<% } else { %> <%= 'uv-' + alertClass %> <% } %>\">
  945.                     <span class=\"uv-notification-close\"></span>
  946.                     <p><%= alertMessage %> </p>
  947.                 </div>
  948.             </script>
  949.             <script type=\"text/javascript\">
  950.                 var warningResponse = {
  951.                     'alertClass' : 'danger',
  952.                     'alertMessage' : '{{ \"Error : Something went wrong, please try again later\"|trans }}',
  953.                 };
  954.             </script>
  955.             {% if app.user is defined and app.user is not empty %}
  956.                 <script type=\"text/javascript\">
  957.                     setInterval(async () => {
  958.                         try {
  959.                             const response = await fetch('{{ path('helpdesk_customer_session_check') }}', {
  960.                                 credentials: 'include'
  961.                             });
  962.                             if (!response.ok) {
  963.                                 if (
  964.                                     response.status === 401
  965.                                     || response.status === 440
  966.                                 ) {
  967.                                     window.location.href = '{{ path('helpdesk_customer_login') }}';
  968.                                 }
  969.                             } else {
  970.                                 const data = await response.json();
  971.                                 console.log('Session status:', data.session);
  972.                             }
  973.                         } catch (err) {
  974.                             console.error('Error checking session:', err);
  975.                         }
  976.                     }, 20 * 60 * 1000); // Every 20 minutes
  977.                 </script>
  978.             {% endif %}
  979.             {% include('@UVDeskSupportCenter/Themes/cookiePolicy.html.twig') %}
  980.         {% endblock %}
  981.     </body>
  982. </html>
  983. ""@UVDeskSupportCenter/Templates/layout.html.twig""/var/www/uvdesk/vendor/uvdesk/support-center-bundle/Resources/views/Templates/layout.html.twig");
  984.     }
  985. }