var/cache/dev/twig/82/82e97c542d7637f53cd07a487c0e0354.php line 258

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_41f1f9816a9c4777be5fcf2bec0372c6 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.             'lm_after_contents_top' => [$this'block_lm_after_contents_top'],
  26.             'main' => [$this'block_main'],
  27.             'lm_before_contents_bottom' => [$this'block_lm_before_contents_bottom'],
  28.             'lm_estimate_footer' => [$this'block_lm_estimate_footer'],
  29.             'javascript' => [$this'block_javascript'],
  30.         ];
  31.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  32.         $this->checkSecurity();
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default_frame.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default_frame.twig"));
  41.         // line 1
  42.         echo "<!doctype html>
  43. ";
  44.         // line 12
  45.         $context["current_path"] = 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.'12$this->source); })()), "request", [], "any"falsefalsetrue12), "get", [=> "_route"], "method"falsefalsetrue12);
  46.         // line 14
  47.         if ( !array_key_exists("BreadCrumbs"$context)) {
  48.             // line 15
  49.             echo "    ";
  50.             $context["BreadCrumbs"] = [=> "none"];
  51.         }
  52.         // line 17
  53.         echo "<html lang=\"";
  54.         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.'17$this->source); })()), "locale", [], "any"falsefalsetrue17), 17$this->source), "html"nulltrue);
  55.         echo "\">
  56. <head prefix=\"og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# product: http://ogp.me/ns/product#\">
  57.     <meta charset=\"utf-8\">
  58.     ";
  59.         // line 21
  60.         if ($this->extensions['Customize\Twig\Extension\ServiceExtension']->wannaSeePc()) {
  61.             // line 22
  62.             echo "    <meta name=\"viewport\" content=\"width=990, initial-scale=1, shrink-to-fit=no\">
  63.     ";
  64.         } else {
  65.             // line 24
  66.             echo "    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  67.     ";
  68.         }
  69.         // line 26
  70.         echo "    <meta name=\"eccube-csrf-token\" content=\"";
  71.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken(twig_constant("Eccube\\Common\\Constant::TOKEN_NAME")), "html"nulltrue);
  72.         echo "\">
  73.     ";
  74.         // line 27
  75.         $this->loadTemplate("Common/canonical.twig""default_frame.twig"27)->display($context);
  76.         // line 28
  77.         echo "    ";
  78.         if ( !array_key_exists("MetaTags"$context)) {
  79.             // line 29
  80.             echo "        ";
  81.             $context["MetaTags"] = [];
  82.             // line 30
  83.             echo "    ";
  84.         }
  85.         // line 31
  86.         echo "    ";
  87.         echo $this->extensions['Customize\Twig\Extension\ServiceExtension']->SetMetaTags($this->sandbox->ensureToStringAllowed((isset($context["MetaTags"]) || array_key_exists("MetaTags"$context) ? $context["MetaTags"] : (function () { throw new RuntimeError('Variable "MetaTags" does not exist.'31$this->source); })()), 31$this->source));
  88.         echo "
  89.     <meta name=\"sentry-trace\" content=\"";
  90.         // line 33
  91.         echo twig_escape_filter($this->env$this->env->getFunction('getToTraceParent')->getCallable()(), "html"nulltrue);
  92.         echo "\" />
  93.     <meta name=\"baggage\" content=\"sentry-trace_id=";
  94.         // line 34
  95.         echo twig_escape_filter($this->env$this->env->getFunction('getTrackId')->getCallable()(), "html"nulltrue);
  96.         echo "\" />
  97.     ";
  98.         // line 44
  99.         echo "
  100.     ";
  101.         // line 46
  102.         echo "
  103.     <link rel=\"shortcut icon\" href=\"/images/favicon.ico\">
  104.     <link rel=\"apple-touch-icon\" href=\"/images/apple-touch-icon.png\">
  105.     <link rel=\"icon\" type=\"image/png\" href=\"/images/android-chrome-256x256.png\">
  106.     <link rel=\"stylesheet\" rel=\"dns-prefetch\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css\" integrity=\"sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu\" crossorigin=\"anonymous\">
  107.     <link rel=\"stylesheet\" rel=\"dns-prefetch\" href=\"https://use.fontawesome.com/releases/v5.6.1/css/all.css\">
  108.     <link rel=\"stylesheet\" href=\"";
  109.         // line 52
  110.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/style.min.css"), "html"nulltrue);
  111.         echo "?v=20240313\">
  112.     ";
  113.         // line 53
  114.         echo $this->extensions['Customize\Twig\Extension\ServiceExtension']->GetLmCssList();
  115.         echo "
  116.     ";
  117.         // line 54
  118.         $this->loadTemplate("init/stylesheet.twig""default_frame.twig"54)->display($context);
  119.         // line 55
  120.         echo "    ";
  121.         $this->displayBlock('stylesheet'$context$blocks);
  122.         // line 56
  123.         echo "    <script src=\"https://code.jquery.com/jquery-3.5.1.min.js\" integrity=\"sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=\" crossorigin=\"anonymous\"></script>
  124.     <script>
  125.         \$(function() {
  126.             \$.ajaxSetup({
  127.                 'headers': {
  128.                     'ECCUBE-CSRF-TOKEN': \$('meta[name=\"eccube-csrf-token\"]').attr('content')
  129.                 }
  130.             });
  131.         });
  132.     </script>
  133.     ";
  134.         // line 67
  135.         echo "    ";
  136.         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.'67$this->source); })()), "Head", [], "any"falsefalsetrue67)) {
  137.             // line 68
  138.             echo "        ";
  139.             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.'68$this->source); })()), "Head", [], "any"falsefalsetrue68)]);
  140.             echo "
  141.     ";
  142.         }
  143.         // line 70
  144.         echo "    ";
  145.         // line 71
  146.         echo "    ";
  147.         if (array_key_exists("plugin_assets"$context)) {
  148.             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.'71$this->source); })())]);
  149.         }
  150.         // line 72
  151.         echo "   ";
  152.         // line 73
  153.         echo "
  154.     ";
  155.         // line 74
  156.         $this->loadTemplate("Common/dataLayer.twig""default_frame.twig"74)->display($context);
  157.         // line 75
  158.         echo "
  159.     ";
  160.         // line 76
  161.         if (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPhpFunctions("env""APP_ENV") == "prod")) {
  162.             // line 77
  163.             echo "        <!-- Google Tag Manager -->
  164.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  165.                     new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  166.                 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  167.                 '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  168.             })(window,document,'script','dataLayer','GTM-5259DT');</script>
  169.         <!-- End Google Tag Manager -->
  170.     ";
  171.         } else {
  172.             // line 85
  173.             echo "        <!-- Google Tag Manager -->
  174.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  175.                     new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  176.                 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  177.                 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  178.             })(window,document,'script','dataLayer','GTM-TJ2GNKW');</script>
  179.         <!-- End Google Tag Manager -->
  180.     ";
  181.         }
  182.         // line 93
  183.         echo "
  184. </head>
  185. <body id=\"page_";
  186.         // line 95
  187.         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.'95$this->source); })()), "request", [], "any"falsefalsetrue95), "get", [=> "_route"], "method"falsefalsetrue95), 95$this->source), "html"nulltrue);
  188.         echo "\" class=\"";
  189.         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.'95$this->source); })()), 95$this->source), "other_page")) : ("other_page")), "html"nulltrue);
  190.         echo "\">
  191. ";
  192.         // line 96
  193.         ob_start();
  194.         // line 97
  195.         if (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPhpFunctions("env""APP_ENV") == "prod")) {
  196.             // line 98
  197.             echo "<!-- Google Tag Manager -->
  198. <noscript><iframe src=\"//www.googletagmanager.com/ns.html?id=GTM-5259DT\"
  199.                   height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  200. <!-- End Google Tag Manager -->
  201. ";
  202.         } else {
  203.             // line 103
  204.             echo "<!-- Google Tag Manager (noscript) -->
  205. <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-TJ2GNKW\"
  206.                   height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  207. <!-- End Google Tag Manager (noscript) -->
  208. ";
  209.         }
  210.         // line 108
  211.         echo "
  212. ";
  213.         // line 109
  214.         if ($this->extensions['Customize\Twig\Extension\ServiceExtension']->wannaSeePc()) {
  215.             // line 110
  216.             echo "<div>
  217.     <a id=\"to-sp-page\" href=\"/?device_view=mobile\">
  218.         <img alt=\"スマートフォンサイトを表示\" src=\"/images/sp/to_sp.jpg\">
  219.     </a>
  220. </div>
  221. ";
  222.         }
  223.         // line 116
  224.         echo "
  225. ";
  226.         // line 118
  227.         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.'118$this->source); })()), "BodyAfter", [], "any"falsefalsetrue118)) {
  228.             // line 119
  229.             echo "    ";
  230.             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.'119$this->source); })()), "BodyAfter", [], "any"falsefalsetrue119)]);
  231.             echo "
  232. ";
  233.         }
  234.         // line 121
  235.         echo "
  236. <div class=\"ec-layoutRole\">
  237.     <div id=\"header\">
  238.         ";
  239.         // line 125
  240.         echo "        ";
  241.         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.'125$this->source); })()), "Header", [], "any"falsefalsetrue125)) {
  242.             // line 126
  243.             echo "            <div class=\"ec-layoutRole__header\">
  244.                 ";
  245.             // line 127
  246.             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.'127$this->source); })()), "Header", [], "any"falsefalsetrue127)]);
  247.             echo "
  248.             </div>
  249.         ";
  250.         }
  251.         // line 130
  252.         echo "
  253.         ";
  254.         // line 132
  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.'132$this->source); })()), "ContentsTop", [], "any"falsefalsetrue132)) {
  257.             // line 133
  258.             echo "            <div class=\"ec-layoutRole__contentTop\" id=\"header-4\">
  259.                 ";
  260.             // line 134
  261.             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.'134$this->source); })()), "ContentsTop", [], "any"falsefalsetrue134)]);
  262.             echo "
  263.             </div>
  264.         ";
  265.         }
  266.         // line 137
  267.         echo "
  268.         ";
  269.         // line 139
  270.         echo "        ";
  271.         $this->displayBlock('lm_after_contents_top'$context$blocks);
  272.         // line 140
  273.         echo "
  274.     </div>
  275.     <div id=\"contents_wrapper\">
  276.     <div class=\"ec-layoutRole__contents\">
  277.         ";
  278.         // line 147
  279.         echo "        ";
  280.         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.'147$this->source); })()), "SideLeft", [], "any"falsefalsetrue147)) {
  281.             // line 148
  282.             echo "            <div class=\"ec-layoutRole__left\" id=\"lmenu\" data-layout=\"calendar_layout\">
  283.                 ";
  284.             // line 149
  285.             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.'149$this->source); })()), "SideLeft", [], "any"falsefalsetrue149)]);
  286.             echo "
  287.             </div>
  288.         ";
  289.         }
  290.         // line 152
  291.         echo "
  292.         ";
  293.         // line 153
  294.         $context["layoutRoleMain"] = "ec-layoutRole__main";
  295.         // line 154
  296.         echo "        ";
  297.         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.'154$this->source); })()), "ColumnNum", [], "any"falsefalsetrue154) == 2)) {
  298.             // line 155
  299.             echo "            ";
  300.             $context["layoutRoleMain"] = "ec-layoutRole__mainWithColumn";
  301.             // line 156
  302.             echo "        ";
  303.         } 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.'156$this->source); })()), "ColumnNum", [], "any"falsefalsetrue156) == 3)) {
  304.             // line 157
  305.             echo "            ";
  306.             $context["layoutRoleMain"] = "ec-layoutRole__mainBetweenColumn";
  307.             // line 158
  308.             echo "        ";
  309.         }
  310.         // line 159
  311.         echo "
  312.         <div class=\"";
  313.         // line 160
  314.         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.'160$this->source); })()), 160$this->source), "html"nulltrue);
  315.         echo "\" id=\"contents\">
  316.             ";
  317.         // line 162
  318.         echo "            ";
  319.         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.'162$this->source); })()), "MainTop", [], "any"falsefalsetrue162)) {
  320.             // line 163
  321.             echo "                <div class=\"ec-layoutRole__mainTop\">
  322.                     ";
  323.             // line 164
  324.             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.'164$this->source); })()), "MainTop", [], "any"falsefalsetrue164)]);
  325.             echo "
  326.                 </div>
  327.             ";
  328.         }
  329.         // line 167
  330.         echo "
  331.             ";
  332.         // line 169
  333.         echo "            ";
  334.         $context["current_path"] = 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.'169$this->source); })()), "request", [], "any"falsefalsetrue169), "get", [=> "_route"], "method"falsefalsetrue169);
  335.         // line 170
  336.         echo "\t        ";
  337.         $context["paths_use_custom_breadcrumb"] = [=> "estimate"=> "estimate_with_id"=> "cart"=> "shopping_login"];
  338.         // line 171
  339.         echo "\t        ";
  340.         if ((((((isset($context["current_path"]) || array_key_exists("current_path"$context) ? $context["current_path"] : (function () { throw new RuntimeError('Variable "current_path" does not exist.'171$this->source); })()) == "item/detail") && array_key_exists("isMobile"$context)) && (isset($context["isMobile"]) || array_key_exists("isMobile"$context) ? $context["isMobile"] : (function () { throw new RuntimeError('Variable "isMobile" does not exist.'171$this->source); })())) || twig_in_filter((isset($context["current_path"]) || array_key_exists("current_path"$context) ? $context["current_path"] : (function () { throw new RuntimeError('Variable "current_path" does not exist.'171$this->source); })()), (isset($context["paths_use_custom_breadcrumb"]) || array_key_exists("paths_use_custom_breadcrumb"$context) ? $context["paths_use_custom_breadcrumb"] : (function () { throw new RuntimeError('Variable "paths_use_custom_breadcrumb" does not exist.'171$this->source); })())))) {
  341.             // line 172
  342.             echo "            ";
  343.         } else {
  344.             // line 173
  345.             echo "            ";
  346.             echo $this->extensions['Customize\Twig\Extension\ServiceExtension']->SetBreadCrumb($this->sandbox->ensureToStringAllowed((isset($context["BreadCrumbs"]) || array_key_exists("BreadCrumbs"$context) ? $context["BreadCrumbs"] : (function () { throw new RuntimeError('Variable "BreadCrumbs" does not exist.'173$this->source); })()), 173$this->source));
  347.             echo "
  348.             ";
  349.         }
  350.         // line 175
  351.         echo "            ";
  352.         $this->displayBlock('main'$context$blocks);
  353.         // line 176
  354.         echo "
  355.             ";
  356.         // line 178
  357.         echo "            ";
  358.         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.'178$this->source); })()), "MainBottom", [], "any"falsefalsetrue178)) {
  359.             // line 179
  360.             echo "                <div class=\"ec-layoutRole__mainBottom\">
  361.                     ";
  362.             // line 180
  363.             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.'180$this->source); })()), "MainBottom", [], "any"falsefalsetrue180)]);
  364.             echo "
  365.                 </div>
  366.             ";
  367.         }
  368.         // line 183
  369.         echo "        </div>
  370.         ";
  371.         // line 186
  372.         echo "        ";
  373.         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.'186$this->source); })()), "SideRight", [], "any"falsefalsetrue186)) {
  374.             // line 187
  375.             echo "            <div class=\"ec-layoutRole__right\">
  376.                 ";
  377.             // line 188
  378.             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.'188$this->source); })()), "SideRight", [], "any"falsefalsetrue188)]);
  379.             echo "
  380.             </div>
  381.         ";
  382.         }
  383.         // line 191
  384.         echo "    </div>
  385.     <div class=\"ec-layoutRole__contentBottom\">
  386.         ";
  387.         // line 196
  388.         echo "        ";
  389.         $this->displayBlock('lm_before_contents_bottom'$context$blocks);
  390.         // line 197
  391.         echo "
  392.         ";
  393.         // line 199
  394.         echo "        ";
  395.         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.'199$this->source); })()), "ContentsBottom", [], "any"falsefalsetrue199)) {
  396.             // line 200
  397.             echo "            ";
  398.             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.'200$this->source); })()), "ContentsBottom", [], "any"falsefalsetrue200)]);
  399.             echo "
  400.         ";
  401.         }
  402.         // line 202
  403.         echo "
  404.     </div>
  405.     </div>
  406.     ";
  407.         // line 207
  408.         echo "    ";
  409.         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.'207$this->source); })()), "Footer", [], "any"falsefalsetrue207) && ( !array_key_exists("isHiddenOnEstimateMobile"$context) || ((isset($context["isHiddenOnEstimateMobile"]) || array_key_exists("isHiddenOnEstimateMobile"$context) ? $context["isHiddenOnEstimateMobile"] : (function () { throw new RuntimeError('Variable "isHiddenOnEstimateMobile" does not exist.'207$this->source); })()) == false)))) {
  410.             // line 208
  411.             echo "        <div class=\"ec-layoutRole__footer\" id=\"footer\">
  412.             ";
  413.             // line 209
  414.             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.'209$this->source); })()), "Footer", [], "any"falsefalsetrue209)]);
  415.             echo "
  416.         </div>
  417.     ";
  418.         }
  419.         // line 212
  420.         echo "    ";
  421.         $this->displayBlock('lm_estimate_footer'$context$blocks);
  422.         // line 213
  423.         echo "</div><!-- ec-layoutRole -->
  424. <div class=\"ec-overlayRole\"></div>
  425. <div class=\"ec-drawerRoleClose\"><i class=\"fas fa-times\"></i></div>
  426. <div class=\"ec-drawerRole\">
  427.     ";
  428.         // line 219
  429.         echo "    ";
  430.         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.'219$this->source); })()), "Drawer", [], "any"falsefalsetrue219)) {
  431.             // line 220
  432.             echo "        ";
  433.             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.'220$this->source); })()), "Drawer", [], "any"falsefalsetrue220)]);
  434.             echo "
  435.     ";
  436.         }
  437.         // line 222
  438.         echo "</div>
  439. ";
  440.         // line 224
  441.         echo "<script async defer type=\"text/javascript\" src=\"/javascripts/item.js?20230228_01\"></script>
  442. <script src=\"https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js\" integrity=\"sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd\" crossorigin=\"anonymous\"></script>
  443. <script src=\"https://cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js\"></script>
  444. ";
  445.         // line 227
  446.         $this->loadTemplate("@common/lang.twig""default_frame.twig"227)->display($context);
  447.         // line 228
  448.         echo "<script async src=\"";
  449.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/function.js"), "html"nulltrue);
  450.         echo "\"></script>
  451. <script async src=\"";
  452.         // line 229
  453.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/eccube.js"), "html"nulltrue);
  454.         echo "\"></script>
  455. ";
  456.         // line 230
  457.         $this->loadTemplate("init/javascript.twig""default_frame.twig"230)->display($context);
  458.         // line 231
  459.         $this->displayBlock('javascript'$context$blocks);
  460.         // line 233
  461.         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.'233$this->source); })()), "CloseBodyBefore", [], "any"falsefalsetrue233)) {
  462.             // line 234
  463.             echo "    ";
  464.             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.'234$this->source); })()), "CloseBodyBefore", [], "any"falsefalsetrue234)]);
  465.             echo "
  466. ";
  467.         }
  468.         // line 237
  469.         if (array_key_exists("plugin_snippets"$context)) {
  470.             // line 238
  471.             echo "    ";
  472.             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.'238$this->source); })())]);
  473.             echo "
  474. ";
  475.         }
  476.         // line 240
  477.         echo "    ";
  478.         // line 241
  479.         echo "<script>
  480.     if ('serviceWorker' in navigator) {
  481.         window.addEventListener('load', function() {
  482.             navigator.serviceWorker.register('/javascripts/workers/service-worker.js?20240129').then(function(registration) {
  483.                 console.log('ServiceWorker registration successful with scope: ', registration.scope);
  484.             }, function(err) {
  485.                 console.log('ServiceWorker registration failed: ', err);
  486.             });
  487.         });
  488.     }
  489.     \$('a[href^=\"tel:\"]').on('click', function (e) {
  490.         var fromUrl = window.location.href;
  491.         \$.ajax({
  492.             type: \"POST\",
  493.             url: \"";
  494.         // line 256
  495.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("ajax_karte_tel_inquiry");
  496.         echo "\",
  497.             data: {
  498.                 fromUrl: fromUrl
  499.             },
  500.             dataType: 'json'
  501.         }).done(function(response) {
  502.             if (response && response.data && response.data.script) {
  503.                 var script = JSON.parse(response.data.script);
  504.                 script = script.replace(/\\\\\\//g, \"/\");
  505.                 \$('body').append(script);
  506.             }
  507.         });
  508.     });
  509. </script>
  510. ";
  511.         echo trim(preg_replace('/>\s+</''><'ob_get_clean()));
  512.         // line 271
  513.         echo "</body>
  514. </html>
  515. ";
  516.         
  517.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  518.         
  519.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  520.     }
  521.     // line 55
  522.     public function block_stylesheet($context, array $blocks = [])
  523.     {
  524.         $macros $this->macros;
  525.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  526.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  527.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  528.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  529.         
  530.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  531.         
  532.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  533.     }
  534.     // line 139
  535.     public function block_lm_after_contents_top($context, array $blocks = [])
  536.     {
  537.         $macros $this->macros;
  538.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  539.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""lm_after_contents_top"));
  540.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  541.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""lm_after_contents_top"));
  542.         
  543.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  544.         
  545.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  546.     }
  547.     // line 175
  548.     public function block_main($context, array $blocks = [])
  549.     {
  550.         $macros $this->macros;
  551.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  552.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  553.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  554.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  555.         
  556.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  557.         
  558.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  559.     }
  560.     // line 196
  561.     public function block_lm_before_contents_bottom($context, array $blocks = [])
  562.     {
  563.         $macros $this->macros;
  564.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  565.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""lm_before_contents_bottom"));
  566.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  567.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""lm_before_contents_bottom"));
  568.         
  569.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  570.         
  571.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  572.     }
  573.     // line 212
  574.     public function block_lm_estimate_footer($context, array $blocks = [])
  575.     {
  576.         $macros $this->macros;
  577.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  578.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""lm_estimate_footer"));
  579.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  580.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""lm_estimate_footer"));
  581.         
  582.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  583.         
  584.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  585.     }
  586.     // line 231
  587.     public function block_javascript($context, array $blocks = [])
  588.     {
  589.         $macros $this->macros;
  590.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  591.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  592.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  593.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  594.         
  595.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  596.         
  597.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  598.     }
  599.     public function getTemplateName()
  600.     {
  601.         return "default_frame.twig";
  602.     }
  603.     public function isTraitable()
  604.     {
  605.         return false;
  606.     }
  607.     public function getDebugInfo()
  608.     {
  609.         return array (  635 => 231,  617 => 212,  599 => 196,  581 => 175,  563 => 139,  545 => 55,  533 => 271,  515 => 256,  498 => 241,  496 => 240,  490 => 238,  488 => 237,  482 => 234,  480 => 233,  478 => 231,  476 => 230,  472 => 229,  467 => 228,  465 => 227,  460 => 224,  457 => 222,  451 => 220,  448 => 219,  441 => 213,  438 => 212,  432 => 209,  429 => 208,  426 => 207,  420 => 202,  414 => 200,  411 => 199,  408 => 197,  405 => 196,  399 => 191,  393 => 188,  390 => 187,  387 => 186,  383 => 183,  377 => 180,  374 => 179,  371 => 178,  368 => 176,  365 => 175,  359 => 173,  356 => 172,  353 => 171,  350 => 170,  347 => 169,  344 => 167,  338 => 164,  335 => 163,  332 => 162,  328 => 160,  325 => 159,  322 => 158,  319 => 157,  316 => 156,  313 => 155,  310 => 154,  308 => 153,  305 => 152,  299 => 149,  296 => 148,  293 => 147,  285 => 140,  282 => 139,  279 => 137,  273 => 134,  270 => 133,  267 => 132,  264 => 130,  258 => 127,  255 => 126,  252 => 125,  247 => 121,  241 => 119,  239 => 118,  236 => 116,  228 => 110,  226 => 109,  223 => 108,  216 => 103,  209 => 98,  207 => 97,  205 => 96,  199 => 95,  195 => 93,  185 => 85,  175 => 77,  173 => 76,  170 => 75,  168 => 74,  165 => 73,  163 => 72,  158 => 71,  156 => 70,  150 => 68,  147 => 67,  135 => 56,  132 => 55,  130 => 54,  126 => 53,  122 => 52,  114 => 46,  111 => 44,  106 => 34,  102 => 33,  96 => 31,  93 => 30,  90 => 29,  87 => 28,  85 => 27,  80 => 26,  76 => 24,  72 => 22,  70 => 21,  62 => 17,  58 => 15,  56 => 14,  54 => 12,  51 => 1,);
  610.     }
  611.     public function getSourceContext()
  612.     {
  613.         return new Source("<!doctype html>
  614. {#
  615. This file is part of EC-CUBE
  616. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  617. http://www.ec-cube.co.jp/
  618. For the full copyright and license information, please view the LICENSE
  619. file that was distributed with this source code.
  620. #}
  621. {% set current_path = app.request.get('_route') %}
  622. {# パンクズの一括管理 #}
  623. {% if BreadCrumbs is not defined  %}
  624.     {% set BreadCrumbs = ['none']  %}
  625. {% endif %}
  626. <html lang=\"{{ eccube_config.locale }}\">
  627. <head prefix=\"og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# product: http://ogp.me/ns/product#\">
  628.     <meta charset=\"utf-8\">
  629.     {% if wannaSeePc() %}
  630.     <meta name=\"viewport\" content=\"width=990, initial-scale=1, shrink-to-fit=no\">
  631.     {% else %}
  632.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  633.     {% endif %}
  634.     <meta name=\"eccube-csrf-token\" content=\"{{ csrf_token(constant('Eccube\\\\Common\\\\Constant::TOKEN_NAME')) }}\">
  635.     {% include 'Common/canonical.twig' %}
  636.     {% if MetaTags is not defined  %}
  637.         {% set MetaTags = []  %}
  638.     {% endif %}
  639.     {{ SetMetaTags(MetaTags)|raw}}
  640.     <meta name=\"sentry-trace\" content=\"{{ getToTraceParent() }}\" />
  641.     <meta name=\"baggage\" content=\"sentry-trace_id={{ getTrackId() }}\" />
  642.     {#% if Page.meta_tags is not empty %}
  643.         {{ include(template_from_string(Page.meta_tags)) }}
  644.         {% if Page.description is not empty %}
  645.             <meta name=\"description\" content=\"{{ Page.description }}\">
  646.         {% endif %}
  647.     {% else %}
  648.         {{ include('meta.twig') }}
  649.     {% endif %#}
  650.     {# 全ページ共通メタタグ #}
  651.     <link rel=\"shortcut icon\" href=\"/images/favicon.ico\">
  652.     <link rel=\"apple-touch-icon\" href=\"/images/apple-touch-icon.png\">
  653.     <link rel=\"icon\" type=\"image/png\" href=\"/images/android-chrome-256x256.png\">
  654.     <link rel=\"stylesheet\" rel=\"dns-prefetch\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css\" integrity=\"sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu\" crossorigin=\"anonymous\">
  655.     <link rel=\"stylesheet\" rel=\"dns-prefetch\" href=\"https://use.fontawesome.com/releases/v5.6.1/css/all.css\">
  656.     <link rel=\"stylesheet\" href=\"{{ asset('assets/css/style.min.css') }}?v=20240313\">
  657.     {{ LmCssList()|raw }}
  658.     {% include 'init/stylesheet.twig' %}
  659.     {% block stylesheet %}{% endblock %}
  660.     <script src=\"https://code.jquery.com/jquery-3.5.1.min.js\" integrity=\"sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=\" crossorigin=\"anonymous\"></script>
  661.     <script>
  662.         \$(function() {
  663.             \$.ajaxSetup({
  664.                 'headers': {
  665.                     'ECCUBE-CSRF-TOKEN': \$('meta[name=\"eccube-csrf-token\"]').attr('content')
  666.                 }
  667.             });
  668.         });
  669.     </script>
  670.     {# Layout: HEAD #}
  671.     {% if Layout.Head %}
  672.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  673.     {% endif %}
  674.     {# プラグイン用styleseetやmetatagなど #}
  675.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  676.    {# <link rel=\"stylesheet\" href=\"{{ asset('assets/css/customize.css', 'user_data') }}\"> #}
  677.     {% include 'Common/dataLayer.twig' %}
  678.     {% if php_env('APP_ENV') == 'prod' %}
  679.         <!-- Google Tag Manager -->
  680.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  681.                     new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  682.                 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  683.                 '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  684.             })(window,document,'script','dataLayer','GTM-5259DT');</script>
  685.         <!-- End Google Tag Manager -->
  686.     {% else %}
  687.         <!-- Google Tag Manager -->
  688.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  689.                     new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  690.                 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  691.                 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  692.             })(window,document,'script','dataLayer','GTM-TJ2GNKW');</script>
  693.         <!-- End Google Tag Manager -->
  694.     {% endif %}
  695. </head>
  696. <body id=\"page_{{ app.request.get('_route') }}\" class=\"{{ body_class|default('other_page') }}\">
  697. {% spaceless %}
  698. {% if php_env('APP_ENV') == 'prod' %}
  699. <!-- Google Tag Manager -->
  700. <noscript><iframe src=\"//www.googletagmanager.com/ns.html?id=GTM-5259DT\"
  701.                   height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  702. <!-- End Google Tag Manager -->
  703. {% else %}
  704. <!-- Google Tag Manager (noscript) -->
  705. <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-TJ2GNKW\"
  706.                   height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  707. <!-- End Google Tag Manager (noscript) -->
  708. {% endif %}
  709. {% if wannaSeePc() %}
  710. <div>
  711.     <a id=\"to-sp-page\" href=\"/?device_view=mobile\">
  712.         <img alt=\"スマートフォンサイトを表示\" src=\"/images/sp/to_sp.jpg\">
  713.     </a>
  714. </div>
  715. {% endif %}
  716. {# Layout: BODY_AFTER #}
  717. {% if Layout.BodyAfter %}
  718.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  719. {% endif %}
  720. <div class=\"ec-layoutRole\">
  721.     <div id=\"header\">
  722.         {# Layout: HEADER #}
  723.         {% if Layout.Header %}
  724.             <div class=\"ec-layoutRole__header\">
  725.                 {{ include('block.twig', {'Blocks': Layout.Header}) }}
  726.             </div>
  727.         {% endif %}
  728.         {# Layout: CONTENTS_TOP #}
  729.         {% if Layout.ContentsTop %}
  730.             <div class=\"ec-layoutRole__contentTop\" id=\"header-4\">
  731.                 {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  732.             </div>
  733.         {% endif %}
  734.         {# LM: After contents_top. #}
  735.         {% block lm_after_contents_top %}{% endblock %}
  736.     </div>
  737.     <div id=\"contents_wrapper\">
  738.     <div class=\"ec-layoutRole__contents\">
  739.         {# Layout: SIDE_LEFT #}
  740.         {% if Layout.SideLeft %}
  741.             <div class=\"ec-layoutRole__left\" id=\"lmenu\" data-layout=\"calendar_layout\">
  742.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  743.             </div>
  744.         {% endif %}
  745.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  746.         {% if Layout.ColumnNum == 2 %}
  747.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  748.         {% elseif Layout.ColumnNum == 3 %}
  749.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  750.         {% endif %}
  751.         <div class=\"{{ layoutRoleMain }}\" id=\"contents\">
  752.             {# Layout: MAIN_TOP #}
  753.             {% if Layout.MainTop %}
  754.                 <div class=\"ec-layoutRole__mainTop\">
  755.                     {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  756.                 </div>
  757.             {% endif %}
  758.             {# MAIN AREA #}
  759.             {% set current_path = app.request.get('_route') %}
  760. \t        {% set paths_use_custom_breadcrumb = ['estimate', 'estimate_with_id', 'cart', 'shopping_login'] %}
  761. \t        {% if (current_path == 'item/detail' and isMobile is defined and isMobile) or current_path in paths_use_custom_breadcrumb %}
  762.             {% else %}
  763.             {{ SetBreadCrumb(BreadCrumbs)|raw}}
  764.             {% endif %}
  765.             {% block main %}{% endblock %}
  766.             {# Layout: MAIN_Bottom #}
  767.             {% if Layout.MainBottom %}
  768.                 <div class=\"ec-layoutRole__mainBottom\">
  769.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  770.                 </div>
  771.             {% endif %}
  772.         </div>
  773.         {# Layout: SIDE_RIGHT #}
  774.         {% if Layout.SideRight %}
  775.             <div class=\"ec-layoutRole__right\">
  776.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  777.             </div>
  778.         {% endif %}
  779.     </div>
  780.     <div class=\"ec-layoutRole__contentBottom\">
  781.         {# LM: Before contents_bottom. #}
  782.         {% block lm_before_contents_bottom %}{% endblock %}
  783.         {# Layout: CONTENTS_BOTTOM #}
  784.         {% if Layout.ContentsBottom %}
  785.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  786.         {% endif %}
  787.     </div>
  788.     </div>
  789.     {# Layout: CONTENTS_FOOTER #}
  790.     {% if Layout.Footer and (isHiddenOnEstimateMobile is not defined or isHiddenOnEstimateMobile == false) %}
  791.         <div class=\"ec-layoutRole__footer\" id=\"footer\">
  792.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  793.         </div>
  794.     {% endif %}
  795.     {% block lm_estimate_footer %}{% endblock %}
  796. </div><!-- ec-layoutRole -->
  797. <div class=\"ec-overlayRole\"></div>
  798. <div class=\"ec-drawerRoleClose\"><i class=\"fas fa-times\"></i></div>
  799. <div class=\"ec-drawerRole\">
  800.     {# Layout: DRAWER #}
  801.     {% if Layout.Drawer %}
  802.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  803.     {% endif %}
  804. </div>
  805. {#<div class=\"ec-blockTopBtn pagetop\">{{'common.pagetop'|trans}}</div>#}
  806. <script async defer type=\"text/javascript\" src=\"/javascripts/item.js?20230228_01\"></script>
  807. <script src=\"https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js\" integrity=\"sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd\" crossorigin=\"anonymous\"></script>
  808. <script src=\"https://cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js\"></script>
  809. {% include('@common/lang.twig') %}
  810. <script async src=\"{{ asset('assets/js/function.js') }}\"></script>
  811. <script async src=\"{{ asset('assets/js/eccube.js') }}\"></script>
  812. {% include 'init/javascript.twig' %}
  813. {% block javascript %}{% endblock %}
  814. {# Layout: CLOSE_BODY_BEFORE #}
  815. {% if Layout.CloseBodyBefore %}
  816.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  817. {% endif %}
  818. {# プラグイン用Snippet #}
  819. {% if plugin_snippets is defined %}
  820.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  821. {% endif %}
  822.     {# <script src=\"{{ asset('assets/js/customize.js', 'user_data') }}\"></script> #}
  823. <script>
  824.     if ('serviceWorker' in navigator) {
  825.         window.addEventListener('load', function() {
  826.             navigator.serviceWorker.register('/javascripts/workers/service-worker.js?20240129').then(function(registration) {
  827.                 console.log('ServiceWorker registration successful with scope: ', registration.scope);
  828.             }, function(err) {
  829.                 console.log('ServiceWorker registration failed: ', err);
  830.             });
  831.         });
  832.     }
  833.     \$('a[href^=\"tel:\"]').on('click', function (e) {
  834.         var fromUrl = window.location.href;
  835.         \$.ajax({
  836.             type: \"POST\",
  837.             url: \"{{ url('ajax_karte_tel_inquiry') }}\",
  838.             data: {
  839.                 fromUrl: fromUrl
  840.             },
  841.             dataType: 'json'
  842.         }).done(function(response) {
  843.             if (response && response.data && response.data.script) {
  844.                 var script = JSON.parse(response.data.script);
  845.                 script = script.replace(/\\\\\\//g, \"/\");
  846.                 \$('body').append(script);
  847.             }
  848.         });
  849.     });
  850. </script>
  851. {% endspaceless %}
  852. </body>
  853. </html>
  854. ""default_frame.twig""/var/www/html/app/template/default/default_frame.twig");
  855.     }
  856.     
  857.     public function checkSecurity()
  858.     {
  859.         static $tags = array("set" => 12"if" => 14"include" => 27"block" => 55"spaceless" => 96);
  860.         static $filters = array("escape" => 17"raw" => 31"default" => 95);
  861.         static $functions = array("wannaSeePc" => 21"csrf_token" => 26"constant" => 26"SetMetaTags" => 31"getToTraceParent" => 33"getTrackId" => 34"asset" => 52"LmCssList" => 53"include" => 68"php_env" => 76"SetBreadCrumb" => 173"url" => 256);
  862.         try {
  863.             $this->sandbox->checkSecurity(
  864.                 ['set''if''include''block''spaceless'],
  865.                 ['escape''raw''default'],
  866.                 ['wannaSeePc''csrf_token''constant''SetMetaTags''getToTraceParent''getTrackId''asset''LmCssList''include''php_env''SetBreadCrumb''url']
  867.             );
  868.         } catch (SecurityError $e) {
  869.             $e->setSourceContext($this->source);
  870.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  871.                 $e->setTemplateLine($tags[$e->getTagName()]);
  872.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  873.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  874.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  875.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  876.             }
  877.             throw $e;
  878.         }
  879.     }
  880. }