<?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;
/* Case/index.twig */
class __TwigTemplate_37127f44c332b57ed1251a61d3c516ff extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 5
return "default_frame.twig";
}
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", "Case/index.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Case/index.twig"));
// line 7
if ((array_key_exists("SearchCategoryData", $context) && !twig_test_empty((isset($context["SearchCategoryData"]) || array_key_exists("SearchCategoryData", $context) ? $context["SearchCategoryData"] : (function () { throw new RuntimeError('Variable "SearchCategoryData" does not exist.', 7, $this->source); })())))) {
// line 8
$context["subtitle"] = (($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["SearchCategoryData"]) || array_key_exists("SearchCategoryData", $context) ? $context["SearchCategoryData"] : (function () { throw new RuntimeError('Variable "SearchCategoryData" does not exist.', 8, $this->source); })()), "title", [], "any", false, false, true, 8), 8, $this->source) . " | ") . $this->sandbox->ensureToStringAllowed((isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 8, $this->source); })()), 8, $this->source));
// line 9
if ((twig_get_attribute($this->env, $this->source, (isset($context["SearchCategoryData"]) || array_key_exists("SearchCategoryData", $context) ? $context["SearchCategoryData"] : (function () { throw new RuntimeError('Variable "SearchCategoryData" does not exist.', 9, $this->source); })()), "id", [], "any", false, false, true, 9) == 17)) {
// line 10
$context["meta_description"] = "ゴルフプリントが手掛けたオリジナルゴルフボール導入事例をご紹介。特別な節目を祝うためのカスタムデザインやギフトのアイデアを参考に、心に残るプレゼントを作成するヒントを得てください";
} else {
// line 12
$context["meta_description"] = (("ゴルフプリントが手掛けた" . $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["SearchCategoryData"]) || array_key_exists("SearchCategoryData", $context) ? $context["SearchCategoryData"] : (function () { throw new RuntimeError('Variable "SearchCategoryData" does not exist.', 12, $this->source); })()), "title", [], "any", false, false, true, 12), 12, $this->source)) . "向けのオリジナルゴルフボール導入事例をご紹介。特別な節目を祝うためのカスタムデザインやギフトのアイデアを参考に、心に残るプレゼントを作成するヒントを得てください");
}
// line 15
if ((twig_get_attribute($this->env, $this->source, 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.', 15, $this->source); })()), "request", [], "any", false, false, true, 15), "query", [], "any", false, false, true, 15), "get", [0 => "pageno"], "method", false, false, true, 15) == 1)) {
// line 16
$context["meta_canonical"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("case", ["category" => twig_get_attribute($this->env, $this->source, (isset($context["SearchCategoryData"]) || array_key_exists("SearchCategoryData", $context) ? $context["SearchCategoryData"] : (function () { throw new RuntimeError('Variable "SearchCategoryData" does not exist.', 16, $this->source); })()), "id", [], "any", false, false, true, 16)]);
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 17
(isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 17, $this->source); })()), "paginationData", [], "any", false, false, true, 17), "current", [], "any", false, false, true, 17) > 1)) {
// line 18
$context["meta_canonical"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("case", ["category" => twig_get_attribute($this->env, $this->source, (isset($context["SearchCategoryData"]) || array_key_exists("SearchCategoryData", $context) ? $context["SearchCategoryData"] : (function () { throw new RuntimeError('Variable "SearchCategoryData" does not exist.', 18, $this->source); })()), "id", [], "any", false, false, true, 18), "pageno" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 18, $this->source); })()), "paginationData", [], "any", false, false, true, 18), "current", [], "any", false, false, true, 18)]);
}
}
// line 5
$this->parent = $this->loadTemplate("default_frame.twig", "Case/index.twig", 5);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 22
public function block_main($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(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 23
echo " <div class=\"container\">
<!-- パンくずリスト -->
<nav aria-label=\"breadcrumb\" class=\"my-3\">
<ol class=\"breadcrumb\">
<li class=\"breadcrumb-item\"><a href=\"";
// line 27
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\">ホーム</a></li>
";
// line 28
if (twig_test_empty((isset($context["SearchCategoryData"]) || array_key_exists("SearchCategoryData", $context) ? $context["SearchCategoryData"] : (function () { throw new RuntimeError('Variable "SearchCategoryData" does not exist.', 28, $this->source); })()))) {
// line 29
echo " <li class=\"breadcrumb-item active\" aria-current=\"page\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 29, $this->source); })()), 29, $this->source), "html", null, true);
echo "</li>
";
} else {
// line 31
echo " <li class=\"breadcrumb-item\"><a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("case");
echo "\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 31, $this->source); })()), 31, $this->source), "html", null, true);
echo "</a></li>
<li class=\"breadcrumb-item active\" aria-current=\"page\">";
// line 32
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["SearchCategoryData"]) || array_key_exists("SearchCategoryData", $context) ? $context["SearchCategoryData"] : (function () { throw new RuntimeError('Variable "SearchCategoryData" does not exist.', 32, $this->source); })()), "title", [], "any", false, false, true, 32), 32, $this->source), "html", null, true);
echo "</li>
";
}
// line 34
echo " </ol>
</nav>
<div class=\"layout-2colmun\">
";
// line 37
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/aside_others.twig");
echo "
<main class=\"main\">
";
// line 39
if (twig_test_empty((isset($context["SearchCategoryData"]) || array_key_exists("SearchCategoryData", $context) ? $context["SearchCategoryData"] : (function () { throw new RuntimeError('Variable "SearchCategoryData" does not exist.', 39, $this->source); })()))) {
// line 40
echo " <h1 class=\"fw-bold mb-5\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 40, $this->source); })()), 40, $this->source), "html", null, true);
echo "</h1>
";
} else {
// line 42
echo " <h1 class=\"fw-bold mb-5\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["SearchCategoryData"]) || array_key_exists("SearchCategoryData", $context) ? $context["SearchCategoryData"] : (function () { throw new RuntimeError('Variable "SearchCategoryData" does not exist.', 42, $this->source); })()), "title", [], "any", false, false, true, 42), 42, $this->source), "html", null, true);
echo "|";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 42, $this->source); })()), 42, $this->source), "html", null, true);
echo "</h1>
";
}
// line 44
echo " <div class=\"border mb-5\">
<div class=\"row px-3 pt-3\">
<p class=\"text-center fw-bold pt-3 _fs-4\">事例を絞り込む</p>
";
// line 47
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["CategoryDatas"]) || array_key_exists("CategoryDatas", $context) ? $context["CategoryDatas"] : (function () { throw new RuntimeError('Variable "CategoryDatas" does not exist.', 47, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["CategoryData"]) {
// line 48
if (twig_in_filter(twig_get_attribute($this->env, $this->source, $context["CategoryData"], "id", [], "any", false, false, true, 48), (isset($context["CheckCategory"]) || array_key_exists("CheckCategory", $context) ? $context["CheckCategory"] : (function () { throw new RuntimeError('Variable "CheckCategory" does not exist.', 48, $this->source); })()))) {
// line 49
if (((isset($context["SearchCategory"]) || array_key_exists("SearchCategory", $context) ? $context["SearchCategory"] : (function () { throw new RuntimeError('Variable "SearchCategory" does not exist.', 49, $this->source); })()) == twig_get_attribute($this->env, $this->source, $context["CategoryData"], "id", [], "any", false, false, true, 49))) {
// line 50
echo " <div class=\"col-6 col-sm-4 col-md-3 mb-3\"><a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("case");
echo "?category=";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["CategoryData"], "id", [], "any", false, false, true, 50), 50, $this->source), "html", null, true);
echo "\" class=\"btn btn-outline-dark w-100 rounded-0 py-3 active\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["CategoryData"], "title", [], "any", false, false, true, 50), 50, $this->source), "html", null, true);
echo "</a></div>
";
} else {
// line 52
echo " <div class=\"col-6 col-sm-4 col-md-3 mb-3\"><a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("case");
echo "?category=";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["CategoryData"], "id", [], "any", false, false, true, 52), 52, $this->source), "html", null, true);
echo "\" class=\"btn btn-outline-dark w-100 rounded-0 py-3\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["CategoryData"], "title", [], "any", false, false, true, 52), 52, $this->source), "html", null, true);
echo "</a></div>
";
}
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['CategoryData'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 56
echo " </div>
</div>
<div class=\"row\">
";
// line 60
if ((twig_get_attribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 60, $this->source); })()), "totalItemCount", [], "any", false, false, true, 60) > 0)) {
// line 61
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 61, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["CaseData"]) {
// line 62
echo " <div class=\"col-6 col-lg-3 mb-4 adjust-height\">
<div class=\"bg-secondary p-3 rounded caseheight\">
<a href=\"";
// line 64
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("case_detail", ["id" => twig_get_attribute($this->env, $this->source, $context["CaseData"], "id", [], "any", false, false, true, 64)]), "html", null, true);
echo "\" class=\"numbering-container\">
<div class=\"number\">";
// line 65
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["CaseData"], "id", [], "any", false, false, true, 65), 65, $this->source), "html", null, true);
echo "</div>
<img src=\"/icms/user_data/image/Voice1/";
// line 66
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["CaseData"], "thumbnail_gazo", [], "any", false, false, true, 66), 66, $this->source), "html", null, true);
echo "\" class=\"img-fluid text-dark mb-3\" alt=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["CaseData"], "title", [], "any", false, false, true, 66), 66, $this->source), "html", null, true);
echo "\" width=\"500\" height=\"500\">
<p class=\"text-center text-dark mb-1\">[NO.";
// line 67
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["CaseData"], "id", [], "any", false, false, true, 67), 67, $this->source), "html", null, true);
echo "]</p>
<p class=\"text-center text-dark mb-0\">";
// line 68
echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["CaseData"], "title", [], "any", false, false, true, 68), 68, $this->source);
echo "</p>
</a>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['CaseData'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 73
echo " ";
$this->loadTemplate("pager_case.twig", "Case/index.twig", 73)->display(twig_array_merge($context, ["pages" => twig_get_attribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 73, $this->source); })()), "paginationData", [], "any", false, false, true, 73)]));
} else {
// line 75
echo " <div class=\"d-flex justify-content-between mb-4 border-bottom py-3 align-items-center flex-column flex-md-row\">
<div><span>";
// line 76
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ただいま準備中です"), "html", null, true);
echo "</span></div>
</div>
";
}
// line 79
echo " </div>
</main>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Case/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 245 => 79, 239 => 76, 236 => 75, 232 => 73, 221 => 68, 217 => 67, 211 => 66, 207 => 65, 203 => 64, 199 => 62, 195 => 61, 193 => 60, 187 => 56, 172 => 52, 162 => 50, 160 => 49, 158 => 48, 154 => 47, 149 => 44, 141 => 42, 135 => 40, 133 => 39, 128 => 37, 123 => 34, 118 => 32, 111 => 31, 105 => 29, 103 => 28, 99 => 27, 93 => 23, 83 => 22, 72 => 5, 68 => 18, 66 => 17, 64 => 16, 62 => 15, 59 => 12, 56 => 10, 54 => 9, 52 => 8, 50 => 7, 37 => 5,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE, Addition by INSPIRATION
#}
{% extends 'default_frame.twig' %}
{% if SearchCategoryData is defined and SearchCategoryData is not empty %}
{% set subtitle = SearchCategoryData.title ~ ' | ' ~ title %}
{% if SearchCategoryData.id == 17 %}
{% set meta_description = 'ゴルフプリントが手掛けたオリジナルゴルフボール導入事例をご紹介。特別な節目を祝うためのカスタムデザインやギフトのアイデアを参考に、心に残るプレゼントを作成するヒントを得てください' %}
{% else %}
{% set meta_description = 'ゴルフプリントが手掛けた' ~ SearchCategoryData.title ~ '向けのオリジナルゴルフボール導入事例をご紹介。特別な節目を祝うためのカスタムデザインやギフトのアイデアを参考に、心に残るプレゼントを作成するヒントを得てください' %}
{% endif %}
{% if app.request.query.get('pageno') == 1 %}
{% set meta_canonical = url('case', { 'category': SearchCategoryData.id }) %}
{% elseif pagination.paginationData.current > 1 %}
{% set meta_canonical = url('case', { 'category': SearchCategoryData.id, 'pageno': pagination.paginationData.current }) %}
{% endif %}
{% endif %}
{% block main %}
<div class=\"container\">
<!-- パンくずリスト -->
<nav aria-label=\"breadcrumb\" class=\"my-3\">
<ol class=\"breadcrumb\">
<li class=\"breadcrumb-item\"><a href=\"{{ url('homepage') }}\">ホーム</a></li>
{% if SearchCategoryData is empty %}
<li class=\"breadcrumb-item active\" aria-current=\"page\">{{ title }}</li>
{% else %}
<li class=\"breadcrumb-item\"><a href=\"{{ url('case') }}\">{{ title }}</a></li>
<li class=\"breadcrumb-item active\" aria-current=\"page\">{{ SearchCategoryData.title }}</li>
{% endif %}
</ol>
</nav>
<div class=\"layout-2colmun\">
{{ include('Block/aside_others.twig') }}
<main class=\"main\">
{% if SearchCategoryData is empty %}
<h1 class=\"fw-bold mb-5\">{{ title }}</h1>
{% else %}
<h1 class=\"fw-bold mb-5\">{{ SearchCategoryData.title }}|{{ title }}</h1>
{% endif %}
<div class=\"border mb-5\">
<div class=\"row px-3 pt-3\">
<p class=\"text-center fw-bold pt-3 _fs-4\">事例を絞り込む</p>
{% for CategoryData in CategoryDatas %}
{% if CategoryData.id in CheckCategory %}
{% if SearchCategory == CategoryData.id %}
<div class=\"col-6 col-sm-4 col-md-3 mb-3\"><a href=\"{{ url('case') }}?category={{ CategoryData.id }}\" class=\"btn btn-outline-dark w-100 rounded-0 py-3 active\">{{ CategoryData.title }}</a></div>
{% else %}
<div class=\"col-6 col-sm-4 col-md-3 mb-3\"><a href=\"{{ url('case') }}?category={{ CategoryData.id }}\" class=\"btn btn-outline-dark w-100 rounded-0 py-3\">{{ CategoryData.title }}</a></div>
{% endif %}
{% endif %}
{% endfor %}
</div>
</div>
<div class=\"row\">
{% if pagination.totalItemCount > 0 %}
{% for CaseData in pagination %}
<div class=\"col-6 col-lg-3 mb-4 adjust-height\">
<div class=\"bg-secondary p-3 rounded caseheight\">
<a href=\"{{ url('case_detail', {'id': CaseData.id}) }}\" class=\"numbering-container\">
<div class=\"number\">{{ CaseData.id }}</div>
<img src=\"/icms/user_data/image/Voice1/{{ CaseData.thumbnail_gazo }}\" class=\"img-fluid text-dark mb-3\" alt=\"{{ CaseData.title }}\" width=\"500\" height=\"500\">
<p class=\"text-center text-dark mb-1\">[NO.{{ CaseData.id }}]</p>
<p class=\"text-center text-dark mb-0\">{{ CaseData.title|raw }}</p>
</a>
</div>
</div>
{% endfor %}
{% include \"pager_case.twig\" with {'pages': pagination.paginationData} %}
{% else %}
<div class=\"d-flex justify-content-between mb-4 border-bottom py-3 align-items-center flex-column flex-md-row\">
<div><span>{{ 'ただいま準備中です'|trans }}</span></div>
</div>
{% endif %}
</div>
</main>
</div>
</div>
{% endblock %}", "Case/index.twig", "/home/insp/insp.sixcore.jp/public_html/app/template/default/Case/index.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 7, "set" => 8, "for" => 47, "include" => 73);
static $filters = array("escape" => 29, "raw" => 68, "trans" => 76);
static $functions = array("url" => 16, "include" => 37);
try {
$this->sandbox->checkSecurity(
['if', 'set', 'for', 'include'],
['escape', 'raw', 'trans'],
['url', 'include']
);
} 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;
}
}
}