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

/* themes/mahipro/templates/parts/home_dejame_un_mensaje.html.twig */
class __TwigTemplate_6e0e8ed86217d489c03dd7ab65edaa92 extends 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;
        // line 1
        echo "<section class=\"h_contact_area parallax_effect-x sec_pad\" data-background=\"img/bg.jpg\" style=\"background: url(&quot;https://enterateconyasminpena.com/assets/assets/img/home-one/contact_bg.jpg&quot;) center no-repeat;\">
    <div class=\"overlay_bg\"></div>
    <div class=\"container\">
        <div class=\"section_title text-center color_w wow fadeInUp\" data-wow-delay=\"0.2s\" style=\"visibility: visible; animation-delay: 0.2s; animation-name: fadeInUp;\">
            <h2 class=\"wow fadeInUp\" data-wow-delay=\"0.2s\" style=\"visibility: visible; animation-delay: 0.2s; animation-name: fadeInUp;\">
                ";
        // line 6
        echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((twig_get_attribute($this->env, $this->source, ($context["language"] ?? null), "getId", [], "method", false, false, true, 6) == "en")) ? ("Leave me a message") : ("Déjame un Mensaje")));
        echo "
            </h2>
        </div>
        <span style=\"display:block; color:#ff0000; padding: 0 10px 10px 10px\">(*) ";
        // line 9
        echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((twig_get_attribute($this->env, $this->source, ($context["language"] ?? null), "getId", [], "method", false, false, true, 9) == "en")) ? ("Indicates required field.") : ("Indica campo requerido")));
        echo ".</span>
        <form name=\"frmGeneric\" id=\"frmGeneric\" class=\"row h_contact_form\" method=\"post\">
            <input type=\"hidden\" name=\"do\" id=\"do\" value=\"/contact_process.php\">
            <input type=\"hidden\" name=\"txtmailowner\" id=\"txtmailowner\" value=\"";
        // line 12
        echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["site_email"] ?? null), 12, $this->source), "html", null, true);
        echo "\">
            <input type=\"hidden\" name=\"txtnameowner\" id=\"txtnameowner\" value=\"";
        // line 13
        echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["_HOST_"] ?? null), 13, $this->source), "html", null, true);
        echo "\">
            <input type=\"hidden\" name=\"txtlanguage\" id=\"txtlanguage\" value=\"";
        // line 14
        echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["language"] ?? null), "getId", [], "method", false, false, true, 14), 14, $this->source), "html", null, true);
        echo "\">
            <div class=\"col-lg-6 col-md-6 form-group\">
                <input class=\"form-control \" type=\"text\" name=\"txtfname\" id=\"txtfname\" placeholder=\"";
        // line 16
        echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((twig_get_attribute($this->env, $this->source, ($context["language"] ?? null), "getId", [], "method", false, false, true, 16) == "en")) ? ("Name") : ("Nombre")));
        echo " (*)\">
            </div>
            <div class=\"col-lg-6 col-md-6 form-group\">
                <input class=\"form-control \" type=\"email\" name=\"txtemail\" id=\"txtemail\" placeholder=\"Email (*)\">
            </div>
            <div class=\"col-lg-6 col-md-12 form-group\">
                <input class=\"form-control \" type=\"text\" id=\"txtphone\" name=\"txtphone\" placeholder=\"";
        // line 22
        echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((twig_get_attribute($this->env, $this->source, ($context["language"] ?? null), "getId", [], "method", false, false, true, 22) == "en")) ? ("Phone") : ("Teléfono")));
        echo " (*)\">
            </div>
            <div class=\"col-lg-6 col-md-12 form-group\">
                <input class=\"form-control\" type=\"text\" id=\"txtsubject\" name=\"txtsubject\" placeholder=\"";
        // line 25
        echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((twig_get_attribute($this->env, $this->source, ($context["language"] ?? null), "getId", [], "method", false, false, true, 25) == "en")) ? ("Subject") : ("Asunto")));
        echo "\">
            </div>
            <div class=\"col-lg-12 form-group\">
\t\t\t<textarea class=\"form-control\" name=\"message\" id=\"message\" cols=\"30\" rows=\"10\" placeholder=\"";
        // line 28
        echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((twig_get_attribute($this->env, $this->source, ($context["language"] ?? null), "getId", [], "method", false, false, true, 28) == "en")) ? ("Message") : ("Mensaje")));
        echo "\"></textarea>
            </div>
            
            <div class=\"col-lg-12 text-right form-group\">
                <p style=\"color:#fff!important; text-align: left; font-size:11px; line-height:15px; padding:0px 0px 8px\">
                    <label class=\"form-control\" id=\"txtcheckautoriza\" style=\"font-size:11px; color:#fff!important;\">
                        <br>
                        ";
        // line 35
        $context["site_name_only"] = twig_replace_filter($this->sandbox->ensureToStringAllowed(($context["site_name"] ?? null), 35, $this->source), ["Enterate con" => ""]);
        // line 36
        echo "                        ";
        $context["site_name_only2"] = twig_replace_filter($this->sandbox->ensureToStringAllowed(($context["site_name_only"] ?? null), 36, $this->source), ["Entérate con" => ""]);
        // line 37
        echo "                        <input type=\"checkbox\" name=\"txtcheckautoriza\" value=\"si\"/> 
                        ";
        // line 38
        if ((twig_get_attribute($this->env, $this->source, ($context["language"] ?? null), "getId", [], "method", false, false, true, 38) == "en")) {
            // line 39
            echo "        \t\t\t\t    By checking this box, you consent to receive text messages from <b>";
            echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, twig_replace_filter($this->sandbox->ensureToStringAllowed(($context["site_name_only2"] ?? null), 39, $this->source), ["Enterate con" => ""]), "html", null, true);
            echo "</b> regarding your inquiries, orders, or services. You can unsubscribe at any time by replying \"STOP.\" For help, reply \"HELP.\"
