var/cache/dev/twig/c5/c54d8273a9a660cb485cec4bb66cab9d.php line 38

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. /* default_frame.twig */
  14. class __TwigTemplate_618195577ec6d7ac2376768680cee74c 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->parent false;
  23.         $this->blocks = [
  24.             'stylesheet' => [$this'block_stylesheet'],
  25.             'main' => [$this'block_main'],
  26.             'javascript' => [$this'block_javascript'],
  27.         ];
  28.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  29.         $this->checkSecurity();
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default_frame.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default_frame.twig"));
  38.         // line 1
  39.         echo "<!doctype html>
  40. ";
  41.         // line 12
  42.         echo "<html lang=\"";
  43.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["eccube_config"]) || array_key_exists("eccube_config"$context) ? $context["eccube_config"] : (function () { throw new RuntimeError('Variable "eccube_config" does not exist.'12$this->source); })()), "locale", [], "any"falsefalsetrue12), 12$this->source), "html"nulltrue);
  44.         echo "\">
  45. <head prefix=\"og: https://ogp.me/ns# fb: https://ogp.me/ns/fb# product: https://ogp.me/ns/product#\">
  46.     <meta charset=\"utf-8\">
  47.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  48.     <meta name=\"eccube-csrf-token\" content=\"";
  49.         // line 16
  50.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken(twig_constant("Eccube\\Common\\Constant::TOKEN_NAME")), "html"nulltrue);
  51.         echo "\">
  52.     <title>";
  53.         // line 17
  54.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'17$this->source); })()), "shop_name", [], "any"falsefalsetrue17), 17$this->source), "html"nulltrue);
  55.         if ((array_key_exists("subtitle"$context) &&  !twig_test_empty((isset($context["subtitle"]) || array_key_exists("subtitle"$context) ? $context["subtitle"] : (function () { throw new RuntimeError('Variable "subtitle" does not exist.'17$this->source); })())))) {
  56.             echo " / ";
  57.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["subtitle"]) || array_key_exists("subtitle"$context) ? $context["subtitle"] : (function () { throw new RuntimeError('Variable "subtitle" does not exist.'17$this->source); })()), 17$this->source), "html"nulltrue);
  58.         } elseif ((array_key_exists("title"$context) &&  !twig_test_empty((isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'17$this->source); })())))) {
  59.             echo " / ";
  60.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'17$this->source); })()), 17$this->source), "html"nulltrue);
  61.         }
  62.         echo "</title>
  63.     ";
  64.         // line 18
  65.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'18$this->source); })()), "meta_tags", [], "any"falsefalsetrue18))) {
  66.             // line 19
  67.             echo "        ";
  68.             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["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'19$this->source); })()), "meta_tags", [], "any"falsefalsetrue19), 19$this->source)), array(), truefalsetrue);
  69.             echo "
  70.         ";
  71.             // line 20
  72.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'20$this->source); })()), "description", [], "any"falsefalsetrue20))) {
  73.                 // line 21
  74.                 echo "            <meta name=\"description\" content=\"";
  75.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'21$this->source); })()), "description", [], "any"falsefalsetrue21), 21$this->source), "html"nulltrue);
  76.                 echo "\">
  77.         ";
  78.             }
  79.             // line 23
  80.             echo "    ";
  81.         } else {
  82.             // line 24
  83.             echo "        ";
  84.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"meta.twig");
  85.             echo "
  86.     ";
  87.         }
  88.         // line 26
  89.         echo "    ";
  90.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'26$this->source); })()), "author", [], "any"falsefalsetrue26))) {
  91.             // line 27
  92.             echo "        <meta name=\"author\" content=\"";
  93.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'27$this->source); })()), "author", [], "any"falsefalsetrue27), 27$this->source), "html"nulltrue);
  94.             echo "\">
  95.     ";
  96.         }
  97.         // line 29
  98.         echo "    ";
  99.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'29$this->source); })()), "keyword", [], "any"falsefalsetrue29))) {
  100.             // line 30
  101.             echo "        <meta name=\"keywords\" content=\"";
  102.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'30$this->source); })()), "keyword", [], "any"falsefalsetrue30), 30$this->source), "html"nulltrue);
  103.             echo "\">
  104.     ";
  105.         }
  106.         // line 32
  107.         echo "    ";
  108.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'32$this->source); })()), "meta_robots", [], "any"falsefalsetrue32))) {
  109.             // line 33
  110.             echo "        <meta name=\"robots\" content=\"";
  111.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'33$this->source); })()), "meta_robots", [], "any"falsefalsetrue33), 33$this->source), "html"nulltrue);
  112.             echo "\">
  113.     ";
  114.         }
  115.         // line 35
  116.         echo "    <link rel=\"icon\" href=\"";
  117.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/favicon.ico"), "html"nulltrue);
  118.         echo "\">
  119.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.3.1/css/all.css\" integrity=\"sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU\" crossorigin=\"anonymous\">
  120.     <link rel=\"stylesheet\" href=\"";
  121.         // line 37
  122.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/style.css"), "html"nulltrue);
  123.         echo "\">
  124.     ";
  125.         // line 38
  126.         if ((is_string($__internal_compile_0 twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'38$this->source); })()), "request", [], "any"falsefalsetrue38), "getPathInfo", [], "method"falsefalsetrue38)) && is_string($__internal_compile_1 "/products/detail/") && ('' === $__internal_compile_1 || === strpos($__internal_compile_0$__internal_compile_1)))) {
  127.             // line 39
  128.             echo "        <link rel=\"stylesheet\" href=\"";
  129.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/custom-css/import.css"), "html"nulltrue);
  130.             echo "\">
  131.     ";
  132.         }
  133.         // line 41
  134.         echo "    <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css\">
  135.     <script src=\"";
  136.         // line 42
  137.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front.bundle.js""bundle"), "html"nulltrue);
  138.         echo "\"></script>
  139.     <link href=\"https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css\" rel=\"stylesheet\" />
  140. \t<script src=\"https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js\"></script>
  141.     ";
  142.         // line 45
  143.         $this->displayBlock('stylesheet'$context$blocks);
  144.         // line 46
  145.         echo "    ";
  146.         // line 47
  147.         echo "    ";
  148.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'47$this->source); })()), "Head", [], "any"falsefalsetrue47)) {
  149.             // line 48
  150.             echo "        ";
  151.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'48$this->source); })()), "Head", [], "any"falsefalsetrue48)]);
  152.             echo "
  153.     ";
  154.         }
  155.         // line 50
  156.         echo "    ";
  157.         // line 51
  158.         echo "    ";
  159.         if (array_key_exists("plugin_assets"$context)) {
  160.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"@admin/snippet.twig", ["snippets" => (isset($context["plugin_assets"]) || array_key_exists("plugin_assets"$context) ? $context["plugin_assets"] : (function () { throw new RuntimeError('Variable "plugin_assets" does not exist.'51$this->source); })())]);
  161.         }
  162.         // line 52
  163.         echo "    <link rel=\"stylesheet\" href=\"";
  164.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/customize.css""user_data"), "html"nulltrue);
  165.         echo "\">
  166. </head>
  167. <body id=\"page_";
  168.         // line 54
  169.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'54$this->source); })()), "request", [], "any"falsefalsetrue54), "get", [=> "_route"], "method"falsefalsetrue54), 54$this->source), "html"nulltrue);
  170.         echo "\" class=\"";
  171.         echo twig_escape_filter($this->env, ((array_key_exists("body_class"$context)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed((isset($context["body_class"]) || array_key_exists("body_class"$context) ? $context["body_class"] : (function () { throw new RuntimeError('Variable "body_class" does not exist.'54$this->source); })()), 54$this->source), "other_page")) : ("other_page")), "html"nulltrue);
  172.         echo "\">
  173. ";
  174.         // line 56
  175.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'56$this->source); })()), "BodyAfter", [], "any"falsefalsetrue56)) {
  176.             // line 57
  177.             echo "    ";
  178.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'57$this->source); })()), "BodyAfter", [], "any"falsefalsetrue57)]);
  179.             echo "
  180. ";
  181.         }
  182.         // line 59
  183.         echo "
  184. ";
  185.         // line 60
  186.         if ((isset($context["isMaintenance"]) || array_key_exists("isMaintenance"$context) ? $context["isMaintenance"] : (function () { throw new RuntimeError('Variable "isMaintenance" does not exist.'60$this->source); })())) {
  187.             // line 61
  188.             echo "    <div class=\"ec-maintenanceAlert\">
  189.         <div>
  190.             <div class=\"ec-maintenanceAlert__icon\"><img src=\"";
  191.             // line 63
  192.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  193.             echo "\"/></div>
  194.             ";
  195.             // line 64
  196.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メンテナンスモードが有効になっています。"), "html"nulltrue);
  197.             echo "
  198.         </div>
  199.     </div>
  200. ";
  201.         }
  202.         // line 68
  203.         echo "
  204. <div class=\"ec-layoutRole\">
  205.     ";
  206.         // line 71
  207.         echo "    ";
  208.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'71$this->source); })()), "Header", [], "any"falsefalsetrue71)) {
  209.             // line 72
  210.             echo "        <header class=\"ec-layoutRole__header\">
  211.             ";
  212.             // line 73
  213.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'73$this->source); })()), "Header", [], "any"falsefalsetrue73)]);
  214.             echo "
  215.         </header>
  216.     ";
  217.         }
  218.         // line 76
  219.         echo "
  220.     ";
  221.         // line 78
  222.         echo "    ";
  223.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'78$this->source); })()), "ContentsTop", [], "any"falsefalsetrue78)) {
  224.             // line 79
  225.             echo "        <div class=\"ec-layoutRole__contentTop\">
  226.             ";
  227.             // line 80
  228.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'80$this->source); })()), "ContentsTop", [], "any"falsefalsetrue80)]);
  229.             echo "
  230.         </div>
  231.     ";
  232.         }
  233.         // line 83
  234.         echo "
  235.     <div class=\"ec-layoutRole__contents\">
  236.         ";
  237.         // line 86
  238.         echo "        ";
  239.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'86$this->source); })()), "SideLeft", [], "any"falsefalsetrue86)) {
  240.             // line 87
  241.             echo "            <aside class=\"ec-layoutRole__left\">
  242.                 ";
  243.             // line 88
  244.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'88$this->source); })()), "SideLeft", [], "any"falsefalsetrue88)]);
  245.             echo "
  246.             </aside>
  247.         ";
  248.         }
  249.         // line 91
  250.         echo "
  251.         ";
  252.         // line 92
  253.         $context["layoutRoleMain"] = "ec-layoutRole__main";
  254.         // line 93
  255.         echo "        ";
  256.         if ((twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'93$this->source); })()), "ColumnNum", [], "any"falsefalsetrue93) == 2)) {
  257.             // line 94
  258.             echo "            ";
  259.             $context["layoutRoleMain"] = "ec-layoutRole__mainWithColumn";
  260.             // line 95
  261.             echo "        ";
  262.         } elseif ((twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'95$this->source); })()), "ColumnNum", [], "any"falsefalsetrue95) == 3)) {
  263.             // line 96
  264.             echo "            ";
  265.             $context["layoutRoleMain"] = "ec-layoutRole__mainBetweenColumn";
  266.             // line 97
  267.             echo "        ";
  268.         }
  269.         // line 98
  270.         echo "
  271.         <main class=\"";
  272.         // line 99
  273.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["layoutRoleMain"]) || array_key_exists("layoutRoleMain"$context) ? $context["layoutRoleMain"] : (function () { throw new RuntimeError('Variable "layoutRoleMain" does not exist.'99$this->source); })()), 99$this->source), "html"nulltrue);
  274.         echo "\">
  275.             ";
  276.         // line 101
  277.         echo "            ";
  278.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'101$this->source); })()), "MainTop", [], "any"falsefalsetrue101)) {
  279.             // line 102
  280.             echo "                <div class=\"ec-layoutRole__mainTop\">
  281.                     ";
  282.             // line 103
  283.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'103$this->source); })()), "MainTop", [], "any"falsefalsetrue103)]);
  284.             echo "
  285.                 </div>
  286.             ";
  287.         }
  288.         // line 106
  289.         echo "
  290.             ";
  291.         // line 108
  292.         echo "            ";
  293.         $this->displayBlock('main'$context$blocks);
  294.         // line 109
  295.         echo "
  296.             ";
  297.         // line 111
  298.         echo "            ";
  299.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'111$this->source); })()), "MainBottom", [], "any"falsefalsetrue111)) {
  300.             // line 112
  301.             echo "                <div class=\"ec-layoutRole__mainBottom\">
  302.                     ";
  303.             // line 113
  304.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'113$this->source); })()), "MainBottom", [], "any"falsefalsetrue113)]);
  305.             echo "
  306.                 </div>
  307.             ";
  308.         }
  309.         // line 116
  310.         echo "        </main>
  311.         ";
  312.         // line 119
  313.         echo "        ";
  314.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'119$this->source); })()), "SideRight", [], "any"falsefalsetrue119)) {
  315.             // line 120
  316.             echo "            <aside class=\"ec-layoutRole__right\">
  317.                 ";
  318.             // line 121
  319.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'121$this->source); })()), "SideRight", [], "any"falsefalsetrue121)]);
  320.             echo "
  321.             </aside>
  322.         ";
  323.         }
  324.         // line 124
  325.         echo "    </div>
  326.     ";
  327.         // line 127
  328.         echo "    ";
  329.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'127$this->source); })()), "ContentsBottom", [], "any"falsefalsetrue127)) {
  330.             // line 128
  331.             echo "        <div class=\"ec-layoutRole__contentBottom\">
  332.             ";
  333.             // line 129
  334.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'129$this->source); })()), "ContentsBottom", [], "any"falsefalsetrue129)]);
  335.             echo "
  336.         </div>
  337.     ";
  338.         }
  339.         // line 132
  340.         echo "
  341.     ";
  342.         // line 134
  343.         echo "    ";
  344.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'134$this->source); })()), "Footer", [], "any"falsefalsetrue134)) {
  345.             // line 135
  346.             echo "        <footer class=\"ec-layoutRole__footer\">
  347.             ";
  348.             // line 136
  349.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'136$this->source); })()), "Footer", [], "any"falsefalsetrue136)]);
  350.             echo "
  351.         </footer>
  352.     ";
  353.         }
  354.         // line 139
  355.         echo "</div><!-- ec-layoutRole -->
  356. <div class=\"ec-overlayRole\"></div>
  357. <div class=\"ec-drawerRoleClose\"></div>
  358. <div class=\"ec-drawerRole\">
  359.     ";
  360.         // line 145
  361.         echo "    ";
  362.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'145$this->source); })()), "Drawer", [], "any"falsefalsetrue145)) {
  363.             // line 146
  364.             echo "        ";
  365.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'146$this->source); })()), "Drawer", [], "any"falsefalsetrue146)]);
  366.             echo "
  367.     ";
  368.         }
  369.         // line 148
  370.         echo "</div>
  371. <div class=\"ec-blockTopBtn pagetop\">
  372.     <!-- ";
  373.         // line 150
  374.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ページトップへ"), "html"nulltrue);
  375.         echo " -->
  376.     <img src=\"";
  377.         // line 151
  378.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/PageTop.png"), "html"nulltrue);
  379.         echo "\" alt=\"\">
  380. </div>
  381. ";
  382.         // line 153
  383.         $this->loadTemplate("@common/lang.twig""default_frame.twig"153)->display($context);
  384.         // line 154
  385.         echo "<script src=\"";
  386.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/function.js"), "html"nulltrue);
  387.         echo "\"></script>
  388. <script src=\"";
  389.         // line 155
  390.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/eccube.js"), "html"nulltrue);
  391.         echo "\"></script>
  392. ";
  393.         // line 156
  394.         $this->displayBlock('javascript'$context$blocks);
  395.         // line 158
  396.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'158$this->source); })()), "CloseBodyBefore", [], "any"falsefalsetrue158)) {
  397.             // line 159
  398.             echo "    ";
  399.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'159$this->source); })()), "CloseBodyBefore", [], "any"falsefalsetrue159)]);
  400.             echo "
  401. ";
  402.         }
  403.         // line 162
  404.         if (array_key_exists("plugin_snippets"$context)) {
  405.             // line 163
  406.             echo "    ";
  407.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"snippet.twig", ["snippets" => (isset($context["plugin_snippets"]) || array_key_exists("plugin_snippets"$context) ? $context["plugin_snippets"] : (function () { throw new RuntimeError('Variable "plugin_snippets" does not exist.'163$this->source); })())]);
  408.             echo "
  409. ";
  410.         }
  411.         // line 165
  412.         echo "    <script src=\"";
  413.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/customize.js""user_data"), "html"nulltrue);
  414.         echo "\"></script>
  415. </body>
  416. </html>
  417. ";
  418.         
  419.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  420.         
  421.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  422.     }
  423.     // line 45
  424.     public function block_stylesheet($context, array $blocks = [])
  425.     {
  426.         $macros $this->macros;
  427.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  428.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  429.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  430.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  431.         
  432.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  433.         
  434.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  435.     }
  436.     // line 108
  437.     public function block_main($context, array $blocks = [])
  438.     {
  439.         $macros $this->macros;
  440.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  441.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  442.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  443.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  444.         
  445.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  446.         
  447.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  448.     }
  449.     // line 156
  450.     public function block_javascript($context, array $blocks = [])
  451.     {
  452.         $macros $this->macros;
  453.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  454.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  455.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  456.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  457.         
  458.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  459.         
  460.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  461.     }
  462.     public function getTemplateName()
  463.     {
  464.         return "default_frame.twig";
  465.     }
  466.     public function isTraitable()
  467.     {
  468.         return false;
  469.     }
  470.     public function getDebugInfo()
  471.     {
  472.         return array (  475 => 156,  457 => 108,  439 => 45,  424 => 165,  418 => 163,  416 => 162,  410 => 159,  408 => 158,  406 => 156,  402 => 155,  397 => 154,  395 => 153,  390 => 151,  386 => 150,  382 => 148,  376 => 146,  373 => 145,  366 => 139,  360 => 136,  357 => 135,  354 => 134,  351 => 132,  345 => 129,  342 => 128,  339 => 127,  335 => 124,  329 => 121,  326 => 120,  323 => 119,  319 => 116,  313 => 113,  310 => 112,  307 => 111,  304 => 109,  301 => 108,  298 => 106,  292 => 103,  289 => 102,  286 => 101,  282 => 99,  279 => 98,  276 => 97,  273 => 96,  270 => 95,  267 => 94,  264 => 93,  262 => 92,  259 => 91,  253 => 88,  250 => 87,  247 => 86,  243 => 83,  237 => 80,  234 => 79,  231 => 78,  228 => 76,  222 => 73,  219 => 72,  216 => 71,  212 => 68,  205 => 64,  201 => 63,  197 => 61,  195 => 60,  192 => 59,  186 => 57,  184 => 56,  178 => 54,  172 => 52,  167 => 51,  165 => 50,  159 => 48,  156 => 47,  154 => 46,  152 => 45,  146 => 42,  143 => 41,  137 => 39,  135 => 38,  131 => 37,  125 => 35,  119 => 33,  116 => 32,  110 => 30,  107 => 29,  101 => 27,  98 => 26,  92 => 24,  89 => 23,  83 => 21,  81 => 20,  76 => 19,  74 => 18,  63 => 17,  59 => 16,  51 => 12,  48 => 1,);
  473.     }
  474.     public function getSourceContext()
  475.     {
  476.         return new Source("<!doctype html>
  477. {#
  478. This file is part of EC-CUBE
  479. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  480. http://www.ec-cube.co.jp/
  481. For the full copyright and license information, please view the LICENSE
  482. file that was distributed with this source code.
  483. #}
  484. <html lang=\"{{ eccube_config.locale }}\">
  485. <head prefix=\"og: https://ogp.me/ns# fb: https://ogp.me/ns/fb# product: https://ogp.me/ns/product#\">
  486.     <meta charset=\"utf-8\">
  487.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  488.     <meta name=\"eccube-csrf-token\" content=\"{{ csrf_token(constant('Eccube\\\\Common\\\\Constant::TOKEN_NAME')) }}\">
  489.     <title>{{ BaseInfo.shop_name }}{% if subtitle is defined and subtitle is not empty %} / {{ subtitle }}{% elseif title is defined and title is not empty %} / {{ title }}{% endif %}</title>
  490.     {% if Page.meta_tags is not empty %}
  491.         {{ include(template_from_string(Page.meta_tags), sandboxed = true) }}
  492.         {% if Page.description is not empty %}
  493.             <meta name=\"description\" content=\"{{ Page.description }}\">
  494.         {% endif %}
  495.     {% else %}
  496.         {{ include('meta.twig') }}
  497.     {% endif %}
  498.     {% if Page.author is not empty %}
  499.         <meta name=\"author\" content=\"{{ Page.author }}\">
  500.     {% endif %}
  501.     {% if Page.keyword is not empty %}
  502.         <meta name=\"keywords\" content=\"{{ Page.keyword }}\">
  503.     {% endif %}
  504.     {% if Page.meta_robots is not empty %}
  505.         <meta name=\"robots\" content=\"{{ Page.meta_robots }}\">
  506.     {% endif %}
  507.     <link rel=\"icon\" href=\"{{ asset('assets/img/common/favicon.ico') }}\">
  508.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.3.1/css/all.css\" integrity=\"sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU\" crossorigin=\"anonymous\">
  509.     <link rel=\"stylesheet\" href=\"{{ asset('assets/css/style.css') }}\">
  510.     {% if app.request.getPathInfo() starts with '/products/detail/' %}
  511.         <link rel=\"stylesheet\" href=\"{{ asset('assets/custom-css/import.css') }}\">
  512.     {% endif %}
  513.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css\">
  514.     <script src=\"{{ asset('front.bundle.js', 'bundle') }}\"></script>
  515.     <link href=\"https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css\" rel=\"stylesheet\" />
  516. \t<script src=\"https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js\"></script>
  517.     {% block stylesheet %}{% endblock %}
  518.     {# Layout: HEAD #}
  519.     {% if Layout.Head %}
  520.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  521.     {% endif %}
  522.     {# プラグイン用styleseetやmetatagなど #}
  523.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  524.     <link rel=\"stylesheet\" href=\"{{ asset('assets/css/customize.css', 'user_data') }}\">
  525. </head>
  526. <body id=\"page_{{ app.request.get('_route') }}\" class=\"{{ body_class|default('other_page') }}\">
  527. {# Layout: BODY_AFTER #}
  528. {% if Layout.BodyAfter %}
  529.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  530. {% endif %}
  531. {% if isMaintenance %}
  532.     <div class=\"ec-maintenanceAlert\">
  533.         <div>
  534.             <div class=\"ec-maintenanceAlert__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"/></div>
  535.             {{ 'メンテナンスモードが有効になっています。'|trans }}
  536.         </div>
  537.     </div>
  538. {% endif %}
  539. <div class=\"ec-layoutRole\">
  540.     {# Layout: HEADER #}
  541.     {% if Layout.Header %}
  542.         <header class=\"ec-layoutRole__header\">
  543.             {{ include('block.twig', {'Blocks': Layout.Header}) }}
  544.         </header>
  545.     {% endif %}
  546.     {# Layout: CONTENTS_TOP #}
  547.     {% if Layout.ContentsTop %}
  548.         <div class=\"ec-layoutRole__contentTop\">
  549.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  550.         </div>
  551.     {% endif %}
  552.     <div class=\"ec-layoutRole__contents\">
  553.         {# Layout: SIDE_LEFT #}
  554.         {% if Layout.SideLeft %}
  555.             <aside class=\"ec-layoutRole__left\">
  556.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  557.             </aside>
  558.         {% endif %}
  559.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  560.         {% if Layout.ColumnNum == 2 %}
  561.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  562.         {% elseif Layout.ColumnNum == 3 %}
  563.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  564.         {% endif %}
  565.         <main class=\"{{ layoutRoleMain }}\">
  566.             {# Layout: MAIN_TOP #}
  567.             {% if Layout.MainTop %}
  568.                 <div class=\"ec-layoutRole__mainTop\">
  569.                     {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  570.                 </div>
  571.             {% endif %}
  572.             {# MAIN AREA #}
  573.             {% block main %}{% endblock %}
  574.             {# Layout: MAIN_Bottom #}
  575.             {% if Layout.MainBottom %}
  576.                 <div class=\"ec-layoutRole__mainBottom\">
  577.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  578.                 </div>
  579.             {% endif %}
  580.         </main>
  581.         {# Layout: SIDE_RIGHT #}
  582.         {% if Layout.SideRight %}
  583.             <aside class=\"ec-layoutRole__right\">
  584.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  585.             </aside>
  586.         {% endif %}
  587.     </div>
  588.     {# Layout: CONTENTS_BOTTOM #}
  589.     {% if Layout.ContentsBottom %}
  590.         <div class=\"ec-layoutRole__contentBottom\">
  591.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  592.         </div>
  593.     {% endif %}
  594.     {# Layout: CONTENTS_FOOTER #}
  595.     {% if Layout.Footer %}
  596.         <footer class=\"ec-layoutRole__footer\">
  597.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  598.         </footer>
  599.     {% endif %}
  600. </div><!-- ec-layoutRole -->
  601. <div class=\"ec-overlayRole\"></div>
  602. <div class=\"ec-drawerRoleClose\"></div>
  603. <div class=\"ec-drawerRole\">
  604.     {# Layout: DRAWER #}
  605.     {% if Layout.Drawer %}
  606.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  607.     {% endif %}
  608. </div>
  609. <div class=\"ec-blockTopBtn pagetop\">
  610.     <!-- {{'ページトップへ'|trans}} -->
  611.     <img src=\"{{ asset('assets/img/common/PageTop.png') }}\" alt=\"\">
  612. </div>
  613. {% include('@common/lang.twig') %}
  614. <script src=\"{{ asset('assets/js/function.js') }}\"></script>
  615. <script src=\"{{ asset('assets/js/eccube.js') }}\"></script>
  616. {% block javascript %}{% endblock %}
  617. {# Layout: CLOSE_BODY_BEFORE #}
  618. {% if Layout.CloseBodyBefore %}
  619.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  620. {% endif %}
  621. {# プラグイン用Snippet #}
  622. {% if plugin_snippets is defined %}
  623.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  624. {% endif %}
  625.     <script src=\"{{ asset('assets/js/customize.js', 'user_data') }}\"></script>
  626. </body>
  627. </html>
  628. ""default_frame.twig""/home/ubuntu/wardrecords/app/template/default/default_frame.twig");
  629.     }
  630.     
  631.     public function checkSecurity()
  632.     {
  633.         static $tags = array("if" => 17"block" => 45"set" => 92"include" => 153);
  634.         static $filters = array("escape" => 12"default" => 54"trans" => 64);
  635.         static $functions = array("csrf_token" => 16"constant" => 16"include" => 19"template_from_string" => 19"asset" => 35);
  636.         try {
  637.             $this->sandbox->checkSecurity(
  638.                 ['if''block''set''include'],
  639.                 ['escape''default''trans'],
  640.                 ['csrf_token''constant''include''template_from_string''asset'],
  641.                 $this->source
  642.             );
  643.         } catch (SecurityError $e) {
  644.             $e->setSourceContext($this->source);
  645.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  646.                 $e->setTemplateLine($tags[$e->getTagName()]);
  647.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  648.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  649.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  650.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  651.             }
  652.             throw $e;
  653.         }
  654.     }
  655. }