PageSourceSearch

https://www.cbsnews.com/fly/bundles/cbsnewscore/js-build/main.responsive.js?v=ba0807a2be6e9418524a5e7417c39ce5

js cbsnews.com collected 2026-09-24 06:03:12 UTC 40,858 bytes, 21 lines download raw bytes

1/*
2 *  Require.js Version Plugin
3 *  Versions modules in format modulename-1.0.0
4 *
5 *  Specify versions like:
6 *
7 *  require.config({
8 *      config: {
9 *          version: {
10 *              'modulename': '1.0.0'
11 *          }
12 *      }
13 *  })
14 */
15!function(){"use strict";var e=null;define("version",{version:"1.0",load:function(t,n,i,o){var r=o.config.version;if(!r)throw new Error("A version config has not been setup");if(!r[t])throw new Error("A version was not specified for module: "+t);e&&r[t],n([t+"-"+o.config.version[t]],function(e){i(e)})},normalize:function(t){var n=/\(([^)]*)\)/.exec(t);return e=null,n&&(e=n[1],t=t.substring(0,n.index)),t}})}(),define("fly/utils/string-helper-2.0",[],function(){return{capitalize:function(e){return e.replace(/\b[a-z]/g,function(e){return e.toUpperCase()})},lowerFirst:function(e){return e.charAt(0).toLowerCase()+e.slice(1)},toBool:function(e){return!0===e||"true"===e||"1"===e},toCleanArray:function(e,t){return t=t||",",e=(e="string"==typeof e?e.split(t).map(function(e){return e.trim()}):Array.prototype.slice.call(e)).filter(function(e){return e})},toCamelCase:function(e,t){return t=t||"-",e.replace(new RegExp("(\\"+t+"[a-z])","g"),function(e){return e.toUpperCase().replace(t,"")})},fromCamelCase:function(e,t){return t=t||"-",e.replace(/[A-Z]/g,function(e){return t+e.toLowerCase()})},toEventName:function(e){return e.replace(/^on([A-Z])/,function(e){return e.charAt(2).toLowerCase()})},isEventOption:function(e){return/^on([A-Z])/.test(e)}}}),define("fly/utils/url-helper-2.0",[],function(){return{buildUrl:function(e,t,n,i){var o=e+t;return(n=this._stringifyObject(n))&&(o+="?"+n),(i=this._stringifyObject(i))&&(o+="#"+i),o},getParam:function(e,t){var n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(t||window.location);return n?n[1]:null},getParamAsArray:function(e){var t=this.getParam(e);return t?t.split(","):null},getAllParams:function(e){var t=(e?this._getParsableUrl(e):window.location).search.substring(1),n=t.split("&"),i={};if(""===t)return{};for(var o=0;o<n.length;o++){var r=n[o].split("=");i[unescape(r[0])]=unescape(r[1])}return i},getHashParam:function(e,t){var n=(t||window.location.hash).substring(1),i="",o="";if(-1!=n.indexOf(e)){if(-1!=(i=n.substring(n.indexOf(e))).indexOf("&"))o=i.split("&")[0].split("=");else o=i.split("=");return o[1]}return!1},paramExists:function(e,t){return!!(t||window.location.href).match("[\\?&]"+e+"([=&#]|$)")},getOrigin:function(e){var t=e?this._getParsableUrl(e):window.location;return t.origin||t.protocol+"//"+t.host},getPath:function(e){var t=(e?this._getParsableUrl(e):window.location).pathname;return-1===[void 0,"/"].indexOf(t[0])&&(t="/"+t),t},_getParsableUrl:function(e){var t=document.createElement("a");return t.href=e,t},_stringifyObject:function(e,t,n){var i="";if(t=t||"&",n=n||"=",null==e||[]==e||{}==e);else if(Array.isArray(e))i=e.join(t);else if("object"==typeof e){for(var o in e){i+=o+n+e[o]+t}i=i.substring(0,i.length-1)}else"string"==typeof e&&(i=e);return i}}}),function(e){var t;if("function"==typeof define&&define.amd&&(define("fly/libs/js-cookie-2.2.0",e),t=!0),"object"==typeof exports&&(module.exports=e(),t=!0),!t){var n=window.Cookies,i=window.Cookies=e();i.noConflict=function(){return window.Cookies=n,i}}}(function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var i in n)t[i]=n[i]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2}
15)+/g,decodeURIComponent)}return function n(i){function o(){}function r(t,n,r){if("undefined"!=typeof document){"number"==typeof(r=e({path:"/"},o.defaults,r)).expires&&(r.expires=new Date(1*new Date+864e5*r.expires)),r.expires=r.expires?r.expires.toUTCString():"";try{var a=JSON.stringify(n);/^[\{\[]/.test(a)&&(n=a)}catch(e){}n=i.write?i.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var c in r)r[c]&&(s+="; "+c,!0!==r[c]&&(s+="="+r[c].split(";")[0]));return document.cookie=t+"="+n+s}}function a(e,n){if("undefined"!=typeof document){for(var o={},r=document.cookie?document.cookie.split("; "):[],a=0;a<r.length;a++){var s=r[a].split("="),c=s.slice(1).join("=");n||'"'!==c.charAt(0)||(c=c.slice(1,-1));try{var l=t(s[0]);if(c=(i.read||i)(c,l)||t(c),n)try{c=JSON.parse(c)}catch(e){}if(o[l]=c,e===l)break}catch(e){}}return e?o[e]:o}}return o.set=r,o.get=function(e){return a(e,!1)},o.getJSON=function(e){return a(e,!0)},o.remove=function(t,n){r(t,"",e(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}(function(){})}),define("fly/managers/cookie-2.0",["fly/libs/js-cookie-2.2.0"],function(e){var t={domains:{default:null}};return{init:function(e){this.setConfig(e)},setConfig:function(e){"object"==typeof e&&null!==e&&Object.assign(t,e)},set:function(n,i,o){o=o||{},("object"==typeof i&&null!==i||Array.isArray(i))&&(i=JSON.stringify(i)),o.domain?o.domain in t.domains&&(o.domain=t.domains[o.domain]):o.domain=t.domains.default,o.domain||delete o.domain,e.set(n,i,o)},get:function(t){var n,i=e.get(t);try{n=JSON.parse(i)}catch(e){n=i}return n},remove:function(t,n){e.remove(t,n)}}}
15),define("fly/managers/debug-2.0",["module","version!fly/utils/string-helper","version!fly/utils/url-helper","version!fly/managers/cookie"],function(e,t,n,i){var o,r,a,s={},c={queryParam:"jsDebug",cookie:{name:"fly_js_debug",domain:"default"}},l=!1,d=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};return Object.assign(c,e.config()),(r=n.getParamAsArray(c.queryParam)||[])?i.set(c.cookie.name,r,{path:"/",domain:c.cookie.domain}):a=i.get(c.cookie.name)||[],(r.indexOf("true")>-1||r.indexOf("all")>-1)&&(i.set(c.cookie.name,!0,{path:"/",domain:c.cookie.domain}),l=!0),(o=function(e){this.name=e,this.color="hsl("+d(0,360)+","+d(35,80)+"%,"+d(20,45)+"%)",(!0===a||Array.isArray(r)&&r.indexOf(this.name)>-1||Array.isArray(a)&&a.indexOf(this.name)>-1)&&this.enable()}).prototype={constructor:o,enabled:!1,_call:function(e,t){if(window.console&&(this.enabled||l)){t.callee=t.callee.caller;var n=[].slice.call(t);-1<["error","info","log","trace","warn"].indexOf(e)&&n.unshift("%c "+this.name+" ","color:#fff;border-radius:3px;background-color:"+this.color+";"),"object"==typeof window.console&&"function"==typeof window.console[e]&&window.console[e].apply(window.console,n)}return this},disable:function(){return this.enabled=!1,this},enable:function(){return this.enabled=!0,this},error:function(){return this._call("error",arguments)},info:function(){return this._call("info",arguments)},log:function(){return this._call("log",arguments)},profile:function(){return this._call("profile",arguments)},profileEnd:function(){return this._call("profileEnd",arguments)},timeStamp:function(){return this._call("timeStamp",arguments)},trace:function(){return this._call("trace",arguments)},warn:function(){return this._call("warn",arguments)}},{init:function(e){var t=new o(e);return s[e]=t,t},get:function(e){return s[e]||this.init(e)}}}),define("utils/clean-url",["version!fly/managers/debug"],function(e){"use strict";var t=e.init("cleanUrl");return{include:function(e){var n=new URLSearchParams(window.location.search);Array.from(n.keys()).forEach(function(i){t.log("cleanUrl::include","evaluate key",i),"chromeless"===i&&(CBSNEWS.chromeless=!0),"adobe_mc"===i&&(window.location.hash="adobe_mc="+n.get(i)),-1===e.indexOf(i)&&(t.log("cleanUrl::include","delete key",i),n.delete(i))}),history.replaceState(null,"",window.location.origin+window.location.pathname+"?"+n.toString())},exclude:function(e){var n=new URLSearchParams(window.location.search);Array.from(n.keys()).forEach(function(i){t.log("cleanUrl::exclude","evaluate key",i),-1!==e.indexOf(i)&&(t.log("cleanUrl::exclude","delete key",i),n.delete(i))}),history.replaceState(null,"",window.location.origin+window.location.pathname+"?"+n.toString())}}}),define("third-party/adobe-track-action",[],function(){const e=new URLSearchParams(window.location.search).has("trackingTest");document.body.addEventListener("click",t=>{const n=t.target.closest("[data-track-action]");if(!n)return;t.stopPropagation();const i=n.getAttribute("data-track-action");if(i)try{const e=JSON.parse(i),{linkName:t,...n}=e;t&&Object.keys(n).length&&om.trackAction(t,n)}catch(e){console.error("Failed to parse tracking data:",e)}e&&t.preventDefault()})}),CBSNEWS.features.executeWithConsent(["chartbeat"],"performance",function(){window._sf_startpt=window._sf_startpt||CBSNEWS.date.getTime(),window._sf_async_config=window._sf_async_config||{},_sf_async_config.uid="64660",_sf_async_config.domain="cbsnews.com",_sf_async_config.autoDetect=!1;var e=function(e){return CBSNEWS.edition.key+"-"+e},t=function(){_sf_async_config.articleBlockSelector="article.item",_sf_async_config.lazyLoadSrcsetAttribute="data-srcset",_sf_async_config.flickerControl=!1,_sf_async_config.useCanonical=!0,_sf_async_config.authors=CBSNEWS.tracking.articleAuthorName,window===window.top&&(_sf_async_config.playerdomain=window.location.hostname),"app"===CBSNEWS.device&&(_sf_async_config.mobileApp=!0),_sf_async_config.sections=CBSNEWS.tracking.siteHier,_sf_async_config.sections=["page-"+CBSNEWS.tracking.pageType,"edition-"+CBSNEWS.edition.market].concat(CBSNEWS.tracking.siteHier.map(e),(CBSNEWS.tracking.allTopics||[]).map(e),(CBSNEWS.tracking.collectionName||[]).map(e),CBSNEWS.tracking.hasVideo?[]:"novideo").map(function(e){return e.replace(/[\s&\+\.=_]/g,"-").replace(/[^A-Za-z0-9-]/g,"").replace(/-+/g,"-").replace(/^-+|-+$/,"")}).filter(function(e,t,n){return n.indexOf(e)===t}).join(","),_sf_async_config.type=CBSNEWS.tracking.pageType,_sf_async_config.virtual_page_path=window.location.pathname,_sf_async_config.virtual_page_title=document.title};CBSNEWS.tracking.noViewTrack||(t(),window.addEventListener("tracking:view",function(){t(),window.pSUPERFLY&&window.pSUPERFLY.virtualPage(_sf_async_config.virtual_page_path,_sf_async_config.virtual_page_title)})),/(front_door|collection_door|show_door|topic_door)/.test(CBSNEWS.tracking.pageType)&&window===top?require(["https://static.chartbeat.com/js/chartbeat_mab.js#"],function(){require(["https://static.chartbeat.com/js/chartbeat.js#"],function(){_sf_endpt=(new Date).getTime()})}):require(["https://static.chartbeat.com/js/chartbeat.js#"],function(){_sf_endpt=(new Date).getTime()})}),define("third-party/chartbeat",function(){}),CBSNEWS.features.executeWithConsent(["PnGpixel"],"performance",function(){CBSNEWS.features.PnGpixel=!1,/\/(embed|user|elections|live)\//.test(window.location.pathname)||(window.setUpAgknTag=function(e){e.setBpId("cbsinteractive")},setTimeout(require,parseInt(CBSNEWS.features.PnGpixel)||15e3,["https://js.agkn.com/prod/v0/tag.js#"]))},window),define("third-party/png-pixel",function(){}),CBSNEWS.features.executeWithConsent(["qualtrics"],"performance",function(){var e=window.location.href;if(window===window.parent&&("desktop"===CBSNEWS.device||"mobile"===CBSNEWS.device)&&!/(\/user\/|\/embed\/)/.test(e)){window.ZN_77YCxjAq1e0122V_ed="",window.ZN_77YCxjAq1e0122V_sampleRate=100,window.ZN_77YCxjAq1e0122V_url="https://"+"ZN_77YCxjAq1e0122V".toLowerCase()+"-cbs.siteintercept.qualtrics.com/WRSiteInterceptEngine/?Q_ZID=ZN_77YCxjAq1e0122V&Q_LOC="+encodeURIComponent(e)+"#";var t=document.createElement("div");t.setAttribute("id","ZN_77YCxjAq1e0122V"),document.body.appendChild(t),setTimeout(require,parseInt(CBSNEWS.features.qualtrics)||15e3,[window.ZN_77YCxjAq1e0122V_url])}}),define("third-party/qualtrics",function(){}),CBSNEWS.tracking.admiralInit=!0,CBSNEWS.features.executeWithConsent(["admiral"],"targeting",function(){var e=!!window.admiral;window.admiral=window.admiral||function(){(admiral.q=admiral.q||[]).push(arguments)},e&&!window.location.search.match(/premium=1/)&&window.admiral("after","measure.detected",function(e){e.adblocking&&(CBSNEWS.tracking.admiralNovemberAlpha=e.adblocking),e.whitelisted&&(CBSNEWS.tracking.admiralNovemberAlphaWL=e.whitelisted)})}),define("third-party/admiral",function(){}),/(\/user\/|\/embed\/)/.test(window.location.href)||CBSNEWS.features.executeIfEnabled(["doppler"],setTimeout,this,[require,parseInt(CBSNEWS.features.doppler)||15e3,["https://doppler-config.cbsivideo.com/doppler.js#"]]),define("third-party/doppler",function(){}),require(["third-party/adobe-track-action"]),require(["third-party/chartbeat"]),require(["third-party/png-pixel"]),require(["third-party/qualtrics"]),require(["third-party/admiral"]),require(["third-party/doppler"]),define("common/tracking",function(){}),define("third-party/bidbarrel",[],function(){CBSNEWS.features.executeWithConsent(["ads","adsBidBarrel"],"essential",function(){var e,t,n;e=window,n="queue",e[t="BidBarrel"]=e[t]?e[t]:{},e[t][n]=e[t][n]?e[t][n]:[],CBSNEWS.edition.isDefault?require([CBSNEWS.bidBarrelPath]):require([CBSNEWS.bidBarrelLocalEditionPath])},this)}),define("managers/bidbarrel-ads",["version!fly/managers/debug"],function(e){"use strict";var t=e.init("ads");function n(e){BidBarrel.queue.push(function(n){Array.isArray(e)&&e.length?(t.log("bidBarrel::auction",e),BidBarrel.auction(e)):t.log("bidBarrel::auction","no ad units defined",e),n()})}function i(e,n){var i="";"app"==e.slotVars.platform||/(Android|iOS) App/i.test(navigator.userAgent)?i="app":"mobile"==e.slotVars.platform&&(i="m");var o=Object.assign({},n);return o.dfpPath=Object.assign({device:i,network:e.slotVars.network,pagePath:e.slotVars.topics,region:e.region||"aw"},o.dfpPath),o.pageTargeting=Object.assign({},e.pageTargeting,o.pageTargeting),o.targeting=Object.assign({},e.targeting,o.targeting),t.log("bidBarrel::getConfig",o,e,n),o}function o(e){return!0}return t.log("bidBarrel::init","Prepare to initialize"),window.BidBarrel=window.BidBarrel||{},BidBarrel.queue=BidBarrel.queue||[],window.cbsiGptDivIds=window.cbsiGptDivIds||[],{auctionAdUnits:n,clearAdSlots:function(e){BidBarrel.queue.push(function(n){Array.isArray(e)?(t.log("bidBarrel::clearAdSlots","Clear ad units",e),BidBarrel.clearSlots(e)):(t.log("bidBarrel::clearAdSlots","Clear all ad units"),BidBarrel.clearSlots()),n()})},destroyAdSlots:function(e){BidBarrel.queue.push(function(n){Array.isArray(e)?(t.log("bidBarrel::destroyAdSlots","Destroy ad units",e),BidBarrel.destroySlots(e)):(t.log("bidBarrel::destroyAdSlots","Destroy all ad units"),BidBarrel.destroyAllSlots()),n()})},init:function(e,r){BidBarrel.queue.push(function(n){BidBarrel.initialize(Object.assign({},i(e,r))),t.log("bidBarrel::init","Initialized"),n()});var a=Array.prototype.slice.call(document.querySelectorAll("[data-ad-unit]:not(.lazyload):not(.lazyloaded)")).map(function(e){return console.log("ADS: queuing",e.getAttribute("id")),JSON.parse(e.getAttribute("data-ad-unit"))}).concat(window.cbsiGptDivIds).filter(o);t.log("displaying ads for any existing cbsiGptDivIds:",a),n(a),t.log("setting future cbsiGptDivIds ads to lazy load"),window.cbsiGptDivIds={push:function(e){console.log("ADS: queuing",e),o(e)&&n([e])}}},refresh:function(e){BidBarrel.queue.push(function(n){Array.isArray(e)?(t.log("bidBarrel::refresh","Refresh ad units",e),BidBarrel.auction(e)):(t.log("bidBarrel::refresh","Refresh all ad units"),BidBarrel.auctionAll()),n()})},setCallback:function(e,n,i){e&&n&&(t.log("bidBarrel::on","set callback for",e),BidBarrel.queue.push(function(t){BidBarrel.on(e,n),t()}))},setConfig:function(e,n){BidBarrel.queue.push(function(o){var r=i(e,n);t.log("bidBarrel::setConfig",r),BidBarrel.setConfig(r),o()})},setIsAdUnitEnabled:function(e){o=e}}}),define("utils/get-cookie",[],function(){"use strict";return function(e){var t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0}}),define("utils/on-first-interaction",[],function(){return function(e,t){var n,i=function(){clearTimeout(n),document.body.removeEventListener("mousemove",i),document.body.removeEventListener("scroll",i),document.body.removeEventListener("keydown",i),document.body.removeEventListener("click",i),document.body.removeEventListener("touchstart",i),e()};document.body.addEventListener("mousemove",i),document.body.addEventListener("scroll",i),document.body.addEventListener("keydown",i),document.body.addEventListener("click",i),document.body.addEventListener("touchstart",i),t&&(n=setTimeout(i,t))}}),window===window.top&&!document.body.hasAttribute("data-suppress-ads")&&CBSNEWS.features.isFeatureEnabled("ads")?(require(["third-party/bidbarrel"]),require(["managers/bidbarrel-ads","utils/get-cookie","utils/on-first-interaction","version!fly/managers/debug"],function(e,t,n,i){var o=i.init("ads");"1"===t("CBS_INTERNAL")&&require(["https://adops.cbsinteractive.com/static_tools/watson/Watson.js?"+Date.now()]);var r=null,a=t("fly_geo");a?r=JSON.parse(a).countryCode:(r="US",o.log("Failed to get countryCode from fly geo cookie"));var s=function(){var e=Object.assign({},CBSNEWS.ad.gpt);return e.pageTargeting=Object.assign({},CBSNEWS.ad.gpt.targeting),e.pageTargeting.vguid=CBSNEWS.tracking.pageViewGuid,e.targeting={auto:!0,cookie
15:{consolidate:!0}},e.adConfig.regions.forEach(function(t){t.countries.indexOf(r)>-1&&(e.region=t.region,o.log("Set ad region to ",e.region,t,r))}),o.log("getAdData",e),e};window.addEventListener("ads:setConfig",function(t){var n,i=s();t.detail&&"customConfig"in t.detail&&(n=t.detail.customConfig),e.setConfig(i,n)}),window.addEventListener("ads:reloadAds",function(t){e.refresh()}),window.addEventListener("ads:destroySlots",function(t){e.destroyAdSlots()}),e.setIsAdUnitEnabled(function(e){var t=Array.isArray(e)?e[0]:e,n=CBSNEWS.features.isFeatureEnabled(t);return document.body.hasAttribute("data-only-ad-mpu")&&"mpu-plus-top-right-rail"!=e&&(n=!1),n||o.log("Ad unit is disabled on this page: ",t),n});var c={},l=new URLSearchParams(CBSNEWS.originalUrl.search).get("eid");if(o.log("EID: Getting value form URL..."),void 0!==l&&l)o.log("EID: use query string parameter value",l),adEidValid=!0,c.eid=l;else{o.log("EID: no eid in URL, use cookie");var d=CBSNEWS.getCookie("fly_eid");o.log("EID: Cookie found",d),void 0!==d?(o.log("EID: adEidCookieValue USE cookie value",d),c.eid=d):o.log("EID: no eid value found")}var u=!1,f=CBSNEWS.features.getFeatureValue("initializeAdsTimeout")||5e3,g=function(){u||(u=!0,e.init(s(),{optanon:{renderScript:!1},lazyLoading:{auction:{enabled:!0,lazy:!0},units:{offset:{xAxis:CBSNEWS.features.getFeatureValue("bidbarrel:lazyload:xAxis")||1.5*window.innerHeight,yAxis:CBSNEWS.features.getFeatureValue("bidbarrel:lazyload:yAxis")||1.2*window.innerWidth}}},priorityAxis:/^ios_/.test(CBSNEWS.ad.gpt.targeting.platform)&&"image_gallery"===CBSNEWS.ad.gpt.targeting.ptype?"x":"y",firstPartyData:c}))},p=function(){"visible"==document.visibilityState&&(n(g,f),document.removeEventListener("visibilitychange",p))};p(),document.addEventListener("visibilitychange",p);var m,h=function(e,t){return e.map(function(e){return e+"."+t}).join(",")},v=document.querySelector(".top-ad-container"),y=document.querySelector('.top-ad-container [data-ad]:not([data-ad*="intromercial"])');if(y){var b=y.getAttribute("data-ad");e.setCallback(h([b],"identified"),function(e,t,n){o.log("identified",b,e,t,n),document.documentElement.classList.add("has__top-ad-container--"+e.type),"display"===e.type?(o.log("Make",b,"sticky"),"desktop"==CBSNEWS.device?document.documentElement.classList.add("has__top-ad-container--"+e.type+"__sticky"):document.documentElement.classList.add("has__top-ad-container--"+e.type+"__sticky__mobile"),v.classList.add("is-sticky")):v.classList.remove("is-sticky");const i=document.documentElement.classList,r=[...i].filter(e=>e.startsWith("has__top-ad-container--"));r.length&&r.forEach(t=>{t.includes(e.type)||(o.log("Top Ad remove className",t),i.remove(t))})})}var w=["mpu-plus-native-top"],S=function(){o.log("[Auto-refresh timeout]",m?"Clear existing timeout":"Previous timeout does not exist"),clearTimeout(m),o.log("[Auto-refresh timeout]","Auto refresh ",w,"in","32000ms"),m=setTimeout(e.refresh,32e3,w)};e.setCallback(h(w,"requested"),function(){o.log("[Auto-refresh timeout]","Clear auto-refresh timeout"),clearTimeout(m)}),e.setCallback(h(w,"rendered"),function(){"visible"==document.visibilityState?(o.log("[Auto-refresh timeout]","Page is visible"),S()):(o.log("[Auto-refresh timeout]","Page is not visible"),document.addEventListener("visibilitychange",function(){"visible"!=document.visibilityState?o.log("[Auto-refresh timeout]","Page is still not visible"):(o.log("[Auto-refresh timeout]","Page is now visible"),S())}))}),window.addEventListener("message",function(e){if(e.origin===window.location.protocol+"//"+window.location.host&&"string"==typeof e.data&&0===e.data.indexOf("nativeAdBlankServed_"))for(var t=window.frames,n=0;n<t.length;n++){var i,o=t[n];o!=e.source.parent||((i=o.frameElement.closest(".card--type-html-native-ad"))?(i.style.display="none",i.parentNode.classList.add("card__wrapper--no-ad")):o.frameElement.parentNode.style.display="none")}},!1)})):console.log("ads are disabled"),define("common/site-ads",function(){}),window.uuid||(window.uuid={}),void 0===window.uuid.v4&&(window.uuid.v4=function(){var e,t,n="";for(e=0;e<32;e++)t=16*Math.random()|0,8!=e&&12!=e&&16!=e&&20!=e||(n+="-"),n+=(12==e?4:16==e?3&t|8:t).toString(16);return n}),define("fly/libs/uuid.v4",function(){}),define("managers/tealium",["version!fly/managers/debug","fly/libs/uuid.v4"],function(e){var t=e.get("tealium");return{trackingData:{},viewGuid:null,resetGuidEnabled:!0,init:function(e){this.trackingData=e,t.log("init","loading tracking data",this.trackingData)},explicitTrackView:function(e){e=Object.assign({},CBSNEWS.tracking,e);t.log("explicitTrackView",e),CBSNEWS.tracking.queue.push({type:"view",data:e,callback:function(){var t=new CustomEvent("tracking:view",{detail:e});window.dispatchEvent(t)}.bind(this)})},explicitTrackLink:function(e){e=Object.assign({},CBSNEWS.tracking,e);t.log("explicitTrackLink",e),CBSNEWS.tracking.queue.push({type:"link",data:e})}
15,setViewGuid:function(e){this.viewGuid=e,CBSNEWS.tracking.pageViewGuid=this.viewGuid,t.log("setViewGuid",this.viewGuid)},resetViewGuid:function(){if(this.resetGuidEnabled){this.viewGuid=uuid.v4(),CBSNEWS.tracking.pageViewGuid=this.viewGuid;var e=document.createEvent("Event");e.initEvent("cbsnews.tealium.resetViewGuid",!0,!0),window.dispatchEvent(e)}return t.log("resetViewGuid",this.viewGuid),this.viewGuid},getViewGuid:function(){return this.viewGuid},syncResetViewGuid:function(){var e;return e=this.resetViewGuid(),this.resetGuidEnabled=!this.resetGuidEnabled,e},getTrackingData:function(){return this.trackingData}}}),
16/**
17 * @license RequireJS domReady 2.0.1 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
18 * Available via the MIT or new BSD license.
19 * see: http://github.com/requirejs/domReady for details
20 */
21define("domReady",[],function(){"use strict";var e,t,n,i="undefined"!=typeof window&&window.document,o=!i,r=i?document:null,a=[];function s(){var e=a;o&&e.length&&(a=[],function(e){var t;for(t=0;t<e.length;t+=1)e[t](r)}(e))}function c(){o||(o=!0,n&&clearInterval(n),s())}if(i){if(document.addEventListener)document.addEventListener("DOMContentLoaded",c,!1),window.addEventListener("load",c,!1);else if(window.attachEvent){window.attachEvent("onload",c),t=document.createElement("div");try{e=null===window.frameElement}catch(e){}t.doScroll&&e&&window.external&&(n=setInterval(function(){try{t.doScroll(),c()}catch(e){}},30))}"complete"===document.readyState&&c()}function l(e){return o?e(r):a.push(e),l}return l.version="2.0.1",l.load=function(e,t,n,i){i.isBuild?n(null):l(n)},l}),define("utils/load-script",[],function(){"use strict";return function(e,t,n){var i=document.createElement("script");i.setAttribute("async",!0),i.setAttribute("src",e),t&&i.setAttribute("id",t),document.head.appendChild(i),i.onerror=function(e){n&&n()}}}),define("third-party/taboola",["domReady","utils/load-script","utils/on-first-interaction"],function(e,t,n){"use strict";var i,o={front_door:"home",collection_door:"category",topic_door:"category",topic_list:"category",show_door:"category",video_door:"category",news_item:"article",media_post:"article",moneywatch:"article",updating_story:"article",image_gallery:"photo",image_gallery_et:"photo",live_streaming_player:"video",video:"video",error_page:"-2",search:"-2"}[CBSNEWS.tracking.pageType]||"other",r=window._taboola=window._taboola||[],a=!1,s=null!==document.querySelector(".dark-mode");i=CBSNEWS.edition.isDefault?{web:"cbsinteractive-cbsnews",ios:"cbsinteractive-cbsnewsmobileappios",android:"cbsinteractive-cbsnewsmobileappandroid"}:{web:"cbslocal-network",ios:"cbslocal-iosapp-network",android:"cbslocal-androidapp-network"};var c={init:function(e){var t={};t[o]="auto",t.referrer=document.referrer,t.url=window.location.href,e=Object.assign({},t,e),r.push(e),CBSNEWS.features.executeWithConsent(["taboola"],"targeting",c.load,c)},load:function(){if(!a&&!new URLSearchParams(window.location.search).has("hub-preview-version")){if(CBSNEWS.chromeless&&CBSNEWS.tracking.deviceOs&&!s){_taboola.mobile=window._taboola.mobile||[],_taboola.mobile.push({publisher:i[CBSNEWS.tracking.deviceOs]});var e="//cdn.taboola.com/libtrc/"+i[CBSNEWS.tracking.deviceOs]+"/mobile-loader.js";n(n=>t(e,"tb-mobile-loader-script"))}else{var o=i.web,r="//cdn.taboola.com/libtrc/"+o+"/loader.js",c="//static.tblcontent.com/libtrc/"+o+"/loader.privacy.js",l="https://static.qovani.com/libtrc/tr5?type=pixel&publisher="+o,d="tb_loader_script";(new Image).src=l,n(e=>(function e(t,n,i){if(!document.getElementById(t)){var o=document.getElementsByTagName("script")[0],r=document.createElement("script");r.async=!0,r.src=n,r.id=t,i&&(r.onerror=function(){r.parentNode&&r.parentNode.removeChild(r),e(d+"_fb",i,null)}),o.parentNode.insertBefore(r,o)}})(d,r,c))}window.performance&&"function"==typeof window.performance.mark&&window.performance.mark("tbl_ic"),a=!0}},display:function(){var e=document.querySelectorAll("[data-taboola]");if(e.length){c.init();for(var t=0;t<e.length;t++)c.push(e[t]);c.flush(),c.track(e)}},track:function(e){const t=new IntersectionObserver((e,t)=>
21{e.forEach(e=>{e.isIntersecting&&(om.trackAction("TaboolaImpression",{taboolaViewed:!0}),t.unobserve(e.target))})},{root:null,threshold:0});e.forEach(e=>t.observe(e))},refresh:function(){r.push({notify:"newPageLoad"}),c.display()},push:function(e,t){if(s){const t=JSON.parse(e.getAttribute("data-taboola"));t.mode=t.mode+"-dark",t.placement=t.placement+" Dark Mode",e.setAttribute("data-taboola",JSON.stringify(t))}c.init();var n=JSON.parse(e.getAttribute("data-taboola"));n=Object.assign({container:e,target_type:"mix"},n),r.push(n),t&&c.flush()},flush:function(){r.push({flush:!0})},taboola:null};window.CBSNEWS=window.CBSNEWS||{},window.CBSNEWS.taboola=c,e(c.display),window.addEventListener("ads:reloadTaboola",function(){CBSNEWS.taboola.refresh()})}),require(["utils/get-cookie"],function(e){const t=e("fly_geo");let n=null;if(t&&"US"!==(n=JSON.parse(t).countryCode)){const e=document.getElementsByClassName("footer-link-california-notice");if(e.length>0)for(let t=0;t<e.length;t++)e[t].style.display="none"}}),define("common/footer-nav",function(){}),define("components/navigation",["version!fly/managers/debug"],function(e){const t=e.init("navigation");function n(e,n){t.log("init sticky navigation"),t.log("sticky",document.querySelector(".has__top-ad-container--display__sticky")),this.body=document.body,this.target=e,t.log("target element",this.target),this.bodyOberserver=this.createIntersectionObserver(),t.log("body intersection observer",this.bodyOberserver),this.rootObserver=null,this.mObserver=this.createMutationObserver(),t.log("mutation observer",this.bodyOberserver),this.bodyOberserver.observe(this.target)}function i(e,t){if(e.target.matches(".site-nav__flyout, .site-nav__flyout *"))return;e.target.closest(".site-nav__item.can-fullscreen")&&t.classList.toggle("flyout__menu--open")}return n.prototype.createIntersectionObserver=function(e=0){t.log("createIntersectionObserver with root margin",e);return new IntersectionObserver((e,n)=>{e[0].isIntersecting?(t.log("target is intersecting",this.target),this.target.classList.remove("site-header__container--stuck")):(t.log("target is not intersecting",this.target),this.target.classList.add("site-header__container--stuck"))},{root:null,rootMargin:`${e}px 0px`,threshold:1})},n.prototype.createMutationObserver=function(){const e={attributes:!0,attributeOldValue:!0,attributeList:["class"]},n=new MutationObserver((e,n)=>{for(const n of e)null!==n.oldValue&&(n.target.classList.contains("skybox-loaded")&&-1===n.oldValue.indexOf("skybox-loaded")?(this.bodyOberserver.disconnect(),t.log("skyobx loaded. Disconnecting intersection observer",this.bodyOberserver)):n.target.classList.contains("skybox-loaded")||-1===n.oldValue.indexOf("skybox-loaded")||(this.bodyOberserver.observe(this.target),t.log("skybox unloaded. Reconnecting intersection observer",this.bodyOberserver)))});n.observe(this.body,e);const i=new MutationObserver((e,n)=>{for(const n of e)null!==n.oldValue&&(n.target.classList.contains("has__top-ad-container--display__sticky")&&-1===n.oldValue.indexOf("has__top-ad-container--display__sticky")?(t.log("we have a sticky ad",n.target),!this.rootObserver&&document.querySelector(".header--with-sub-navigation")&&n.target.classList.contains("page--type-front-door")&&n.target.classList.contains("edition--local")?(this.rootObserver=this.createIntersectionObserver(-90),t.log("rootobserver created",this.rootObserver),this.rootObserver.observe(document.querySelector(".header--with-sub-navigation"))):t.log("rootobserver already exists or we are not on the local front door",this.rootObserver),this.bodyOberserver.disconnect(),t.log("sticky ad loaded. Disconnecting intersection observer",this.bodyOberserver)):n.target.classList.contains("has__top-ad-container--display__sticky")||-1===n.oldValue.indexOf("has__top-ad-container--display__sticky")||(t.log("we lost a sticky ad"),this.rootObserver&&(this.rootObserver.disconnect(),this.rootObserver=null,t.log("sticky ad unloaded. Disconnecting root observer",this.rootObserver))))});return i.observe(document.documentElement,e),[n,i]},function(e,o){let r=document.documentElement;const a=new URL(window.location.href),s=document.querySelector(".account__actions_link--log-in");s&&s.setAttribute("href",`/login?redirectUrl=${a.origin}${a.pathname}`);try{document.createEvent("TouchEvent"),r.classList.remove("no-touch"),r.classList.add("touch")}catch(e){r.classList.remove("touch"),r.classList.add("no-touch")}
21e.addEventListener("touchend",e=>i(e,r)),r.classList.contains("no-touch")&&e.addEventListener("mouseup",e=>i(e,r)),t.log("navigation",e,o),o.pageTypes.includes(CBSNEWS.tracking.pageType)?new n(e,o):t.log("page type does not match",CBSNEWS.tracking.pageType,o.pageTypes,CBSNEWS.tracking.pageType)}}),define("components/sub-navigation",["version!fly/managers/debug"],function(e){e.init("sub-navgation");let t=document.documentElement;const n=document.querySelectorAll(".header--with-sub-navigation");if(!n.length)return;const i=document.querySelector("body");let o=null,r=null;const a=document.querySelector(".site-header__container");function s(){o&&(o.classList.remove("selected"),o.classList.remove("right-aligned"),o.style="",o=null),i.classList.remove("scrolling-blocked"),document.removeEventListener("scroll",s)}function c(e){if(!(o=document.getElementById(e)))return;o.classList.add("selected"),window.innerWidth>=768?(!function(){const e=r.getBoundingClientRect(),t=o.querySelector(".site-nav__flyout");if(o.style.top=`${e.top}px`,e.left+t.offsetWidth>window.innerWidth){const n=e.right-t.offsetWidth+20;o.style.left=`${n}px`,o.classList.add("right-aligned")}else o.style.left=`${e.left+8}px`}(),document.addEventListener("scroll",s)):(i.classList.add("scrolling-blocked"),function(){const e=a.getBoundingClientRect();o.style.height=`calc(100dvh - ${e.top+e.height}px)`,o.style.top=`${e.top+e.height}px`,o.style.left=0}()),o.querySelector(".site-nav__item-icon_close_wrapper").addEventListener("click",s)}function l(e){const t=e.target;(t.classList.contains("nav-item--has-flyout")||t.closest(".site-nav__item-title")&&t.closest(".site-nav__item-title").classList.contains("nav-item--has-flyout"))&&e.preventDefault();const n=(r=t.closest(".site-nav__item"))&&r.getAttribute("data-flyout")||null;if(n){if(o){if(n===o.id)return void s();s()}c(n)}}if(window.addEventListener("resize",function(e,t=300){let n=null;return function(){clearTimeout(n),n=setTimeout(()=>{e()},t)}}(()=>{s()},100)),document.addEventListener("click",e=>{const t=e.target,n=t.closest(".site-nav__item"),i=t.closest(".site-nav__flyout-item");(!n&&!i||n&&!n.getAttribute("data-flyout"))&&s()}),t.classList.contains("touch"))n.forEach(e=>{e.addEventListener("click",l),e.querySelector(".site-nav__container").addEventListener("scroll",s)});else{const e=document.querySelectorAll(".site-nav__item[data-flyout]");let t=!1,i=null;e.forEach(e=>{e.addEventListener("mouseenter",e=>{window.innerWidth<768||(t&&(clearTimeout(i),s(),t=!1),e.target.getAttribute("data-flyout")&&(!function(e){const t=e.target,n=(r=t).getAttribute("data-flyout")||null;n&&c(n)}(e),t=!0))}),e.addEventListener("mouseleave",e=>{window.innerWidth<768||o&&(o.matches(":hover")||(i=setTimeout(()=>{s()},200)),o.addEventListener("mouseenter",e=>{clearTimeout(i)}),o.addEventListener("mouseleave",()=>{window.innerWidth<768||s()}))})}),n.forEach(e=>{e.addEventListener("click",e=>{window.innerWidth>=768||l(e)})})}}),define("components/popover",["version!fly/managers/debug"],function(e){function t(){return HTMLElement.prototype.hasOwnProperty("popover")}if(e.init("popover").log(`is popover supported: ${t()}`),!t())return;const n=document.querySelector(".content__meta-wrapper");if(!n)return;let i;n.classList.add("popover--supported");const o=()=>{i.hidePopover(),document.removeEventListener("scroll",o)},r=document.querySelectorAll(".byline__author__popover");if(r.length)for(let e=0;e<r.length;e++){const t=r[e];"manual"===t.popover&&(t.popover="auto",t.classList.add("position--absolute")),t.addEventListener("toggle",e=>{i=e.target,document.addEventListener("scroll",o)})}document.querySelectorAll(".byline__author__popover-btn[popovertargetaction=hide]").forEach(e=>{e.addEventListener("click",()=>{i.hidePopover()})})}),define("common/auth",["version!fly/managers/debug"],function(e){const t=e.init("auth");(async()=>{if(!CBSNEWS.features.isFeatureEnabled("cbs_auth_enabled"))return;const e=document.documentElement,n=function(){const e=document.cookie.split("; ").find(e=>e.startsWith("pid="));if(e)return decodeURIComponent(e.split("=")[1]).split(":")[2];t.log("pid cookie is missing")}(),i=await async function(e){if(!e)return;
21const n=await fetch(`/user/details/?encryptedPid=${e}`),i=await n.json();if(i)return{firstName:i.details.firstName,lastName:i.details.lastName};t.log("user data is missing")}(n);if(i){e.classList.add("user--logged-in"),document.querySelectorAll(".account__name").forEach(e=>{let t=`${i.firstName} ${i.lastName}`;e.classList.contains("firstname")&&(t=i.firstName),e.innerText=t});const t=new URL(window.location.href),n=document.querySelector(".account__actions_link--log-out"),o=document.querySelector(".account__actions_link--settings"),r=`${t.origin}${t.pathname}`;n.setAttribute("href",`/logout?redirectUrl=${r}`),o.setAttribute("href",`/settings/account?redirectUrl=${r}`)}else e.classList.remove("user--logged-in")})()}),require.config({urlArgs:"v="+(window.ASSETS_VERSION||"")}),require(["utils/clean-url"],function(e){var t=CBSNEWS.features.getFeatureValue("cleanQueryString-"+CBSNEWS.device+"-"+CBSNEWS.tracking.pageType)||CBSNEWS.features.getFeatureValue("cleanQueryString-"+CBSNEWS.device)||CBSNEWS.features.getFeatureValue("cleanQueryString");t&&e.include(t)});let hasCollapsibleHeader="updating_story"==CBSNEWS.tracking.pageType&&-1!==window.location.hash.indexOf("post");hasCollapsibleHeader&&0!=window.pageYOffset&&CBSNEWS.features.isFeatureEnabled("stickyHeader")&&document.body.classList.add("is-collapsed"),require(["version!fly/managers/debug"],function(e){if("updating_story"!=CBSNEWS.tracking.pageType)return;var t=e.init("lead-video");let n=document.querySelector("section.content-updating-story__content-wrapper figure.embed--type-video.is-hero"),i=document.querySelector("div.content__header-wrapper");if(t.log("hero: ",n),t.log("wrapper: ",i),null!=n){n.classList.add("amp-live-list-item");let e=n.parentElement.removeChild(n);i.append(e)}}),require(["common/tracking"]),require(["common/site-ads"]),require(["managers/tealium"],function(e){window.$tealium=e,1==CBSNEWS.tracking.isEnabled&&(e.setViewGuid(CBSNEWS.tracking.pageViewGuid),e.init(CBSNEWS.tracking))}),require(["third-party/taboola"]),require(["common/footer-nav"]),require(["components/navigation"]),require(["components/sub-navigation"]),require(["components/popover"]),require(["common/auth"]),define("common",function(){}),define("utils/get-relative-time",[],function(){"use strict";return function(e){if(!e)return"";var t=new Date,n=Math.floor((t-e)/1e3);if(n<=60)return"just now";if(n<=3600)return Math.round(n/60)+"m ago";if(n<=86400)return Math.round(n/3600)+"h ago";var i=e.getMonth(),o=e.getDate(),r=e.getFullYear();return["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sept","Oct","Nov","Dec"][i]+" "+o+", "+r}}),define("components/live-headline",["utils/get-relative-time"],function(e){var t="www.cbsnews.com"!==self.location.hostname,n={};function i(e,i){require([i],function(i){fetch(e,{credentials:"same-origin"}).then(e=>{if(!e.ok)throw new Error("Rundown error");return e.text()}).then(t=>{i.process(e,t,n,o)}).catch(e=>{t?console.warn("headline fetch failed in dev, skipping:",e):console.error("Error:",e)})})}function o(e,t){var i=e.options.fieldMap||{"":"epgSeriesName"};require([e.options.adapter],function(o){var r=o.getRundown(e,t,n);for(var a in i){var s=a,c=r[i[a]],l=s.split("::");s=l[0];var d=l[1],u=[e.node];s&&(u=Array.prototype.slice.call(e.node.querySelectorAll(s))),c=o.filterField(i[a],c,e),u.length&&void 0!==c&&(d?u.forEach(function(e){e.setAttribute(d,c)}):u.forEach(function(e){e.textContent=c,"epgSeriesName"==i[a]&&null==c?e.textContent=r.headlineshort:e.textContent=c}))}if(e.options.documentClassName){var f=document.documentElement.classList;1==t.status&&""!=r.shareUrl?(urlValue="live"==r.type?document.location.protocol+document.location.host+r.shareUrl:r.shareUrl,shareUrl=new URL(urlValue),document.location.pathname===shareUrl.pathname?f.remove(e.options.documentClassName):f.add(e.options.documentClassName)):f.remove(e.options.documentClassName)}})}return function(e,r){var a=r.rundownUrl,s=(r.segmentType,r.segmentIndex,r.refresh),c={node:e,options:r};a?(n[a]||(n[a]={status:null,rundown:void 0,elements:[]},i(a,r.adapter),!0!==s||t||setInterval(function(){i(a,r.adapter)},6e4)),n[a].elements.push(c),n[a].rundown&&o(c,n[a])):console.error("Rundown URL is not provided:",c,r)}}),define("components/link-share",["version!fly/managers/debug"],function(e){var t=e.init("click-share");function n(e,n){var i=this;e.addEventListener("click",function(e){t.log("click"),e.preventDefault(),e.currentTarget.previousElementSibling.select();try{document.execCommand("copy"),i.showTooltip(e.currentTarget.nextElementSibling),t.log("copied link")}catch(e){}},!0)}return n.prototype.showTooltip=function(e){e.classList.add("is-visible"),e.classList.remove("is-hidden"),setTimeout(this.hideTooltip.bind(null,e),1200)},n.prototype.hideTooltip=function(e){e.classList.add("is-hidden"),e.classList.remove("is-visible"),setTimeout(this.resetTooltip.bind(null,e),1200)},n.prototype.resetTooltip=function(e){e.classList.remove("is-hidden")},function(e,t){new n(e,t)}}),define("components/native-share",["version!fly/managers/debug"],function(e){var t=e.init("native-share");return function(e,n){e.addEventListener("click",function(e){e.preventDefault();var i={title:n.hasOwnProperty("title")?n.title:document.title,text:n.hasOwnProperty("shareText")?n.shareText:"",url:n.hasOwnProperty("shareUrl")?decode
21URIComponent(n.shareUrl):window.location.href};"share"in navigator&&(console.log("share it out"),navigator.share(i).then(function(){t.log("Successful share",i)}).catch(function(e){t.log("Error sharing",e)}))},!0)}}),define("common/embed-video-src",["domReady","utils/get-cookie"],function(e,t){document.onreadystatechange=function(){if("complete"===document.readyState){const e=t("usprivacy")||"",n=document.querySelectorAll("iframe.embed__frame");if(n.length<1)return;n.forEach(t=>{if(null!==t&&"getAttribute"in t){let n=t.getAttribute("src");n&&(n=n.replaceAll("usprivacy=null","usprivacy="+e),t.setAttribute("src",n))}})}}}),require(["common"]),require(["components/live-headline"]),require(["components/link-share"]),require(["components/native-share"]),require(["common/embed-video-src"]),define("main.responsive",function(){});

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.