<?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/customsInvoice/bblExportError.html.twig */
class __TwigTemplate_679a9929c891c22d81639926e5e0dcbe 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 10px 0\">
    <mj-column>
        <mj-text>
            <span style=\"display:inline-block;padding:3px 10px;border-radius:999px;background:#fee2e2;color:#b91c1c;font-size:11px;font-weight:600;letter-spacing:0.04em;text-transform:uppercase;\">Failure</span>
            <span style=\"margin-left:8px;font-size:15px;font-weight:600;color:#111;\">BBL Customs export failed</span>
        </mj-text>
    </mj-column>
</mj-section>

<mj-section background-color=\"#ffffff\" full-width=\"full-width\" padding=\"6px 10px\">
    <mj-column>
        <mj-table cellpadding=\"0\" cellspacing=\"0\">
            <tr>
                <td style=\"padding:4px 0;width:140px;color:#666;font-size:12px;text-transform:uppercase;letter-spacing:0.04em;\">Invoice</td>
                <td style=\"padding:4px 0;font-size:14px;color:#111;\"><strong>";
        // line 15
        yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "invoiceNumber", [], "any", true, true, false, 15) &&  !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "invoiceNumber", [], "any", false, false, false, 15)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "invoiceNumber", [], "any", false, false, false, 15), "html", null, true)) : ("N/A"));
        yield "</strong></td>
            </tr>
        </mj-table>
    </mj-column>
</mj-section>

";
        // line 21
        if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "responseBody", [], "any", false, false, false, 21)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
            // line 22
            yield "    <mj-section background-color=\"#fafafa\" full-width=\"full-width\" padding=\"6px 10px\" border-radius=\"6px\">
        <mj-column>
            <mj-text padding=\"6px 0\">
                <span style=\"font-size:11px;font-weight:600;color:#666;text-transform:uppercase;letter-spacing:0.06em;\">BBL response</span>
            </mj-text>
            <mj-text>
                <pre style=\"margin:0;padding:10px 12px;background:#f6f8fa;border:1px solid #e5e7eb;border-radius:6px;font-family:\x27JetBrains Mono\x27,Menlo,Consolas,monospace;font-size:12px;color:#374151;white-space:pre-wrap;word-wrap:break-word;line-height:1.5;\">";
            // line 28
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "responseBody", [], "any", false, false, false, 28), "html", null, true);
            yield "</pre>
            </mj-text>
        </mj-column>
    </mj-section>
";
        }
        // line 33
        yield "
<mj-section background-color=\"#ffffff\" full-width=\"full-width\" padding=\"6px 10px 10px\">
    <mj-column>
        <mj-text padding=\"0 0 6px\">
            <span style=\"font-size:11px;font-weight:600;color:#666;text-transform:uppercase;letter-spacing:0.06em;\">Raw exception</span>
        </mj-text>
        <mj-text>
            <pre style=\"margin:0;padding:10px 12px;background:#f6f8fa;border:1px solid #e5e7eb;border-radius:6px;font-family:\x27JetBrains Mono\x27,Menlo,Consolas,monospace;font-size:12px;color:#374151;white-space:pre-wrap;word-wrap:break-word;line-height:1.5;\">";
        // line 40
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "exceptionMessage", [], "any", false, false, false, 40), "html", null, true);
        yield "</pre>
        </mj-text>
    </mj-column>
</mj-section>
";
        yield from [];
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  94 => 40,  85 => 33,  77 => 28,  69 => 22,  67 => 21,  58 => 15,  42 => 1,);
    }

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