<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Help/sitemap.twig */
class __TwigTemplate_521a6615cfa7b1bda0937db8deeba22c extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Help/sitemap.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Help/sitemap.twig"));
// line 3
$context["links"] = [0 => ["url" => "/help/about", "title" => "CONCEPT"], 1 => ["url" => "/products/list", "title" => "LINE UP"], 2 => ["url" => "/sea_burial", "title" => "海洋散骨"], 3 => ["url" => "/special", "title" => "SPECIAL"], 4 => ["url" => "/news", "title" => "ニュース"], 5 => ["url" => "/guide", "title" => "ご利用ガイド"], 6 => ["url" => "/contact", "title" => "お問い合わせ"], 7 => ["url" => "/qa", "title" => "よくあるご質問"], 8 => ["url" => "/help/privacy", "title" => "プライバシーポリシー"], 9 => ["url" => "/help/agreement", "title" => "会員規約"], 10 => ["url" => "/help/tradelaw", "title" => "特定商取引法に基づく表記"], 11 => ["url" => "/help/sitemap", "title" => "サイトマップ"], 12 => ["url" => "http://manaka-ltd.jp/profile/", "title" => "会社概要", "separate" => true], 13 => ["url" => "/mypage/login", "title" => "新規会員登録・ログイン"]];
// line 62
$context["breadcrumbs"] = [0 => ["name" => "サイトマップ"]];
// line 1
$this->parent = $this->loadTemplate("default_frame.twig", "Help/sitemap.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 64
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 65
echo "\t<section class=\"px-6 pb-10 pt-[7.5rem] md:pt-20 md:pb-1 text-black\">
\t\t<div class=\"mx-auto w-full max-w-[63rem]\">
\t\t\t<h1 class=\"flex items-start gap-4 md:gap-2\">
\t\t\t\t<span class=\"block h-[7.5rem] w-0.5 bg-gradient-to-b from-[#ADAAA6] md:h-16 md:w-px\"></span>
\t\t\t\t<p class=\"text-[2rem] font-light leading-normal tracking-widest md:text-xl\">
\t\t\t\t\tサイトマップ</p>
\t\t\t</h1>
\t\t</div>
\t</section>
\t";
// line 74
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/breadcrumb.twig");
echo "
\t<section class=\"md:pt-6 px-6 pb-[7.5rem] md:pb-20 text-black text-sm leading-loose\">
\t\t<div class=\"mx-auto w-full max-w-[37rem]\">
\t\t\t<div class=\"grid grid-cols-2 md:grid-cols-1 md:gap-0 gap-x-8 md:border-t md:border-sub-gray\">
\t\t\t\t";
// line 78
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["links"]) || array_key_exists("links", $context) ? $context["links"] : (function () { throw new RuntimeError('Variable "links" does not exist.', 78, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["link"]) {
// line 79
echo "\t\t\t\t\t";
if (twig_get_attribute($this->env, $this->source, $context["link"], "separate", [], "any", true, true, true, 79)) {
// line 80
echo "\t\t\t\t\t\t<a href=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["link"], "url", [], "any", false, false, true, 80), 80, $this->source), "html", null, true);
echo "\" class=\"flex gap-1 py-6 md:py-2 items-center border-b border-sub-gray ";
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, true, 80) < 2)) {
echo "border-t";
}
echo " hover\" target=\"_blank\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["link"], "title", [], "any", false, false, true, 80), 80, $this->source), "html", null, true);
echo "<img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/open_in_new.svg"), "html", null, true);
echo "\" alt=\"\" class=\"h-4 w-4\">
\t\t\t\t\t\t</a>
\t\t\t\t\t";
} else {
// line 83
echo "\t\t\t\t\t\t<a href=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["link"], "url", [], "any", false, false, true, 83), 83, $this->source), "html", null, true);
echo "\" class=\"block py-6 md:py-2 border-b border-sub-gray ";
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, true, 83) < 2)) {
echo "border-t md:border-t-0";
}
echo " hover\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["link"], "title", [], "any", false, false, true, 83), 83, $this->source), "html", null, true);
echo "</a>
\t\t\t\t\t";
}
// line 85
echo "\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['link'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 86
echo "\t\t\t</div>
\t\t</div>
\t</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Help/sitemap.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 154 => 86, 140 => 85, 128 => 83, 113 => 80, 110 => 79, 93 => 78, 86 => 74, 75 => 65, 65 => 64, 54 => 1, 52 => 62, 50 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'default_frame.twig' %}
{% set links = [
\t{
\t\turl:'/help/about',
\t\ttitle:'CONCEPT',
\t},
\t{
\t\turl:'/products/list',
\t\ttitle:'LINE UP',
\t},
\t{
\t\turl:'/sea_burial',
\t\ttitle:'海洋散骨',
\t},
\t{
\t\turl:'/special',
\t\ttitle:'SPECIAL',
\t},
\t{
\t\turl:'/news',
\t\ttitle:'ニュース',
\t},
\t{
\t\turl:'/guide',
\t\ttitle:'ご利用ガイド',
\t},
\t{
\t\turl:'/contact',
\t\ttitle:'お問い合わせ',
\t},
\t{
\t\turl:'/qa',
\t\ttitle:'よくあるご質問',
\t},
\t{
\t\turl:'/help/privacy',
\t\ttitle:'プライバシーポリシー',
\t},
\t{
\t\turl:'/help/agreement',
\t\ttitle:'会員規約',
\t},
\t{
\t\turl:'/help/tradelaw',
\t\ttitle:'特定商取引法に基づく表記',
\t},
\t{
\t\turl:'/help/sitemap',
\t\ttitle:'サイトマップ',
\t},
\t\t{
\t\turl:'http://manaka-ltd.jp/profile/',
\t\ttitle:'会社概要',
\t\tseparate:true,
\t},
\t{
\t\turl:'/mypage/login',
\t\ttitle:'新規会員登録・ログイン',
\t},
] %}
{% set breadcrumbs = [ {'name': 'サイトマップ'}] %}
{% block main %}
\t<section class=\"px-6 pb-10 pt-[7.5rem] md:pt-20 md:pb-1 text-black\">
\t\t<div class=\"mx-auto w-full max-w-[63rem]\">
\t\t\t<h1 class=\"flex items-start gap-4 md:gap-2\">
\t\t\t\t<span class=\"block h-[7.5rem] w-0.5 bg-gradient-to-b from-[#ADAAA6] md:h-16 md:w-px\"></span>
\t\t\t\t<p class=\"text-[2rem] font-light leading-normal tracking-widest md:text-xl\">
\t\t\t\t\tサイトマップ</p>
\t\t\t</h1>
\t\t</div>
\t</section>
\t{{ include('Block/breadcrumb.twig') }}
\t<section class=\"md:pt-6 px-6 pb-[7.5rem] md:pb-20 text-black text-sm leading-loose\">
\t\t<div class=\"mx-auto w-full max-w-[37rem]\">
\t\t\t<div class=\"grid grid-cols-2 md:grid-cols-1 md:gap-0 gap-x-8 md:border-t md:border-sub-gray\">
\t\t\t\t{% for link in links %}
\t\t\t\t\t{% if link.separate is defined %}
\t\t\t\t\t\t<a href=\"{{link.url}}\" class=\"flex gap-1 py-6 md:py-2 items-center border-b border-sub-gray {% if loop.index0 < 2 %}border-t{% endif %} hover\" target=\"_blank\">{{link.title}}<img src=\"{{asset('assets/icon/open_in_new.svg')}}\" alt=\"\" class=\"h-4 w-4\">
\t\t\t\t\t\t</a>
\t\t\t\t\t{% else %}
\t\t\t\t\t\t<a href=\"{{link.url}}\" class=\"block py-6 md:py-2 border-b border-sub-gray {% if loop.index0 < 2 %}border-t md:border-t-0{% endif %} hover\">{{link.title}}</a>
\t\t\t\t\t{% endif %}
\t\t\t\t{% endfor %}
\t\t\t</div>
\t\t</div>
\t</section>
{% endblock %}
", "Help/sitemap.twig", "/home/xs545372/itsukushi-store.com/public_html/stg.itsukushi-store.com/app/template/default/Help/sitemap.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 3, "for" => 78, "if" => 79);
static $filters = array("escape" => 80);
static $functions = array("include" => 74, "asset" => 80);
try {
$this->sandbox->checkSecurity(
['set', 'for', 'if'],
['escape'],
['include', 'asset']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}