<?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;
/* Block/lm_item_main_info.twig */
class __TwigTemplate_e53ebd8c8684e4d4fb522092644ec0ad extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
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", "Block/lm_item_main_info.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Block/lm_item_main_info.twig"));
// line 1
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 1, $this->source); })()), "GoodsSetPurchase", [], "any", false, false, true, 1), "NewUI", [], "any", false, false, true, 1), "Enabled", [], "any", false, false, true, 1) && twig_get_attribute($this->env, $this->source, (isset($context["goods"]) || array_key_exists("goods", $context) ? $context["goods"] : (function () { throw new RuntimeError('Variable "goods" does not exist.', 1, $this->source); })()), "isGoodsSetPurchase", [], "any", false, false, true, 1))) {
// line 2
echo "
";
// line 3
$this->loadTemplate("Item/GoodsSetPurchase/main.twig", "Block/lm_item_main_info.twig", 3)->display($context);
// line 4
echo "
";
} else {
// line 6
echo "
";
// line 7
$this->loadTemplate("Item/main.twig", "Block/lm_item_main_info.twig", 7)->display($context);
// line 8
echo "
";
// line 9
$this->loadTemplate("Block/lm_item_cart_area.twig", "Block/lm_item_main_info.twig", 9)->display($context);
// line 10
echo "
";
}
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "Block/lm_item_main_info.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 66 => 10, 64 => 9, 61 => 8, 59 => 7, 56 => 6, 52 => 4, 50 => 3, 47 => 2, 45 => 1,);
}
public function getSourceContext()
{
return new Source("{% if eccube_config.GoodsSetPurchase.NewUI.Enabled and goods.isGoodsSetPurchase %}
{% include 'Item/GoodsSetPurchase/main.twig' %}
{% else %}
{% include 'Item/main.twig' %}
{% include 'Block/lm_item_cart_area.twig' %}
{% endif %}
", "Block/lm_item_main_info.twig", "/var/www/html/app/template/default/Block/lm_item_main_info.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 1, "include" => 3);
static $filters = array();
static $functions = array();
try {
$this->sandbox->checkSecurity(
['if', 'include'],
[],
[]
);
} 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;
}
}
}