<?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;
/* Product/list.twig */
class __TwigTemplate_89249cb9f742b166aaa03ade226df09d extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'javascript' => [$this, 'block_javascript'],
'sub_area' => [$this, 'block_sub_area'],
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
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", "Product/list.twig"));
// line 3
$context["body_id"] = "product_page";
// line 1
$this->parent = $this->loadTemplate("default_frame.twig", "Product/list.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 5
public function block_javascript($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", "javascript"));
// line 6
echo "<script>
";
// line 8
echo "
\$(function () {
// 表示件数を変更
\$('.disp-number').change(function () {
console.log(\"hoge\");
var dispNumber = \$(this).val();
\$('#disp_number').val(dispNumber);
\$('#pageno').val(1);
\$(\"#form1\").submit();
});
// 並び順を変更
\$('.order-by').change(function () {
var orderBy = \$(this).val();
\$('#orderby').val(orderBy);
\$('#pageno').val(1);
\$(\"#form1\").submit();
});
\$('.add-cart').on('click', function (e) {
var \$form = \$(this).parents('li').find('form');
// 個数フォームのチェック
var \$quantity = \$form.parent().find('.quantity');
if (\$quantity.val() < 1) {
\$quantity[0].setCustomValidity('";
// line 34
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html", null, true);
echo "');
setTimeout(function () {
loadingOverlay('hide');
}, 100);
return true;
} else {
\$quantity[0].setCustomValidity('');
}
e.preventDefault();
\$.ajax({
url: \$form.attr('action'),
type: \$form.attr('method'),
data: \$form.serialize(),
dataType: 'json',
beforeSend: function (xhr, settings) {
// Buttonを無効にする
\$('.add-cart').prop('disabled', true);
}
}).done(function (data) {
// レスポンス内のメッセージをalertで表示
\$.each(data.messages, function () {
\$('#ec-modal-header').text(this);
});
\$('.ec-modal').show()
// カートブロックを更新する
\$.ajax({
url: '";
// line 62
echo $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("block_cart");
echo "',
type: 'GET',
dataType: 'html'
}).done(function (html) {
\$('.ec-headerRole__cart').html(html);
});
}).fail(function (data) {
alert('";
// line 69
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html", null, true);
echo "');
}).always(function (data) {
// Buttonを有効にする
\$('.add-cart').prop('disabled', false);
});
});
});
\$('.ec-modal-wrap').on('click', function (e) {
// モーダル内の処理は外側にバブリングさせない
e.stopPropagation();
});
\$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function () {
\$('.ec-modal').hide()
});
</script>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 86
public function block_sub_area($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", "sub_area"));
// line 87
echo " <ul class=\"pankuzu\">
<li><a href=\"";
// line 88
echo $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("homepage");
echo "\">トップ</a></li>
";
// line 89
if ( !(null === ($context["Category"] ?? null))) {
// line 90
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["Category"] ?? null), "path", [], "any", false, false, true, 90));
foreach ($context['_seq'] as $context["_key"] => $context["Path"]) {
// line 91
echo " <li>
<a href=\"";
// line 92
echo $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("product_list");
echo "?category_id=";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Path"], "id", [], "any", false, false, true, 92), 92, $this->source), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Path"], "name", [], "any", false, false, true, 92), 92, $this->source), "html", null, true);
echo "</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Path'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 95
echo " ";
} else {
// line 96
echo " <li>
<a href=\"";
// line 97
echo $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("product_list");
echo "\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["subtitle"] ?? null), 97, $this->source), "html", null, true);
echo "</a>
</li>
";
}
// line 100
echo " </ul>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 103
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"));
// line 104
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["search_form"] ?? null), "category_id", [], "any", false, false, true, 104), "vars", [], "any", false, false, true, 104), "errors", [], "any", false, false, true, 104)) > 0)) {
// line 105
echo "<div class=\"ec-searchnavRole\">
<p class=\"errormsg text-danger\">";
// line 106
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご指定のカテゴリは存在しません"), "html", null, true);
echo "</p>
</div>
";
} else {
// line 109
echo "<form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
";
// line 110
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["search_form"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 111
echo " <input type=\"hidden\" id=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "vars", [], "any", false, false, true, 111), "id", [], "any", false, false, true, 111), 111, $this->source), "html", null, true);
echo "\" name=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "vars", [], "any", false, false, true, 111), "full_name", [], "any", false, false, true, 111), 111, $this->source), "html", null, true);
echo "\" ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "vars", [], "any", false, false, true, 111), "value", [], "any", false, false, true, 111))) {
// line 112
echo "value=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "vars", [], "any", false, false, true, 112), "value", [], "any", false, false, true, 112), 112, $this->source), "html", null, true);
echo "\" ";
}
echo " />
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 114
echo "</form>
<div class=\"main_ttl_wrap\">
";
// line 117
if ( !(null === ($context["Category"] ?? null))) {
// line 118
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["Category"] ?? null), "path", [], "any", false, false, true, 118));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["Path"]) {
// line 119
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, true, 119)) {
// line 120
echo " <h2 class=\"main_ttl\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Path"], "name", [], "any", false, false, true, 120), 120, $this->source), "html", null, true);
echo "</h2>
";
}
// line 122
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Path'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 123
echo " ";
} else {
// line 124
echo " <h2 class=\"main_ttl\">商品一覧</h2>
";
}
// line 126
echo "</div>
<div class=\"sortarea_wrap\">
";
// line 128
if ((twig_get_attribute($this->env, $this->source, ($context["pagination"] ?? null), "totalItemCount", [], "any", false, false, true, 128) > 0)) {
// line 129
echo " <p><span class=\"txt_red\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["pagination"] ?? null), "totalItemCount", [], "any", false, false, true, 129), 129, $this->source), "html", null, true);
echo "件</span>の商品がございます。</p>
";
} else {
// line 131
echo " <p>お探しの商品は見つかりませんでした</p>
";
}
// line 133
echo " <ul class=\"sortarea\">
<li>並び替え</li>
<li>
";
// line 136
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["search_form"] ?? null), "disp_number", [], "any", false, false, true, 136), 136, $this->source), 'widget', ["id" => "", "attr" => ["class" => "disp-number"]]);
echo "
</li>
<li class=\"selectarea\">
";
// line 139
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["search_form"] ?? null), "orderby", [], "any", false, false, true, 139), 139, $this->source), 'widget', ["id" => "", "attr" => ["class" => "order-by"]]);
echo "
</li>
</ul>
</div>
";
// line 144
if ((twig_get_attribute($this->env, $this->source, ($context["pagination"] ?? null), "totalItemCount", [], "any", false, false, true, 144) > 0)) {
// line 145
$this->loadTemplate("pager.twig", "Product/list.twig", 145)->display(twig_array_merge($context, ["pages" => twig_get_attribute($this->env, $this->source, ($context["pagination"] ?? null), "paginationData", [], "any", false, false, true, 145)]));
// line 146
echo "<ul class=\"list_item\">
";
// line 147
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["pagination"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
// line 148
echo " ";
// line 150
echo " ";
$context["minPrice"] = $this->extensions['Plugin\CustomPrice\Twig\Extension\EccubeExtension']->CustomProductFindWhere($this->sandbox->ensureToStringAllowed($context["Product"], 150, $this->source), "min_price");
// line 151
echo " ";
$context["maxPrice"] = $this->extensions['Plugin\CustomPrice\Twig\Extension\EccubeExtension']->CustomProductFindWhere($this->sandbox->ensureToStringAllowed($context["Product"], 151, $this->source), "max_price");
// line 152
echo " ";
$context["maxTotal"] = $this->extensions['Plugin\CustomPrice\Twig\Extension\EccubeExtension']->CustomProductFindWhere($this->sandbox->ensureToStringAllowed($context["Product"], 152, $this->source), "max_total");
// line 153
echo " <li>
<a href=\"";
// line 154
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, true, 154)]), "html", null, true);
echo "\">
<div class=\"list_item_img\">
<img src=\"";
// line 156
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "MainListImage", [], "any", false, false, true, 156), 156, $this->source)), "save_image"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, true, 156), 156, $this->source), "html", null, true);
echo "\">
</div>
</a>
<p class=\"list_item_name\">";
// line 159
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, true, 159), 159, $this->source), "html", null, true);
echo "</p>
";
// line 161
if (twig_get_attribute($this->env, $this->source, $context["Product"], "getMinLength", [], "any", false, false, true, 161)) {
// line 162
echo " <p class=\"list_item_detail\">フレーム幅:";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "getMinLength", [], "any", false, false, true, 162), 162, $this->source)), "html", null, true);
echo "mm</p>
";
}
// line 164
echo "
";
// line 165
if (twig_get_attribute($this->env, $this->source, $context["Product"], "getMaxLength", [], "any", false, false, true, 165)) {
// line 166
echo " <p class=\"list_item_detail\">フレーム厚み:";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "getMaxLength", [], "any", false, false, true, 166), 166, $this->source)), "html", null, true);
echo "mm</p>
";
}
// line 168
echo "
";
// line 170
if (($context["maxTotal"] ?? null)) {
// line 171
echo " <p class=\"list_item_detail\">ヨコ・タテ合計: ";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["maxTotal"] ?? null), 171, $this->source)), "html", null, true);
echo "mmまで</p>
";
}
// line 173
echo "
<p class=\"list_item_price\">
";
// line 175
if (((($context["minPrice"] ?? null) != ($context["maxPrice"] ?? null)) && !(null === ($context["maxPrice"] ?? null)))) {
// line 176
echo " ";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["minPrice"] ?? null), 176, $this->source)), "html", null, true);
echo "~";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["maxPrice"] ?? null), 176, $this->source)), "html", null, true);
// line 177
echo "
";
} elseif ( !(null === // line 178
($context["minPrice"] ?? null))) {
// line 179
echo " ";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["minPrice"] ?? null), 179, $this->source)), "html", null, true);
echo "
";
} elseif ( !(null === // line 180
($context["maxPrice"] ?? null))) {
// line 181
echo " ";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->sandbox->ensureToStringAllowed(($context["maxPrice"] ?? null), 181, $this->source)), "html", null, true);
echo "
";
} elseif (twig_get_attribute($this->env, $this->source, // line 183
$context["Product"], "hasProductClass", [], "any", false, false, true, 183)) {
// line 184
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Min", [], "any", false, false, true, 184) == twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Max", [], "any", false, false, true, 184))) {
// line 185
echo " ";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02IncTaxMin", [], "any", false, false, true, 185), 185, $this->source)), "html", null, true);
echo "
";
} else {
// line 187
echo " ";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02IncTaxMin", [], "any", false, false, true, 187), 187, $this->source)), "html", null, true);
echo " ~ ";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02IncTaxMax", [], "any", false, false, true, 187), 187, $this->source)), "html", null, true);
echo "
";
}
// line 189
echo " ";
} else {
// line 190
echo " ";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02IncTaxMin", [], "any", false, false, true, 190), 190, $this->source)), "html", null, true);
echo "
";
}
// line 192
echo " <span>円 (税込)</span>
</p>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 196
echo "
</ul>
";
// line 199
$this->loadTemplate("pager.twig", "Product/list.twig", 199)->display(twig_array_merge($context, ["pages" => twig_get_attribute($this->env, $this->source, ($context["pagination"] ?? null), "paginationData", [], "any", false, false, true, 199)]));
}
// line 201
echo "
";
}
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Product/list.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 502 => 201, 499 => 199, 494 => 196, 485 => 192, 479 => 190, 476 => 189, 468 => 187, 462 => 185, 459 => 184, 457 => 183, 451 => 181, 449 => 180, 444 => 179, 442 => 178, 439 => 177, 434 => 176, 432 => 175, 428 => 173, 422 => 171, 420 => 170, 416 => 168, 410 => 166, 408 => 165, 405 => 164, 399 => 162, 397 => 161, 392 => 159, 384 => 156, 379 => 154, 376 => 153, 373 => 152, 370 => 151, 367 => 150, 365 => 148, 361 => 147, 358 => 146, 356 => 145, 354 => 144, 346 => 139, 340 => 136, 335 => 133, 331 => 131, 325 => 129, 323 => 128, 319 => 126, 315 => 124, 312 => 123, 298 => 122, 292 => 120, 289 => 119, 271 => 118, 269 => 117, 264 => 114, 253 => 112, 246 => 111, 242 => 110, 239 => 109, 233 => 106, 230 => 105, 228 => 104, 221 => 103, 213 => 100, 205 => 97, 202 => 96, 199 => 95, 186 => 92, 183 => 91, 178 => 90, 176 => 89, 172 => 88, 169 => 87, 162 => 86, 138 => 69, 128 => 62, 97 => 34, 69 => 8, 66 => 6, 59 => 5, 51 => 1, 49 => 3, 39 => 1,);
}
public function getSourceContext()
{
return new Source("", "Product/list.twig", "/home/hr67ekh16/u-arts-moulding.jp/public_html/app/template/uarts/Product/list.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 3, "if" => 89, "for" => 90, "include" => 145);
static $filters = array("escape" => 34, "trans" => 34, "length" => 104, "no_image_product" => 156, "number_format" => 162);
static $functions = array("url" => 62, "form_widget" => 136, "CustomProductFindWhere" => 150, "asset" => 156);
try {
$this->sandbox->checkSecurity(
['set', 'if', 'for', 'include'],
['escape', 'trans', 'length', 'no_image_product', 'number_format'],
['url', 'form_widget', 'CustomProductFindWhere', 'asset']
);
} 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;
}
}
}