<?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;
/* @admin/ui/component/side_panel/side_panel.html.twig */
class __TwigTemplate_f114bff29ddb4d735ca2789eeaf2df55 extends Netgen\Bundle\SiteBundle\Templating\Twig\DebugTemplate
{
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 = [
'panel' => [$this, 'block_panel'],
'header' => [$this, 'block_header'],
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
];
}
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", "@admin/ui/component/side_panel/side_panel.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@admin/ui/component/side_panel/side_panel.html.twig"));
// line 1
$macros["html"] = $this->macros["html"] = $this->load("@ibexadesign/ui/component/macros.html.twig", 1)->unwrap();
// line 2
yield "
";
// line 4
yield "
";
// line 5
$context["config_panel_main_class"] = "ibexa-side-panel ibexa-side-panel--hidden";
// line 6
$context["attr_footer"] = Twig\Extension\CoreExtension::merge(((array_key_exists("attr_footer", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["attr_footer"]) || array_key_exists("attr_footer", $context) ? $context["attr_footer"] : (function () { throw new RuntimeError('Variable "attr_footer" does not exist.', 6, $this->source); })()), [])) : ([])), ["class" => Twig\Extension\CoreExtension::trim(("ibexa-side-panel__footer" . (( // line 8
array_key_exists("footer_class", $context)) ? (((isset($context["footer_class"]) || array_key_exists("footer_class", $context) ? $context["footer_class"] : (function () { throw new RuntimeError('Variable "footer_class" does not exist.', 8, $this->source); })()) . "")) : (""))))]);
// line 10
yield "
";
// line 12
$context["attr"] = Twig\Extension\CoreExtension::merge(((array_key_exists("attr", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["attr"]) || array_key_exists("attr", $context) ? $context["attr"] : (function () { throw new RuntimeError('Variable "attr" does not exist.', 12, $this->source); })()), [])) : ([])), ["class" => ((Twig\Extension\CoreExtension::trim(((Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, // line 13
($context["attr"] ?? null), "class", [], "any", true, true, false, 13)) ? (Twig\Extension\CoreExtension::default(Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["attr"]) || array_key_exists("attr", $context) ? $context["attr"] : (function () { throw new RuntimeError('Variable "attr" does not exist.', 13, $this->source); })()), "class", [], "any", false, false, false, 13), "")) : (""))) . " ") . (isset($context["config_panel_main_class"]) || array_key_exists("config_panel_main_class", $context) ? $context["config_panel_main_class"] : (function () { throw new RuntimeError('Variable "config_panel_main_class" does not exist.', 13, $this->source); })()))]);
// line 15
yield "
";
// line 16
if (array_key_exists("id", $context)) {
// line 17
yield " ";
$context["attr"] = Twig\Extension\CoreExtension::merge((isset($context["attr"]) || array_key_exists("attr", $context) ? $context["attr"] : (function () { throw new RuntimeError('Variable "attr" does not exist.', 17, $this->source); })()), ["id" => (isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 17, $this->source); })())]);
}
// line 19
yield "
<div ";
// line 20
yield $macros["html"]->getTemplateForMacro("macro_attributes", $context, 20, $this->getSourceContext())->macro_attributes(...[(isset($context["attr"]) || array_key_exists("attr", $context) ? $context["attr"] : (function () { throw new RuntimeError('Variable "attr" does not exist.', 20, $this->source); })())]);
yield ">
";
// line 21
yield from $this->unwrap()->yieldBlock('panel', $context, $blocks);
// line 48
yield "</div>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
// line 21
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_panel(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", "panel"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));
// line 22
yield " <div>
";
// line 23
yield from $this->unwrap()->yieldBlock('header', $context, $blocks);
// line 34
yield " ";
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 35
yield "
<div ";
// line 36
yield $macros["html"]->getTemplateForMacro("macro_attributes", $context, 36, $this->getSourceContext())->macro_attributes(...[(isset($context["attr_footer"]) || array_key_exists("attr_footer", $context) ? $context["attr_footer"] : (function () { throw new RuntimeError('Variable "attr_footer" does not exist.', 36, $this->source); })())]);
yield ">
";
// line 37
yield from $this->unwrap()->yieldBlock('footer', $context, $blocks);
// line 45
yield " </div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 23
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_header(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", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 24
yield " <button
type=\"button\"
class=\"btn ibexa-btn ibexa-btn--no-text ibexa-btn--close-config-panel\"
>
<svg class=\"ibexa-icon ibexa-icon--small\">
<use xlink:href=\"";
// line 29
yield $this->extensions['Ibexa\Bundle\AdminUi\Templating\Twig\IconPathExtension']->getIconPath("caret-back");
yield "\"></use>
</svg>
</button>
<h2 class=\"ibexa-side-panel__title\">";
// line 32
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 32, $this->source); })()), "html", null, true);
yield "</h2>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 34
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_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", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 37
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_footer(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", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 38
yield " <button
type=\"button\"
class=\"btn ibexa-btn ibexa-btn--info ibexa-side-panel__cancel-btn ibexa-btn--close-config-panel\"
>
";
// line 42
yield ((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("side_panel.btn.cancel_label", [], "ibexa_admin_ui") == "side_panel.btn.cancel_label")) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::replace("Cancel", []), "html", null, true)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("side_panel.btn.cancel_label", [], "ibexa_admin_ui"), "html", null, true)));
yield "
</button>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@admin/ui/component/side_panel/side_panel.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 225 => 42, 219 => 38, 206 => 37, 184 => 34, 171 => 32, 165 => 29, 158 => 24, 145 => 23, 132 => 45, 130 => 37, 126 => 36, 123 => 35, 120 => 34, 118 => 23, 115 => 22, 102 => 21, 90 => 48, 88 => 21, 84 => 20, 81 => 19, 77 => 17, 75 => 16, 72 => 15, 70 => 13, 69 => 12, 65 => 10, 63 => 8, 62 => 6, 60 => 5, 57 => 4, 54 => 2, 52 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% import '@ibexadesign/ui/component/macros.html.twig' as html %}
{% trans_default_domain 'ibexa_admin_ui' %}
{% set config_panel_main_class = 'ibexa-side-panel ibexa-side-panel--hidden' %}
{% set attr_footer = attr_footer|default({})|merge({
class: ('ibexa-side-panel__footer'
~ (footer_class is defined ? footer_class ~ ''))|trim,
}) %}
{% set attr = attr|default({})|merge({
class: attr.class|default('')|trim ~ ' ' ~ config_panel_main_class,
}) %}
{% if id is defined %}
{% set attr = attr|merge({ id }) %}
{% endif %}
<div {{ html.attributes(attr) }}>
{% block panel %}
<div>
{% block header %}
<button
type=\"button\"
class=\"btn ibexa-btn ibexa-btn--no-text ibexa-btn--close-config-panel\"
>
<svg class=\"ibexa-icon ibexa-icon--small\">
<use xlink:href=\"{{ ibexa_icon_path('caret-back') }}\"></use>
</svg>
</button>
<h2 class=\"ibexa-side-panel__title\">{{ title }}</h2>
{% endblock %}
{% block content %}{% endblock %}
<div {{ html.attributes(attr_footer) }}>
{% block footer %}
<button
type=\"button\"
class=\"btn ibexa-btn ibexa-btn--info ibexa-side-panel__cancel-btn ibexa-btn--close-config-panel\"
>
{{ 'side_panel.btn.cancel_label'|trans|desc('Cancel') }}
</button>
{% endblock %}
</div>
</div>
{% endblock %}
</div>
", "@admin/ui/component/side_panel/side_panel.html.twig", "/var/www/vhosts/platformv4.alpha.se7enx.com/httpdocs/platformvlegacy4.alpha.se7enx.com/vendor/se7enxweb/admin-ui/src/bundle/Resources/views/themes/admin/ui/component/side_panel/side_panel.html.twig");
}
}