/* MAPS - Happy Thanksgiving greeting (11/25/2026, Darrell). Small card in the top-right corner, a couple of seconds after the page loads. Shows once per visitor (closing it or seeing it once is remembered in this browser). Not shown on checkout/cart/login pages. Turns itself off at 12:01 a.m. Central on Friday 11/27/2026 (06:01 UTC), so nothing needs to be taken down. */ (function () { if (window.__mxThanks) return; window.__mxThanks = 1; var END = Date.UTC(2026, 10, 27, 6, 1, 0); // 11/27/2026 12:01 a.m. CST if (Date.now() >= END) return; if (/^\/(checkout|cart|login|register|password)/i.test(location.pathname)) return; var KEY = 'mx_thanks_2026'; try { if (localStorage.getItem(KEY)) return; } catch (e) {} function show() { if (Date.now() >= END || document.getElementById('mx-thanks')) return; var css = document.createElement('style'); css.textContent = '#mx-thanks{position:fixed;top:150px;right:16px;z-index:99999;max-width:340px;width:calc(100% - 32px);background:#fff;' + 'border-radius:10px;box-shadow:0 10px 30px rgba(0,30,70,.25);border-top:5px solid #1AB7EA;overflow:hidden;' + 'font-family:Nunito,Arial,sans-serif;color:#1f2d3d;transform:translateX(120%);opacity:0;transition:transform .45s ease,opacity .45s ease}' + '#mx-thanks.in{transform:none;opacity:1}' + '#mx-thanks .mx-tk-b{padding:16px 40px 16px 18px}' + '#mx-thanks h3{margin:0 0 6px;font:800 19px/1.25 Nunito,Arial,sans-serif;color:#003E7E}' + '#mx-thanks p{margin:0;font-size:14.5px;line-height:1.5}' + '#mx-thanks .mx-tk-x{position:absolute;top:8px;right:8px;width:30px;height:30px;border:0;background:transparent;' + 'font-size:22px;line-height:30px;color:#003E7E;cursor:pointer;border-radius:50%}' + '#mx-thanks .mx-tk-x:hover,#mx-thanks .mx-tk-x:focus{background:#E8F6FD;outline:none}' + '@media (max-width:600px){#mx-thanks{top:auto;bottom:84px;right:16px}}'; document.head.appendChild(css); var d = document.createElement('div'); d.id = 'mx-thanks'; d.setAttribute('role', 'status'); d.setAttribute('aria-live', 'polite'); d.innerHTML = '' + '

🦃 Happy Thanksgiving from all of us at MAPS!

' + '

We’re thankful for our customers, partners and community. Wishing you and your family a blessed holiday.

'; function close() { d.classList.remove('in'); setTimeout(function () { if (d.parentNode) d.parentNode.removeChild(d); }, 450); } d.querySelector('.mx-tk-x').onclick = close; document.body.appendChild(d); try { localStorage.setItem(KEY, '1'); } catch (e) {} requestAnimationFrame(function () { requestAnimationFrame(function () { d.classList.add('in'); }); }); setTimeout(close, 15000); var stop = END - Date.now(); if (stop > 0 && stop < 15000) setTimeout(close, stop); } function start() { setTimeout(show, 2000); } if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', start); else start(); })();