borgataonline res.json()) .then(config => window[‘clientConfig’] = config) .catch(err => console.error(err)); } window[‘_boot’] = boot(); ]]>e.name.includes(n));if(!t.length)return;return t[0]}catch{return}}(e,”vendor”);n&&null!=n.transferSize&&(window.mPulseCached=(0===n.transferSize).toString())}}catch{}})):window.attachEvent&&window.attachEvent(“onload”,i)}function o(t){n=!0;var o,i,d,r,a=document,w=window;if(window.BOOMR.snippetMethod=t?”if”:”i”,i=function(e,n){var t=a.createElement(“script”);t.id=n||”boomr-if-as”,t.src=window.BOOMR.url,BOOMR_lstart=(new Date).getTime(),(e=e||a.body).appendChild(t)},!window.addEventListener&&window.attachEvent&&navigator.userAgent.match(/MSIE [67]./))return window.BOOMR.snippetMethod=”s”,void i(e.parentNode,”boomr-async”);(d=document.createElement(“IFRAME”)).src=”about:blank”,d.title=””,d.role=”presentation”,d.loading=”eager”,(r=(d.frameElement||d).style).width=0,r.height=0,r.border=0,r.display=”none”,e.parentNode.appendChild(d);try{w=d.contentWindow,a=w.document.open()}catch(e){o=document.domain,d.src=”javascript:var d=document.open();d.domain='”+o+”‘;void(0);”,w=d.contentWindow,a=w.document.open()}o?(a._boomrl=function(){this.domain=o,i()},a.write(“”)):(w._boomrl=function(){i()},w.addEventListener?w.addEventListener(“load”,w._boomrl,!1):w.attachEvent&&w.attachEvent(“onload”,w._boomrl)),a.close()}function i(e){window.BOOMR_onload=e&&e.timeStamp||(new Date).getTime()}}();]]> -1) { return product; } return null; } function determineProduct(url, rules) { url = new URL(url); var product = null; rules.some(function(item) { if (item.path) { product = handleStringOrRegex(url.pathname, item.path, item.product); } else if (item.domain) { product = handleStringOrRegex(url.host, item.domain, item.product); } return product !== null; }) return product; } /** Register for known entry pages **/ if (!document.referrer) { /** Only save preference on an entry page to the site **/ var matchedProduct = determineProduct(window.location.href, entryPagesToProduct); if (matchedProduct) { console.warn(‘Matched to product #1’, matchedProduct); setCookie(matchedProduct); return; } } /** If there’s no cookie stored, see if they’ve just entered reg. In that case, try and work out where they’ve come from… **/ if (window.location.pathname.indexOf(‘mobileportal/register’) > -1 && !getCookie()) { console.debug(‘Detected user is on reg page’); var rurlMatch = window.location.search.match(/rurl=([^&]+)(&|$)/); if (!rurlMatch) { return; } var rurl = decodeURIComponent(rurlMatch[1]); console.debug(‘Infered referer as ‘ + rurl); /** Only save preference on an entry page to the site **/ var matchedProduct = determineProduct(rurl, registrationReferrerToProduct.slice(0).concat(entryPagesToProduct)); if (matchedProduct) { console.warn(‘Matched to product #2’, matchedProduct); setCookie(matchedProduct); } } })(); ]]>
This application requires Javascript for the best functionality and user experience. Your browser or device may not support Javascript or it may be disabled.