<?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;
/* @Provider/areas/card/view.html.twig */
class __TwigTemplate_2bf2a9c01bcab91bad79531f38e260b4 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
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", "@Provider/areas/card/view.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Provider/areas/card/view.html.twig"));
// line 1
$macros["__internal_parse_1"] = $this->macros["__internal_parse_1"] = $this->loadTemplate("@Provider/macros/card.html.twig", "@Provider/areas/card/view.html.twig", 1)->unwrap();
// line 2
$macros["__internal_parse_2"] = $this->macros["__internal_parse_2"] = $this->loadTemplate("@Provider/macros/card.html.twig", "@Provider/areas/card/view.html.twig", 2)->unwrap();
// line 3
$macros["__internal_parse_3"] = $this->macros["__internal_parse_3"] = $this->loadTemplate("@Provider/macros/card.html.twig", "@Provider/areas/card/view.html.twig", 3)->unwrap();
// line 4
$macros["__internal_parse_4"] = $this->macros["__internal_parse_4"] = $this->loadTemplate("@Provider/macros/include-svg.html.twig", "@Provider/areas/card/view.html.twig", 4)->unwrap();
// line 5
echo "
";
// line 7
$context["class"] = twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "class"), "getData", [], "method", false, false, true, 7);
// line 8
$context["marginTop"] = twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "margin_top"), "getData", [], "method", false, false, true, 8);
// line 9
$context["marginBottom"] = twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "margin_bottom"), "getData", [], "method", false, false, true, 9);
// line 10
$context["containerWidth"] = twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "container_width"), "getData", [], "method", false, false, true, 10);
// line 11
$context["areaClass"] = (((((($this->sandbox->ensureToStringAllowed((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 11, $this->source); })()), 11, $this->source) . " ") . $this->sandbox->ensureToStringAllowed((isset($context["marginTop"]) || array_key_exists("marginTop", $context) ? $context["marginTop"] : (function () { throw new RuntimeError('Variable "marginTop" does not exist.', 11, $this->source); })()), 11, $this->source)) . " ") . $this->sandbox->ensureToStringAllowed((isset($context["marginBottom"]) || array_key_exists("marginBottom", $context) ? $context["marginBottom"] : (function () { throw new RuntimeError('Variable "marginBottom" does not exist.', 11, $this->source); })()), 11, $this->source)) . " ") . $this->sandbox->ensureToStringAllowed((isset($context["containerWidth"]) || array_key_exists("containerWidth", $context) ? $context["containerWidth"] : (function () { throw new RuntimeError('Variable "containerWidth" does not exist.', 11, $this->source); })()), 11, $this->source));
// line 12
$context["anchorId"] = twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "anchor"), "getData", [], "method", false, false, true, 12);
// line 13
echo "
";
// line 15
$context["layout"] = twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "layout"), "getData", [], "method", false, false, true, 15);
// line 16
echo "
";
// line 17
if (((isset($context["layout"]) || array_key_exists("layout", $context) ? $context["layout"] : (function () { throw new RuntimeError('Variable "layout" does not exist.', 17, $this->source); })()) == "slider")) {
// line 18
echo " ";
$context["areaClass"] = (($this->sandbox->ensureToStringAllowed((isset($context["areaClass"]) || array_key_exists("areaClass", $context) ? $context["areaClass"] : (function () { throw new RuntimeError('Variable "areaClass" does not exist.', 18, $this->source); })()), 18, $this->source) . " ") . "has-slider");
}
// line 20
echo "
";
// line 22
$context["cardVariant"] = ((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.', 22, $this->source); })()), "getProperty", [0 => "card_variant"], "method", false, false, true, 22)) ? (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.', 22, $this->source); })()), "getProperty", [0 => "card_variant"], "method", false, false, true, 22)) : ("variant--default"));
// line 23
echo "
<div class=\"area area--cards ";
// line 24
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["areaClass"]) || array_key_exists("areaClass", $context) ? $context["areaClass"] : (function () { throw new RuntimeError('Variable "areaClass" does not exist.', 24, $this->source); })()), 24, $this->source), "html", null, true);
echo "\"";
if ((isset($context["anchorId"]) || array_key_exists("anchorId", $context) ? $context["anchorId"] : (function () { throw new RuntimeError('Variable "anchorId" does not exist.', 24, $this->source); })())) {
echo " id=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["anchorId"]) || array_key_exists("anchorId", $context) ? $context["anchorId"] : (function () { throw new RuntimeError('Variable "anchorId" does not exist.', 24, $this->source); })()), 24, $this->source), "html", null, true);
echo "\"";
}
echo ">
";
// line 26
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 26, $this->source); })())) {
// line 27
echo " ";
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "relations", "card_items", ["types" => [0 => "object"], "subtypes" => ["object" => [0 => "object"]], "classes" => [0 => "Card"], "reload" => true]);
// line 34
echo "
";
// line 36
if (twig_in_filter("variant--btn", (isset($context["cardVariant"]) || array_key_exists("cardVariant", $context) ? $context["cardVariant"] : (function () { throw new RuntimeError('Variable "cardVariant" does not exist.', 36, $this->source); })()))) {
// line 37
echo " <div class=\"card--config-edit\">
<strong>Button Style:</strong>
";
// line 39
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "card_button_style", ["store" => [0 => [0 => "primary", 1 => "primär"], 1 => [0 => "secondary", 1 => "sekundär"], 2 => [0 => "outline", 1 => "outline"]], "defaultValue" => "primary", "reload" => true]);
// line 47
echo "
</div>
";
}
// line 50
echo " ";
}
// line 51
echo "
";
// line 52
$context["button"] = twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "card_button_style"), "getData", [], "method", false, false, true, 52);
// line 53
echo "
";
// line 54
if (((isset($context["layout"]) || array_key_exists("layout", $context) ? $context["layout"] : (function () { throw new RuntimeError('Variable "layout" does not exist.', 54, $this->source); })()) == "row")) {
// line 55
echo "
";
// line 56
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 56, $this->source); })())) {
// line 57
echo " <div class=\"card--config-edit\">
<strong>Spalten:</strong>
";
// line 59
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "card_row_cols", ["store" => [0 => [0 => "auto", 1 => "automatisch"], 1 => [0 => 1, 1 => "1 Spalte"], 2 => [0 => 2, 1 => "2 Spalten"], 3 => [0 => 3, 1 => "3 Spalten"], 4 => [0 => 4, 1 => "4 Spalten"]], "defaultValue" => "auto", "reload" => true]);
// line 69
echo "
</div>
";
}
// line 72
echo " ";
$context["cols"] = twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "card_row_cols"), "getData", [], "method", false, false, true, 72);
// line 73
echo "
";
// line 74
if (((isset($context["cols"]) || array_key_exists("cols", $context) ? $context["cols"] : (function () { throw new RuntimeError('Variable "cols" does not exist.', 74, $this->source); })()) == "auto")) {
// line 75
echo " ";
$context["cardElementLength"] = twig_length_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "relations", "card_items"), "getElements", [], "method", false, false, true, 75), 75, $this->source));
// line 76
echo " ";
$context["cols"] = ((((isset($context["cardElementLength"]) || array_key_exists("cardElementLength", $context) ? $context["cardElementLength"] : (function () { throw new RuntimeError('Variable "cardElementLength" does not exist.', 76, $this->source); })()) < 4)) ? ((isset($context["cardElementLength"]) || array_key_exists("cardElementLength", $context) ? $context["cardElementLength"] : (function () { throw new RuntimeError('Variable "cardElementLength" does not exist.', 76, $this->source); })())) : (4));
// line 77
echo " ";
}
// line 78
echo "
<div class=\"cols cols--";
// line 79
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["cols"]) || array_key_exists("cols", $context) ? $context["cols"] : (function () { throw new RuntimeError('Variable "cols" does not exist.', 79, $this->source); })()), 79, $this->source), "html", null, true);
echo "\">
";
// line 80
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "relations", "card_items"));
foreach ($context['_seq'] as $context["_key"] => $context["cardItem"]) {
// line 81
echo " ";
echo twig_call_macro($macros["__internal_parse_1"], "macro_card", [$context["cardItem"], "", (isset($context["button"]) || array_key_exists("button", $context) ? $context["button"] : (function () { throw new RuntimeError('Variable "button" does not exist.', 81, $this->source); })())], 81, $context, $this->getSourceContext());
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cardItem'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 83
echo " </div>
";
} elseif (( // line 85
(isset($context["layout"]) || array_key_exists("layout", $context) ? $context["layout"] : (function () { throw new RuntimeError('Variable "layout" does not exist.', 85, $this->source); })()) == "grid")) {
// line 86
echo "
";
// line 87
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 87, $this->source); })())) {
// line 88
echo "
<div class=\"card--config-edit\">
<strong>Zeilen:</strong>
";
// line 91
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "card_grid_rows", ["store" => [0 => [0 => 1, 1 => "1 Zeile"], 1 => [0 => 2, 1 => "2 Zeilen"], 2 => [0 => 3, 1 => "3 Zeilen"], 3 => [0 => 4, 1 => "4 Zeilen"]], "defaultValue" => 3, "reload" => true]);
// line 100
echo "
</div>
";
}
// line 103
echo "
";
// line 104
$context["rows"] = (twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "card_grid_rows"), "getData", [], "method", false, false, true, 104) - 1);
// line 105
echo "
<div class=\"grid\">
";
// line 107
echo twig_call_macro($macros["__internal_parse_2"], "macro_cardGrid", [twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "relations", "card_items"), "getElements", [], "method", false, false, true, 107), (isset($context["rows"]) || array_key_exists("rows", $context) ? $context["rows"] : (function () { throw new RuntimeError('Variable "rows" does not exist.', 107, $this->source); })()), (isset($context["button"]) || array_key_exists("button", $context) ? $context["button"] : (function () { throw new RuntimeError('Variable "button" does not exist.', 107, $this->source); })())], 107, $context, $this->getSourceContext());
echo "
</div>
";
} else {
// line 110
echo "
";
// line 111
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 111, $this->source); })())) {
// line 112
echo " <div class=\"card--config-edit\">
<strong>Zeilenhöhe:</strong>
";
// line 114
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "card_slider_row_height", ["store" => [0 => [0 => "height--large", 1 => "hoch"], 1 => [0 => "", 1 => "mittel"], 2 => [0 => "height--small", 1 => "gering"], 3 => [0 => "height--tiny", 1 => "winzig"]], "defaultValue" => "height--large", "reload" => true]);
// line 123
echo "
</div>
<div class=\"card--config-edit\">
";
// line 128
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "checkbox", "no_pagination", ["label" => "Pagination deaktivieren", "reload" => true]);
// line 131
echo "
";
// line 133
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "checkbox", "no_arrows", ["label" => "Controls deaktivieren", "reload" => true]);
// line 136
echo "
</div>
";
}
// line 139
echo "
";
// line 140
$context["pagination"] = ((twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "checkbox", "no_pagination"), "isChecked", [], "method", false, false, true, 140)) ? ("false") : ("true"));
// line 141
echo " ";
$context["arrows"] = ((twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "checkbox", "no_arrows"), "isChecked", [], "method", false, false, true, 141)) ? ("false") : ("true"));
// line 142
echo " ";
$context["rowHeight"] = twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "card_slider_row_height"), "getData", [], "method", false, false, true, 142);
// line 143
echo "
";
// line 144
echo twig_call_macro($macros["__internal_parse_3"], "macro_cardSlider", [$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "relations", "card_items"), (isset($context["rowHeight"]) || array_key_exists("rowHeight", $context) ? $context["rowHeight"] : (function () { throw new RuntimeError('Variable "rowHeight" does not exist.', 144, $this->source); })()), (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 144, $this->source); })()), (isset($context["arrows"]) || array_key_exists("arrows", $context) ? $context["arrows"] : (function () { throw new RuntimeError('Variable "arrows" does not exist.', 144, $this->source); })()), (isset($context["button"]) || array_key_exists("button", $context) ? $context["button"] : (function () { throw new RuntimeError('Variable "button" does not exist.', 144, $this->source); })())], 144, $context, $this->getSourceContext());
echo "
";
}
// line 146
echo "</div>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "@Provider/areas/card/view.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 277 => 146, 272 => 144, 269 => 143, 266 => 142, 263 => 141, 261 => 140, 258 => 139, 253 => 136, 251 => 133, 247 => 131, 245 => 128, 238 => 123, 236 => 114, 232 => 112, 230 => 111, 227 => 110, 221 => 107, 217 => 105, 215 => 104, 212 => 103, 207 => 100, 205 => 91, 200 => 88, 198 => 87, 195 => 86, 193 => 85, 189 => 83, 180 => 81, 176 => 80, 172 => 79, 169 => 78, 166 => 77, 163 => 76, 160 => 75, 158 => 74, 155 => 73, 152 => 72, 147 => 69, 145 => 59, 141 => 57, 139 => 56, 136 => 55, 134 => 54, 131 => 53, 129 => 52, 126 => 51, 123 => 50, 118 => 47, 116 => 39, 112 => 37, 110 => 36, 106 => 34, 103 => 27, 101 => 26, 90 => 24, 87 => 23, 85 => 22, 82 => 20, 78 => 18, 76 => 17, 73 => 16, 71 => 15, 68 => 13, 66 => 12, 64 => 11, 62 => 10, 60 => 9, 58 => 8, 56 => 7, 53 => 5, 51 => 4, 49 => 3, 47 => 2, 45 => 1,);
}
public function getSourceContext()
{
return new Source("{% from '@Provider/macros/card.html.twig' import card %}
{% from '@Provider/macros/card.html.twig' import cardGrid %}
{% from '@Provider/macros/card.html.twig' import cardSlider %}
{% from '@Provider/macros/include-svg.html.twig' import includeSvg %}
{# Default block settings #}
{% set class = pimcore_input('class').getData() %}
{% set marginTop = pimcore_select('margin_top').getData() %}
{% set marginBottom = pimcore_select('margin_bottom').getData() %}
{% set containerWidth = pimcore_select('container_width').getData() %}
{% set areaClass = class ~ ' ' ~ marginTop ~ ' ' ~ marginBottom ~ ' ' ~ containerWidth %}
{% set anchorId = pimcore_input('anchor').getData() %}
{# Card block settings #}
{% set layout = pimcore_select('layout').getData() %}
{% if layout == 'slider' %}
{% set areaClass = areaClass ~ ' ' ~ 'has-slider' %}
{% endif %}
{# Card Variants config #}
{% set cardVariant = document.getProperty('card_variant') ? document.getProperty('card_variant') : 'variant--default' %}
<div class=\"area area--cards {{ areaClass }}\"{% if anchorId %} id=\"{{ anchorId }}\"{% endif %}>
{% if editmode %}
{{ pimcore_relations('card_items', {
\"types\": [\"object\"],
\"subtypes\": {
\"object\": [\"object\"]
},
\"classes\": [\"Card\"],
\"reload\": true
}) }}
{% if 'variant--btn' in cardVariant %}
<div class=\"card--config-edit\">
<strong>Button Style:</strong>
{{ pimcore_select('card_button_style', {
'store': [
[ 'primary', 'primär' ],
[ 'secondary', 'sekundär' ],
[ 'outline', 'outline' ]
],
'defaultValue': 'primary',
'reload': true
}) }}
</div>
{% endif %}
{% endif %}
{% set button = pimcore_select('card_button_style').getData() %}
{% if layout == 'row' %}
{% if editmode %}
<div class=\"card--config-edit\">
<strong>Spalten:</strong>
{{ pimcore_select('card_row_cols', {
'store': [
[ 'auto', 'automatisch' ],
[ 1, '1 Spalte' ],
[ 2, '2 Spalten' ],
[ 3, '3 Spalten' ],
[ 4, '4 Spalten' ]
],
'defaultValue': 'auto',
'reload': true
}) }}
</div>
{% endif %}
{% set cols = pimcore_select('card_row_cols').getData() %}
{% if cols == 'auto' %}
{% set cardElementLength = pimcore_relations('card_items').getElements() | length %}
{% set cols = cardElementLength < 4 ? cardElementLength : 4 %}
{% endif %}
<div class=\"cols cols--{{ cols }}\">
{% for cardItem in pimcore_relations('card_items') %}
{{ card(cardItem, '', button) }}
{% endfor %}
</div>
{% elseif layout == 'grid' %}
{% if editmode %}
<div class=\"card--config-edit\">
<strong>Zeilen:</strong>
{{ pimcore_select('card_grid_rows', {
'store': [
[ 1, '1 Zeile' ],
[ 2, '2 Zeilen' ],
[ 3, '3 Zeilen' ],
[ 4, '4 Zeilen' ]
],
'defaultValue': 3,
'reload': true
}) }}
</div>
{% endif %}
{% set rows = ( pimcore_select('card_grid_rows').getData() - 1 ) %}
<div class=\"grid\">
{{ cardGrid(pimcore_relations('card_items').getElements(), rows, button) }}
</div>
{% else %}
{% if editmode %}
<div class=\"card--config-edit\">
<strong>Zeilenhöhe:</strong>
{{ pimcore_select('card_slider_row_height', {
'store': [
['height--large', 'hoch'],
['', 'mittel'],
['height--small', 'gering'],
['height--tiny', 'winzig']
],
'defaultValue': 'height--large',
'reload': true,
}) }}
</div>
<div class=\"card--config-edit\">
{{ pimcore_checkbox('no_pagination', {
'label': 'Pagination deaktivieren',
'reload': true
}) }}
{{ pimcore_checkbox('no_arrows', {
'label': 'Controls deaktivieren',
'reload': true
}) }}
</div>
{% endif %}
{% set pagination = pimcore_checkbox('no_pagination').isChecked() ? 'false' : 'true' %}
{% set arrows = pimcore_checkbox('no_arrows').isChecked() ? 'false' : 'true' %}
{% set rowHeight = pimcore_select('card_slider_row_height').getData() %}
{{ cardSlider(pimcore_relations('card_items'), rowHeight, pagination, arrows, button) }}
{% endif %}
</div>", "@Provider/areas/card/view.html.twig", "/html/pimcore/templates/bundles/ProviderBundle/areas/card/view.html.twig");
}
public function checkSecurity()
{
static $tags = array("from" => 1, "set" => 7, "if" => 17, "for" => 80);
static $filters = array("escape" => 24, "length" => 75);
static $functions = array("pimcore_input" => 7, "pimcore_select" => 8, "pimcore_relations" => 27, "pimcore_checkbox" => 128);
try {
$this->sandbox->checkSecurity(
['from', 'set', 'if', 'for'],
['escape', 'length'],
['pimcore_input', 'pimcore_select', 'pimcore_relations', 'pimcore_checkbox']
);
} 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;
}
}
}