<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* layouts/layout-portal.html.twig */
class __TwigTemplate_5c379010f6c89c6afe7320c199f9e660 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'layout_head_meta' => [$this, 'block_layout_head_meta'],
'head_stylesheets' => [$this, 'block_head_stylesheets'],
'headscripts' => [$this, 'block_headscripts'],
'inlinescripts' => [$this, 'block_inlinescripts'],
];
$this->deferred = $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layouts/layout-portal.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layouts/layout-portal.html.twig"));
// line 1
echo "<!doctype html>
<html lang=\"";
// line 2
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($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", false, false, false, 2), "locale", [], "any", false, false, false, 2), "html", null, true);
echo "\">
\t<head>
\t\t<!-- Required meta tags -->
\t\t<meta charset=\"utf-8\">
\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=0\"\">
\t\t<meta http-equiv=\"Cache-Control\" content=\"no-cache, no-store, must-revalidate, max-age=0\">
\t\t<meta http-equiv=\"Pragma\" content=\"no-cache\">
\t\t";
// line 9
ob_start();
// line 10
echo "\t\t";
// line 11
echo "\t\t";
// line 12
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => "https://fonts.googleapis.com/css?family=Hind+Guntur:300,400,500,600,700&display=swap"], "method", false, false, false, 12);
// line 13
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => "https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css", 1 => null, 2 => null, 3 => ["integrity" => "sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T", "crossorigin" => "anonymous"]], "method", false, false, false, 13);
// line 14
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => "https://use.fontawesome.com/releases/v5.9.0/css/all.css"], "method", false, false, false, 14);
// line 15
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/lib/magnific/magnific.css"), 1 => "screen"], "method", false, false, false, 15);
// line 16
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/lib/autocompletejs/css/autoComplete.css"), 1 => "screen"], "method", false, false, false, 16);
// line 17
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => "https://use.fontawesome.com/releases/v5.7.0/css/all.css", 1 => null, 2 => null, 3 => ["integrity" => "sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ", "crossorigin" => "anonymous"]], "method", false, false, false, 17);
// line 18
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/global.css")], "method", false, false, false, 18);
// line 19
echo "\t\t";
// line 20
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/sidebar.css")], "method", false, false, false, 20);
// line 21
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => "https://unpkg.com/boxicons@2.0.7/css/boxicons.min.css"], "method", false, false, false, 21);
// line 22
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/react-overrides.css")], "method", false, false, false, 22);
// line 23
echo "\t\t";
// line 24
echo "\t\t\t";
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 24, $this->source); })())) {
// line 25
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/editmode.css")], "method", false, false, false, 25);
// line 26
echo "\t\t";
}
// line 27
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => "https://code.jquery.com/jquery-3.3.1.slim.min.js", 1 => null, 2 => null, 3 => ["integrity" => "sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo", "crossorigin" => "anonymous"]], "method", false, false, false, 27);
// line 28
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js", 1 => null, 2 => null, 3 => ["integrity" => "sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1", "crossorigin" => "anonymous"]], "method", false, false, false, 28);
// line 29
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => "https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js", 1 => null, 2 => null, 3 => ["integrity" => "sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM", "crossorigin" => "anonymous"]], "method", false, false, false, 29);
// line 30
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => "https://cdn.jsdelivr.net/npm/axios@0.24.0/dist/axios.min.js", 1 => null, 2 => null, 3 => ["integrity" => "sha256-rtaseLgkmpx8/wAw87kh7p93HLFoQWTz5nnhAjpNXGk=", "crossorigin" => "anonymous"]], "method", false, false, false, 30);
// line 31
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => "//cdn.jsdelivr.net/npm/sweetalert2@11", 1 => null, 2 => null, 3 => null], "method", false, false, false, 31);
// line 32
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => "https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js", 1 => null, 2 => null, 3 => null], "method", false, false, false, 32);
// line 33
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/lib/magnific/magnific.js")], "method", false, false, false, 33);
// line 34
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/lib/autocompletejs/js/autoComplete.min.js")], "method", false, false, false, 34);
// line 35
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/search-autocomplete.js")], "method", false, false, false, 35);
// line 36
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/main.js")], "method", false, false, false, 36);
// line 37
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/sidebar.js")], "method", false, false, false, 37);
// line 38
echo "\t\t\t";
if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 38, $this->source); })())) {
// line 39
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/frontend.js")], "method", false, false, false, 39);
// line 40
echo "\t\t";
}
// line 41
echo "
\t\t\t";
// line 42
if (( !array_key_exists("document", $context) || !(isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 42, $this->source); })()))) {
// line 43
echo "\t\t";
$context["document"] = Pimcore\Model\Document::getById(1);
// line 44
echo "\t\t";
}
// line 45
echo "
\t\t\t";
// line 46
if (call_user_func_array($this->env->getTest('instanceof')->getCallable(), [(isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 46, $this->source); })()), "\\Pimcore\\Model\\Document\\Link"])) {
// line 47
echo "\t\t\t";
// line 48
echo "\t\t";
$context["document"] = twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 48, $this->source); })()), "getObject", [], "method", false, false, false, 48);
// line 49
echo "\t\t";
}
// line 50
echo "
\t\t\t";
// line 51
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 51, $this->source); })()), "getTitle", [], "method", false, false, false, 51))) {
// line 52
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_title')->getCallable(), []), "set", [0 => twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 52, $this->source); })()), "getTitle", [], "method", false, false, false, 52)], "method", false, false, false, 52);
// line 53
echo "\t\t";
}
// line 54
echo "
\t\t\t";
// line 55
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 55, $this->source); })()), "getDescription", [], "method", false, false, false, 55))) {
// line 56
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []), "setDescription", [0 => twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 56, $this->source); })()), "getDescription", [], "method", false, false, false, 56)], "method", false, false, false, 56);
// line 57
echo "\t\t";
}
// line 58
echo "
\t\t";
// line 59
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_title')->getCallable(), []), "append", [0 => "Carpeta Ciudadana"], "method", false, false, false, 59);
// line 60
echo "\t\t";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_title')->getCallable(), []), "setSeparator", [0 => " : "], "method", false, false, false, 60);
// line 61
echo "\t\t";
$context["isPortal"] = (array_key_exists("isPortal", $context) && (isset($context["isPortal"]) || array_key_exists("isPortal", $context) ? $context["isPortal"] : (function () { throw new RuntimeError('Variable "isPortal" does not exist.', 61, $this->source); })()));
// line 62
echo "\t\t";
$___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 9
echo twig_spaceless($___internal_parse_0_);
// line 63
echo "
\t\t";
// line 65
echo "\t\t\t";
$this->displayBlock('layout_head_meta', $context, $blocks);
// line 73
echo "
\t\t";
// line 74
$this->displayBlock('head_stylesheets', $context, $blocks);
// line 77
echo "\t</head>
\t<body>
\t\t<div
\t\t\tclass=\"wrapper\">
\t\t\t";
// line 82
echo "\t\t\t";
if (( !array_key_exists("document", $context) || !(isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 82, $this->source); })()))) {
// line 83
echo "\t\t\t\t";
$context["document"] = Pimcore\Model\Document::getById(1);
// line 84
echo "\t\t\t";
}
// line 85
echo "
\t\t\t";
// line 87
echo "\t\t\t";
$context["navStartNode"] = twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 87, $this->source); })()), "getProperty", [0 => "navigation_root"], "method", false, false, false, 87);
// line 88
echo "
\t\t\t";
// line 89
if ( !call_user_func_array($this->env->getTest('instanceof')->getCallable(), [(isset($context["navStartNode"]) || array_key_exists("navStartNode", $context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.', 89, $this->source); })()), "\\Pimcore\\Model\\Document"])) {
// line 90
echo "\t\t\t\t";
$context["navStartNode"] = Pimcore\Model\Document::getById(1);
// line 91
echo "\t\t\t";
}
// line 92
echo "
\t\t\t
\t\t\t<div class=\"sidebar\">
\t\t\t\t<div class=\"logo-details d-flex justify-content-center\">
\t\t\t\t\t<img src=\"/static/images/M.png\" width=\"100px\" height=\"100px\" class='bx bxl-c-plus-plus icon'>
\t\t\t\t\t<span class=\"tooltip\"></span>
\t\t\t\t\t<!--<div class=\"logo_name\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t P C C
\t\t\t\t\t\t\t\t\t\t\t\t\t\t </div>-->
\t\t\t\t\t<i class='bx bx-menu' id=\"btn\"></i>
\t\t\t\t</div>
\t\t\t\t<hr style=\"height:2px;border-width:0;color:gray;background-color:white\">
\t\t\t\t<ul class=\"nav-list\">
";
// line 108
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
// line 109
echo " <li>
<a href=\"/es/psp/admin/Catalogos\">
<i class='bx bx-grid-alt'></i>
<span class=\"links_name\">Administración de catálogos</span>
</a>
<span class=\"tooltip\">Administración de catálogos</span>
</li>
<li>
<a href=\"#\">
<i class='bx bx-pie-chart-alt-2'></i>
<span class=\"links_name\">Tablero de Control</span>
</a>
<span class=\"tooltip\">Tablero de Control</span>
</li>
<li>
<a href=\"#\">
<i class='bx bx-user'></i>
<span class=\"links_name\">Reportes</span>
</a>
<span class=\"tooltip\">Reportes</span>
</li>
<li>
<a href=\"#\">
<i class='bx bx-folder'></i>
<span class=\"links_name\">Visor de Documentos</span>
</a>
<span class=\"tooltip\">Visor de Documentos</span>
</li>
";
}
// line 138
echo "\t\t\t\t</ul>
<div class=\"profile\">
<div class=\"profile-details\">
<div class=\"name_job\">
";
// line 142
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
// line 143
echo " <div class=\"name\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.logged-in-as", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 143, $this->source); })()), "user", [], "any", false, false, false, 143), "firstname", [], "any", false, false, false, 143)]), "html", null, true);
echo "</div>
<a class=\"text-white\" style=\"background: none;font-size:x-small;\" href=\"";
// line 144
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account-index");
echo "\" class=\"name\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.profile"), "html", null, true);
echo "</a>
";
}
// line 146
echo " </div>
</div>
</div>
\t\t\t</div>
\t\t\t<section class=\"home-section\">
\t\t\t\t";
// line 183
echo "
\t\t\t\t";
// line 184
echo call_user_func_array($this->env->getFunction('pimcore_inc')->getCallable(), [twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 184, $this->source); })()), "getProperty", [0 => "header"], "method", false, false, false, 184)]);
echo "
\t\t\t\t<main role=\"main\">
\t\t\t\t\t\t";
// line 189
$this->displayBlock("content", $context, $blocks);
echo "
\t\t\t\t\t
\t\t\t\t\t<a id=\"back-to-top\" href=\"#\" class=\"btn btn-primary btn-lg back-to-top\" role=\"button\" title=\"Click to return on the top\" data-toggle=\"tooltip\" data-placement=\"left\">
\t\t\t\t\t\t<span class=\"fa fa-arrow-up\"></span>
\t\t\t\t\t</a>
\t\t\t\t</main>
\t\t\t</section>
\t\t</div>
\t\t";
// line 200
echo "\t\t";
$this->displayBlock('headscripts', $context, $blocks);
// line 203
echo "
\t\t";
// line 205
$this->displayBlock('inlinescripts', $context, $blocks);
// line 208
echo "\t\t
\t\t";
// line 209
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 209, $this->source); })()), "flashes", [], "any", false, false, false, 209));
foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
// line 210
echo "\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["messages"]);
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 211
echo "\t\t\t\t";
// line 215
echo "\t\t\t\t<script>
\t\t\t\t\tvar title = 'Éxito';
var icono = 'success';
if ('";
// line 218
echo twig_escape_filter($this->env, $context["label"], "html", null, true);
echo "' === 'danger') {
title = 'Error';
icono = 'error';
}
if ('";
// line 222
echo twig_escape_filter($this->env, $context["label"], "html", null, true);
echo "' === 'warning') {
title = 'Advertencia';
icono = 'warning';
}
Swal.fire(title, '";
// line 226
echo twig_escape_filter($this->env, $context["message"], "html", null, true);
echo "', icono)
\t\t\t\t</script>
\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 229
echo "\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 230
echo "\t</body>
</html>";
$this->deferred->resolve($this, $context, $blocks);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function block_layout_head_meta($context, array $blocks = [])
{
$this->deferred->defer($this, 'layout_head_meta');
}
// line 65
public function block_layout_head_meta_deferred($context, array $blocks = [])
{
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_meta"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_meta"));
// line 66
echo "\t\t\t";
echo call_user_func_array($this->env->getFunction('pimcore_head_title')->getCallable(), []);
echo "
\t\t\t";
// line 67
echo call_user_func_array($this->env->getFunction('pimcore_head_meta')->getCallable(), []);
echo "
\t\t\t\t";
// line 69
if (twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_placeholder')->getCallable(), ["canonical"]), "count", [], "method", false, false, false, 69)) {
// line 70
echo "\t\t\t<link rel=\"canonical\" href=\"";
echo call_user_func_array($this->env->getFunction('pimcore_placeholder')->getCallable(), ["canonical"]);
echo "\"/> ";
}
// line 71
echo "
\t\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function block_head_stylesheets($context, array $blocks = [])
{
$this->deferred->defer($this, 'head_stylesheets');
}
// line 74
public function block_head_stylesheets_deferred($context, array $blocks = [])
{
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
// line 75
echo "\t\t\t";
echo call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []);
echo "
\t\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function block_headscripts($context, array $blocks = [])
{
$this->deferred->defer($this, 'headscripts');
}
// line 200
public function block_headscripts_deferred($context, array $blocks = [])
{
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headscripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headscripts"));
// line 201
echo "\t\t\t";
echo call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []);
echo "
\t\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function block_inlinescripts($context, array $blocks = [])
{
$this->deferred->defer($this, 'inlinescripts');
}
// line 205
public function block_inlinescripts_deferred($context, array $blocks = [])
{
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inlinescripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inlinescripts"));
// line 206
echo "\t\t\t";
echo call_user_func_array($this->env->getFunction('pimcore_inline_script')->getCallable(), []);
echo "
\t\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function getTemplateName()
{
return "layouts/layout-portal.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 544 => 206, 535 => 205, 516 => 201, 507 => 200, 488 => 75, 479 => 74, 462 => 71, 457 => 70, 455 => 69, 450 => 67, 445 => 66, 436 => 65, 419 => 230, 413 => 229, 404 => 226, 397 => 222, 390 => 218, 385 => 215, 383 => 211, 378 => 210, 374 => 209, 371 => 208, 369 => 205, 365 => 203, 362 => 200, 349 => 189, 341 => 184, 338 => 183, 328 => 146, 321 => 144, 316 => 143, 314 => 142, 308 => 138, 277 => 109, 275 => 108, 257 => 92, 254 => 91, 251 => 90, 249 => 89, 246 => 88, 243 => 87, 240 => 85, 237 => 84, 234 => 83, 231 => 82, 225 => 77, 223 => 74, 220 => 73, 217 => 65, 214 => 63, 212 => 9, 209 => 62, 206 => 61, 203 => 60, 201 => 59, 198 => 58, 195 => 57, 192 => 56, 190 => 55, 187 => 54, 184 => 53, 181 => 52, 179 => 51, 176 => 50, 173 => 49, 170 => 48, 168 => 47, 166 => 46, 163 => 45, 160 => 44, 157 => 43, 155 => 42, 152 => 41, 149 => 40, 146 => 39, 143 => 38, 140 => 37, 137 => 36, 134 => 35, 131 => 34, 128 => 33, 125 => 32, 122 => 31, 119 => 30, 116 => 29, 113 => 28, 110 => 27, 107 => 26, 104 => 25, 101 => 24, 99 => 23, 96 => 22, 93 => 21, 90 => 20, 88 => 19, 85 => 18, 82 => 17, 79 => 16, 76 => 15, 73 => 14, 70 => 13, 67 => 12, 65 => 11, 63 => 10, 61 => 9, 51 => 2, 48 => 1,);
}
public function getSourceContext()
{
return new Source("<!doctype html>
<html lang=\"{{ app.request.locale }}\">
\t<head>
\t\t<!-- Required meta tags -->
\t\t<meta charset=\"utf-8\">
\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=0\"\">
\t\t<meta http-equiv=\"Cache-Control\" content=\"no-cache, no-store, must-revalidate, max-age=0\">
\t\t<meta http-equiv=\"Pragma\" content=\"no-cache\">
\t\t{% apply spaceless %}
\t\t{# add global stylesheets and scripts outside of any blocsk to add them to the helpers before any others assets are added #}
\t\t{# we use the view helper to have cache buster functionality #}
\t\t{% do pimcore_head_link().appendStylesheet('https://fonts.googleapis.com/css?family=Hind+Guntur:300,400,500,600,700&display=swap') %}
\t\t{% do pimcore_head_link().appendStylesheet('https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css',null,null,{integrity:\"sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T\",crossorigin:\"anonymous\"}) %}
\t\t{% do pimcore_head_link().appendStylesheet('https://use.fontawesome.com/releases/v5.9.0/css/all.css') %}
\t\t{% do pimcore_head_link().appendStylesheet(asset('static/lib/magnific/magnific.css'), 'screen') %}
\t\t{% do pimcore_head_link().appendStylesheet(asset('static/lib/autocompletejs/css/autoComplete.css'), 'screen') %}
\t\t{% do pimcore_head_link().appendStylesheet('https://use.fontawesome.com/releases/v5.7.0/css/all.css',null,null,{integrity:'sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ',crossorigin:'anonymous'}) %}
\t\t{% do pimcore_head_link().appendStylesheet(asset('static/css/global.css')) %}
\t\t{# Estilos Sidebar #}
\t\t{% do pimcore_head_link().appendStylesheet(asset('static/css/sidebar.css')) %}
\t\t{% do pimcore_head_link().appendStylesheet('https://unpkg.com/boxicons@2.0.7/css/boxicons.min.css') %}
\t\t{% do pimcore_head_link().appendStylesheet(asset('static/css/react-overrides.css')) %}
\t\t{# Fin estilos Sidebar #}
\t\t\t{% if editmode %}
\t\t{% do pimcore_head_link().appendStylesheet(asset('static/css/editmode.css')) %}
\t\t{% endif %}
\t\t{% do pimcore_head_script().appendFile('https://code.jquery.com/jquery-3.3.1.slim.min.js',null,null,{ integrity:\"sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo\",crossorigin:\"anonymous\"}) %}
\t\t{% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js',null,null,{ integrity:\"sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1\",crossorigin:\"anonymous\"}) %}
\t\t{% do pimcore_head_script().appendFile('https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js',null,null,{ integrity:\"sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM\",crossorigin:\"anonymous\"}) %}
\t\t{% do pimcore_head_script().appendFile('https://cdn.jsdelivr.net/npm/axios@0.24.0/dist/axios.min.js',null,null,{ integrity:\"sha256-rtaseLgkmpx8/wAw87kh7p93HLFoQWTz5nnhAjpNXGk=\",crossorigin:\"anonymous\"}) %}
\t\t{% do pimcore_head_script().appendFile('//cdn.jsdelivr.net/npm/sweetalert2@11',null,null,null) %}
\t\t{% do pimcore_head_script().appendFile('https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js',null,null,null) %}
\t\t{% do pimcore_head_script().appendFile(asset('static/lib/magnific/magnific.js')) %}
\t\t{% do pimcore_head_script().appendFile(asset('static/lib/autocompletejs/js/autoComplete.min.js')) %}
\t\t{% do pimcore_head_script().appendFile(asset('static/js/search-autocomplete.js')) %}
\t\t{% do pimcore_head_script().appendFile(asset('static/js/main.js')) %}
\t\t{% do pimcore_head_script().appendFile(asset('static/js/sidebar.js')) %}
\t\t\t{% if not editmode %}
\t\t{% do pimcore_head_script().appendFile(asset('static/js/frontend.js')) %}
\t\t{% endif %}
\t\t\t{% if not document is defined or not document %}
\t\t{% set document = pimcore_document(1) %}
\t\t{% endif %}
\t\t\t{% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Link') %}
\t\t\t{# @var document \\Pimcore\\Model\\Document\\Link #}
\t\t{% set document = document.getObject() %}
\t\t{% endif %}
\t\t\t{% if document.getTitle() is not empty %}
\t\t{% do pimcore_head_title().set(document.getTitle()) %}
\t\t{% endif %}
\t\t\t{% if document.getDescription() is not empty %}
\t\t{% do pimcore_head_meta().setDescription(document.getDescription()) %}
\t\t{% endif %}
\t\t{% do pimcore_head_title().append('Carpeta Ciudadana') %}
\t\t{% do pimcore_head_title().setSeparator(' : ') %}
\t\t{% set isPortal = ((isPortal is defined) and isPortal) %}
\t\t{% endapply %}
\t\t{# we're using the deferred extension here to make sure this block is rendered after all helper calls #}
\t\t\t{% block layout_head_meta deferred %}
\t\t\t{{ pimcore_head_title() }}
\t\t\t{{ pimcore_head_meta() }}
\t\t\t\t{% if pimcore_placeholder('canonical').count() %}
\t\t\t<link rel=\"canonical\" href=\"{{ pimcore_placeholder('canonical') }}\"/> {% endif %}
\t\t{% endblock %}
\t\t{% block head_stylesheets deferred %}
\t\t\t{{ pimcore_head_link() }}
\t\t{% endblock %}
\t</head>
\t<body>
\t\t<div
\t\t\tclass=\"wrapper\">
\t\t\t{# get root node if there is no document defined (for pages which are routed directly through static route) #}
\t\t\t{% if not document is defined or not document %}
\t\t\t\t{% set document = pimcore_document(1) %}
\t\t\t{% endif %}
\t\t\t{# get the document which should be used to start in navigation | default home #}
\t\t\t{% set navStartNode = document.getProperty('navigation_root') %}
\t\t\t{% if not navStartNode is instanceof('\\\\Pimcore\\\\Model\\\\Document') %}
\t\t\t\t{% set navStartNode = pimcore_document(1) %}
\t\t\t{% endif %}
\t\t\t
\t\t\t<div class=\"sidebar\">
\t\t\t\t<div class=\"logo-details d-flex justify-content-center\">
\t\t\t\t\t<img src=\"/static/images/M.png\" width=\"100px\" height=\"100px\" class='bx bxl-c-plus-plus icon'>
\t\t\t\t\t<span class=\"tooltip\"></span>
\t\t\t\t\t<!--<div class=\"logo_name\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t P C C
\t\t\t\t\t\t\t\t\t\t\t\t\t\t </div>-->
\t\t\t\t\t<i class='bx bx-menu' id=\"btn\"></i>
\t\t\t\t</div>
\t\t\t\t<hr style=\"height:2px;border-width:0;color:gray;background-color:white\">
\t\t\t\t<ul class=\"nav-list\">
{% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
<li>
<a href=\"/es/psp/admin/Catalogos\">
<i class='bx bx-grid-alt'></i>
<span class=\"links_name\">Administración de catálogos</span>
</a>
<span class=\"tooltip\">Administración de catálogos</span>
</li>
<li>
<a href=\"#\">
<i class='bx bx-pie-chart-alt-2'></i>
<span class=\"links_name\">Tablero de Control</span>
</a>
<span class=\"tooltip\">Tablero de Control</span>
</li>
<li>
<a href=\"#\">
<i class='bx bx-user'></i>
<span class=\"links_name\">Reportes</span>
</a>
<span class=\"tooltip\">Reportes</span>
</li>
<li>
<a href=\"#\">
<i class='bx bx-folder'></i>
<span class=\"links_name\">Visor de Documentos</span>
</a>
<span class=\"tooltip\">Visor de Documentos</span>
</li>
{% endif %}
\t\t\t\t</ul>
<div class=\"profile\">
<div class=\"profile-details\">
<div class=\"name_job\">
{% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
<div class=\"name\">{{ 'general.logged-in-as' | trans([app.user.firstname]) }}</div>
<a class=\"text-white\" style=\"background: none;font-size:x-small;\" href=\"{{ path('account-index') }}\" class=\"name\">{{ 'general.profile' | trans }}</a>
{% endif %}
</div>
</div>
</div>
\t\t\t</div>
\t\t\t<section class=\"home-section\">
\t\t\t\t{# <header>
\t\t\t\t\t<div class=\"bg-white m-3 p-1 border border-gray shadow\" style=\"border-radius: 8px;\">
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div
\t\t\t\t\t\t\t\tclass=\"col d-none d-md-block justify-content-center\" style=\"align-items: center;\">
\t\t\t\t\t\t\t\t<a class=\"py-2 mb-2\" href=\"{{ navStartNode }}\">
\t\t\t\t\t\t\t\t\t<img id=\"logo\" src=\"{{ asset('/static/images/edomex-logo1.png') }}\" alt=\"PCC\" width=\"170\" height=\"100\">
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"col\">
\t\t\t\t\t\t\t\t<div class=\"row d-flex justify-content-center\" style=\"align-items: center;\">
\t\t\t\t\t\t\t\t\t<h2>PSP</h2>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row d-flex justify-content-center\" style=\"align-items: center;\">
\t\t\t\t\t\t\t\t\t<img id=\"logo\" src=\"{{ asset('/static/images/linea.png') }}\" alt=\"PCC\" width=\"240\" height=\"3\">
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row d-flex justify-content-center\" style=\"align-items: center;\">
\t\t\t\t\t\t\t\t\t<p>Portal del Servidor Público Carpeta Ciudadana</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div
\t\t\t\t\t\t\t\tclass=\"col d-none d-md-block justify-content-center\" style=\"align-items: center;\">
\t\t\t\t\t\t\t\t<a class=\"py-2 mb-2\" href=\"{{ navStartNode }}\">
\t\t\t\t\t\t\t\t\t<img id=\"logo\" src=\"{{ asset('/static/images/edomex-logo2.png') }}\" alt=\"PCC\" width=\"100\" height=\"100\">
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</header> #}
\t\t\t\t{{ pimcore_inc(document.getProperty('header')) }}
\t\t\t\t<main role=\"main\">
\t\t\t\t\t\t{{ block('content') }}
\t\t\t\t\t
\t\t\t\t\t<a id=\"back-to-top\" href=\"#\" class=\"btn btn-primary btn-lg back-to-top\" role=\"button\" title=\"Click to return on the top\" data-toggle=\"tooltip\" data-placement=\"left\">
\t\t\t\t\t\t<span class=\"fa fa-arrow-up\"></span>
\t\t\t\t\t</a>
\t\t\t\t</main>
\t\t\t</section>
\t\t</div>
\t\t{# output scripts added before #}
\t\t{% block headscripts deferred %}
\t\t\t{{ pimcore_head_script() }}
\t\t{% endblock %}
\t\t{% block inlinescripts deferred %}
\t\t\t{{ pimcore_inline_script() }}
\t\t{% endblock %}
\t\t
\t\t{% for label, messages in app.flashes %}
\t\t\t{% for message in messages %}
\t\t\t\t{# <div class=\"alert alert-{{ label }} alert-dismissable\">
\t\t\t\t\t\t\t\t\t\t\t\t <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>
\t\t\t\t\t\t\t\t\t\t\t\t {{ message }}
\t\t\t\t\t\t\t\t\t\t\t\t </div> #}
\t\t\t\t<script>
\t\t\t\t\tvar title = 'Éxito';
var icono = 'success';
if ('{{ label }}' === 'danger') {
title = 'Error';
icono = 'error';
}
if ('{{ label }}' === 'warning') {
title = 'Advertencia';
icono = 'warning';
}
Swal.fire(title, '{{ message }}', icono)
\t\t\t\t</script>
\t\t\t{% endfor %}
\t\t{% endfor %}
\t</body>
</html>", "layouts/layout-portal.html.twig", "/var/www/html/templates/layouts/layout-portal.html.twig");
}
}