var/cache/dev/twig/59/59e7d3d5f3454ff897af43f287e080d9.php line 53

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Cart/index.twig */
  14. class __TwigTemplate_462c9a0b1c4234267cd2d079054b4dc9 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'main' => [$this'block_main'],
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 11
  31.         return "default_frame.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Cart/index.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Cart/index.twig"));
  40.         // line 13
  41.         $context["body_class"] = "cart_page";
  42.         // line 11
  43.         $this->parent $this->loadTemplate("default_frame.twig""Cart/index.twig"11);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 15
  51.     public function block_main($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  58.         // line 16
  59.         echo "    <div class=\"ec-productRole\">
  60.         <ol class=\"breadcrumb\" itemscope itemtype=\"https://schema.org/BreadcrumbList\">
  61.             <li itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
  62.                 <a itemprop=\"item\" href=\"";
  63.         // line 19
  64.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  65.         echo "\">
  66.                     <span itemprop=\"name\">TOP</span>
  67.                 </a>
  68.                 <meta itemprop=\"position\" content=\"1\" />
  69.             </li>
  70.             <li itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
  71.                 <a itemprop=\"item\" href=\"";
  72.         // line 25
  73.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  74.         echo "\">
  75.                     <span itemprop=\"name\">カート</span>
  76.                 </a>
  77.                 <meta itemprop=\"position\" content=\"2\" />
  78.             </li>
  79.         </ol>
  80.     </div>
  81.     <div class=\"ec-role\">
  82.         <div class=\"ec-pageHeader\">
  83.             <h1>";
  84.         // line 35
  85.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ショッピングカート"), "html"nulltrue);
  86.         echo "<br><span>cart</span></h1>
  87.         </div>
  88.     </div>
  89.     <div class=\"ec-cartRole\">
  90.         <div class=\"ec-cartRole__progress\">
  91.             <ul class=\"ec-progress\">
  92.                 ";
  93.         // line 42
  94.         $context["step"] = 1;
  95.         // line 43
  96.         echo "                <li class=\"ec-progress__item is-complete\">
  97.                     <div class=\"ec-progress__number\">";
  98.         // line 44
  99.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'44$this->source); })()), 44$this->source), "html"nulltrue);
  100.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'44$this->source); })()) + 1);
  101.         // line 45
  102.         echo "                    </div>
  103.                     <div class=\"ec-progress__label\">";
  104.         // line 46
  105.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートの商品"), "html"nulltrue);
  106.         echo "
  107.                     </div>
  108.                 </li>
  109.                 ";
  110.         // line 49
  111.         if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER") == false)) {
  112.             // line 50
  113.             echo "                    <li class=\"ec-progress__item\">
  114.                         <div class=\"ec-progress__number\">";
  115.             // line 51
  116.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'51$this->source); })()), 51$this->source), "html"nulltrue);
  117.             $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'51$this->source); })()) + 1);
  118.             // line 52
  119.             echo "                        </div>
  120.                         <div class=\"ec-progress__label\">";
  121.             // line 53
  122.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お客様情報"), "html"nulltrue);
  123.             echo "
  124.                         </div>
  125.                     </li>
  126.                 ";
  127.         }
  128.         // line 57
  129.         echo "                <li class=\"ec-progress__item\">
  130.                     <div class=\"ec-progress__number\">";
  131.         // line 58
  132.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'58$this->source); })()), 58$this->source), "html"nulltrue);
  133.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'58$this->source); })()) + 1);
  134.         // line 59
  135.         echo "                    </div>
  136.                     <div class=\"ec-progress__label\">";
  137.         // line 60
  138.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文手続き"), "html"nulltrue);
  139.         echo "
  140.                     </div>
  141.                 </li>
  142.                 <li class=\"ec-progress__item\">
  143.                     <div class=\"ec-progress__number\">";
  144.         // line 64
  145.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'64$this->source); })()), 64$this->source), "html"nulltrue);
  146.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'64$this->source); })()) + 1);
  147.         // line 65
  148.         echo "                    </div>
  149.                     <div class=\"ec-progress__label\">";
  150.         // line 66
  151.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文内容確認"), "html"nulltrue);
  152.         echo "
  153.                     </div>
  154.                 </li>
  155.                 <li class=\"ec-progress__item\">
  156.                     <div class=\"ec-progress__number\">";
  157.         // line 70
  158.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'70$this->source); })()), 70$this->source), "html"nulltrue);
  159.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'70$this->source); })()) + 1);
  160.         // line 71
  161.         echo "                    </div>
  162.                     <div class=\"ec-progress__label\">";
  163.         // line 72
  164.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("完了"), "html"nulltrue);
  165.         echo "
  166.                     </div>
  167.                 </li>
  168.             </ul>
  169.         </div>
  170.         ";
  171.         // line 77
  172.         $context["productStr"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'77$this->source); })()), "session", [], "any"falsefalsetrue77), "flashbag", [], "any"falsefalsetrue77), "get", [=> "eccube.front.request.product"], "method"falsefalsetrue77);
  173.         // line 78
  174.         echo "        ";
  175.         $context['_parent'] = $context;
  176.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'78$this->source); })()), "session", [], "any"falsefalsetrue78), "flashbag", [], "any"falsefalsetrue78), "get", [=> "eccube.front.request.error"], "method"falsefalsetrue78));
  177.         $context['loop'] = [
  178.           'parent' => $context['_parent'],
  179.           'index0' => 0,
  180.           'index'  => 1,
  181.           'first'  => true,
  182.         ];
  183.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  184.             $length count($context['_seq']);
  185.             $context['loop']['revindex0'] = $length 1;
  186.             $context['loop']['revindex'] = $length;
  187.             $context['loop']['length'] = $length;
  188.             $context['loop']['last'] = === $length;
  189.         }
  190.         foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  191.             // line 79
  192.             echo "            ";
  193.             $context["idx"] = twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsetrue79);
  194.             // line 80
  195.             echo "            <div class=\"ec-cartRole__error\">
  196.                 <div class=\"ec-alert-warning\">
  197.                     <div class=\"ec-alert-warning__icon\"><img src=\"";
  198.             // line 82
  199.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  200.             echo "\"></div>
  201.                     <div class=\"ec-alert-warning__text\">
  202.                         ";
  203.             // line 84
  204.             if (twig_get_attribute($this->env$this->source, ($context["productStr"] ?? null), (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'84$this->source); })()), [], "array"truetruetrue84)) {
  205.                 // line 85
  206.                 echo "                            ";
  207.                 echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 85$this->source), ["%product%" => twig_get_attribute($this->env$this->source, (isset($context["productStr"]) || array_key_exists("productStr"$context) ? $context["productStr"] : (function () { throw new RuntimeError('Variable "productStr" does not exist.'85$this->source); })()), (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'85$this->source); })()), [], "array"falsefalsetrue85)]), "html"nulltrue));
  208.                 echo "
  209.                         ";
  210.             } else {
  211.                 // line 87
  212.                 echo "                            ";
  213.                 echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 87$this->source)), "html"nulltrue));
  214.                 echo "
  215.                         ";
  216.             }
  217.             // line 89
  218.             echo "                    </div>
  219.                 </div>
  220.             </div>
  221.         ";
  222.             ++$context['loop']['index0'];
  223.             ++$context['loop']['index'];
  224.             $context['loop']['first'] = false;
  225.             if (isset($context['loop']['length'])) {
  226.                 --$context['loop']['revindex0'];
  227.                 --$context['loop']['revindex'];
  228.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  229.             }
  230.         }
  231.         $_parent $context['_parent'];
  232.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  233.         $context array_intersect_key($context$_parent) + $_parent;
  234.         // line 93
  235.         echo "        ";
  236.         $context['_parent'] = $context;
  237.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'93$this->source); })()), "session", [], "any"falsefalsetrue93), "flashbag", [], "any"falsefalsetrue93), "get", [=> "eccube.front.cart.error"], "method"falsefalsetrue93));
  238.         foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  239.             // line 94
  240.             echo "            <div class=\"ec-cartRole__error\">
  241.                 <div class=\"ec-alert-warning\">
  242.                     <div class=\"ec-alert-warning__icon\"><img src=\"";
  243.             // line 96
  244.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  245.             echo "\"></div>
  246.                     <div class=\"ec-alert-warning__text\">
  247.                         ";
  248.             // line 98
  249.             echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 98$this->source)), "html"nulltrue));
  250.             echo "
  251.                     </div>
  252.                 </div>
  253.             </div>
  254.         ";
  255.         }
  256.         $_parent $context['_parent'];
  257.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  258.         $context array_intersect_key($context$_parent) + $_parent;
  259.         // line 103
  260.         echo "        ";
  261.         if (((isset($context["totalQuantity"]) || array_key_exists("totalQuantity"$context) ? $context["totalQuantity"] : (function () { throw new RuntimeError('Variable "totalQuantity" does not exist.'103$this->source); })()) > 0)) {
  262.             // line 104
  263.             echo "            <div class=\"ec-cartRole__totalText\">
  264.                 <p>
  265.                     ";
  266.             // line 106
  267.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("商品の合計金額は「<strong>%price%</strong>」です。", ["%price%" => $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed((isset($context["totalPrice"]) || array_key_exists("totalPrice"$context) ? $context["totalPrice"] : (function () { throw new RuntimeError('Variable "totalPrice" does not exist.'106$this->source); })()), 106$this->source))]);
  268.             echo "
  269.                 </p>
  270.             </div>
  271.             ";
  272.             // line 109
  273.             if ((twig_length_filter($this->env, (isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'109$this->source); })())) > 1)) {
  274.                 // line 110
  275.                 echo "                <div class=\"ec-cartRole__error\">
  276.                     <div class=\"ec-alert-warning\">
  277.                         <div class=\"ec-alert-warning__text\">
  278.                             ";
  279.                 // line 113
  280.                 echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("同時購入できない商品がカートに含まれています。"), "html"nulltrue));
  281.                 echo "
  282.                         </div>
  283.                     </div>
  284.                 </div>
  285.             ";
  286.             }
  287.             // line 118
  288.             echo "
  289.             <form name=\"form\" id=\"form_cart\" class=\"ec-cartRole\" method=\"post\" action=\"";
  290.             // line 119
  291.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  292.             echo "\">
  293.                 ";
  294.             // line 121
  295.             $context['_parent'] = $context;
  296.             $context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'121$this->source); })()));
  297.             $context['loop'] = [
  298.               'parent' => $context['_parent'],
  299.               'index0' => 0,
  300.               'index'  => 1,
  301.               'first'  => true,
  302.             ];
  303.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  304.                 $length count($context['_seq']);
  305.                 $context['loop']['revindex0'] = $length 1;
  306.                 $context['loop']['revindex'] = $length;
  307.                 $context['loop']['length'] = $length;
  308.                 $context['loop']['last'] = === $length;
  309.             }
  310.             foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
  311.                 // line 122
  312.                 echo "                    ";
  313.                 $context["cartKey"] = twig_get_attribute($this->env$this->source$context["Cart"], "cart_key", [], "any"falsefalsetrue122);
  314.                 // line 123
  315.                 echo "                    ";
  316.                 $context['_parent'] = $context;
  317.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'123$this->source); })()), "session", [], "any"falsefalsetrue123), "flashbag", [], "any"falsefalsetrue123), "get", [=> (("eccube.front.cart." . (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'123$this->source); })())) . ".request.error")], "method"falsefalsetrue123));
  318.                 foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  319.                     // line 124
  320.                     echo "                        <div class=\"ec-cartRole__error\">
  321.                             <div class=\"ec-alert-warning\">
  322.                                 <div class=\"ec-alert-warning__icon\"><img src=\"";
  323.                     // line 126
  324.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  325.                     echo "\"></div>
  326.                                 <div class=\"ec-alert-warning__text\">
  327.                                     ";
  328.                     // line 128
  329.                     echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 128$this->source)), "html"nulltrue));
  330.                     echo "
  331.                                 </div>
  332.                             </div>
  333.                         </div>
  334.                     ";
  335.                 }
  336.                 $_parent $context['_parent'];
  337.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  338.                 $context array_intersect_key($context$_parent) + $_parent;
  339.                 // line 133
  340.                 echo "
  341.                     <div class=\"ec-cartRole__cart\">
  342.                         <div class=\"ec-cartTable\">
  343.                             <ol class=\"ec-cartHeader\">
  344.                                 <li class=\"ec-cartHeader__label\">";
  345.                 // line 137
  346.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("削除"), "html"nulltrue);
  347.                 echo "</li>
  348.                                 <li class=\"ec-cartHeader__label\">";
  349.                 // line 138
  350.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("商品内容"), "html"nulltrue);
  351.                 echo "</li>
  352.                                 <li class=\"ec-cartHeader__label\">";
  353.                 // line 139
  354.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("数量"), "html"nulltrue);
  355.                 echo "</li>
  356.                                 <li class=\"ec-cartHeader__label\">";
  357.                 // line 140
  358.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("小計"), "html"nulltrue);
  359.                 echo "</li>
  360.                             </ol>
  361.                             ";
  362.                 // line 142
  363.                 $context['_parent'] = $context;
  364.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Cart"], "CartItems", [], "any"falsefalsetrue142));
  365.                 foreach ($context['_seq'] as $context["_key"] => $context["CartItem"]) {
  366.                     // line 143
  367.                     echo "                                ";
  368.                     $context["ProductClass"] = twig_get_attribute($this->env$this->source$context["CartItem"], "ProductClass", [], "any"falsefalsetrue143);
  369.                     // line 144
  370.                     echo "                                ";
  371.                     $context["Product"] = twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'144$this->source); })()), "Product", [], "any"falsefalsetrue144);
  372.                     // line 145
  373.                     echo "                                <ul class=\"ec-cartRow\">
  374.                                     <li class=\"ec-cartRow__delColumn\">
  375.                                         <a href=\"";
  376.                     // line 147
  377.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart_handle_item", ["operation" => "remove""productClassId" => twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'147$this->source); })()), "id", [], "any"falsefalsetrue147)]), "html"nulltrue);
  378.                     echo "\" ";
  379.                     echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  380.                     echo " class=\"ec-icon\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  381.                                             <img src=\"";
  382.                     // line 148
  383.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross.svg"), "html"nulltrue);
  384.                     echo "\" alt=\"delete\">
  385.                                         </a>
  386.                                     </li>
  387.                                     <li class=\"ec-cartRow__contentColumn\">
  388.                                         <div class=\"ec-cartRow__img\">
  389.                                             <a target=\"_blank\" href=\"";
  390.                     // line 153
  391.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'153$this->source); })()), "id", [], "any"falsefalsetrue153)]), "html"nulltrue);
  392.                     echo "\">
  393.                                                 <img src=\"";
  394.                     // line 154
  395.                     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, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'154$this->source); })()), "MainListImage", [], "any"falsefalsetrue154), 154$this->source)), "save_image"), "html"nulltrue);
  396.                     echo "\" alt=\"";
  397.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'154$this->source); })()), "name", [], "any"falsefalsetrue154), 154$this->source), "html"nulltrue);
  398.                     echo "\"/>
  399.                                             </a>
  400.                                         </div>
  401.                                         <div class=\"ec-cartRow__summary\">
  402.                                             <div class=\"ec-cartRow__name\">
  403.                                                 <a target=\"_blank\" href=\"";
  404.                     // line 159
  405.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'159$this->source); })()), "id", [], "any"falsefalsetrue159)]), "html"nulltrue);
  406.                     echo "\">";
  407.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'159$this->source); })()), "name", [], "any"falsefalsetrue159), 159$this->source), "html"nulltrue);
  408.                     echo "</a>
  409.                                                 ";
  410.                     // line 160
  411.                     if ((twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'160$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue160) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'160$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue160), "id", [], "any"falsefalsetrue160))) {
  412.                         // line 161
  413.                         echo "                                                    <br>";
  414.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'161$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue161), "ClassName", [], "any"falsefalsetrue161), "name", [], "any"falsefalsetrue161), 161$this->source), "html"nulltrue);
  415.                         echo ":";
  416.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'161$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue161), 161$this->source), "html"nulltrue);
  417.                         echo "
  418.                                                 ";
  419.                     }
  420.                     // line 163
  421.                     echo "                                                ";
  422.                     if ((twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'163$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue163) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'163$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue163), "id", [], "any"falsefalsetrue163))) {
  423.                         // line 164
  424.                         echo "                                                    <br>";
  425.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'164$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue164), "ClassName", [], "any"falsefalsetrue164), "name", [], "any"falsefalsetrue164), 164$this->source), "html"nulltrue);
  426.                         echo ":";
  427.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'164$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue164), 164$this->source), "html"nulltrue);
  428.                         echo "
  429.                                                 ";
  430.                     }
  431.                     // line 166
  432.                     echo "                                            </div>
  433.                                             <div class=\"ec-cartRow__unitPrice\">";
  434.                     // line 167
  435.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CartItem"], "price", [], "any"falsefalsetrue167), 167$this->source)), "html"nulltrue);
  436.                     echo "</div>
  437.                                             <div class=\"ec-cartRow__sutbtotalSP\">";
  438.                     // line 168
  439.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("小計:"), "html"nulltrue);
  440.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CartItem"], "total_price", [], "any"falsefalsetrue168), 168$this->source)), "html"nulltrue);
  441.                     echo "</div>
  442.                                         </div>
  443.                                     </li>
  444.                                     <li class=\"ec-cartRow__amountColumn\">
  445.                                         <div class=\"ec-cartRow__amount\">";
  446.                     // line 172
  447.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsetrue172), 172$this->source)), "html"nulltrue);
  448.                     echo "</div>
  449.                                         <div class=\"ec-cartRow__amountSP\">";
  450.                     // line 173
  451.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("数量:"), "html"nulltrue);
  452.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsetrue173), 173$this->source)), "html"nulltrue);
  453.                     echo "</div>
  454.                                         <div class=\"ec-cartRow__amountUpDown\">
  455.                                             ";
  456.                     // line 175
  457.                     if ((twig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsetrue175) > 1)) {
  458.                         // line 176
  459.                         echo "                                                <a href=\"";
  460.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart_handle_item", ["operation" => "down""productClassId" => twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'176$this->source); })()), "id", [], "any"falsefalsetrue176)]), "html"nulltrue);
  461.                         echo "\" ";
  462.                         echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  463.                         echo " class=\"ec-cartRow__amountDownButton load-overlay\" data-method=\"put\" data-confirm=\"false\">
  464.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"";
  465.                         // line 177
  466.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/minus-dark.svg"), "html"nulltrue);
  467.                         echo "\" alt=\"reduce\"></span>
  468.                                                 </a>
  469.                                             ";
  470.                     } else {
  471.                         // line 180
  472.                         echo "                                                <div class=\"ec-cartRow__amountDownButtonDisabled\">
  473.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"";
  474.                         // line 181
  475.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/minus.svg"), "html"nulltrue);
  476.                         echo "\" alt=\"reduce\"></span>
  477.                                                 </div>
  478.                                             ";
  479.                     }
  480.                     // line 184
  481.                     echo "                                            <a href=\"";
  482.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart_handle_item", ["operation" => "up""productClassId" => twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'184$this->source); })()), "id", [], "any"falsefalsetrue184)]), "html"nulltrue);
  483.                     echo "\" ";
  484.                     echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  485.                     echo " class=\"ec-cartRow__amountUpButton load-overlay\" data-method=\"put\" data-confirm=\"false\">
  486.                                                 <span class=\"ec-cartRow__amountUpButton__icon\"><img src=\"";
  487.                     // line 185
  488.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/plus-dark.svg"), "html"nulltrue);
  489.                     echo "\" alt=\"increase\"></span>
  490.                                             </a>
  491.                                         </div>
  492.                                     </li>
  493.                                     <li class=\"ec-cartRow__subtotalColumn\">
  494.                                         <div class=\"ec-cartRow__sutbtotal\">";
  495.                     // line 190
  496.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CartItem"], "total_price", [], "any"falsefalsetrue190), 190$this->source)), "html"nulltrue);
  497.                     echo "</div>
  498.                                     </li>
  499.                                 </ul>
  500.                             ";
  501.                 }
  502.                 $_parent $context['_parent'];
  503.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['CartItem'], $context['_parent'], $context['loop']);
  504.                 $context array_intersect_key($context$_parent) + $_parent;
  505.                 // line 194
  506.                 echo "                        </div>
  507.                     </div>
  508.                     <div class=\"ec-cartRole__progress\">
  509.                         ";
  510.                 // line 197
  511.                 if ((twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'197$this->source); })()), "delivery_free_amount", [], "any"falsefalsetrue197) && twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'197$this->source); })()), "delivery_free_quantity", [], "any"falsefalsetrue197))) {
  512.                     // line 198
  513.                     echo "                            <br/>
  514.                             ";
  515.                     // line 199
  516.                     if (twig_get_attribute($this->env$this->source, (isset($context["is_delivery_free"]) || array_key_exists("is_delivery_free"$context) ? $context["is_delivery_free"] : (function () { throw new RuntimeError('Variable "is_delivery_free" does not exist.'199$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'199$this->source); })()), [], "array"falsefalsetrue199)) {
  517.                         // line 200
  518.                         echo "                                ";
  519.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在送料無料です。"), "html"nulltrue);
  520.                         echo "
  521.                             ";
  522.                     } else {
  523.                         // line 202
  524.                         echo "                                ";
  525.                         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("あと「<strong>%price%</strong>」または「<strong>%quantity%個</strong>」のお買い上げで<strong class=\"ec-color-red\">送料無料</strong>になります。", ["%price%" => $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["least"]) || array_key_exists("least"$context) ? $context["least"] : (function () { throw new RuntimeError('Variable "least" does not exist.'202$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'202$this->source); })()), [], "array"falsefalsetrue202), 202$this->source)), "%quantity%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["quantity"]) || array_key_exists("quantity"$context) ? $context["quantity"] : (function () { throw new RuntimeError('Variable "quantity" does not exist.'202$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'202$this->source); })()), [], "array"falsefalsetrue202), 202$this->source))]);
  526.                         echo "
  527.                             ";
  528.                     }
  529.                     // line 204
  530.                     echo "                        ";
  531.                 } elseif (twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'204$this->source); })()), "delivery_free_amount", [], "any"falsefalsetrue204)) {
  532.                     // line 205
  533.                     echo "                            <br/>
  534.                             ";
  535.                     // line 206
  536.                     if (twig_get_attribute($this->env$this->source, (isset($context["is_delivery_free"]) || array_key_exists("is_delivery_free"$context) ? $context["is_delivery_free"] : (function () { throw new RuntimeError('Variable "is_delivery_free" does not exist.'206$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'206$this->source); })()), [], "array"falsefalsetrue206)) {
  537.                         // line 207
  538.                         echo "                                ";
  539.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在送料無料です。"), "html"nulltrue);
  540.                         echo "
  541.                             ";
  542.                     } else {
  543.                         // line 209
  544.                         echo "                                ";
  545.                         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("あと「<strong>%price%</strong>」のお買い上げで<strong class=\"ec-color-red\">送料無料</strong>になります。", ["%price%" => $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["least"]) || array_key_exists("least"$context) ? $context["least"] : (function () { throw new RuntimeError('Variable "least" does not exist.'209$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'209$this->source); })()), [], "array"falsefalsetrue209), 209$this->source))]);
  546.                         echo "
  547.                             ";
  548.                     }
  549.                     // line 211
  550.                     echo "                        ";
  551.                 } elseif (twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'211$this->source); })()), "delivery_free_quantity", [], "any"falsefalsetrue211)) {
  552.                     // line 212
  553.                     echo "                            <br/>
  554.                             ";
  555.                     // line 213
  556.                     if (twig_get_attribute($this->env$this->source, (isset($context["is_delivery_free"]) || array_key_exists("is_delivery_free"$context) ? $context["is_delivery_free"] : (function () { throw new RuntimeError('Variable "is_delivery_free" does not exist.'213$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'213$this->source); })()), [], "array"falsefalsetrue213)) {
  557.                         // line 214
  558.                         echo "                                ";
  559.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在送料無料です。"), "html"nulltrue);
  560.                         echo "
  561.                             ";
  562.                     } else {
  563.                         // line 216
  564.                         echo "                                ";
  565.                         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("あと「<strong>%quantity%個</strong>」のお買い上げで<strong class=\"ec-color-red\">送料無料</strong>になります。", ["%quantity%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["quantity"]) || array_key_exists("quantity"$context) ? $context["quantity"] : (function () { throw new RuntimeError('Variable "quantity" does not exist.'216$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'216$this->source); })()), [], "array"falsefalsetrue216), 216$this->source))]);
  566.                         echo "
  567.                             ";
  568.                     }
  569.                     // line 218
  570.                     echo "                        ";
  571.                 }
  572.                 // line 219
  573.                 echo "                    </div>
  574.                     <div class=\"ec-cartRole__actions\">
  575.                         <div class=\"ec-cartRole__total\">";
  576.                 // line 221
  577.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("合計:"), "html"nulltrue);
  578.                 echo "<span class=\"ec-cartRole__totalAmount\">";
  579.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Cart"], "totalPrice", [], "any"falsefalsetrue221), 221$this->source)), "html"nulltrue);
  580.                 echo "</span>
  581.                         </div>
  582.                         <a class=\"ec-blockBtn--action\" href=\"";
  583.                 // line 223
  584.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cart_buystep", ["cart_key" => (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'223$this->source); })())]), "html"nulltrue);
  585.                 echo "\">";
  586.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("レジに進む"), "html"nulltrue);
  587.                 echo "</a>
  588.                         ";
  589.                 // line 224
  590.                 if (twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsetrue224)) {
  591.                     // line 225
  592.                     echo "                            <a class=\"ec-blockBtn--cancel\" href=\"";
  593.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
  594.                     echo "\">";
  595.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html"nulltrue);
  596.                     echo "</a>
  597.                         ";
  598.                 }
  599.                 // line 227
  600.                 echo "                    </div>
  601.                 ";
  602.                 ++$context['loop']['index0'];
  603.                 ++$context['loop']['index'];
  604.                 $context['loop']['first'] = false;
  605.                 if (isset($context['loop']['length'])) {
  606.                     --$context['loop']['revindex0'];
  607.                     --$context['loop']['revindex'];
  608.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  609.                 }
  610.             }
  611.             $_parent $context['_parent'];
  612.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  613.             $context array_intersect_key($context$_parent) + $_parent;
  614.             // line 229
  615.             echo "            </form>
  616.         ";
  617.         } else {
  618.             // line 231
  619.             echo "            ";
  620.             $context['_parent'] = $context;
  621.             $context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'231$this->source); })()));
  622.             foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
  623.                 // line 232
  624.                 echo "                ";
  625.                 $context["cartKey"] = twig_get_attribute($this->env$this->source$context["Cart"], "cart_key", [], "any"falsefalsetrue232);
  626.                 // line 233
  627.                 echo "                ";
  628.                 $context['_parent'] = $context;
  629.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'233$this->source); })()), "session", [], "any"falsefalsetrue233), "flashbag", [], "any"falsefalsetrue233), "get", [=> (("eccube.front.cart." . (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'233$this->source); })())) . ".request.error")], "method"falsefalsetrue233));
  630.                 foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  631.                     // line 234
  632.                     echo "                    <div class=\"ec-cartRole__error\">
  633.                         <div class=\"ec-alert-warning\">
  634.                             <div class=\"ec-alert-warning__icon\"><img src=\"";
  635.                     // line 236
  636.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  637.                     echo "\"></div>
  638.                             <div class=\"ec-alert-warning__text\">
  639.                                 ";
  640.                     // line 238
  641.                     echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 238$this->source)), "html"nulltrue));
  642.                     echo "
  643.                             </div>
  644.                         </div>
  645.                     </div>
  646.                 ";
  647.                 }
  648.                 $_parent $context['_parent'];
  649.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  650.                 $context array_intersect_key($context$_parent) + $_parent;
  651.                 // line 243
  652.                 echo "            ";
  653.             }
  654.             $_parent $context['_parent'];
  655.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  656.             $context array_intersect_key($context$_parent) + $_parent;
  657.             // line 244
  658.             echo "            <div class=\"ec-role\">
  659.                 <div class=\"ec-off3Grid\">
  660.                     <div class=\"ec-off3Grid__cell\">
  661.                         <div class=\"ec-alert-warning\">
  662.                             <div class=\"ec-alert-warning__icon\"><img src=\"";
  663.             // line 248
  664.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  665.             echo "\"></div>
  666.                             <div class=\"ec-alert-warning__text\">";
  667.             // line 249
  668.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在カート内に商品はございません。"), "html"nulltrue);
  669.             echo "</div>
  670.                         </div>
  671.                     </div>
  672.                 </div>
  673.             </div>
  674.         ";
  675.         }
  676.         // line 255
  677.         echo "    </div>
  678. ";
  679.         
  680.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  681.         
  682.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  683.     }
  684.     public function getTemplateName()
  685.     {
  686.         return "Cart/index.twig";
  687.     }
  688.     public function isTraitable()
  689.     {
  690.         return false;
  691.     }
  692.     public function getDebugInfo()
  693.     {
  694.         return array (  694 => 255,  685 => 249,  681 => 248,  675 => 244,  669 => 243,  658 => 238,  653 => 236,  649 => 234,  644 => 233,  641 => 232,  636 => 231,  632 => 229,  617 => 227,  609 => 225,  607 => 224,  601 => 223,  594 => 221,  590 => 219,  587 => 218,  581 => 216,  575 => 214,  573 => 213,  570 => 212,  567 => 211,  561 => 209,  555 => 207,  553 => 206,  550 => 205,  547 => 204,  541 => 202,  535 => 200,  533 => 199,  530 => 198,  528 => 197,  523 => 194,  513 => 190,  505 => 185,  498 => 184,  492 => 181,  489 => 180,  483 => 177,  476 => 176,  474 => 175,  468 => 173,  464 => 172,  456 => 168,  452 => 167,  449 => 166,  441 => 164,  438 => 163,  430 => 161,  428 => 160,  422 => 159,  412 => 154,  408 => 153,  400 => 148,  394 => 147,  390 => 145,  387 => 144,  384 => 143,  380 => 142,  375 => 140,  371 => 139,  367 => 138,  363 => 137,  357 => 133,  346 => 128,  341 => 126,  337 => 124,  332 => 123,  329 => 122,  312 => 121,  307 => 119,  304 => 118,  296 => 113,  291 => 110,  289 => 109,  283 => 106,  279 => 104,  276 => 103,  265 => 98,  260 => 96,  256 => 94,  251 => 93,  234 => 89,  228 => 87,  222 => 85,  220 => 84,  215 => 82,  211 => 80,  208 => 79,  190 => 78,  188 => 77,  180 => 72,  177 => 71,  174 => 70,  167 => 66,  164 => 65,  161 => 64,  154 => 60,  151 => 59,  148 => 58,  145 => 57,  138 => 53,  135 => 52,  132 => 51,  129 => 50,  127 => 49,  121 => 46,  118 => 45,  115 => 44,  112 => 43,  110 => 42,  100 => 35,  87 => 25,  78 => 19,  73 => 16,  63 => 15,  52 => 11,  50 => 13,  37 => 11,);
  695.     }
  696.     public function getSourceContext()
  697.     {
  698.         return new Source("{#
  699. This file is part of EC-CUBE
  700. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  701. http://www.ec-cube.co.jp/
  702. For the full copyright and license information, please view the LICENSE
  703. file that was distributed with this source code.
  704. #}
  705. {% extends 'default_frame.twig' %}
  706. {% set body_class = 'cart_page' %}
  707. {% block main %}
  708.     <div class=\"ec-productRole\">
  709.         <ol class=\"breadcrumb\" itemscope itemtype=\"https://schema.org/BreadcrumbList\">
  710.             <li itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
  711.                 <a itemprop=\"item\" href=\"{{ url('homepage') }}\">
  712.                     <span itemprop=\"name\">TOP</span>
  713.                 </a>
  714.                 <meta itemprop=\"position\" content=\"1\" />
  715.             </li>
  716.             <li itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
  717.                 <a itemprop=\"item\" href=\"{{ url('cart') }}\">
  718.                     <span itemprop=\"name\">カート</span>
  719.                 </a>
  720.                 <meta itemprop=\"position\" content=\"2\" />
  721.             </li>
  722.         </ol>
  723.     </div>
  724.     <div class=\"ec-role\">
  725.         <div class=\"ec-pageHeader\">
  726.             <h1>{{ 'ショッピングカート'|trans }}<br><span>cart</span></h1>
  727.         </div>
  728.     </div>
  729.     <div class=\"ec-cartRole\">
  730.         <div class=\"ec-cartRole__progress\">
  731.             <ul class=\"ec-progress\">
  732.                 {% set step = 1 %}
  733.                 <li class=\"ec-progress__item is-complete\">
  734.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  735.                     </div>
  736.                     <div class=\"ec-progress__label\">{{ 'カートの商品'|trans }}
  737.                     </div>
  738.                 </li>
  739.                 {% if is_granted('ROLE_USER') == false %}
  740.                     <li class=\"ec-progress__item\">
  741.                         <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  742.                         </div>
  743.                         <div class=\"ec-progress__label\">{{ 'お客様情報'|trans }}
  744.                         </div>
  745.                     </li>
  746.                 {% endif %}
  747.                 <li class=\"ec-progress__item\">
  748.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  749.                     </div>
  750.                     <div class=\"ec-progress__label\">{{ 'ご注文手続き'|trans }}
  751.                     </div>
  752.                 </li>
  753.                 <li class=\"ec-progress__item\">
  754.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  755.                     </div>
  756.                     <div class=\"ec-progress__label\">{{ 'ご注文内容確認'|trans }}
  757.                     </div>
  758.                 </li>
  759.                 <li class=\"ec-progress__item\">
  760.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  761.                     </div>
  762.                     <div class=\"ec-progress__label\">{{ '完了'|trans }}
  763.                     </div>
  764.                 </li>
  765.             </ul>
  766.         </div>
  767.         {% set productStr = app.session.flashbag.get('eccube.front.request.product') %}
  768.         {% for error in app.session.flashbag.get('eccube.front.request.error') %}
  769.             {% set idx = loop.index0 %}
  770.             <div class=\"ec-cartRole__error\">
  771.                 <div class=\"ec-alert-warning\">
  772.                     <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  773.                     <div class=\"ec-alert-warning__text\">
  774.                         {% if productStr[idx] is defined %}
  775.                             {{ error|trans({'%product%':productStr[idx]})|nl2br }}
  776.                         {% else %}
  777.                             {{ error|trans|nl2br }}
  778.                         {% endif %}
  779.                     </div>
  780.                 </div>
  781.             </div>
  782.         {% endfor %}
  783.         {% for error in app.session.flashbag.get('eccube.front.cart.error') %}
  784.             <div class=\"ec-cartRole__error\">
  785.                 <div class=\"ec-alert-warning\">
  786.                     <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  787.                     <div class=\"ec-alert-warning__text\">
  788.                         {{ error|trans|nl2br }}
  789.                     </div>
  790.                 </div>
  791.             </div>
  792.         {% endfor %}
  793.         {% if totalQuantity > 0 %}
  794.             <div class=\"ec-cartRole__totalText\">
  795.                 <p>
  796.                     {{ '商品の合計金額は「<strong>%price%</strong>」です。'|trans({ '%price%': totalPrice|price })|raw }}
  797.                 </p>
  798.             </div>
  799.             {% if Carts|length > 1 %}
  800.                 <div class=\"ec-cartRole__error\">
  801.                     <div class=\"ec-alert-warning\">
  802.                         <div class=\"ec-alert-warning__text\">
  803.                             {{ '同時購入できない商品がカートに含まれています。'|trans|nl2br }}
  804.                         </div>
  805.                     </div>
  806.                 </div>
  807.             {% endif %}
  808.             <form name=\"form\" id=\"form_cart\" class=\"ec-cartRole\" method=\"post\" action=\"{{ url('cart') }}\">
  809.                 {% for CartIndex,Cart in Carts %}
  810.                     {% set cartKey = Cart.cart_key %}
  811.                     {% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  812.                         <div class=\"ec-cartRole__error\">
  813.                             <div class=\"ec-alert-warning\">
  814.                                 <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  815.                                 <div class=\"ec-alert-warning__text\">
  816.                                     {{ error|trans|nl2br }}
  817.                                 </div>
  818.                             </div>
  819.                         </div>
  820.                     {% endfor %}
  821.                     <div class=\"ec-cartRole__cart\">
  822.                         <div class=\"ec-cartTable\">
  823.                             <ol class=\"ec-cartHeader\">
  824.                                 <li class=\"ec-cartHeader__label\">{{ '削除'|trans }}</li>
  825.                                 <li class=\"ec-cartHeader__label\">{{ '商品内容'|trans }}</li>
  826.                                 <li class=\"ec-cartHeader__label\">{{ '数量'|trans }}</li>
  827.                                 <li class=\"ec-cartHeader__label\">{{ '小計'|trans }}</li>
  828.                             </ol>
  829.                             {% for CartItem in Cart.CartItems %}
  830.                                 {% set ProductClass = CartItem.ProductClass %}
  831.                                 {% set Product = ProductClass.Product %}
  832.                                 <ul class=\"ec-cartRow\">
  833.                                     <li class=\"ec-cartRow__delColumn\">
  834.                                         <a href=\"{{ url('cart_handle_item', {'operation': 'remove', 'productClassId': ProductClass.id }) }}\" {{ csrf_token_for_anchor() }} class=\"ec-icon\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  835.                                             <img src=\"{{ asset('assets/icon/cross.svg') }}\" alt=\"delete\">
  836.                                         </a>
  837.                                     </li>
  838.                                     <li class=\"ec-cartRow__contentColumn\">
  839.                                         <div class=\"ec-cartRow__img\">
  840.                                             <a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\">
  841.                                                 <img src=\"{{ asset(Product.MainListImage|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\"/>
  842.                                             </a>
  843.                                         </div>
  844.                                         <div class=\"ec-cartRow__summary\">
  845.                                             <div class=\"ec-cartRow__name\">
  846.                                                 <a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\">{{ Product.name }}</a>
  847.                                                 {% if ProductClass.ClassCategory1 and ProductClass.ClassCategory1.id %}
  848.                                                     <br>{{ ProductClass.ClassCategory1.ClassName.name }}:{{ ProductClass.ClassCategory1 }}
  849.                                                 {% endif %}
  850.                                                 {% if ProductClass.ClassCategory2 and ProductClass.ClassCategory2.id %}
  851.                                                     <br>{{ ProductClass.ClassCategory2.ClassName.name }}:{{ ProductClass.ClassCategory2 }}
  852.                                                 {% endif %}
  853.                                             </div>
  854.                                             <div class=\"ec-cartRow__unitPrice\">{{ CartItem.price|price }}</div>
  855.                                             <div class=\"ec-cartRow__sutbtotalSP\">{{ '小計:'|trans }}{{ CartItem.total_price|price }}</div>
  856.                                         </div>
  857.                                     </li>
  858.                                     <li class=\"ec-cartRow__amountColumn\">
  859.                                         <div class=\"ec-cartRow__amount\">{{ CartItem.quantity|number_format }}</div>
  860.                                         <div class=\"ec-cartRow__amountSP\">{{ '数量:'|trans }}{{ CartItem.quantity|number_format }}</div>
  861.                                         <div class=\"ec-cartRow__amountUpDown\">
  862.                                             {% if CartItem.quantity > 1 %}
  863.                                                 <a href=\"{{ url('cart_handle_item', {'operation': 'down', 'productClassId': ProductClass.id}) }}\" {{ csrf_token_for_anchor() }} class=\"ec-cartRow__amountDownButton load-overlay\" data-method=\"put\" data-confirm=\"false\">
  864.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"{{ asset('assets/icon/minus-dark.svg') }}\" alt=\"reduce\"></span>
  865.                                                 </a>
  866.                                             {% else %}
  867.                                                 <div class=\"ec-cartRow__amountDownButtonDisabled\">
  868.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"{{ asset('assets/icon/minus.svg') }}\" alt=\"reduce\"></span>
  869.                                                 </div>
  870.                                             {% endif %}
  871.                                             <a href=\"{{ url('cart_handle_item', {'operation': 'up', 'productClassId': ProductClass.id}) }}\" {{ csrf_token_for_anchor() }} class=\"ec-cartRow__amountUpButton load-overlay\" data-method=\"put\" data-confirm=\"false\">
  872.                                                 <span class=\"ec-cartRow__amountUpButton__icon\"><img src=\"{{ asset('assets/icon/plus-dark.svg') }}\" alt=\"increase\"></span>
  873.                                             </a>
  874.                                         </div>
  875.                                     </li>
  876.                                     <li class=\"ec-cartRow__subtotalColumn\">
  877.                                         <div class=\"ec-cartRow__sutbtotal\">{{ CartItem.total_price|price }}</div>
  878.                                     </li>
  879.                                 </ul>
  880.                             {% endfor %}
  881.                         </div>
  882.                     </div>
  883.                     <div class=\"ec-cartRole__progress\">
  884.                         {% if BaseInfo.delivery_free_amount and BaseInfo.delivery_free_quantity %}
  885.                             <br/>
  886.                             {% if is_delivery_free[cartKey] %}
  887.                                 {{ '現在送料無料です。'|trans }}
  888.                             {% else %}
  889.                                 {{ 'あと「<strong>%price%</strong>」または「<strong>%quantity%個</strong>」のお買い上げで<strong class=\"ec-color-red\">送料無料</strong>になります。'|trans({ '%price%': least[cartKey]|price, '%quantity%': quantity[cartKey]|number_format })|raw }}
  890.                             {% endif %}
  891.                         {% elseif BaseInfo.delivery_free_amount %}
  892.                             <br/>
  893.                             {% if is_delivery_free[cartKey] %}
  894.                                 {{ '現在送料無料です。'|trans }}
  895.                             {% else %}
  896.                                 {{ 'あと「<strong>%price%</strong>」のお買い上げで<strong class=\"ec-color-red\">送料無料</strong>になります。'|trans({ '%price%': least[cartKey]|price })|raw }}
  897.                             {% endif %}
  898.                         {% elseif BaseInfo.delivery_free_quantity %}
  899.                             <br/>
  900.                             {% if is_delivery_free[cartKey] %}
  901.                                 {{ '現在送料無料です。'|trans }}
  902.                             {% else %}
  903.                                 {{ 'あと「<strong>%quantity%個</strong>」のお買い上げで<strong class=\"ec-color-red\">送料無料</strong>になります。'|trans({ '%quantity%': quantity[cartKey]|number_format })|raw }}
  904.                             {% endif %}
  905.                         {% endif %}
  906.                     </div>
  907.                     <div class=\"ec-cartRole__actions\">
  908.                         <div class=\"ec-cartRole__total\">{{ '合計:'|trans }}<span class=\"ec-cartRole__totalAmount\">{{ Cart.totalPrice|price }}</span>
  909.                         </div>
  910.                         <a class=\"ec-blockBtn--action\" href=\"{{ path('cart_buystep', {'cart_key':cartKey}) }}\">{{ 'レジに進む'|trans }}</a>
  911.                         {% if loop.last %}
  912.                             <a class=\"ec-blockBtn--cancel\" href=\"{{ path('homepage') }}\">{{ 'お買い物を続ける'|trans }}</a>
  913.                         {% endif %}
  914.                     </div>
  915.                 {% endfor %}
  916.             </form>
  917.         {% else %}
  918.             {% for CartIndex,Cart in Carts %}
  919.                 {% set cartKey = Cart.cart_key %}
  920.                 {% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  921.                     <div class=\"ec-cartRole__error\">
  922.                         <div class=\"ec-alert-warning\">
  923.                             <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  924.                             <div class=\"ec-alert-warning__text\">
  925.                                 {{ error|trans|nl2br }}
  926.                             </div>
  927.                         </div>
  928.                     </div>
  929.                 {% endfor %}
  930.             {% endfor %}
  931.             <div class=\"ec-role\">
  932.                 <div class=\"ec-off3Grid\">
  933.                     <div class=\"ec-off3Grid__cell\">
  934.                         <div class=\"ec-alert-warning\">
  935.                             <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  936.                             <div class=\"ec-alert-warning__text\">{{ '現在カート内に商品はございません。'|trans }}</div>
  937.                         </div>
  938.                     </div>
  939.                 </div>
  940.             </div>
  941.         {% endif %}
  942.     </div>
  943. {% endblock %}""Cart/index.twig""/home/c9635817/public_html/attrait-shop.com/app/template/default/Cart/index.twig");
  944.     }
  945.     
  946.     public function checkSecurity()
  947.     {
  948.         static $tags = array("set" => 13"if" => 49"for" => 78);
  949.         static $filters = array("escape" => 35"trans" => 35"nl2br" => 85"raw" => 106"price" => 106"length" => 109"no_image_product" => 154"number_format" => 172);
  950.         static $functions = array("url" => 19"is_granted" => 49"asset" => 82"csrf_token_for_anchor" => 147"path" => 223);
  951.         try {
  952.             $this->sandbox->checkSecurity(
  953.                 ['set''if''for'],
  954.                 ['escape''trans''nl2br''raw''price''length''no_image_product''number_format'],
  955.                 ['url''is_granted''asset''csrf_token_for_anchor''path'],
  956.                 $this->source
  957.             );
  958.         } catch (SecurityError $e) {
  959.             $e->setSourceContext($this->source);
  960.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  961.                 $e->setTemplateLine($tags[$e->getTagName()]);
  962.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  963.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  964.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  965.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  966.             }
  967.             throw $e;
  968.         }
  969.     }
  970. }