<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* layouts/auth_layout.html.twig */
class __TwigTemplate_67f46d3d20fcec4f90b1668c6702839e extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'members_user_content' => [$this, 'block_members_user_content'],
];
$this->sandbox = $this->extensions[SandboxExtension::class];
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$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/auth_layout.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/auth_layout.html.twig"));
// line 1
yield "<!doctype html>
<html lang=\"";
// line 2
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, 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.', 2, $this->source); })()), "request", [], "any", false, false, true, 2), "locale", [], "any", false, false, true, 2), 2, $this->source), "html", null, true);
yield "\">
<head>
<!-- Required meta tags -->
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
";
// line 8
$_v0 = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
// line 9
yield " ";
// line 10
yield " ";
// line 11
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", ["https://fonts.googleapis.com/css?family=Hind+Guntur:300,400,500,600,700&display=swap"], "method", false, false, true, 11);
// line 12
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", ["https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css", null, null, ["integrity" => "sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T", "crossorigin" => "anonymous"]], "method", false, false, true, 12);
// line 13
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", ["https://use.fontawesome.com/releases/v5.9.0/css/all.css"], "method", false, false, true, 13);
// line 14
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", ["https://use.fontawesome.com/releases/v5.7.0/css/all.css", null, null, ["integrity" => "sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ", "crossorigin" => "anonymous"]], "method", false, false, true, 14);
// line 15
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/global.css")], "method", false, false, true, 15);
// line 16
yield " ";
if ((($tmp = (isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 16, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 17
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/css/editmode.css")], "method", false, false, true, 17);
// line 18
yield " ";
}
// line 19
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", ["https://code.jquery.com/jquery-3.3.1.slim.min.js", null, null, ["integrity" => "sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo", "crossorigin" => "anonymous"]], "method", false, false, true, 19);
// line 20
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", ["https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js", null, null, ["integrity" => "sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1", "crossorigin" => "anonymous"]], "method", false, false, true, 20);
// line 21
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", ["https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js", null, null, ["integrity" => "sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM", "crossorigin" => "anonymous"]], "method", false, false, true, 21);
// line 22
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/main.js")], "method", false, false, true, 22);
// line 23
yield " ";
if ((($tmp = !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 23, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 24
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/js/frontend.js")], "method", false, false, true, 24);
// line 25
yield " ";
}
// line 26
yield "
";
// line 27
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.', 27, $this->source); })()))) {
// line 28
yield " ";
$context["document"] = Pimcore\Model\Document::getById(1);
// line 29
yield " ";
}
// line 30
yield "
";
// line 31
if ($this->env->getTest('instanceof')->getCallable()((isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 31, $this->source); })()), "\\Pimcore\\Model\\Document\\Link")) {
// line 32
yield " ";
// line 33
yield " ";
$context["document"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 33, $this->source); })()), "getElement", [], "method", false, false, true, 33);
// line 34
yield " ";
}
// line 35
yield "
";
// line 36
if ($this->env->getTest('instanceof')->getCallable()((isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 36, $this->source); })()), "\\Pimcore\\Model\\Document\\Page")) {
// line 37
yield " ";
if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 37, $this->source); })()), "getTitle", [], "method", false, false, true, 37))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 38
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "set", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 38, $this->source); })()), "getTitle", [], "method", false, false, true, 38)], "method", false, false, true, 38);
// line 39
yield " ";
}
// line 40
yield "
";
// line 41
if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 41, $this->source); })()), "getDescription", [], "method", false, false, true, 41))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 42
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setDescription", [CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 42, $this->source); })()), "getDescription", [], "method", false, false, true, 42)], "method", false, false, true, 42);
// line 43
yield " ";
}
// line 44
yield "
";
// line 45
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "append", ["Confabitare monza brianza"], "method", false, false, true, 45);
// line 46
yield " ";
CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "setSeparator", [" : "], "method", false, false, true, 46);
// line 47
yield " ";
}
// line 48
yield "
";
// line 49
$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.', 49, $this->source); })()));
// line 50
yield " ";
yield from [];
})())) ? '' : new Markup($tmp, $this->env->getCharset());
// line 8
yield Twig\Extension\CoreExtension::spaceless($_v0);
// line 51
yield "
";
// line 53
yield " ";
yield $this->env->getFunction('pimcore_head_title')->getCallable()();
yield "
";
// line 54
yield $this->env->getFunction('pimcore_head_meta')->getCallable()();
yield "
";
// line 56
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, $this->env->getFunction('pimcore_placeholder')->getCallable()("canonical"), "count", [], "method", false, false, true, 56)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 57
yield " <link rel=\"canonical\" href=\"";
yield $this->env->getFunction('pimcore_placeholder')->getCallable()("canonical");
yield "\"/>
";
}
// line 59
yield "
";
// line 60
yield $this->env->getFunction('pimcore_head_link')->getCallable()();
yield "
</head>
<body>
";
// line 65
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.', 65, $this->source); })()))) {
// line 66
yield " ";
$context["document"] = Pimcore\Model\Document::getById(1);
}
// line 68
yield "
<main role=\"main\">
<nav class=\"navbar navbar-light bg-light justify-content-center\">
<a class=\"navbar-brand text-center\" href=\"#\"><img src=\"";
// line 71
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/logo-small.jpg"), "html", null, true);
yield "\" width=\"100\" height=\"auto\"></a>
</nav>
";
// line 73
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(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.', 73, $this->source); })()), "flashes", [], "any", false, false, true, 73));
foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
// line 74
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($context["messages"]);
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 75
yield " <div class=\"alert alert-";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed($context["label"], 75, $this->source), "html", null, true);
yield " alert-dismissable\">
<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>
";
// line 77
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed($context["message"], 77, $this->source), "html", null, true);
yield "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['message'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 80
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['label'], $context['messages'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 81
yield "
<section class=\"container mt-5\">
<div class=\"row justify-content-center\">
<div class=\"col-12 col-md-4\">
";
// line 86
yield from $this->unwrap()->yieldBlock('members_user_content', $context, $blocks);
// line 88
yield "
</div>
</div>
</section>
</main>
";
// line 99
yield $this->env->getFunction('pimcore_head_script')->getCallable()();
yield "
";
// line 102
yield $this->env->getFunction('pimcore_inline_script')->getCallable()();
yield "
</body>
</html>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
// line 86
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_members_user_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "members_user_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "members_user_content"));
// line 87
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "layouts/auth_layout.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 316 => 87, 303 => 86, 289 => 102, 283 => 99, 271 => 88, 269 => 86, 262 => 81, 256 => 80, 247 => 77, 241 => 75, 236 => 74, 232 => 73, 227 => 71, 222 => 68, 218 => 66, 216 => 65, 209 => 60, 206 => 59, 200 => 57, 198 => 56, 193 => 54, 188 => 53, 185 => 51, 183 => 8, 179 => 50, 177 => 49, 174 => 48, 171 => 47, 168 => 46, 166 => 45, 163 => 44, 160 => 43, 157 => 42, 155 => 41, 152 => 40, 149 => 39, 146 => 38, 143 => 37, 141 => 36, 138 => 35, 135 => 34, 132 => 33, 130 => 32, 128 => 31, 125 => 30, 122 => 29, 119 => 28, 117 => 27, 114 => 26, 111 => 25, 108 => 24, 105 => 23, 102 => 22, 99 => 21, 96 => 20, 93 => 19, 90 => 18, 87 => 17, 84 => 16, 81 => 15, 78 => 14, 75 => 13, 72 => 12, 69 => 11, 67 => 10, 65 => 9, 63 => 8, 54 => 2, 51 => 1,);
}
public function getSourceContext(): Source
{
return new Source("<!doctype html>
<html lang=\"{{ app.request.locale }}\">
<head>
<!-- Required meta tags -->
<meta charset=\"utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
{% apply spaceless %}
{# add global stylesheets and scripts outside of any blocsk to add them to the helpers before any others assets are added #}
{# we use the view helper to have cache buster functionality #}
{% do pimcore_head_link().appendStylesheet('https://fonts.googleapis.com/css?family=Hind+Guntur:300,400,500,600,700&display=swap') %}
{% 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\"}) %}
{% do pimcore_head_link().appendStylesheet('https://use.fontawesome.com/releases/v5.9.0/css/all.css') %}
{% 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'}) %}
{% do pimcore_head_link().appendStylesheet(asset('static/css/global.css')) %}
{% if editmode %}
{% do pimcore_head_link().appendStylesheet(asset('static/css/editmode.css')) %}
{% endif %}
{% 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\"}) %}
{% 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\"}) %}
{% 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\"}) %}
{% do pimcore_head_script().appendFile(asset('static/js/main.js')) %}
{% if not editmode %}
{% do pimcore_head_script().appendFile(asset('static/js/frontend.js')) %}
{% endif %}
{% if not document is defined or not document %}
{% set document = pimcore_document(1) %}
{% endif %}
{% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Link') %}
{# @var document \\Pimcore\\Model\\Document\\Link #}
{% set document = document.getElement() %}
{% endif %}
{% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Page') %}
{% if document.getTitle() is not empty %}
{% do pimcore_head_title().set(document.getTitle()) %}
{% endif %}
{% if document.getDescription() is not empty %}
{% do pimcore_head_meta().setDescription(document.getDescription()) %}
{% endif %}
{% do pimcore_head_title().append('Confabitare monza brianza') %}
{% do pimcore_head_title().setSeparator(' : ') %}
{% endif %}
{% set isPortal = ((isPortal is defined) and isPortal) %}
{% endapply %}
{# we're using the deferred extension here to make sure this block is rendered after all helper calls #}
{{ pimcore_head_title() }}
{{ pimcore_head_meta() }}
{% if pimcore_placeholder('canonical').count() %}
<link rel=\"canonical\" href=\"{{ pimcore_placeholder('canonical') }}\"/>
{% endif %}
{{ pimcore_head_link() }}
</head>
<body>
{# get root node if there is no document defined (for pages which are routed directly through static route) #}
{% if not document is defined or not document %}
{% set document = pimcore_document(1) %}
{% endif %}
<main role=\"main\">
<nav class=\"navbar navbar-light bg-light justify-content-center\">
<a class=\"navbar-brand text-center\" href=\"#\"><img src=\"{{ asset('static/logo-small.jpg') }}\" width=\"100\" height=\"auto\"></a>
</nav>
{% for label, messages in app.flashes %}
{% for message in messages %}
<div class=\"alert alert-{{ label }} alert-dismissable\">
<button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>
{{ message }}
</div>
{% endfor %}
{% endfor %}
<section class=\"container mt-5\">
<div class=\"row justify-content-center\">
<div class=\"col-12 col-md-4\">
{% block members_user_content %}
{% endblock members_user_content %}
</div>
</div>
</section>
</main>
{# output scripts added before #}
{{ pimcore_head_script() }}
{{ pimcore_inline_script() }}
</body>
</html>", "layouts/auth_layout.html.twig", "/www/wwwroot/stg.portale.confabitaremonzabrianza.com/templates/layouts/auth_layout.html.twig");
}
public function checkSecurity()
{
static $tags = ["apply" => 8, "do" => 11, "if" => 16, "set" => 28, "for" => 73, "block" => 86];
static $filters = ["escape" => 2, "spaceless" => 8];
static $functions = ["pimcore_head_link" => 11, "asset" => 15, "pimcore_head_script" => 19, "pimcore_document" => 28, "pimcore_head_title" => 38, "pimcore_head_meta" => 42, "pimcore_placeholder" => 56, "pimcore_inline_script" => 102];
try {
$this->sandbox->checkSecurity(
['apply', 'do', 'if', 'set', 'for', 'block'],
['escape', 'spaceless'],
['pimcore_head_link', 'asset', 'pimcore_head_script', 'pimcore_document', 'pimcore_head_title', 'pimcore_head_meta', 'pimcore_placeholder', 'pimcore_inline_script'],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}