1<!DOCTYPE html> 2�<html lang="en"><head><link rel="canonical" href="https://mercuriosgelatopizza.com/accessibility-page-01"/><!-- Google tag (gtag.js) -->
vendor: 71 bytes, line 2
2<script async="async" src="https://www.googletagmanager.com/gtag/js?id=
2G-VG24VK2VKT
vendor: 11 bytes, line 2
2"></script>
2<script> 3 window.dataLayer = window.dataLayer || []; 4 function gtag(){dataLayer.push(arguments);} 5 gtag('set', 'linker', {'domains': ['tmt.spotapps.co','spothopperapp.com']}); 6 gtag('js', new Date()); 7 8 gtag('config', 'G-VG24VK2VKT'); 9 </script>
9<!-- wcache 2026-09-27 13:48:50.380509Z --><!-- 10smart_footer: true, 11smart_footer_version: 2, 12scripting_active: false 13--><meta charset="utf-8"/><meta content="IE=edge" http-equiv="X-UA-Compatible"/><meta content="width=device-width, initial-scale=1" name="viewport"/><meta name="description" content="At Mercurio's Shadyside, we're committed to web accessibility for all users. Read our accessibility statement or contact us for help."/><meta content="" name="author"/><title>Accessibility Statement</title>
13<script>document.cookie='resolution='+Math.max(screen.width,screen.height)+("devicePixelRatio" in window ? ","+devicePixelRatio : ",1")+'; path=/';</script>
13<link href="https://static.spotapps.co/web/mercuriosgelatopizza--com/apple-touch-icon.png" rel="apple-touch-icon" sizes="144x144"/><link href="https://static.spotapps.co/web/mercuriosgelatopizza--com/favicon-32x32.png" rel="icon" sizes="32x32" type="image/png"/><link href="https://static.spotapps.co/web/mercuriosgelatopizza--com/favicon-16x16.png" rel="icon" sizes="16x16" type="image/png"/><link href="https://static.spotapps.co/web/mercuriosgelatopizza--com/site.webmanifest" rel="manifest"/><link color="#7c001d" href="https://static.spotapps.co/web/mercuriosgelatopizza--com/safari-pinned-tab.svg" rel="mask-icon"/><meta content="#ffffff" name="msapplication-TileColor"/><meta content="#ffffff" name="theme-color"/><link href="https://static.spotapps.co/web/mercuriosgelatopizza--com/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet"/><link href="https://static.spotapps.co/web/mercuriosgelatopizza--com/lib/custom-scrollbar/jquery.mCustomScrollbar.css" rel="stylesheet"/><link href="https://static.spotapps.co/web/mercuriosgelatopizza--com/lib/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet"/><link href="https://static.spotapps.co/web/mercuriosgelatopizza--com/lib/hover_css/css/hover-min.css" rel="stylesheet"/><link href="https://static.spotapps.co/web/mercuriosgelatopizza--com/lib/owlcarousel/owl.carousel.min.css" rel="stylesheet"/><link href="https://static.spotapps.co/web/mercuriosgelatopizza--com/lib/owlcarousel/owl.theme.default.min.css" rel="stylesheet"/><link href="https://static.spotapps.co/web-lib/leaflet/[email protected]/dist/leaflet.css" rel="stylesheet"/><link href="https://static.spotapps.co/web/mercuriosgelatopizza--com/css/style.css?version2" rel="stylesheet"/><link href="css/custom.css?v1764020526&domain=mercuriosgelatopizza.com" rel="stylesheet"/><link href="https://static.spotapps.co/web/mercuriosgelatopizza--com/lib/icons_font/css/social_icons.css" rel="stylesheet"/><!--[if IE 7]><link rel="stylesheet" href="lib/icons_font/css/social_icons-ie7.css"><![endif]--><style> 14 15 html{ 16 height: 100%; 17 } 18 19 .webkit-mobile-body{ 20 height: 100%; 21 overflow: hidden; 22 } 23 24 .webkit-mobile-body>div:first-child{ 25 height:100%; 26 overflow: auto; 27 -webkit-overflow-scrolling: touch; 28 } 29 30 </style>
30<script> 31function ga_check(){ 32 return true; 33} 34</script>
34<script> 35function universal_ga(action, type, category, ev_action, label){ 36 if(typeof ga === 'function') 37 { 38 if(!(action && label)) 39 ga(action, type, category) 40 else 41 ga(action, type, category, ev_action, label) 42 } 43 44 if(typeof gtag === 'function') 45 { 46 if(!(action && label)) 47 { 48 hash = category 49 ev_label = hash["eventLabel"] 50 var splits = ev_label.match(/.{1,100}/g) ?? []; 51 delete(hash["eventLabel"]) 52 53 if(splits.length <= 1) 54 hash["eventLabel"] = ev_label 55 else 56 { 57 for (let i = 0; i < splits.length; i++) { 58 var key = "eventLabel_"+i 59 hash[key] = splits[i] 60 } 61 } 62 console.log(hash) 63 gtag("event", hash["eventCategory"], hash); 64 } 65 else 66 { 67 var hash = { 68 eventCategory: category, 69 eventAction: ev_action 70 } 71 72 var splits = label.match(/.{1,100}/g) ?? []; 73 if(splits.length <= 1) 74 hash["eventLabel"] = label 75 else 76 { 77 for (let i = 0; i < splits.length; i++) { 78 var key = "eventLabel_"+i 79 hash[key] = splits[i] 80 } 81 } 82 gtag("event", hash["eventCategory"], hash); 83 } 84 } 85} 86</script>
86<script> function getPromotionUrlParams(){ 87 var params_str = sessionStorage.getItem('shUrlParams'); 88 if (params_str != null){ 89 return JSON.parse(params_str); 90 }else{ 91 return {}; 92 } 93 } 94 95 function getPromotionSourceDetails(){ 96 var params_str = localStorage.getItem('promotionSourceDetails'); 97 if (params_str != null){ 98 return JSON.parse(params_str); 99 }else{ 100 return {}; 101 } 102 } 103 104 function getLastEmailVisitInDays(){ 105 var promotionSourceDetails = getPromotionSourceDetails(); 106 if (!promotionSourceDetails['last_visit_email'] ){ 107 return null; 108 } 109 return Math.floor((new Date() - new Date(promotionSourceDetails['last_visit_email'])) / (1000 * 60 * 60 * 24)); 110 } 111 112 function getLastSocialVisitInDays(){ 113 var promotionSourceDetails = getPromotionSourceDetails(); 114 if (!promotionSourceDetails['last_visit_social'] ){ 115 return null; 116 } 117 return Math.floor((new Date() - new Date(promotionSourceDetails['last_visit_social'])) / (1000 * 60 * 60 * 24)); 118 } 119 120 var shUrlParams = getPromotionUrlParams(); 121 var promotionSourceDetails = getPromotionSourceDetails(); 122 123 new URL(document.location).searchParams.forEach(function(value, paramName){ 124 125 shUrlParams[paramName] = value; 126 127 if (paramName == 'source' && value =='social' ){ 128 promotionSourceDetails['last_visit_social'] = new Date(); 129 localStorage.setItem('promotionSourceDetails', JSON.stringify(promotionSourceDetails)); 130 } 131 132 if (paramName == 'source' && value =='email' ){ 133 promotionSourceDetails['last_visit_email'] = new Date(); 134 localStorage.setItem('promotionSourceDetails', JSON.stringify(promotionSourceDetails)); 135 } 136 137 }); 138 139 sessionStorage.setItem('shUrlParams', JSON.stringify(shUrlParams)) 140</script>
140<style>a:focus:not(:focus-visible){outline:none;box-shadow:none;} 141a.get-directions-footer-link{display:inline-block;transform-origin:left center;transition:transform .2s ease;} 142a.get-directions-footer-link:hover{transform:scale(1.08);} 143@media (prefers-reduced-motion:reduce){a.get-directions-footer-link{transition:none;transform:none;}} 144a.get-directions-footer-link,a.get-directions-footer-link:hover{color:inherit!important;}</style></head><body class="drink-menu article-background "><div><header style="background-color:#000000;"><style> 145 146 147.navbar-regular .navbar-collapse.collapse.in { 148 background-color: transparent; 149 width: 100%; 150} 151.navbar.nav-v4{ 152 background-color: transparent; 153 -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0); 154 -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0); 155 box-shadow: 0px 2px 5px 0px rgba(0,0,0,0); 156 -moz-transition: all 0.3s ease-in-out; 157 -webkit-transition: all 0.3s ease-in-out; 158 -o-transition: all 0.3s ease-in-out; 159 transition: all 0.3s ease-in-out; 160} 161.navbar.nav-v4.nav-scroll{ 162 background-color: rgba(0,0,0,0.7); 163 -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.4); 164 -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.4); 165 box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.4); 166} 167.drink-menu .navbar.nav-v4{ 168 background-color: rgba(0,0,0,0.7); 169 -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0); 170 -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0); 171 box-shadow: 0px 2px 5px 0px rgba(0,0,0,0); 172 -moz-transition: all 0.3s ease-in-out; 173 -webkit-transition: all 0.3s ease-in-out; 174 -o-transition: all 0.3s ease-in-out; 175 transition: all 0.3s ease-in-out; 176} 177.drink-menu .navbar.nav-v4.nav-scroll{ 178 background-color: rgba(0,0,0,0.7); 179 -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.4); 180 -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.4); 181 box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.4); 182} 183.navbar-regular.nav-v4 .navbar-nav>li>a, 184.navbar-regular.nav-v4 .navbar-nav>.active>a, 185.navbar-regular.nav-v4 .navbar-nav>.active>a:focus, 186.navbar-regular.nav-v4 .navbar-nav>.active>a:hover{ 187 border: none; 188 background-color: transparent; 189 color: #fff; 190 -moz-transition: all 0.3s ease-in-out; 191 -webkit-transition: all 0.3s ease-in-out; 192 -o-transition: all 0.3s ease-in-out; 193 transition: all 0.3s ease-in-out; 194} 195.navbar-regular.nav-v4 .navbar-toggle .icon-bar { 196 background-color: #fff; 197 -moz-transition: all 0.3s ease-in-out; 198 -webkit-transition: all 0.3s ease-in-out; 199 -o-transition: all 0.3s ease-in-out; 200 transition: all 0.3s ease-in-out; 201} 202.navbar-regular.nav-v4.nav-scroll .navbar-nav>li>a, 203.navbar-regular.nav-v4.nav-scroll .navbar-nav>.active>a, 204.navbar-regular.nav-v4.nav-scroll .navbar-nav>.active>a:focus, 205.navbar-regular.nav-v4.nav-scroll .navbar-nav>.active>a:hover{ 206 border: none; 207 color: #fff; 208} 209.navbar-regular.nav-v4.nav-scroll .navbar-toggle .icon-bar { 210 background-color: #fff; 211} 212.navbar.nav-v4 .header-logo-text{ 213 color: #fff; 214 -moz-transition: all 0.3s ease-in-out; 215 -webkit-transition: all 0.3s ease-in-out; 216 -o-transition: all 0.3s ease-in-out; 217 transition: all 0.3s ease-in-out; 218} 219.navbar.nav-v4.nav-scroll .header-logo-text{ 220 color: #fff; 221} 222.navbar.nav-v4 .social-icon{ 223 color: #fff; 224 -moz-transition: all 0.3s ease-in-out; 225 -webkit-transition: all 0.3s ease-in-out; 226 -o-transition: all 0.3s ease-in-out; 227 transition: all 0.3s ease-in-out; 228} 229.navbar.nav-v4.nav-scroll .social-icon{ 230 color: #fff; 231} 232</style><!-- nav --><nav class="navbar nav-v4 navbar-regular navbar-fixed-top" id="navbar" role="navigation"><div class="visuallyhidden" id="skip"><a href="#content">Skip to Main Content</a></div><div><div class="navbar-header"><button class="navbar-toggle" data-target="#navbar-collapse-1" data-toggle="collapse" type="button"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button></div><a class="header-logo" href="/"><div class="header-logo-text">Mercurio's Shadyside</div></a><ul class="socialnav"><li class="social-links"><a class="pull-left" href="https://www.facebook.com/128576010513854" target="_blank"><i class="social-icon icon-facebook_icon"></i><span>Facebook page</span></a><a class="pull-left contact-icon" href="https://www.instagram.com/mercuriospgh" target="_blank"><i class="social-icon icon-instagram_icon"></i><span>Instagram page</span></a></li></ul><div class="collapse navbar-collapse" id="navbar-collapse-1"><ul class="nav navbar-nav navbar-right"><li class=" "><a class="fade-in one " href="/" id="home_link" target="_self"> 233 HOME </a></li><li class=" nav-menu-page"><a class="fade-in one " href="/pittsburgh-shadyside-mercurio-s-shadyside-food-menu" id="/Pittsburgh-Shadyside-Mercurio-s-Shadyside-food-menu_link" target="_self"> 234 MENU </a></li><li class=" "><a class="fade-in one " href="/pittsburgh-shadyside-mercurio-s-shadyside-drink-menu" id="/Pittsburgh-Shadyside-Mercurio-s-Shadyside-drink-menu_link" target="_self"> 235 DRINKS </a></li><li class=" "><a class="fade-in one " href="/pittsburgh-shadyside-mercurio-s-shadyside-happy-hours-specials" id="/Pittsburgh-Shadyside-Mercurio-s-Shadyside-happy-hours-specials_link" target="_self"> 236 SPECIALS </a></li><li class=" "><a class="fade-in one " href="/pittsburgh-shadyside-mercurio-s-shadyside-events" id="/Pittsburgh-Shadyside-Mercurio-s-Shadyside-events_link" target="_self"> 237 EVENTS </a></li><li class=" nav-order-link"><a class="fade-in one link-order-sh" href="https://mercurios.menufy.com/#" id="https://mercurios.menufy.com/#_link" target="_self"> 238 ORDER </a></li><li class=" nav-jobs-link"><a class="fade-in one link-jobs-sh" href="https://tmt.spotapps.co/job-listings?spot_id=79277&callback_url=http://mercuriosgelatopizza.
238com/a-article#" id="https://tmt.spotapps.co/job-listings?spot_id=79277&callback_url=http://mercuriosgelatopizza.com/a-article#_link" target="_self"> 239 JOBS </a></li></ul></div></div></nav></header><main id="content" role="main"><article><div class="pagecontent"><div class="tabnav"></div><div class="tabs-container"><style> 240 241.drink-menu .article-background, .drink-menu.article-background .pagecontent { 242 background-color: #000; 243 color: #fff; 244} 245.drink-menu.article-background .pagecontent { 246 border: none; 247} 248.drink-menu.article-background .pagecontent * { 249 text-align: left !important; 250 color: #fff; 251} 252.drink-menu.article-background .tabs-container { 253 text-shadow: none; 254} 255.drink-menu.article-background, 256.drink-menu.article-background:before { 257 background-image: none; 258} 259 260.drink-menu.article-background .pagecontent a, 261.drink-menu.article-background .pagecontent a:hover { 262 color: #fff; 263} 264 265.drink-menu.article-background { 266 background-color: #000; 267} 268 269.ada-page-content.container { 270 padding-top: 40px; 271} 272 273</style><div class="scrolling"><div class="container ada-page-content"><h1>Accessibility Statement for Mercurio's Shadyside</h1><p>Mercurio's Shadyside is committed to making our site accessible to people with disabilities. We are continuously gathering feedback and improving the user experience for everyone. 274 </p><h2>Conformance</h2><p>To provide great experience to everyone we are using The Web Content Accessibility Guidelines (WCAG). The guidelines have three levels of accessibility (A, Level AA, and Level AAA). Mercurio's Shadyside has chosen level AA as a target for our website and we are fully committed to monitoring our site to maintain this level of compliance. 275 </p><h2>Third-Party Vendors</h2><p>We encourage our third party vendors (online order and delivery providers, reservations and event management, social media, review sites, travel recommendation sites, etc.) to provide content that is accessible and user friendly, even though we cannot control their content that appears on our website. 276 </p><h2>Feedback</h2><p>How are we doing? We welcome your feedback on how to improve accessibility and usability of Mercurio's Shadyside website. Please let us know using this email address: E-mail: <a href="mailto:[email protected]">[email protected]</a></p><p> 277We try to respond to feedback within 2 business days. 278</p><h2>Assistance</h2><p>If you need any assistance please call us at <a href="tel:+1(412) 621-6220">(412) 621-6220</a> during our regular business hours and we'd be happy to help you with anything on our site. 279</p></div></div></div></div></article></main></div>
279<script src="https://static.spotapps.co/web/mercuriosgelatopizza--com/lib/jquery/jquery.min.js"></script>
279<script src="https://static.spotapps.co/web/mercuriosgelatopizza--com/lib/bootstrap/js/bootstrap.min.js"></script>
279<script src="https://static.spotapps.co/web/mercuriosgelatopizza--com/lib/angular/angular.min.js"></script>
279<script src="https://static.spotapps.co/web/mercuriosgelatopizza--com/lib/underscorejs/underscore-min.js"></script>
279<script> 280 281 $('.header-logo, .nav-v2-home-btn').click(function(event) { 282 if ( window.location.pathname == '/' || window.location.pathname == '/index.php') { 283 event.preventDefault(); 284 var windowScrollTop = $(window).scrollTop(); 285 if(windowScrollTop > 150) { 286 $('html, body').animate({scrollTop: 0}, 750); 287 } 288 } 289 }); 290 291$(".banner-section a.banner-pin").click(function(e) { 292 // target element id 293 var id = $(this).attr('href'); 294 295 // target element 296 var section = $(id); 297 if (section.length === 0) { 298 return; 299 } 300 301 // prevent standard hash navigation (avoid blinking in IE) 302 e.preventDefault(); 303 304 // top position relative to the document 305 var pos = section.offset().top - 100 + 10; 306 307 // animated top scrolling 308 $('body, html').animate({scrollTop: pos}, 750); 309}); 310 311$(document).on('scroll', function (e) { 312 313 if($(document).scrollTop() > 0) { 314 $('.navbar.nav-v4').addClass('nav-scroll'); 315 }else { 316 $('.navbar.nav-v4').removeClass('nav-scroll'); 317 } 318 319}); 320</script>
320<script> 321(function() { 322 var name = "Mercurio's Shadyside"; 323 var pid = "ChIJn4O9qBHyNIgRc9dX4Aodfz8"; 324 function build_url() { 325 var q = encodeURIComponent(name).replace(/'/g, "%27"); 326 return "https://www.google.com/maps/search/?api=1" 327 + "&query=" + q 328 + "&query_place_id=" + encodeURIComponent(pid); 329 } 330 window.google_map_url = build_url(); 331 window.open_google_map = function() { 332 window.open(build_url(), "_blank"); 333 }; 334})(); 335</script>
335<script> 336 337 var spot_id = 79277; 338 var sh_generic_form_params=JSON.parse('{"generic_contact_form_active":true,"texting_permissions_active":true,"title":"Contact us","instructions":"Please fill out the form and we will be in touch.","reasons":["To apply for a job","Other Questions"],"custom_hours":"","hours":"","active_tmt_cta_links":{"cta_private_party":null,"cta_catering":null,"cta_reservations":null,"cta_jobs":"https://tmt.spotapps.co/job-listings?spot_id=79277"},"spot_name":"Mercurioâs Shadyside","label_for_texting_permission":"Iâd like to get texts about specials, events, and other exclusive offers and announcements not available to general public"}'); 339 340 if (false){ 341 console.log("Check SpotHopper configuration. Probably there is no 'WEBSITE::DOMAIN_NAME' key for your website"); 342 } 343 344 if (navigator.userAgent.match(/iPhone/i) 345 || navigator.userAgent.match(/iPad/i) 346 || navigator.userAgent.match(/iPod/i)){ 347 $(document).ready(function(){ 348 document.body.className += " " + "webkit-mobile-body"; 349 }); 350 } 351 352 var promotion_url_param_domain = getPromotionUrlParams()['domain']; 353 if ( promotion_url_param_domain && ( new URL(document.location).host == 'localhost:4000' || new URL(document.location).host == 'wcache.spotapps.co' || new URL(document.location).host == 'website-editor.spotapps.co' || new URL(document.location).host == 'website-editor-staging.spotapps.co' || new URL(document.location).host == 'wcache-staging.spotapps.co')){ 354 $("a[href^='/']").each(function(){ 355 if (this.href.indexOf('domain=') == -1){ 356 var sh_internal_url = new URL(this.href); 357 sh_internal_url.searchParams.set("domain", promotion_url_param_domain); 358 this.href = sh_internal_url.toString(); 359 } 360 }) 361 } 362 363 364 function cta_link_matches_href(href, url){ 365 var domain = 'mercuriosgelatopizza.com'; 366 if(typeof url === 'undefined'){ 367 return false; 368 } 369 var partsOfURL = url.split(domain); 370 if (partsOfURL.length != 2){ 371 return href == url; 372 }else{ 373 var urlPath = partsOfURL[1]; 374 if (urlPath.substring(0,1) == "/"){ 375 urlPath = urlPath.substring(1,urlPath.length); 376 } 377 return href.indexOf(urlPath, domain.length + href.indexOf(domain)-1) !== -1; 378 } 379 } 380 381 var all_cta_links = [{"id":691714,"spot_id":79277,"url":"https://mercuriospgh.myshopify.com/","cta_link_type":"events","created_at":"2022-03-11T09:03:38.885+00:00","updated_at":"2025-08-05T07:07:13.994+00:00","made_of_food":false,"link_name":""},{"id":687445,"spot_id":79277,"url":"https://shadyside.mercuriosgelatopizza.com/-food-menu","cta_link_type":"food_menu","created_at":"2022-01-24T15:12:31.533+00:00","updated_at":"2025-08-05T07:07:14.143+00:00","made_of_food":false,"link_name":""},{"id":676861,"spot_id":79277,"url":"https://tmt.spotapps.co/job-listings?spot_id=79277","cta_link_type":"job_listing","created_at":"2021-09-08T18:09:28.285+00:00","updated_at":"2025-08-05T07:07:14.277+00:00","made_of_food":false,"link_name":"Job Listing","target":null,"website_footer_label":"Jobs","position":2},{"id":687444,"spot_id":79277,"url":"https://shadyside.mercuriosgelatopizza.com/-drink-menu","cta_link_type":"drink_menu","created_at":"2022-01-24T15:12:31.525+00:00","updated_at":"2025-08-05T07:07:14.081+00:00","made_of_food":false,"link_name":"","position":null},{"id":687446,"spot_id":79277,"url":"https://my.loopz.io/gift-card/a2d30a34-785a-49d9-8269-ef1247a66921?locale=en-US","cta_link_type":"gift_cards","created_at":"2022-01-24T15:12:31.541+00:00","updated_at":"2025-08-05T07:07:14.210+00:00","made_of_food":false,"link_name":"","target":null,"website_footer_label":"Gift Cards","position":5},{"id":687088,"spot_id":79277,"url":"https://mercurios.menufy.com/","cta_link_type":"order","created_at":"2022-01-19T11:32:08.334+00:00","updated_at":"2025-08-05T07:07:14.339+00:00","made_of_food":false,"link_name":"","target":null,"website_footer_label":"Order","position":0}]; 382 383 function find_cta_link(href) { 384 for (var i=0; i< all_cta_links.length; i++){ 385 var cta_link = all_cta_links[i]; 386 if ( cta_link_matches_href(href, cta_link.url)){ 387 return cta_link; 388 } 389 } 390 } 391 392 function find_cta_links(href) { 393 var cta_links = [] 394 for (var i=0; i< all_cta_links.length; i++){ 395 var cta_link = all_cta_links[i]; 396 if ( cta_link_matches_href(href, cta_link.url)){ 397 cta_links.push(cta_link); 398 } 399 } 400 return cta_links; 401 } 402 403 404 function get_current_page_cta_link_types(){ 405 var types = []; 406 var cta_links = find_cta_links(document.location.href); 407 for (var i=0; i<cta_links.length; i++){ 408 types.push(cta_links[i].cta_link_type); 409 } 410 return types; 411 } 412 413 414 function is_food_menu_page(){ 415 var cta_link_types = get_current_page_cta_link_types(); 416 for (var i=0; i<cta_link_types.length; i++){ 417 if ('food_menu' == cta_link_types[i]) 418 return true; 419 } 420 return false;
421 } 422 423 424 function get_form_cat_from_cta(){ 425 var cta_link = find_cta_link(document.location.href); 426 if (cta_link == null) { 427 return null; 428 } 429 if (cta_link.cta_link_type == 'private_parties'){ 430 return 'private_party'; 431 }else if (cta_link.cta_link_type == 'reservations'){ 432 return 'reservation'; 433 }else if (cta_link.cta_link_type == 'catering'){ 434 return 'catering'; 435 }else if (cta_link.cta_link_type == 'job_listing'){ 436 return 'job_listings'; 437 }else if (cta_link.cta_link_type == 'gift_cards'){ 438 return 'gift_cards'; 439 } 440 return null; 441 } 442 443 function element_has_events_defined(elem){ 444 if ($._data(elem, "events") === undefined){ 445 return false; 446 } 447 return true; 448 } 449 450 function create_ga_events_for_cta_clicks(){ 451 if (typeof $ === 'function'){ 452 453 var cta_link_of_the_page = find_cta_link(location.href); 454 455 456 $("a").each(function(index, elem){ 457 var href = $(elem).attr('href'); 458 459 if (href === undefined ){ 460 return; 461 } 462 463 if (href.substring(0,4) == 'tel:'){ 464 if (!element_has_events_defined(elem)){ // not footer links 465 $(elem).on("click", function(){ 466 universal_ga('send', 'event', { 467 eventCategory: 'Button', 468 eventAction: 'Click', 469 eventLabel: 'Phone', 470 transport: 'beacon' 471 }); 472 }); 473 474 if (cta_link_of_the_page){ 475 $(elem).on("click", function(){ 476 universal_ga('send', 'event', { 477 eventCategory: 'Button', 478 eventAction: 'Click', 479 eventLabel: cta_link_of_the_page.cta_link_type + ' page phone', 480 transport: 'beacon' 481 }); 482 }); 483 } 484 } else { 485 if (cta_link_of_the_page){ 486 $(elem).on("click", function(){ 487 universal_ga('send', 'event', { 488 eventCategory: 'Button', 489 eventAction: 'Click', 490 eventLabel: cta_link_of_the_page.cta_link_type + ' page phone footer', 491 transport: 'beacon' 492 }); 493 }); 494 } 495 } 496 497 498 }else{ 499 var cta_link = find_cta_link(href); 500 if (elem.className != null && elem.className.indexOf("bottom-link") > -1){ 501 // console.log("bottom link detected"); 502 }else{ 503 if (cta_link != null){ 504 $(elem).on("click", function(){ 505 universal_ga('send', 'event', { 506 eventCategory: 'Website Link', 507 eventAction: 'Click', 508 eventLabel: cta_link.cta_link_type, 509 transport: 'beacon' 510 }); 511 }); 512 } 513 } 514 } 515 516 517 }); 518 } 519 } 520 521 if (typeof angular === "undefined") { 522 create_ga_events_for_cta_clicks(); 523 } else { 524 angular.element(document).ready(function () { 525 create_ga_events_for_cta_clicks(); 526 }); 527 } 528 529 530 function triggerShowFooterEvents(){ 531 if (window.screen.availWidth < 768){ 532 universal_ga('send', 'event', { 533 eventCategory: 'Mobile Footer', 534 eventAction: 'View', 535 eventLabel: '', 536 transport: 'beacon' 537 }); 538 } 539 } 540 541 542 543 544 //////////// 545 function smartFooterV2() 546 { 547 var list= document.getElementsByClassName("bottom-list-item"); 548 if (!list) return; 549 550 if (document.getElementById("bottom-navbar") == null){ 551 return; 552 } 553 554 var bottomNav = document.querySelector('#bottom-navbar .navbar-nav'); 555 var footerLinkPaddingLeft = $('#bottom-navbar .navbar-nav li a').css('padding-left'); 556 var footerLinkPaddingRight = $('#bottom-navbar .navbar-nav li a').css('padding-right'); 557 558 bottomNav.innerHTML = ''; 559 var linksWithPosition = all_cta_links.filter(e => e.position != null && e.position >= 0); 560 linksWithPosition.sort(function(a,b) { 561 return a.position - b.position; 562 }); 563 564 var footerLinkStyle = (footerLinkPaddingLeft == '0px' || footerLinkPaddingRight == '0px' ? 'style="padding-left: 8px; padding-right: 8px;"' : ''); 565 566 linksWithPosition.forEach((e, i) => { 567 var target = e.target || getUrlTarget(e.url); 568 bottomNav.insertAdjacentHTML('beforeend', 569 `<li class="bottom-list-item" style="white-space: nowrap;width: auto;"><a ${footerLinkStyle} class="bottom-link smart-footer-link" data-type="${e.cta_link_type}" data-position="${i}" target="${target}" href="${e.url}">${e.website_footer_label}</a></li>`); 570 }) 571 572 var intervalCount = 0 573 var interval = setInterval(() => { 574 if(intervalCount == 50){ 575 clearInterval(interval); 576 } 577 removeOverflowingFooterLinks(); 578 intervalCount ++; 579 }, 200); 580 581 $('.smart-footer-link').on("click", function(){ 582 if (typeof shUrlParams !== "undefined" && shUrlParams['source'] === undefined){ 583 shUrlParams['source'] = 'footer'; 584 sessionStorage.setItem('shUrlParams', JSON.stringify(shUrlParams)); 585 } 586 587 var visibleLinks = $('.smart-footer-link').map(function (e) { 588 return $(this).data('type'); 589 }).toArray().join(','); 590 591 universal_ga('send', 'event', { 592 eventCategory: 'Button', 593 eventAction: 'Click_footer_2', 594 eventLabel: "type:" + $(this).data('type') + "|position:" + $(this).data('position') + "|visible:" + visibleLinks, 595 transport: 'beacon' 596 }); 597 }); 598 } 599 600 function removeOverflowingFooterLinks(){ 601 var bottomNavLinks = document.querySelectorAll('#bottom-navbar .navbar-nav li'); 602 var width_sum = 0; 603 604 bottomNavLinks.forEach(e => { 605 width_sum += e.getBoundingClientRect().width; 606 if ((width_sum) > window.innerWidth) { 607 console.log(`%cLink %c${e.textContent} %cdeleted couldn't fit screen`,"color: #fff;background: #202124;", "background: red;color: #fff", "color: #fff;background: #202124;"); 608 e.remove(); 609 } 610 }); 611 } 612 613 function getUrlTarget(url){ 614 if(url.startsWith('tel')){ 615 return '_self'; 616 } 617 if(url.startsWith('/') || url.includes('tmt.spotapps.co') || url.includes(window.location.host)){ 618 return '_self'; 619 } 620 return '_blank'; 621 } 622 623 function npb() 624 { 625 var list= document.getElementsByClassName("bottom-list-item"); 626 if (!list) return; 627 628 if (document.getElementById("bottom-navbar") == null){ 629 return; 630 } 631 632 var url = "" 633 for (var i=0; i < all_cta_links.length; i++) 634 { 635 if (all_cta_links[i].cta_link_type == "order"){ 636 url = all_cta_links[i].url; 637 } 638 } 639 640 if ( url == ""){ 641 return; 642 } 643 644 for (i=0; i < list.length; i++) 645 { 646 console.log(cta_link_matches_href(list[i].firstChild.href, url)); 647 if (cta_link_matches_href(list[i].firstChild.href,url)) return; 648 649 }; 650 651 var item = list[list.length-1] 652 document.getElementById("bottom-navbar").getElementsByClassName("nav navbar-nav")[0].appendChild(item.cloneNode(true)); 653 var width_sum = 0; 654 for (i=0; i < list.length; i++) { 655 width_sum += list[i].getBoundingClientRect().width; 656 } 657 658 var item = list[list.length-1] 659 if ((width_sum - 10) > window.innerWidth) { item.parentNode.removeChild(item); console.log("link deleted couldn't fit screen"); return; } 660 661 item.firstChild.text = "Order"; 662 item.firstChild.href = url; 663 item.firstChild.id = "bottom_link_" + list.length; 664 665 $(item.firstChild).on("click", function(){ 666 667 if (typeof shUrlParams !== "undefined" && shUrlParams['source'] === undefined){ 668 shUrlParams['source'] = 'footer'; 669 sessionStorage.setItem('shUrlParams', JSON.stringify(shUrlParams)); 670 } 671 672 universal_ga('send', 'event', { 673 eventCategory: 'Button', 674 eventAction: 'Click', 675 eventLabel: 'Plan B-2 Order', 676 transport: 'beacon' 677 }); 678 }); 679 680 681 } 682 683function activateSmartFooter(){ 684 var smart_footer_active = true; 685 var smart_footer_version = 2; 686 var man_bottom_active = false;
687 if(window.location.hash == '#smartFooterV2=enabled'){ 688 smartFooterV2(); 689 return; 690 } 691 if (smart_footer_active && !man_bottom_active){ 692 if(smart_footer_version == 2 ){ 693 smartFooterV2(); 694 }else { 695 npb(); 696 } 697 } 698 } 699 700 activateSmartFooter(); 701 702 var corona_config_str = ''; 703 var corona_config = corona_config_str != '' ? JSON.parse('') : null; 704 705 706 //corona instuctions 707 function show_corona_instructions(text, phone, btnText){ 708 //format to US number 709 var match = phone.match(/^(\d{3})(\d{3})(\d{4})$/); 710 711 if(corona_config.shopping_cart_type == "TMT" && corona_config.shopping_cart_active == true) { 712 var linkLocation = "https://tmt.spotapps.co/ordering-menu/?spot_id="+corona_config.spot_id+"&images=yes&accordion=true"; 713 var btnLinkLocation = "https://tmt.spotapps.co/ordering-menu/?spot_id="+corona_config.spot_id+"&images=yes&accordion=true"; 714 }else { 715 var linkLocation = 'tel:+1'+phone+''; 716 var btnLinkLocation = 'tel:+1'+ match[1] + '-' + match[2] + '-' + match[3] +'' 717 } 718 var appendPhone = 'tel:+1'+phone+''; 719 //inject html content 720 if ($('.food-menu-nav').length) { 721 //new template 722 var pageEl = $('.food-menu-nav').css('margin','20px auto 10px auto'); 723 var textColor = rgb2hex($('.section-header').css('color')); 724 var linkColor = rgb2hex($('.food-menu-nav-item.active').css('background-color')); 725 var fontSize = parseInt($('.food-menu-nav-item').css('font-size')); 726 fontSize = fontSize + Math.round(fontSize * 0.25); 727 728 // var html = '<div id="show-corona-instructions" style="padding:20px;flex: 0 1 100%;" class="text-center"><p style="color:'+textColor+';">'+text+' <a onclick="ga(\'send\', \'event\', \'Button\', \'Click\', \'Corona Instructions Phone\');" style="color:'+linkColor+';"href="tel:+1'+phone+'">'+ match[1] + '-' + match[2] + '-' + match[3] +'</a></p><a onclick="ga(\'send\', \'event\', \'Button\', \'Click\', \'Corona Instructions Phone\');" style="font-size:'+fontSize+'px" class="food-menu-nav-item custom-temp-btn hvr-fade active" href="tel:+1'+phone+'">'+btnText+'</a></div>'; 729 var html = '<div id="show-corona-instructions" style="padding:20px;flex: 0 1 100%;" class="text-center"><p style="color:'+textColor+';">'+text+' <a onclick="ga(\'send\', \'event\', \'Button\', \'Click\', \'Corona Instructions Phone\');" style="text-decoration: underline;color:'+textColor+';" href="tel:+1'+phone+'">'+ match[1] + '-' + match[2] + '-' + match[3] +'</a></p><a onclick="ga(\'send\', \'event\', \'Button\', \'Click\', \'Corona Instructions Phone\');" style="display: inline-block !important;font-size:'+fontSize+'px" class="food-menu-nav-item custom-temp-btn hvr-fade active" href="'+btnLinkLocation +'">'+btnText+'</a></div>'; 730 731 }else { 732 //old template 733 var pageEl = $('.tabnav'); 734 var textColor = rgb2hex($('.menu-item-name-traditional').css('color')); 735 var linkColor = rgb2hex($('.style-traditional .tabnav .nav>li.active>a').css('color')); 736 737 var linkTextColor = getContrast50(linkColor); 738 var fontSize = parseInt($('.menu-item-name-traditional').css('font-size')); 739 fontSize = fontSize + Math.round(fontSize * 0.25); 740 var textTransform = $('.style-traditional .tabnav .nav>li>a').css('text-transform'); 741 742 // var html = '<div id="show-corona-instructions" style="padding:20px;flex: 0 1 100%;" class="text-center"><p style="color:'+textColor+';margin-bottom:20px;">'+text+' <a onclick="ga(\'send\', \'event\', \'Button\', \'Click\', \'Corona Instructions Phone\');" style="color:'+linkColor+';"href="tel:+1'+phone+'">'+ match[1] + '-' + match[2] + '-' + match[3] +'</a></p><a onclick="ga(\'send\', \'event\', \'Button\', \'Click\', \'Corona Instructions Phone\');" style="margin: 20px auto; padding: 10px 50px 10px 30px; cursor: pointer; background-color: '+linkColor+'; background: '+linkColor+'; text-decoration: none; color: '+textColor+'; border: 2px solid '+linkColor+';font-size:'+fontSize+'px;text-transform: '+textTransform+'" href="tel:+1'+phone+'">'+btnText+'</a></div>';
743 var html = '<div id="show-corona-instructions" style="padding:20px;flex: 0 1 100%;" class="text-center"><p style="color:'+textColor+';margin-bottom:20px;">'+text+' <a onclick="ga(\'send\', \'event\', \'Button\', \'Click\', \'Corona Instructions Phone\');" style="text-decoration: underline;color:'+textColor+';"href="tel:+1'+phone+'">'+ match[1] + '-' + match[2] + '-' + match[3] +'</a></p><a onclick="ga(\'send\', \'event\', \'Button\', \'Click\', \'Corona Instructions Phone\');" style="margin: 20px auto; padding: 10px 30px 10px 30px; cursor: pointer; background-color: '+linkColor+'; background: '+linkColor+'; text-decoration: none; color: '+linkTextColor+'; border: 2px solid '+linkColor+';font-size:'+fontSize+'px;text-transform: '+textTransform+'" href="'+btnLinkLocation+'">'+btnText+'</a></div>'; 744 745 } 746 //html content 747 pageEl.prepend(html); 748 } 749 750 function rgb2hex(rgb) { 751 if(typeof rgb !== "undefined"){ 752 rgbColor = rgb.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/); 753 if (!rgbColor) { 754 rgba = rgb.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(,\s*\d+\.*\d+)?\)$/); 755 return "#" + hex(rgba[1]) + hex(rgba[2]) + hex(rgba[3]); 756 } 757 function hex(x) { 758 return ("0" + parseInt(x).toString(16)).slice(-2); 759 } 760 return "#" + hex(rgbColor[1]) + hex(rgbColor[2]) + hex(rgbColor[3]); 761 } 762 return rgb; 763 } 764 765 function getContrast50(hexcolor){ 766 return (parseInt(hexcolor, 16) > 0xffffff/2) ? '#000':'#fff'; 767 } 768 769 function show_corona_sidebar_instructions(text, phone){ 770 //format to US number 771 var match = phone.match(/^(\d{3})(\d{3})(\d{4})$/); 772 var divWidth = 230; 773 var top = 50; 774 var linkSize = '1.6em'; 775 var pSize = $('p').css('font-size'); 776 var appendPhone = 'tel:+1'+phone+''; 777 778 if ($(window).width() < 1600) 779 var top = 30; 780 if ($(window).width() < 1200){ 781 var divWidth = 180; 782 var linkSize = '1.4em'; 783 var pSize ='1.1em'; 784 } 785 786 if($('.food-menu-nav').length){ //new template 787 var textColor = $('.food-menu-nav-item.active').css('color'); 788 var linkColor = $('.food-menu-nav-item.active').css('background-color'); 789 790 var linkTextColor = $('.food-menu-nav-item.active').css('color'); 791 var parent = $('.food-menu-page'); 792 } 793 else { //old template 794 var textColor = $('.menu-item-name-traditional').css('color'); 795 var linkColor = $('.style-traditional .tabnav .nav>li.active>a').css('color'); 796 var parent = $('.food-menu').length ? $('.food-menu') : $('.drink-menu'); 797 var linkTextColor = getContrast50(linkColor); 798 } 799 800 // $(parent).append('<div id="corona-instructions-sidebar" style="display:none;position:fixed;width:'+divWidth+'px;top:'+top+'vh;right:0;background-color:'+linkColor+';padding:15px;text-align:center;color:'+textColor+';text-transform:uppercase;"><p style="margin:0 0 5px;font-size:'+pSize+';">'+text+'</p><i class="fa fa-phone" aria-hidden="true"></i> <a onclick="ga(\'send\', \'event\', \'Button\', \'Click\', \'Food Page Side Element Phone\');" style="font-size:'+linkSize+';color:'+textColor+';" href="tel:+1'+phone+'">'+ match[1] + '-' + match[2] + '-' + match[3] +'</a></div>'); 801 $(parent).append('<div id="corona-instructions-sidebar" style="display:none;position:fixed;width:'+divWidth+'px;top:'+top+'vh;right:0;background-color:'+linkColor+';padding:15px;text-align:center;color:'+linkTextColor+';text-transform:uppercase;"><p style="margin:0 0 5px;font-size:'+pSize+';">'+text+'</p><i class="fa fa-phone" aria-hidden="true"></i> <a onclick="ga(\'send\', \'event\', \'Button\', \'Click\', \'Food Page Side Element Phone\');this.href=\'' + appendPhone + '\';" style="font-size:'+linkSize+';color:'+linkTextColor+';" href="/call-us/'+phone+'">'+ match[1] + '-' + match[2] + '-' + match[3] +'</a></div>'); 802 803 //check if resolution is bigger than tablet resolution 804/* if ($(window).width() > 991) { 805 //detect scroll 806 window.onscroll = function (e) { 807 if ($(window).scrollTop() == 0) { 808 $('#corona-instructions-sidebar').hide(); 809 }else { 810 $('#corona-instructions-sidebar').show(); 811 } 812 } 813 } */ 814 } 815 816 function check_corona_config(config){ 817 console.log(config) 818 if (config) { 819 if (config.instructions_on_food_page && config.food_page_instruction_text && config.food_page_instruction_phone) { 820 if (!config.promote_deliveries && config.promote_pick_up) { 821 var btnText = 'Call For Pick Up'; 822 } 823 if (config.promote_deliveries && !config.promote_pick_up) { 824 var btnText = 'Call For Delivery'; 825 } 826 if (config.promote_deliveries && config.promote_pick_up) { 827 var btnText = 'Call For Pick Up Or Delivery'; 828 } 829 830 if(typeof btnText !== "undefined"){ // check if pick up or delivery are true 831 if(config.shopping_cart_type == "TMT" && config.shopping_cart_active == true) { 832 var btnText = 'ORDER NOW'; 833 if($('.food-menu-nav').length){ //new template 834 var textColor = rgb2hex($('.section-header').css('color')); 835 var linkColor = rgb2hex($('.food-menu-nav-item.active').css('background-color')); 836 var fontSize = parseInt($('.food-menu-nav-item').css('font-size')); 837 fontSize = fontSize + Math.round(fontSize * 0.25); 838 } 839 else { //old template 840 var textColor = rgb2hex($('.menu-item-name-traditional').css('color')); 841 var linkColor = rgb2hex($('.style-traditional .tabnav .nav>
841li.active>a').css('color')); 842 843 var linkTextColor = getContrast50(linkColor); 844 var fontSize = parseInt($('.menu-item-name-traditional').css('font-size')); 845 fontSize = fontSize + Math.round(fontSize * 0.25); 846 } 847 show_corona_instructions('For online orders, use our own <a style="text-decoration:underline;color: '+textColor+';" href="https://tmt.spotapps.co/ordering-menu/?spot_id='+config.spot_id+'&images=yes&accordion=true#"> commission free ordering platform! </a> or call:', config.food_page_instruction_phone, btnText); 848 show_corona_sidebar_instructions(btnText, config.food_page_instruction_phone); 849 } else { 850 show_corona_instructions(config.food_page_instruction_text, config.food_page_instruction_phone, btnText); 851 show_corona_sidebar_instructions(btnText, config.food_page_instruction_phone); 852 } 853 854 } 855 } 856 } 857 } 858 859 860 if (is_food_menu_page() && !window.location.search.includes("contactless=true")){ 861 $( document ).ready(function() { 862 setTimeout(function(){ 863 check_corona_config(corona_config); 864 }, 300); 865 }); 866 } 867 868 869 870 function isPhone(phone){ 871 var regex = /^(\+\d{1,2}\s?)?\(?\d{3}\)?[\s.-]?\d{3}[\s.-]?\d{4}$/; 872 return regex.test(phone); 873 } 874 875 function sendEmail_MT (input_id) { 876 const $loader = $("[data-id=newsletter-widget-2] .sph-loading-img"); 877 878 const $step = { 879 form: $("[data-id=newsletter-widget-2] .sph-email-form"), 880 message: $("[data-id=newsletter-widget-2] .sph-response-message"), 881 } 882 883 const $field = { 884 email: $("[data-id=newsletter-widget-2] #sph-newsletter-input-" + input_id), 885 phone: $("[data-id=newsletter-widget-2] #sph-newsletter-phone-" + input_id), 886 consent: $("[data-id=newsletter-widget-2] #sph-newsletter-checkbox-phone-" + input_id), 887 }; 888 889 const $error = { 890 email: $("[data-id=newsletter-widget-2] #sph-newsletter-email-error-" + input_id), 891 phone: $("[data-id=newsletter-widget-2] #sph-newsletter-phone-error-" + input_id), 892 }; 893 894 if ($field.email.val().trim() === "") { 895 $error.email 896 .html("This field is required") 897 .show(); 898 } 899 else if (!isEmail($field.email.val().trim())) { 900 $error.email 901 .html("Please use the format â[email protected]â") 902 .show(); 903 } else { 904 $error.email 905 .html("") 906 .hide(); 907 } 908 909 if ($field.consent.is(':checked') && $field.phone.val().trim() === "") { 910 $error.phone 911 .html("This field is required") 912 .show(); 913 } else if ($field.phone.val().trim().length > 0 && !isPhone($field.phone.val().trim())) { 914 $error.phone 915 .html("The phone number must contain 10 digits") 916 .show(); 917 } else { 918 $error.phone 919 .html("") 920 .hide(); 921 } 922 923 const errorField = $step.form.find('.sh-form-error:visible'); 924 925 if (errorField.length > 0) { 926 const input = errorField.first().next(); 927 928 document.activeElement.blur(); 929 930 setTimeout(() => { 931 input.focus(); 932 }, 160) 933 934 return; 935 } 936 937 $loader 938 .show() 939 .prev() 940 .hide(); 941 942 $.ajax({ 943 method: "POST", 944 url: "https://www.spothopperapp.com/api/spots/79277/contacts/add_with_texting_permission", 945 crossDomain: true, 946 dataType: 'json', 947 data: { 948 email: $field.email.val().trim(), 949 phone: $field.phone.val().trim(), 950 texting_permission: $field.consent.is(':checked'), 951 }, 952 success: function (data) { 953 afterRequestSubmission(data); 954 }, 955 error: function () { 956 afterRequestSubmission("Something went wrong. Please try again later."); 957 } 958 }); 959 960 function afterRequestSubmission (data) { 961 $step.form.hide(); 962 963 $step.message 964 .html(data) 965 .show() 966 .trigger('focus'); 967 } 968 } 969</script>
969<script>function addPromotionParamsToTMTLinks() 970{ 971 if (sessionStorage.getItem('shUrlParams')) { 972 let shParams = JSON.parse(sessionStorage.getItem('shUrlParams')); 973 if (!Object.keys(shParams).length) 974 return; 975 if(!shParams.source) 976 return; 977 $('a').each(function () { 978 if (this.href.includes('tmt.spotapps.co')) { 979 if(this.href.includes('&source=') || this.href.includes('&destination=') || this.href.includes('&promotion=')) 980 return; 981 982 this.href = this.href + '&source=' + shParams.source; 983 if(shParams.destination) 984 this.href = this.href + '&destination=' + shParams.destination; 985 if(shParams.promotion) 986 this.href = this.href + '&promotion=' + shParams.promotion; 987 if(shParams.fb_post_id) 988 this.href = this.href + '&fb_post_id=' + shParams.fb_post_id; 989 if(shParams.email_post_id) 990 this.href = this.href + '&email_post_id=' + shParams.email_post_id; 991 } 992 }) 993 } 994} 995setTimeout(function() { 996 addPromotionParamsToTMTLinks(); 997 addFooterToSourceParam(); 998},600) 999 1000function addFooterToSourceParam() 1001{ 1002 $('.bottom-link').each(function (){ 1003 if(shouldAddSourceParam(this.href)) 1004 this.href = this.href + '&source=footer'; 1005 }) 1006 $('#sh-multiple-links-content-holder a').each(function (){ 1007 if(shouldAddSourceParam(this.href)) 1008 this.href = this.href + '&source=footer'; 1009 }) 1010} 1011function shouldAddSourceParam(link){ 1012 if (link.includes('tmt.spotapps.co') && !link.includes('&source=')){ 1013 return true; 1014 } 1015 return false; 1016} 1017</script>
1017<script> 1018;(async () => { 1019if (typeof window.focusTrap === 'undefined') { 1020 await getScript('https://unpkg.com/tabbable/dist/index.umd.js'); 1021 await getScript('https://unpkg.com/focus-trap/dist/focus-trap.umd.js'); 1022} 1023 1024document.querySelectorAll('.modal').forEach((element) => { 1025 const trap = window.focusTrap?.createFocusTrap(element, { 1026 allowOutsideClick: true, 1027 }); 1028 1029 $(element).on('shown.bs.modal', () => { 1030 trap?.activate(); 1031 }); 1032 1033 $(element).on('hidden.bs.modal', () => { 1034 trap?.deactivate(); 1035 }); 1036}); 1037 1038async function getScript (source) { 1039 return new Promise((resolve, reject) => { 1040 const script = document.createElement('script'); 1041 script.src = source; 1042 script.async = true; 1043 1044 script.onload = resolve; 1045 script.onerror = reject; 1046 1047 document.head.appendChild(script); 1048 }); 1049} 1050})(); 1051</script>
1051<script src="https://wcache-plugins.spotapps.co/production/wcpl_bootstrap_ada_fix/wcpl_bootstrap_ada_fix.js"></script>
1051<link href="https://wcache-plugins.spotapps.co/production/wcpl_bday_club/wcpl_bday_club.css" rel="stylesheet" media="screen"/>
1051<script src="https://wcache-plugins.spotapps.co/production/wcpl_bday_club/wcpl_bday_club.js"></script>
1051<script src="https://wcache-plugins.spotapps.co/production/wcpl_ga_tracking/wcpl_ga_tracking.js"></script>
1051<script src="https://wcache-plugins.spotapps.co/production/wcpl_media_controls/script.js"></script>
1051<link href="https://wcache-plugins.spotapps.co/production/wcpl_website_editor_interpreter/website_interpreter_helper_style.css" rel="stylesheet" media="screen"/>
1051<script>var changes_log_array = {};</script>
1051<script src="https://wcache-plugins.spotapps.co/production/wcpl_website_editor_interpreter/website_interpreter.js"></script>
1051</body></html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.