<?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;

/* Mail/mjml/content/import/import.html.twig */
class __TwigTemplate_f82b17cf41d3a7c97a26faf290080937 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 "<mj-section background-color=\"#ffffff\" full-width=\"full-width\" padding=\"10px\">
    <mj-column>
        <mj-text>
            <p>Hello,</p>
            <p>Your import has been processed.</p>

            <p>Here is the report for your import.</p>
            ";
        // line 8
        if (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "total", [], "any", true, true, false, 8)) {
            // line 9
            yield "                <p><strong>Total: ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "total", [], "any", false, false, false, 9), "html", null, true);
            yield " expedition(s) processed.</strong></p>
            ";
        }
        // line 11
        yield "        </mj-text>
        ";
        // line 12
        if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "importReportLines", [], "any", false, false, false, 12)) > 0)) {
            // line 13
            yield "            <mj-table>
                <tr style=\"border-bottom:1px solid #ecedee;text-align:left;padding:15px 0;\">
                    <th style=\"padding: 0 15px 0 0;\">Identifier</th>
                    <th style=\"padding: 0 15px;\">Description</th>
                </tr>";
            // line 18
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "importReportLines", [], "any", false, false, false, 18));
            foreach ($context['_seq'] as $context["_key"] => $context["line"]) {
                // line 19
                yield "<tr ";
                if ((CoreExtension::getAttribute($this->env, $this->source, $context["line"], "type", [], "any", false, false, false, 19) == "error")) {
                    yield "style=\"background: #fab8ad\" ";
                }
                yield ">
                        <td style=\"padding: 0 15px 0 0;\">";
                // line 20
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["line"], "identifier", [], "any", false, false, false, 20), "html", null, true);
                yield "</td>
                        <td style=\"padding: 0 15px;\">";
                // line 21
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["line"], "description", [], "any", false, false, false, 21), "html", null, true);
                yield "</td>
                    </tr>";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_key'], $context['line'], $context['_parent']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 24
            yield "</mj-table>
        ";
        }
        // line 26
        yield "        ";
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "truncate", [], "any", true, true, false, 26) && (CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "truncate", [], "any", false, false, false, 26) === true))) {
            // line 27
            yield "            <mj-text>
                <p>[....................................................]</p>
                <p>
                    The report is truncated. You can download the full report file by referring to the download section
                    below.
                </p>
            </mj-text>
        ";
        }
        // line 35
        yield "    </mj-column>
</mj-section>
";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "Mail/mjml/content/import/import.html.twig";
    }

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  110 => 35,  100 => 27,  97 => 26,  93 => 24,  85 => 21,  81 => 20,  74 => 19,  70 => 18,  64 => 13,  62 => 12,  59 => 11,  53 => 9,  51 => 8,  42 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("", "Mail/mjml/content/import/import.html.twig", "/var/www/fulfillment/api/templates/Mail/mjml/content/import/import.html.twig");
    }
}
