var/cache/dev/twig/57/57adf1187b57f3a0dfd1c44e7173e3ca.php line 58

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. /* Help/qa.twig */
  14. class __TwigTemplate_a166e72bad3af45017004dd0794a2580 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'stylesheet' => [$this'block_stylesheet'],
  24.             'main' => [$this'block_main'],
  25.         ];
  26.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "default_frame.twig";
  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""Help/qa.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""Help/qa.twig"));
  41.         // line 22
  42.         $context["items"] = [=> ["title" => "商品について""faqs" => [=> ["question" => "サイズや形は全て同じですか?""answer" => "天然の素材を使用し、全て手仕事での制作のため、色や形が一つ一つわずかながらも異なります。サイトと全く同じものはご用意できませんので、ご了承ください。"]]], => ["title" => "色について""faqs" => [=> ["question" => "掲載と同じ色の商品が届きますか?""answer" => "商品の画像はできるだけ実物に近い色を再現するよう注意しておりますが、お客様のご覧になっているパソコンや携帯のモニタ環境等により画面上ご覧になっている色や素材感と実際の商品が異なって見える場合がございます。
  43. なお、色や素材感などのイメージ違いより万が一ご返品となった場合につきましては、お客様の送料ご負担となりますのでご了承ください。"]]], => ["title" => "サービス内容について""faqs" => [=> ["question" => "領収書の発行はできますか?""answer" => "ご注文の際、備考欄に【領収書希望の旨】と【宛名】【但し書き】をご記入ください。商品に領収書を同封させて頂きます。
  44. 詳しくは、<a href=\"/guide?id=領収書の発行\" class=\"hover underline\">ご利用ガイド</a>をご覧ください。"]]]];
  45.         // line 53
  46.         $context["breadcrumbs"] = [=> ["name" => "よくあるご質問"]];
  47.         // line 1
  48.         $this->parent $this->loadTemplate("default_frame.twig""Help/qa.twig"1);
  49.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  50.         
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  52.         
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  54.     }
  55.     // line 3
  56.     public function block_stylesheet($context, array $blocks = [])
  57.     {
  58.         $macros $this->macros;
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  63.         // line 4
  64.         echo "\t<style>
  65. \t\tsummary {
  66. \t\t\tdisplay: block;
  67. \t\t}
  68. \t\tsummary::-webkit-details-marker {
  69. \t\t\tdisplay: none;
  70. \t\t}
  71. \t\tsummary:after {
  72. \t\t\ttransition: transform 0.4s;
  73. \t\t}
  74. \t\tdetails[open] summary:after {
  75. \t\t\tcontent: '-';
  76. \t\t\ttransform: rotate(-180deg);
  77. \t\t}
  78. \t</style>
  79. ";
  80.         
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  82.         
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  84.     }
  85.     // line 55
  86.     public function block_main($context, array $blocks = [])
  87.     {
  88.         $macros $this->macros;
  89.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  90.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  91.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  93.         // line 56
  94.         echo "\t<section class=\"px-6 pb-10 pt-[7.5rem] md:pt-20 md:pb-1 text-black\">
  95. \t\t<div class=\"mx-auto w-full max-w-[63rem]\">
  96. \t\t\t<h1 class=\"flex items-start gap-4 md:gap-2\">
  97. \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>
  98. \t\t\t\t<p class=\"text-[2rem] font-light leading-normal tracking-widest md:text-xl\">
  99. \t\t\t\t\tよくあるご質問</p>
  100. \t\t\t</h1>
  101. \t\t</div>
  102. \t</section>
  103. \t";
  104.         // line 65
  105.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/breadcrumb.twig");
  106.         echo "
  107. \t<section class=\"md:pt-6 px-6 pb-[7.5rem] md:pb-20 text-black\">
  108. \t\t<div class=\"mx-auto w-full max-w-[37rem] text-sm leading-loose\">
  109. \t\t\t<p>こちらを読んでも解決しない場合は、お気軽に<a href=\"/contact\" class=\"text-red underline\">お問い合わせ</a>ください。<br>
  110. \t\t\t\tできるかぎり迅速に回答させて頂きます。</p>
  111. \t\t\t<div class=\"mt-20\">
  112. \t\t\t\t";
  113.         // line 71
  114.         $context['_parent'] = $context;
  115.         $context['_seq'] = twig_ensure_traversable((isset($context["items"]) || array_key_exists("items"$context) ? $context["items"] : (function () { throw new RuntimeError('Variable "items" does not exist.'71$this->source); })()));
  116.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  117.             // line 72
  118.             echo "\t\t\t\t\t<div class=\"mt-16\">
  119. \t\t\t\t\t\t<h3 class=\"text-xl leading-normal font-medium\">";
  120.             // line 73
  121.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsetrue73), 73$this->source), "html"nulltrue);
  122.             echo "</h3>
  123. \t\t\t\t\t\t";
  124.             // line 74
  125.             $context['_parent'] = $context;
  126.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["item"], "faqs", [], "any"falsefalsetrue74));
  127.             foreach ($context['_seq'] as $context["_key"] => $context["faq"]) {
  128.                 // line 75
  129.                 echo "\t\t\t\t\t\t\t<details class=\"border-y border-black mt-6\">
  130. \t\t\t\t\t\t\t\t<summary class=\"hover py-6 font-medium after:content-['+'] flex items-center justify-between\">Q.
  131. \t\t\t\t\t\t\t\t\t";
  132.                 // line 77
  133.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["faq"], "question", [], "any"falsefalsetrue77), 77$this->source), "html"nulltrue);
  134.                 echo "</summary>
  135. \t\t\t\t\t\t\t\t<div>
  136. \t\t\t\t\t\t\t\t\t<p class=\"pb-6 whitespace-pre-wrap\">";
  137.                 // line 79
  138.                 echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["faq"], "answer", [], "any"falsefalsetrue79), 79$this->source));
  139.                 echo "</p>
  140. \t\t\t\t\t\t\t\t</div>
  141. \t\t\t\t\t\t\t</details>
  142. \t\t\t\t\t\t";
  143.             }
  144.             $_parent $context['_parent'];
  145.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['faq'], $context['_parent'], $context['loop']);
  146.             $context array_intersect_key($context$_parent) + $_parent;
  147.             // line 83
  148.             echo "\t\t\t\t\t</div>
  149. \t\t\t\t";
  150.         }
  151.         $_parent $context['_parent'];
  152.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  153.         $context array_intersect_key($context$_parent) + $_parent;
  154.         // line 85
  155.         echo "\t\t\t</div>
  156. \t\t</div>
  157. \t</section>
  158. ";
  159.         
  160.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  161.         
  162.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  163.     }
  164.     public function getTemplateName()
  165.     {
  166.         return "Help/qa.twig";
  167.     }
  168.     public function isTraitable()
  169.     {
  170.         return false;
  171.     }
  172.     public function getDebugInfo()
  173.     {
  174.         return array (  175 => 85,  168 => 83,  158 => 79,  153 => 77,  149 => 75,  145 => 74,  141 => 73,  138 => 72,  134 => 71,  125 => 65,  114 => 56,  104 => 55,  78 => 4,  68 => 3,  57 => 1,  55 => 53,  51 => 22,  38 => 1,);
  175.     }
  176.     public function getSourceContext()
  177.     {
  178.         return new Source("{% extends 'default_frame.twig' %}
  179. {% block stylesheet %}
  180. \t<style>
  181. \t\tsummary {
  182. \t\t\tdisplay: block;
  183. \t\t}
  184. \t\tsummary::-webkit-details-marker {
  185. \t\t\tdisplay: none;
  186. \t\t}
  187. \t\tsummary:after {
  188. \t\t\ttransition: transform 0.4s;
  189. \t\t}
  190. \t\tdetails[open] summary:after {
  191. \t\t\tcontent: '-';
  192. \t\t\ttransform: rotate(-180deg);
  193. \t\t}
  194. \t</style>
  195. {% endblock %}
  196. {% set items =[
  197.     {
  198.         title:'商品について',
  199.         faqs:[
  200.             {
  201.                 question:'サイズや形は全て同じですか?',
  202.                 answer:'天然の素材を使用し、全て手仕事での制作のため、色や形が一つ一つわずかながらも異なります。サイトと全く同じものはご用意できませんので、ご了承ください。',
  203.             },
  204.         ]
  205.     },
  206.     {
  207.         title:'色について',
  208.         faqs:[
  209.             {
  210.                 question:'掲載と同じ色の商品が届きますか?',
  211.                 answer:'商品の画像はできるだけ実物に近い色を再現するよう注意しておりますが、お客様のご覧になっているパソコンや携帯のモニタ環境等により画面上ご覧になっている色や素材感と実際の商品が異なって見える場合がございます。\\nなお、色や素材感などのイメージ違いより万が一ご返品となった場合につきましては、お客様の送料ご負担となりますのでご了承ください。',
  212.             },
  213.         ]
  214.     },
  215.     {
  216.         title:'サービス内容について',
  217.         faqs:[
  218.             {
  219.                 question:'領収書の発行はできますか?',
  220.                 answer:'ご注文の際、備考欄に【領収書希望の旨】と【宛名】【但し書き】をご記入ください。商品に領収書を同封させて頂きます。\\n詳しくは、<a href=\"/guide?id=領収書の発行\" class=\"hover underline\">ご利用ガイド</a>をご覧ください。',
  221.             },
  222.         ]
  223.     },
  224. ] %}
  225. {% set breadcrumbs = [{'name': 'よくあるご質問'}] %}
  226. {% block main %}
  227. \t<section class=\"px-6 pb-10 pt-[7.5rem] md:pt-20 md:pb-1 text-black\">
  228. \t\t<div class=\"mx-auto w-full max-w-[63rem]\">
  229. \t\t\t<h1 class=\"flex items-start gap-4 md:gap-2\">
  230. \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>
  231. \t\t\t\t<p class=\"text-[2rem] font-light leading-normal tracking-widest md:text-xl\">
  232. \t\t\t\t\tよくあるご質問</p>
  233. \t\t\t</h1>
  234. \t\t</div>
  235. \t</section>
  236. \t{{ include('Block/breadcrumb.twig') }}
  237. \t<section class=\"md:pt-6 px-6 pb-[7.5rem] md:pb-20 text-black\">
  238. \t\t<div class=\"mx-auto w-full max-w-[37rem] text-sm leading-loose\">
  239. \t\t\t<p>こちらを読んでも解決しない場合は、お気軽に<a href=\"/contact\" class=\"text-red underline\">お問い合わせ</a>ください。<br>
  240. \t\t\t\tできるかぎり迅速に回答させて頂きます。</p>
  241. \t\t\t<div class=\"mt-20\">
  242. \t\t\t\t{% for item in items %}
  243. \t\t\t\t\t<div class=\"mt-16\">
  244. \t\t\t\t\t\t<h3 class=\"text-xl leading-normal font-medium\">{{item.title}}</h3>
  245. \t\t\t\t\t\t{% for faq in item.faqs %}
  246. \t\t\t\t\t\t\t<details class=\"border-y border-black mt-6\">
  247. \t\t\t\t\t\t\t\t<summary class=\"hover py-6 font-medium after:content-['+'] flex items-center justify-between\">Q.
  248. \t\t\t\t\t\t\t\t\t{{faq.question}}</summary>
  249. \t\t\t\t\t\t\t\t<div>
  250. \t\t\t\t\t\t\t\t\t<p class=\"pb-6 whitespace-pre-wrap\">{{faq.answer|raw|nl2br}}</p>
  251. \t\t\t\t\t\t\t\t</div>
  252. \t\t\t\t\t\t\t</details>
  253. \t\t\t\t\t\t{% endfor %}
  254. \t\t\t\t\t</div>
  255. \t\t\t\t{% endfor %}
  256. \t\t\t</div>
  257. \t\t</div>
  258. \t</section>
  259. {% endblock %}
  260. ""Help/qa.twig""/home/xs545372/itsukushi-store.com/public_html/stg.itsukushi-store.com/app/template/default/Help/qa.twig");
  261.     }
  262.     
  263.     public function checkSecurity()
  264.     {
  265.         static $tags = array("set" => 22"for" => 71);
  266.         static $filters = array("escape" => 73"nl2br" => 79"raw" => 79);
  267.         static $functions = array("include" => 65);
  268.         try {
  269.             $this->sandbox->checkSecurity(
  270.                 ['set''for'],
  271.                 ['escape''nl2br''raw'],
  272.                 ['include']
  273.             );
  274.         } catch (SecurityError $e) {
  275.             $e->setSourceContext($this->source);
  276.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  277.                 $e->setTemplateLine($tags[$e->getTagName()]);
  278.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  279.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  280.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  281.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  282.             }
  283.             throw $e;
  284.         }
  285.     }
  286. }