PageSourceSearch

https://www.newsday.com/_next/static/chunks/2631.1511eab6e0ce34cc.js

js newsday.com collected 2026-10-01 10:15:45 UTC 9,675 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2631],{3552:e=>{e.exports={"smart-column":"TopElementWithVerticalVideo_smart-column__mH25H","vertical-video":"TopElementWithVerticalVideo_vertical-video__XL4g1","vertical-video-topper":"TopElementWithVerticalVideo_vertical-video-topper__XkWFr","tik-tawk-topper":"TopElementWithVerticalVideo_tik-tawk-topper__Ugif2",video:"TopElementWithVerticalVideo_video__1F7DE",content:"TopElementWithVerticalVideo_content__rRjk5","content-wrap":"TopElementWithVerticalVideo_content-wrap__ipT_p",logo:"TopElementWithVerticalVideo_logo__h_d_0",button:"TopElementWithVerticalVideo_button___73Uq"}},51124:(e,t,a)=>{"use strict";a.d(t,{A:()=>m});var i=a(37876),n=a(86791),l=a(85683),r=a(72352),o=a(79186),s=a(14232),d=a(3552),c=a.n(d),p=a(67655);let m=function(e){var t,a;let{content:d,headline:m,type:h="",slot:u=!1}=e,{data:g}=(0,n.FQ)(),v=(null==d?void 0:d.topMediaItem)||(null==(a=g.page)||null==(t=a.leaf)?void 0:t.topMediaItem)||!1,y=(0,o.A)({videoData:v,pageData:g,type:h,slot:u}),[_,f]=(0,s.useState)(y?["smart-column","vertical-video"]:["smart-column"]);return(0,s.useEffect)(()=>{let e=window.innerHeight>window.innerWidth&&window.innerWidth<=500;f((y=(0,o.A)({isMobile:e,videoData:v,pageData:g,type:h,slot:u}))?["smart-column","vertical-video"]:["smart-column"])},[]),(0,i.jsxs)("div",{className:(0,p.StyleSelector)(c(),_),children:[m||(0,i.jsx)(l.A,{}),(0,i.jsx)(r.Ay,{content:g.page.leaf,slot:u},g.page.leaf.id)]})}},52631:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Audio:()=>b,AudioPlayer:()=>c});var i=a(37876),n=a(14232),l=a(95062),r=a.n(l),o=a(63076),s=a.n(o);function d(e){let t,{data:a}=e,l=(0,n.useRef)(null);return(0,n.useEffect)(()=>(/\.(mp3|m4a)/.test(a.mediaLink)&&(t=new(s())(l.current,a)),()=>{t&&t.triggerEnd()}),[]),(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{className:"audio",children:/\.(mp3|m4a)/.test(a.mediaLink)?(0,i.jsx)("audio",{ref:l,src:a.mediaLink,playsInline:!0,controls:!0}):(0,i.jsx)("iframe",{src:a.mediaLink})})})}d.propTypes={data:r().object.isRequired};let c=d;var p=a(42869),m=a(23122),h=a(55651),u=a(47588),g=a(85683),v=a(13042),y=a(72352),_=a(86791);function f(e){var t;let{data:a}=e,{isPreview:n,isApp:l,isBeta:r,isWidget:o}=(0,_.FQ)(),s=(null==(t=[{key:"preview",condition:n},{key:"app",condition:l},{key:"beta",condition:r},{key:"widget",condition:o}].find(e=>e.condition))?void 0:t.key)||"",{moveAd:d}=a.page.leaf;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(m.v,{data:a}),(0,i.jsx)("main",{className:"container ".concat(s),id:"audio",children:(0,i.jsxs)("article",{id:"site-content",children:[(0,i.jsxs)("div",{className:"topper",children:[!d&&(0,i.jsx)(h.A,{pos:"top-banner, null",data:a}),(0,i.jsx)(g.A,{data:a})]}),(0,i.jsxs)("div",{className:"full",children:[(0,i.jsx)(y.Ay,{data:a}),(0,i.jsx)(p.K,{data:a}),(0,i.jsxs)("div",{className:"contentAccess",children:[(0,v.Ay)(a.body),(0,i.jsx)(c,{data:a.page.leaf})]})]}),(0,i.jsx)(u.A,{data:a})]})})]})}f.propTypes={data:r().object.isRequired};let b=f},63076:e=>{"use strict";class t{binds(){let{ele:e}=this;e.addEventListener("play",t=>{e.started?(this.endPinger(),this.trackEvent("play"),this.startPinger()):(this.getSessionID().then(e=>{this.sessionEndpoint=e.headers.get("location"),this.trackEvent("play"),this.startPinger()}),this.ele.started=!0)}),e.addEventListener("pause",e=>{this.trackEvent("pauseStart")}),e.addEventListener("ended",e=>{this.endPinger(),this.trackEvent("sessionComplete")}
1),window.onbeforeunload=()=>{this.triggerEnd()}}triggerEnd(){this.ele.started&&(this.endPinger(),this.trackEvent("sessionEnd"))}api(e){return new Promise((t,a)=>{let{host:i,path:n,params:l,payload:r}=e=Object.assign({host:this.getTrackingServer(),params:{method:"POST"},path:!1,payload:{}},e),o={};fetch("https://".concat(i).concat(n),{...l,body:JSON.stringify(r)}).then(e=>{Object.assign(o,{headers:e.headers});let t=e.headers.get("content-type"),a=e.headers.get("content-length");return t&&t.indexOf("json")>-1&&a&&a>0?e.json():e.blob()}).then(e=>{Object.assign(o,{body:e}),t(o)}).catch(e=>a(e))})}formatDate(e){let t=new Date(e),a=""+(t.getMonth()+1),i=""+t.getDate(),n=t.getFullYear();return a.length<2&&(a="0"+a),i.length<2&&(i="0"+i),[n,a,i].join("-")}getEnv(){let e="prod";return location.hostname.indexOf("local")>-1?e="local":location.hostname.indexOf("stage")>-1&&(e="stage"),e}getTrackingServer(){return"prod"===this.getEnv()?"newsday.hb-api.omtrdc.net":"newsday-stage.hb-api.omtrdc.net"}getReportSuite(){return"prod"===this.getEnv()?"newsdaydev":"newsday-qa"}getSessionID(){let{ele:e,data:t}=this,a="";t.tags&&t.tags.length>0&&(a=(a=t.tags.filter(function(e){return"Tag"===e.__typename})).map(e=>e.name).join(","));let i={playerTime:{playhead:parseInt(e.currentTime,10),ts:Date.now()},eventType:"sessionStart",params:{"media.playerName":"newsday audio player 1.0","analytics.trackingServer":this.getTrackingServer(),"analytics.reportSuite":this.getReportSuite(),"media.contentType":"audio","media.length":e.duration,"media.id":t.id?t.id.toString():"","visitor.marketingCloudOrgId":"98CF1C8B53306A8C0A490D4D@AdobeOrg","visitor.marketingCloudUserId":window._satellite.getVar("ndmid"),"media.name":t.headline?t.headline.toString():"","media.channel":"podcast","media.sdkVersion":"newsday-va-api-1.0.0","analytics.enableSSL":!0},customMetadata:{media_content_id:t.id?t.id.toString():"",media_pub_date:t.publishedDate&&null!==t.publishedDate?this.formatDate(parseInt(t.publishedDate,10)):"",media_source:"newsday",media_category:a,media_content_view:"web",media_application_name:"newsday web",media_acccountid:window._satellite.getVar("user id"),media_sub_section:"podcast",media_sub_section2:"podcast"}};return this.api({payload:i,path:"/api/v1/sessions"})}ping(){this.trackEvent("ping")}trackEvent(e){let{ele:t}=this,a={playerTime:{playhead:parseInt(t.currentTime,10),ts:Date.now()},eventType:e};return this.api({payload:a,path:"".concat(this.sessionEndpoint,"/events")})}startPinger(){this.pinger=window.setInterval(()=>{this.ping()},1e4)}endPinger(){window.clearInterval(this.pinger)}constructor(e,t){Object.assign(this,{ele:e,started:!1,data:t}),this.binds()}}e.exports=t},72352:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>m});var i=a(37876),n=a(95062),l=a.n(n),r=a(81305),o=a(85367),s=a(72815),d=a(2727),c=a(86791);function p(e){var t,a,n,l,p,m,h,u;let{fullWidth:g=!1,embed:v=!1,content:y=!1,caption:_,slot:f=!1}=e,{data:b}=(0,c.FQ)(),j=r.ImageEmbed;v&&(b={page:{leaf:v}});let{topElement:E}=b.page.leaf,{topMediaItem:w}=b.page.leaf;if(w&&(E=w),(null==y?void 0:y.__typename)!=="Video"&&(null==y?void 0:y.topMediaItem)&&(E=null==y?void 0:y.topMediaItem),(null==E?void 0:E.__typename)==="Image")return(null==(t=b.page.leaf.verticalMedia)?void 0:t.baseUrl)?(0,i.jsx)(j,{format:["vertical","landscape"],width:[320,1200],eager:!0,data:[{...b.page.leaf.verticalMedia,caption:"",organization:"",byline:""},{...E,caption:"",organization:"",byline:""}]}):(0,i.jsx)(j,{format:"landscape",width:g?1200:770,eager:!0,data:/profile/i.test(b.page.leaf.subType)?{...E,caption:""}:E});if((null==E?void 0:E.__typename)==="Animation")if(g)return(0,i.jsx)(s.default,{data:{...E,caption:"",organization:"",byline:""}});else return(0,i.jsx)(s.default,{data:E});if((null==E?void 0:E.__typename)==="Video")return E.brightcoveId&&E.mediaLink||E.verticalBrightcoveId&&E.verticalMediaLink||E.embedCode||null==(l=b.page)||null==(n=l.leaf)||null==(a=n.topElement)||!a.baseUrl?g?(0,i.jsx)(o.VideoEmbed,{isFullWidth:!0,data:{...E,...(null==(h=b.page.leaf.topElement)?void 0:h.baseUrl)&&{topElement:b.page.leaf.topElement}}
1,topMediaItem:w,events:{play:e=>{window.dispatchEvent(new Event("nd_special_article_video_play"))}}}):(0,i.jsx)(o.VideoEmbed,{data:{...E,...(null==(u=b.page.leaf.topElement)?void 0:u.baseUrl)&&{topElement:b.page.leaf.topElement}},topMediaItem:w,type:"top",permit_overlay:"Article"===b.page.leaf.__typename,caption:_,slot:f}):(0,i.jsx)(j,{format:"landscape",width:770,data:null==(m=b.page)||null==(p=m.leaf)?void 0:p.topElement});if((null==E?void 0:E.__typename)==="ImageGallery"){if(/photolist|photogrid|gallery/i.test(E.subType))return(0,i.jsx)(d.PhotoListEmbed,{data:E});if("collage"===E.subType)return(0,i.jsx)(d.Collage,{data:E})}return null}p.propTypes={fullWidth:l().bool,embed:l().object,content:l().object,caption:l().bool};let m=p;a(89484),a(51124)},89484:(e,t,a)=>{"use strict";a.d(t,{A:()=>m});var i=a(37876),n=a(86791),l=a(85367),r=a(81305),o=a(42869),s=a(13042),d=a(67655),c=a(3552),p=a.n(c);let m=function(){var e,t;let{data:a}=(0,n.FQ)(),{topMediaItem:c,customLogoImage:m,headline:h,body:u,relatedLinks:g}=a.page.leaf;return!!c&&(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:(0,d.StyleSelector)(p(),["vertical-video-topper","tik-tawk-topper"]),children:[(0,i.jsx)("div",{className:(0,d.StyleSelector)(p(),["video"]),children:(0,i.jsx)("div",{className:(0,d.StyleSelector)(p(),["video-player"]),children:(0,i.jsx)(l.VideoEmbed,{data:{...c,topElement:c.topElement,verticalTopElement:c.verticalMedia},type:"card",caption:!1},"top_element_with_vertical_video")})}),(0,i.jsx)("div",{className:(0,d.StyleSelector)(p(),["content"]),children:(0,i.jsxs)("div",{className:(0,d.StyleSelector)(p(),["content-wrap"]),children:[(0,i.jsx)("div",{className:(0,d.StyleSelector)(p(),["logo"]),children:(0,i.jsx)(r.ImageEmbed,{format:"freeform",width:"320",data:{...m,caption:""},eager:!0})}),(0,i.jsx)("h1",{children:(0,s.Ay)((0,d.plain_text)(h))}),a.page.leaf.body&&(0,i.jsx)("div",{children:(0,s.Ay)(u)}),(0,i.jsx)("a",{href:(null==(e=g[0])?void 0:e.url)?null==(t=g[0])?void 0:t.url:"#",className:(0,d.StyleSelector)(p(),["button"]),children:"Check out the full story"}),(0,i.jsx)(o.K,{className:"test"})]})})]})})}}}]);

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.