<?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/support_ticket/ticket_link.html.twig */
class __TwigTemplate_c4e671f1bd4ead2e6b0c93d2cbad66ba 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
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "link", [], "any", true, true, false, 1) && CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "link", [], "any", false, false, false, 1))) {
            // line 2
            yield "    <mj-button padding=\"20px 0px\" background-color=\"#F20032\" href=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "link", [], "any", false, false, false, 2), "html", null, true);
            yield "\">Open the ticket</mj-button>
    <mj-text>
        <p>Or open the following link: <a href=\"";
            // line 4
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "link", [], "any", false, false, false, 4), "html", null, true);
            yield "\">";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["options"] ?? null), "link", [], "any", false, false, false, 4), "html", null, true);
            yield "</a></p>
    </mj-text>
";
        }
        yield from [];
    }

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

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  50 => 4,  44 => 2,  42 => 1,);
    }

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