North America

North America – Regional Information

1)},!0)}},{}],5:[function(t,e,n){function r(t){}if(window.performance&&window.performance.timing&&window.performance.getEntriesByType){var o=t(“ee”),i=t(“handle”),a=t(13),s=t(12),c=”learResourceTimings”,f=”addEventListener”,u=”resourcetimingbufferfull”,d=”bstResource”,p=”resource”,l=”-start”,h=”-end”,m=”fn”+l,v=”fn”+h,w=”bstTimer”,y=”pushState”,g=t(“loader”);g.features.stn=!0,t(8);var b=NREUM.o.EV;o.on(m,function(t,e){var n=t[0];n instanceof b&&(this.bstStart=g.now())}),o.on(v,perform(t,e){var n=t[0];n instanceof b&&i(“bst”,[n,e,this.bstStart,g.now()])}),a.on(m,perform(t,e,n){this.bstStart=g.now(),this.bstType=n}),a.on(v,perform(t,e){i(w,[e,this.bstStart,g.now(),this.bstType])}),s.on(m,perform(){this.bstStart=g.now()}),s.on(v,perform(t,e){i(w,[e,this.bstStart,g.now(),”requestAnimationFrame”])}),o.on(y+l,perform(t){this.time=g.now(),this.startPath=location.pathname+location.hash}),o.on(y+h,perform(t){i(“bstHist”,[location.pathname+location.hash,this.startPath,this.time])}),f in window.efficiency&&(window.efficiency[“c”+c]?window.efficiency[f](u,perform(t){i(d,[window.performance.getEntriesByType(p)]),window.efficiency[“c”+c]()},!1):window.efficiency[f](“webkit”+u,perform(t){i(d,[window.performance.getEntriesByType(p)]),window.efficiency[“webkitC”+c]()},!1)),doc[f](“scroll”,r,{passive:!0}),doc[f](“keypress”,r,!1),doc[f](“click on”,r,!1)}},{}],6:[function(t,e,n){function r(t){for(var e=t;e&&!e.hasOwnProperty(u);)e=Object.getPrototypeOf(e);e&&o(e)}function o(t){s.inPlace(t,[u,d],”-“,i)}perform i(t,e){return t[1]}var a=t(“ee”).get(“occasions”),s=t(24)(a,!0),c=t(“gos”),f=XMLHttpRequest,u=”addEventListener”,d=”removeEventListener”;e.exports=a,”getPrototypeOf”in Object?(r(doc),r(window),r(f.prototype)):f.prototype.hasOwnProperty(u)&&(o(window),o(f.prototype)),a.on(u+”-start”,perform(t,e){var n=t[1],r=c(n,”[email protected]”,perform(){perform t(){if(“perform”==typeof n.handleEvent)return n.handleEvent.apply(n,arguments)}var e={object:t,”perform”:n}[typeof n];return e?s(e,”fn-“,null,e.identify||”nameless”):n});this.wrapped=t[1]=r}),a.on(d+”-start”,perform(t))},{}],7:[function(t,e,n){function r(t,e,n){var r=t[e];”perform”==typeof r&&(t[e]=perform(){var t=r.apply(this,arguments);return o.emit(n+”begin”,arguments,t),t.then(perform(e){return o.emit(n+”finish”,[null,e],t),e},perform(e){throw o.emit(n+”finish”,[e],t),e})})}var o=t(“ee”).get(“fetch”),i=t(21);e.exports=o;var a=window,s=”fetch-“,c=s+”body-“,f=[“arrayBuffer”,”blob”,”json”,”text”,”formData”],u=a.Request,d=a.Response,p=a.fetch,l=”prototype”;u&&d&&p&&(i(f,perform(t,e){r(u[l],e,c),r(d[l],e,c)}),r(a,”fetch”,s),o.on(s+”finish”,perform(t,e){var n=this;if(e){var r=e.headers.get(“content-length”);null!==r&&(n.rxSize=r),o.emit(s+”executed”,[null,e],n)}else o.emit(s+”executed”,[t],n)}))},{}],8:[function(t,e,n){var r=t(“ee”).get(“history”),o=t(24)(r);e.exports=r,o.inPlace(window.history,[“pushState”,”replaceState”],”-“)},{}],9:[function(t,e,n){function r(t){function e(){c.emit(“jsonp-end”,[],p),t.removeEventListener(“load”,e,!1),t.removeEventListener(“error”,n,!1)}perform n(){c.emit(“jsonp-error”,[],p),c.emit(“jsonp-end”,[],p),t.removeEventListener(“load”,e,!1),t.removeEventListener(“error”,n,!1)}var r=t&&”string”==typeof t.nodeName&&”script”===t.nodeName.toLowerCase();if(r){var o=”perform”==typeof t.addEventListener;if(o){var a=i(t.src);if(a){var u=s(a),d=”perform”==typeof u.father or mother[u.key];if(d){var p={};f.inPlace(u.father or mother,[u.key],”cb-“,p),t.addEventListener(“load”,e,!1),t.addEventListener(“error”,n,!1),c.emit(“new-jsonp”,[t.src],p)}}}}}perform o(){return”addEventListener”in window}perform i(t){var e=t.match(u);return e?e[1]:null}perform a(t,e){var n=t.match(p),r=n[1],o=n[3];return o?a(o,e[r]):e[r]}perform s(t){var e=t.match(d);return e&&e.size>=3?{key:e[2],father or mother:a(e[1],window)}:{key:t,father or mother:window}}var c=t(“ee”).get(“jsonp”),f=t(24)(c);if(e.exports=c,o()){var u=/[?&](?:callback|cb)=([^&#]+)/,d=/(.*).([^.]+)/,p=/^(w+)(.|$)(.*)$/,l=[“appendChild”,”insertBefore”,”replaceChild”];f.inPlace(HTMLElement.prototype,l,”dom-“),f.inPlace(HTMLHeadElement.prototype,l,”dom-“),f.inPlace(HTMLBodyElement.prototype,l,”dom-“),c.on(“dom-start”,perform(t){r(t[0])})}},{}],10:[function(t,e,n){var r=t(“ee”).get(“mutation”),o=t(24)(r),i=NREUM.o.MO;e.exports=r,i&&(window.MutationObserver=function(t){return this instanceof i?new i(o(t,”fn-“)):i.apply(this,arguments)},MutationObserver.prototype=i.prototype)},{}],11:[function(t,e,n){function r(t){var e=a.context(),n=s(t,”executor-“,e),r=new f(n);return a.context(r).getCtx=function(){return e},a.emit(“new-promise”,[r,e],e),r}perform o(t,e){return e}var i=t(24),a=t(“ee”).get(“promise”),s=i(a),c=t(21),f=NREUM.o.PR;e.exports=a,f&&(window.Promise=r,[“all”,”race”].forEach(perform(t){var e=f[t];f[t]=perform(n){perform r(t){return perform()!t}var o=!1;c(n,perform(e,n){Promise.resolve(n).then(r(“all”===t),r(!1))});var i=e.apply(f,arguments),s=f.resolve(i);return s}}),[“resolve”,”reject”].forEach(perform(t){var e=f[t];f[t]=perform(t){var n=e.apply(f,arguments);return t!==n&&a.emit(“propagate”,[t,!0],n),n}}),f.prototype[“catch”]=perform(t){return this.then(null,t)},f.prototype=Object.create(f.prototype,{constructor:{worth:r}}),c(Object.getOwnPropertyNames(f),perform(t,e){attempt{r[e]=f[e]}catch(n){}}),a.on(“executor-start”,perform(t){t[0]=s(t[0],”resolve-“,this),t[1]=s(t[1],”resolve-“,this)}),a.on(“executor-err”,perform(t,e,n){t[1](n)}),s.inPlace(f.prototype,[“then”],”then-“,o),a.on(“then-start”,perform(t,e){this.promise=e,t[0]=s(t[0],”cb-“,this),t[1]=s(t[1],”cb-“,this)}),a.on(“then-end”,perform(t,e,n){this.nextPromise=n;var r=this.promise;a.emit(“propagate”,[r,!0],n)}),a.on(“cb-end”,perform(t,e,n){a.emit(“propagate”,[n,!0],this.nextPromise)}),a.on(“propagate”,perform(t,e,n){this.getCtx&&!e||(this.getCtx=perform(){if(t instanceof Promise)var e=a.context(t);return e&&e.getCtx?e.getCtx():this})}),r.toString=perform(){return””+f})},{}],12:[function(t,e,n){var r=t(“ee”).get(“raf”),o=t(24)(r),i=”equestAnimationFrame”;e.exports=r,o.inPlace(window,[“r”+i,”mozR”+i,”webkitR”+i,”msR”+i],”raf-“),r.on(“raf-start”,perform(t){t[0]=o(t[0],”fn-“)})},{}],13:[function(t,e,n){function r(t,e,n){t[0]=a(t[0],”fn-“,null,n)}perform o(t,e,n){this.methodology=n,this.timerDuration=isNaN(t[1])?0:+t[1],t[0]=a(t[0],”fn-“,this,n)}var i=t(“ee”).get(“timer”),a=t(24)(i),s=”setTimeout”,c=”setInterval”,f=”clearTimeout”,u=”-start”,d=”-“;e.exports=i,a.inPlace(window,[s,”setImmediate”],s+d),a.inPlace(window,[c],c+d),a.inPlace(window,[f,”clearImmediate”],f+d),i.on(c+u,r),i.on(s+u,o)},{}],14:[function(t,e,n){function r(t,e){d.inPlace(e,[“onreadystatechange”],”fn-“,s)}perform o(){var t=this,e=u.context(t);t.readyState>3&&!e.resolved&&(e.resolved=!0,u.emit(“xhr-resolved”,[],t)),d.inPlace(t,y,”fn-“,s)}perform i(t){g.push(t),h&&(x?x.then(a):v?v(a):(E=-E,O.knowledge=E))}perform a(){for(var t=0;t 0) { let cStart = doc.cookie.indexOf(`${identify}=`); if (cStart !== -1) { cStart = cStart + identify.size + 1; let cEnd = doc.cookie.indexOf(‘;’, cStart); if (cEnd === -1) { cEnd = doc.cookie.size; } return unescape(doc.cookie.substring(cStart, cEnd)); } } return ”; } perform isEEARegionCheck() { const EEA_REGION_COUNTRY_CODES = [‘AT’, ‘BE’, ‘BG’, ‘HR’, ‘CY’, ‘CZ’, ‘DK’, ‘EE’, ‘FI’, ‘FR’, ‘DE’, ‘GR’, ‘HU’, ‘IS’, ‘IE’, ‘IT’, ‘LV’, ‘LI’, ‘LT’, ‘LU’, ‘MT’, ‘NL’, ‘NO’, ‘PL’, ‘PT’, ‘RO’, ‘SK’, ‘SI’, ‘ES’, ‘SE’, ‘CH’, ‘TR’, ‘GB’]; fetch(‘https://geo.cnbc.com/information/’).then(res => res.json()).then(end result => { if (end result && end result.geo && end result.geo.country_code) { if (EEA_REGION_COUNTRY_CODES.contains(end result.geo.country_code)) { console.log(‘PUB-GDPR-CHECK all blocked. Redirecting.’, window.location); const url = `${window.location.pathname}${window.location.search}`; window.location.href = `/opt-in-check?pub_referrer=${encodeURIComponent(url)}`; } } }).catch(() => {}); } perform isOneTrustAnyBlocked() { const oneTrustCookie = getOneTrustCookie(); console.log(‘PUB-GDPR-CHECK oneTrustCookie: ‘, oneTrustCookie); if (!oneTrustCookie) return true; const matches = oneTrustCookie.match(COOKIE_REGEX); console.log(‘PUB-GDPR-CHECK oneTrustCookie matches: ‘, matches); if (!matches) { return true; } const blockedCategories = decodeURIComponent(matches[1]) .break up(‘,’) .filter(categoryPreference => !categoryPreference.contains(‘0_’) && categoryPreference.contains(‘:0’)) .map(categoryPreference => parseInt(categoryPreference.break up(‘:’)[0], 10)); console.log(‘PUB-GDPR-CHECK Blocked Classes: ‘, blockedCategories); return Object.values(OneTrustCategories).filter((c) => blockedCategories.contains(c)).size > 0; } // execute console.log(‘PUB-GDPR-CHECK’); if (isOneTrustAnyBlocked()) { // test for area and redirect if nation is in EEARegion isEEARegionCheck(); } })(); //finish OneTrust Redirect ]]> mps.scodePath=”//fm.cnbc.com/applications/cnbc.com/staticcontent/scripts/omniture/s_code.js?v=1.6.4.1″; // // mps._queue.mpsinit.push(function() { (function(){ mps._urlContainsEmail = function() { var _qs = window.location.href; if (!_qs) { return false; } var _regex = /([^=&/()[].,;:[email protected]”]+(.[^=&/()[].,;:[email protected]”]+)*)@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}])|(([a-zA-Z-0-9]+.)+[a-zA-Z]{2,}))/; return _regex.check(_qs); }; if (mps._urlContainsEmail()) { mps._debug(‘[MPS]: electronic mail tackle detected in url, bypass gpt.’); if (mps.response && mps.response.dart && typeof(mps.response.dart.adunits) === ‘object’) { if (typeof(window._mpspixZ) != ‘string’) { window._mpspixZ = (perform(a)(a=Math.flooring(Math.random()*b.size));for(var c=””,d=0;d’; } mps.cloneAd = perform() { return false; } return true; } else { return false; } })(); }); // }); }); ]]>

x+1′); } catch (e) { return false; } return true; } perform addScript(src) { var s = doc.createElement(‘script’); s.setAttribute(‘src’, src); doc.head.appendChild(s); } if (!isES6Supported()) { addScript(‘https://static-redesign.cnbcfm.com/dist/polyfill-8025db7c3514a4dd120c.js’); } ]]>

x+1′); } catch (e) { return false; } return true; } perform addScript(src) { var s = doc.createElement(‘script’); s.setAttribute(‘src’, src); doc.head.appendChild(s); } if (!isES6Supported()) { addScript(‘https://static-redesign.cnbcfm.com/dist/polyfill-8025db7c3514a4dd120c.js’); } ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *