var/cache/dev/twig/43/436adad95a1197fac09c41918f92746ed171f36f86bca5b549b3bccedac83641.php line 16

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. /* Product/detail.twig */
  14. class __TwigTemplate_fd9f6ce4cf5bdfb2244925ed9abe0c3c239c55d32929ac08d7e32df2adc87a24 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.             'stylesheet' => [$this'block_stylesheet'],
  24.             'javascript' => [$this'block_javascript'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  28.         $this->checkSecurity();
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 11
  33.         return "default_frame.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/detail.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/detail.twig"));
  42.         // line 13
  43.         $context["body_class"] = "product_page";
  44.         // line 11
  45.         $this->parent $this->loadTemplate("default_frame.twig""Product/detail.twig"11);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 15
  53.     public function block_stylesheet($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  60.         // line 16
  61.         echo "    <style>
  62.         .slick-slider {
  63.             margin-bottom: 14px;
  64.         }
  65.         .manual-margin {
  66.             margin: 14px 0;
  67.         }
  68.         .slick-dots {
  69.             position: absolute;
  70.             bottom: -45px;
  71.             display: block;
  72.             width: 100%;
  73.             padding: 0;
  74.             list-style: none;
  75.             text-align: center;
  76.         }
  77.         .slick-dots li {
  78.             position: relative;
  79.             display: inline-block;
  80.             width: 20px;
  81.             height: 20px;
  82.             margin: 0 5px;
  83.             padding: 0;
  84.             cursor: pointer;
  85.         }
  86.         .slick-dots li button {
  87.             font-size: 0;
  88.             line-height: 0;
  89.             display: block;
  90.             width: 20px;
  91.             height: 20px;
  92.             padding: 5px;
  93.             cursor: pointer;
  94.             color: transparent;
  95.             border: 0;
  96.             outline: none;
  97.             background: transparent;
  98.         }
  99.         .slick-dots li button:hover,
  100.         .slick-dots li button:focus {
  101.             outline: none;
  102.         }
  103.         .slick-dots li button:hover:before,
  104.         .slick-dots li button:focus:before {
  105.             opacity: 1;
  106.         }
  107.         .slick-dots li button:before {
  108.             content: \" \";
  109.             line-height: 20px;
  110.             position: absolute;
  111.             top: 0;
  112.             left: 0;
  113.             width: 12px;
  114.             height: 12px;
  115.             text-align: center;
  116.             opacity: .25;
  117.             background-color: black;
  118.             border-radius: 50%;
  119.         }
  120.         .slick-dots li.slick-active button:before {
  121.             opacity: .75;
  122.             background-color: black;
  123.         }
  124.         .slick-dots li button.thumbnail img {
  125.             width: 0;
  126.             height: 0;
  127.         }
  128.     </style>
  129.     <style type=\"text/css\">
  130.     .remodal-wrapper .loading {
  131.     height: 100px;
  132.     background-image: url(/html/template/akracing/assets/img/loadinfo.gif);
  133.     background-repeat: no-repeat;
  134.     background-position: 50% 50%;
  135.     }
  136.     </style>
  137. ";
  138.         
  139.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  140.         
  141.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  142.     }
  143.     // line 104
  144.     public function block_javascript($context, array $blocks = [])
  145.     {
  146.         $macros $this->macros;
  147.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  148.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  149.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  150.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  151.         // line 105
  152.         echo "    <script>
  153.         eccube.classCategories = ";
  154.         // line 106
  155.         echo $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getClassCategoriesAsJson($this->sandbox->ensureToStringAllowed((isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'106$this->source); })()), 106$this->source));
  156.         echo ";
  157.         // 規格2に選択肢を割り当てる。
  158.         function fnSetClassCategories(form, classcat_id2_selected) {
  159.             var \$form = \$(form);
  160.             var product_id = \$form.find('input[name=product_id]').val();
  161.             var \$sele1 = \$form.find('select[name=classcategory_id1]');
  162.             var \$sele2 = \$form.find('select[name=classcategory_id2]');
  163.             eccube.setClassCategories(\$form, product_id, \$sele1, \$sele2, classcat_id2_selected);
  164.         }
  165.         ";
  166.         // line 117
  167.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruetrue117)) {
  168.             // line 118
  169.             echo "        fnSetClassCategories(
  170.             \$('#form1'), ";
  171.             // line 119
  172.             echo json_encode($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'119$this->source); })()), "classcategory_id2", [], "any"falsefalsetrue119), "vars", [], "any"falsefalsetrue119), "value", [], "any"falsefalsetrue119), 119$this->source));
  173.             echo "
  174.         );
  175.         ";
  176.         } elseif (twig_get_attribute($this->env$this->source,         // line 121
  177. ($context["form"] ?? null), "classcategory_id1", [], "any"truetruetrue121)) {
  178.             // line 122
  179.             echo "        eccube.checkStock(\$('#form1'), ";
  180.             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.'122$this->source); })()), "id", [], "any"falsefalsetrue122), 122$this->source), "html"nulltrue);
  181.             echo ", ";
  182.             echo json_encode($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'122$this->source); })()), "classcategory_id1", [], "any"falsefalsetrue122), "vars", [], "any"falsefalsetrue122), "value", [], "any"falsefalsetrue122), 122$this->source));
  183.             echo ", null);
  184.         ";
  185.         }
  186.         // line 124
  187.         echo "    </script>
  188.     <script>
  189.         \$(function() {
  190.             // bfcache無効化
  191.             \$(window).bind('pageshow', function(event) {
  192.                 if (event.originalEvent.persisted) {
  193.                     location.reload(true);
  194.                 }
  195.             });
  196.             \$('.item_visual').slick({
  197.                 dots: false,
  198.                 arrows: false,
  199.                 responsive: [{
  200.                     breakpoint: 768,
  201.                     settings: {
  202.                         dots: true
  203.                     }
  204.                 }]
  205.             });
  206.             \$('.slideThumb').on('mouseover click', function() {
  207.                 var index = \$(this).attr('data-index');
  208.                 \$('.item_visual').slick('slickGoTo', index, false);
  209.             })
  210.         });
  211.     </script>
  212.     <script>
  213.         \$(function() {
  214.             \$('.add-cart').on('click', function(event) {
  215.                 ";
  216.         // line 154
  217.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id1", [], "any"truetruetrue154)) {
  218.             // line 155
  219.             echo "                // 規格1フォームの必須チェック
  220.                 if (\$('#classcategory_id1').val() == '__unselected' || \$('#classcategory_id1').val() == '') {
  221.                     \$('#classcategory_id1')[0].setCustomValidity('";
  222.             // line 157
  223.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("項目が選択されていません"), "html"nulltrue);
  224.             echo "');
  225.                     return true;
  226.                 } else {
  227.                     \$('#classcategory_id1')[0].setCustomValidity('');
  228.                 }
  229.                 ";
  230.         }
  231.         // line 163
  232.         echo "
  233.                 ";
  234.         // line 164
  235.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruetrue164)) {
  236.             // line 165
  237.             echo "                // 規格2フォームの必須チェック
  238.                 if (\$('#classcategory_id2').val() == '__unselected' || \$('#classcategory_id2').val() == '') {
  239.                     \$('#classcategory_id2')[0].setCustomValidity('";
  240.             // line 167
  241.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("項目が選択されていません"), "html"nulltrue);
  242.             echo "');
  243.                     return true;
  244.                 } else {
  245.                     \$('#classcategory_id2')[0].setCustomValidity('');
  246.                 }
  247.                 ";
  248.         }
  249.         // line 173
  250.         echo "
  251.                 // 個数フォームのチェック
  252.                 if (\$('#quantity').val() < 1) {
  253.                     \$('#quantity')[0].setCustomValidity('";
  254.         // line 176
  255.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html"nulltrue);
  256.         echo "');
  257.                     return true;
  258.                 } else {
  259.                     \$('#quantity')[0].setCustomValidity('');
  260.                 }
  261.                 event.preventDefault();
  262.                 \$form = \$('#form1');
  263.                 \$.ajax({
  264.                     url: \$form.attr('action'),
  265.                     type: \$form.attr('method'),
  266.                     data: \$form.serialize(),
  267.                     dataType: 'json',
  268.                     beforeSend: function(xhr, settings) {
  269.                         // Buttonを無効にする
  270.                         \$('.add-cart').prop('disabled', true);
  271.                     }
  272.                 }).done(function(data) {
  273.                     // レスポンス内のメッセージをalertで表示
  274.                     \$.each(data.messages, function() {
  275.                         \$('#ec-modal-header').html(this);
  276.                     });
  277.                     \$('.ec-modal').show()
  278.                     // カートブロックを更新する
  279.                     \$.ajax({
  280.                         url: \"";
  281.         // line 203
  282.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
  283.         echo "\",
  284.                         type: 'GET',
  285.                         dataType: 'html'
  286.                     }).done(function(html) {
  287.                         \$('.ec-headerRole__cart').html(html);
  288.                     });
  289.                 }).fail(function(data) {
  290.                     alert('";
  291.         // line 210
  292.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html"nulltrue);
  293.         echo "');
  294.                 }).always(function(data) {
  295.                     // Buttonを有効にする
  296.                     \$('.add-cart').prop('disabled', false);
  297.                 });
  298.             });
  299.         });
  300.         \$('.ec-modal-overlay, .ec-modal .ec-inlineBtn--cancel').on('click', function() {
  301.             \$('.ec-modal').hide()
  302.         });
  303.     </script>
  304. \t<script>
  305. \t//説明表示@hanari
  306. \t\$(function(){
  307. \t\tconst productSelect = document.getElementById(\"classcategory_id1\");
  308. \t\tconst hideDoms = document.getElementsByClassName('explanation');
  309. \t\thideObj(hideDoms);
  310. \t\tproductSelect.addEventListener(\"change\",function(){
  311. \t\t\tconst num = productSelect.selectedIndex;
  312. \t\t\tif(num == 0){
  313. \t\t\t\thideObj(hideDoms);
  314. \t\t\t}else{
  315. \t\t\t\thideObj(hideDoms);
  316. \t\t\t\tlet standardName = 'standard' + num;
  317. \t\t\t\tstandarObj = document.getElementsByClassName(standardName);
  318. \t\t\t\tif(standarObj.length > 0){
  319. \t\t\t\t\tstandarObj[0].style.display = 'block';
  320. \t\t\t\t}
  321. \t\t\t}
  322. \t\t})
  323. \t\tfunction hideObj(obj){
  324. \t\t\tfor(let i = 0 ; i < obj.length ; i++){
  325. \t\t\t\tobj[i].style.display = 'none';
  326. \t\t\t}
  327. \t\t}
  328. \t})
  329. \t</script>
  330.     ";
  331.         // line 259
  332.         echo "    ";
  333.         if ((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.'259$this->source); })()), "path_3d", [], "any"falsefalsetrue259) != null)) {
  334.             // line 260
  335.             echo "
  336.     <div class=\"remodal\" data-remodal-id=\"modal\" data-remodal-options=\"hashTracking: false, closeOnOutsideClick: false\">
  337.         <div class=\"spin\" id=\"mySpriteSpin\"></div>
  338.         <button data-remodal-action=\"close\" class=\"remodal-close\"></button>
  339.         <button data-remodal-action=\"cancel\" class=\"remodal-cancel\">閉じる</button>
  340.     </div>
  341.     <link rel=\"stylesheet\" href=\"";
  342.             // line 268
  343.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/modal/remodal.css"), "html"nulltrue);
  344.             echo "\">
  345.     <link rel=\"stylesheet\" href=\"";
  346.             // line 269
  347.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/modal/remodal-default-theme.css"), "html"nulltrue);
  348.             echo "\">
  349.     <script src=\"";
  350.             // line 270
  351.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/spritespin.js"), "html"nulltrue);
  352.             echo "\"></script>
  353.     <script src=\"";
  354.             // line 271
  355.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/modal/remodal.js"), "html"nulltrue);
  356.             echo "\"></script>
  357.     <script type='text/javascript'>
  358.     \$(function() {
  359.         let windowWidth = \$(window).width();
  360.         let windowHeight = \$(window).height();
  361.     ";
  362.             // line 279
  363.             if ((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.'279$this->source); })()), "path_3d", [], "any"falsefalsetrue279) != "/user_data/product/gyokuza/spin/")) {
  364.                 // line 280
  365.                 echo "        if(windowWidth < 500 ){
  366.             windowWidth = \$(window).width()-100;
  367.             windowHeight = windowWidth * 1.5 ;
  368.         }else{
  369.             windowWidth = 500;
  370.             windowHeight = 750;
  371.         }
  372.     ";
  373.             } else {
  374.                 // line 288
  375.                 echo "        if(windowWidth < 500 ){
  376.             windowWidth = \$(window).width()-100;
  377.             windowHeight = windowWidth * 1 ;
  378.         }else{
  379.             windowWidth = 500;
  380.             windowHeight = 500;
  381.         }
  382.     ";
  383.             }
  384.             // line 296
  385.             echo "
  386.         \$(\"#mySpriteSpin\").spritespin({
  387.             // path to the source images.
  388.             source: [
  389.                 \"/html/";
  390.             // line 301
  391.             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.'301$this->source); })()), "path_3d", [], "any"falsefalsetrue301), 301$this->source), "html"nulltrue);
  392.             echo "0001.png\",
  393.                 \"/html/";
  394.             // line 302
  395.             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.'302$this->source); })()), "path_3d", [], "any"falsefalsetrue302), 302$this->source), "html"nulltrue);
  396.             echo "0002.png\",
  397.                 \"/html/";
  398.             // line 303
  399.             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.'303$this->source); })()), "path_3d", [], "any"falsefalsetrue303), 303$this->source), "html"nulltrue);
  400.             echo "0003.png\",
  401.                 \"/html/";
  402.             // line 304
  403.             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.'304$this->source); })()), "path_3d", [], "any"falsefalsetrue304), 304$this->source), "html"nulltrue);
  404.             echo "0004.png\",
  405.                 \"/html/";
  406.             // line 305
  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.'305$this->source); })()), "path_3d", [], "any"falsefalsetrue305), 305$this->source), "html"nulltrue);
  408.             echo "0005.png\",
  409.                 \"/html/";
  410.             // line 306
  411.             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.'306$this->source); })()), "path_3d", [], "any"falsefalsetrue306), 306$this->source), "html"nulltrue);
  412.             echo "0006.png\",
  413.                 \"/html/";
  414.             // line 307
  415.             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.'307$this->source); })()), "path_3d", [], "any"falsefalsetrue307), 307$this->source), "html"nulltrue);
  416.             echo "0007.png\",
  417.                 \"/html/";
  418.             // line 308
  419.             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.'308$this->source); })()), "path_3d", [], "any"falsefalsetrue308), 308$this->source), "html"nulltrue);
  420.             echo "0008.png\",
  421.                 \"/html/";
  422.             // line 309
  423.             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.'309$this->source); })()), "path_3d", [], "any"falsefalsetrue309), 309$this->source), "html"nulltrue);
  424.             echo "0009.png\",
  425.                 \"/html/";
  426.             // line 310
  427.             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.'310$this->source); })()), "path_3d", [], "any"falsefalsetrue310), 310$this->source), "html"nulltrue);
  428.             echo "0010.png\",
  429.                 \"/html/";
  430.             // line 311
  431.             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.'311$this->source); })()), "path_3d", [], "any"falsefalsetrue311), 311$this->source), "html"nulltrue);
  432.             echo "0011.png\",
  433.                 \"/html/";
  434.             // line 312
  435.             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.'312$this->source); })()), "path_3d", [], "any"falsefalsetrue312), 312$this->source), "html"nulltrue);
  436.             echo "0012.png\",
  437.                 \"/html/";
  438.             // line 313
  439.             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.'313$this->source); })()), "path_3d", [], "any"falsefalsetrue313), 313$this->source), "html"nulltrue);
  440.             echo "0013.png\",
  441.                 \"/html/";
  442.             // line 314
  443.             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.'314$this->source); })()), "path_3d", [], "any"falsefalsetrue314), 314$this->source), "html"nulltrue);
  444.             echo "0014.png\",
  445.                 \"/html/";
  446.             // line 315
  447.             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.'315$this->source); })()), "path_3d", [], "any"falsefalsetrue315), 315$this->source), "html"nulltrue);
  448.             echo "0015.png\",
  449.                 \"/html/";
  450.             // line 316
  451.             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.'316$this->source); })()), "path_3d", [], "any"falsefalsetrue316), 316$this->source), "html"nulltrue);
  452.             echo "0016.png\",
  453.                 \"/html/";
  454.             // line 317
  455.             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.'317$this->source); })()), "path_3d", [], "any"falsefalsetrue317), 317$this->source), "html"nulltrue);
  456.             echo "0017.png\",
  457.                 \"/html/";
  458.             // line 318
  459.             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.'318$this->source); })()), "path_3d", [], "any"falsefalsetrue318), 318$this->source), "html"nulltrue);
  460.             echo "0018.png\",
  461.                 \"/html/";
  462.             // line 319
  463.             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.'319$this->source); })()), "path_3d", [], "any"falsefalsetrue319), 319$this->source), "html"nulltrue);
  464.             echo "0019.png\",
  465.                 \"/html/";
  466.             // line 320
  467.             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.'320$this->source); })()), "path_3d", [], "any"falsefalsetrue320), 320$this->source), "html"nulltrue);
  468.             echo "0020.png\",
  469.                 \"/html/";
  470.             // line 321
  471.             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.'321$this->source); })()), "path_3d", [], "any"falsefalsetrue321), 321$this->source), "html"nulltrue);
  472.             echo "0021.png\",
  473.                 \"/html/";
  474.             // line 322
  475.             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.'322$this->source); })()), "path_3d", [], "any"falsefalsetrue322), 322$this->source), "html"nulltrue);
  476.             echo "0022.png\",
  477.                 \"/html/";
  478.             // line 323
  479.             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.'323$this->source); })()), "path_3d", [], "any"falsefalsetrue323), 323$this->source), "html"nulltrue);
  480.             echo "0023.png\",
  481.                 \"/html/";
  482.             // line 324
  483.             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.'324$this->source); })()), "path_3d", [], "any"falsefalsetrue324), 324$this->source), "html"nulltrue);
  484.             echo "0024.png\",
  485.                 \"/html/";
  486.             // line 325
  487.             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.'325$this->source); })()), "path_3d", [], "any"falsefalsetrue325), 325$this->source), "html"nulltrue);
  488.             echo "0025.png\",
  489.                 \"/html/";
  490.             // line 326
  491.             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.'326$this->source); })()), "path_3d", [], "any"falsefalsetrue326), 326$this->source), "html"nulltrue);
  492.             echo "0026.png\",
  493.                 \"/html/";
  494.             // line 327
  495.             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.'327$this->source); })()), "path_3d", [], "any"falsefalsetrue327), 327$this->source), "html"nulltrue);
  496.             echo "0027.png\",
  497.                 \"/html/";
  498.             // line 328
  499.             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.'328$this->source); })()), "path_3d", [], "any"falsefalsetrue328), 328$this->source), "html"nulltrue);
  500.             echo "0028.png\",
  501.                 \"/html/";
  502.             // line 329
  503.             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.'329$this->source); })()), "path_3d", [], "any"falsefalsetrue329), 329$this->source), "html"nulltrue);
  504.             echo "0029.png\",
  505.                 \"/html/";
  506.             // line 330
  507.             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.'330$this->source); })()), "path_3d", [], "any"falsefalsetrue330), 330$this->source), "html"nulltrue);
  508.             echo "0030.png\",
  509.                 \"/html/";
  510.             // line 331
  511.             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.'331$this->source); })()), "path_3d", [], "any"falsefalsetrue331), 331$this->source), "html"nulltrue);
  512.             echo "0031.png\",
  513.                 \"/html/";
  514.             // line 332
  515.             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.'332$this->source); })()), "path_3d", [], "any"falsefalsetrue332), 332$this->source), "html"nulltrue);
  516.             echo "0032.png\",
  517.                 \"/html/";
  518.             // line 333
  519.             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.'333$this->source); })()), "path_3d", [], "any"falsefalsetrue333), 333$this->source), "html"nulltrue);
  520.             echo "0033.png\",
  521.                 \"/html/";
  522.             // line 334
  523.             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.'334$this->source); })()), "path_3d", [], "any"falsefalsetrue334), 334$this->source), "html"nulltrue);
  524.             echo "0034.png\",
  525.                 \"/html/";
  526.             // line 335
  527.             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.'335$this->source); })()), "path_3d", [], "any"falsefalsetrue335), 335$this->source), "html"nulltrue);
  528.             echo "0035.png\",
  529.                 \"/html/";
  530.             // line 336
  531.             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.'336$this->source); })()), "path_3d", [], "any"falsefalsetrue336), 336$this->source), "html"nulltrue);
  532.             echo "0036.png\",
  533.             ],
  534.             width: windowWidth, // width in pixels of the window/frame
  535.             height: windowHeight, // height in pixels of the window/frame
  536.             animate: true,
  537.             frames    : 36, //使用するイメージの枚数
  538.             frameTime : 120
  539.         }).attr(\"style\", \"margin: 0 auto;\");
  540.     });
  541.     </script>
  542.     ";
  543.         }
  544.         // line 347
  545.         echo "
  546. ";
  547.         
  548.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  549.         
  550.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  551.     }
  552.     // line 351
  553.     public function block_main($context, array $blocks = [])
  554.     {
  555.         $macros $this->macros;
  556.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  557.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  558.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  559.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  560.         // line 352
  561.         if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER") || (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.'352$this->source); })()), "member", [], "any"falsefalsetrue352) != 1))) {
  562.             // line 353
  563.             echo "    <div class=\"ec-productRole\">
  564.         <div class=\"ak-header\">
  565.             <div class=\"ak-pageHeader\">
  566.                     <div class=\"ec-productRole__title\">
  567.                         <h2 class=\"ec-headingTitle\">";
  568.             // line 357
  569.             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.'357$this->source); })()), "name", [], "any"falsefalsetrue357), 357$this->source), "html"nulltrue);
  570.             echo "</h2>
  571.                     </div>
  572.                     ";
  573.             // line 359
  574.             if (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.'359$this->source); })()), "description_list", [], "any"falsefalsetrue359)) {
  575.                 // line 360
  576.                 echo "                        <div class=\"ec-productRole__description\">
  577.                             ";
  578.                 // line 361
  579.                 echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$contexttwig_template_from_string($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.'361$this->source); })()), "description_list", [], "any"falsefalsetrue361), 361$this->source)));
  580.                 echo "
  581.                         </div>
  582.                     ";
  583.             }
  584.             // line 364
  585.             echo "            </div>
  586.         </div><!-- ak-header -->
  587.                     ";
  588.             // line 367
  589.             echo "
  590.         <div class=\"ec-grid2\">
  591.             <div class=\"ec-grid2__cell cell_left\">
  592.                 <div class=\"ec-sliderItemRole\">
  593.                     <div class=\"item_visual\">
  594.                         ";
  595.             // line 372
  596.             $context['_parent'] = $context;
  597.             $context['_seq'] = twig_ensure_traversable(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.'372$this->source); })()), "ProductImage", [], "any"falsefalsetrue372));
  598.             $context['_iterated'] = false;
  599.             foreach ($context['_seq'] as $context["_key"] => $context["ProductImage"]) {
  600.                 // line 373
  601.                 echo "                            <div class=\"slide-item\"><img src=\"";
  602.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->sandbox->ensureToStringAllowed($context["ProductImage"], 373$this->source), "save_image"), "html"nulltrue);
  603.                 echo "\"></div>
  604.                         ";
  605.                 $context['_iterated'] = true;
  606.             }
  607.             if (!$context['_iterated']) {
  608.                 // line 375
  609.                 echo "                            <div class=\"slide-item\"><img src=\"";
  610.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(""), "save_image"), "html"nulltrue);
  611.                 echo "\"/></div>
  612.                         ";
  613.             }
  614.             $_parent $context['_parent'];
  615.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductImage'], $context['_parent'], $context['loop']);
  616.             $context array_intersect_key($context$_parent) + $_parent;
  617.             // line 377
  618.             echo "                    </div>
  619.                     <div class=\"item_nav ak-link\">
  620.                         ";
  621.             // line 380
  622.             $context['_parent'] = $context;
  623.             $context['_seq'] = twig_ensure_traversable(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.'380$this->source); })()), "ProductImage", [], "any"falsefalsetrue380));
  624.             $context['loop'] = [
  625.               'parent' => $context['_parent'],
  626.               'index0' => 0,
  627.               'index'  => 1,
  628.               'first'  => true,
  629.             ];
  630.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  631.                 $length count($context['_seq']);
  632.                 $context['loop']['revindex0'] = $length 1;
  633.                 $context['loop']['revindex'] = $length;
  634.                 $context['loop']['length'] = $length;
  635.                 $context['loop']['last'] = === $length;
  636.             }
  637.             foreach ($context['_seq'] as $context["_key"] => $context["ProductImage"]) {
  638.                 // line 381
  639.                 echo "                            <div class=\"slideThumb\" data-index=\"";
  640.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsetrue381), 381$this->source), "html"nulltrue);
  641.                 echo "\"><img src=\"";
  642.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->sandbox->ensureToStringAllowed($context["ProductImage"], 381$this->source), "save_image"), "html"nulltrue);
  643.                 echo "\"></div>
  644.                         ";
  645.                 ++$context['loop']['index0'];
  646.                 ++$context['loop']['index'];
  647.                 $context['loop']['first'] = false;
  648.                 if (isset($context['loop']['length'])) {
  649.                     --$context['loop']['revindex0'];
  650.                     --$context['loop']['revindex'];
  651.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  652.                 }
  653.             }
  654.             $_parent $context['_parent'];
  655.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductImage'], $context['_parent'], $context['loop']);
  656.             $context array_intersect_key($context$_parent) + $_parent;
  657.             // line 383
  658.             echo "                    </div> 
  659.                     ";
  660.             // line 384
  661.             if ((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.'384$this->source); })()), "path_3d", [], "any"falsefalsetrue384) != null)) {
  662.                 // line 385
  663.                 echo "                    <div>
  664.                         <p data-remodal-target=\"modal\" class=\"ak-link\">
  665.                             <a id=\"360_view\">360&deg; view</a>
  666.                         </p>
  667.                     </div>
  668.                     ";
  669.             }
  670.             // line 391
  671.             echo "\t\t\t\t\t";
  672.             // line 392
  673.             echo "\t\t\t\t\t";
  674.             if ((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.'392$this->source); })()), "manual_url", [], "any"falsefalsetrue392) != null)) {
  675.                 // line 393
  676.                 echo "\t\t\t\t\t<div>
  677. \t\t\t\t\t\t<p class=\"ak-link\">
  678. \t\t\t\t\t\t\t<a href=\"/html/upload/save_image/manual/";
  679.                 // line 395
  680.                 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.'395$this->source); })()), "manual_url", [], "any"falsefalsetrue395), 395$this->source), "html"nulltrue);
  681.                 echo "\" target=\"_blank\">組み立てマニュアル</a>
  682. \t\t\t\t\t\t</p>
  683. \t\t\t\t\t</div>
  684. \t\t\t\t\t";
  685.             }
  686.             // line 399
  687.             echo "\t\t\t\t\t";
  688.             // line 400
  689.             echo "                </div>
  690.             </div>
  691.             <div class=\"ec-grid2__cell cell_right\">
  692.                 <div class=\"ec-productRole__profile\">
  693.                     ";
  694.             // line 407
  695.             echo "                    <ul class=\"ec-productRole__tags\">
  696.                         ";
  697.             // line 408
  698.             $context['_parent'] = $context;
  699.             $context['_seq'] = twig_ensure_traversable(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.'408$this->source); })()), "Tags", [], "any"falsefalsetrue408));
  700.             foreach ($context['_seq'] as $context["_key"] => $context["Tag"]) {
  701.                 // line 409
  702.                 echo "                            <li class=\"ec-productRole__tag tag_";
  703.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Tag"], "id", [], "any"falsefalsetrue409), 409$this->source), "html"nulltrue);
  704.                 echo "\">";
  705.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed($context["Tag"], 409$this->source), "html"nulltrue);
  706.                 echo "</li>
  707.                         ";
  708.             }
  709.             $_parent $context['_parent'];
  710.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Tag'], $context['_parent'], $context['loop']);
  711.             $context array_intersect_key($context$_parent) + $_parent;
  712.             // line 411
  713.             echo "                    </ul>
  714.                     ";
  715.             // line 439
  716.             echo "                    ";
  717.             // line 440
  718.             echo "                    ";
  719.             // line 441
  720.             echo "                    <div class=\"ec-productRole__price\">
  721.                         ";
  722.             // line 442
  723.             if (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.'442$this->source); })()), "hasProductClass", [], "any"falsefalsetrue442)) {
  724.                 // line 443
  725.                 if ((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.'443$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsetrue443) == 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.'443$this->source); })()), "getPrice02IncTaxMax", [], "any"falsefalsetrue443))) {
  726.                     // line 444
  727.                     echo "\t\t\t\t\t\t\t\t";
  728.                     if ((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.'444$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsetrue444) == 0)) {
  729.                         // line 445
  730.                         echo "                                <div class=\"ec-price\">
  731.                                     <span></span>
  732.                                     <span class=\"ec-price__price price02-default\">オープン価格</span>
  733.                                 </div>
  734. \t\t\t\t\t\t\t\t";
  735.                     } else {
  736.                         // line 450
  737.                         echo "                                <div class=\"ec-price\">
  738.                                     <span>¥</span>
  739.                                     <span class=\"ec-price__price price02-default\">";
  740.                         // line 452
  741.                         echo twig_escape_filter($this->envtwig_number_format_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.'452$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsetrue452), 452$this->source)), "html"nulltrue);
  742.                         echo "</span>
  743.                                     <span class=\"ec-price__tax\">(";
  744.                         // line 453
  745.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  746.                         echo ")</span>
  747.                                 </div>
  748. \t\t\t\t\t\t\t\t";
  749.                     }
  750.                     // line 456
  751.                     echo "                            ";
  752.                 } else {
  753.                     // line 457
  754.                     echo "                                <div class=\"ec-price\">
  755.                                     <span>¥</span>
  756.                                     <span class=\"ec-price__price price02-default\">";
  757.                     // line 459
  758.                     echo twig_escape_filter($this->envtwig_number_format_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.'459$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsetrue459), 459$this->source)), "html"nulltrue);
  759.                     echo " ~ ";
  760.                     echo twig_escape_filter($this->envtwig_number_format_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.'459$this->source); })()), "getPrice02IncTaxMax", [], "any"falsefalsetrue459), 459$this->source)), "html"nulltrue);
  761.                     echo "</span>
  762.                                     <span class=\"ec-price__tax\">(";
  763.                     // line 460
  764.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  765.                     echo ")</span>
  766.                                 </div>
  767.                             ";
  768.                 }
  769.                 // line 463
  770.                 echo "                        ";
  771.             } else {
  772.                 // line 464
  773.                 echo "\t\t\t\t\t\t\t\t";
  774.                 if ((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.'464$this->source); })()), "getPrice02IncTaxMax", [], "any"falsefalsetrue464) == 0)) {
  775.                     // line 465
  776.                     echo "                                <div class=\"ec-price\">
  777.                                     <span></span>
  778.                                     <span class=\"ec-price__price price02-default\">オープン価格</span>
  779.                                 </div>
  780. \t\t\t\t\t\t\t\t";
  781.                 } else {
  782.                     // line 470
  783.                     echo "                                <div class=\"ec-price\">
  784.                                     <span>¥</span>
  785.                                     <span class=\"ec-price__price price02-default\">";
  786.                     // line 472
  787.                     echo twig_escape_filter($this->envtwig_number_format_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.'472$this->source); })()), "getPrice02IncTaxMax", [], "any"falsefalsetrue472), 472$this->source)), "html"nulltrue);
  788.                     echo "</span>
  789.                                     <span class=\"ec-price__tax\">(";
  790.                     // line 473
  791.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  792.                     echo ")</span>
  793.                                 </div>
  794. \t\t\t\t\t\t\t\t";
  795.                 }
  796.                 // line 476
  797.                 echo "                        ";
  798.             }
  799.             // line 477
  800.             echo "\t\t\t\t\t\t
  801.                     </div>
  802.                     ";
  803.             // line 480
  804.             echo "\t\t\t\t\t<div>
  805. \t\t\t\t\t";
  806.             // line 481
  807.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"@ProductOption42/default/Product/option_price.twig", array(), truetrue);
  808.             echo "
  809.                     </div>
  810. \t\t\t\t\t";
  811.             // line 484
  812.             echo "                    ";
  813.             if ( !twig_test_empty(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.'484$this->source); })()), "code_min", [], "any"falsefalsetrue484))) {
  814.                 // line 485
  815.                 echo "                        <div class=\"ec-productRole__code\">
  816.                             ";
  817.                 // line 486
  818.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("テックウインド型番"), "html"nulltrue);
  819.                 echo ": <span class=\"product-code-default\">";
  820.                 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.'486$this->source); })()), "code_min", [], "any"falsefalsetrue486), 486$this->source), "html"nulltrue);
  821.                 if ((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.'486$this->source); })()), "code_min", [], "any"falsefalsetrue486) != 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.'486$this->source); })()), "code_max", [], "any"falsefalsetrue486))) {
  822.                     echo " ~ ";
  823.                     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.'486$this->source); })()), "code_max", [], "any"falsefalsetrue486), 486$this->source), "html"nulltrue);
  824.                 }
  825.                 echo "</span>
  826.                         </div>
  827.                     ";
  828.             }
  829.             // line 489
  830.             echo "
  831.                     
  832.                     <form action=\"";
  833.             // line 491
  834.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_add_cart", ["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.'491$this->source); })()), "id", [], "any"falsefalsetrue491)]), "html"nulltrue);
  835.             echo "\" method=\"post\" id=\"form1\" name=\"form1\">
  836.                         ";
  837.             // line 492
  838.             if (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.'492$this->source); })()), "stock_find", [], "any"falsefalsetrue492)) {
  839.                 // line 493
  840.                 echo "                            ";
  841.                 if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER") && (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.'493$this->source); })()), "sale", [], "any"falsefalsetrue493) != null))) {
  842.                     // line 494
  843.                     echo "                            <div class=\"ec-productRole__actions\">
  844.                                 ";
  845.                     // line 495
  846.                     if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id1", [], "any"truetruetrue495)) {
  847.                         // line 496
  848.                         echo "                                    <div class=\"ec-select\">
  849.                                         ";
  850.                         // line 497
  851.                         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'497$this->source); })()), "classcategory_id1", [], "any"falsefalsetrue497), 497$this->source), 'widget');
  852.                         echo "
  853.                                         ";
  854.                         // line 498
  855.                         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'498$this->source); })()), "classcategory_id1", [], "any"falsefalsetrue498), 498$this->source), 'errors');
  856.                         echo "
  857.                                     </div>
  858.                                     ";
  859.                         // line 500
  860.                         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruetrue500)) {
  861.                             // line 501
  862.                             echo "                                        <div class=\"ec-select\">
  863.                                             ";
  864.                             // line 502
  865.                             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'502$this->source); })()), "classcategory_id2", [], "any"falsefalsetrue502), 502$this->source), 'widget');
  866.                             echo "
  867.                                             ";
  868.                             // line 503
  869.                             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'503$this->source); })()), "classcategory_id2", [], "any"falsefalsetrue503), 503$this->source), 'errors');
  870.                             echo "
  871.                                         </div>
  872.                                     ";
  873.                         }
  874.                         // line 506
  875.                         echo "                                ";
  876.                     }
  877.                     // line 507
  878.                     echo "                                
  879.                                 <div class=\"ec-numberInput\"><span>";
  880.                     // line 508
  881.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("数量"), "html"nulltrue);
  882.                     echo "</span>
  883.                                     ";
  884.                     // line 509
  885.                     echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'509$this->source); })()), "quantity", [], "any"falsefalsetrue509), 509$this->source), 'widget');
  886.                     echo "
  887.                                     ";
  888.                     // line 510
  889.                     echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'510$this->source); })()), "quantity", [], "any"falsefalsetrue510), 510$this->source), 'errors');
  890.                     echo "
  891.                                 </div>
  892.                             </div>
  893.                             ";
  894.                 } else {
  895.                     // line 514
  896.                     echo "                            <div class=\"ec-productRole__actions\">
  897.                                 ";
  898.                     // line 515
  899.                     if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id1", [], "any"truetruetrue515)) {
  900.                         // line 516
  901.                         echo "                                    <div class=\"ec-select\">
  902.                                         ";
  903.                         // line 517
  904.                         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'517$this->source); })()), "classcategory_id1", [], "any"falsefalsetrue517), 517$this->source), 'widget');
  905.                         echo "
  906.                                         ";
  907.                         // line 518
  908.                         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'518$this->source); })()), "classcategory_id1", [], "any"falsefalsetrue518), 518$this->source), 'errors');
  909.                         echo "
  910.                                     </div>
  911.                                     ";
  912.                         // line 520
  913.                         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruetrue520)) {
  914.                             // line 521
  915.                             echo "                                        <div class=\"ec-select\">
  916.                                             ";
  917.                             // line 522
  918.                             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'522$this->source); })()), "classcategory_id2", [], "any"falsefalsetrue522), 522$this->source), 'widget');
  919.                             echo "
  920.                                             ";
  921.                             // line 523
  922.                             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'523$this->source); })()), "classcategory_id2", [], "any"falsefalsetrue523), 523$this->source), 'errors');
  923.                             echo "
  924.                                         </div>
  925.                                     ";
  926.                         }
  927.                         // line 526
  928.                         echo "                                ";
  929.                     }
  930.                     // line 527
  931.                     echo "                                <div class=\"ec-numberInput\"><span>";
  932.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("数量"), "html"nulltrue);
  933.                     echo "</span>
  934.                                     ";
  935.                     // line 528
  936.                     echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'528$this->source); })()), "quantity", [], "any"falsefalsetrue528), 528$this->source), 'widget');
  937.                     echo "
  938.                                     ";
  939.                     // line 529
  940.                     echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'529$this->source); })()), "quantity", [], "any"falsefalsetrue529), 529$this->source), 'errors');
  941.                     echo "
  942.                                 </div>
  943.                             </div>
  944.                             ";
  945.                 }
  946.                 // line 533
  947.                 echo "
  948.                             ";
  949.                 // line 535
  950.                 echo "\t\t\t\t\t\t\t";
  951.                 if ((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.'535$this->source); })()), "getPrice02IncTaxMax", [], "any"falsefalsetrue535) != 0)) {
  952.                     // line 536
  953.                     echo "\t\t\t\t\t\t\t\t<div class=\"ec-productRole__btn\" style=\"margin-bottom: 0;\">
  954. \t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"ec-blockBtn--action add-cart\">
  955. \t\t\t\t\t\t\t\t\t\t";
  956.                     // line 538
  957.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに入れる"), "html"nulltrue);
  958.                     echo "
  959. \t\t\t\t\t\t\t\t\t</button>
  960. \t\t\t\t\t\t\t\t
  961. \t\t\t\t\t\t\t\t\t<div class=\"ec-productRole__btn_info\">
  962.                                         【法人のお客様へ】<br>
  963.                                         まとめ買いの特価お見積り、組み立て配送、納期相談は<a href=\"";
  964.                     // line 543
  965.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
  966.                     echo "\">お問い合わせページ</a>からご連絡ください。法人さま専任スタッフが対応します。
  967. \t\t\t\t\t\t\t\t\t</div>
  968. \t\t\t\t\t\t\t\t</div>
  969. \t\t\t\t\t\t\t";
  970.                 }
  971.                 // line 547
  972.                 echo "                            ";
  973.                 // line 548
  974.                 echo "                            ";
  975.                 // line 549
  976.                 echo "                        ";
  977.             } else {
  978.                 // line 550
  979.                 echo "                            
  980.                             ";
  981.                 // line 551
  982.                 if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER") && (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.'551$this->source); })()), "sale", [], "any"falsefalsetrue551) != null))) {
  983.                     // line 552
  984.                     echo "                            <div class=\"ec-productRole__btn\">
  985.                                 <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  986.                                     ";
  987.                     // line 554
  988.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ただいま品切れ中です。"), "html"nulltrue);
  989.                     echo "
  990.                                 </button>
  991.                             </div>
  992.                             ";
  993.                 }
  994.                 // line 558
  995.                 echo "                        ";
  996.             }
  997.             // line 559
  998.             echo "
  999.                         ";
  1000.             // line 560
  1001.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'560$this->source); })()), 560$this->source), 'rest');
  1002.             echo "
  1003.                         <div class=\"ec-productRole__btn\">
  1004.                             <div class=\"ak-banner\" class=\"ec-productRole__btn_info\">
  1005.                                 <a href=\"https://www.tekwind.co.jp/AKR/information/entry_1250.php\" target=\"_blank\">
  1006.                                     <img src=\"/html/user_data/campaign/akracing_ana_dcard_200x200_250120.jpg\" class=\"ana_mile\" alt=\"\">
  1007.                                 </a>
  1008. \t\t\t\t\t\t\t\t<a href=\"https://www.akracing.jp/news/115/\" target=\"_blank\">
  1009.                                     <img src=\"/html/user_data/campaign/akracing_banner_400x200_250331.jpg\" class=\"ana_mile\" alt=\"\">
  1010.                                 </a>
  1011.                             </div>
  1012.                         </div>
  1013.                         <style>
  1014. \t\t\t\t\t\t\t#page_product_detail .ak-banner{
  1015. \t\t\t\t\t\t\t\tdisplay: flex;
  1016. \t\t\t\t\t\t\t\tjustify-content: space-between;
  1017. \t\t\t\t\t\t\t\tgap: 1em;
  1018. \t\t\t\t\t\t\t\tpadding-top: 1em;
  1019. \t\t\t\t\t\t\t\tpadding-bottom: 1em;
  1020. \t\t\t\t\t\t\t}
  1021.                         </style>
  1022.                     </form>
  1023.                     ";
  1024.             // line 583
  1025.             echo "                    <div class=\"ec-modal\">
  1026.                         <div class=\"ec-modal-overlay\">
  1027.                             <div class=\"ec-modal-wrap\">
  1028.                                 <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"";
  1029.             // line 586
  1030.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross-dark.svg"), "html"nulltrue);
  1031.             echo "\" alt=\"\"/></span></span>
  1032.                                 <div id=\"ec-modal-header\" class=\"text-center\">";
  1033.             // line 587
  1034.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに追加しました。"), "html"nulltrue);
  1035.             echo "</div>
  1036.                                 <div class=\"ec-modal-box\">
  1037.                                     <div class=\"ec-role\">
  1038.                                         <span class=\"ec-inlineBtn--cancel\">";
  1039.             // line 590
  1040.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html"nulltrue);
  1041.             echo "</span>
  1042.                                         <a href=\"";
  1043.             // line 591
  1044.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  1045.             echo "\" class=\"ec-inlineBtn--action\">";
  1046.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへ進む"), "html"nulltrue);
  1047.             echo "</a>
  1048.                                     </div>
  1049.                                 </div>
  1050.                             </div>
  1051.                         </div>
  1052.                     </div>
  1053.                     
  1054.                     ";
  1055.             // line 599
  1056.             echo "                    ";
  1057.             // line 600
  1058.             echo "                    ";
  1059.             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.'600$this->source); })()), "option_favorite_product", [], "any"falsefalsetrue600)) {
  1060.                 // line 601
  1061.                 echo "                        <form action=\"";
  1062.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_add_favorite", ["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.'601$this->source); })()), "id", [], "any"falsefalsetrue601)]), "html"nulltrue);
  1063.                 echo "\" method=\"post\">
  1064.                             <div class=\"ec-productRole__btn\">
  1065.                                 ";
  1066.                 // line 603
  1067.                 if (((isset($context["is_favorite"]) || array_key_exists("is_favorite"$context) ? $context["is_favorite"] : (function () { throw new RuntimeError('Variable "is_favorite" does not exist.'603$this->source); })()) == false)) {
  1068.                     // line 604
  1069.                     echo "                                    <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\">
  1070.                                         ";
  1071.                     // line 605
  1072.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お気に入りに追加"), "html"nulltrue);
  1073.                     echo "
  1074.                                     </button>
  1075.                                 ";
  1076.                 } else {
  1077.                     // line 608
  1078.                     echo "                                    <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\"
  1079.                                             disabled=\"disabled\">";
  1080.                     // line 609
  1081.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お気に入りに追加済です。"), "html"nulltrue);
  1082.                     echo "
  1083.                                     </button>
  1084.                                 ";
  1085.                 }
  1086.                 // line 612
  1087.                 echo "                            </div>
  1088.                         </form>
  1089.                     ";
  1090.             }
  1091.             // line 615
  1092.             echo "                    ";
  1093.             // line 616
  1094.             echo "
  1095.                     ";
  1096.             // line 618
  1097.             echo "                    ";
  1098.             // line 628
  1099.             echo "                    ";
  1100.             // line 629
  1101.             echo "
  1102.                     ";
  1103.             // line 640
  1104.             echo "\t\t\t\t\t
  1105. \t\t\t\t\t
  1106. \t\t\t\t\t
  1107.                     ";
  1108.             // line 650
  1109.             echo "\t\t\t\t\t
  1110.                     <div class=\"ec-productRole__description\">
  1111.                         ";
  1112.             // line 652
  1113.             echo twig_nl2br($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.'652$this->source); })()), "description_detail", [], "any"falsefalsetrue652), 652$this->source));
  1114.             echo "
  1115.                     </div>
  1116.                 </div>
  1117.             </div>
  1118.         </div>
  1119.         ";
  1120.             // line 657
  1121.             if (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.'657$this->source); })()), "freearea", [], "any"falsefalsetrue657)) {
  1122.                 // line 658
  1123.                 echo "             <div class=\"ec-productRole__description\">
  1124.                  ";
  1125.                 // line 659
  1126.                 echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$contexttwig_template_from_string($this->envtwig_nl2br($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.'659$this->source); })()), "freearea", [], "any"falsefalsetrue659), 659$this->source))));
  1127.                 echo "
  1128.             </div>
  1129.         ";
  1130.             }
  1131.             // line 662
  1132.             echo "    </div>
  1133. ";
  1134.         } else {
  1135.             // line 664
  1136.             echo "        ";
  1137.             // line 665
  1138.             echo "        <div class=\"ec-productRole\">
  1139.             <div class=\"ak-header\">
  1140.                 <div class=\"ak-pageHeader\">
  1141.                         <div class=\"ec-productRole__title\">
  1142.                             <h2 class=\"ec-headingTitle\">会員限定ページ</h2>
  1143.                         </div>
  1144.                         ";
  1145.             // line 671
  1146.             if (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.'671$this->source); })()), "description_list", [], "any"falsefalsetrue671)) {
  1147.                 // line 672
  1148.                 echo "                            <div class=\"ec-productRole__description\">
  1149.                                 このページは、ユーザ登録が必要になります。
  1150.                             </div>
  1151.                         ";
  1152.             }
  1153.             // line 676
  1154.             echo "                </div>
  1155.             </div><!-- ak-header -->
  1156.         </div>
  1157.         <style>
  1158.             #product_review_area,
  1159.             .ec-layoutRole__mainBottom{
  1160.                 display:none !important;
  1161.             }
  1162.         </style>
  1163. ";
  1164.         }
  1165.         // line 687
  1166.         echo "
  1167. <style>
  1168. ";
  1169.         // line 693
  1170.         echo "    .required,
  1171.     .quantity{
  1172.         display:none;
  1173.     }
  1174. ";
  1175.         // line 698
  1176.         echo "
  1177. .item_nav{
  1178.     display:flex;
  1179.     flex-wrap:wrap;
  1180.     /*justify-content:space-between;*/
  1181.     width:100%;
  1182. }
  1183. .item_nav .slideThumb{
  1184.     width:10%;
  1185.     padding:0.5%;
  1186. }
  1187. .item_nav .slideThumb img{
  1188.     width:100%;
  1189. }
  1190.       .ec-productRole .ec-productRole__tags{
  1191.           border:none;
  1192.       }
  1193.       .ec-productRole .ec-productRole__price{
  1194.           border:none;
  1195.       }
  1196. </style>
  1197. ";
  1198.         
  1199.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1200.         
  1201.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1202.     }
  1203.     public function getTemplateName()
  1204.     {
  1205.         return "Product/detail.twig";
  1206.     }
  1207.     public function isTraitable()
  1208.     {
  1209.         return false;
  1210.     }
  1211.     public function getDebugInfo()
  1212.     {
  1213.         return array (  1234 => 698,  1228 => 693,  1222 => 687,  1209 => 676,  1203 => 672,  1201 => 671,  1193 => 665,  1191 => 664,  1187 => 662,  1181 => 659,  1178 => 658,  1176 => 657,  1168 => 652,  1164 => 650,  1159 => 640,  1156 => 629,  1154 => 628,  1152 => 618,  1149 => 616,  1147 => 615,  1142 => 612,  1136 => 609,  1133 => 608,  1127 => 605,  1124 => 604,  1122 => 603,  1116 => 601,  1113 => 600,  1111 => 599,  1099 => 591,  1095 => 590,  1089 => 587,  1085 => 586,  1080 => 583,  1055 => 560,  1052 => 559,  1049 => 558,  1042 => 554,  1038 => 552,  1036 => 551,  1033 => 550,  1030 => 549,  1028 => 548,  1026 => 547,  1019 => 543,  1011 => 538,  1007 => 536,  1004 => 535,  1001 => 533,  994 => 529,  990 => 528,  985 => 527,  982 => 526,  976 => 523,  972 => 522,  969 => 521,  967 => 520,  962 => 518,  958 => 517,  955 => 516,  953 => 515,  950 => 514,  943 => 510,  939 => 509,  935 => 508,  932 => 507,  929 => 506,  923 => 503,  919 => 502,  916 => 501,  914 => 500,  909 => 498,  905 => 497,  902 => 496,  900 => 495,  897 => 494,  894 => 493,  892 => 492,  888 => 491,  884 => 489,  872 => 486,  869 => 485,  866 => 484,  861 => 481,  858 => 480,  854 => 477,  851 => 476,  845 => 473,  841 => 472,  837 => 470,  830 => 465,  827 => 464,  824 => 463,  818 => 460,  812 => 459,  808 => 457,  805 => 456,  799 => 453,  795 => 452,  791 => 450,  784 => 445,  781 => 444,  779 => 443,  777 => 442,  774 => 441,  772 => 440,  770 => 439,  767 => 411,  756 => 409,  752 => 408,  749 => 407,  741 => 400,  739 => 399,  732 => 395,  728 => 393,  725 => 392,  723 => 391,  715 => 385,  713 => 384,  710 => 383,  691 => 381,  674 => 380,  669 => 377,  660 => 375,  652 => 373,  647 => 372,  640 => 367,  636 => 364,  630 => 361,  627 => 360,  625 => 359,  620 => 357,  614 => 353,  612 => 352,  602 => 351,  590 => 347,  576 => 336,  572 => 335,  568 => 334,  564 => 333,  560 => 332,  556 => 331,  552 => 330,  548 => 329,  544 => 328,  540 => 327,  536 => 326,  532 => 325,  528 => 324,  524 => 323,  520 => 322,  516 => 321,  512 => 320,  508 => 319,  504 => 318,  500 => 317,  496 => 316,  492 => 315,  488 => 314,  484 => 313,  480 => 312,  476 => 311,  472 => 310,  468 => 309,  464 => 308,  460 => 307,  456 => 306,  452 => 305,  448 => 304,  444 => 303,  440 => 302,  436 => 301,  429 => 296,  419 => 288,  409 => 280,  407 => 279,  396 => 271,  392 => 270,  388 => 269,  384 => 268,  374 => 260,  371 => 259,  328 => 210,  318 => 203,  288 => 176,  283 => 173,  274 => 167,  270 => 165,  268 => 164,  265 => 163,  256 => 157,  252 => 155,  250 => 154,  218 => 124,  210 => 122,  208 => 121,  203 => 119,  200 => 118,  198 => 117,  184 => 106,  181 => 105,  171 => 104,  75 => 16,  65 => 15,  54 => 11,  52 => 13,  39 => 11,);
  1214.     }
  1215.     public function getSourceContext()
  1216.     {
  1217.         return new Source("{#
  1218. This file is part of EC-CUBE
  1219. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  1220. http://www.ec-cube.co.jp/
  1221. For the full copyright and license information, please view the LICENSE
  1222. file that was distributed with this source code.
  1223. #}
  1224. {% extends 'default_frame.twig' %}
  1225. {% set body_class = 'product_page' %}
  1226. {% block stylesheet %}
  1227.     <style>
  1228.         .slick-slider {
  1229.             margin-bottom: 14px;
  1230.         }
  1231.         .manual-margin {
  1232.             margin: 14px 0;
  1233.         }
  1234.         .slick-dots {
  1235.             position: absolute;
  1236.             bottom: -45px;
  1237.             display: block;
  1238.             width: 100%;
  1239.             padding: 0;
  1240.             list-style: none;
  1241.             text-align: center;
  1242.         }
  1243.         .slick-dots li {
  1244.             position: relative;
  1245.             display: inline-block;
  1246.             width: 20px;
  1247.             height: 20px;
  1248.             margin: 0 5px;
  1249.             padding: 0;
  1250.             cursor: pointer;
  1251.         }
  1252.         .slick-dots li button {
  1253.             font-size: 0;
  1254.             line-height: 0;
  1255.             display: block;
  1256.             width: 20px;
  1257.             height: 20px;
  1258.             padding: 5px;
  1259.             cursor: pointer;
  1260.             color: transparent;
  1261.             border: 0;
  1262.             outline: none;
  1263.             background: transparent;
  1264.         }
  1265.         .slick-dots li button:hover,
  1266.         .slick-dots li button:focus {
  1267.             outline: none;
  1268.         }
  1269.         .slick-dots li button:hover:before,
  1270.         .slick-dots li button:focus:before {
  1271.             opacity: 1;
  1272.         }
  1273.         .slick-dots li button:before {
  1274.             content: \" \";
  1275.             line-height: 20px;
  1276.             position: absolute;
  1277.             top: 0;
  1278.             left: 0;
  1279.             width: 12px;
  1280.             height: 12px;
  1281.             text-align: center;
  1282.             opacity: .25;
  1283.             background-color: black;
  1284.             border-radius: 50%;
  1285.         }
  1286.         .slick-dots li.slick-active button:before {
  1287.             opacity: .75;
  1288.             background-color: black;
  1289.         }
  1290.         .slick-dots li button.thumbnail img {
  1291.             width: 0;
  1292.             height: 0;
  1293.         }
  1294.     </style>
  1295.     <style type=\"text/css\">
  1296.     .remodal-wrapper .loading {
  1297.     height: 100px;
  1298.     background-image: url(/html/template/akracing/assets/img/loadinfo.gif);
  1299.     background-repeat: no-repeat;
  1300.     background-position: 50% 50%;
  1301.     }
  1302.     </style>
  1303. {% endblock %}
  1304. {% block javascript %}
  1305.     <script>
  1306.         eccube.classCategories = {{ class_categories_as_json(Product)|raw }};
  1307.         // 規格2に選択肢を割り当てる。
  1308.         function fnSetClassCategories(form, classcat_id2_selected) {
  1309.             var \$form = \$(form);
  1310.             var product_id = \$form.find('input[name=product_id]').val();
  1311.             var \$sele1 = \$form.find('select[name=classcategory_id1]');
  1312.             var \$sele2 = \$form.find('select[name=classcategory_id2]');
  1313.             eccube.setClassCategories(\$form, product_id, \$sele1, \$sele2, classcat_id2_selected);
  1314.         }
  1315.         {% if form.classcategory_id2 is defined %}
  1316.         fnSetClassCategories(
  1317.             \$('#form1'), {{ form.classcategory_id2.vars.value|json_encode|raw }}
  1318.         );
  1319.         {% elseif form.classcategory_id1 is defined %}
  1320.         eccube.checkStock(\$('#form1'), {{ Product.id }}, {{ form.classcategory_id1.vars.value|json_encode|raw }}, null);
  1321.         {% endif %}
  1322.     </script>
  1323.     <script>
  1324.         \$(function() {
  1325.             // bfcache無効化
  1326.             \$(window).bind('pageshow', function(event) {
  1327.                 if (event.originalEvent.persisted) {
  1328.                     location.reload(true);
  1329.                 }
  1330.             });
  1331.             \$('.item_visual').slick({
  1332.                 dots: false,
  1333.                 arrows: false,
  1334.                 responsive: [{
  1335.                     breakpoint: 768,
  1336.                     settings: {
  1337.                         dots: true
  1338.                     }
  1339.                 }]
  1340.             });
  1341.             \$('.slideThumb').on('mouseover click', function() {
  1342.                 var index = \$(this).attr('data-index');
  1343.                 \$('.item_visual').slick('slickGoTo', index, false);
  1344.             })
  1345.         });
  1346.     </script>
  1347.     <script>
  1348.         \$(function() {
  1349.             \$('.add-cart').on('click', function(event) {
  1350.                 {% if form.classcategory_id1 is defined %}
  1351.                 // 規格1フォームの必須チェック
  1352.                 if (\$('#classcategory_id1').val() == '__unselected' || \$('#classcategory_id1').val() == '') {
  1353.                     \$('#classcategory_id1')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');
  1354.                     return true;
  1355.                 } else {
  1356.                     \$('#classcategory_id1')[0].setCustomValidity('');
  1357.                 }
  1358.                 {% endif %}
  1359.                 {% if form.classcategory_id2 is defined %}
  1360.                 // 規格2フォームの必須チェック
  1361.                 if (\$('#classcategory_id2').val() == '__unselected' || \$('#classcategory_id2').val() == '') {
  1362.                     \$('#classcategory_id2')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');
  1363.                     return true;
  1364.                 } else {
  1365.                     \$('#classcategory_id2')[0].setCustomValidity('');
  1366.                 }
  1367.                 {% endif %}
  1368.                 // 個数フォームのチェック
  1369.                 if (\$('#quantity').val() < 1) {
  1370.                     \$('#quantity')[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
  1371.                     return true;
  1372.                 } else {
  1373.                     \$('#quantity')[0].setCustomValidity('');
  1374.                 }
  1375.                 event.preventDefault();
  1376.                 \$form = \$('#form1');
  1377.                 \$.ajax({
  1378.                     url: \$form.attr('action'),
  1379.                     type: \$form.attr('method'),
  1380.                     data: \$form.serialize(),
  1381.                     dataType: 'json',
  1382.                     beforeSend: function(xhr, settings) {
  1383.                         // Buttonを無効にする
  1384.                         \$('.add-cart').prop('disabled', true);
  1385.                     }
  1386.                 }).done(function(data) {
  1387.                     // レスポンス内のメッセージをalertで表示
  1388.                     \$.each(data.messages, function() {
  1389.                         \$('#ec-modal-header').html(this);
  1390.                     });
  1391.                     \$('.ec-modal').show()
  1392.                     // カートブロックを更新する
  1393.                     \$.ajax({
  1394.                         url: \"{{ url('block_cart') }}\",
  1395.                         type: 'GET',
  1396.                         dataType: 'html'
  1397.                     }).done(function(html) {
  1398.                         \$('.ec-headerRole__cart').html(html);
  1399.                     });
  1400.                 }).fail(function(data) {
  1401.                     alert('{{ 'カートへの追加に失敗しました。'|trans }}');
  1402.                 }).always(function(data) {
  1403.                     // Buttonを有効にする
  1404.                     \$('.add-cart').prop('disabled', false);
  1405.                 });
  1406.             });
  1407.         });
  1408.         \$('.ec-modal-overlay, .ec-modal .ec-inlineBtn--cancel').on('click', function() {
  1409.             \$('.ec-modal').hide()
  1410.         });
  1411.     </script>
  1412. \t<script>
  1413. \t//説明表示@hanari
  1414. \t\$(function(){
  1415. \t\tconst productSelect = document.getElementById(\"classcategory_id1\");
  1416. \t\tconst hideDoms = document.getElementsByClassName('explanation');
  1417. \t\thideObj(hideDoms);
  1418. \t\tproductSelect.addEventListener(\"change\",function(){
  1419. \t\t\tconst num = productSelect.selectedIndex;
  1420. \t\t\tif(num == 0){
  1421. \t\t\t\thideObj(hideDoms);
  1422. \t\t\t}else{
  1423. \t\t\t\thideObj(hideDoms);
  1424. \t\t\t\tlet standardName = 'standard' + num;
  1425. \t\t\t\tstandarObj = document.getElementsByClassName(standardName);
  1426. \t\t\t\tif(standarObj.length > 0){
  1427. \t\t\t\t\tstandarObj[0].style.display = 'block';
  1428. \t\t\t\t}
  1429. \t\t\t}
  1430. \t\t})
  1431. \t\tfunction hideObj(obj){
  1432. \t\t\tfor(let i = 0 ; i < obj.length ; i++){
  1433. \t\t\t\tobj[i].style.display = 'none';
  1434. \t\t\t}
  1435. \t\t}
  1436. \t})
  1437. \t</script>
  1438.     {# 
  1439.     360 view
  1440.     https://spritespin.ginie.eu/
  1441.     http://pannyatto.firebird.jp/archives/1020
  1442.     modalプラグイン
  1443.     https://125naroom.com/web/3202
  1444.     http://vodkabears.github.io/remodal/
  1445.     #}
  1446.     {% if Product.path_3d != null %}
  1447.     <div class=\"remodal\" data-remodal-id=\"modal\" data-remodal-options=\"hashTracking: false, closeOnOutsideClick: false\">
  1448.         <div class=\"spin\" id=\"mySpriteSpin\"></div>
  1449.         <button data-remodal-action=\"close\" class=\"remodal-close\"></button>
  1450.         <button data-remodal-action=\"cancel\" class=\"remodal-cancel\">閉じる</button>
  1451.     </div>
  1452.     <link rel=\"stylesheet\" href=\"{{ asset('assets/modal/remodal.css')}}\">
  1453.     <link rel=\"stylesheet\" href=\"{{ asset('assets/modal/remodal-default-theme.css')}}\">
  1454.     <script src=\"{{ asset('assets/js/spritespin.js')}}\"></script>
  1455.     <script src=\"{{ asset('assets/modal/remodal.js')}}\"></script>
  1456.     <script type='text/javascript'>
  1457.     \$(function() {
  1458.         let windowWidth = \$(window).width();
  1459.         let windowHeight = \$(window).height();
  1460.     {% if Product.path_3d != \"/user_data/product/gyokuza/spin/\" %}
  1461.         if(windowWidth < 500 ){
  1462.             windowWidth = \$(window).width()-100;
  1463.             windowHeight = windowWidth * 1.5 ;
  1464.         }else{
  1465.             windowWidth = 500;
  1466.             windowHeight = 750;
  1467.         }
  1468.     {% else %}
  1469.         if(windowWidth < 500 ){
  1470.             windowWidth = \$(window).width()-100;
  1471.             windowHeight = windowWidth * 1 ;
  1472.         }else{
  1473.             windowWidth = 500;
  1474.             windowHeight = 500;
  1475.         }
  1476.     {% endif %}
  1477.         \$(\"#mySpriteSpin\").spritespin({
  1478.             // path to the source images.
  1479.             source: [
  1480.                 \"/html/{{Product.path_3d}}0001.png\",
  1481.                 \"/html/{{Product.path_3d}}0002.png\",
  1482.                 \"/html/{{Product.path_3d}}0003.png\",
  1483.                 \"/html/{{Product.path_3d}}0004.png\",
  1484.                 \"/html/{{Product.path_3d}}0005.png\",
  1485.                 \"/html/{{Product.path_3d}}0006.png\",
  1486.                 \"/html/{{Product.path_3d}}0007.png\",
  1487.                 \"/html/{{Product.path_3d}}0008.png\",
  1488.                 \"/html/{{Product.path_3d}}0009.png\",
  1489.                 \"/html/{{Product.path_3d}}0010.png\",
  1490.                 \"/html/{{Product.path_3d}}0011.png\",
  1491.                 \"/html/{{Product.path_3d}}0012.png\",
  1492.                 \"/html/{{Product.path_3d}}0013.png\",
  1493.                 \"/html/{{Product.path_3d}}0014.png\",
  1494.                 \"/html/{{Product.path_3d}}0015.png\",
  1495.                 \"/html/{{Product.path_3d}}0016.png\",
  1496.                 \"/html/{{Product.path_3d}}0017.png\",
  1497.                 \"/html/{{Product.path_3d}}0018.png\",
  1498.                 \"/html/{{Product.path_3d}}0019.png\",
  1499.                 \"/html/{{Product.path_3d}}0020.png\",
  1500.                 \"/html/{{Product.path_3d}}0021.png\",
  1501.                 \"/html/{{Product.path_3d}}0022.png\",
  1502.                 \"/html/{{Product.path_3d}}0023.png\",
  1503.                 \"/html/{{Product.path_3d}}0024.png\",
  1504.                 \"/html/{{Product.path_3d}}0025.png\",
  1505.                 \"/html/{{Product.path_3d}}0026.png\",
  1506.                 \"/html/{{Product.path_3d}}0027.png\",
  1507.                 \"/html/{{Product.path_3d}}0028.png\",
  1508.                 \"/html/{{Product.path_3d}}0029.png\",
  1509.                 \"/html/{{Product.path_3d}}0030.png\",
  1510.                 \"/html/{{Product.path_3d}}0031.png\",
  1511.                 \"/html/{{Product.path_3d}}0032.png\",
  1512.                 \"/html/{{Product.path_3d}}0033.png\",
  1513.                 \"/html/{{Product.path_3d}}0034.png\",
  1514.                 \"/html/{{Product.path_3d}}0035.png\",
  1515.                 \"/html/{{Product.path_3d}}0036.png\",
  1516.             ],
  1517.             width: windowWidth, // width in pixels of the window/frame
  1518.             height: windowHeight, // height in pixels of the window/frame
  1519.             animate: true,
  1520.             frames    : 36, //使用するイメージの枚数
  1521.             frameTime : 120
  1522.         }).attr(\"style\", \"margin: 0 auto;\");
  1523.     });
  1524.     </script>
  1525.     {% endif %}
  1526. {% endblock %}
  1527. {% block main %}
  1528. {% if is_granted('ROLE_USER') or Product.member != 1 %}{# 会員限定 #}
  1529.     <div class=\"ec-productRole\">
  1530.         <div class=\"ak-header\">
  1531.             <div class=\"ak-pageHeader\">
  1532.                     <div class=\"ec-productRole__title\">
  1533.                         <h2 class=\"ec-headingTitle\">{{ Product.name }}</h2>
  1534.                     </div>
  1535.                     {% if Product.description_list %}
  1536.                         <div class=\"ec-productRole__description\">
  1537.                             {{ include(template_from_string(Product.description_list)) }}
  1538.                         </div>
  1539.                     {% endif %}
  1540.             </div>
  1541.         </div><!-- ak-header -->
  1542.                     {# 商品名 #}
  1543.         <div class=\"ec-grid2\">
  1544.             <div class=\"ec-grid2__cell cell_left\">
  1545.                 <div class=\"ec-sliderItemRole\">
  1546.                     <div class=\"item_visual\">
  1547.                         {% for ProductImage in Product.ProductImage %}
  1548.                             <div class=\"slide-item\"><img src=\"{{ asset(ProductImage, 'save_image') }}\"></div>
  1549.                         {% else %}
  1550.                             <div class=\"slide-item\"><img src=\"{{ asset(''|no_image_product, 'save_image') }}\"/></div>
  1551.                         {% endfor %}
  1552.                     </div>
  1553.                     <div class=\"item_nav ak-link\">
  1554.                         {% for ProductImage in Product.ProductImage %}
  1555.                             <div class=\"slideThumb\" data-index=\"{{ loop.index0 }}\"><img src=\"{{ asset(ProductImage, 'save_image') }}\"></div>
  1556.                         {% endfor %}
  1557.                     </div> 
  1558.                     {% if Product.path_3d != null %}
  1559.                     <div>
  1560.                         <p data-remodal-target=\"modal\" class=\"ak-link\">
  1561.                             <a id=\"360_view\">360&deg; view</a>
  1562.                         </p>
  1563.                     </div>
  1564.                     {% endif %}
  1565. \t\t\t\t\t{# 組み立てマニュアル #}
  1566. \t\t\t\t\t{% if Product.manual_url != null %}
  1567. \t\t\t\t\t<div>
  1568. \t\t\t\t\t\t<p class=\"ak-link\">
  1569. \t\t\t\t\t\t\t<a href=\"/html/upload/save_image/manual/{{Product.manual_url}}\" target=\"_blank\">組み立てマニュアル</a>
  1570. \t\t\t\t\t\t</p>
  1571. \t\t\t\t\t</div>
  1572. \t\t\t\t\t{% endif %}
  1573. \t\t\t\t\t{# 組み立てマニュアル #}
  1574.                 </div>
  1575.             </div>
  1576.             <div class=\"ec-grid2__cell cell_right\">
  1577.                 <div class=\"ec-productRole__profile\">
  1578.                     {# タグ #}
  1579.                     <ul class=\"ec-productRole__tags\">
  1580.                         {% for Tag in Product.Tags %}
  1581.                             <li class=\"ec-productRole__tag tag_{{ Tag.id }}\">{{ Tag }}</li>
  1582.                         {% endfor %}
  1583.                     </ul>
  1584.                     {# 通常価格 #}
  1585. {# 20230921@hanari 
  1586.                     {% if Product.hasProductClass -%}
  1587.                         <div class=\"ec-productRole__priceRegular\">
  1588.                         {% if Product.getPrice01Min == 0 %}
  1589.                             オープン価格
  1590.                         {% else %}
  1591.                             {% if Product.getPrice01Min is not null and Product.getPrice01IncTaxMin == Product.getPrice01IncTaxMax %}
  1592.                                 <span class=\"ec-productRole__priceRegularPrice\">{{ '想定売価'|trans }}:<span class=\"price01-default\">{{ Product.getPrice01IncTaxMin|number_format }}</span></span>
  1593.                                 <span class=\"ec-productRole__priceRegularTax\">({{ '税込'|trans }})</span>
  1594.                             {% elseif Product.getPrice01Min is not null and Product.getPrice01Max is not null %}
  1595.                                 <span class=\"ec-productRole__priceRegularPrice\">{{ '想定売価'|trans }}:<span class=\"price01-default\">{{ Product.getPrice01IncTaxMin|number_format }}~ {{ Product.getPrice01IncTaxMax|price }}</span></span>
  1596.                                 <span class=\"ec-productRole__priceRegularTax\">({{ '税込'|trans }})</span>
  1597.                             {% endif %}
  1598.                         {% endif %}
  1599.                         </div>
  1600.                     {% else %}
  1601.                         {% if Product.getPrice01Min == 0 %}
  1602.                             オープン価格
  1603.                         {% else %}
  1604.                             {% if Product.getPrice01Max is not null %}
  1605.                                 <span class=\"ec-productRole__priceRegularPrice\">{{ '想定売価'|trans }}:{{ Product.getPrice01IncTaxMin|number_format }}</span>
  1606.                                 <span class=\"ec-productRole__priceRegularTax\">({{ '税込'|trans }})</span>
  1607.                             {% endif %}
  1608.                         {% endif %}
  1609.                     {% endif %}
  1610. #}
  1611.                     {# if is_granted('ROLE_USER') and Product.sale != null #}{# ログイン後表示 #}
  1612.                     {# 販売価格 #}
  1613.                     <div class=\"ec-productRole__price\">
  1614.                         {% if Product.hasProductClass -%}
  1615.                             {% if Product.getPrice02IncTaxMin == Product.getPrice02IncTaxMax %}
  1616. \t\t\t\t\t\t\t\t{% if Product.getPrice02IncTaxMin == 0 %}
  1617.                                 <div class=\"ec-price\">
  1618.                                     <span></span>
  1619.                                     <span class=\"ec-price__price price02-default\">オープン価格</span>
  1620.                                 </div>
  1621. \t\t\t\t\t\t\t\t{% else %}
  1622.                                 <div class=\"ec-price\">
  1623.                                     <span>¥</span>
  1624.                                     <span class=\"ec-price__price price02-default\">{{ Product.getPrice02IncTaxMin|number_format }}</span>
  1625.                                     <span class=\"ec-price__tax\">({{ '税込'|trans }})</span>
  1626.                                 </div>
  1627. \t\t\t\t\t\t\t\t{% endif %}
  1628.                             {% else %}
  1629.                                 <div class=\"ec-price\">
  1630.                                     <span>¥</span>
  1631.                                     <span class=\"ec-price__price price02-default\">{{ Product.getPrice02IncTaxMin|number_format }} ~ {{ Product.getPrice02IncTaxMax|number_format }}</span>
  1632.                                     <span class=\"ec-price__tax\">({{ '税込'|trans }})</span>
  1633.                                 </div>
  1634.                             {% endif %}
  1635.                         {% else %}
  1636. \t\t\t\t\t\t\t\t{% if Product.getPrice02IncTaxMax == 0 %}
  1637.                                 <div class=\"ec-price\">
  1638.                                     <span></span>
  1639.                                     <span class=\"ec-price__price price02-default\">オープン価格</span>
  1640.                                 </div>
  1641. \t\t\t\t\t\t\t\t{% else %}
  1642.                                 <div class=\"ec-price\">
  1643.                                     <span>¥</span>
  1644.                                     <span class=\"ec-price__price price02-default\">{{ Product.getPrice02IncTaxMax|number_format }}</span>
  1645.                                     <span class=\"ec-price__tax\">({{ '税込'|trans }})</span>
  1646.                                 </div>
  1647. \t\t\t\t\t\t\t\t{% endif %}
  1648.                         {% endif %}
  1649. \t\t\t\t\t\t
  1650.                     </div>
  1651.                     {# endif #}{# ログイン後表示 #}
  1652. \t\t\t\t\t<div>
  1653. \t\t\t\t\t{{ include('@ProductOption42/default/Product/option_price.twig', ignore_missing=true)}}
  1654.                     </div>
  1655. \t\t\t\t\t{# 商品コード #}
  1656.                     {% if Product.code_min is not empty %}
  1657.                         <div class=\"ec-productRole__code\">
  1658.                             {{ 'テックウインド型番'|trans }}: <span class=\"product-code-default\">{{ Product.code_min }}{% if Product.code_min != Product.code_max %} ~ {{ Product.code_max }}{% endif %}</span>
  1659.                         </div>
  1660.                     {% endif %}
  1661.                     
  1662.                     <form action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\" id=\"form1\" name=\"form1\">
  1663.                         {% if Product.stock_find %}
  1664.                             {% if is_granted('ROLE_USER') and Product.sale != null  %}{# 販売開始後表示 #}
  1665.                             <div class=\"ec-productRole__actions\">
  1666.                                 {% if form.classcategory_id1 is defined %}
  1667.                                     <div class=\"ec-select\">
  1668.                                         {{ form_widget(form.classcategory_id1) }}
  1669.                                         {{ form_errors(form.classcategory_id1) }}
  1670.                                     </div>
  1671.                                     {% if form.classcategory_id2 is defined %}
  1672.                                         <div class=\"ec-select\">
  1673.                                             {{ form_widget(form.classcategory_id2) }}
  1674.                                             {{ form_errors(form.classcategory_id2) }}
  1675.                                         </div>
  1676.                                     {% endif %}
  1677.                                 {% endif %}
  1678.                                 
  1679.                                 <div class=\"ec-numberInput\"><span>{{ '数量'|trans }}</span>
  1680.                                     {{ form_widget(form.quantity) }}
  1681.                                     {{ form_errors(form.quantity) }}
  1682.                                 </div>
  1683.                             </div>
  1684.                             {% else %}{# 販売開始後表示 #}
  1685.                             <div class=\"ec-productRole__actions\">
  1686.                                 {% if form.classcategory_id1 is defined %}
  1687.                                     <div class=\"ec-select\">
  1688.                                         {{ form_widget(form.classcategory_id1) }}
  1689.                                         {{ form_errors(form.classcategory_id1) }}
  1690.                                     </div>
  1691.                                     {% if form.classcategory_id2 is defined %}
  1692.                                         <div class=\"ec-select\">
  1693.                                             {{ form_widget(form.classcategory_id2) }}
  1694.                                             {{ form_errors(form.classcategory_id2) }}
  1695.                                         </div>
  1696.                                     {% endif %}
  1697.                                 {% endif %}
  1698.                                 <div class=\"ec-numberInput\"><span>{{ '数量'|trans }}</span>
  1699.                                     {{ form_widget(form.quantity) }}
  1700.                                     {{ form_errors(form.quantity) }}
  1701.                                 </div>
  1702.                             </div>
  1703.                             {% endif %}{# 販売開始後表示 #}
  1704.                             {# if is_granted('ROLE_USER') and Product.sale != null #}{# 販売開始後表示 #}
  1705. \t\t\t\t\t\t\t{% if Product.getPrice02IncTaxMax != 0 %}
  1706. \t\t\t\t\t\t\t\t<div class=\"ec-productRole__btn\" style=\"margin-bottom: 0;\">
  1707. \t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"ec-blockBtn--action add-cart\">
  1708. \t\t\t\t\t\t\t\t\t\t{{ 'カートに入れる'|trans }}
  1709. \t\t\t\t\t\t\t\t\t</button>
  1710. \t\t\t\t\t\t\t\t
  1711. \t\t\t\t\t\t\t\t\t<div class=\"ec-productRole__btn_info\">
  1712.                                         【法人のお客様へ】<br>
  1713.                                         まとめ買いの特価お見積り、組み立て配送、納期相談は<a href=\"{{ url('contact') }}\">お問い合わせページ</a>からご連絡ください。法人さま専任スタッフが対応します。
  1714. \t\t\t\t\t\t\t\t\t</div>
  1715. \t\t\t\t\t\t\t\t</div>
  1716. \t\t\t\t\t\t\t{% endif %}
  1717.                             {# else #}{# 販売開始後表示 #}
  1718.                             {# endif #}{# 販売開始後表示 #}
  1719.                         {% else %}
  1720.                             
  1721.                             {% if is_granted('ROLE_USER') and Product.sale != null %}{# ログイン後表示 #}
  1722.                             <div class=\"ec-productRole__btn\">
  1723.                                 <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  1724.                                     {{ 'ただいま品切れ中です。'|trans }}
  1725.                                 </button>
  1726.                             </div>
  1727.                             {% endif %}{# ログイン後表示 #}
  1728.                         {% endif %}
  1729.                         {{ form_rest(form) }}
  1730.                         <div class=\"ec-productRole__btn\">
  1731.                             <div class=\"ak-banner\" class=\"ec-productRole__btn_info\">
  1732.                                 <a href=\"https://www.tekwind.co.jp/AKR/information/entry_1250.php\" target=\"_blank\">
  1733.                                     <img src=\"/html/user_data/campaign/akracing_ana_dcard_200x200_250120.jpg\" class=\"ana_mile\" alt=\"\">
  1734.                                 </a>
  1735. \t\t\t\t\t\t\t\t<a href=\"https://www.akracing.jp/news/115/\" target=\"_blank\">
  1736.                                     <img src=\"/html/user_data/campaign/akracing_banner_400x200_250331.jpg\" class=\"ana_mile\" alt=\"\">
  1737.                                 </a>
  1738.                             </div>
  1739.                         </div>
  1740.                         <style>
  1741. \t\t\t\t\t\t\t#page_product_detail .ak-banner{
  1742. \t\t\t\t\t\t\t\tdisplay: flex;
  1743. \t\t\t\t\t\t\t\tjustify-content: space-between;
  1744. \t\t\t\t\t\t\t\tgap: 1em;
  1745. \t\t\t\t\t\t\t\tpadding-top: 1em;
  1746. \t\t\t\t\t\t\t\tpadding-bottom: 1em;
  1747. \t\t\t\t\t\t\t}
  1748.                         </style>
  1749.                     </form>
  1750.                     {# if is_granted('ROLE_USER') #}{# ログイン後表示 #}
  1751.                     <div class=\"ec-modal\">
  1752.                         <div class=\"ec-modal-overlay\">
  1753.                             <div class=\"ec-modal-wrap\">
  1754.                                 <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"{{ asset('assets/icon/cross-dark.svg') }}\" alt=\"\"/></span></span>
  1755.                                 <div id=\"ec-modal-header\" class=\"text-center\">{{ 'カートに追加しました。'|trans }}</div>
  1756.                                 <div class=\"ec-modal-box\">
  1757.                                     <div class=\"ec-role\">
  1758.                                         <span class=\"ec-inlineBtn--cancel\">{{ 'お買い物を続ける'|trans }}</span>
  1759.                                         <a href=\"{{ url('cart') }}\" class=\"ec-inlineBtn--action\">{{ 'カートへ進む'|trans }}</a>
  1760.                                     </div>
  1761.                                 </div>
  1762.                             </div>
  1763.                         </div>
  1764.                     </div>
  1765.                     
  1766.                     {# endif #}{# ログイン後表示 #}
  1767.                     {# if is_granted('ROLE_USER') #}{# ログイン後表示 #}
  1768.                     {% if BaseInfo.option_favorite_product %}
  1769.                         <form action=\"{{ url('product_add_favorite', {id:Product.id}) }}\" method=\"post\">
  1770.                             <div class=\"ec-productRole__btn\">
  1771.                                 {% if is_favorite == false %}
  1772.                                     <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\">
  1773.                                         {{ 'お気に入りに追加'|trans }}
  1774.                                     </button>
  1775.                                 {% else %}
  1776.                                     <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\"
  1777.                                             disabled=\"disabled\">{{ 'お気に入りに追加済です。'|trans }}
  1778.                                     </button>
  1779.                                 {% endif %}
  1780.                             </div>
  1781.                         </form>
  1782.                     {% endif %}
  1783.                     {# endif #}{# ログイン後表示 #}
  1784.                     {# 直販 リンクボタン #}
  1785.                     {# dump(Product) #}
  1786. {# 20230921@hanari
  1787.                     {% if Product.direct_shop_url != null %}
  1788.                     <div class=\"direct_shop_url\">
  1789.                         <p class=\"ak-link\">
  1790.                             <a href=\"{{Product.direct_shop_url}}\" target=\"_blank\">直販サイトはこちら</a>
  1791.                         </p>
  1792.                     </div>
  1793.                     {% endif %}
  1794. #}
  1795.                     {# 直販 リンクボタン #}
  1796.                     {# Amazon リンクボタン 
  1797.                     {% if Product.amazon_url != null %}
  1798.                     <div class=\"amazon_url\">
  1799.                         <p class=\"ak-link\">
  1800.                             <a href=\"{{Product.amazon_url}}\" target=\"_blank\">Amazon で購入</a>
  1801.                         </p>
  1802.                     </div>
  1803.                     {% endif %}
  1804. \t\t\t\t\t#}
  1805. \t\t\t\t\t
  1806. \t\t\t\t\t
  1807. \t\t\t\t\t
  1808.                     {# shop - list 
  1809.                     <div class=\"shopList_url\">
  1810.                         <p class=\"ak-link\">
  1811.                             <a href=\"{{ url('homepage') }}shop\">お近くの販売店をさがす</a>
  1812.                         </p>
  1813.                     </div>
  1814. \t\t\t\t\t#}
  1815. \t\t\t\t\t
  1816.                     <div class=\"ec-productRole__description\">
  1817.                         {{ Product.description_detail|raw|nl2br }}
  1818.                     </div>
  1819.                 </div>
  1820.             </div>
  1821.         </div>
  1822.         {% if Product.freearea %}
  1823.              <div class=\"ec-productRole__description\">
  1824.                  {{ include(template_from_string(Product.freearea|raw|nl2br)) }}
  1825.             </div>
  1826.         {% endif %}
  1827.     </div>
  1828. {% else %}{# 会員限定 #}
  1829.         {# 会員限定 エラー表示 #}
  1830.         <div class=\"ec-productRole\">
  1831.             <div class=\"ak-header\">
  1832.                 <div class=\"ak-pageHeader\">
  1833.                         <div class=\"ec-productRole__title\">
  1834.                             <h2 class=\"ec-headingTitle\">会員限定ページ</h2>
  1835.                         </div>
  1836.                         {% if Product.description_list %}
  1837.                             <div class=\"ec-productRole__description\">
  1838.                                 このページは、ユーザ登録が必要になります。
  1839.                             </div>
  1840.                         {% endif %}
  1841.                 </div>
  1842.             </div><!-- ak-header -->
  1843.         </div>
  1844.         <style>
  1845.             #product_review_area,
  1846.             .ec-layoutRole__mainBottom{
  1847.                 display:none !important;
  1848.             }
  1849.         </style>
  1850. {% endif %}{# 会員限定 #}
  1851. <style>
  1852. {# if is_granted('ROLE_USER') and Product.sale != null  #}{# 販売開始後表示 #}
  1853. {# else #}
  1854.     .required,
  1855.     .quantity{
  1856.         display:none;
  1857.     }
  1858. {# endif #}
  1859. .item_nav{
  1860.     display:flex;
  1861.     flex-wrap:wrap;
  1862.     /*justify-content:space-between;*/
  1863.     width:100%;
  1864. }
  1865. .item_nav .slideThumb{
  1866.     width:10%;
  1867.     padding:0.5%;
  1868. }
  1869. .item_nav .slideThumb img{
  1870.     width:100%;
  1871. }
  1872.       .ec-productRole .ec-productRole__tags{
  1873.           border:none;
  1874.       }
  1875.       .ec-productRole .ec-productRole__price{
  1876.           border:none;
  1877.       }
  1878. </style>
  1879. {% endblock %}""Product/detail.twig""/home/akracing/www/akracing.dev/app/template/akracing/Product/detail.twig");
  1880.     }
  1881.     
  1882.     public function checkSecurity()
  1883.     {
  1884.         static $tags = array("set" => 13"if" => 117"for" => 372);
  1885.         static $filters = array("raw" => 106"json_encode" => 119"escape" => 122"trans" => 157"no_image_product" => 375"number_format" => 452"nl2br" => 652);
  1886.         static $functions = array("class_categories_as_json" => 106"url" => 203"asset" => 268"is_granted" => 352"include" => 361"template_from_string" => 361"form_widget" => 497"form_errors" => 498"form_rest" => 560);
  1887.         try {
  1888.             $this->sandbox->checkSecurity(
  1889.                 ['set''if''for'],
  1890.                 ['raw''json_encode''escape''trans''no_image_product''number_format''nl2br'],
  1891.                 ['class_categories_as_json''url''asset''is_granted''include''template_from_string''form_widget''form_errors''form_rest']
  1892.             );
  1893.         } catch (SecurityError $e) {
  1894.             $e->setSourceContext($this->source);
  1895.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  1896.                 $e->setTemplateLine($tags[$e->getTagName()]);
  1897.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  1898.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  1899.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  1900.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  1901.             }
  1902.             throw $e;
  1903.         }
  1904.     }
  1905. }