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

/* module/md_house_card/index.html */
class __TwigTemplate_235a0c75d0a968e2928a0d588a14736f extends Template
{
    private $source;
    private $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 = [])
    {
        $macros = $this->macros;
        // line 1
        $context["isProtected"] = CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "isProtected", [], "any", false, false, false, 1);
        // line 2
        yield "<div class=\"lofty-house-item lofty-reset-style\" house-id=\"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "id", [], "any", false, false, false, 2), "html", null, true);
        yield "\">
    <div class=\"lofty-house-img\">
        <a target=\"_blank\" href=\"";
        // line 4
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "detailUrl", [], "any", false, false, false, 4), "html", null, true);
        yield "\">
            ";
        // line 5
        if (CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "previewPicture", [], "any", false, false, false, 5)) {
            // line 6
            yield "                <img src=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "previewPicture", [], "any", false, false, false, 6), "html", null, true);
            yield "\" loading=\"lazy\" alt=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "address", [], "any", false, false, false, 6), "html", null, true);
            yield "\">
            ";
        } else {
            // line 8
            yield "                <img src=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['LoftyIDX\includes\extensions\LoftyIDXTwigFunctionExtension']->getStaticUrl("public/img/empty-listing.png"), "html", null, true);
            yield "\" loading=\"lazy\" alt=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "address", [], "any", false, false, false, 8), "html", null, true);
            yield "\">
            ";
        }
        // line 10
        yield "        </a>
        ";
        // line 11
        if (($context["isProtected"] ?? null)) {
            // line 12
            yield "          <div class=\"lofty-house-mask-blur\">
            <div class=\"lofty-house-login-box\">
                <div class=\"lock-circle\">
                    <i class=\"lofty_iconfont lofty-icon-lock1\"></i>
                </div>
                ";
            // line 17
            if ( !CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "loginStatus", [], "any", false, false, false, 17)) {
                // line 18
                yield "                   <div class=\"lock-desc\">Free Account Required</div>
                ";
            } elseif ( !CoreExtension::getAttribute($this->env, $this->source,             // line 19
($context["house"] ?? null), "vowStatus", [], "any", false, false, false, 19)) {
                // line 20
                yield "                   <div class=\"lock-desc\">Email Verification Required</div>
                ";
            }
            // line 22
            yield "                ";
            if ( !CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "loginStatus", [], "any", false, false, false, 22)) {
                // line 23
                yield "                <div class=\"login-desc\">
                    <span class=\"lofty-register\">Register</span> or
                    <span class=\"lofty-login\">Login</span>
                    to view details
                </div>
                ";
            } elseif ( !CoreExtension::getAttribute($this->env, $this->source,             // line 28
($context["house"] ?? null), "vowStatus", [], "any", false, false, false, 28)) {
                // line 29
                yield "                <div class=\"login-desc\" style=\"text-align: center\">
                    <span class=\"lofty-verify\">Verify Your Email</span>
                </div>
                ";
            }
            // line 33
            yield "            </div>
        </div>
        ";
        }
        // line 36
        yield "        ";
        if ( !($context["isProtected"] ?? null)) {
            // line 37
            yield "            ";
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "listingTags", [], "any", false, false, false, 37));
            foreach ($context['_seq'] as $context["_key"] => $context["tag"]) {
                // line 38
                yield "                <div class=\"lofty-status-tag ";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["tag"], "style", [], "any", false, false, false, 38), "className", [], "any", false, false, false, 38), "html", null, true);
                yield "\">";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["tag"], "value", [], "any", false, false, false, 38), "html", null, true);
                yield "</div>
            ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tag'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 40
            yield "                <div class=\"lofty-img-counts\">
                    <i class=\"lofty_iconfont lofty-icon-pic\"></i>
                    <span class=\"lofty-count-number\">";
            // line 42
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "picturesNum", [], "any", false, false, false, 42), "html", null, true);
            yield "</span>
                </div>
            ";
            // line 44
            if ( !CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "soldDate", [], "any", false, false, false, 44)) {
                // line 45
                yield "                ";
                if (CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "collectStatus", [], "any", false, false, false, 45)) {
                    // line 46
                    yield "                    <i class=\"lofty_iconfont lofty-icon-heart-fill collect-heart\"></i>
                ";
                } else {
                    // line 48
                    yield "                 <i class=\"lofty_iconfont lofty-icon-heart-fill lofty-icon-heart-mask\"></i>
                 <i class=\"lofty_iconfont lofty-icon-heart collect-heart\"></i>
                ";
                }
                // line 51
                yield "            ";
            }
            // line 52
            yield "        ";
        }
        // line 53
        yield "    </div>
    ";
        // line 54
        if (CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "soldDate", [], "any", false, false, false, 54)) {
            // line 55
            yield "        <p class=\"lofty-item-price\">
            ";
            // line 56
            if (CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "showSoldPrice", [], "any", false, false, false, 56)) {
                // line 57
                yield "                <span>\$";
                ((($context["isProtected"] ?? null)) ? (yield "****") : (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "soldPrice", [], "any", false, false, false, 57), 0, ".", ","), "html", null, true)));
                yield "</span>
                <span class=\"lofty-house-initial-price lofty-line-through\">\$";
                // line 58
                ((($context["isProtected"] ?? null)) ? (yield "****") : (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "price", [], "any", false, false, false, 58), 0, ".", ","), "html", null, true)));
                yield "</span>
            ";
            } else {
                // line 60
                yield "                <span>\$";
                ((($context["isProtected"] ?? null)) ? (yield "****") : (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "price", [], "any", false, false, false, 60), 0, ".", ","), "html", null, true)));
                yield "</span>
            ";
            }
            // line 62
            yield "            ";
            if (((CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "showSoldPrice", [], "any", false, false, false, 62) && CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "priceChange", [], "any", false, false, false, 62)) &&  !($context["isProtected"] ?? null))) {
                // line 63
                yield "                <span class=\"lofty-trend-rate lofty-";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "priceTrend", [], "any", false, false, false, 63), "html", null, true);
                yield "-color\">
                    ";
                // line 64
                if ((CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "priceTrend", [], "any", false, false, false, 64) == "up")) {
                    // line 65
                    yield "                    <i class=\"lofty_iconfont lofty-icon-arrow_03_";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "priceTrend", [], "any", false, false, false, 65), "html", null, true);
                    yield "\"></i>
                    ";
                } else {
                    // line 67
                    yield "                    <i class=\"lofty_iconfont lofty-icon-arrow_04_";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "priceTrend", [], "any", false, false, false, 67), "html", null, true);
                    yield "\"></i>
                    ";
                }
                // line 69
                yield "                    ";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($this->extensions['Twig\Extension\CoreExtension']->formatNumber(abs((CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "priceChangePercent", [], "any", false, false, false, 69) * 100)), 1) . "%"), "html", null, true);
                yield "
                </span>
            ";
            }
            // line 72
            yield "        </p>
    ";
        } else {
            // line 74
            yield "        <p class=\"lofty-item-price\">\$";
            ((($context["isProtected"] ?? null)) ? (yield "****") : (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "price", [], "any", false, false, false, 74), 0, ".", ","), "html", null, true)));
            yield "</p>
    ";
        }
        // line 76
        yield "    <p class=\"lofty-item-detail\">
        ";
        // line 77
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "bedrooms", [], "any", false, false, false, 77) > 0)) {
            // line 78
            yield "            <span>";
            ((($context["isProtected"] ?? null)) ? (yield "***") : (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "bedrooms", [], "any", false, false, false, 78), "html", null, true)));
            yield " ";
            yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "bedrooms", [], "any", false, false, false, 78) == 1)) ? ("Bed") : ("Beds"));
            yield "</span>
        ";
        }
        // line 80
        yield "        ";
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "bathrooms", [], "any", false, false, false, 80) > 0)) {
            // line 81
            yield "            <span>";
            ((($context["isProtected"] ?? null)) ? (yield "***") : (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "bathrooms", [], "any", false, false, false, 81), "html", null, true)));
            yield " ";
            yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "bedrooms", [], "any", false, false, false, 81) == 1)) ? ("Bath") : ("Baths"));
            yield "</span>
        ";
        }
        // line 83
        yield "        ";
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "area", [], "any", false, false, false, 83) > 0)) {
            // line 84
            yield "            <span>";
            ((($context["isProtected"] ?? null)) ? (yield "***") : (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "area", [], "any", false, false, false, 84), CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "decimal", [], "any", false, false, false, 84), ".", ","), "html", null, true)));
            yield " ";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "unit", [], "any", false, false, false, 84), "html", null, true);
            yield "</span>
        ";
        }
        // line 86
        yield "    </p>
    <p class=\"lofty-item-address\">
        <a target=\"_blank\" href=\"";
        // line 88
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "detailUrl", [], "any", false, false, false, 88), "html", null, true);
        yield "\">
            ";
        // line 89
        ((($context["isProtected"] ?? null)) ? (yield "Address Not Disclosed") : (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "address", [], "any", false, false, false, 89), "html", null, true)));
        yield "
        </a>
    </p>
    ";
        // line 92
        if (CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "showMls", [], "any", false, false, false, 92)) {
            // line 93
            yield "        <div class=\"lofty-house-mls-id\">
            MLS# ";
            // line 94
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "mlsListingId", [], "any", false, false, false, 94), "html", null, true);
            yield "
        </div>
    ";
        }
        // line 97
        yield "    <div class=\"lofty-mls-info\">
        <div class=\"lofty-text\">
            <p class=\"lofty-house-tag\" style=\"display: none\">";
        // line 99
        yield CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "mlsOrg", [], "any", false, false, false, 99), "cardTemplate", [], "any", false, false, false, 99);
        yield "</p>
        </div>
        ";
        // line 101
        if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "mlsOrg", [], "any", false, false, false, 101), "logo", [], "any", false, false, false, 101)) {
            // line 102
            yield "        <div class=\"lofty-mls-logo lofty-pc-mls-logo\"><img src=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "mlsOrg", [], "any", false, false, false, 102), "logo", [], "any", false, false, false, 102), "html", null, true);
            yield "\" alt=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "mlsOrg", [], "any", false, true, false, 102), "name", [], "any", true, true, false, 102) &&  !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "mlsOrg", [], "any", false, true, false, 102), "name", [], "any", false, false, false, 102)))) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "mlsOrg", [], "any", false, true, false, 102), "name", [], "any", false, false, false, 102)) : (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "mlsOrg", [], "any", false, false, false, 102), "id", [], "any", false, false, false, 102))), "html", null, true);
            yield "\"></div>
        ";
        }
        // line 104
        yield "        ";
        if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "mlsOrg", [], "any", false, false, false, 104), "smallLogo", [], "any", false, false, false, 104)) {
            // line 105
            yield "        <div class=\"lofty-mls-logo lofty-mobile-mls-logo\"> <img src=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "mlsOrg", [], "any", false, false, false, 105), "smallLogo", [], "any", false, false, false, 105), "html", null, true);
            yield "\" alt=\"";
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "mlsOrg", [], "any", false, true, false, 105), "name", [], "any", true, true, false, 105) &&  !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "mlsOrg", [], "any", false, true, false, 105), "name", [], "any", false, false, false, 105)))) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "mlsOrg", [], "any", false, true, false, 105), "name", [], "any", false, false, false, 105)) : (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["house"] ?? null), "mlsOrg", [], "any", false, false, false, 105), "id", [], "any", false, false, false, 105))), "html", null, true);
            yield "\"></div>
        ";
        }
        // line 107
        yield "    </div>