Message and data rates may apply. Message frequency may vary.
        \t\t\t\t";
        } else {
            // line 42
            echo "        \t\t\t\t     Al marcar esta casilla, autorizas recibir mensajes de texto por parte de <b>";
            echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, twig_replace_filter($this->sandbox->ensureToStringAllowed(($context["site_name_only2"] ?? null), 42, $this->source), ["Enterate con" => ""]), "html", null, true);
            echo "</b> relacionados con tus consultas, pedidos o servicios. Puedes darte de baja en cualquier momento respondiendo “STOP”. Para ayuda, responde “AYUDA”. 
                        Pueden aplicarse cargos por mensajes y datos. La frecuencia de mensajes puede variar.
        \t\t\t\t";
        }
        // line 45
        echo "                    </label>
                </p>
            </div>
                
                
            <div class=\"col-lg-12 text-right\">
                <button type=\"button\" id=\"submitcontact\" class=\"theme_btn theme_btn_yellow\">
                    ";
        // line 52
        echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((twig_get_attribute($this->env, $this->source, ($context["language"] ?? null), "getId", [], "method", false, false, true, 52) == "en")) ? ("Send") : ("Enviar")));
        echo "
                </button>
            </div>
            <div class=\"col-lg-12 text-right form-group\">
                <p style=\"color:#fff; text-align: right; font-size:11px; line-height:15px; padding:0px 0px 8px\">
                    ";
        // line 57
        echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((twig_get_attribute($this->env, $this->source,         // line 59
($context["language"] ?? null), "getId", [], "method", false, false, true, 59) == "en")) ? ("By providing your email and phone number, you agree to allow Entérate to send you advertising and promotional information by email and SMS. You also allow Entérate to call you.") : ("Al proporcionar tu correo electrónico y número de teléfono, aceptas permitir que Entérate te envíe
                    información publicitaria y promocional por correo electrónico y SMS. También permites que Entérate te llame.")));
        // line 64
        echo "
                    
                </p>
            </div>


            <br class=\"clear\">

            <span id=\"ajaxgifTxt\" class=\"hide\"> <img src=\"https://enterateconyasminpena.com/assets/img/throbber-active.gif\" id=\"ajaxgif\" class=\"ajaxgif hide\"> Please wait...</span>

        </form>
        <div id=\"msg\" class=\"msg\"></div>
        <div id=\"errormessages\">
            <div class=\"messages error\">
                <ul id=\"myerrorlist\"></ul>
            </div>
        </div>
        <div id=\"webform-ajax-response-success\" style=\"color: #468847; background-color: #dff0d8; border-color: #d6e9c6; text-align: center;border-radius: 20px; padding: 20px;\">
            <h2 style=\"color:#468847;\">
                ";
        // line 83
        echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar((((twig_get_attribute($this->env, $this->source,         // line 85
($context["language"] ?? null), "getId", [], "method", false, false, true, 85) == "en")) ? ("Thank you for writing to us, in minutes one of our specialists will contact you.") : ("Gracias por escribirnos, en minutos uno de nuestros especialistas te contactará.")));
        // line 89
        echo "
            </h2>
        </div>
    </div>
</section>";
    }

    public function getTemplateName()
    {
        return "themes/mahipro/templates/parts/home_dejame_un_mensaje.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  171 => 89,  169 => 85,  168 => 83,  147 => 64,  144 => 59,  143 => 57,  135 => 52,  126 => 45,  119 => 42,  112 => 39,  110 => 38,  107 => 37,  104 => 36,  102 => 35,  92 => 28,  86 => 25,  80 => 22,  71 => 16,  66 => 14,  62 => 13,  58 => 12,  52 => 9,  46 => 6,  39 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "themes/mahipro/templates/parts/home_dejame_un_mensaje.html.twig", "/home/anapatriciaserna/public_html/themes/mahipro/templates/parts/home_dejame_un_mensaje.html.twig");
    }
    
    public function checkSecurity()
    {
        static $tags = array("set" => 35, "if" => 38);
        static $filters = array("escape" => 12, "replace" => 35);
        static $functions = array();

        try {
            $this->sandbox->checkSecurity(
                ['set', 'if'],
                ['escape', 'replace'],
                []
            );
        } 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;
        }

    }
}
