var/cache/dev/twig/ad/adfe32c68487988e11a42ef62f6a2b98.php line 226

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. /* @UVDeskCoreFramework//Templates//layout.html.twig */
  16. class __TwigTemplate_f80858f3a8ea7b9baf18500b7bd59f63 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.             'title' => [$this'block_title'],
  30.             'templateCSS' => [$this'block_templateCSS'],
  31.             'sidebar' => [$this'block_sidebar'],
  32.             'pageWrapper' => [$this'block_pageWrapper'],
  33.             'pageHeader' => [$this'block_pageHeader'],
  34.             'pageContent' => [$this'block_pageContent'],
  35.             'footer' => [$this'block_footer'],
  36.         ];
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = []): iterable
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@UVDeskCoreFramework//Templates//layout.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@UVDeskCoreFramework//Templates//layout.html.twig"));
  45.         // line 1
  46.         yield "<!DOCTYPE html>
  47. <html>
  48.     <head>
  49.         <title>";
  50.         // line 4
  51.         yield from $this->unwrap()->yieldBlock('title'$context$blocks);
  52.         yield "</title>
  53.         <link rel=\"icon\" type=\"image/x-icon\" sizes=\"16x16 32x32 48x48\" href=\"";
  54.         // line 5
  55.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico"), "html"nulltrue);
  56.         yield "\" />
  57.         <!-- Stylesheets -->
  58.         <link href=\"";
  59.         // line 8
  60.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/css/_uikit.css"), "html"nulltrue);
  61.         yield "\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
  62.         <link href=\"";
  63.         // line 9
  64.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/css/_custom.css"), "html"nulltrue);
  65.         yield "\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
  66.         <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.15.4/css/all.css\" integrity=\"sha384-DyZ88mC6Up2uqS4h/6nTrv0KXzKr4C2hE3IHRVbwbOLdxoqWcTIm9RIndh4bIr84\" crossorigin=\"anonymous\">
  67.         <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css\" integrity=\"sha512-...\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
  68.         <link href=\"//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css\" type=\"text/css\" rel=\"stylesheet\">
  69.         <link href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css\" rel=\"stylesheet\">
  70.         <link href=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css\" type=\"text/css\" rel=\"stylesheet\">
  71.         <!-- Custom CSS -->
  72.         ";
  73.         // line 17
  74.         $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.'17$this->source); })()), "getWebsiteConfiguration", ["knowledgebase"], "method"falsefalsefalse17);
  75.         // line 18
  76.         yield "        ";
  77.         $context["website"] = 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.'18$this->source); })()), "getWebsiteDetails", ["helpdesk"], "method"falsefalsefalse18);
  78.         // line 19
  79.         yield "
  80.         ";
  81.         // line 20
  82.         yield Twig\Extension\CoreExtension::include($this->env$context"@UVDeskCoreFramework/Templates/lightskin.html.twig");
  83.         yield "
  84.         <!-- Custom Stylesheets -->
  85.         ";
  86.         // line 23
  87.         $context['_parent'] = $context;
  88.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["uvdesk_extensibles"]) || array_key_exists("uvdesk_extensibles"$context) ? $context["uvdesk_extensibles"] : (function () { throw new RuntimeError('Variable "uvdesk_extensibles" does not exist.'23$this->source); })()), "getRegisteredComponent", ["Webkul\\UVDesk\\CoreFrameworkBundle\\Dashboard\\Dashboard"], "method"falsefalsefalse23), "getDashboardTemplate", [], "method"falsefalsefalse23), "getStylesheetResources", [], "method"falsefalsefalse23));
  89.         foreach ($context['_seq'] as $context["_key"] => $context["stylesheet"]) {
  90.             // line 24
  91.             yield "            <link href=\"";
  92.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["stylesheet"]), "html"nulltrue);
  93.             yield "\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
  94.         ";
  95.         }
  96.         $_parent $context['_parent'];
  97.         unset($context['_seq'], $context['_key'], $context['stylesheet'], $context['_parent']);
  98.         $context array_intersect_key($context$_parent) + $_parent;
  99.         // line 26
  100.         yield "        
  101.         ";
  102.         // line 27
  103.         yield from $this->unwrap()->yieldBlock('templateCSS'$context$blocks);
  104.         // line 28
  105.         yield "
  106.         <!-- Scripts -->
  107.         <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js\"></script>
  108.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.1/underscore-min.js\"></script>
  109.         <script src=\"http://localhost/vendor/uvdesk/core-framework/Resources/views/mxClient.min.js\"></script>
  110.         <script src=\"http://localhost/vendor/uvdesk/core-framework/Resources/views/mxClient.js\"></script>
  111.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.4.0/backbone-min.js\"></script>
  112.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.validation/0.11.5/backbone-validation-min.js\"></script>
  113.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.paginator/2.0.8/backbone.paginator.min.js\"></script>
  114.         <script src=\"";
  115.         // line 37
  116.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/js/_dropdown.js"), "html"nulltrue);
  117.         yield "\"></script>
  118.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/d3/6.2.0/d3.min.js\"></script>
  119.         <script src=\"";
  120.         // line 39
  121.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/js/viewer.js"), "html"nulltrue);
  122.         yield "\"></script>
  123.         <script src=\"https://code.jquery.com/ui/1.12.1/jquery-ui.js\"></script>
  124.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.0/moment.min.js\"></script>\t
  125.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js\"></script>
  126.     </head>
  127.     <body>
  128.         <div class=\"uv-notifications-wrapper\">
  129.             <noscript>
  130.                 <div class=\"uv-notification page-load uv-error\">
  131.                     <p>";
  132.         // line 49
  133.         yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Your browser does not support JavaScript or You disabled JavaScript, Please enable those !", [], "messages");
  134.         yield "</p>
  135.                 </div>
  136.                 <style>.uv-loader-view {display: none;}</style>
  137.             </noscript>
  138.             ";
  139.         // line 54
  140.         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.'54$this->source); })()), "requestHeadersSent", [], "method"falsefalsefalse54) == false)) {
  141.             // line 55
  142.             yield "                ";
  143.             $context['_parent'] = $context;
  144.             $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.'55$this->source); })()), "session", [], "any"falsefalsefalse55), "flashbag", [], "any"falsefalsefalse55), "get", ["success"], "method"falsefalsefalse55));
  145.             foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
  146.                 // line 56
  147.                 yield "                    <div class=\"uv-notification page-load uv-success\">
  148.                         <span class=\"uv-notification-close\"></span>
  149.                         <p>";
  150.                 // line 58
  151.                 yield $context["flashMessage"];
  152.                 yield "</p>
  153.                     </div>
  154.                 ";
  155.             }
  156.             $_parent $context['_parent'];
  157.             unset($context['_seq'], $context['_key'], $context['flashMessage'], $context['_parent']);
  158.             $context array_intersect_key($context$_parent) + $_parent;
  159.             // line 61
  160.             yield "                
  161.                 ";
  162.             // line 62
  163.             $context['_parent'] = $context;
  164.             $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.'62$this->source); })()), "session", [], "any"falsefalsefalse62), "flashbag", [], "any"falsefalsefalse62), "get", ["warning"], "method"falsefalsefalse62));
  165.             foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
  166.                 // line 63
  167.                 yield "                    <div class=\"uv-notification page-load uv-error\">
  168.                         <span class=\"uv-notification-close\"></span>
  169.                         <p>";
  170.                 // line 65
  171.                 yield $context["flashMessage"];
  172.                 yield "</p>
  173.                     </div>
  174.                 ";
  175.             }
  176.             $_parent $context['_parent'];
  177.             unset($context['_seq'], $context['_key'], $context['flashMessage'], $context['_parent']);
  178.             $context array_intersect_key($context$_parent) + $_parent;
  179.             // line 68
  180.             yield "            ";
  181.         }
  182.         // line 69
  183.         yield "        </div>
  184.         <div class=\"uv-pop-up-overlay\" id=\"confirm-modal\">
  185.             <div class=\"uv-pop-up-box uv-pop-up-slim\">
  186.                 <span class=\"uv-pop-up-close\"></span>
  187.                 <h2>";
  188.         // line 74
  189.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm Action"), "html"nulltrue);
  190.         yield "</h2>
  191.                 <p>";
  192.         // line 75
  193.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Are you sure? You want to perform this action."), "html"nulltrue);
  194.         yield "</p>
  195.                 <div class=\"uv-pop-up-actions\">
  196.                     <a href=\"#\" class=\"uv-btn uv-btn-error confirm\">";
  197.         // line 78
  198.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm"), "html"nulltrue);
  199.         yield "</a>
  200.                     <a href=\"#\" class=\"uv-btn cancel\">";
  201.         // line 79
  202.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cancel"), "html"nulltrue);
  203.         yield "</a>
  204.                 </div>
  205.             </div>
  206.         </div>
  207.         ";
  208.         // line 84
  209.         $context["currentUser"] = 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.'84$this->source); })()), "getSessionUser", [], "method"falsefalsefalse84);
  210.         // line 85
  211.         yield "        ";
  212.         if (( !Twig\Extension\CoreExtension::testEmpty((isset($context["currentUser"]) || array_key_exists("currentUser"$context) ? $context["currentUser"] : (function () { throw new RuntimeError('Variable "currentUser" does not exist.'85$this->source); })())) &&  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["currentUser"]) || array_key_exists("currentUser"$context) ? $context["currentUser"] : (function () { throw new RuntimeError('Variable "currentUser" does not exist.'85$this->source); })()), "getAgentInstance", [], "method"falsefalsefalse85)))) {
  213.             // line 86
  214.             yield "            ";
  215.             $context["currentUserDetails"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["currentUser"]) || array_key_exists("currentUser"$context) ? $context["currentUser"] : (function () { throw new RuntimeError('Variable "currentUser" does not exist.'86$this->source); })()), "getAgentInstance", [], "method"falsefalsefalse86), "getPartialDetails", [], "method"falsefalsefalse86);
  216.             // line 87
  217.             yield "        ";
  218.         }
  219.         // line 88
  220.         yield "
  221.         ";
  222.         // line 89
  223.         yield from $this->unwrap()->yieldBlock('sidebar'$context$blocks);
  224.         // line 94
  225.         yield "
  226.         ";
  227.         // line 95
  228.         yield from $this->unwrap()->yieldBlock('pageWrapper'$context$blocks);
  229.         // line 108
  230.         yield "        
  231.         ";
  232.         // line 109
  233.         yield from $this->unwrap()->yieldBlock('footer'$context$blocks);
  234.         // line 163
  235.         yield "
  236.         ";
  237.         // line 165
  238.         yield "        ";
  239.         $context['_parent'] = $context;
  240.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["uvdesk_extensibles"]) || array_key_exists("uvdesk_extensibles"$context) ? $context["uvdesk_extensibles"] : (function () { throw new RuntimeError('Variable "uvdesk_extensibles" does not exist.'165$this->source); })()), "getRegisteredComponent", ["Webkul\\UVDesk\\CoreFrameworkBundle\\Dashboard\\Dashboard"], "method"falsefalsefalse165), "getDashboardTemplate", [], "method"falsefalsefalse165), "getJavascriptResources", [], "method"falsefalsefalse165));
  241.         foreach ($context['_seq'] as $context["_key"] => $context["javascript"]) {
  242.             // line 166
  243.             yield "            <script src=\"";
  244.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["javascript"]), "html"nulltrue);
  245.             yield "\" type=\"text/javascript\"></script>
  246.         ";
  247.         }
  248.         $_parent $context['_parent'];
  249.         unset($context['_seq'], $context['_key'], $context['javascript'], $context['_parent']);
  250.         $context array_intersect_key($context$_parent) + $_parent;
  251.         // line 168
  252.         yield "    </body>
  253. </html>";
  254.         
  255.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  256.         
  257.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  258.         yield from [];
  259.     }
  260.     // line 4
  261.     /**
  262.      * @return iterable<null|scalar|\Stringable>
  263.      */
  264.     public function block_title(array $context, array $blocks = []): iterable
  265.     {
  266.         $macros $this->macros;
  267.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  268.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  269.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  270.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  271.         yield "HelpDesk";
  272.         
  273.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  274.         
  275.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  276.         yield from [];
  277.     }
  278.     // line 27
  279.     /**
  280.      * @return iterable<null|scalar|\Stringable>
  281.      */
  282.     public function block_templateCSS(array $context, array $blocks = []): iterable
  283.     {
  284.         $macros $this->macros;
  285.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  286.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""templateCSS"));
  287.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  288.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""templateCSS"));
  289.         
  290.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  291.         
  292.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  293.         yield from [];
  294.     }
  295.     // line 89
  296.     /**
  297.      * @return iterable<null|scalar|\Stringable>
  298.      */
  299.     public function block_sidebar(array $context, array $blocks = []): iterable
  300.     {
  301.         $macros $this->macros;
  302.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  303.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  304.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  305.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  306.         // line 90
  307.         yield "            ";
  308.         if ((array_key_exists("currentUser"$context) &&  !Twig\Extension\CoreExtension::testEmpty((isset($context["currentUser"]) || array_key_exists("currentUser"$context) ? $context["currentUser"] : (function () { throw new RuntimeError('Variable "currentUser" does not exist.'90$this->source); })())))) {
  309.             // line 91
  310.             yield "                ";
  311.             yield from             $this->loadTemplate("@UVDeskCoreFramework/Templates/sidebar.html.twig""@UVDeskCoreFramework//Templates//layout.html.twig"91)->unwrap()->yield($context);
  312.             // line 92
  313.             yield "            ";
  314.         }
  315.         // line 93
  316.         yield "        ";
  317.         
  318.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  319.         
  320.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  321.         yield from [];
  322.     }
  323.     // line 95
  324.     /**
  325.      * @return iterable<null|scalar|\Stringable>
  326.      */
  327.     public function block_pageWrapper(array $context, array $blocks = []): iterable
  328.     {
  329.         $macros $this->macros;
  330.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  331.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageWrapper"));
  332.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  333.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageWrapper"));
  334.         // line 96
  335.         yield "            <div class=\"uv-paper\">
  336.                 ";
  337.         // line 97
  338.         yield from $this->unwrap()->yieldBlock('pageHeader'$context$blocks);
  339.         // line 100
  340.         yield "
  341.                 <div class=\"uv-wrapper\">
  342.                     <div class=\"uv-container\">
  343.                         ";
  344.         // line 103
  345.         yield from $this->unwrap()->yieldBlock('pageContent'$context$blocks);
  346.         // line 104
  347.         yield "                    </div>
  348.                 </div>
  349.             </div>
  350.         ";
  351.         
  352.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  353.         
  354.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  355.         yield from [];
  356.     }
  357.     // line 97
  358.     /**
  359.      * @return iterable<null|scalar|\Stringable>
  360.      */
  361.     public function block_pageHeader(array $context, array $blocks = []): iterable
  362.     {
  363.         $macros $this->macros;
  364.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  365.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageHeader"));
  366.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  367.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageHeader"));
  368.         // line 98
  369.         yield "                    ";
  370.         yield from         $this->loadTemplate("@UVDeskCoreFramework/Templates/header.html.twig""@UVDeskCoreFramework//Templates//layout.html.twig"98)->unwrap()->yield($context);
  371.         // line 99
  372.         yield "                ";
  373.         
  374.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  375.         
  376.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  377.         yield from [];
  378.     }
  379.     // line 103
  380.     /**
  381.      * @return iterable<null|scalar|\Stringable>
  382.      */
  383.     public function block_pageContent(array $context, array $blocks = []): iterable
  384.     {
  385.         $macros $this->macros;
  386.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  387.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageContent"));
  388.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  389.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageContent"));
  390.         
  391.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  392.         
  393.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  394.         yield from [];
  395.     }
  396.     // line 109
  397.     /**
  398.      * @return iterable<null|scalar|\Stringable>
  399.      */
  400.     public function block_footer(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""footer"));
  405.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  406.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  407.         // line 110
  408.         yield "            <script src=\"";
  409.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/js/_common.js"), "html"nulltrue);
  410.         yield "\"></script>
  411.             ";
  412.         // line 111
  413.         yield from         $this->loadTemplate("@UVDeskCoreFramework/Templates/pagination.html.twig""@UVDeskCoreFramework//Templates//layout.html.twig"111)->unwrap()->yield($context);
  414.         // line 112
  415.         yield "
  416.             ";
  417.         // line 114
  418.         yield "            <div class=\"uv-pop-up-overlay\" id=\"confirm-modal\">
  419.                 <div class=\"uv-pop-up-box uv-pop-up-slim\">
  420.                     <span class=\"uv-pop-up-close\"></span>
  421.                     <h2>";
  422.         // line 117
  423.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm Action"), "html"nulltrue);
  424.         yield "</h2>
  425.                     <p>";
  426.         // line 118
  427.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Are you sure? You want to perform this action."), "html"nulltrue);
  428.         yield "</p>
  429.                     <div class=\"uv-pop-up-actions\">
  430.                         <a href=\"#\" class=\"uv-btn uv-btn-error confirm\">";
  431.         // line 121
  432.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm"), "html"nulltrue);
  433.         yield "</a>
  434.                         <a href=\"#\" class=\"uv-btn cancel\">";
  435.         // line 122
  436.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cancel"), "html"nulltrue);
  437.         yield "</a>
  438.                     </div>
  439.                 </div>
  440.             </div>
  441.             ";
  442.         // line 128
  443.         yield "            <script type=\"text/template\" id=\"loader-tmp\">
  444.                 <div class=\"uv-loader\">
  445.                     <span></span>
  446.                     <span></span>
  447.                     <span></span>
  448.                 </div>
  449.             </script>
  450.             ";
  451.         // line 137
  452.         yield "            <script type=\"text/template\" id=\"full-view-loader\">
  453.                 <div class=\"uv-loader-view\">
  454.                     <div class=\"uv-loader\">
  455.                         <span></span>
  456.                         <span></span>
  457.                         <span></span>
  458.                     </div>
  459.                 </div>
  460.             </script>
  461.             ";
  462.         // line 148
  463.         yield "            <script type=\"text/template\" id=\"notification-template\">
  464.                 <div class=\"uv-notification <% if(alertClass == 'danger') { %>uv-error<% } else { %> <%= 'uv-' + alertClass %> <% } %>\">
  465.                     <span class=\"uv-notification-close\"></span>
  466.                     <p><%= alertMessage %> </p>
  467.                 </div>
  468.             </script>
  469.             <script type=\"text/javascript\">
  470.                 var warningResponse = {
  471.                     'alertClass' : 'danger',
  472.                     'alertMessage' : '";
  473.         // line 158
  474.         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);
  475.         yield "',
  476.                 };
  477.             </script>
  478.         ";
  479.         
  480.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  481.         
  482.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  483.         yield from [];
  484.     }
  485.     /**
  486.      * @codeCoverageIgnore
  487.      */
  488.     public function getTemplateName(): string
  489.     {
  490.         return "@UVDeskCoreFramework//Templates//layout.html.twig";
  491.     }
  492.     /**
  493.      * @codeCoverageIgnore
  494.      */
  495.     public function isTraitable(): bool
  496.     {
  497.         return false;
  498.     }
  499.     /**
  500.      * @codeCoverageIgnore
  501.      */
  502.     public function getDebugInfo(): array
  503.     {
  504.         return array (  531 => 158,  519 => 148,  507 => 137,  497 => 128,  489 => 122,  485 => 121,  479 => 118,  475 => 117,  470 => 114,  467 => 112,  465 => 111,  460 => 110,  447 => 109,  425 => 103,  414 => 99,  411 => 98,  398 => 97,  384 => 104,  382 => 103,  377 => 100,  375 => 97,  372 => 96,  359 => 95,  348 => 93,  345 => 92,  342 => 91,  339 => 90,  326 => 89,  304 => 27,  281 => 4,  269 => 168,  260 => 166,  255 => 165,  252 => 163,  250 => 109,  247 => 108,  245 => 95,  242 => 94,  240 => 89,  237 => 88,  234 => 87,  231 => 86,  228 => 85,  226 => 84,  218 => 79,  214 => 78,  208 => 75,  204 => 74,  197 => 69,  194 => 68,  185 => 65,  181 => 63,  177 => 62,  174 => 61,  165 => 58,  161 => 56,  156 => 55,  154 => 54,  146 => 49,  133 => 39,  128 => 37,  117 => 28,  115 => 27,  112 => 26,  103 => 24,  99 => 23,  93 => 20,  90 => 19,  87 => 18,  85 => 17,  74 => 9,  70 => 8,  64 => 5,  60 => 4,  55 => 1,);
  505.     }
  506.     public function getSourceContext(): Source
  507.     {
  508.         return new Source("<!DOCTYPE html>
  509. <html>
  510.     <head>
  511.         <title>{% block title %}HelpDesk{% endblock %}</title>
  512.         <link rel=\"icon\" type=\"image/x-icon\" sizes=\"16x16 32x32 48x48\" href=\"{{ asset('favicon.ico') }}\" />
  513.         <!-- Stylesheets -->
  514.         <link href=\"{{ asset('bundles/uvdeskcoreframework/css/_uikit.css') }}\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
  515.         <link href=\"{{ asset('bundles/uvdeskcoreframework/css/_custom.css') }}\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
  516.         <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.15.4/css/all.css\" integrity=\"sha384-DyZ88mC6Up2uqS4h/6nTrv0KXzKr4C2hE3IHRVbwbOLdxoqWcTIm9RIndh4bIr84\" crossorigin=\"anonymous\">
  517.         <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css\" integrity=\"sha512-...\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
  518.         <link href=\"//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css\" type=\"text/css\" rel=\"stylesheet\">
  519.         <link href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css\" rel=\"stylesheet\">
  520.         <link href=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css\" type=\"text/css\" rel=\"stylesheet\">
  521.         <!-- Custom CSS -->
  522.         {% set websiteConfiguration = user_service.getWebsiteConfiguration('knowledgebase') %}
  523.         {% set website = user_service.getWebsiteDetails('helpdesk') %}
  524.         {{ include('@UVDeskCoreFramework/Templates/lightskin.html.twig') }}
  525.         <!-- Custom Stylesheets -->
  526.         {% for stylesheet in uvdesk_extensibles.getRegisteredComponent('Webkul\\\\UVDesk\\\\CoreFrameworkBundle\\\\Dashboard\\\\Dashboard').getDashboardTemplate().getStylesheetResources() %}
  527.             <link href=\"{{ asset(stylesheet) }}\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
  528.         {% endfor %}
  529.         
  530.         {% block templateCSS %}{% endblock %}
  531.         <!-- Scripts -->
  532.         <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js\"></script>
  533.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.1/underscore-min.js\"></script>
  534.         <script src=\"http://localhost/vendor/uvdesk/core-framework/Resources/views/mxClient.min.js\"></script>
  535.         <script src=\"http://localhost/vendor/uvdesk/core-framework/Resources/views/mxClient.js\"></script>
  536.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.4.0/backbone-min.js\"></script>
  537.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.validation/0.11.5/backbone-validation-min.js\"></script>
  538.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.paginator/2.0.8/backbone.paginator.min.js\"></script>
  539.         <script src=\"{{ asset('bundles/uvdeskcoreframework/js/_dropdown.js') }}\"></script>
  540.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/d3/6.2.0/d3.min.js\"></script>
  541.         <script src=\"{{ asset('bundles/uvdeskcoreframework/js/viewer.js') }}\"></script>
  542.         <script src=\"https://code.jquery.com/ui/1.12.1/jquery-ui.js\"></script>
  543.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.0/moment.min.js\"></script>\t
  544.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js\"></script>
  545.     </head>
  546.     <body>
  547.         <div class=\"uv-notifications-wrapper\">
  548.             <noscript>
  549.                 <div class=\"uv-notification page-load uv-error\">
  550.                     <p>{% trans %}Your browser does not support JavaScript or You disabled JavaScript, Please enable those !{% endtrans %}</p>
  551.                 </div>
  552.                 <style>.uv-loader-view {display: none;}</style>
  553.             </noscript>
  554.             {% if uvdesk_service.requestHeadersSent() == false %}
  555.                 {% for flashMessage in app.session.flashbag.get('success') %}
  556.                     <div class=\"uv-notification page-load uv-success\">
  557.                         <span class=\"uv-notification-close\"></span>
  558.                         <p>{{ flashMessage|raw }}</p>
  559.                     </div>
  560.                 {% endfor %}
  561.                 
  562.                 {% for flashMessage in app.session.flashbag.get('warning') %}
  563.                     <div class=\"uv-notification page-load uv-error\">
  564.                         <span class=\"uv-notification-close\"></span>
  565.                         <p>{{ flashMessage|raw }}</p>
  566.                     </div>
  567.                 {% endfor %}
  568.             {% endif %}
  569.         </div>
  570.         <div class=\"uv-pop-up-overlay\" id=\"confirm-modal\">
  571.             <div class=\"uv-pop-up-box uv-pop-up-slim\">
  572.                 <span class=\"uv-pop-up-close\"></span>
  573.                 <h2>{{ 'Confirm Action'|trans }}</h2>
  574.                 <p>{{ 'Are you sure? You want to perform this action.'|trans }}</p>
  575.                 <div class=\"uv-pop-up-actions\">
  576.                     <a href=\"#\" class=\"uv-btn uv-btn-error confirm\">{{ 'Confirm'|trans }}</a>
  577.                     <a href=\"#\" class=\"uv-btn cancel\">{{ 'Cancel'|trans }}</a>
  578.                 </div>
  579.             </div>
  580.         </div>
  581.         {% set currentUser = user_service.getSessionUser() %}
  582.         {% if currentUser is not empty and currentUser.getAgentInstance() is not empty %}
  583.             {% set currentUserDetails = currentUser.getAgentInstance().getPartialDetails() %}
  584.         {% endif %}
  585.         {% block sidebar %}
  586.             {% if currentUser is defined and currentUser is not empty %}
  587.                 {% include \"@UVDeskCoreFramework/Templates/sidebar.html.twig\" %}
  588.             {% endif %}
  589.         {% endblock %}
  590.         {% block pageWrapper %}
  591.             <div class=\"uv-paper\">
  592.                 {% block pageHeader %}
  593.                     {% include \"@UVDeskCoreFramework/Templates/header.html.twig\" %}
  594.                 {% endblock %}
  595.                 <div class=\"uv-wrapper\">
  596.                     <div class=\"uv-container\">
  597.                         {% block pageContent %}{% endblock %}
  598.                     </div>
  599.                 </div>
  600.             </div>
  601.         {% endblock %}
  602.         
  603.         {% block footer %}
  604.             <script src=\"{{ asset('bundles/uvdeskcoreframework/js/_common.js') }}\"></script>
  605.             {% include \"@UVDeskCoreFramework/Templates/pagination.html.twig\" %}
  606.             {# Confirm Action Dialog #}
  607.             <div class=\"uv-pop-up-overlay\" id=\"confirm-modal\">
  608.                 <div class=\"uv-pop-up-box uv-pop-up-slim\">
  609.                     <span class=\"uv-pop-up-close\"></span>
  610.                     <h2>{{ 'Confirm Action'|trans }}</h2>
  611.                     <p>{{ 'Are you sure? You want to perform this action.'|trans }}</p>
  612.                     <div class=\"uv-pop-up-actions\">
  613.                         <a href=\"#\" class=\"uv-btn uv-btn-error confirm\">{{ 'Confirm'|trans }}</a>
  614.                         <a href=\"#\" class=\"uv-btn cancel\">{{ 'Cancel'|trans }}</a>
  615.                     </div>
  616.                 </div>
  617.             </div>
  618.             {# Loader Template #}
  619.             <script type=\"text/template\" id=\"loader-tmp\">
  620.                 <div class=\"uv-loader\">
  621.                     <span></span>
  622.                     <span></span>
  623.                     <span></span>
  624.                 </div>
  625.             </script>
  626.             {# Full View Loader Template #}
  627.             <script type=\"text/template\" id=\"full-view-loader\">
  628.                 <div class=\"uv-loader-view\">
  629.                     <div class=\"uv-loader\">
  630.                         <span></span>
  631.                         <span></span>
  632.                         <span></span>
  633.                     </div>
  634.                 </div>
  635.             </script>
  636.             {# Notification Template #}
  637.             <script type=\"text/template\" id=\"notification-template\">
  638.                 <div class=\"uv-notification <% if(alertClass == 'danger') { %>uv-error<% } else { %> <%= 'uv-' + alertClass %> <% } %>\">
  639.                     <span class=\"uv-notification-close\"></span>
  640.                     <p><%= alertMessage %> </p>
  641.                 </div>
  642.             </script>
  643.             <script type=\"text/javascript\">
  644.                 var warningResponse = {
  645.                     'alertClass' : 'danger',
  646.                     'alertMessage' : '{{ \"Error : Something went wrong, please try again later\"|trans }}',
  647.                 };
  648.             </script>
  649.         {% endblock %}
  650.         {# Custom Javascript #}
  651.         {% for javascript in uvdesk_extensibles.getRegisteredComponent('Webkul\\\\UVDesk\\\\CoreFrameworkBundle\\\\Dashboard\\\\Dashboard').getDashboardTemplate().getJavascriptResources() %}
  652.             <script src=\"{{ asset(javascript) }}\" type=\"text/javascript\"></script>
  653.         {% endfor %}
  654.     </body>
  655. </html>""@UVDeskCoreFramework//Templates//layout.html.twig""/home/popeesdranzo/public_html/vendor/uvdesk/core-framework/Resources/views/Templates/layout.html.twig");
  656.     }
  657. }