<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;

/* extension/journal_3/catalog/view/template/checkout/checkout.twig */
class __TwigTemplate_aa7dd496195dd4c64eac1191df823098 extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 1
        yield ($context["header"] ?? null);
        yield "
";
        // line 2
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["pageTitlePosition"], "method", false, false, false, 2) == "top")) {
            // line 3
            yield "  <h1 class=\"title page-title ";
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["title_color_scheme"], "method", false, false, false, 3);
            yield "\"><span class=\"page-title-text\">";
            yield ($context["heading_title"] ?? null);
            yield "</span></h1>
";
        }
        // line 5
        yield "<div class=\"breadcrumbs ";
        yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["breadcrumbs_color_scheme"], "method", false, false, false, 5);
        yield "\">
  <ul class=\"breadcrumb\">
    ";
        // line 7
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(($context["breadcrumbs"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
            // line 8
            yield "      <li><a href=\"";
            yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 8);
            yield "\">";
            yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 8);
            yield "</a></li>
    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['breadcrumb'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 10
        yield "  </ul>
</div>
";
        // line 12
        yield ($context["journal3_top"] ?? null);
        yield "
<div id=\"checkout-checkout\" class=\"container\">
  <div class=\"row\">";
        // line 14
        yield ($context["column_left"] ?? null);
        yield "
    <div id=\"content\" class=\"col\">";
        // line 15
        yield ($context["content_top"] ?? null);
        yield "
      ";
        // line 16
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["pageTitlePosition"], "method", false, false, false, 16) == "default")) {
            // line 17
            yield "        <h1 class=\"title page-title ";
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["title_color_scheme"], "method", false, false, false, 17);
            yield "\">";
            yield ($context["heading_title"] ?? null);
            yield "</h1>
      ";
        }
        // line 19
        yield "      <div class=\"row checkout-sections\">
        ";
        // line 20
        if (((($context["register"] ?? null) || ($context["payment_address"] ?? null)) || ($context["shipping_address"] ?? null))) {
            // line 21
            yield "        <div class=\"col-md-7 mb-3 checkout-section checkout-section-start\">

          ";
            // line 23
            if (($context["register"] ?? null)) {
                // line 24
                yield "            <div id=\"checkout-register\">";
                yield ($context["register"] ?? null);
                yield "</div>
          ";
            }
            // line 26
            yield "
          ";
            // line 27
            if (($context["payment_address"] ?? null)) {
                // line 28
                yield "            <div id=\"checkout-payment-address\">";
                yield ($context["payment_address"] ?? null);
                yield "</div>
          ";
            }
            // line 30
            yield "
          ";
            // line 31
            if (($context["shipping_address"] ?? null)) {
                // line 32
                yield "            <div id=\"checkout-shipping-address\">";
                yield ($context["shipping_address"] ?? null);
                yield "</div>
          ";
            }
            // line 34
            yield "
        </div>
        ";
        }
        // line 37
        yield "        <div class=\"col-md-5 checkout-section checkout-section-end\">
          ";
        // line 38
        if (($context["shipping_method"] ?? null)) {
            // line 39
            yield "            <div id=\"checkout-shipping-method\" class=\"mb-3\">";
            yield ($context["shipping_method"] ?? null);
            yield "</div>
          ";
        }
        // line 41
        yield "          <div id=\"checkout-payment-method\" class=\"mb-4\">";
        yield ($context["payment_method"] ?? null);
        yield "</div>

          <div id=\"checkout-confirm\">";
        // line 43
        yield ($context["confirm"] ?? null);
        yield "</div>

        </div>
      </div>
      ";
        // line 47
        yield ($context["content_bottom"] ?? null);
        yield "
    </div>
    ";
        // line 49
        yield ($context["column_right"] ?? null);
        yield "
  </div>
</div>
";
        // line 52
        yield ($context["footer"] ?? null);
        yield "
";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "extension/journal_3/catalog/view/template/checkout/checkout.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  183 => 52,  177 => 49,  172 => 47,  165 => 43,  159 => 41,  153 => 39,  151 => 38,  148 => 37,  143 => 34,  137 => 32,  135 => 31,  132 => 30,  126 => 28,  124 => 27,  121 => 26,  115 => 24,  113 => 23,  109 => 21,  107 => 20,  104 => 19,  96 => 17,  94 => 16,  90 => 15,  86 => 14,  81 => 12,  77 => 10,  66 => 8,  62 => 7,  56 => 5,  48 => 3,  46 => 2,  42 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{{ header }}
{% if journal3.get('pageTitlePosition') == 'top' %}
  <h1 class=\"title page-title {{ journal3.get('title_color_scheme') }}\"><span class=\"page-title-text\">{{ heading_title }}</span></h1>
{% endif %}
<div class=\"breadcrumbs {{ journal3.get('breadcrumbs_color_scheme') }}\">
  <ul class=\"breadcrumb\">
    {% for breadcrumb in breadcrumbs %}
      <li><a href=\"{{ breadcrumb.href }}\">{{ breadcrumb.text }}</a></li>
    {% endfor %}
  </ul>
</div>
{{ journal3_top }}
<div id=\"checkout-checkout\" class=\"container\">
  <div class=\"row\">{{ column_left }}
    <div id=\"content\" class=\"col\">{{ content_top }}
      {% if journal3.get('pageTitlePosition') == 'default' %}
        <h1 class=\"title page-title {{ journal3.get('title_color_scheme') }}\">{{ heading_title }}</h1>
      {% endif %}
      <div class=\"row checkout-sections\">
        {% if register or payment_address or shipping_address %}
        <div class=\"col-md-7 mb-3 checkout-section checkout-section-start\">

          {% if register %}
            <div id=\"checkout-register\">{{ register }}</div>
          {% endif %}

          {% if payment_address %}
            <div id=\"checkout-payment-address\">{{ payment_address }}</div>
          {% endif %}

          {% if shipping_address %}
            <div id=\"checkout-shipping-address\">{{ shipping_address }}</div>
          {% endif %}

        </div>
        {% endif %}
        <div class=\"col-md-5 checkout-section checkout-section-end\">
          {% if shipping_method %}
            <div id=\"checkout-shipping-method\" class=\"mb-3\">{{ shipping_method }}</div>
          {% endif %}
          <div id=\"checkout-payment-method\" class=\"mb-4\">{{ payment_method }}</div>

          <div id=\"checkout-confirm\">{{ confirm }}</div>

        </div>
      </div>
      {{ content_bottom }}
    </div>
    {{ column_right }}
  </div>
</div>
{{ footer }}
", "extension/journal_3/catalog/view/template/checkout/checkout.twig", "/home/isatuzun/public_html/opencart.my-multiplanet.ch/extension/journal_3/catalog/view/template/checkout/checkout.twig");
    }
}