</div>";
        return; yield '';
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName()
    {
        return "module/md_house_card/index.html";
    }

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  317 => 107,  309 => 105,  306 => 104,  298 => 102,  296 => 101,  291 => 99,  287 => 97,  281 => 94,  278 => 93,  276 => 92,  270 => 89,  266 => 88,  262 => 86,  254 => 84,  251 => 83,  243 => 81,  240 => 80,  232 => 78,  230 => 77,  227 => 76,  221 => 74,  217 => 72,  210 => 69,  204 => 67,  198 => 65,  196 => 64,  191 => 63,  188 => 62,  182 => 60,  177 => 58,  172 => 57,  170 => 56,  167 => 55,  165 => 54,  162 => 53,  159 => 52,  156 => 51,  151 => 48,  147 => 46,  144 => 45,  142 => 44,  137 => 42,  133 => 40,  122 => 38,  117 => 37,  114 => 36,  109 => 33,  103 => 29,  101 => 28,  94 => 23,  91 => 22,  87 => 20,  85 => 19,  82 => 18,  80 => 17,  73 => 12,  71 => 11,  68 => 10,  60 => 8,  52 => 6,  50 => 5,  46 => 4,  40 => 2,  38 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("{% set isProtected = house.isProtected  %}
<div class=\"lofty-house-item lofty-reset-style\" house-id=\"{{ house.id }}\">
    <div class=\"lofty-house-img\">
        <a target=\"_blank\" href=\"{{ house.detailUrl }}\">
            {% if house.previewPicture %}
                <img src=\"{{ house.previewPicture }}\" loading=\"lazy\" alt=\"{{ house.address }}\">
            {% else %}
                <img src=\"{{ static('public/img/empty-listing.png') }}\" loading=\"lazy\" alt=\"{{ house.address }}\">
            {% endif %}
        </a>
        {% if isProtected %}
          <div class=\"lofty-house-mask-blur\">
            <div class=\"lofty-house-login-box\">
                <div class=\"lock-circle\">
                    <i class=\"lofty_iconfont lofty-icon-lock1\"></i>
                </div>
                {% if not house.loginStatus %}
                   <div class=\"lock-desc\">Free Account Required</div>
                {% elseif not house.vowStatus %}
                   <div class=\"lock-desc\">Email Verification Required</div>
                {% endif %}
                {% if not house.loginStatus %}
                <div class=\"login-desc\">
                    <span class=\"lofty-register\">Register</span> or
                    <span class=\"lofty-login\">Login</span>
                    to view details
                </div>
                {% elseif not house.vowStatus %}
                <div class=\"login-desc\" style=\"text-align: center\">
                    <span class=\"lofty-verify\">Verify Your Email</span>
                </div>
                {% endif %}
            </div>
        </div>
        {% endif %}
        {% if not isProtected %}
            {% for tag in house.listingTags  %}
                <div class=\"lofty-status-tag {{ tag.style.className }}\">{{ tag.value }}</div>
            {% endfor %}
                <div class=\"lofty-img-counts\">
                    <i class=\"lofty_iconfont lofty-icon-pic\"></i>
                    <span class=\"lofty-count-number\">{{ house.picturesNum }}</span>
                </div>
            {% if not house.soldDate %}
                {% if house.collectStatus %}
                    <i class=\"lofty_iconfont lofty-icon-heart-fill collect-heart\"></i>
                {% else %}
                 <i class=\"lofty_iconfont lofty-icon-heart-fill lofty-icon-heart-mask\"></i>
                 <i class=\"lofty_iconfont lofty-icon-heart collect-heart\"></i>
                {% endif %}
            {% endif %}
        {% endif %}
    </div>
    {% if house.soldDate %}
        <p class=\"lofty-item-price\">
            {% if house.showSoldPrice  %}
                <span>\${{ isProtected ? '****' : house.soldPrice | number_format(0, '.', ',')}}</span>
                <span class=\"lofty-house-initial-price lofty-line-through\">\${{ isProtected ? '****' : house.price | number_format(0, '.', ',')}}</span>
            {% else %}
                <span>\${{ isProtected ? '****' : house.price | number_format(0, '.', ',')}}</span>
            {% endif %}
            {% if house.showSoldPrice and house.priceChange and not isProtected %}
                <span class=\"lofty-trend-rate lofty-{{ house.priceTrend }}-color\">
                    {% if house.priceTrend == 'up'%}
                    <i class=\"lofty_iconfont lofty-icon-arrow_03_{{ house.priceTrend }}\"></i>
                    {% else %}
                    <i class=\"lofty_iconfont lofty-icon-arrow_04_{{ house.priceTrend }}\"></i>
                    {% endif %}
                    {{ (house.priceChangePercent * 100) | abs | number_format(1) ~ '%' }}
                </span>
            {% endif %}
        </p>
    {% else %}
        <p class=\"lofty-item-price\">\${{ isProtected ? '****' : house.price | number_format(0, '.', ',')}}</p>
    {% endif %}
    <p class=\"lofty-item-detail\">
        {% if house.bedrooms > 0 %}
            <span>{{ isProtected ? '***': house.bedrooms }} {{ house.bedrooms == 1 ? 'Bed':'Beds' }}</span>
        {% endif %}
        {% if house.bathrooms > 0 %}
            <span>{{ isProtected ? '***': house.bathrooms }} {{ house.bedrooms == 1 ? 'Bath':'Baths' }}</span>
        {% endif %}
        {% if house.area > 0 %}
            <span>{{ isProtected ? '***': house.area | number_format(house.decimal, '.', ',')}} {{ house.unit }}</span>
        {% endif %}
    </p>
    <p class=\"lofty-item-address\">
        <a target=\"_blank\" href=\"{{ house.detailUrl }}\">
            {{ isProtected ? 'Address Not Disclosed' : house.address }}
        </a>
    </p>
    {% if house.showMls %}
        <div class=\"lofty-house-mls-id\">
            MLS# {{ house.mlsListingId }}
        </div>
    {% endif %}
    <div class=\"lofty-mls-info\">
        <div class=\"lofty-text\">
            <p class=\"lofty-house-tag\" style=\"display: none\">{{ house.mlsOrg.cardTemplate | raw }}</p>
        </div>
        {% if house.mlsOrg.logo %}
        <div class=\"lofty-mls-logo lofty-pc-mls-logo\"><img src=\"{{ house.mlsOrg.logo }}\" alt=\"{{ house.mlsOrg.name ?? house.mlsOrg.id }}\"></div>
        {% endif %}
        {% if house.mlsOrg.smallLogo %}
        <div class=\"lofty-mls-logo lofty-mobile-mls-logo\"> <img src=\"{{ house.mlsOrg.smallLogo }}\" alt=\"{{ house.mlsOrg.name ?? house.mlsOrg.id }}\"></div>
        {% endif %}
    </div>
</div>", "module/md_house_card/index.html", "/var/www/html/wp-content/plugins/lofty-idx-plugin-1773305082397/templates/module/md_house_card/index.html");
    }
}
