if (sitePrepareData().siteId == 140046) { let style = document.createElement('style'); style.textContent = ` body .cookie-authority.ca .cookie-banner .cookie-btn{ background: #000 !important; color: #fff !important; } `; document.body.appendChild(style); } if (window.sitePrepareData().siteId == 150850) { (async function () { siteAppVm.$EventBus.$on("module-mounted", function (option) { if (option.$el.className?.indexOf("md-form") > -1) { Util.getAsyncDom({ selector: ".disclaimer-content.party-consent", }).then((dom) => { if (!dom) return; const DISCLAIMER_HTML = ` By checking this box, and clicking “SUBMIT,” I am confirming that I have read and agree to this website’s Privacy Policy and Terms of Service and I am providing my electronic signature and consent to receive conversational and marketing communications (about real estate brokerage services, and one or more properties that I may buy, sell, or rent), that may be delivered to me via email, telephone call and/or SMS text messaging (using “automated technology” such as an automatic telephone dialing system, and/or an artificial or prerecorded voice), from Upward Real Estate Team at eXp Realty, eXp Realty® and its independent contractor real estate agents, and/or its affiliates at the telephone number and email address I provided. Message frequency varies and message and data rates may apply. Consent is not a condition of purchase. You may opt-out at any time by replying “STOP” to a text or “HELP” for assistance or unsubscribing via email. You may call 864-905-6829 to obtain direct assistance. Visit our Privacy Policy and Terms of Service pages for more information. `; function applyDisclaimer(dom) { if (!dom) return; dom.innerHTML = DISCLAIMER_HTML; } function protectFromSSR(dom) { const observer = new MutationObserver(() => { if (dom.innerHTML !== DISCLAIMER_HTML) { applyDisclaimer(dom); } }); observer.observe(dom, { childList: true, subtree: true, }); applyDisclaimer(dom); } protectFromSSR(dom); }); } }); })(); } };