PageSourceSearch

https://nodeassets.nbcnews.com/_next/static/chunks/908-c4692dd1eca0ffd7.js

js nbcnews.com collected 2026-10-01 09:17:51 UTC 7,361 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[908],{12639:(e,t,r)=>{"use strict";r.d(t,{T:()=>o,v:()=>u});var n=r(37876),a=r(14232),c=r(48011),s=r(80909),i=r(5618);let o={TRANSPARENT:"transparent",TRANSPARENT_LIGHT:"transparentLight",LIGHT:"light",DARK:"dark",VERTICAL:"vertical"},l=(0,c.Ng)((e,t)=>{let{navbar:{active:r},article:n,front:a,recipe:c,slideshow:s,video:i}=e,{pageView:o,path:l,section:u,vertical:d}=t,p={};switch(o){case"article":case"showBlog":p=n?.content?.[0]??{};break;case"front":p=a;break;case"recipe":p=c?.current??{};break;case"slideshow":p=s?.current??{};break;case"video":p=i;break;default:p={}}return{navbarActive:r,navbarContent:p,pageView:o,path:l,section:u,vertical:d}},e=>({navbarActivate:()=>e((0,s.Yf)()),navbarDeactivate:()=>e((0,s.LU)()),navbarSetShortcutVisible:t=>e((0,s.Vm)(t)),navbarSetHeadline:t=>e((0,s.Zb)(t)),navbarSetTheme:t=>e((0,s.Yl)(t)),navbarSetDuration:t=>e((0,s.rU)(t))}))((0,a.memo)(({children:e,Page:t,getActiveAt:r,getHeadline:c,getShowShortcuts:s,getTheme:o,localAnimationDuration:l,...u})=>{let d=(0,a.useRef)(!1),{navbarActive:p=!1,navbarActivate:f,navbarContent:h,navbarDeactivate:g,navbarSetHeadline:m,navbarSetShortcutVisible:b,navbarSetTheme:w,navbarSetDuration:v,path:y,section:k,vertical:A}=u,T=(0,a.useMemo)(()=>Object.keys(u).filter(e=>-1===e.search(/^navbar[A-Z]/)).reduce((e,t)=>(e[t]=u?.[t],e),{}),[u]);((0,a.useEffect)(()=>{d.current=!0},[]),!d.current)&&(c&&m(c({content:h})),s&&b(s({content:h})),o&&w(o({content:h,path:y,section:k,vertical:A})),l<=-1||v(l));return(0,a.useEffect)(()=>{if(!r)return;let e="function"==typeof r?r({vertical:A,navbarContent:h}):r;if(!e)return;let t=t=>{t>e&&!p?f():t<e&&p&&g()};return i.A.on("scroll",t,"throttle"),()=>{i.A.remove("scroll",t,"throttle")}},[p,r,A,h,f,g]),(0,n.jsx)(t,{...T,children:e})},()=>!1)),u=({activeAt:e,setDuration:t,headline:r,showShortcuts:a,theme:c})=>s=>{let i=i=>(0,n.jsx)(l,{getActiveAt:e,getHeadline:r,getShowShortcuts:a,getTheme:c,localAnimationDuration:t,Page:s,...i});return i.getInitialProps=s.getInitialProps,i}},37635:(e,t,r)=>{"use strict";r.d(t,{n:()=>i});var n=r(19081),a=r(11520),c=r.n(a),s=r(47559);function i(e,t){let r=new(c())(e.get("Link")||""),{publicRuntimeConfig:{MPS_URL_NBCNEWS:a,MPS_URL_TELEMUNDO:i}}=(0,n.Ay)();r.set({uri:"https://nodeassets.nbcnews.com",rel:"preconnect",crossorigin:"anonymous"}),["https://media-cldnry.s-nbcnews.com","https://securepubads.g.doubleclick.net"].forEach(e=>r.set({rel:"preconnect",uri:e})),[(0,s.isTelemundoVertical)(t)?i:a].forEach(e=>r.set({uri:e,as:"script",rel:"preload"})),e.set("Link",r.toString())}},42832:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(95062),a=r.n(n);let c=a().shape({header:a().shape({css:a().shape({link:a().arrayOf(a().string)}),js:a().shape({html:a().arrayOf(a().string),src:a().arrayOf(a().string)}),html:a().arrayOf(a().string)}),footer:a().shape({css:a().shape({link:a().arrayOf(a().string)}),js:a().shape({html:a().arrayOf(a().string),src:a().arrayOf(a().string)}),html:a().arrayOf(a().string)})})},45361:()=>{},64712:()=>{},65508:(e,t,r)=>{"use strict";r.d(t,{A:()=>y});var n=r(37876);r(14232);var a=r(19081),c=r(48011),s=r(95062),i=r.n(s),o=r(86369),l=r.n(o),u=r(45105),d=r.n(u),p=r(47559);let f=JSON.parse('{"news":"/nbcnews","mach":"/nbcnews/mach","better":"/nbcnews/better","think":"/nbcnews/think","today":"/today","msnbc":"/msnbc","sponsoredcontent":"/nbcnews","telemund
1o":"/nbcu.telemundo/telemundo","noticias":"/nbcu.telemundo/noticias","deportes":"/nbcu.telemundo/deportes","shows":"/nbcu.telemundo/shows","entretenimiento":"/nbcu.telemundo/entretenimiento"}');var h=r(8459);let g=(e,t)=>"article"===e&&"today"===t;function m(e){let t;return(t={},e.forEach(e=>{t[e]||(t[e]=!0)}),Object.keys(t)).join("|").replace(/-/g,"")}let b=function(e,t={}){let{publicRuntimeConfig:{DFP_AD_UNIT:r,MPS_URL_TELEMUNDO:n,MPS_URL_NBCNEWS:c}}=(0,a.Ay)(),{vertical:s}=e,{provider:i="mps",dfpAdUnit:o=r,mpsUrl:l=(0,p.isTelemundoVertical)(s)?n:c}=t,u=function(e,t){let{currentPath:r="",pageView:n,vertical:a,section:c,topic:s,subTopic:i}=e,o=t||"";return o+=f[a],/^\/(\?.*|$)/.test(r)&&(o+="/homepage"),c&&("news"===a&&"news"===c?o+=`/${s}`:o+=`/${c}`),g(n,a)&&(s&&(o+=`/${s}`),i&&(o+=`/${i}`)),o.replace(/-/g,"")}(e,o);return{provider:i,preprocessors:function({canonicalUrl:e,pageView:t},r){let n={entitlements:!0,xfinity:!0};return"gpt"!==r||(n.krux={id:"Hhr_tdFP"},"article"===t&&(n.admantx={url:e,id:"62263fff3cc1d07f85c7f8261a0c8f7dc096b35f59c82a713f20a9db8d562ff2"})),n}(e,i),targeting:function(e,t){let{pageView:r}=e,{vertical:n,show:a,label:c,series:s,targeting:i={},isChromeless:o,article:{ecommerceEnabled:l,sentiment:u}={}}=e,d="bento";"article"===r&&o&&(d="app"),l&&(r="ecommerce");let f="nbcnews-bento";(0,p.isTelemundoVertical)(n)&&(f="telemundo-bento");let h={site:f,type:`${d}${r||""}`,pageid:function(e){let t,{currentPath:r="",pageView:n,article:a,video:c,slideshow:s}=e;if(/^\/(\?.*|$)/.test(r))return"homepage";switch(n){case"front":t=r.split("?")[0].replace(/[/-]/g,"");break;case"article":t=a?.id;break;case"video":t=c?.id;break;case"slideshow":t=s?.id}return t||null}(e),platform:"ramen",sentiment:u,...i};g(r,n)&&(a&&(h.show=a.replace(/-/g,"")),c&&(h.label=c.replace(/-/g,"")),s&&(h.series=s.replace(/-/g,"")));let b="front"===r?m(t.split("/").slice(2)):function({article:e}){if(!e||!e.taxonomy)return null;let{taxonomy:{primaryVertical:t,anchors:r,channels:n,courseTypes:a,cuisines:c,labels:s,recipeCategories:i,sections:o,series:l,shows:u,subtopics:d,subverticals:p,topics:f,additionalTerms:h}}=e;return m([].concat(t).concat(r).concat(n).concat(a).concat(c).concat(s).concat(i).concat(o).concat(l).concat(u).concat(d).concat(p).concat(f).concat(h).filter(e=>e).map(e=>e.slug))}(e);return b&&(h.targeting=b),h}(e,u),refreshInterval:function(){let{publicRuntimeConfig:{DEFAULT_AD_REFRESH_INTERVAL:e}}=(0,a.Ay)(),t=parseInt(e,10);return Number.isNaN(t)?30:t}(),vendors:{gptAdUnitPath:u,mpsUrl:l},breakpoints:[h.L.l,h.L.m,h.L.s]}};function w(e){let{taxonomy:t,url:r,nativeAd:n}=e||{},{primaryVertical:a,primarySubvertical:c,primaryTopic:s,primarySection:i,primaryShow:o,series:l}=t||{},u=c?.slug||i?.slug||null;return{isNativeArticle:n,vertical:a?.slug,topic:s?.slug,section:u,show:o?.slug,series:l?.[0]?.slug,canonicalUrl:r?.primary}}function v({state:e,isArticle:t=!1,vertical:r=""}){let{publicRuntimeConfig:{adsBundlePath:c}}=(0,a.Ay)(),s=b(function({shared:e={},router:t={},article:r={},video:n={},slideshow:a={},liveBlog:c={}}={}){let s={pageView:e.pageView,currentPath:t.path,vertical:e.vertical,section:e.section,isChromeless:e.isChromeless,article:r?.content?.[0]};switch(e.pageView){case"article":{let e=r.content?.[0];return{...s,pageView:"article",article:e,...w(e)}}case"video":return{...s,pageView:"video",video:n.current,...w(n.current)};case"slideshow":return{...s,pageView:"slideshow",slideshow:a.current,...w(a.current)};case"card":return{...s,pageView:"card",card:c.card,...w(c.card)};default:return s}}(e));return s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d(),{id:"mps-config",strategy:"beforeInteractive",dangerouslySetInnerHTML:{__html:`window.__mpsconfig = ${l()(s)};window.__isarticle = ${t};window.__vertical = ${l()(r)};`}}),(0,n.jsx)(d(),{id:"ads-bundle",src:c})]}):null}v.propTypes={state:i().shape({}).isRequired,isArticle:i().bool,vertical:i().string};let y=(0,c.Ng)(e=>({state:e}))(v)}}]);

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.